JP2008228011A - Packet collecting apparatus, monitoring system, and packet collecting program - Google Patents
Packet collecting apparatus, monitoring system, and packet collecting program Download PDFInfo
- Publication number
- JP2008228011A JP2008228011A JP2007064620A JP2007064620A JP2008228011A JP 2008228011 A JP2008228011 A JP 2008228011A JP 2007064620 A JP2007064620 A JP 2007064620A JP 2007064620 A JP2007064620 A JP 2007064620A JP 2008228011 A JP2008228011 A JP 2008228011A
- Authority
- JP
- Japan
- Prior art keywords
- time
- time information
- packet
- reference time
- correction
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims description 21
- 238000012937 correction Methods 0.000 claims abstract description 59
- 238000004891 communication Methods 0.000 claims description 27
- 238000000034 method Methods 0.000 description 11
- 238000012806 monitoring device Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 238000005259 measurement Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000003908 quality control method Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 229910052792 caesium Inorganic materials 0.000 description 1
- TVFDJXOCXUVLDH-UHFFFAOYSA-N caesium atom Chemical compound [Cs] TVFDJXOCXUVLDH-UHFFFAOYSA-N 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 229910052701 rubidium Inorganic materials 0.000 description 1
- IGLNJRXAVVLDKE-UHFFFAOYSA-N rubidium atom Chemical compound [Rb] IGLNJRXAVVLDKE-UHFFFAOYSA-N 0.000 description 1
Images
Abstract
Description
本発明は、ネットワークの通信状態を確認するためにパケットを収集する、パケット収集装置、モニタリングシステム、およびパケット収集プログラムに関する。 The present invention relates to a packet collection device, a monitoring system, and a packet collection program that collect packets in order to check a communication state of a network.
近年、インターネットへのアクセス網として無線LANや携帯電話など無線回線の使用が一般的になっており、無線回線を含むエンド-エンドでの通信品質の保証が重要となっている。しかしながら、無線回線固有のプロトコル処理による遅延変動やパケット損失により、最適な通信品質を確保するようにエンド端末やスイッチなど中継ノードの制御パラメタを設定することは容易ではない。これに対して、実機による通信試験を行ない、フロー毎の遅延変動・パケット損失を詳細に解析することが有用である。非特許文献1では、通信試験用パケット損失・遅延測定システムについて述べている。この測定システムは、2台以上のパケット収集装置と1台の解析装置、及びそれらを接続する制御用ネットワークから構成される。解析対象のネットワークは、通信を行う2台以上のノードと、それらを接続するネットワークから構築される。測定システムのパケット収集装置は、解析対象ネットワークの2台のノードが通信する経路上に設置され、その通信パケットを収集する。解析装置は、各パケット収集装置が収集したパケットを、制御用ネットワークを介して集め、通信フローにおけるパケットの遅延・損失を解析する。また、システムは低コストであることを重視し、各装置は通常のPCを用いて構築される。
In recent years, use of a wireless line such as a wireless LAN or a cellular phone has become common as an access network to the Internet, and it is important to guarantee communication quality at an end-to-end including the wireless line. However, it is not easy to set control parameters for relay nodes such as end terminals and switches so as to ensure optimum communication quality due to delay variation and packet loss due to protocol processing unique to the wireless line. On the other hand, it is useful to conduct a communication test with an actual machine and analyze in detail the delay fluctuation and packet loss for each flow.
パケットの遅延を解析するには、各パケット収集装置でパケットを取得した時刻を正確に記録しなければならず、パケット収集装置間で高精度の時刻同期が必要である。しかし、PCを利用したパケット収集装置では、PC内部に保持する時刻の精度が不十分であり、パケットを取得した時刻を正確に記録できない。このため、パケットの収集時刻を正確に記録する仕組みが必要である。非特許文献1では、PCの時刻の誤差は、PCによって個体差はあるものの短時間であれば線形に変化することに着目し、基点となるPCから高品質の制御用ネットワークを用いて時刻同期用パケットを送信し、各パケット収集装置では、受信した時刻同期用パケットの時刻を基準にパケットの収集時刻を補正している。また、制御用ネットワークではなく、解析対象のネットワークを利用して時刻同期用パケットを送信する方法や、GPS等の外部信号に基づいてパケット収集装置のパケット収集時刻の時刻同期を行うシステムも考案されている。
しかし、制御用ネットワークを用いた手法で遠距離での測定を実施する場合、高品質な制御用ネットワークを遠距離で構築することは困難である。また、解析対象のネットワークを用いる手法では、解析対象のネットワークが商用ネットワークである場合、測定用の制御パケットを流すことは困難である。また、NTPやGPSなどを利用した高度な時刻生成装置を用いてパケット収集装置の時刻同期を行う場合、時刻生成装置から入力される信号は高精度であった場合でも、パケット収集装置での信号読み取り遅延や誤差により精度が落ちてしまう。例えば、汎用的なPCをパケット収集装置として用いる場合、PCと時刻生成装置とのI/OインタフェースはPCに標準的に備えられている規格を用いる。しかしながら、現在PCに備えられているインタフェースはシリアルポート、パラレルポート、USB、Ethernet(登録商標)、IEEE1394等であり、いずれも時刻生成装置から時刻を読み出す際に遅延が生じ、その遅延時間が一定しない。そのためパケット収集装置の時刻同期を正確にとることができない。また、パケットを収集する度に時刻生成装置から時刻を読み出す場合、収集するパケットが多いと処理が間に合わないことも考えられる。 However, when measuring at a long distance by a method using a control network, it is difficult to construct a high-quality control network at a long distance. In the method using the network to be analyzed, it is difficult to flow a control packet for measurement when the network to be analyzed is a commercial network. In addition, when performing time synchronization of the packet collection device using an advanced time generation device using NTP or GPS, even if the signal input from the time generation device is highly accurate, the signal from the packet collection device The accuracy is reduced by reading delay and error. For example, when a general-purpose PC is used as a packet collection device, the standard provided in the PC is used as the I / O interface between the PC and the time generation device. However, the interfaces currently provided in the PC are serial port, parallel port, USB, Ethernet (registered trademark), IEEE 1394, etc., all of which have a delay when reading time from the time generation device, and the delay time is constant. do not do. Therefore, the time synchronization of the packet collection device cannot be accurately taken. In addition, when the time is read from the time generation device each time a packet is collected, it is conceivable that the processing may not be in time if there are many packets to collect.
本発明は、上記の課題を解決するためになされたものであり、収集するパケット数が多い場合や、パケット収集地点同士の距離が離れている場合であっても正確な時刻を付与してパケットの収集が可能なパケット収集装置、モニタリングシステム、およびパケット収集プログラムを提供することを目的とする。 The present invention has been made in order to solve the above-described problems. Even when the number of packets to be collected is large or the distance between the packet collection points is long, the packet is assigned with an accurate time. It is an object of the present invention to provide a packet collection device, a monitoring system, and a packet collection program that can collect data.
本発明は、装置内の時刻を示す時刻情報を生成する装置内時刻生成手段と、ネットワークを伝送するパケットを収集し、前記時刻情報を前記パケットに付加するパケット収集手段と、前記装置内時刻生成手段から前記時刻情報を取得すると共に、基準時刻を示す基準時刻情報を生成する基準時刻生成装置から前記基準時刻情報を取得する時刻情報取得手段と、前記時刻情報取得手段によって取得された前記時刻情報と前記基準時刻情報を対応付けて記憶する情報記憶手段と、前記情報記憶手段が記憶している前記時刻情報および前記基準時刻情報に基づいて、前記パケットに付加されている前記時刻情報を補正するための補正式を算出する補正式算出手段と、前記補正式に基づいて、前記パケットに付加されている前記時刻情報を補正する補正手段と、を備えたことを特徴とするパケット収集装置である。 The present invention relates to an in-device time generating means for generating time information indicating the time in the apparatus, a packet collecting means for collecting packets transmitted over a network and adding the time information to the packets, and the in-device time generation. Time information acquisition means for acquiring the reference time information from a reference time generation device for acquiring the time information from a means and generating reference time information indicating a reference time; and the time information acquired by the time information acquisition means And information storage means for storing the reference time information in association with each other, and correcting the time information added to the packet based on the time information stored in the information storage means and the reference time information And a correction formula calculation means for calculating a correction formula for correcting the time information added to the packet based on the correction formula. , It means a packet collection device characterized by comprising a.
また、本発明は、前記補正式算出手段は、前記情報記憶手段が記憶している前記時刻情報および前記基準時刻情報と、前記時刻情報の取得タイミングおよび前記基準時刻情報の取得タイミングの間の誤差とに基づいて前記補正式を算出することを特徴とする請求項1に記載のパケット収集装置である。
According to the present invention, the correction formula calculating means includes an error between the time information and the reference time information stored in the information storage means, and the acquisition timing of the time information and the acquisition timing of the reference time information. The packet collection apparatus according to
また、本発明は、ネットワークを伝送するパケットを収集するパケット収集装置と、基準時刻を生成する基準時刻生成装置と、前記パケット収集装置で収集した前記パケットに基づいて、前記パケット収集装置間の通信状態を解析するパケット解析装置とを備えたモニタリングシステムにおいて、前記パケット収集装置は、装置内の時刻を示す時刻情報を生成する装置内時刻生成手段と、ネットワークを伝送するパケットを収集し、前記時刻情報を前記パケットに付加するパケット収集手段と、前記装置内時刻生成手段から前記時刻情報を取得すると共に、基準時刻を示す基準時刻情報を生成する基準時刻生成装置から前記基準時刻情報を取得する時刻情報取得手段と、前記時刻情報取得手段によって取得された前記時刻情報と前記基準時刻情報を対応付けて記憶する情報記憶手段と、前記情報記憶手段が記憶している前記時刻情報および前記基準時刻情報に基づいて、前記パケットに付加されている前記時刻情報を補正するための補正式を算出する補正式算出手段と、前記補正式に基づいて、前記パケットに付加されている前記時刻情報を補正する補正手段と、を有し、前記パケット解析装置は、前記時刻情報が補正された前記パケットを前記パケット収集装置から収集する時刻補正パケット収集手段と、前記時刻補正パケット収集手段で収集した前記パケットに基づいて、前記パケット収集装置間の通信状態を解析する解析手段と、を有することを特徴とするモニタリングシステムである。 The present invention also provides a packet collection device that collects packets transmitted over a network, a reference time generation device that generates a reference time, and communication between the packet collection devices based on the packets collected by the packet collection device. In a monitoring system comprising a packet analysis device for analyzing a state, the packet collection device collects a packet transmitted through a network, a device time generation means for generating time information indicating a time in the device, and the time A time at which the reference time information is acquired from a reference time generation device that generates the reference time information indicating the reference time while acquiring the time information from the packet collection means for adding information to the packet and the internal time generation means Information acquisition means, the time information acquired by the time information acquisition means and the reference time Information storing means for associating and storing information, and a correction formula for correcting the time information added to the packet based on the time information and the reference time information stored in the information storing means And a correction unit that corrects the time information added to the packet based on the correction formula, and the packet analysis device corrects the time information. Time correction packet collection means for collecting the packets from the packet collection device; and analysis means for analyzing a communication state between the packet collection devices based on the packets collected by the time correction packet collection means. It is a monitoring system characterized by
また、本発明は、装置内の時刻を示す時刻情報を生成する装置内時刻生成手段と、ネットワークを伝送するパケットを収集し、前記時刻情報を前記パケットに付加するパケット収集手段と、前記装置内時刻生成手段から前記時刻情報を取得すると共に、基準時刻を示す基準時刻情報を生成する基準時刻生成装置から前記基準時刻情報を取得する時刻情報取得手段と、前記時刻情報取得手段によって取得された前記時刻情報と前記基準時刻情報を対応付けて記憶する情報記憶手段と、前記情報記憶手段が記憶している前記時刻情報および前記基準時刻情報に基づいて、前記パケットに付加されている前記時刻情報を補正するための補正式を算出する補正式算出手段と、前記補正式に基づいて、前記パケットに付加されている前記時刻情報を補正する補正手段と、としてコンピュータを機能させるためのパケット収集プログラムである。 The present invention also provides an in-device time generating means for generating time information indicating the time in the apparatus, a packet collecting means for collecting packets transmitted through a network, and adding the time information to the packets, The time information is acquired from the time generation means, and the time information acquisition means for acquiring the reference time information from a reference time generation device that generates reference time information indicating a reference time, and the time information acquisition means Information storage means for associating and storing time information and the reference time information; and the time information added to the packet based on the time information stored in the information storage means and the reference time information. A correction formula calculating means for calculating a correction formula for correcting, and correcting the time information added to the packet based on the correction formula A correction unit that is a packet collection program for causing a computer to function as a.
本発明によれば、収集するパケット数が多い場合や、パケット収集地点同士の距離が離れている場合であっても正確な時刻を付与してパケットの収集ができる。 According to the present invention, even when the number of packets to be collected is large or the distance between the packet collection points is long, it is possible to collect packets with an accurate time.
以下、図面を参照し、本発明の実施形態を説明する。図1は本発明の一実施形態によるモニタリングシステムの構成を示している構成図である。通信ノード101は解析対象のパケットを通信するノードである。モニタリング装置102はそれぞれ独立しており、パケット収集装置103と時刻生成装置104から成る。パケット収集装置103は、汎用的な機器としてPCを使用する。モニタリング装置102は解析対象ネットワーク106に接続しており、通信ノード101間で通信しているパケットをモニタリングする。パケット解析装置105は、モニタリング装置102で取得したパケットを収集し、ネットワーク上での遅延の状況等を解析する。図1にはモニタリング装置102が3つ存在するが、これよりもモニタリング装置102が多い場合、もしくは少ない場合もある。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing a configuration of a monitoring system according to an embodiment of the present invention. The
モニタリング装置102でパケットを収集する場合について適宜図2を参照して説明を行う。図2は本発明の一実施形態であるモニタリング装置102のブロック図である。時刻生成装置104は、GPSやNTPもしくはルビジウムやセシウム発信器を用いて基準時刻信号を生成する。PC時刻生成部201は、PC内で使用する時刻を生成する。記憶部202は、収集したパケットの情報、取得したPCの時刻、および取得した基準時刻を記憶する。パケット収集部203は、解析対象ネットワーク106を伝送するパケットを収集し、PC時刻生成部201よりPCの時刻を取得し、収集したパケットにPCの時刻を付加し、記憶部202に記憶させる。時刻取得部204は、時刻生成装置104より基準時刻を取得し、PC時刻生成部201よりPCの時刻を取得し、両者を対応付けて記憶部202に記憶させる。時刻補正部205は、記憶部202に記憶されている基準時刻とPCの時刻に基づいて、記憶部202に記憶されているパケットに付加されているPCの時刻を補正し、時刻が補正されたパケットを記憶部202に記憶させる。
A case where packets are collected by the
本実施形態の動作例を説明する。はじめに、パケット収集部203は、解析対象ネットワーク106上のパケット収集ポイントよりパケットを収集する。続いて、パケット収集部203は収集したパケットに収集した時点の時刻を付加する。パケットを収集するごとに、時刻生成装置104から時刻を読み出し、読み出した時間を収集したパケットに付加すると処理が間に合わないため、収集したパケットには高速に取得できるPC時刻生成部201で生成されたPCの時刻を一時的に付加し、記憶部202に記憶させる。これと並行して、時刻取得部204は、定期的に時刻生成装置104から基準時刻を取得し、同時にPC時刻生成部201からPCの時刻を取得し、基準時刻とPCの時刻を対応付けて記憶部202に記憶させる。
An operation example of this embodiment will be described. First, the
しかし、PC時刻生成部201の時刻は正確ではないため、時間が経つにつれてPC時刻生成部201の時刻はずれる。この時刻のずれは、短期的に見ると線形に変化するとみなせることが分かっている。そこで、あるPC時刻生成部201の時刻tの補正時刻は、tの前後に記録したPC時刻生成部201の時刻と時刻生成装置104の時刻の対応から線形補完により求めることができる。しかし、通常PCでは時刻生成装置104とPC時刻生成部201の時刻をまったく同一のタイミングで取得することはできない。そのため、時刻生成装置104とPC時刻生成部201の時刻を順に読み出すこととなり、読み出し遅延が生じる。またこの遅延は一定ではなく誤差が生じる。図3にモニタリング装置102で時刻生成装置104とPC時刻生成部201の時刻を読み出すタイミングについて示す。図3の横軸は時間である。Fgeは、時刻取得部204が時刻生成装置104の時刻を取得するための時刻取得関数である。Fpcは、時刻取得部204がPC時刻生成部201の時刻を取得するための時刻取得関数である。FgeとFpcを同時に実行することができないため、時刻取得部204が実施する処理の流れは、「Fgeの呼び出し」「時刻生成装置104の時刻を取得」「Fgeが返る」「Fpcの呼び出し」「PC時刻生成部201の時刻を取得」「Fpcが返る」の順となる。よって、FgeとFpcの値取得の遅延は時刻取得部204が、時刻生成装置104の時刻を取得した時刻からPC時刻生成部201の時刻を取得する間の時間となる。この読み出し遅延の誤差を小さくするために時刻補正部205は時刻補正計算を行う。
However, since the time of the PC
図4は、PC時刻生成部201で生成された時刻と時刻生成装置104で生成された時刻の対応および補正直線を示した図である。横軸(x軸)はPC時刻生成部201の時刻、縦軸(y軸)は時刻生成装置104の時刻である。誤差を小さくするため、2点間の線形補正ではなく、多点の回帰直線による補正を行う。しかし、これでは遅延の平均値を求めるのみであり、遅延の誤差は小さくならない。時刻取得部204が実施する処理の流れでは、時刻生成装置104の時刻を取得した後にPC時刻生成部201の時刻を取得するため、PC時刻生成部201の時刻に比べ、時刻生成装置104の時刻の取得タイミングの方が早い。そのため、読み出し遅延が無い場合の理想的な補正直線に比べ、回帰直線は平均読み出し遅延の分だけ負のy軸方向にずれている。そこで、この理想的な補正直線に回帰直線を近づける。遅延時間は負にならないことから、各プロットされた点は理想的な直線よりも全て負のy軸方向に位置する。回帰直線を最も理想の直線に近づけるには、傾きをそのままに読み出し遅延が最も小さい点を通過するとよい。これはy軸の切片は最も大きくなるとき、最も読み出し遅延が小さい点を通過する。この遅延と遅延の誤差による影響を小さくした直線を補正式として、PC時刻生成部201の時刻を補正する。
FIG. 4 is a diagram illustrating a correspondence between the time generated by the PC
PC時刻生成部201の時刻tを補正する場合、次のように計算する。図5は、補正直線を求める処理の手順を示した図である。TO[i]はPC時刻生成部201の時刻の配列であり、昇順に並んでいる。TM[i]はTO[i]に対応する時刻生成装置104の時刻の配列である。tは補正対象となるPC時刻生成部201の時刻である。t´は補正後のPC時刻生成部201の時刻である。a、b´は補正式の要素である。はじめに時刻tを中心とする範囲に、記憶部202に記憶されたPC時刻生成部201の時刻TOと時刻生成装置104の時刻TMの対応をプロットする。続いて、プロットしたPC時刻生成部201の時刻TOの部分配列TO[i]を求める(ステップS501)。続いてTO[i]に対応する時刻生成装置104の時刻TMの部分配列TM[i]を求める(ステップS502)。続いて、TO[i]の平均値AVGTOを求める(ステップS503)。続いてTM[i]の平均値AVGTMを求める(ステップS504)。続いてプロットしたPC時刻生成部201の時刻TO[i]と時刻生成装置104の時刻TM[i]のプロット点のから回帰直線を最小二乗法により求める(ステップS505、ステップS506)。続いて、回帰直線の傾きaを固定したまま、プロットした点の時刻を順次代入し、プロットした点を通る直線の中で最も大きくなる切片b´の値を求める。(ステップS507〜ステップS511)。求めた式t´=a×t+b´がPC時刻生成部201の時刻を補正する補正式となる(ステップS512)。
When correcting the time t of the PC
続いて、時刻補正部205は、ステップS512で求めた式に基づいて、記憶部202に記憶したパケット取得時にパケットに付加したPC時刻生成部201の時刻を補正する。
Subsequently, the
上記の手順により、収集するパケット数が多い場合でもパケットの収集を可能となる。また、パケットを収集した際に記録したパケット取得時の時刻を精度の高い時刻とすることも可能となる。 With the above procedure, packets can be collected even when the number of packets to be collected is large. It is also possible to set the time at which the packet was recorded when the packet was collected to a highly accurate time.
次に、モニタリング装置102で収集したパケットに基づいて、通信ノード101間で通信した際の通信状態の解析を実施する場合について適宜図6を参照して説明を行う。図6は本発明の一実施形態であるモニタリングシステムのブロック図である。時刻補正パケット収集部601は、モニタリング装置102の記憶部202より、時刻補正後のパケットを収集し、時刻補正パケット記憶部602に記憶する。解析部603は、時刻補正パケット記憶部602に記憶されている時刻補正後のパケットに基づいて、通信ノード101間で通信した際の通信状態の解析を行う。
Next, the case where the communication state is analyzed when communication is performed between the
はじめに、通信状態の解析を行うネットワーク上に、複数のパケット収集ポイントを定める。例えば、ルータなど調査したい機器を挟むようにポイントを定める。続いて、複数のモニタリング装置102をパケット収集ポイントに設置し、送受信されるパケットを収集する。これにより、各パケットは送信元から送信先のノードに到達するまでに、複数のモニタリング装置102によって捉えられる。例えば、3箇所にモニタリング装置102を設置した場合、1つのパケットが送信元から送信先に到達するまで、3つのモニタリング装置102で収集される。続いて、モニタリング装置102は、パケットに基準時刻を付与して蓄積する。続いて、パケット解析装置105の時刻補正パケット収集部601はモニタリング装置102の記憶部202に記憶されている時刻補正後のパケットを収集し、時刻補正パケット記憶部602に記憶する。パケット収集部601が時刻補正後のパケットを収集する方法としては、ネットワーク経由で収集する方法や、CD/DVDなどのメディア(記録媒体)を介して収集する方法が考えられる。続いて、解析部603は、時刻補正パケット記憶部602の時刻補正後のパケットに基づいて、モニタリング装置102間の遅延を求める。例えば、時刻の比較は、隣り合うモニタリング装置102間で行い、時刻補正後のパケットの時刻の差分が50msであった場合、そのモニタリング装置を設置したパケット測定ポイント間を通過するのに50ms時間を要したこととなる。また、この値が、極端に大きいなど異常値をとる場合、その間の機器やネットワークに問題があると判断できる。
First, a plurality of packet collection points are defined on the network for analyzing the communication state. For example, the points are determined so as to sandwich the device to be investigated such as a router. Subsequently, a plurality of
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成、プログラムはこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration and program are not limited to this embodiment, and design and the like within the scope of the present invention are included. .
また、図1に示すパケット収集装置103およびパケット解析装置105の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、モニタリングおよびパケット解析を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。
Further, a program for realizing the functions of the
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。 Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used. The “computer-readable recording medium” means a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a CD-ROM, a hard disk built in a computer system, etc. This is a storage device.
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。 Further, the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc., which hold programs for a certain period of time.
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
101・・・通信ノード、102・・・モニタリング装置、103・・・パケット収集装置、104・・・時刻生成装置、105・・・パケット解析装置、106・・・解析対象ネットワーク、201・・・PC時刻生成部、202・・・記憶部、203・・・パケット収集部、204・・・時刻取得部、205・・・時刻補正部、601・・・時刻補正パケット収集部、602・・・時刻補正パケット記憶部、603・・・解析部
DESCRIPTION OF
Claims (4)
ネットワークを伝送するパケットを収集し、前記時刻情報を前記パケットに付加するパケット収集手段と、
前記装置内時刻生成手段から前記時刻情報を取得すると共に、基準時刻を示す基準時刻情報を生成する基準時刻生成装置から前記基準時刻情報を取得する時刻情報取得手段と、
前記時刻情報取得手段によって取得された前記時刻情報と前記基準時刻情報を対応付けて記憶する情報記憶手段と、
前記情報記憶手段が記憶している前記時刻情報および前記基準時刻情報に基づいて、前記パケットに付加されている前記時刻情報を補正するための補正式を算出する補正式算出手段と、
前記補正式に基づいて、前記パケットに付加されている前記時刻情報を補正する補正手段と、
を備えたことを特徴とするパケット収集装置。 In-device time generating means for generating time information indicating the time in the device;
A packet collecting means for collecting packets transmitted through a network and adding the time information to the packets;
Time information acquisition means for acquiring the reference time information from a reference time generation apparatus for acquiring the time information from the internal time generation means and generating reference time information indicating a reference time;
Information storage means for storing the time information acquired by the time information acquisition means and the reference time information in association with each other;
A correction formula calculation unit that calculates a correction formula for correcting the time information added to the packet based on the time information and the reference time information stored in the information storage unit;
Correction means for correcting the time information added to the packet based on the correction formula;
A packet collection device comprising:
前記パケット収集装置は、
装置内の時刻を示す時刻情報を生成する装置内時刻生成手段と、
ネットワークを伝送するパケットを収集し、前記時刻情報を前記パケットに付加するパケット収集手段と、
前記装置内時刻生成手段から前記時刻情報を取得すると共に、基準時刻を示す基準時刻情報を生成する基準時刻生成装置から前記基準時刻情報を取得する時刻情報取得手段と、
前記時刻情報取得手段によって取得された前記時刻情報と前記基準時刻情報を対応付けて記憶する情報記憶手段と、
前記情報記憶手段が記憶している前記時刻情報および前記基準時刻情報に基づいて、前記パケットに付加されている前記時刻情報を補正するための補正式を算出する補正式算出手段と、
前記補正式に基づいて、前記パケットに付加されている前記時刻情報を補正する補正手段と、を有し、
前記パケット解析装置は、
前記時刻情報が補正された前記パケットを前記パケット収集装置から収集する時刻補正パケット収集手段と、
前記時刻補正パケット収集手段で収集した前記パケットに基づいて、前記パケット収集装置間の通信状態を解析する解析手段と、を有する
ことを特徴とするモニタリングシステム。 A packet collection device that collects packets transmitted through a network, a reference time generation device that generates a reference time, and a packet analysis that analyzes a communication state between the packet collection devices based on the packets collected by the packet collection device In a monitoring system comprising a device,
The packet collection device includes:
In-device time generating means for generating time information indicating the time in the device;
A packet collecting means for collecting packets transmitted through a network and adding the time information to the packets;
Time information acquisition means for acquiring the reference time information from a reference time generation apparatus for acquiring the time information from the internal time generation means and generating reference time information indicating a reference time;
Information storage means for storing the time information acquired by the time information acquisition means and the reference time information in association with each other;
A correction formula calculation unit that calculates a correction formula for correcting the time information added to the packet based on the time information and the reference time information stored in the information storage unit;
Correction means for correcting the time information added to the packet based on the correction formula;
The packet analysis device
Time correction packet collection means for collecting the packet with the time information corrected from the packet collection device;
An analysis unit that analyzes a communication state between the packet collection devices based on the packets collected by the time correction packet collection unit.
ネットワークを伝送するパケットを収集し、前記時刻情報を前記パケットに付加するパケット収集手段と、
前記装置内時刻生成手段から前記時刻情報を取得すると共に、基準時刻を示す基準時刻情報を生成する基準時刻生成装置から前記基準時刻情報を取得する時刻情報取得手段と、
前記時刻情報取得手段によって取得された前記時刻情報と前記基準時刻情報を対応付けて記憶する情報記憶手段と、
前記情報記憶手段が記憶している前記時刻情報および前記基準時刻情報に基づいて、前記パケットに付加されている前記時刻情報を補正するための補正式を算出する補正式算出手段と、
前記補正式に基づいて、前記パケットに付加されている前記時刻情報を補正する補正手段と、
としてコンピュータを機能させるためのパケット収集プログラム。 In-device time generating means for generating time information indicating the time in the device;
A packet collecting means for collecting packets transmitted through a network and adding the time information to the packets;
Time information acquisition means for acquiring the reference time information from a reference time generation apparatus for acquiring the time information from the internal time generation means and generating reference time information indicating a reference time;
Information storage means for storing the time information acquired by the time information acquisition means and the reference time information in association with each other;
A correction formula calculation unit that calculates a correction formula for correcting the time information added to the packet based on the time information and the reference time information stored in the information storage unit;
Correction means for correcting the time information added to the packet based on the correction formula;
Packet collection program to make the computer function as a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007064620A JP4717849B2 (en) | 2007-03-14 | 2007-03-14 | Packet collection device, monitoring system, and packet collection program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007064620A JP4717849B2 (en) | 2007-03-14 | 2007-03-14 | Packet collection device, monitoring system, and packet collection program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008228011A true JP2008228011A (en) | 2008-09-25 |
JP4717849B2 JP4717849B2 (en) | 2011-07-06 |
Family
ID=39846070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007064620A Expired - Fee Related JP4717849B2 (en) | 2007-03-14 | 2007-03-14 | Packet collection device, monitoring system, and packet collection program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4717849B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011250364A (en) * | 2010-05-31 | 2011-12-08 | Fujitsu Ltd | Packet capture device, packet capture method, and computer program |
WO2021019791A1 (en) * | 2019-08-01 | 2021-02-04 | 日本電信電話株式会社 | Packet transfer device, packet transfer method, and packet transfer program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000163119A (en) * | 1998-11-30 | 2000-06-16 | Toshiba Corp | Network information processor for assembly and control monitor system |
JP2002135319A (en) * | 2000-10-27 | 2002-05-10 | Nec Eng Ltd | Service quality measurement system for network and its method |
JP2007166453A (en) * | 2005-12-16 | 2007-06-28 | Fujitsu Ltd | Program, device, and method for analyzing packet data |
-
2007
- 2007-03-14 JP JP2007064620A patent/JP4717849B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000163119A (en) * | 1998-11-30 | 2000-06-16 | Toshiba Corp | Network information processor for assembly and control monitor system |
JP2002135319A (en) * | 2000-10-27 | 2002-05-10 | Nec Eng Ltd | Service quality measurement system for network and its method |
JP2007166453A (en) * | 2005-12-16 | 2007-06-28 | Fujitsu Ltd | Program, device, and method for analyzing packet data |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011250364A (en) * | 2010-05-31 | 2011-12-08 | Fujitsu Ltd | Packet capture device, packet capture method, and computer program |
WO2021019791A1 (en) * | 2019-08-01 | 2021-02-04 | 日本電信電話株式会社 | Packet transfer device, packet transfer method, and packet transfer program |
JPWO2021019791A1 (en) * | 2019-08-01 | 2021-02-04 |
Also Published As
Publication number | Publication date |
---|---|
JP4717849B2 (en) | 2011-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8228923B1 (en) | Method and apparatus for measuring system latency using global time stamp | |
US7411533B2 (en) | ADC for simultaneous multiple analog inputs | |
JP5329309B2 (en) | Synchronous recording system and synchronous recording method | |
US20070177520A1 (en) | Traffic load density measuring system, traffic load density measuring method, transmitter, receiver, and recording medium | |
JP2022537088A (en) | Formaldehyde concentration detection method, device, and air purifier | |
US8842793B2 (en) | Communication circuit and method of adjusting sampling clock signal | |
US20160315860A1 (en) | Estimation Of Network Path Segment Delays | |
US9031055B2 (en) | Method and system for recording, synchronizing and analysing data by means of analysis devices which are spatially distributed in a communication network | |
US20180219760A1 (en) | Network link performance | |
WO2016084334A1 (en) | Available-band estimation system, available-band estimation method, reception apparatus, and reception apparatus program storage medium | |
CN113709043B (en) | Path tracking method and device | |
JP4966779B2 (en) | Network delay measurement method and communication system | |
JP2004304755A5 (en) | ||
Pocovi et al. | Measurement framework for assessing reliable real-time capabilities of wireless networks | |
CN103634157A (en) | Parallel message routing detection method | |
JP4717849B2 (en) | Packet collection device, monitoring system, and packet collection program | |
JP2007188152A (en) | Clock skew correction system, clock skew correction method and clock skew correction program | |
JPWO2009011020A1 (en) | Packet delay characteristic measuring apparatus and method | |
KR20170069706A (en) | Microearthquake measuring system and time synchronization method of microearthquake measuring system | |
CN101848119A (en) | High-accuracy network round-trip delay measuring method for eliminating system processing time | |
JP2011250364A (en) | Packet capture device, packet capture method, and computer program | |
JP4678046B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, DELAY TIME MEASUREMENT TIME SETTING METHOD, DELAY TIME CALCULATION METHOD, AND PROGRAM | |
JP2006262036A (en) | Packet route tracking system | |
JP2009128174A (en) | Time synchronization system | |
Claffy | The 7th workshop on active internet measurements (AIMS7) report |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20090710 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090710 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110215 |
|
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: 20110322 |
|
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: 20110330 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4717849 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: 20140408 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |