Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5063732B2 - Centralized packet measurement system, interpacket gap counting device, interpacket gap counting method and program - Google Patents
[go: Go Back, main page]

JP5063732B2 - Centralized packet measurement system, interpacket gap counting device, interpacket gap counting method and program - Google Patents

Centralized packet measurement system, interpacket gap counting device, interpacket gap counting method and program Download PDF

Info

Publication number
JP5063732B2
JP5063732B2 JP2010096234A JP2010096234A JP5063732B2 JP 5063732 B2 JP5063732 B2 JP 5063732B2 JP 2010096234 A JP2010096234 A JP 2010096234A JP 2010096234 A JP2010096234 A JP 2010096234A JP 5063732 B2 JP5063732 B2 JP 5063732B2
Authority
JP
Japan
Prior art keywords
packet
inter
gap
unit
measurement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010096234A
Other languages
Japanese (ja)
Other versions
JP2011228905A (en
Inventor
孝宏 室岡
厚 高原
知子 澤邉
匡彦 北村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2010096234A priority Critical patent/JP5063732B2/en
Publication of JP2011228905A publication Critical patent/JP2011228905A/en
Application granted granted Critical
Publication of JP5063732B2 publication Critical patent/JP5063732B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、パケット集中計測システム、パケット間ギャップ計数装置、パケット間ギャップ計数方法およびプログラムに関する。   The present invention relates to a packet central measurement system, an inter-packet gap counting device, an inter-packet gap counting method, and a program.

今日、インターネット(Internet)をはじめとするIPネットワーク(IP(Internet Protocol) Network)が様々な用途の通信に利用されるようになっている。特に、映像や音声の配信など実時間性の要求される通信、さらには、対戦型ゲームのデータ通信など双方向にわたる実時間性の要求される通信にも、IPネットワークが利用されている。
実時間性の要求される通信では、通信速度を確保するために、通信状態を把握することが重要となる。例えば、視聴者に滑らかに見える動画像を表示するためには、1秒間に30枚以上の画面を送受信して表示する必要があり、そのためには、各画像は約30ミリ秒以内の時間間隔で送信される必要がある。そこで、例えば1ミリ秒毎など高い時間分解能でこれらの画像データの通信状態を計測し、各画像が当該時間間隔で送信されているか否かを判定することが有効である。例えば、回線の輻輳等により当該時間間隔での送信が行われていない場合、当該時間間隔での送信が行われていないことを検出し、使用回線を他に切り替えること等により通信速度を確保することが考えられる。
2. Description of the Related Art Today, an IP network (IP (Internet Protocol) Network) such as the Internet is used for various purposes of communication. In particular, IP networks are also used for communications that require real-time properties such as video and audio distribution, and for communications that require bi-directional real-time properties such as competitive game data communications.
In communication that requires real-time performance, it is important to grasp the communication state in order to ensure the communication speed. For example, in order to display a moving image that looks smooth to the viewer, it is necessary to transmit and receive 30 or more screens per second, and for this purpose, each image has a time interval within about 30 milliseconds. Need to be sent in. Therefore, it is effective to measure the communication state of these image data with high time resolution such as every 1 millisecond, and determine whether each image is transmitted at the time interval. For example, when transmission at the time interval is not performed due to congestion of the line, etc., it is detected that transmission at the time interval is not performed, and the communication speed is ensured by switching the line used to another. It is possible.

しかしながら、IPネットワークの通信状態を把握・制御する従来の技術は、回線上の全ての通信のトラフィック量を分単位で巨視的に把握・制御するものが一般的であり、個々のアプリケーションの通信の状態を、高い時間分解能で測定する技術は示されていなかった。例えば、ルータ(router)等のバッファ溢れを検知して回線の総通信量を抑制する従来の輻輳制御技術は、回線上の通信全体を制御する点、および、パケットの蓄積を開始してからバッファ溢れが生じるまでには、一般には分単位あるいはそれ以上の時間がかかる点で、巨視的な制御である。   However, the conventional technology for grasping and controlling the communication state of the IP network generally grasps and controls the traffic volume of all the communication on the line macroscopically in minutes, and the communication of each application No technique for measuring the state with high temporal resolution has been shown. For example, the conventional congestion control technology for detecting the overflow of a buffer such as a router and suppressing the total communication amount of the line controls the whole communication on the line, and the buffer after the packet accumulation is started. It is macroscopic control in that it generally takes a minute or more before overflow occurs.

そこで、特許文献1では、パケットのヘッダ情報に基づいてパケットを選択し、選択したパケットのパケット長を積算し、予め定められた時間間隔で積算値を測定する技術が示されている。本技術を用いて、例えば1ミリ秒毎など短時間間隔で測定を行うことにより、特定のアプリケーションのトラフィック量を高い時間分解能で測定できる。
このように、実時間性の要求される通信に対しては、高い時間分解能での通信の測定が有効である。さらに、高い時間分解能でパケットの集中を測定できれば、パケットの集中による通信速度の低下を予測して使用回線を他に切り替えること等により、通信速度を確保できることが期待できる。
Therefore, Patent Document 1 discloses a technique for selecting a packet based on packet header information, integrating the packet length of the selected packet, and measuring the integrated value at a predetermined time interval. By using the present technology, for example, by measuring at a short interval such as every millisecond, the traffic volume of a specific application can be measured with high time resolution.
As described above, measurement of communication with high time resolution is effective for communication that requires real-time characteristics. Furthermore, if the packet concentration can be measured with high time resolution, it can be expected that the communication speed can be secured by predicting a decrease in the communication speed due to the packet concentration and switching to another line.

特開2004−032714号公報JP 2004-032714 A

上述したように、IPネットワークの通信状態を把握・制御する従来の技術は、回線上の全ての通信のトラフィック量を分単位で巨視的に把握・制御するものが一般的であり、高い時間分解能でパケットの集中を測定できる技術は示されていなかった。   As described above, the conventional technology for grasping and controlling the communication state of the IP network generally grasps and controls the traffic amount of all communication on the line macroscopically in minutes, and has a high time resolution. The technology that can measure the concentration of packets is not shown.

本発明は、このような事情を考慮してなされたものであり、その目的は、高い時間分解能でパケットの集中を測定できるパケット集中計測システム、パケット間ギャップ計数装置、パケット間ギャップ計数方法およびプログラムを提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a packet concentration measurement system, an inter-packet gap counting device, an inter-packet gap counting method, and a program capable of measuring the concentration of packets with high time resolution. Is to provide.

[1]この発明は上述した課題を解決するためになされたもので、本発明の一態様によるパケット集中計測システムは、パケットが、ある特定の地点を通過する通過時刻を計測し、前記パケットのパケット長を取得する計測部と、前記通過時刻と前記パケット長とに基づいて、パケットの末尾から次のパケットの先頭までの時間間隔であるパケット間ギャップを算出するパケット間ギャップ算出部と、前記パケット間ギャップ算出部が算出した前記パケット間ギャップの数を、時間間隔の長さ毎に計数する計数部と、を具備することを特徴とする。   [1] The present invention has been made to solve the above-described problems, and a packet concentration measurement system according to an aspect of the present invention measures a transit time when a packet passes a specific point, A measurement unit that obtains a packet length, an inter-packet gap calculation unit that calculates an inter-packet gap that is a time interval from the end of a packet to the beginning of the next packet, based on the passage time and the packet length; And a counting unit that counts the number of the inter-packet gaps calculated by the inter-packet gap calculation unit for each length of the time interval.

[2]また、本発明の一態様によるパケット集中計測システムは、上述のパケット集中計測システムであって、前記パケットのヘッダに基づいてパケットを選択するパケット選択部をさらに具備し、前記計測部は、前記パケット選択部が選択したパケットの前記通過時刻を計測し、当該パケットの前記パケット長を取得する、ことを特徴とする。   [2] A packet concentration measurement system according to an aspect of the present invention is the packet concentration measurement system described above, further including a packet selection unit that selects a packet based on a header of the packet, wherein the measurement unit includes: The transit time of the packet selected by the packet selection unit is measured, and the packet length of the packet is obtained.

[3]また、本発明の一態様によるパケット集中計測システムは、上述のパケット集中計測システムであって、前記計測部は、受信パケットに対する誤り検出を行い、誤りなしと判定した時刻を前記通過時刻とすることを特徴とする。   [3] A packet concentration measurement system according to an aspect of the present invention is the packet concentration measurement system described above, wherein the measurement unit performs error detection on a received packet and determines a time when it is determined that there is no error as the passage time. It is characterized by.

[4]また、本発明の一態様によるパケット集中計測システムは、上述のパケット集中計測システムであって、前記計測部を具備する複数の計測装置と、時刻情報を前記複数の計測装置に送信する時刻通知サーバ装置と、前記パケット間ギャップの時間間隔の長さ毎の計数値をグラフにて表示する表示装置と、をさらに具備し、前記パケット間ギャップ算出部は、前記計測装置毎に前記パケット間ギャップを算出し、前記計数部は、前記計測装置毎の前記パケット間ギャップを、時間間隔の長さ毎に計数し、前記表示装置は、複数の前記計測装置の前記グラフを同一座標に重ねて表示する、ことを特徴とする。
[4] The packet centralized measurement system according to one aspect of the present invention is in the aforementioned packet centralized measurement system, transmission and multiple meter measuring device having the measuring unit, the time information to the plurality of measuring devices A time notification server device, and a display device that displays a count value for each length of the time interval of the inter-packet gap in a graph, wherein the inter-packet gap calculation unit The inter-packet gap is calculated, the counting unit counts the inter-packet gap for each measurement device for each length of the time interval, and the display device sets the graphs of the plurality of measurement devices to the same coordinates. It is characterized by being displayed overlaid.

[5]また、本発明の一態様によるパケット間ギャップ計数装置は、パケットが、ある特定の地点を通過する通過時刻と、前記パケットのパケット長とに基づいて、パケットの末尾と次のパケットの先頭との時間間隔であるパケット間ギャップを算出するパケット間ギャップ算出部と、前記パケット間ギャップ算出部が算出した前記パケット間ギャップを、時間間隔の長さ毎に計数する計数部と、を具備することを特徴とする。   [5] In addition, the inter-packet gap counting device according to one aspect of the present invention can determine the end of the packet and the next packet based on the transit time when the packet passes through a specific point and the packet length of the packet. An inter-packet gap calculation unit that calculates an inter-packet gap that is a time interval from the beginning; and a counting unit that counts the inter-packet gap calculated by the inter-packet gap calculation unit for each length of the time interval. It is characterized by doing.

[6]また、本発明の一態様によるパケット間ギャップ計数方法は、パケット間ギャップ計数装置のパケット間ギャップ計数方法であって、パケット間ギャップ算出部が、パケットが、ある特定の地点を通過する通過時刻と、前記パケットのパケット長とに基づいて、パケットの末尾と次のパケットの先頭との時間間隔であるパケット間ギャップを算出するパケット間ギャップ算出ステップと、計数部が、前記パケット間ギャップ算出部が算出した前記パケット間ギャップを、時間間隔の長さ毎に計数する計数ステップと、を具備することを特徴とする。   [6] An inter-packet gap counting method according to an aspect of the present invention is an inter-packet gap counting method of an inter-packet gap counting device, in which an inter-packet gap calculating unit passes a packet through a specific point. An inter-packet gap calculating step for calculating an inter-packet gap, which is a time interval between the end of a packet and the head of the next packet, based on the passage time and the packet length of the packet; and the counting unit includes the inter-packet gap A counting step of counting the inter-packet gap calculated by the calculation unit for each length of the time interval.

[7]また、本発明の一態様によるプログラムは、パケット間ギャップ計数装置としてのコンピュータに、パケットが、ある特定の地点を通過する通過時刻と、前記パケットのパケット長とに基づいて、パケットの末尾と次のパケットの先頭との時間間隔であるパケット間ギャップを算出するパケット間ギャップ算出ステップと、前記パケット間ギャップ算出部が算出した前記パケット間ギャップを、時間間隔の長さ毎に計数する計数ステップと、を実行させるためのプログラムである。   [7] Further, the program according to one aspect of the present invention allows a computer serving as an inter-packet gap counting device to transmit a packet based on a transit time when the packet passes a specific point and a packet length of the packet. An inter-packet gap calculating step for calculating an inter-packet gap that is a time interval between the end and the beginning of the next packet, and the inter-packet gap calculated by the inter-packet gap calculating unit is counted for each length of the time interval. And a counting step.

この発明によれば、高い時間分解能でパケットの集中を測定することができる。   According to the present invention, the concentration of packets can be measured with high time resolution.

本発明の一実施形態におけるパケット集中計測システムの概略構成を示すシステム構成図である。1 is a system configuration diagram illustrating a schematic configuration of a packet concentration measurement system according to an embodiment of the present invention. 同実施形態における、計測装置160−1の機能ブロック構成を示すブロック構成図である。It is a block block diagram which shows the functional block structure of the measuring device 160-1 in the embodiment. 同実施形態における、パケット間ギャップ計数装置170の機能ブロック構成を示すブロック構成図である。It is a block block diagram which shows the functional block structure of the gap counting apparatus 170 between packets in the same embodiment. パケットとパケット間ギャップとの関係を示す図である。It is a figure which shows the relationship between a packet and the gap between packets. 同実施形態における、計測データ記憶部173が保持する計測データファイルの例を示す図である。It is a figure which shows the example of the measurement data file which the measurement data storage part 173 hold | maintains in the same embodiment. 同実施形態において、パケット間ギャップ計数装置170が出力するデータの例を示す図である。In the same embodiment, it is a figure which shows the example of the data which the gap counting apparatus 170 between packets outputs. 同実施形態において、表示装置180が表示するグラフの例を示す図である。In the embodiment, it is a figure which shows the example of the graph which the display apparatus 180 displays. 同実施形態における、パケット集中計測システム100の動作例を示すシーケンス図である。FIG. 6 is a sequence diagram showing an operation example of the packet concentration measurement system 100 in the same embodiment. 同実施形態において、計測装置160が、受信パケットを処理する手順を示すフローチャートである。In the embodiment, the measurement device 160 is a flowchart showing a procedure for processing a received packet. 同実施形態における、パケット間ギャップ計数装置170の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the gap counting apparatus 170 between packets in the same embodiment. 本発明の一実施形態におけるパケット集中計測システムを実際のネットワークに適用したシステム構成例を示す図である。It is a figure which shows the system configuration example which applied the packet concentration measurement system in one Embodiment of this invention to the actual network. 図11のパケット集中計測システムにおける計測結果を示すグラフである。It is a graph which shows the measurement result in the packet concentration measurement system of FIG.

<第1の実施形態>
以下、図面を参照して、本発明の実施形態について説明する。
図1は、本発明の一実施形態におけるパケット集中計測システムの概略構成を示すシステム構成図である。同図において、パケット集中計測システム100は、パケットストリーム送信装置110と、受信再生装置120と、ネットワーク130と、時刻通知サーバ装置140と、時刻情報提供装置150と、計測装置160−1および160−2と、パケット間ギャップ計数装置170と、表示装置180とを具備する。また、計測装置160−1および160−2は、ネットワーク130に接続されている。
パケット集中計測システム100が対象とするパケットとしては、例えばIPパケット(V4またはV6)、あるいは、イーサネットフレーム(Ethernet Frame。イーサネットは登録商標)がある。
<First Embodiment>
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a system configuration diagram showing a schematic configuration of a packet concentration measurement system according to an embodiment of the present invention. In the figure, a packet concentration measurement system 100 includes a packet stream transmission device 110, a reception / playback device 120, a network 130, a time notification server device 140, a time information providing device 150, and measurement devices 160-1 and 160-. 2, an inter-packet gap counting device 170, and a display device 180. The measuring devices 160-1 and 160-2 are connected to the network 130.
Examples of the packet targeted by the packet central measurement system 100 include an IP packet (V4 or V6) or an Ethernet frame (Ethernet is a registered trademark).

パケットストリーム送信装置110は、パケット集中の計測対象となるパケットを送信する。例えば、パケットストリーム送信装置110は、映像や音声等のコンテンツのストリームデータをパケット単位で送信するコンテンツサーバ装置である。
受信再生装置120は、パケットストリーム送信装置110が送信するパケットを受信する。例えば、受信再生装置120は、パケットストリーム送信装置110が送信するコンテンツを再生する端末装置である。
ネットワーク130は、パケットストリーム送信装置110から送信されるパケットを伝送する。例えば、ネットワーク130は、IPネットワークである。
The packet stream transmission device 110 transmits a packet that is a measurement target of packet concentration. For example, the packet stream transmission device 110 is a content server device that transmits stream data of content such as video and audio in units of packets.
The reception / playback device 120 receives a packet transmitted by the packet stream transmission device 110. For example, the reception / playback device 120 is a terminal device that plays back the content transmitted by the packet stream transmission device 110.
The network 130 transmits a packet transmitted from the packet stream transmission device 110. For example, the network 130 is an IP network.

計測装置160−1は、パケットストリーム送信装置110からネットワーク130に送信されるパケットを中継し、当該パケットの通過時刻を計測し、当該パケットのパケット長を取得して、パケット間ギャップ計数装置170に送信する。計測装置160−2は、受信再生装置120がネットワーク130から受信するパケットを中継し、当該パケットの通過時刻を計測し、当該パケットのパケット長を取得して、パケット間ギャップ計数装置170に送信する。以下では、パケットの通過時刻とパケット長とを併せて「計測データ」と呼ぶ。また、パケットの通過時間の「計測」およびパケット長の「取得」を、単にパケットの通過時間およびパケット長の「取得」と呼ぶ。   The measuring device 160-1 relays the packet transmitted from the packet stream transmitting device 110 to the network 130, measures the passage time of the packet, acquires the packet length of the packet, and sends it to the inter-packet gap counting device 170. Send. The measuring device 160-2 relays the packet received by the reception / playback device 120 from the network 130, measures the passage time of the packet, acquires the packet length of the packet, and transmits the packet length to the inter-packet gap counting device 170. . Hereinafter, the packet passage time and the packet length are collectively referred to as “measurement data”. Further, “measurement” of packet transit time and “acquisition” of packet length are simply referred to as “acquisition” of packet transit time and packet length.

なお、パケット集中計測システム100が具備する計測装置の個数は、同図に示す2個に限らず、また、計測装置の位置も、同図に示す位置に限らない。計測装置が、ある2つの装置間の計測データを計測するように配置されていればよい。例えば、パケット集中計測システム100が、計測装置160−1または160−2のいずれか一方のみを具備するようにしてもよい。あるいは、パケット集中計測システム100が、パケットストリーム送信装置110の他にもパケットストリーム送信装置を具備し、パケットストリーム送信装置の各々とネットワーク130との間に各1個の計測装置が設置されていてもよい。あるいは、計測装置が、ネットワーク130内の通信装置間に設置されていてもよい。   Note that the number of measurement apparatuses included in the packet concentration measurement system 100 is not limited to the two shown in the figure, and the positions of the measurement apparatuses are not limited to the positions shown in the figure. The measurement device only needs to be arranged so as to measure measurement data between two devices. For example, the packet concentration measurement system 100 may include only one of the measurement devices 160-1 and 160-2. Alternatively, the packet central measurement system 100 includes a packet stream transmission device in addition to the packet stream transmission device 110, and one measurement device is installed between each of the packet stream transmission devices and the network 130. Also good. Alternatively, the measurement device may be installed between communication devices in the network 130.

時刻通知サーバ装置140は、計測装置160−1と160−2とに時刻情報を提供する。例えば、時刻通知サーバ装置140は、NTP(Network Time Protocol、IETF(Internet Engineering Task Force)が発行するRFC1305にて規定される、ネットワーク上の時刻に関するプロトコル)に基づいて正確な時刻同期を実現するNTPサーバ装置であり、NTPに基づく時刻情報を計測装置160−1と160−2とに提供する。
時刻情報提供装置150は、時刻通知サーバ装置140に時刻情報を提供する。例えば、時刻情報提供装置150は、GPS(Global Positioning System)、あるいは、上位層(stratum)のNTPサーバ装置である。
なお、計測装置160−1と160−2とが互いに別個の時刻通知サーバ装置から時刻情報の提供を受けるようにしてもよい。計測装置160−1と160−2とが、それぞれ正確に時間を計測できればよく、計測装置160−1と160−2との間で時刻の同期がとられている必要はない。
The time notification server device 140 provides time information to the measuring devices 160-1 and 160-2. For example, the time notification server device 140 realizes accurate time synchronization based on NTP (Network Time Protocol, a protocol related to time on the network defined by RFC 1305 issued by IETF (Internet Engineering Task Force)). It is a server device and provides time information based on NTP to the measuring devices 160-1 and 160-2.
The time information providing device 150 provides time information to the time notification server device 140. For example, the time information providing device 150 is a GPS (Global Positioning System) or an NTP server device of an upper layer (stratum).
Note that the measurement devices 160-1 and 160-2 may receive time information from separate time notification server devices. The measuring devices 160-1 and 160-2 need only be able to accurately measure time, and the time does not need to be synchronized between the measuring devices 160-1 and 160-2.

パケット間ギャップ計数装置170は、計測装置160−1から送信される計測データに基づいて、パケット末尾から次のパケット先頭までの時間間隔(以下では、パケット末尾から次のパケット先頭までの時間間隔を「パケット間ギャップ」(Interpacket GAP;IPG)と呼ぶ)を算出し、算出したパケット間ギャップの数を時間間隔の長さ毎に計数し、計数結果を表示装置180に送信する。同様に、パケット間ギャップ計数装置170は、計測装置160−2の計測データに基づいて、パケット間ギャップを算出し、算出したパケット間ギャップの数を時間間隔の長さ毎に計数し、計数結果を表示装置180に送信する。
表示装置180は、パケット間ギャップ計数装置170の計数結果を、計測装置160−1と160−2との各々について表示する。例えば、表示装置180は、汎用のグラフ化ツールを用いて、パケット間ギャップ計数装置170の計数結果を折れ線グラフにて表示する端末装置である。
Based on the measurement data transmitted from the measurement device 160-1, the inter-packet gap counting device 170 calculates the time interval from the end of the packet to the beginning of the next packet (hereinafter, the time interval from the end of the packet to the beginning of the next packet). “Interpacket GAP (IPG)” is calculated, the calculated number of interpacket gaps is counted for each length of time interval, and the count result is transmitted to the display device 180. Similarly, the inter-packet gap counting device 170 calculates the inter-packet gap based on the measurement data of the measuring device 160-2, counts the calculated number of inter-packet gaps for each length of time interval, and the counting result Is transmitted to the display device 180.
The display device 180 displays the counting result of the inter-packet gap counting device 170 for each of the measuring devices 160-1 and 160-2. For example, the display device 180 is a terminal device that displays the counting result of the inter-packet gap counting device 170 in a line graph using a general-purpose graphing tool.

なお、時刻情報提供装置150と時刻通知サーバ装置140とが、ネットワーク130を用いて互いに通信するようにしてもよいし、専用回線等の他の回線を用いて互いに通信するようにしてもよい。同様に、時刻通知サーバ装置140と計測装置160−1または160−2と、あるいは、計測装置160−1または160−2とパケット間ギャップ計数装置170と、あるいは、パケット間ギャップ計数装置170と表示装置180とも、ネットワーク130を用いて互いに通信するようにしてもよいし、専用回線等の他の回線を用いて互いに通信するようにしてもよい。
特に、時刻情報提供装置150や、時刻通知サーバ装置140や、計測装置160−1や、計測装置160−2が、NTPに基づいて時刻同期を行うことにより、専用回線が無くともインターネット等の汎用ネットワークを用いて、正確な時刻同期を行うことができる。
一方、これらの装置が専用回線を用いて時刻同期を行う場合は、ネットワークでの通信速度のゆらぎの影響を受けない点で、さらに正確に時刻同期が行われることが期待できる。
Note that the time information providing apparatus 150 and the time notification server apparatus 140 may communicate with each other using the network 130, or may communicate with each other using another line such as a dedicated line. Similarly, the time notification server device 140 and the measuring device 160-1 or 160-2, or the measuring device 160-1 or 160-2 and the inter-packet gap counting device 170, or the inter-packet gap counting device 170 are displayed. The apparatus 180 may communicate with each other using the network 130, or may communicate with each other using another line such as a dedicated line.
In particular, the time information providing device 150, the time notification server device 140, the measuring device 160-1, and the measuring device 160-2 perform time synchronization based on NTP, so that a general purpose such as the Internet can be used without a dedicated line. Accurate time synchronization can be performed using a network.
On the other hand, when these devices perform time synchronization using a dedicated line, it can be expected that time synchronization is performed more accurately because they are not affected by fluctuations in the communication speed on the network.

図2は、計測装置160−1の機能ブロック構成を示すブロック構成図である。同図において、計測装置160−1は、時刻データ通信部161と、時刻同期部162と、パケット受信部163と、パケット選択部164と、計測部165と、パケット送信部166と、計測データ送信部167とを具備する。
なお、計測装置160−2は、ネットワーク130からパケットを受信し、受信再生装置120に送信する点で計測装置160−1と異なるものの、パケットの通過時刻およびパケット長を取得する機能において計測装置160−1と同様であり、計測装置160−2の構成も、以下に説明する計測装置160−1の構成と同様である。以下では、計測装置160−1と計測装置160−2とをまとめて、「計測装置160」と表記する。
FIG. 2 is a block configuration diagram showing a functional block configuration of the measuring device 160-1. In the figure, a measurement device 160-1 includes a time data communication unit 161, a time synchronization unit 162, a packet reception unit 163, a packet selection unit 164, a measurement unit 165, a packet transmission unit 166, and a measurement data transmission. Part 167.
The measurement device 160-2 is different from the measurement device 160-1 in that it receives a packet from the network 130 and transmits the packet to the reception / playback device 120, but the measurement device 160-2 has a function of acquiring a packet passage time and a packet length. -1 and the configuration of the measurement device 160-2 are the same as the configuration of the measurement device 160-1 described below. Hereinafter, the measurement device 160-1 and the measurement device 160-2 are collectively referred to as “measurement device 160”.

時刻データ通信部161は、時刻通知サーバ装置140との間で通信を行う。
時刻同期部162は、時刻データ通信部161を介して時刻通知サーバ装置140(図1)との間で毎秒数千回の頻度でNTP設定のやり取りを行う。そして、時刻同期部162は、時刻通知サーバ装置140とのやり取りで得られる時刻情報に、時刻同期部162内部に備えるタイマの時刻を同期させる。これにより、このタイマの時刻は、時刻通知サーバ装置140の時刻にナノ(nano、10のマイナス9乗)秒レベルで同期する。時刻同期部162は、同期をとった上記タイマの示す時刻情報を計測部165に出力する。
The time data communication unit 161 communicates with the time notification server device 140.
The time synchronization unit 162 exchanges NTP settings with the time notification server device 140 (FIG. 1) through the time data communication unit 161 at a frequency of several thousand times per second. Then, the time synchronization unit 162 synchronizes the time of the timer provided in the time synchronization unit 162 with the time information obtained by the exchange with the time notification server device 140. As a result, the time of this timer is synchronized with the time of the time notification server device 140 at the nano (nano, minus 9th power) second level. The time synchronization unit 162 outputs time information indicated by the synchronized timer to the measurement unit 165.

パケット受信部163は、パケットストリーム送信装置110(図1)から送信されるパケットを受信する。
パケット選択部164は、パケット受信部163が受信するパケットから、パケットのヘッダに基づいて計測対象のパケットを選択する。すなわち、パケット選択部164は、パケット受信部163が受信するパケットのヘッダのデータが予め定められたパターンに合致するか否かに基づいて、当該パケットが計測対象か否かを判定する。例えば、パケット選択部164は、ヘッダに含まれる宛先が受信再生装置120のアドレスである場合、すなわち、当該パケットが受信再生装置120宛てのパケットである場合に、計測対象のパケットであると判定する。
計測対象のパケットであると判定した場合は、パケット選択部164は、当該パケットを計測部165に出力する。一方、計測対象のパケットでないと判定した場合は、パケット選択部164は、当該パケットをパケット送信部166に出力する。
The packet receiving unit 163 receives a packet transmitted from the packet stream transmission device 110 (FIG. 1).
The packet selection unit 164 selects a measurement target packet from the packets received by the packet reception unit 163 based on the packet header. That is, the packet selection unit 164 determines whether or not the packet is a measurement target based on whether or not the header data of the packet received by the packet reception unit 163 matches a predetermined pattern. For example, when the destination included in the header is the address of the reception / playback device 120, that is, when the packet is a packet addressed to the reception / playback device 120, the packet selection unit 164 determines that the packet is a measurement target packet. .
When it is determined that the packet is a measurement target packet, the packet selection unit 164 outputs the packet to the measurement unit 165. On the other hand, when it is determined that the packet is not a measurement target packet, the packet selection unit 164 outputs the packet to the packet transmission unit 166.

なお、計測装置160が、受信する全パケットについて計測データを生成し送信できる処理能力を有する場合は、パケット選択部164が全てのパケットを選択するようにしてもよい。この場合は、計測装置160が位置する回線の全ての通信が計測対象となる点で、当該回線の総合的な状態を計測できる。
なお、パケット選択部164がパケットを選択する基準は、パケットヘッダに基づくものに限らない。例えば、パケット選択部164が、パケットのデータからアプリケーションを識別する情報を読み出して、特定のアプリケーションによって送信されるパケットを選択するようにしてもよい。
Note that when the measurement device 160 has a processing capability capable of generating and transmitting measurement data for all received packets, the packet selection unit 164 may select all the packets. In this case, the overall state of the line can be measured in that all communication on the line on which the measuring device 160 is located is a measurement target.
Note that the criteria for selecting a packet by the packet selection unit 164 are not limited to those based on the packet header. For example, the packet selection unit 164 may read out information for identifying an application from packet data and select a packet transmitted by a specific application.

なお、パケット選択部164が、複数のパターンのパケットを選択し、計測装置160が、それぞれのパターンのパケットの計測データに、パターンを区別する識別子を付して、パケット間ギャップ計数装置170に送信するようにしてもよい。例えば、計測装置160−2が、複数のパケットストリーム送信装置からの計測データを、パケットストリーム送信装置毎に区別してパケット間ギャップ計数装置170に送信するようにしてもよい。この場合、パケット間ギャップ計数装置170は、それぞれのパターンについて、互いに異なる計測装置から計測データを受信した場合と同様に処理する。これにより、1台の計測装置160を用いて複数のパターンのパケットを計測できる。   The packet selection unit 164 selects a plurality of patterns of packets, and the measurement device 160 attaches an identifier for distinguishing the patterns to the measurement data of the packets of each pattern and transmits the packets to the inter-packet gap counting device 170. You may make it do. For example, the measurement device 160-2 may transmit measurement data from a plurality of packet stream transmission devices to the inter-packet gap counting device 170 while distinguishing the measurement data for each packet stream transmission device. In this case, the inter-packet gap counting device 170 processes each pattern in the same way as when measuring data is received from different measuring devices. Thereby, a plurality of patterns of packets can be measured using one measuring device 160.

計測部165は、パケット選択部164から出力されるパケットを、パケット送信部166に、そのまま出力(転送)する。
また、計測部165は、パケット選択部164から出力される当該パケットが、ある特定の地点を通過する通過時刻を計測する。例えば、計測部165は、当該パケットに対して巡回冗長検査(Cyclic Redundancy Check;CRC)による誤り検出を行い、巡回冗長検査における剰余が0となって誤りなしと判定した時刻を、当該パケットの末尾が計測装置160−1を通過した時刻として計測する。CRCによる誤り検出を行う例としては、CRC32を用いるイーサネット(登録商標)が挙げられる。
計測部165は、時刻同期部162から出力される時刻情報を用いてパケットの通過時刻を計測する。
The measurement unit 165 outputs (transfers) the packet output from the packet selection unit 164 to the packet transmission unit 166 as it is.
In addition, the measurement unit 165 measures the passage time when the packet output from the packet selection unit 164 passes through a specific point. For example, the measurement unit 165 performs error detection by cyclic redundancy check (CRC) on the packet, and determines the time when the remainder in the cyclic redundancy check is 0 and it is determined that there is no error at the end of the packet. Is measured as the time when it passes through the measuring device 160-1. An example of performing error detection by CRC is Ethernet (registered trademark) using CRC32.
The measuring unit 165 measures the packet passage time using the time information output from the time synchronization unit 162.

加えて、計測部165は、当該パケットのパケット長を取得する。例えば、計測部165は、当該パケットのパケット長として、当該パケットのデータサイズの情報をパケットヘッダからバイト(Byte)単位にて読み出す。
計測部165は、計測した通過時刻およびパケット長(すなわち、計測データ)を、計測データ送信部167に出力する。
In addition, the measurement unit 165 acquires the packet length of the packet. For example, the measurement unit 165 reads out information on the data size of the packet from the packet header in units of bytes as the packet length of the packet.
The measurement unit 165 outputs the measured passage time and packet length (that is, measurement data) to the measurement data transmission unit 167.

パケット送信部166は、パケット選択部164から出力されるパケットと、計測部165から出力されるパケットとを、パケット受信部163の受信順序と同順に調整して、ネットワーク130に送信する。これにより、計測装置160−1は、パケットストリーム送信装置110から送信されるパケットを、ネットワーク130に、そのまま送信(転送)する。
計測データ送信部167は、計測部165から出力される計測データを、パケット間ギャップ計数装置170に送信する。
なお、計測データ送信部167が、計測部165から出力される計測データをバッファメモリに蓄積しておき、複数のパケットの計測データをまとめて送信するようにしてもよい。計測データをまとめて送信することにより、通信負荷を低減できる。一方、計測データ送信部167が、計測データを随時送信する場合は、表示装置180が表示する計数結果を遅滞無く更新できる。
The packet transmission unit 166 adjusts the packet output from the packet selection unit 164 and the packet output from the measurement unit 165 in the same order as the reception order of the packet reception unit 163 and transmits the packet to the network 130. Thereby, the measuring device 160-1 transmits (transfers) the packet transmitted from the packet stream transmitting device 110 to the network 130 as it is.
The measurement data transmission unit 167 transmits the measurement data output from the measurement unit 165 to the inter-packet gap counting device 170.
Note that the measurement data transmission unit 167 may store measurement data output from the measurement unit 165 in a buffer memory and transmit measurement data of a plurality of packets collectively. The communication load can be reduced by sending the measurement data together. On the other hand, when the measurement data transmission part 167 transmits measurement data at any time, the count result displayed on the display device 180 can be updated without delay.

図3は、パケット間ギャップ計数装置170の機能ブロック構成を示すブロック構成図である。同図において、パケット間ギャップ計数装置170は、受信部171と、計測データ振分部172と、計測データ記憶部173と、パケット間ギャップ算出部174−1および174−2と、計数部175−1および175−2と、送信部176とを具備する。
受信部171は、計測装置160−1および160−2から送信される計測データを受信する。
FIG. 3 is a block configuration diagram showing a functional block configuration of the inter-packet gap counting device 170. In the figure, an inter-packet gap counting device 170 includes a receiving unit 171, a measurement data distribution unit 172, a measurement data storage unit 173, inter-packet gap calculation units 174-1 and 174-2, and a counting unit 175-. 1 and 175-2, and a transmission unit 176.
The receiving unit 171 receives measurement data transmitted from the measurement devices 160-1 and 160-2.

計測データ記憶部173は、受信部171が受信する計測データを記憶する。より具体的には、計測データ記憶部173は、計測装置毎の計測データを格納する計測データファイルを保持する。図3の例では、計測データ記憶部173は、計測装置160−1から送信される計測データを格納する計測データファイルDF1と、計測装置160−2から送信される計測データを格納する計測データファイルDF2とを保持している。   The measurement data storage unit 173 stores measurement data received by the reception unit 171. More specifically, the measurement data storage unit 173 holds a measurement data file that stores measurement data for each measurement device. In the example of FIG. 3, the measurement data storage unit 173 includes a measurement data file DF1 that stores measurement data transmitted from the measurement device 160-1, and a measurement data file that stores measurement data transmitted from the measurement device 160-2. Holding DF2.

なお、計測データ記憶部173が計測データを記憶する形式は、計測装置毎に限らない。例えば、1つの計測装置からフロー毎に計測データが送信される場合は、計測データ記憶部173がフロー毎に計測データを記憶するようにしてもよい。
計測データ振分部172は、受信部171が受信する計測データを、計測装置毎に振り分けて計測データ記憶部173に書き込む。図3の例では、計測データ振分部172は、計測装置160−1から送信される計測データを計測データファイルDF1に書き込み、計測装置160−2から送信される計測データを計測データファイルDF2に書き込む。
The format in which the measurement data storage unit 173 stores the measurement data is not limited to each measurement device. For example, when measurement data is transmitted for each flow from one measurement device, the measurement data storage unit 173 may store the measurement data for each flow.
The measurement data distribution unit 172 distributes the measurement data received by the reception unit 171 for each measurement device and writes the measurement data in the measurement data storage unit 173. In the example of FIG. 3, the measurement data distribution unit 172 writes the measurement data transmitted from the measurement device 160-1 to the measurement data file DF1, and the measurement data transmitted from the measurement device 160-2 to the measurement data file DF2. Write.

パケット間ギャップ算出部174−1および174−2は、それぞれ、計測データ記憶部173から計測データを読み出して、パケット間ギャップ(パケット末尾から次のパケット先頭までの時間間隔)を算出する。図3の例では、パケット間ギャップ算出部174−1は、計測データファイルDF1から計測データを読み出して、計測装置160−1が選択したパケットのパケット間ギャップを算出する。パケット間ギャップ算出部174−2は、計測データファイルDF2から計測データを読み出して、計測装置160−2が選択したパケットのパケット間ギャップを算出する。パケット間ギャップ算出部174−1および174−2は、各計測装置における伝送速度を予め記憶しており、後述する式に基づいてパケット間ギャップを算出する。   The inter-packet gap calculation units 174-1 and 174-2 each read measurement data from the measurement data storage unit 173 and calculate an inter-packet gap (time interval from the end of the packet to the start of the next packet). In the example of FIG. 3, the interpacket gap calculation unit 174-1 reads the measurement data from the measurement data file DF1, and calculates the interpacket gap of the packet selected by the measurement device 160-1. The interpacket gap calculation unit 174-2 reads the measurement data from the measurement data file DF2, and calculates the interpacket gap of the packet selected by the measurement device 160-2. The inter-packet gap calculation units 174-1 and 174-2 store the transmission rate in each measurement device in advance, and calculate the inter-packet gap based on an expression described later.

計数部175−1は、パケット間ギャップ算出部174−1が算出したパケット間ギャップを、時間間隔の長さ毎に計数する。計数部175−1は、例えば、時間間隔が1マイクロ秒以下のパケット間ギャップ、1マイクロ秒より大きく2マイクロ秒以下のパケット間ギャップ、・・・、というように、所定の時間間隔毎に計数を行う。同様に、計数部175−2は、パケット間ギャップ算出部174−2が算出したパケット間ギャップを、時間間隔の長さ毎に計数する。
送信部176は、計数部175−1の計数結果と、計数部175−2の計数結果とを、両者を区別する識別子を付して表示装置180に送信する。
The counting unit 175-1 counts the inter-packet gap calculated by the inter-packet gap calculating unit 174-1 for each length of time interval. The counting unit 175-1 counts every predetermined time interval, for example, an inter-packet gap whose time interval is 1 microsecond or less, an inter-packet gap that is larger than 1 microsecond and 2 microseconds or less, and so on. I do. Similarly, the counting unit 175-2 counts the inter-packet gap calculated by the inter-packet gap calculating unit 174-2 for each length of time interval.
The transmission unit 176 transmits the counting result of the counting unit 175-1 and the counting result of the counting unit 175-2 to the display device 180 with an identifier for distinguishing both.

なお、パケット間ギャップ算出部174−1と174−2とが行う処理は互いに独立である。従って、パケット間ギャップ算出部174−1と174−2とが並行処理を行うようにして処理速度を向上させることができる。同様に、計数部175−1と175−2とが行う処理は互いに独立であり、並行処理を行うようにして処理速度を向上させることができる。
また、計数部175−1がパケットを処理する間に、パケット間ギャップ算出部174−1が次のパケットの処理を開始するパイプライン処理を行うようにすることでも、処理速度を向上させることができる。同様に、パケット間ギャップ算出部174−2と計数部175−2との間でパイプライン処理を行うようにすることにより、処理速度を向上させることができる。今日頻用されているマルチコアや、ハードでのマルチスレッド機能を有するプロセッサで、これらの処理を行うことにより処理速度の向上が図れる。
Note that the processes performed by the inter-packet gap calculation units 174-1 and 174-2 are independent of each other. Therefore, the inter-packet gap calculation units 174-1 and 174-2 can perform parallel processing to improve the processing speed. Similarly, the processing performed by the counting units 175-1 and 175-2 is independent of each other, and the processing speed can be improved by performing parallel processing.
Also, the processing speed can be improved by causing the interpacket gap calculation unit 174-1 to perform pipeline processing to start processing of the next packet while the counting unit 175-1 processes the packet. it can. Similarly, processing speed can be improved by performing pipeline processing between the inter-packet gap calculation unit 174-2 and the counting unit 175-2. The processing speed can be improved by performing these processes on a processor having a multi-core function or a hardware multi-thread function that is frequently used today.

次に、図4を参照して、パケット間ギャップ計数装置170が計数するパケット間ギャップについて説明する。図4は、パケットとパケット間ギャップとの関係を示す図である。同図において、パケットAとパケットBとは、共に計測装置160の計測部165(図2)を通過するパケットであり、パケットAがパケットBに先行する。
また、時刻Tは、パケットAの末尾が計測部165を通過する時刻を示す。時刻Tは、パケットBの先頭が計測部165を通過する時刻を示す。時刻Tは、パケットBの末尾が計測部165を通過する時刻を示す。また、時間Pは、パケットBが計測部165を通過するのに要する時間を示す。時間Pは、パケットAの末尾からパケットBの先頭までの時間間隔、すなわち、パケット間ギャップを示す。
Next, the interpacket gap counted by the interpacket gap counter 170 will be described with reference to FIG. FIG. 4 is a diagram illustrating the relationship between packets and gaps between packets. In the same figure, packet A and packet B are both packets that pass through the measurement unit 165 (FIG. 2) of the measurement device 160, and packet A precedes packet B.
Time T 1 indicates the time when the end of the packet A passes through the measuring unit 165. Time T 2 indicates the time when the head of the packet B passes through the measurement unit 165. Time T 3 indicates the time when the end of the packet B passes through the measurement unit 165. The time P B indicates the time required for the packet B to pass through the measuring unit 165. Time P G is the time interval from the end of the packet A to the beginning of the packet B, ie, showing the gap between packets.

パケットBのデータサイズをL(バイト)とし、1バイト当たりの伝送時間をQとすると、パケットBが通過するのに要する時間は、LとQとの積により、式(1)にて算出される。
= LQ ・・・ 式(1)
そして、パケットBの先頭の通過時刻Tは、式(2)にて算出される。
= T−P = T−LQ ・・・ 式(2)
さらに、パケットAの末尾からパケットBの先頭までの時間間隔Pは、式(3)にて算出される。
= T−T = T−LQ−T ・・・ 式(3)
パケット間ギャップ計数装置170のパケット間ギャップ算出部174−1および174−2は、計測データ記憶部173から読み出すパケット末尾の通過時刻およびパケット長を用いて、式(3)によりパケット間ギャップを算出する。
If the data size of packet B is L (bytes) and the transmission time per byte is Q, the time required for packet B to pass is calculated by the formula (1) by the product of L and Q. The
P B = LQ (1)
Then, passing time T 2, beginning of the packet B is calculated by Equation (2).
T 2 = T 3 −P B = T 3 −LQ (2)
Furthermore, the time interval P G from the end of the packet A to the beginning of the packet B is calculated by Equation (3).
P G = T 2 −T 1 = T 3 −LQ−T 1 Formula (3)
The inter-packet gap calculating units 174-1 and 174-2 of the inter-packet gap counting device 170 calculate the inter-packet gap using the equation (3) using the passage time and the packet length at the end of the packet read from the measurement data storage unit 173. To do.

次に、図5および図6を参照して、計測データ記憶部173(図3)が記憶するデータおよびパケット間ギャップ計数装置170が出力するデータのデータ構成について説明する。
図5は、計測データ記憶部173が保持する計測データファイルの例を示す図である。同図に示す例では、計測データファイルの各行には、計測対象のパケットが計測装置160−1または160−2の計測部165を通過した時刻と、当該パケットのパケット長とが格納されている。このように、計測データ記憶部173は、パケットの通過時刻と当該パケットのパケット長とを互いに対応付けて、計測データファイルにて記憶する。
Next, with reference to FIGS. 5 and 6, the data structure of the data stored in the measurement data storage unit 173 (FIG. 3) and the data output from the inter-packet gap counting device 170 will be described.
FIG. 5 is a diagram illustrating an example of a measurement data file held by the measurement data storage unit 173. In the example shown in the figure, each line of the measurement data file stores the time when the measurement target packet passes through the measurement unit 165 of the measurement device 160-1 or 160-2 and the packet length of the packet. . As described above, the measurement data storage unit 173 stores the packet passage time and the packet length of the packet in association with each other in the measurement data file.

図6は、パケット間ギャップ計数装置170が出力するデータの例を示す図である。
同図に示す例では、行R1には、時間間隔が1マイクロ(micro、10のマイナス6乗)秒以下のパケット間ギャップの計測値「0」が格納され、行R2には、時間間隔が1マイクロ秒より大きく2マイクロ秒以下のパケット間ギャップの計測値「0」が格納され、行R3には、時間間隔が2マイクロ秒より大きく3マイクロ秒以下のパケット間ギャップの計測値「1」が格納されている。また、パケット間ギャップ計数装置170が出力するデータには、計測装置を識別する識別子Dが付されている。
FIG. 6 is a diagram illustrating an example of data output by the inter-packet gap counting device 170.
In the example shown in the figure, the row R1 stores a measurement value “0” of the inter-packet gap whose time interval is 1 micro (micro, minus 6 to the power of 6 seconds) or less, and the row R2 includes the time interval. The inter-packet gap measurement value “0” that is greater than 1 microsecond and less than or equal to 2 microseconds is stored, and in row R3, the inter-packet gap measurement value “1” that is greater than 2 microseconds and less than or equal to 3 microseconds is stored. Is stored. The data output from the inter-packet gap counting device 170 has an identifier D for identifying the measuring device.

このように、パケット間ギャップ計数装置170が出力するデータは、時間間隔の長さ毎のパケット間ギャップの計数値を、計測装置毎に示す。
なお、パケット間ギャップ計数装置170が出力するデータの時間単位は、上述したマイクロ秒に限らない。計測装置160が計測する回線の帯域に応じて、ナノ秒、あるいは、ミリ秒、さらにはこれらの中間の時間単位など、マイクロ秒以外の単位を用いるようにしてもよい。ただし、表示装置180にて、各計測装置の計数値を互いに重ね併せて表示する場合は、スケーリングの負荷が生じないように、共通の単位を用いることが望ましい。
As described above, the data output by the inter-packet gap counting device 170 indicates the count value of the inter-packet gap for each length of the time interval for each measuring device.
Note that the time unit of data output by the inter-packet gap counter 170 is not limited to the microseconds described above. Units other than microseconds, such as nanoseconds, milliseconds, or intermediate time units, may be used depending on the bandwidth of the line measured by the measurement device 160. However, in the case where the display device 180 displays the count values of the respective measurement devices in an overlapping manner, it is desirable to use a common unit so as not to cause a scaling load.

次に、図7を参照して、パケット集中計測システム100の計数結果について説明する。図7は、表示装置180が表示するグラフの例を示す図である。
同図の縦軸は、パケット間ギャップの計数値を示す。同図の横軸は時間軸あり、パケット間ギャップの時間間隔を示す。
また、時間Pは、パケットが通過する物理回線に対して定められた、パケット間の時間間隔の最小値である。以下では、このパケット間の時間間隔の最小値を「パケット間ギャップ最小値」(最小IPG)と呼ぶ。パケット間ギャップ最小値は、例えば、パケットが通過する物理回線の特性に応じて定められる。例えば、回線速度が1ギガビット毎秒のイーサネット(登録商標)では、パケット間ギャップ最小値は、96ナノ秒(12バイト分)に定められている。
Next, a counting result of the packet concentration measurement system 100 will be described with reference to FIG. FIG. 7 is a diagram illustrating an example of a graph displayed on the display device 180.
The vertical axis in the figure indicates the count value of the interpacket gap. The horizontal axis in the figure is a time axis and indicates the time interval of the interpacket gap.
The time P m is the minimum value of the time interval between packets determined for the physical line through which the packet passes. Hereinafter, the minimum value of the time interval between the packets is referred to as “interpacket gap minimum value” (minimum IPG). The interpacket gap minimum value is determined according to the characteristics of the physical line through which the packet passes, for example. For example, in Ethernet (registered trademark) with a line speed of 1 gigabit per second, the minimum gap between packets is set to 96 nanoseconds (12 bytes).

計数値が時間P付近に集中している場合、これらのパケットが通過する物理回線の特性に応じて定められたパケット間ギャップ最小値の間隔で、パケットが連続して送信されていること(バースト)が示されている。すなわち、この回線がパケットの集中している状態にあることが示されている。例えば、図7の線Kでは、P付近に計数値が集中しており、この回線がパケットの集中している状態にあることが示されている。
一方、パケット間ギャップ最小値付近に計数値が集中していない場合は、パケットが一定以上の間隔で、すなわち回線の帯域幅に対して余裕をもって送信されていることが示されている。したがって、この回線はパケットの集中している状態ではないことが示されている。例えば、図7の線Kでは、時間P付近には計数値が集中しておらず、この回線はパケットの集中している状態ではないことが示されている。
When the count values are concentrated in the vicinity of the time P m , packets are continuously transmitted at intervals of the minimum inter-packet gap value determined according to the characteristics of the physical line through which these packets pass ( Burst) is shown. That is, it is indicated that this line is in a state where packets are concentrated. For example, the line K 1 in FIG. 7 shows that the count values are concentrated in the vicinity of P m and that this line is in a state where packets are concentrated.
On the other hand, when the count value is not concentrated in the vicinity of the inter-packet gap minimum value, it is indicated that the packets are transmitted at a certain interval or more, that is, with a margin with respect to the bandwidth of the line. Therefore, it is shown that this line is not in a state where packets are concentrated. For example, the line K 1 in FIG. 7, not in concentration count is in the vicinity of time P m, this line has been shown to be not a state where the concentration of the packet.

次に、図8〜図10を参照して、パケット集中計測システム100の動作について説明する。
図8は、パケット集中計測システム100の動作例を示すシーケンス図である。
パケット集中計測システム100において、時刻通知サーバ装置140は、時刻情報提供装置150から時刻情報を随時受信して、時刻情報提供装置150が示す時刻に同期する(シーケンスS1)。
Next, the operation of the packet concentration measurement system 100 will be described with reference to FIGS.
FIG. 8 is a sequence diagram illustrating an operation example of the packet concentration measurement system 100.
In the packet central measurement system 100, the time notification server device 140 receives time information from the time information providing device 150 as needed, and synchronizes with the time indicated by the time information providing device 150 (sequence S1).

また、計測装置160−1の時刻同期部162は、時刻データ通信部161を介して時刻通知サーバ装置140(図1)との間で随時NTP設定のやり取りを行っている。そして、時刻同期部162は、時刻通知サーバ装置140とのやり取りで得られる時刻情報に内部タイマの時刻を同期させる。これにより、この内部タイマの時刻は、時刻通知サーバ装置140の時刻にナノ秒レベルで同期する。時刻同期部162は、内部タイマの示す時刻情報を計測部165に出力する(以上、シーケンスS2)。同様に、計測装置160−1の時刻同期部162は、内部タイマの時刻を時刻通知サーバ装置140の時刻に同期させる(シーケンスS3)。   Further, the time synchronization unit 162 of the measuring device 160-1 exchanges NTP settings with the time notification server device 140 (FIG. 1) as needed via the time data communication unit 161. Then, the time synchronization unit 162 synchronizes the time of the internal timer with time information obtained by exchange with the time notification server device 140. Thereby, the time of the internal timer is synchronized with the time of the time notification server device 140 at the nanosecond level. The time synchronization unit 162 outputs the time information indicated by the internal timer to the measurement unit 165 (sequence S2 above). Similarly, time synchronization unit 162 of measuring device 160-1 synchronizes the time of the internal timer with the time of time notification server device 140 (sequence S3).

また、パケットストリーム送信装置110が受信再生装置120に向けてパケットを送信する場合、パケットストリーム送信装置110は、当該パケットを計測装置160−1に送信する(シーケンスS11)。
計測装置160−1は、パケットストリーム送信装置110から送信されたパケットを、ネットワーク130を介して計測装置160−2に送信する(シーケンスS21)。また、計測装置160−1は、当該パケットの計測データ(計測装置160−1の計測部165を通過した時刻およびパケット長)を取得してパケット間ギャップ計数装置170に送信する(シーケンスS22)。
When the packet stream transmission device 110 transmits a packet to the reception / playback device 120, the packet stream transmission device 110 transmits the packet to the measurement device 160-1 (sequence S11).
The measuring device 160-1 transmits the packet transmitted from the packet stream transmitting device 110 to the measuring device 160-2 via the network 130 (sequence S21). In addition, the measurement device 160-1 acquires the measurement data of the packet (the time and packet length that passed through the measurement unit 165 of the measurement device 160-1) and transmits them to the inter-packet gap counting device 170 (sequence S22).

計測装置160−2は、計測装置160−1から送信されたパケットを受信再生装置120に送信する(シーケンスS31)。また、計測装置160−2は、当該パケットの計測データ(計測装置160−2の計測部165を通過した時刻およびパケット長)を取得してパケット間ギャップ計数装置170に送信する(シーケンスS32)。
パケット間ギャップ計数装置170は、計測装置160−1から送信される計測データからパケット間ギャップを算出し、算出したパケット間ギャップを時間間隔の長さ毎に計数して表示装置180に送信する。同様に、パケット間ギャップ計数装置170は、計測装置160−2から送信される計測データからパケット間ギャップを算出し、算出したパケット間ギャップを時間間隔の長さ毎に計数して表示装置180に送信する。表示装置180は、パケット間ギャップ計数装置170から送信された計数値をグラフ表示する(以上、シーケンスS41)。
The measuring device 160-2 transmits the packet transmitted from the measuring device 160-1 to the reception / playback device 120 (sequence S31). In addition, the measurement device 160-2 acquires the measurement data of the packet (the time and the packet length that passed through the measurement unit 165 of the measurement device 160-2) and transmits them to the inter-packet gap counting device 170 (sequence S32).
The inter-packet gap counting device 170 calculates the inter-packet gap from the measurement data transmitted from the measuring device 160-1, counts the calculated inter-packet gap for each length of the time interval, and transmits it to the display device 180. Similarly, the inter-packet gap counting device 170 calculates the inter-packet gap from the measurement data transmitted from the measuring device 160-2, counts the calculated inter-packet gap for each length of time interval, and displays it on the display device 180. Send. The display device 180 displays the count value transmitted from the inter-packet gap counting device 170 as a graph (sequence S41 above).

図9は、計測装置160が、受信パケットを処理する手順を示すフローチャートである。計測装置160は、パケット受信部163がパケットを受信すると同図の処理を開始する。
同図の処理において、まず、パケット受信部163が、受信したパケットをパケット選択部164に出力する。パケット選択部164は、出力されたパケットに対して巡回冗長検査を行って、パケットを正常に受信していることを確認する(以上、ステップS101)。
FIG. 9 is a flowchart illustrating a procedure in which the measurement device 160 processes a received packet. When the packet receiving unit 163 receives a packet, the measuring device 160 starts the process of FIG.
In the process of FIG. 6, first, the packet receiving unit 163 outputs the received packet to the packet selecting unit 164. The packet selection unit 164 performs a cyclic redundancy check on the output packet and confirms that the packet is normally received (step S101).

次に、パケット選択部164は、当該パケットのヘッダのデータを読み出し(ステップS102)、読み出したデータに基づいて、当該パケットが計測対象のパケットか否かを判定する(ステップS103)。計測対象のパケットであると判定した場合(ステップS103:YES)、パケット選択部164は、当該パケットを計測部165に出力する。計測部165は、出力されたパケットを、パケット送信部166に出力(転送)する。また、計測部165は、当該パケットの計測データを計測データ送信部167に出力する。具体的には、計測部165は、ステップS101で巡回冗長検査を完了した時刻を、通過時刻として計測データ送信部167に出力し、また、ステップS102で読み出したヘッダデータの中からデータサイズの情報を読み出して、パケット長として計測データ送信部167に出力する。計測データ送信部167は、出力された計測データを、パケット間ギャップ計数装置170に送信する(以上、ステップS104)。パケット送信部166は、出力されたパケットを送信する(以上、ステップS105)。その後、計測装置160は、当該パケットに対する処理を終了する。
一方、ステップS103で、計測対象のパケットでないと判定した場合(ステップS103:NO)、パケット選択部164は、当該パケットをパケット送信部166に出力し、ステップS105に進む。
Next, the packet selection unit 164 reads the header data of the packet (step S102), and determines whether the packet is a measurement target packet based on the read data (step S103). If it is determined that the packet is a measurement target packet (step S103: YES), the packet selection unit 164 outputs the packet to the measurement unit 165. The measurement unit 165 outputs (transfers) the output packet to the packet transmission unit 166. Further, the measurement unit 165 outputs the measurement data of the packet to the measurement data transmission unit 167. Specifically, the measurement unit 165 outputs the time at which the cyclic redundancy check is completed in step S101 to the measurement data transmission unit 167 as a passage time, and information on the data size from the header data read in step S102 Is output to the measurement data transmission unit 167 as a packet length. The measurement data transmission unit 167 transmits the output measurement data to the inter-packet gap counting device 170 (step S104). The packet transmission unit 166 transmits the output packet (step S105 above). Thereafter, the measurement device 160 ends the processing for the packet.
On the other hand, when it is determined in step S103 that the packet is not a measurement target packet (step S103: NO), the packet selection unit 164 outputs the packet to the packet transmission unit 166, and proceeds to step S105.

図10は、パケット間ギャップ計数装置170の処理手順を示すフローチャートである。パケット間ギャップ計数装置170は、受信部171が計測装置160から計測データを受信すると同図の処理を開始する。
同図の処理において、まず、受信部171が、受信した計測データを計測データ振分部172に出力する。計測データ振分部172は、出力された計測データが、計測装置160−1と160−2とのいずれから送信されたかを判定する。計測装置160−1から送信されたと判定した場合は、計測データ振分部172は、当該計測データを計測データファイルDF1に書き込む。一方、計測装置160−2から送信されたと判定した場合は、計測データ振分部172は、当該計測データを計測データファイルDF2に書き込む(以上、ステップS201)。パケット間ギャップ算出部174−1は、定期的に計測データファイルDF1から計測データを読み出し、パケット間ギャップを算出し、計数部175−1に出力する。また、パケット間ギャップ算出部174−2は、定期的に計測データファイルDF2から計測データを読み出し、パケット間ギャップを算出し、計数部175−2に出力する(以上、ステップS202)。
FIG. 10 is a flowchart showing the processing procedure of the inter-packet gap counting device 170. The inter-packet gap counting device 170 starts the process of FIG. 5 when the receiving unit 171 receives measurement data from the measuring device 160.
In the process of FIG. 6, first, the reception unit 171 outputs the received measurement data to the measurement data distribution unit 172. The measurement data distribution unit 172 determines whether the output measurement data is transmitted from the measurement devices 160-1 and 160-2. When it is determined that the data is transmitted from the measurement device 160-1, the measurement data distribution unit 172 writes the measurement data in the measurement data file DF1. On the other hand, when it is determined that the measurement data is transmitted from the measurement device 160-2, the measurement data sorting unit 172 writes the measurement data in the measurement data file DF2 (step S201). The inter-packet gap calculation unit 174-1 periodically reads measurement data from the measurement data file DF1, calculates an inter-packet gap, and outputs it to the counting unit 175-1. Further, the inter-packet gap calculation unit 174-2 periodically reads measurement data from the measurement data file DF2, calculates the inter-packet gap, and outputs it to the counting unit 175-2 (step S202).

計数部175−1は、パケット間ギャップ算出部174−1から出力されるパケット間ギャップを時間間隔の長さ毎に計数し、計数値を送信部176に出力する。また、計数部175−2は、パケット間ギャップ算出部174−2から出力されるパケット間ギャップを時間間隔の長さ毎に計数し、計数値を送信部176に出力する(以上、ステップS203)。
送信部176は、計数部175−1から出力される計数値と、計数部175−2から出力される計数値とを、表示装置180に送信する(ステップS204)。その後、パケット間ギャップ計数装置170は、同図の処理を終了する。
The counting unit 175-1 counts the inter-packet gap output from the inter-packet gap calculating unit 174-1 for each length of time interval, and outputs the count value to the transmitting unit 176. The counting unit 175-2 counts the inter-packet gap output from the inter-packet gap calculating unit 174-2 for each length of time interval, and outputs the count value to the transmitting unit 176 (step S203). .
The transmission unit 176 transmits the count value output from the counting unit 175-1 and the count value output from the counting unit 175-2 to the display device 180 (step S204). Thereafter, the inter-packet gap counting device 170 ends the process of FIG.

以上のように、パケット集中計測システム100では、パケット間ギャップ計数装置170が、パケット間ギャップを時間間隔の長さ毎に計数する。この計数結果において、物理回線の特性に応じて定められたパケット間ギャップ最小値の間隔で、パケットが連続して送信されているか否かにより、パケットの集中が生じているか否かが示される。すなわち、パケット集中計測システム100により、パケットの集中を計測できる。
ここで、パケット間ギャップ計数装置170は、マイクロ秒単位あるいはナノ秒単位など、高い時間分解能でパケット間ギャップを算出する。この点で、パケット集中計測システム100により、高い時間分解能でパケットの集中を測定できる。
As described above, in the packet concentration measurement system 100, the inter-packet gap counting device 170 counts the inter-packet gap every time interval. In this counting result, whether or not packet concentration occurs is indicated by whether or not packets are continuously transmitted at intervals of the minimum value of the inter-packet gap determined according to the characteristics of the physical line. That is, the packet concentration measurement system 100 can measure packet concentration.
Here, the inter-packet gap counting device 170 calculates the inter-packet gap with a high time resolution such as a microsecond unit or a nanosecond unit. In this respect, the packet concentration measurement system 100 can measure the concentration of packets with high time resolution.

また、パケット選択部164(図2)が、計測対象のパケットを選択することにより、計測する目的に応じて計測対象を絞り込むことができる。例えば、特定の受信再生装置のパケット受信状態を調査するために、当該受信再生装置が受信するパケットを選択してパケットの集中を計測することができる。あるいは、特定のパケットストリーム送信装置と特定の受信再生装置との間のフローのパケットの遅延の有無を調査するために、当該フローのパケットを選択してパケットの集中を計測することができる。
一方、回線を通過する全パケットを計測対象とすることにより、当該回線の総合的な状態を計測することができる。
Further, the packet selection unit 164 (FIG. 2) can select the measurement target packet, thereby narrowing down the measurement target according to the purpose of measurement. For example, in order to investigate the packet reception state of a specific reception / playback apparatus, it is possible to select a packet received by the reception / playback apparatus and measure the concentration of packets. Alternatively, in order to investigate whether there is a delay in a packet of a flow between a specific packet stream transmission device and a specific reception / playback device, the packet concentration can be measured by selecting the packet of the flow.
On the other hand, by measuring all packets passing through the line, the overall state of the line can be measured.

また、計測部165(図2)が、受信パケットに対する誤り検出を行い、誤りなしと判定した時刻を通過時刻とすることにより、パケットの先頭または末尾を特定するために受信データを解析するなどの負荷を増やすことなくパケットの通過時刻を測定できる。
また、複数の計測装置160が、同一の時刻通知サーバ装置140から時刻情報の提供を受けることにより共通の時間尺度でパケットの通過時刻を計測し、これらの通過時刻を用いて計数されるパケット間ギャップの計数値を、表示装置180が、計測装置毎にグラフ化して同一座標に重ねて表示することにより、計測装置毎の計数値を比較しながらパケットの集中を計測することができる。この具体例は、後述の図12で示す。
In addition, the measurement unit 165 (FIG. 2) performs error detection on the received packet and sets the time determined to have no error as the passage time, thereby analyzing the received data in order to identify the beginning or end of the packet. Packet transit time can be measured without increasing the load.
In addition, a plurality of measuring devices 160 measure the passage time of packets on a common time scale by receiving the provision of time information from the same time notification server device 140, and between the packets counted using these passage times The display device 180 displays the gap count value in a graph for each measurement device and displays the gap value on the same coordinate, thereby allowing the concentration of packets to be measured while comparing the count values for each measurement device. A specific example is shown in FIG.

なお、パケット間ギャップ計数装置170が、計数結果に基づいて、パケットの集中の有無を判定するようにしてもよい。例えば、パケット間ギャップ計数装置170は、パケット間ギャップ最小値を予め記憶しておく。そして、パケット間ギャップ最小値から3マイクロ秒以内の時間幅(後述する図12の例では、11マイクロ秒から14マイクロ秒の間)に含まれる計測値の個数が、全体の計測値の個数の半分以上となる場合に、パケットの集中ありと判定するなど、パケット間ギャップ最小値付近に一定割合以上の計測値が集中する場合に、パケットの集中ありと判定する。
さらに、パケット間ギャップ最小値が不明の場合、計数値の個数が0以外となる最も短い時間間隔がパケット間ギャップ最小値であると、パケット間ギャップ計数装置170が推定するようにしてもよい。あるいは、誤計測を考慮して、計数値の個数(の全体に占める割合)が所定の閾値以上となる最も短い時間間隔がパケット間ギャップ最小値であると推定するようにする。
Note that the inter-packet gap counting device 170 may determine the presence or absence of packet concentration based on the counting result. For example, the inter-packet gap counting device 170 stores the inter-packet gap minimum value in advance. The number of measurement values included in the time width within 3 microseconds from the minimum inter-packet gap value (between 11 microseconds and 14 microseconds in the example of FIG. 12 described later) is the total number of measurement values. When it is determined that there is a concentration of packets when it is half or more, it is determined that there is a concentration of packets when measurement values of a certain ratio or more are concentrated in the vicinity of the inter-packet gap minimum value.
Further, when the interpacket gap minimum value is unknown, the interpacket gap counter 170 may estimate that the shortest time interval in which the number of count values is other than 0 is the interpacket gap minimum value. Alternatively, in consideration of erroneous measurement, it is estimated that the shortest time interval in which the number of count values (ratio to the total number) is equal to or greater than a predetermined threshold is the interpacket gap minimum value.

次に、図11および図12を参照して、パケット集中計測システムを実際のネットワークに適用した例について説明する。
図11は、パケット集中計測システムを実際のネットワークに適用したシステム構成例を示す図である。同図において、パケット集中計測システム200は、パケットストリーム送信装置110と、受信再生装置120−1および120−2と、パケット複製装置220と、ネットワーク130−1〜130−3と、時刻通知サーバ装置140と、時刻情報提供装置150と、計測装置160−6、160−7、160−8および260と、パケット間ギャップ計数装置270と、表示装置280とを具備する。また、計測装置260はネットワーク130−1に接続され、計測装置160−6と160−7とはネットワーク130−2に接続され、計測装置160−8はネットワーク130−3に接続されている。また、ネットワーク130−1と130−2と、および、ネットワーク130−2と130−3とは、互いに接続されている。
Next, an example in which the packet concentration measurement system is applied to an actual network will be described with reference to FIG. 11 and FIG.
FIG. 11 is a diagram illustrating a system configuration example in which the packet central measurement system is applied to an actual network. In the figure, a packet central measurement system 200 includes a packet stream transmission device 110, reception / reproduction devices 120-1 and 120-2, a packet duplication device 220, networks 130-1 to 130-3, and a time notification server device. 140, a time information providing device 150, measuring devices 160-6, 160-7, 160-8 and 260, an inter-packet gap counting device 270, and a display device 280. The measuring device 260 is connected to the network 130-1, the measuring devices 160-6 and 160-7 are connected to the network 130-2, and the measuring device 160-8 is connected to the network 130-3. The networks 130-1 and 130-2 and the networks 130-2 and 130-3 are connected to each other.

同図において、図1の各部と同様の機能を有する各部には、同一の符号(110、140、150)を付して説明を省略する。また、受信再生装置120−1と120−2とは、図1の受信再生装置120と同様の機能を有し、説明を省略する。計測装置160−6と160−7と160−8とは、図1の計測装置160−1や160−2と同様の機能を有し、説明を省略する。
ネットワーク130−1と130−2と130−3とは、それぞれ個別に管理・運営されるIPネットワークである。各ネットワーク内および、ネットワーク間の帯域は10Gbps(10の9乗ビット毎秒)である。
In the figure, the same reference numerals (110, 140, 150) are given to the respective parts having the same functions as those of the respective parts in FIG. The reception / reproduction devices 120-1 and 120-2 have the same functions as those of the reception / reproduction device 120 in FIG. The measuring devices 160-6, 160-7, and 160-8 have the same functions as the measuring devices 160-1 and 160-2 in FIG.
The networks 130-1, 130-2, and 130-3 are IP networks that are individually managed and operated. The bandwidth within each network and between networks is 10 Gbps (10 9th bit per second).

パケット複製装置220は、IPユニキャスト(IP Unicast。インターネットプロトコルに基づいて、単一の宛先を指定して行われるデータ送信)によって送信される一連のパケットの連続(フロー)を構成する各パケットを複製し、複数の宛先に送信する。
計測装置260は、双方向の通信の各々について、図1の計測装置160−1や160−2と同様に、通過時刻やパケット長を取得する計測装置である。
パケット間ギャップ計数装置270は、計測装置160−6、160−7、160−8、260の各々から送信される計測データに基づいて、図1のパケット間ギャップ計数装置170と同様にパケット間ギャップを算出し、算出したパケット間ギャップを時間間隔の長さ毎に計数し、計数装置毎の計数結果を表示装置280に送信する。
表示装置280は、パケット間ギャップ計数装置270から送信される計測結果をグラフ表示する。
The packet duplicating device 220 transmits each packet constituting a series (flow) of a series of packets transmitted by IP unicast (IP Unicast. Data transmission performed by designating a single destination based on the Internet protocol). Duplicate and send to multiple destinations.
The measurement device 260 is a measurement device that acquires the passage time and the packet length for each of the two-way communications, like the measurement devices 160-1 and 160-2 in FIG.
The inter-packet gap counting device 270 is based on the measurement data transmitted from each of the measuring devices 160-6, 160-7, 160-8, and 260, and is similar to the inter-packet gap counting device 170 in FIG. And the calculated inter-packet gap is counted for each length of the time interval, and the counting result for each counting device is transmitted to the display device 280.
The display device 280 displays the measurement result transmitted from the inter-packet gap counting device 270 in a graph.

パケットストリーム送信装置110と計測装置160−1との間は、1Gbps(ギガビット毎秒)のイーサネット(IEEE 802.3zおよびIEEE8032.3abに基づく。イーサネットは登録商標)で接続されている。同様に、計測装置160−1とネットワーク130−2との間、受信再生装置120−1と計測装置160−7との間、計測装置160−7とネットワーク130−2との間、受信再生装置120−2と計測装置160−8との間、計測装置160−8とネットワーク130−3との間、パケット複製装置220と計測装置260との間、計測装置260とネットワーク130−1との間も、1Gbpsのイーサネット(IEEE 802.3zおよびIEEE8032.3abに基づく。イーサネットは登録商標)で接続されている。   The packet stream transmission device 110 and the measurement device 160-1 are connected by 1 Gbps (Gigabit per second) Ethernet (based on IEEE 802.3z and IEEE 8032.3ab, Ethernet is a registered trademark). Similarly, between the measurement device 160-1 and the network 130-2, between the reception / playback device 120-1 and the measurement device 160-7, between the measurement device 160-7 and the network 130-2, between the reception / playback device. Between 120-2 and measuring device 160-8, between measuring device 160-8 and network 130-3, between packet duplicating device 220 and measuring device 260, and between measuring device 260 and network 130-1. Are also connected by 1 Gbps Ethernet (based on IEEE 802.3z and IEEE 8032.3ab. Ethernet is a registered trademark).

本適用例では、パケットストリーム送信装置110がパケット複製装置220にパケットを送信し、送信されたパケットをパケット複製装置220が複製して受信再生装置120−1と120−2とに送信している。この状態で、計測装置160−6と160−7と160−8と260との、計4箇所での計測を実施した。また、計測装置260では、パケット複製装置220が送信するパケットについて計測を行った。パケットストリーム送信装置110が送信するパケットは、物理回線のレベルでは1350バイトであり、最小パケット間ギャップは96ナノ秒である。したがって、パケットの末尾同士で計測されるパケット送信時間間隔の最小値は10,896ナノ秒(約10.89マイクロ秒)である。   In this application example, the packet stream transmission device 110 transmits a packet to the packet replication device 220, and the packet replication device 220 replicates the transmitted packet and transmits it to the reception / reproduction devices 120-1 and 120-2. . In this state, measurement was performed at a total of four locations with the measurement devices 160-6, 160-7, 160-8, and 260. Further, the measuring device 260 measures the packet transmitted by the packet duplicating device 220. The packet transmitted by the packet stream transmitting apparatus 110 is 1350 bytes at the physical line level, and the minimum interpacket gap is 96 nanoseconds. Therefore, the minimum value of the packet transmission time interval measured at the end of the packet is 10,896 nanoseconds (about 10.89 microseconds).

図12は、パケット集中計測システム200における計測結果を示すグラフである。同図の縦軸は、パケット間ギャップの計数値を10の4乗(万)単位で示す。横軸は時間軸であり、パケットの末尾同士で計測されるパケット送信時間間隔(図4のT−T)をマイクロ秒単位で示す。本適用例で用いたパケットは固定長であり、パケットの先頭から末尾までの通過時間(図4のP)は10,800ナノ秒(10,800ビット/1ギガビット毎秒)である。従って、パケット間ギャップ計数装置270が計数するパケット間ギャップ数は、各グラフを10,800ナノ秒だけ左側(時間の小さい側)に移動したグラフにて示される。
同図の線aは、計測装置160−6での計測データに基づく計数値を示す。線b、c、d、は、それぞれ、計測装置260、160−7、160−8での計測データに基づく計数値を示す。
FIG. 12 is a graph showing measurement results in the packet concentration measurement system 200. The vertical axis in the figure indicates the count value of the interpacket gap in units of 10 to the fourth power (10,000). The horizontal axis is a time axis, and indicates a packet transmission time interval (T 3 -T 1 in FIG. 4) measured at the end of the packet in units of microseconds. The packet used in this application example has a fixed length, and the transit time from the beginning to the end of the packet (P B in FIG. 4) is 10,800 nanoseconds (10,800 bits / 1 gigabit per second). Therefore, the number of interpacket gaps counted by the interpacket gap counting device 270 is shown by a graph in which each graph is moved to the left side (side where time is small) by 10,800 nanoseconds.
A line “a” in the figure indicates a count value based on measurement data obtained by the measurement device 160-6. Lines b, c, and d indicate count values based on measurement data obtained by the measurement devices 260, 160-7, and 160-8, respectively.

線aの計数値は、15〜20マイクロ秒に集中している。これは、パケットストリーム送信装置110で生成されたIPパケットのフローは、ほぼ一定のパケット間隔で送信されていることを示している。また、線bを線aと比較すると、パケット複製装置220が送信するIPパケットのフローは、少しピークの部分が下がり、時間間隔が分散した形態となっている。また、線cを線bと比較すると、計測装置160−7で計測されたフロー、すなわち、受信再生装置120−1が受信するIPパケットのフローは、パケット複製装置220が送信するIPパケットのフローと、ほぼ同じ計数結果を示している。
一方、線dでは、0以外の計数値を示す最小の時間間隔である11マイクロ秒の付近に計数値が集中し、また、33マイクロ秒という比較的大きな値にもピークが存在する。これは、バースト状態に連続したパケットが一定時間連続し、バーストの間隔が33マイクロ秒くらいに位置していることを示している。すなわち、パケットの集団が複数形成されて、各集団内ではバースト状態のパケット送信間隔(約11マイクロ秒間隔)が計測され、集団間には約33マイクロ秒の間隔が計測されている。この集団は、例えば、通信経路上のスイッチが行うパケットの優先順位制御により、複数のパケットがバッファに蓄積された後に纏めて送信されることで形成される。
The count value of line a is concentrated in 15 to 20 microseconds. This indicates that the IP packet flow generated by the packet stream transmission device 110 is transmitted at a substantially constant packet interval. Further, when comparing line b with line a, the flow of the IP packet transmitted by the packet duplicator 220 has a form in which the peak portion is slightly lowered and the time intervals are dispersed. When line c is compared with line b, the flow measured by measuring device 160-7, that is, the flow of IP packets received by reception / reproducing device 120-1, is the flow of IP packets transmitted by packet duplicating device 220. And almost the same counting results.
On the other hand, on the line d, the count values are concentrated in the vicinity of 11 microseconds, which is the minimum time interval indicating a count value other than 0, and there is also a peak at a relatively large value of 33 microseconds. This indicates that packets continuous in a burst state continue for a certain period of time, and the interval between bursts is located at about 33 microseconds. That is, a plurality of packet groups are formed, and burst transmission packet intervals (about 11 microsecond intervals) are measured within each group, and an interval of about 33 microseconds is measured between the groups. This group is formed, for example, by collectively transmitting a plurality of packets after they are accumulated in the buffer by packet priority control performed by a switch on the communication path.

このように、パケット集中計測システム200により、パケットの集中を計測することができる。
また、図12のように、複数の計測装置でのパケット間ギャップの計数値を同一座標に重ねて表示することにより、計測装置毎の計数値を比較しながらパケットの集中を計測することができる。これにより、パケットの集中している状態を示す線dとの比較で線a、b、cはいずれもパケットの集中していない状態を示していると判定でき、より正確にパケットの集中の有無を判定することができる。
Thus, the packet concentration measurement system 200 can measure the concentration of packets.
In addition, as shown in FIG. 12, by displaying the count values of the inter-packet gaps in a plurality of measurement devices on the same coordinate, the concentration of packets can be measured while comparing the count values of each measurement device. . As a result, it can be determined that all of the lines a, b, and c indicate a state where the packets are not concentrated by comparing with the line d indicating the state where the packets are concentrated. Can be determined.

なお、パケット集中計測システム100または200の各部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の保持装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
A program for realizing the function of each unit of the packet central measurement system 100 or 200 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into the computer system and executed. You may perform the process of each part. Here, the “computer system” includes an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a holding device such as a portable medium such as a flexible disk, a magneto-optical disk, a ROM, and a CD-ROM, and a hard disk built in the computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

以上、この発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   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 changes and the like within a scope not departing from the gist of the present invention.

本発明は、パケット集中計測システム、パケット間ギャップ計数装置、パケット間ギャップ計数方法およびプログラムに用いて好適である。   The present invention is suitable for use in a concentrated packet measurement system, an inter-packet gap counting device, an inter-packet gap counting method, and a program.

100、200 パケット集中計測システム
110 パケットストリーム送信装置
120、120−1、120−2 受信再生装置
130、130−1、130−2、130−3 ネットワーク
140 時刻通知サーバ装置
150 時刻情報提供装置
160−1、160−2、160−6、160−7、160−8260 計測装置
161 時刻データ通信部
162 時刻同期部
163 パケット受信部
164 パケット選択部
165 計測部
166 パケット送信部
167 計測データ送信部
170、270 パケット間ギャップ計数装置
171 受信部
172 計測データ振分部
173 計測データ記憶部
174−1、174−2 パケット間ギャップ算出部
175−1、175−2 計数部
176 送信部
180、280 表示装置
220 パケット複製装置
100, 200 Centralized packet measurement system 110 Packet stream transmission device 120, 120-1, 120-2 Reception / reproduction device 130, 130-1, 130-2, 130-3 Network 140 Time notification server device 150 Time information providing device 160- 1, 160-2, 160-6, 160-7, 160-8260 Measuring device 161 Time data communication unit 162 Time synchronization unit 163 Packet reception unit 164 Packet selection unit 165 Measurement unit 166 Packet transmission unit 167 Measurement data transmission unit 170 270 Inter-packet gap counting device 171 Receiving unit 172 Measurement data sorting unit 173 Measurement data storage unit 174-1, 174-2 Inter-packet gap calculation unit 175-1, 175-2 counting unit 176 Transmitting unit 180, 280 Display device 220 Packet Equipment

Claims (7)

パケットが、ある特定の地点を通過する通過時刻を計測し、前記パケットのパケット長を取得する計測部と、
前記通過時刻と前記パケット長とに基づいて、パケットの末尾から次のパケットの先頭までの時間間隔であるパケット間ギャップを算出するパケット間ギャップ算出部と、
前記パケット間ギャップ算出部が算出した前記パケット間ギャップの数を、時間間隔の長さ毎に計数する計数部と、
を具備することを特徴とするパケット集中計測システム。
A measurement unit that measures a passage time when a packet passes through a specific point, and obtains a packet length of the packet;
Based on the passage time and the packet length, an inter-packet gap calculation unit that calculates an inter-packet gap that is a time interval from the end of a packet to the beginning of the next packet;
A counting unit that counts the number of gaps between packets calculated by the gap calculation unit between packets for each length of a time interval;
A packet centralized measurement system comprising:
前記パケットのヘッダに基づいてパケットを選択するパケット選択部をさらに具備し、
前記計測部は、前記パケット選択部が選択したパケットの前記通過時刻を計測し、当該パケットの前記パケット長を取得する、
ことを特徴とする請求項1に記載のパケット集中計測システム。
A packet selector that selects a packet based on the header of the packet;
The measurement unit measures the passage time of the packet selected by the packet selection unit, and acquires the packet length of the packet;
The centralized packet measurement system according to claim 1.
前記計測部は、受信パケットに対する誤り検出を行い、誤りなしと判定した時刻を前記通過時刻とすることを特徴とする請求項1または請求項2に記載のパケット集中計測システム。   The packet concentration measurement system according to claim 1, wherein the measurement unit performs error detection on the received packet and sets a time when it is determined that there is no error as the passage time. 前記計測部を具備する複数の計測装置と、
時刻情報を前記複数の計測装置に送信する時刻通知サーバ装置と、
前記パケット間ギャップの時間間隔の長さ毎の計数値をグラフにて表示する表示装置と、
をさらに具備し、
前記パケット間ギャップ算出部は、前記計測装置毎に前記パケット間ギャップを算出し、
前記計数部は、前記計測装置毎の前記パケット間ギャップを、時間間隔の長さ毎に計数し、
前記表示装置は、複数の前記計測装置の前記グラフを同一座標に重ねて表示する、
ことを特徴とする請求項1から3のいずれか1項に記載のパケット集中計測システム。
A plurality of meter measuring device having the measuring unit,
A time notification server device for transmitting time information to the plurality of measuring devices;
A display device for displaying a count value for each length of a time interval of the inter-packet gap in a graph;
Further comprising
The inter-packet gap calculation unit calculates the inter-packet gap for each measurement device,
The counting unit counts the gap between packets for each measuring device for each length of a time interval,
The display device displays the graphs of a plurality of the measuring devices on the same coordinate,
The packet central measurement system according to any one of claims 1 to 3, wherein
パケットが、ある特定の地点を通過する通過時刻と、前記パケットのパケット長とに基づいて、パケットの末尾と次のパケットの先頭との時間間隔であるパケット間ギャップを算出するパケット間ギャップ算出部と、
前記パケット間ギャップ算出部が算出した前記パケット間ギャップを、時間間隔の長さ毎に計数する計数部と、
を具備することを特徴とするパケット間ギャップ計数装置。
An inter-packet gap calculation unit that calculates an inter-packet gap, which is a time interval between the end of a packet and the start of the next packet, based on the passage time when the packet passes through a specific point and the packet length of the packet. When,
A counting unit that counts the inter-packet gap calculated by the inter-packet gap calculating unit for each length of a time interval;
An inter-packet gap counting device comprising:
パケット間ギャップ計数装置のパケット間ギャップ計数方法であって、
パケット間ギャップ算出部が、パケットが、ある特定の地点を通過する通過時刻と、前記パケットのパケット長とに基づいて、パケットの末尾と次のパケットの先頭との時間間隔であるパケット間ギャップを算出するパケット間ギャップ算出ステップと、
計数部が、前記パケット間ギャップ算出部が算出した前記パケット間ギャップを、時間間隔の長さ毎に計数する計数ステップと、
を具備することを特徴とするパケット間ギャップ計数方法。
An inter-packet gap counting method of an inter-packet gap counting device,
An inter-packet gap calculation unit calculates an inter-packet gap, which is a time interval between the end of a packet and the start of the next packet, based on the transit time when the packet passes through a specific point and the packet length of the packet. A gap calculation step between packets to be calculated;
A counting step in which the counting unit counts the inter-packet gap calculated by the inter-packet gap calculating unit for each length of a time interval; and
An inter-packet gap counting method comprising:
パケット間ギャップ計数装置としてのコンピュータに、
パケットが、ある特定の地点を通過する通過時刻と、前記パケットのパケット長とに基づいて、パケットの末尾と次のパケットの先頭との時間間隔であるパケット間ギャップを算出するパケット間ギャップ算出ステップと、
前記パケット間ギャップ算出部が算出した前記パケット間ギャップを、時間間隔の長さ毎に計数する計数ステップと、
を実行させるためのプログラム。

In a computer as an interpacket gap counting device,
An inter-packet gap calculating step for calculating an inter-packet gap, which is a time interval between the end of a packet and the head of the next packet, based on the passage time at which the packet passes through a specific point and the packet length of the packet When,
A counting step of counting the inter-packet gap calculated by the inter-packet gap calculation unit for each length of a time interval;
A program for running

JP2010096234A 2010-04-19 2010-04-19 Centralized packet measurement system, interpacket gap counting device, interpacket gap counting method and program Expired - Fee Related JP5063732B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010096234A JP5063732B2 (en) 2010-04-19 2010-04-19 Centralized packet measurement system, interpacket gap counting device, interpacket gap counting method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010096234A JP5063732B2 (en) 2010-04-19 2010-04-19 Centralized packet measurement system, interpacket gap counting device, interpacket gap counting method and program

Publications (2)

Publication Number Publication Date
JP2011228905A JP2011228905A (en) 2011-11-10
JP5063732B2 true JP5063732B2 (en) 2012-10-31

Family

ID=45043761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010096234A Expired - Fee Related JP5063732B2 (en) 2010-04-19 2010-04-19 Centralized packet measurement system, interpacket gap counting device, interpacket gap counting method and program

Country Status (1)

Country Link
JP (1) JP5063732B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4990329B2 (en) * 2009-07-13 2012-08-01 アンリツ株式会社 Network testing equipment
JP5517523B2 (en) * 2009-08-07 2014-06-11 キヤノン株式会社 Information processing apparatus, control method thereof, and program

Also Published As

Publication number Publication date
JP2011228905A (en) 2011-11-10

Similar Documents

Publication Publication Date Title
Choi et al. Analysis of point-to-point packet delay in an operational network
JP4983930B2 (en) Frame loss measuring method, system and apparatus
JP5120784B2 (en) Method for estimating quality degradation points on a network in a communication network system
JP4523964B2 (en) Load test system, load test apparatus, and load test method
US9961000B2 (en) Estimation of network path segment delays
US20170339039A1 (en) Method for devices in a network to participate in an end-to-end measurement of latency
CN103259696B (en) Network bandwidth detection method, device and the network equipment
CN101572634B (en) Method for utilizing cross-correlation function to passively measure TCP connection round-trip delay
EP1382219A2 (en) Method and device for robust real-time estimation of bottleneck bandwidth
US8165019B2 (en) Indirect measurement methodology to infer routing changes using statistics of flow arrival processes
CN104871487B (en) Probing the network
JP2006270953A (en) Available bandwidth estimation
EP3398296B1 (en) Performance measurement in a packet-switched communication network
US9501093B2 (en) Measurement of clock skew between two remote hosts connected through computer networks
US11121938B2 (en) Performance measurement in a packet-switched communication network
CN101166122A (en) A method for locating network faults between communication terminals
US11575590B2 (en) Method for devices in a network to participate in an end-to-end measurement of latency
US11996997B2 (en) Round-trip packet loss measurement in a packet-switched communication network
CN109412881B (en) Segmented time delay monitoring method, intermediate node and synthesis analysis equipment
JP5063732B2 (en) Centralized packet measurement system, interpacket gap counting device, interpacket gap counting method and program
US20120236723A1 (en) Latency Analysis of Traffic Passing Through an Ethernet Switch
CN110557302B (en) Network device packet observation data collection method
EP2187563B1 (en) Method for measuring quality of service, transmission method, device and system of messages
CN110572332B (en) Network equipment message observation data acquisition task dividing method
Ngamwongwattana et al. Sync & sense: VoIP measurement methodology for assessing one-way delay without clock synchronization

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120706

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

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

R151 Written notification of patent or utility model registration

Ref document number: 5063732

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20150817

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees