[go: up one dir, main page]

JP2004221801A - Network transmission delay measuring method - Google Patents

Network transmission delay measuring method Download PDF

Info

Publication number
JP2004221801A
JP2004221801A JP2003005190A JP2003005190A JP2004221801A JP 2004221801 A JP2004221801 A JP 2004221801A JP 2003005190 A JP2003005190 A JP 2003005190A JP 2003005190 A JP2003005190 A JP 2003005190A JP 2004221801 A JP2004221801 A JP 2004221801A
Authority
JP
Japan
Prior art keywords
data
segment
transmission delay
network transmission
time information
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.)
Pending
Application number
JP2003005190A
Other languages
Japanese (ja)
Inventor
Kazuya Watanabe
一也 渡辺
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators Ltd
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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP2003005190A priority Critical patent/JP2004221801A/en
Publication of JP2004221801A publication Critical patent/JP2004221801A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To measure the one-direction delay of a network at a low cost without utilizing an exclusive hardware device. <P>SOLUTION: A recording server 4 for a segment 2 at a user, a recording server 5 for a segment 12 at an AP server A, a recording server 6 for a segment 22 at an AP server B record information about packets flowing in corresponding segments, utilizing packet monitoring commands such as TCPDUMP, etc., respectively. A managing server 7 collects information about the packets flowing in the segments from the recording servers 4, 5, 6, and calculates the times (network transmission delay times) taken for flowing the packets between the user segment 2 and the AP server A segment 12 or the AP server B segment 22 with respect to the transmission packets, reception packets and every connection address segment. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワーク伝送遅延測定方法に関し、特に、測定範囲が1箇所から複数箇所になる場合のネットワーク伝送遅延測定方法に関する。
【0002】
【従来の技術】
従来のIPネットワーク上を流れるパケットの片方向伝送遅延測定においては、ある2点間にターゲットを絞って、測定装置をその2点間に設置し、その間を流れるパケットの性能情報を取得している。
また、2つの通信端末A,B間でパケットネットワークを介して送受信されるパケット毎に、パケットネットワークに入力された入力時刻と出力された出力時刻とを、それぞれ独立した時計A,Bを内蔵する2つのパケット測定端末A,Bで検出してそれぞれ記憶装置A,Bに記録し、ネットワーク伝送遅延測定端末は、各記憶装置A,Bに記録されたデータを解析し、通信端末Aから通信端末Bへ送信されたパケット毎に、出力時刻と入力時刻との差を一方向の仮遅延時間として算出し、通信端末Bから通信端末Aへ送信されたパケット毎に、出力時刻と入力時刻との差を他方向の仮遅延時間として算出する。そして、一方向の仮遅延時間の最小値と他方向の仮遅延時間の最小値とから、時計A,Bの時刻偏差を決定し、仮遅延時間を補正する。これにより、パケットネットワークの伝送遅延時間を、時刻合わせ無しに且つ往路、復路それぞれ個別に測定できるようにしたものがある(例えば、特許文献1参照)。
【0003】
【特許文献1】
特開2001−53792号公報(図1)
【0004】
【発明が解決しようとする課題】
現状では、インターネット上でサービスを提供する上で、異なった場所に存在する複数のサーバを利用する場合が増えている。従来の測定装置を用いてそのような場合におけるネットワーク伝送遅延を測定するためには、測定装置が大量に必要となったり、測定工数がかかり、コスト高となる問題があった。また、測定装置は専用のハードウェア装置となり、さらにコスト高となる問題があった。
また、特許文献1に記載の発明では、所定の2つの端末間でのネットワーク伝送遅延を測定することはできるが、複数の任意の端末間のネットワーク伝送遅延を測定することができないという問題があった。
【0005】
本発明はこのような状況に鑑みてなされたものであり、多様化したネットワーク構成において、ネットワーク上の性能劣化がどこで発生しているのかを安価に判断することができるようにするものである。
【0006】
【課題を解決するための手段】
請求項1に記載のネットワーク上の複数の端末間のネットワーク伝送遅延を測定するネットワーク伝送遅延測定方法であって、端末の所定のものが存在する第1のセグメントから端末の他の所定のものが存在する第2のセグメントにネットワークを介して流れる第1のデータを第1のセグメントにおいて検出し、検出した時刻に対応する第1の時刻情報と第1のデータに対応するデータとからなる第1の記録データを第1のセグメントに設置された第1の記憶装置に記憶させる第1の記憶ステップと、第1のデータを第2のセグメントにおいて検出し、検出した時刻に対応する第2の時刻情報と第1のデータに対応するデータとからなる第2の記録データを第2のセグメントに設置された第2の記憶装置に記憶させる第2の記憶ステップと、第1の記憶装置によって記憶された第1の記録データに対応する第2の記録データを第2の記憶装置から検索する検索ステップと、検索ステップにおいて検索された第2の記録データに含まれる第2の時刻情報と、第1の記録データに含まれる第1の時刻情報とに基づいて、端末の所定のものと端末の他の所定のものとの間のネットワーク伝送遅延を測定する測定ステップとを備えることを特徴とする。
また、第1の記録データおよび第2の記録データは、少なくとも送信元のIPアドレスと、宛先のIPアドレスとを含むようにすることができる。
また、測定ステップにおいては、第1の記憶ステップにおいて記憶された第1の記録データに含まれる第1の時刻情報と、第2の記憶ステップにおいて記憶された第1の記録データに含まれる第2の時刻情報との差を演算し、その差に基づいてネットワーク伝送遅延を測定するようにすることができる。
また、検索ステップにおいては、少なくとも第1の記録データに含まれる送信元のIPアドレスおよび宛先のIPアドレスと同一のものを含む第2の記録データを検索するようにすることができる。
請求項5に記載のネットワーク伝送遅延測定装置は、ネットワーク上の複数の端末間のネットワーク伝送遅延を測定するネットワーク伝送遅延測定装置であって、端末の所定のものが存在する第1のセグメントから端末の他の所定のものが存在する第2のセグメントにネットワークを介して流れる第1のデータを第1のセグメントにおいて検出し、検出した時刻に対応する第1の時刻情報と第1のデータに対応するデータとからなる第1の記録データを記憶する第1のセグメントに設置された第1の記憶手段と、第1のデータを第2のセグメントにおいて検出し、検出した時刻に対応する第2の時刻情報と第1のデータに対応するデータとからなる第2の記録データを記憶する第2のセグメントに設置された第2の記憶手段と、第1の記憶手段によって記憶された第1の記録データに対応する第2の記録データを第2の記憶手段から検索する検索ステップと、検索ステップにおいて検索された第2の記録データに含まれる第2の時刻情報と、第1の記録データに含まれる第1の時刻情報とに基づいて、端末の所定のものと端末の他の所定のものとの間のネットワーク伝送遅延を測定する測定手段とを備えることを特徴とする。
請求項6に記載のネットワーク伝送遅延測定プログラムは、ネットワーク上の複数の端末間のネットワーク伝送遅延を測定するネットワーク伝送遅延測定装置を制御するネットワーク伝送遅延測定プログラムであって、端末の所定のものが存在する第1のセグメントから端末の他の所定のものが存在する第2のセグメントにネットワークを介して流れる第1のデータを第1のセグメントにおいて検出し、検出した時刻に対応する第1の時刻情報と第1のデータに対応するデータとからなる第1の記録データを第1のセグメントに設置された第1の記憶装置に記憶させる第1の記憶ステップと、第1のデータを第2のセグメントにおいて検出し、検出した時刻に対応する第2の時刻情報と第1のデータに対応するデータとからなる第2の記録データを第2のセグメントに設置された第2の記憶装置に記憶させる第2の記憶ステップと、第1の記憶装置によって記憶された第1の記録データに対応する第2の記録データを第2の記憶装置から検索する検索ステップと、検索ステップにおいて検索された第2の記録データに含まれる第2の時刻情報と、第1の記録データに含まれる第1の時刻情報とに基づいて、端末の所定のものと端末の他の所定のものとの間のネットワーク伝送遅延を測定する測定ステップとをネットワーク伝送遅延測定装置に実行させることを特徴とする。
【0007】
【発明の実施の形態】
次に、本発明の一実施の形態の構成および動作について図面を参照して詳細に説明する。図1は、本発明のネットワーク伝送遅延測定方法を応用したネットワーク伝送遅延測定装置の一実施の形態の構成例を示している。
【0008】
図1に示したように、本実施の形態は、ネットワーク測定範囲がユーザ端末1とAPサーバA11、およびユーザ端末1とAPサーバB21となっており、APサーバA11が存在する例えばLAN(local area network)等のAPサーバA側セグメント12に設置され、そこを流れるパケットを検出し、そのパケットに関するデータ(以下では、パケットデータと記載する)を記録する記録サーバ5と、APサーバB21が存在するAPサーバB側セグメント22に設置され、そこを流れるパケットを検出し、そのパケットに関するパケットデータを記録する記録サーバ6と、ユーザ端末1が存在するユーザ側セグメント2に設置され、そこを流れるパケットを検出し、そのパケットに関するパケットデータを記録する記録サーバ4と、各記録サーバ4,5,6によって記録された各パケットデータを収集し、ネットワーク伝送遅延時間を算出する管理サーバ7と、測定対象となるネットワーク100とから構成されている。
【0009】
また、本実施の形態の処理は、パケットの流れを記録する第1のステップと、各記録サーバ4,5,6によって記録された各パケットデータに基づいてネットワーク伝送遅延時間を算出する第2のステップとに分かれる。第1のステップは、記録サーバ4,5,6上での処理となり、第2のステップは、管理サーバ7上での処理となる。
【0010】
次に、第1のステップである記録サーバ4,5,6における処理について説明する。まず、ネットワーク伝送遅延の測定に先駆けて、記録サーバ4,5,6の内蔵時計に対してNTP(Network Time Protocol)プロトコルを用いた時刻同期を行っておく。
【0011】
次に、図2に示すように、記録サーバ4は、TCPDUMP等のパケットモニタリングコマンドを利用して、ユーザ側セグメント2を流れたパケットに関するパケットデータを記録する。同様に、記録サーバ5は、TCPDUMP等のパケットモニタリングコマンドを利用して、APサーバA側セグメント12を流れたパケットに関するパケットデータを記録する。同様に、記録サーバ6は、TCPDUMP等のパケットモニタリングコマンドを利用して、APサーバB側セグメント22を流れたパケットに関するパケットデータを記録する。
【0012】
ここでは、パケットデータが記録される記録媒体の容量を考慮して、記録されるパケットデータは、例えば、”収集した時刻”、パケットのIPヘッダの”送信元IPアドレス”、”宛先IPアドレス”、および”Identification”のみとする。”Identification”は、例えば、ユーザ端末1やAPサーバA11、APサーバB21等の端末またはサーバを識別するためのデータである。
【0013】
ユーザ端末1からAPサーバA11にパケットが送信されると、記録サーバ4が送信したパケット(送信パケット)、および記録サーバ5が受信したパケット(受信パケット)が、それぞれ、同一の”送信元IPアドレス”、”宛先IPアドレス”、および”Identification”を持ち、パケットデータの組の一方が記録サーバ4に保存され、他方が記録サーバ5に保存されることになる。
【0014】
また、パケットに関するパケットデータは、送信パケットおよび受信パケット毎に、また、送信先または送信元のセグメント毎に独立して保存される。記録サーバ5,6によって保存されるパケットデータの相関図は図3に示すようになる。
【0015】
即ち、ユーザ端末1からAPサーバA11に送信されたパケット(送信データ)に関するパケットデータ、およびユーザ端末1からAPサーバB21に送信されたパケット(送信データ)に関するパケットデータは、記録サーバ4の記憶装置41に記憶される。また、AP端末A11から送信され、ユーザ端末1が受信したパケット(受信データ)に関するパケットデータ、およびAP端末B21からユーザ端末1に送信され、ユーザ端末1が受信したパケット(受信データ)に関するパケットデータは、記録サーバ4の記憶装置42に記憶される。
【0016】
また、APサーバA11が受信したユーザ端末1からのパケット(受信データ)に関するパケットデータは、記録サーバ5の記憶装置52に保存される。APサーバB21が受信したユーザ端末1からのパケット(受信データ)に関するパケットデータは、記録サーバ6の記憶装置62に保存される。
【0017】
APサーバA11がユーザ端末1に送信したパケット(送信データ)に関するパケットデータは、記録サーバ5の記憶装置51に保存される。APサーバB21がユーザ端末1に送信したパケット(送信データ)に関するパケットデータは、記録サーバ6の記憶装置61に保存される。
【0018】
次に、第2のステップにおいて行われる管理サーバ7の処理の概要について説明する。まず、管理サーバ7は、記録サーバ4,5,6よりパケットデータを収集する。次に、収集したパケットデータを元に、1パケットずつ伝送遅延時間を算出する。そのために、記録サーバ4,5,6より収集したパケットデータから、対となる組を検索する。そして、対となる組のパケットデータに含まれる”収集した時刻”の差分からネットワーク伝送遅延時間を求める。
【0019】
以下、図4のフローチャートを参照して、ユーザ側セグメント2からAPサーバA側セグメント12およびAPサーバB側セグメント22に流れたパケットのネットワーク伝送遅延時間の算出方法について説明する。
【0020】
まず最初に、ステップS1において、管理サーバ7は、ユーザ側セグメント2に設置された記録サーバ4の記憶装置41から送信データ(送信したパケットのパケットデータ(送信パケットデータ))を1件だけ読み込む。次に、ステップS2において、記憶装置41から全ての送信データの読み込みが終了したか否かが判定される。その結果、全ての送信データの読み込みが終了したと判定された場合、本処理を終了する。一方、まだ全ての送信データの読み込みが終了していないと判定された場合、ステップS3に進む。
【0021】
ステップS3においては、ステップS1において読み込んだ送信データの宛先セグメントに対応するサーバ側セグメント(APサーバA側セグメント12またはAPサーバB側セグメント22)の受信データ(受信パケットデータ)を記録サーバ5または記録サーバ6より読み込む。
【0022】
次に、ステップS1において読み込んだ送信パケットデータに含まれる”送信元IPアドレス”、”宛先IPアドレス”、および”Identification”と同一の”送信元IPアドレス”、”宛先IPアドレス”、および”Identification”を持つ受信パケットデータを検索する。
【0023】
次に、ステップS4において、検索した受信パケットデータが存在しない場合、ステップS5に進み、パケットロストと判断し、欠落パケット数を示すカウンタを1だけカウントアップし、この欠落パケット数を管理サーバ7が備える記憶装置71に記憶させる。その後、ステップS1に戻り、ステップS1以降の処理が繰り返し実行される。
【0024】
一方、ステップS4において、検索した受信パケットデータが存在した場合、ステップS6に進み、”収集した時刻”を元に、ネットワーク伝送遅延時間の算出が行われる。算出されたネットワーク伝送遅延時間は、管理サーバ7の記憶装置71に記憶される。さらに、算出されたネットワーク伝送遅延時間を基に、平均遅延時間、最大遅延時間、遅延ゆらぎ等の性能情報が所定の計算を行うことによって取得され、管理サーバ7の記憶装置71に記憶される。
【0025】
上記処理と同様の処理を他のセグメントに対する送信データ、または受信データについて行えば、ユーザ端末1から見て、送信/受信パケット別、接続先セグメント毎にネットワーク伝送遅延時間の取得が可能となる。送信/受信パケット毎に、また、セグメント毎にパケットデータを独立して保存するため、必要に応じて所定の箇所のネットワーク伝送遅延時間のみを算出することが可能となり、また、ネットワーク伝送遅延時間の算出上、不要となるパケットデータがあらかじめ除外されているため、ネットワーク伝送遅延時間の算出処理を高速化することができる。
【0026】
以上説明したように、本実施の形態により、ユーザ側セグメント2およびAPサーバA側セグメント12またはAPサーバB側セグメント22で、TCPDUMP等のパケットモニタリングコマンドを利用して各セグメントを流れるパケットの検出および記録を行うことができる。そして、記録されたパケットのデータ(パケットデータ)を収集し、各パケットがユーザ側セグメント2とAPサーバA側セグメント12またはAPサーバB側セグメント22間を流れるのに要した時間(ネットワーク伝送遅延時間)を個々のパケット毎に算出することができる。これにより、複数セグメントに対するパケットのネットワーク伝送遅延時間を同時に、かつ安価なシステムで測定することが可能となる。
【0027】
なお、上記実施の形態の構成及び動作は例であって、本発明の趣旨を逸脱しない範囲で適宜変更することができることは言うまでもない。
【0028】
【発明の効果】
以上の如く、本発明に係るネットワーク伝送遅延測定方法によれば、端末の所定のものが存在する第1のセグメントから端末の他の所定のものが存在する第2のセグメントにネットワークを介して流れる第1のデータを第1のセグメントにおいて検出し、検出した時刻に対応する第1の時刻情報と第1のデータに対応するデータとからなる第1の記録データを第1のセグメントに設置された第1の記憶装置に記憶させ、第1のデータを第2のセグメントにおいて検出し、検出した時刻に対応する第2の時刻情報と第1のデータに対応するデータとからなる第2の記録データを第2のセグメントに設置された第2の記憶装置に記憶させ、第1の記憶装置によって記憶された第1の記録データに対応する第2の記録データを第2の記憶装置から検索し、検索された第2の記録データに含まれる第2の時刻情報と、第1の記録データに含まれる第1の時刻情報とに基づいて、端末の所定のものと端末の他の所定のものとの間のネットワーク伝送遅延を測定するようにしたので、複数セグメントに対するパケットのネットワーク伝送遅延時間を同時に、かつ安価に測定することができる。これにより、多様化したネットワーク構成において、ネットワーク上の性能劣化がどこで発生しているのかを安価に検出することができる。
【図面の簡単な説明】
【図1】本発明を応用した一実施の形態の構成例を示す図である。
【図2】記録サーバ上に記録されるパケットデータを示す図である。
【図3】各記録サーバ上に記録されるパケットデータの相関図である。
【図4】管理サーバでの遅延時刻の算出手順を示すフローチャート図である。
【符号の説明】
1 ユーザ端末
2 ユーザ側セグメント
4,5,6 記録サーバ
7 管理サーバ
11 APサーバA
12 APサーバA側セグメント
21 APサーバB
22 APサーバB側セグメント
41,42,51,52,61,62、71 記憶装置
100 ネットワーク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a network transmission delay measuring method, and more particularly, to a network transmission delay measuring method in a case where a measurement range extends from one location to a plurality of locations.
[0002]
[Prior art]
In the conventional one-way transmission delay measurement of a packet flowing on an IP network, a target is narrowed down to a certain point, a measuring device is installed between the two points, and performance information of the packet flowing between the points is acquired. .
In addition, for each packet transmitted / received between the two communication terminals A and B via the packet network, independent clocks A and B are provided for respectively indicating the input time input to the packet network and the output time output therefrom. The two packet measurement terminals A and B detect and record the data in the storage devices A and B, respectively. The network transmission delay measurement terminal analyzes the data recorded in each of the storage devices A and B. For each packet transmitted to B, the difference between the output time and the input time is calculated as a temporary delay time in one direction, and for each packet transmitted from the communication terminal B to the communication terminal A, the difference between the output time and the input time is calculated. The difference is calculated as a provisional delay time in the other direction. Then, the time deviation of the clocks A and B is determined from the minimum value of the provisional delay time in one direction and the minimum value of the provisional delay time in the other direction, and the provisional delay time is corrected. As a result, there is a configuration in which the transmission delay time of a packet network can be measured individually for each of the forward path and the return path without time adjustment (for example, see Patent Document 1).
[0003]
[Patent Document 1]
JP 2001-53792 A (FIG. 1)
[0004]
[Problems to be solved by the invention]
At present, in providing a service on the Internet, the use of a plurality of servers located in different places is increasing. In order to measure the network transmission delay in such a case using a conventional measuring device, there has been a problem that a large number of measuring devices are required, the number of measurement steps is increased, and the cost is increased. In addition, the measuring device is a dedicated hardware device, and there is a problem that the cost is further increased.
Further, the invention described in Patent Document 1 can measure a network transmission delay between two predetermined terminals, but cannot measure a network transmission delay between a plurality of arbitrary terminals. Was.
[0005]
The present invention has been made in view of such a situation, and it is an object of the present invention to be able to inexpensively determine where performance degradation on a network occurs in a diversified network configuration.
[0006]
[Means for Solving the Problems]
2. The network transmission delay measuring method for measuring a network transmission delay between a plurality of terminals on a network according to claim 1, wherein the first predetermined segment in which the predetermined one of the terminals exists and the other predetermined one of the terminals are different. First data flowing through a network to an existing second segment is detected in the first segment, and first data including first time information corresponding to the detected time and data corresponding to the first data is detected. A first storage step of storing the recorded data in a first storage device provided in a first segment, and a second time corresponding to the detected time when the first data is detected in a second segment A second storage step of storing second recording data composed of information and data corresponding to the first data in a second storage device provided in the second segment; A retrieval step of retrieving, from the second storage device, second recording data corresponding to the first recording data stored by the first storage device, and a second recording data included in the second recording data retrieved in the retrieval step. Measuring a network transmission delay between a predetermined terminal and another predetermined terminal based on the time information of the terminal and the first time information included in the first recording data. It is characterized by having.
Further, the first recording data and the second recording data can include at least a source IP address and a destination IP address.
In the measuring step, the first time information included in the first recording data stored in the first storage step and the second time information included in the first recording data stored in the second storage step , And a network transmission delay is measured based on the difference.
Further, in the search step, it is possible to search for second recording data that includes at least the same source IP address and destination IP address included in the first recording data.
6. The network transmission delay measuring device according to claim 5, wherein the network transmission delay measuring device measures a network transmission delay between a plurality of terminals on a network, wherein the terminal is provided from a first segment in which a predetermined terminal exists. Detecting, in the first segment, first data flowing through the network in a second segment where another predetermined one is present, and corresponding to first time information corresponding to the detected time and the first data First storage means provided in a first segment for storing first recording data including data to be read, and second data corresponding to the detected time when the first data is detected in the second segment. A second storage unit provided in a second segment for storing second recording data including time information and data corresponding to the first data; and a first storage unit. Searching for second recording data corresponding to the first recording data stored in the second storage means from the second storage means, and second time information included in the second recording data retrieved in the searching step. Measuring means for measuring a network transmission delay between a predetermined one of the terminals and another predetermined one of the terminals based on the first time information included in the first recording data. And
A network transmission delay measurement program according to claim 6, which is a network transmission delay measurement program that controls a network transmission delay measurement device that measures a network transmission delay between a plurality of terminals on a network, wherein a predetermined one of the terminals is Detecting, in the first segment, first data flowing through the network from the existing first segment to the second segment where another predetermined terminal is present, and a first time corresponding to the detected time; A first storage step of storing first recording data including information and data corresponding to the first data in a first storage device provided in a first segment; and storing the first data in a second storage device. A second recording data, which is detected in the segment and includes second time information corresponding to the detected time and data corresponding to the first data. A second storage step of storing data in a second storage device provided in a second segment; and storing second recording data corresponding to the first recording data stored by the first storage device in a second storage device. Based on the search step of searching from the storage device of the second, the second time information included in the second record data searched in the search step, and the first time information included in the first record data. And a measuring step of measuring a network transmission delay between the predetermined one and another predetermined one of the terminal.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, the configuration and operation of an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a configuration example of an embodiment of a network transmission delay measuring apparatus to which the network transmission delay measuring method of the present invention is applied.
[0008]
As shown in FIG. 1, in the present embodiment, the network measurement ranges are the user terminal 1 and the AP server A11, and the user terminal 1 and the AP server B21. For example, a LAN (local area) where the AP server A11 exists. network), a recording server 5 that detects a packet flowing therethrough and records data relating to the packet (hereinafter referred to as packet data), and an AP server B21. A recording server 6 installed in the AP server B side segment 22 for detecting a packet flowing therethrough and recording packet data related to the packet, and a packet installed in the user side segment 2 where the user terminal 1 exists and flowing therethrough Detect and record packet data for the packet. The server 4, to collect the packet data recorded by each recording server 4,5,6, and the management server 7 to calculate the network transmission delay time, and a measured subject to network 100 Prefecture.
[0009]
The processing of the present embodiment includes a first step of recording a packet flow and a second step of calculating a network transmission delay time based on each packet data recorded by each of the recording servers 4, 5, and 6. Divided into steps. The first step is processing on the recording servers 4, 5, and 6, and the second step is processing on the management server 7.
[0010]
Next, the processing in the recording servers 4, 5, and 6, which is the first step, will be described. First, prior to the measurement of the network transmission delay, time synchronization using the NTP (Network Time Protocol) is performed on the internal clocks of the recording servers 4, 5, and 6.
[0011]
Next, as shown in FIG. 2, the recording server 4 records packet data relating to the packet flowing through the user side segment 2 using a packet monitoring command such as TCP DUMP. Similarly, the recording server 5 records packet data relating to packets flowing through the AP server A side segment 12 using a packet monitoring command such as TCP DUMP. Similarly, the recording server 6 records packet data relating to a packet flowing through the AP server B side segment 22 using a packet monitoring command such as TCP DUMP.
[0012]
Here, in consideration of the capacity of the recording medium on which the packet data is recorded, the packet data to be recorded is, for example, “collected time”, “source IP address” and “destination IP address” of the IP header of the packet. , And “Identification” only. “Identification” is data for identifying a terminal or a server, such as the user terminal 1, the AP server A11, and the AP server B21.
[0013]
When a packet is transmitted from the user terminal 1 to the AP server A11, the packet transmitted by the recording server 4 (transmitted packet) and the packet received by the recording server 5 (received packet) are respectively the same “source IP address”. "", "Destination IP address", and "Identification", one of the sets of packet data is stored in the recording server 4, and the other is stored in the recording server 5.
[0014]
The packet data relating to the packet is stored independently for each transmission packet and each reception packet, and for each transmission destination or transmission source segment. The correlation diagram of the packet data stored by the recording servers 5 and 6 is as shown in FIG.
[0015]
That is, the packet data relating to the packet (transmission data) transmitted from the user terminal 1 to the AP server A11 and the packet data relating to the packet (transmission data) transmitted from the user terminal 1 to the AP server B21 are stored in the storage device of the recording server 4. 41. Also, packet data relating to a packet (reception data) transmitted from the AP terminal A11 and received by the user terminal 1 and packet data relating to a packet (reception data) transmitted from the AP terminal B21 to the user terminal 1 and received by the user terminal 1 Is stored in the storage device 42 of the recording server 4.
[0016]
Further, the packet data relating to the packet (reception data) from the user terminal 1 received by the AP server A11 is stored in the storage device 52 of the recording server 5. The packet data relating to the packet (reception data) from the user terminal 1 received by the AP server B21 is stored in the storage device 62 of the recording server 6.
[0017]
The packet data relating to the packet (transmission data) transmitted from the AP server A11 to the user terminal 1 is stored in the storage device 51 of the recording server 5. The packet data relating to the packet (transmission data) transmitted from the AP server B21 to the user terminal 1 is stored in the storage device 61 of the recording server 6.
[0018]
Next, an outline of the processing of the management server 7 performed in the second step will be described. First, the management server 7 collects packet data from the recording servers 4, 5, and 6. Next, a transmission delay time is calculated for each packet based on the collected packet data. For this purpose, a paired pair is searched from the packet data collected from the recording servers 4, 5, and 6. Then, a network transmission delay time is obtained from a difference between the “collected times” included in the paired packet data.
[0019]
Hereinafter, a method of calculating a network transmission delay time of a packet flowing from the user side segment 2 to the AP server A side segment 12 and the AP server B side segment 22 will be described with reference to a flowchart of FIG.
[0020]
First, in step S1, the management server 7 reads only one piece of transmission data (packet data of a transmitted packet (transmission packet data)) from the storage device 41 of the recording server 4 installed in the user side segment 2. Next, in step S2, it is determined whether reading of all transmission data from the storage device 41 has been completed. As a result, when it is determined that reading of all the transmission data has been completed, the present process is terminated. On the other hand, if it is determined that reading of all transmission data has not been completed, the process proceeds to step S3.
[0021]
In step S3, the received data (received packet data) of the server side segment (AP server A side segment 12 or AP server B side segment 22) corresponding to the destination segment of the transmission data read in step S1 is recorded on the recording server 5 or in the recording server 5. Read from server 6.
[0022]
Next, the same “source IP address”, “destination IP address”, and “Identification” as “source IP address”, “destination IP address”, and “Identification” included in the transmission packet data read in step S1. Search for the received packet data having "".
[0023]
Next, in step S4, if the retrieved received packet data does not exist, the process proceeds to step S5, where it is determined that the packet is lost, the counter indicating the number of missing packets is incremented by 1, and the management server 7 determines the number of missing packets. In the storage device 71 provided. Thereafter, the process returns to step S1, and the processes after step S1 are repeatedly executed.
[0024]
On the other hand, if the retrieved received packet data exists in step S4, the process proceeds to step S6, and the network transmission delay time is calculated based on the “collected time”. The calculated network transmission delay time is stored in the storage device 71 of the management server 7. Further, based on the calculated network transmission delay time, performance information such as an average delay time, a maximum delay time, and delay fluctuation is obtained by performing a predetermined calculation, and is stored in the storage device 71 of the management server 7.
[0025]
If the same processing as the above processing is performed on transmission data or reception data for another segment, the network transmission delay time can be obtained for each transmission / reception packet and for each connection destination segment as viewed from the user terminal 1. Since the packet data is stored independently for each transmission / reception packet and for each segment, it is possible to calculate only the network transmission delay time at a predetermined location as needed, and the network transmission delay time can be calculated. Since unnecessary packet data is excluded in advance in the calculation, the calculation process of the network transmission delay time can be speeded up.
[0026]
As described above, according to the present embodiment, in the user side segment 2 and the AP server A side segment 12 or the AP server B side segment 22, the detection and detection of the packet flowing through each segment using the packet monitoring command such as the TCP PDUMP are performed. Records can be made. Then, the data of the recorded packets (packet data) is collected, and the time required for each packet to flow between the user side segment 2 and the AP server A side segment 12 or the AP server B side segment 22 (network transmission delay time) ) Can be calculated for each individual packet. This makes it possible to simultaneously measure the network transmission delay time of a packet for a plurality of segments with an inexpensive system.
[0027]
It is needless to say that the configuration and operation of the above embodiment are examples and can be appropriately changed without departing from the spirit of the present invention.
[0028]
【The invention's effect】
As described above, according to the network transmission delay measuring method according to the present invention, the flow from the first segment where the predetermined one of the terminals exists to the second segment where the other predetermined ones of the terminals exists via the network. The first data is detected in the first segment, and first recording data including first time information corresponding to the detected time and data corresponding to the first data is set in the first segment. A second recording data which is stored in a first storage device, detects first data in a second segment, and includes second time information corresponding to the detected time and data corresponding to the first data. Is stored in the second storage device provided in the second segment, and the second recording data corresponding to the first recording data stored by the first storage device is detected from the second storage device. Then, based on the second time information included in the retrieved second record data and the first time information included in the first record data, a predetermined terminal and another predetermined terminal Since the network transmission delay between the packets is measured, the network transmission delay time of the packet for a plurality of segments can be measured simultaneously and inexpensively. As a result, in a diversified network configuration, it is possible to inexpensively detect where performance degradation has occurred on the network.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration example of an embodiment to which the present invention is applied.
FIG. 2 is a diagram showing packet data recorded on a recording server.
FIG. 3 is a correlation diagram of packet data recorded on each recording server.
FIG. 4 is a flowchart illustrating a procedure for calculating a delay time in a management server.
[Explanation of symbols]
1 User terminal 2 User side segments 4, 5, 6 Recording server 7 Management server 11 AP server A
12 AP server A side segment 21 AP server B
22 AP server B side segment 41, 42, 51, 52, 61, 62, 71 Storage device 100 Network

Claims (6)

ネットワーク上の複数の端末間のネットワーク伝送遅延を測定するネットワーク伝送遅延測定方法であって、
前記端末の所定のものが存在する第1のセグメントから前記端末の他の所定のものが存在する第2のセグメントに前記ネットワークを介して流れる第1のデータを前記第1のセグメントにおいて検出し、検出した時刻に対応する第1の時刻情報と前記第1のデータに対応するデータとからなる第1の記録データを前記第1のセグメントに設置された第1の記憶装置に記憶させる第1の記憶ステップと、
前記第1のデータを前記第2のセグメントにおいて検出し、検出した時刻に対応する第2の時刻情報と前記第1のデータに対応するデータとからなる第2の記録データを前記第2のセグメントに設置された第2の記憶装置に記憶させる第2の記憶ステップと、
前記第1の記憶装置によって記憶された前記第1の記録データに対応する前記第2の記録データを前記第2の記憶装置から検索する検索ステップと、
前記検索ステップにおいて検索された前記第2の記録データに含まれる前記第2の時刻情報と、前記第1の記録データに含まれる前記第1の時刻情報とに基づいて、前記端末の所定のものと前記端末の他の所定のものとの間のネットワーク伝送遅延を測定する測定ステップと
を備えることを特徴とするネットワーク伝送遅延測定方法。
A network transmission delay measurement method for measuring a network transmission delay between a plurality of terminals on a network,
Detecting, in the first segment, first data flowing through the network from a first segment where a predetermined one of the terminals is present to a second segment where another predetermined one of the terminals is present; A first storing unit that stores first recording data including first time information corresponding to the detected time and data corresponding to the first data in a first storage device provided in the first segment; A memory step;
The first data is detected in the second segment, and second recording data composed of second time information corresponding to the detected time and data corresponding to the first data is stored in the second segment. A second storage step of storing in a second storage device installed in
A search step of searching the second storage device for the second recording data corresponding to the first recording data stored by the first storage device;
The predetermined time information of the terminal based on the second time information included in the second record data searched in the search step and the first time information included in the first record data And measuring a network transmission delay between the terminal and another predetermined one of the terminals.
前記第1の記録データおよび前記第2の記録データは、少なくとも送信元のIPアドレスと、宛先のIPアドレスとを含む
ことを特徴とする請求項1に記載のネットワーク伝送遅延測定方法。
The network transmission delay measuring method according to claim 1, wherein the first recording data and the second recording data include at least a source IP address and a destination IP address.
前記測定ステップにおいては、前記第1の記憶ステップにおいて記憶された前記第1の記録データに含まれる前記第1の時刻情報と、前記第2の記憶ステップにおいて記憶された前記第1の記録データに含まれる前記第2の時刻情報との差を演算し、その差に基づいて前記ネットワーク伝送遅延を測定する
ことを特徴とする請求項1または2に記載のネットワーク伝送遅延測定方法。
In the measurement step, the first time information included in the first recording data stored in the first storage step and the first recording data stored in the second storage step 3. The network transmission delay measuring method according to claim 1, wherein a difference from the included second time information is calculated, and the network transmission delay is measured based on the difference.
前記検索ステップにおいては、少なくとも前記第1の記録データに含まれる前記送信元のIPアドレスおよび前記宛先のIPアドレスと同一のものを含む前記第2の記録データを検索する
ことを特徴とする請求項1乃至3のいずれかに記載のネットワーク伝送遅延測定方法。
The search step is characterized in that the second record data including at least the same source IP address and the same destination IP address as those contained in the first record data is retrieved. The method for measuring network transmission delay according to any one of claims 1 to 3.
ネットワーク上の複数の端末間のネットワーク伝送遅延を測定するネットワーク伝送遅延測定装置であって、
前記端末の所定のものが存在する第1のセグメントから前記端末の他の所定のものが存在する第2のセグメントに前記ネットワークを介して流れる第1のデータを前記第1のセグメントにおいて検出し、検出した時刻に対応する第1の時刻情報と前記第1のデータに対応するデータとからなる第1の記録データを記憶する前記第1のセグメントに設置された第1の記憶手段と、
前記第1のデータを前記第2のセグメントにおいて検出し、検出した時刻に対応する第2の時刻情報と前記第1のデータに対応するデータとからなる第2の記録データを記憶する前記第2のセグメントに設置された第2の記憶手段と、
前記第1の記憶手段によって記憶された前記第1の記録データに対応する前記第2の記録データを前記第2の記憶手段から検索する検索ステップと、
前記検索ステップにおいて検索された前記第2の記録データに含まれる前記第2の時刻情報と、前記第1の記録データに含まれる前記第1の時刻情報とに基づいて、前記端末の所定のものと前記端末の他の所定のものとの間のネットワーク伝送遅延を測定する測定手段と
を備えることを特徴とするネットワーク伝送遅延測定装置。
A network transmission delay measuring device for measuring a network transmission delay between a plurality of terminals on a network,
Detecting, in the first segment, first data flowing through the network from a first segment where a predetermined one of the terminals is present to a second segment where another predetermined one of the terminals is present; First storage means installed in the first segment for storing first recording data including first time information corresponding to the detected time and data corresponding to the first data;
Detecting the first data in the second segment and storing second recording data including second time information corresponding to the detected time and data corresponding to the first data; Second storage means installed in the segment of
A search step of searching the second storage means for the second recording data corresponding to the first recording data stored by the first storage means;
The predetermined time information of the terminal based on the second time information included in the second record data searched in the search step and the first time information included in the first record data A network transmission delay measuring device for measuring a network transmission delay between the terminal and another predetermined one of the terminals.
ネットワーク上の複数の端末間のネットワーク伝送遅延を測定するネットワーク伝送遅延測定装置を制御するネットワーク伝送遅延測定プログラムであって、
前記端末の所定のものが存在する第1のセグメントから前記端末の他の所定のものが存在する第2のセグメントに前記ネットワークを介して流れる第1のデータを前記第1のセグメントにおいて検出し、検出した時刻に対応する第1の時刻情報と前記第1のデータに対応するデータとからなる第1の記録データを前記第1のセグメントに設置された第1の記憶装置に記憶させる第1の記憶ステップと、
前記第1のデータを前記第2のセグメントにおいて検出し、検出した時刻に対応する第2の時刻情報と前記第1のデータに対応するデータとからなる第2の記録データを前記第2のセグメントに設置された第2の記憶装置に記憶させる第2の記憶ステップと、
前記第1の記憶装置によって記憶された前記第1の記録データに対応する前記第2の記録データを前記第2の記憶装置から検索する検索ステップと、
前記検索ステップにおいて検索された前記第2の記録データに含まれる前記第2の時刻情報と、前記第1の記録データに含まれる前記第1の時刻情報とに基づいて、前記端末の所定のものと前記端末の他の所定のものとの間のネットワーク伝送遅延を測定する測定ステップとを前記ネットワーク伝送遅延測定装置に実行させる
ことを特徴とするネットワーク伝送遅延測定プログラム。
A network transmission delay measurement program that controls a network transmission delay measurement device that measures a network transmission delay between a plurality of terminals on a network,
Detecting, in the first segment, first data flowing through the network from a first segment where a predetermined one of the terminals is present to a second segment where another predetermined one of the terminals is present; A first storing unit that stores first recording data including first time information corresponding to the detected time and data corresponding to the first data in a first storage device provided in the first segment; A memory step;
The first data is detected in the second segment, and second recording data composed of second time information corresponding to the detected time and data corresponding to the first data is stored in the second segment. A second storage step of storing in a second storage device installed in
A search step of searching the second storage device for the second recording data corresponding to the first recording data stored by the first storage device;
The predetermined time information of the terminal based on the second time information included in the second record data searched in the search step and the first time information included in the first record data A network transmission delay measuring device for executing a measuring step of measuring a network transmission delay between the network transmission delay and another predetermined one of the terminals.
JP2003005190A 2003-01-14 2003-01-14 Network transmission delay measuring method Pending JP2004221801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003005190A JP2004221801A (en) 2003-01-14 2003-01-14 Network transmission delay measuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003005190A JP2004221801A (en) 2003-01-14 2003-01-14 Network transmission delay measuring method

Publications (1)

Publication Number Publication Date
JP2004221801A true JP2004221801A (en) 2004-08-05

Family

ID=32895913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003005190A Pending JP2004221801A (en) 2003-01-14 2003-01-14 Network transmission delay measuring method

Country Status (1)

Country Link
JP (1) JP2004221801A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8243607B2 (en) 2007-07-13 2012-08-14 Fujitsu Limited Packet delay characteristic measuring apparatus and method
US9344347B2 (en) 2008-06-17 2016-05-17 Fujitsu Limited Delay time measuring apparatus, computer readable record medium on which delay time measuring program is recorded, and delay time measuring method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8243607B2 (en) 2007-07-13 2012-08-14 Fujitsu Limited Packet delay characteristic measuring apparatus and method
US9344347B2 (en) 2008-06-17 2016-05-17 Fujitsu Limited Delay time measuring apparatus, computer readable record medium on which delay time measuring program is recorded, and delay time measuring method

Similar Documents

Publication Publication Date Title
EP2081321A2 (en) Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor
US7508768B2 (en) Traffic measurement system and traffic analysis method thereof
CN108028778B (en) Method, system and apparatus for generating information transmission performance warnings
CN100583785C (en) Method and apparatus for characterizing an end-to-end path of a packet-based network
US8355341B2 (en) Delay time measurement apparatus, storage medium storing delay time measurement program and network system
US9961000B2 (en) Estimation of network path segment delays
WO2020142407A1 (en) System and method for estimation of quality of experience (qoe) for web browsing using passive measurements
JP2008283621A (en) Apparatus and method for monitoring network congestion state, and program
US8593974B2 (en) Communication conditions determination method, communication conditions determination system, and determination apparatus
CN111327478A (en) Network measurement method and device, equipment and storage medium
CN114422337B (en) Method and related device for locating faults by capturing network packets
JP3868939B2 (en) Device for detecting a failure in a communication network
JP4537372B2 (en) Waveform analyzer
CN113507396B (en) Network state analysis method, device, equipment and machine-readable storage medium
KR101074064B1 (en) Network traffic monitoring method and apparatus
CN116319259A (en) Traffic detection method, network equipment and storage medium
KR20110057529A (en) System for measuring response time of server using dummy request tag and method
KR20170054215A (en) Method for connection fingerprint generation and traceback based on netflow
JP4927180B2 (en) User waiting time estimation apparatus, user waiting time estimation method, and program
JP2004221801A (en) Network transmission delay measuring method
JP2002152266A (en) Packet loss measurement system
JP4927181B2 (en) User waiting time estimation apparatus, user waiting time estimation method, and program
JP2003037649A (en) Content distribution completion time estimation method, recording medium, and program
US20160143082A1 (en) Method for detecting a message from a group of packets transmitted in a connection
JP2000041039A (en) Device and method for monitoring network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050815

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050823

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051220