JP2010124127A - Network diagnostic equipment, network diagnostic method, and program - Google Patents
Network diagnostic equipment, network diagnostic method, and program Download PDFInfo
- Publication number
- JP2010124127A JP2010124127A JP2008294606A JP2008294606A JP2010124127A JP 2010124127 A JP2010124127 A JP 2010124127A JP 2008294606 A JP2008294606 A JP 2008294606A JP 2008294606 A JP2008294606 A JP 2008294606A JP 2010124127 A JP2010124127 A JP 2010124127A
- Authority
- JP
- Japan
- Prior art keywords
- packet loss
- packet
- sequence number
- information
- network
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、ネットワーク診断装置、ネットワーク診断方法およびプログラムに関する。 The present invention relates to a network diagnosis apparatus, a network diagnosis method, and a program.
現在、診断対象のネットワークにプローブパケットを送信するアクティブ計測ベースの技術を中心として、種々のネットワーク診断に係る技術が提案されている(例えば、非特許文献1、非特許文献2、非特許文献3参照)。非特許文献1は、マルチキャストパケットの代わりにパケットペアを用いたフロー品質を利用するネットワーク診断に係る技術を開示している。非特許文献2は、エンドエンドのフロー品質を利用するネットワーク診断に係る技術を開示している。非特許文献3は、IPプレフィックスに基づき診断対象ネットワークを集約するネットワーク診断に係る技術を開示している。
しかしながら、アクティブ計測ベースの従来のネットワーク診断技術では、AS(Autonomous system)のように規模の大きなネットワークを診断する場合、ネットワーク診断の負荷(例えば、データ解析の時間)が大きくなるという問題がある。本発明は、このような事情に鑑みてなされたものであり、ASのように規模の大きなネットワークを診断する場合において、ネットワーク診断の負荷を格段に低減させる技術を提供することを目的とする。 However, the conventional network diagnosis technology based on active measurement has a problem that when a large-scale network is diagnosed such as AS (Autonomous system), the load of the network diagnosis (for example, data analysis time) increases. The present invention has been made in view of such circumstances, and an object of the present invention is to provide a technique for dramatically reducing the load of network diagnosis when diagnosing a large-scale network such as an AS.
上記問題を解決するために、本発明の一態様であるネットワーク診断装置は、ネットワークのトポロジを示すトポロジ情報を記憶するトポロジ情報記憶部と、ネットワーク内のパケットを読み込むパケット読込部と、パケットの送達確認に用いられる確認情報に基づいて、パケット読込部によって読み込まれたパケットのパケットロスを検出するパケットロス検出部と、トポロジ情報記憶部に記憶されているトポロジ情報とパケットロス検出部によって検出されたパケットロスに係るパケットロス情報とに基づいて、トポロジ情報によって示される各エリアを集約した集約エリアを決定し、パケットロス情報を集約エリア毎に集計する集約部と、集約部によって集約された集約エリア毎の品質を判定する品質判定部とを備えることを特徴とする。 In order to solve the above problem, a network diagnostic apparatus according to an aspect of the present invention includes a topology information storage unit that stores topology information indicating a network topology, a packet reading unit that reads a packet in the network, and packet delivery Based on the confirmation information used for confirmation, the packet loss detection unit for detecting the packet loss of the packet read by the packet reading unit, the topology information stored in the topology information storage unit and the packet loss detection unit Based on packet loss information related to packet loss, an aggregation area that aggregates each area indicated by the topology information is determined, and an aggregation unit that aggregates packet loss information for each aggregation area, and an aggregation area that is aggregated by the aggregation unit And a quality judgment unit for judging the quality of each product. .
上記ネットワーク診断装置において、集約部は、パケット読込部によって読み込まれた各エリアのパケット数を隣接する各エリア同士において逐次累計し、累計パケット数が所定数をはじめて超えたときに、当該隣接する各エリアを集約エリアとして決定するようにしてもよい。 In the network diagnostic device, the aggregation unit sequentially accumulates the number of packets in each area read by the packet reading unit in each adjacent area, and when the total number of packets exceeds a predetermined number for the first time, You may make it determine an area as an aggregation area.
上記ネットワーク診断装置において、品質判定部は、集約エリア毎のパケットロス率を算出し、集約エリア毎のパケットロス率が所定の基準値以上であるか否かに基づいて集約エリア毎の品質を判定するようにしてもよい。 In the network diagnostic apparatus, the quality determination unit calculates a packet loss rate for each aggregation area, and determines the quality for each aggregation area based on whether the packet loss rate for each aggregation area is equal to or greater than a predetermined reference value. You may make it do.
上記ネットワーク診断装置において、集約部は、パケットロス検出部によって検出されたパケットロスに係るパケットロス情報をパケットの送信元または宛先毎に集計した個別パケットロス情報を生成する第1集約部と、トポロジ情報記憶部に記憶されているトポロジ情報と第1集約部によって生成された個別パケットロス情報とに基づいて、集約エリアを決定し、個別パケットロス情報を集約エリア毎に集計した集約パケットロス情報を生成する第2集約部とを備え、品質判定部は、第2集約部によって生成された集約パケットロス情報に基づいて集約エリア毎の品質を判定するようにしてもよい。 In the network diagnostic apparatus, the aggregation unit includes a first aggregation unit that generates individual packet loss information obtained by aggregating packet loss information related to the packet loss detected by the packet loss detection unit for each transmission source or destination of the packet, and a topology Based on the topology information stored in the information storage unit and the individual packet loss information generated by the first aggregation unit, an aggregation area is determined, and aggregated packet loss information obtained by aggregating the individual packet loss information for each aggregation area is obtained. The quality determination unit may determine the quality for each aggregation area based on the aggregate packet loss information generated by the second aggregation unit.
上記ネットワーク診断装置において、確認情報は、TCP(Transmission Control Protocol)におけるシーケンス番号であって、パケットロス検出部は、一のTCPコネクションにおいて既に取得しているパケットに付された最大のシーケンス番号に連続するシーケンス番号より大きいシーケンス番号を付されたパケットを取得した場合、最大のシーケンス番号に連続するシーケンス番号を付されたパケットが未取得であった旨を示す未取得情報を設定する未取得情報設定部と、一のTCPコネクションにおいて最大のシーケンス番号に連続するシーケンス番号より小さいシーケンス番号を付されたパケットを取得した場合に、未取得情報が設定されているときは送信元から当該ネットワーク装置迄の経路上においてパケットロスがあったと判定し、未取得情報が設定されていないときは当該ネットワーク装置から宛先迄の経路上においてパケットロスがあったと判定するパケットロス判定部とを備えるようにしてもよい。 In the network diagnostic apparatus, the confirmation information is a sequence number in TCP (Transmission Control Protocol), and the packet loss detection unit is continuously connected to the maximum sequence number attached to a packet already acquired in one TCP connection. Unacquired information setting that sets unacquired information indicating that a packet with a sequence number consecutive to the maximum sequence number has not been acquired when a packet with a sequence number greater than the sequence number to be acquired is acquired And when a packet with a sequence number smaller than the sequence number consecutive to the maximum sequence number in one TCP connection is acquired, if unacquired information is set, from the transmission source to the network device On the route A packet loss determination unit that determines that there has been a packet loss and determines that there has been a packet loss on the route from the network device to the destination when the unacquired information is not set.
上記ネットワーク診断装置において、パケットロス判定部は、未取得情報が設定されている場合に、最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値(オクテット数)以上であったときは、送信元から当該ネットワーク装置迄の経路上においてパケットロスがあったと判定し、最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値未満であったときは、送信元から当該ネットワーク装置迄の経路上においてパケットロスがなかったと判定するようにしてもよい。 In the network diagnostic apparatus, the packet loss determination unit, when unacquired information is set, determines that the difference between the sequence number consecutive to the maximum sequence number and the sequence number attached to the acquired packet is a predetermined threshold value ( Octet number) or more, it is determined that there is a packet loss on the route from the transmission source to the network device, and the sequence number consecutive to the maximum sequence number and the sequence number attached to the acquired packet are When the difference is less than a predetermined threshold, it may be determined that there is no packet loss on the route from the transmission source to the network device.
上記ネットワーク診断装置において、パケットロス判定部は、未取得情報が設定されていない場合に、最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値(オクテット数)以上であったときは、当該ネットワーク装置から宛先迄の経路上においてパケットロスがあったと判定し、最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値未満であったときは、当該ネットワーク装置から宛先迄の経路上においてパケットロスがなかったと判定するようにしてもよい。 In the network diagnostic device, the packet loss determination unit may determine that a difference between a sequence number consecutive to the maximum sequence number and a sequence number attached to the acquired packet is a predetermined threshold (unless information is not set) If it is greater than or equal to the number of octets), it is determined that there is a packet loss on the route from the network device to the destination, and the difference between the sequence number consecutive to the maximum sequence number and the sequence number attached to the acquired packet May be determined that there is no packet loss on the path from the network device to the destination.
上記問題を解決するために、本発明の他の一態様であるネットワーク診断方法は、ネットワーク内のパケットを読み込むパケット読込ステップと、パケットの送達確認に用いられる確認情報に基づいて、パケット読込ステップによって読み込まれたパケットのパケットロスを検出するパケットロス検出ステップと、パケットロス検出ステップによって検出されたパケットロスに係るパケットロス情報と、ネットワークのトポロジを示すトポロジ情報とに基づいて、トポロジ情報によって示される各エリアを集約した集約エリアを決定し、パケットロス情報を集約エリア毎に集計する集約ステップと、集約ステップによって集約された集約エリア毎の品質を判定する品質判定ステップとを有することを特徴とする。 In order to solve the above problem, a network diagnosis method according to another aspect of the present invention includes a packet reading step for reading a packet in the network, and a packet reading step based on confirmation information used for packet delivery confirmation. Based on the packet loss detection step for detecting the packet loss of the read packet, the packet loss information related to the packet loss detected by the packet loss detection step, and the topology information indicating the topology of the network. It has an aggregation step of determining an aggregation area in which each area is aggregated and totaling packet loss information for each aggregation area, and a quality determination step for determining quality for each aggregation area aggregated by the aggregation step .
上記問題を解決するために、本発明の他の一態様であるプログラムは、ネットワークを診断するネットワーク診断装置のコンピュータに、ネットワーク内のパケットを読み込むパケット読込ステップと、パケットの送達確認に用いられる確認情報に基づいて、パケット読込ステップによって読み込まれたパケットのパケットロスを検出するパケットロス検出ステップと、パケットロス検出ステップによって検出されたパケットロスに係るパケットロス情報と、ネットワークのトポロジを示すトポロジ情報とに基づいて、トポロジ情報によって示される各エリアを集約した集約エリアを決定し、パケットロス情報を集約エリア毎に集計する集約ステップと、集約ステップによって集約された集約エリア毎の品質を判定する品質判定ステップとを実行させることを特徴とする。 In order to solve the above problem, a program according to another aspect of the present invention includes a packet reading step of reading a packet in a network and a confirmation used for packet delivery confirmation in a computer of a network diagnosis apparatus that diagnoses the network. A packet loss detection step for detecting a packet loss of the packet read by the packet reading step based on the information; a packet loss information related to the packet loss detected by the packet loss detection step; and topology information indicating a network topology; Based on the above, an aggregation area that aggregates each area indicated by the topology information is determined, an aggregation step that aggregates packet loss information for each aggregation area, and a quality determination that determines the quality of each aggregation area aggregated by the aggregation step Step and Characterized in that to the row.
本発明によれば、ASのように規模の大きなネットワークを診断する場合であっても、ネットワーク診断の負荷を格段に低減させることができるようになる。アクティブ計測ベースのネットワーク診断を補完するものとして、アクティブ計測ベースのネットワーク診断を適用するエリアを事前に絞り込むことができるようになるからである。 According to the present invention, even when a large-scale network such as AS is diagnosed, the load of network diagnosis can be significantly reduced. This is because the area to which the active measurement-based network diagnosis is applied can be narrowed down in advance as a supplement to the active measurement-based network diagnosis.
以下、本発明の実施形態について図面を参照して詳細に説明する。図1は、インターネットを模式化した模式図である。図1において、T1〜T28は、インターネットに接続する端末である。R1〜R13は、インターネットを構成する各ネットワークを結ぶ節点であって、例えば、ルータ、レイヤ3スイッチである。ネットワーク診断装置1は、図1に示すように、接点R7に接続し、接点R7を通過するパケットを読み込む(キャプチャする)。例えば、接点R7のミラーポートにネットワーク診断装置1を接続し、接点R7を通過するパケットを読み込む。そして、ネットワーク診断装置1は、読み込んだパケットを解析してインターネットを診断する。なお、インターネットは複数のASによって構成されるが、ネットワーク診断装置1は、通信量の多いAS同士を結ぶ接点に接続してもよい。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a schematic diagram schematically showing the Internet. In FIG. 1, T1 to T28 are terminals connected to the Internet. R1 to R13 are nodes connecting the networks constituting the Internet, and are, for example, routers and layer 3 switches. As shown in FIG. 1, the network
図2は、本発明の一実施形態に係るネットワーク診断装置1の構成例を示すブロック図である。図3は、パケットロス情報記憶部20に記憶される情報の一例である。図4は、個別パケットロス情報記憶部30に記憶される情報、集約パケットロス情報記憶部40に記憶される情報の一例である。図5は、集約エリアを模式化した模式図である。ネットワーク診断装置1は、図2に示すように、トポロジ情報記憶部10、パケットロス情報記憶部20、個別パケットロス情報記憶部30、集約パケットロス情報記憶部40、パケット読込部50、パケットロス検出部60、集約部70、品質判定部80および判定結果出力部90を備える。パケットロス検出部60は、未取得情報設定部61およびパケットロス判定部62から構成される。集約部70は、第1集約部71および第2集約部72から構成される。
FIG. 2 is a block diagram illustrating a configuration example of the
トポロジ情報記憶部10は、ネットワークのトポロジを示すトポロジ情報を記憶する。例えば、トポロジ情報記憶部10は、ネットワークの構成(各節点の位置、他の接点との接続関係、端末との接続関係などを示す情報)を示す情報をトポロジ情報として記憶する。以下、トポロジ情報によって示されるトポロジに従って、1以上の端末または1以上の接点をグループ化したときの当該グループをエリアと称する。例えば、図1に示す破線A1は、端末T13、T14をグループ化したときのエリアである。
The topology
パケット読込部50は、ネットワーク(例えば、インターネット。以下、同様。)内のパケット(例えば、IPデータグラム。以下、同様。)を読み込む。パケット読込部50は、読み込んだパケットをパケットロス検出部60に供給する。
The
パケットロス検出部60は、パケット読込部50からパケットを取得する。パケットロス検出部60は、パケット読込部50からパケットを取得した場合、パケットの送達確認に用いられる確認情報(TCPにおけるシーケンス番号)に基づいてパケットロスを検出する。パケットロス検出部60は、パケットロスを検出した場合、検出結果であるパケットロス情報をパケットロス情報記憶部20に記憶する。パケット検出部60によるパケットロスの検出方法の詳細は後述する。
The packet
パケットロス情報記憶部20は、パケットロス情報を記憶する。例えば、パケットロス情報記憶部20は、図3に示すように、TCPコネクションを一意に識別する、送信元IPアドレス(図中および以下「SA」と表記)、宛先IPアドレス(図中および以下「DA」と表記)、プロトコル、送信元ポート番号(図中および以下「SP」と表記)および宛先ポート番号(図中および以下「DP」と表記)に対応付けて、パケットロスの検出の有無を示す情報(以下、「ロス有無情報」という)、および、パケットロスの検出された場所を示す情報(以下、「ロス場所情報」という)を記憶する。
The packet loss
ロス有無情報「無(0)」は当該TCPセグメントに係るパケットについてパケットロスが検出されなかった旨を示し、ロス有無情報「有(1)」は当該TCPセグメントに係るパケットについてパケットロスが検出された旨を示す。ロス場所情報「前(0)」は送信元からネットワーク診断装置1迄の経路上(以下、「前」または「上流」ともいう)の何れかの場所においてのパケットロスが検出された旨を示し、ロス場所情報「後(1)」はネットワーク診断装置1から宛先迄の経路上(以下、「後」または「下流」ともいう)の何れかの場所においてのパケットロスが検出された旨を示す。
Loss presence / absence information “None (0)” indicates that no packet loss has been detected for the packet related to the TCP segment, and loss presence / absence information “Yes (1)” indicates that a packet loss has been detected for the packet related to the TCP segment. Indicates that Loss location information “Previous (0)” indicates that a packet loss has been detected at any location on the path from the transmission source to the network diagnostic apparatus 1 (hereinafter also referred to as “front” or “upstream”). The loss location information “after (1)” indicates that a packet loss is detected at any location on the route from the network
なお、パケットロス情報記憶部20は、図3に示す例において、SA、DA、プロトコル、SP、DP、ロス有無情報およびロス場所情報を記憶したが、少なくともSA、DAおよびロス場所情報を記憶し、プロトコル、SP、DPおよびロス有無情報は記憶しなくてもよい。プロトコル、SPおよびDPは、パケットロス検出部60がTCPセグメントを一意に識別する際に使用した情報であって後段においては原則使用しないからである。また、ロス有無情報は、ロス場所情報の記憶有無によって代用できるからである。
The packet loss
以下、パケットロスの検出方法について詳細に説明する。パケットロス検出部60を構成する未取得情報設定部61は、一のTCPコネクションにおいて既に取得しているパケットに付された最大のシーケンス番号に連続するシーケンス番号より大きいシーケンス番号を付されたパケットを取得した場合、最大のシーケンス番号に連続するシーケンス番号を付されたパケットが未取得であった旨を示す未取得情報(例えば、抜け落ちたデータを特定する情報)を設定(記憶)する。一のTCPコネクションとは、一連のシーケンス番号によって制御される単位である1つのTCPコネクションを意味する。既に取得しているパケットに付された最大のシーケンス番号に連続するシーケンス番号とは、ネットワーク診断装置1が取得したTCPセグメントのうち最大のシーケンス番号が付されたTCPセグメントの当該最大のシーケンス番号(オクテット数)に当該TCPセグメントのTCPペイロードのデータサイズ(オクテット数)を加算したシーケンス番号(オクテット数)である。つまり、次回取得予定のTCPセグメント(再送分のTCPセグメントを除く、以下同様。)に付されている筈のシーケンス番号である。最大のシーケンス番号に連続するシーケンス番号より大きいシーケンス番号を付されたパケットを取得した場合とは、次回取得予定のTCPセグメントを取得する前に更にそれ以降に取得予定のTCPセグメントを取得した場合である。なお、次回取得予定のTCPセグメントに係るパケットのパケットロス、遅延、遅延ゆらぎ(ジッタ)、異経路による送信などによって、ネットワーク診断装置1は、次回取得予定のTCPセグメントを取得する前に更にそれ以降に取得予定のTCPセグメントを取得する可能性がある。
Hereinafter, a packet loss detection method will be described in detail. The unacquired
即ち、未取得情報設定部61は、ネットワーク診断装置1が、次回取得予定のTCPセグメントを取得する前に更にそれ以降に取得予定のTCPセグメントを取得した場合、次回取得予定のTCPセグメントが未取得であった旨を示す未取得情報を設定する。
That is, the non-acquisition
また、パケットロス検出部60を構成するパケットロス判定部62は、一のTCPコネクションにおいて最大のシーケンス番号に連続するシーケンス番号より小さいシーケンス番号を付されたパケットを取得した場合に未取得情報が設定されているときは、送信元からネットワーク診断装置1迄の経路上、つまり上流においてパケットロスがあったと判定する。最大のシーケンス番号に連続するシーケンス番号より小さいシーケンス番号を付されたパケットを取得した場合とは、次回取得予定のTCPセグメントではなく過去に取得している筈であったが未取得であったTCPセグメントを取得した場合、または、次回取得予定のTCPセグメントではなく過去に取得済みのTCPセグメントを再度取得した場合である。また、未取得情報が設定されているときとは、上述の如く、次回取得予定のTCPセグメントを取得する前に更にそれ以降に取得予定のTCPセグメントを取得した場合であるから、最大のシーケンス番号に連続するシーケンス番号より小さいシーケンス番号を付されたパケットを取得した場合に未取得情報が設定されているときとは、次回取得予定のTCPセグメントではなく過去に取得している筈であったが未取得であったTCPセグメントを取得したときである。
The packet
即ち、パケットロス判定部62は、ネットワーク診断装置1が次回取得予定のTCPセグメントではなく過去に取得している筈であったが未取得であったTCPセグメントを取得したときは、上流においてパケットロスがあったと判定する。上流においてパケットロスがあったパケットが再送されてネットワーク診断装置1に初めて届いたと考えられるからである。
That is, when the
なお、パケットロス判定部62は、最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値以上である場合に未取得情報が設定されているときは、上流においてパケットロスがあったと判定する一方、最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値未満である場合に、上流においてパケットロスがなかったと判定してもよい。遅延ゆらぎや異経路による送信などによってTCPセグメントの順序逆転が発生する場合があるが、閾値を数TCPセグメント分のデータ量とした設定することによって、高々、数TCPセグメント内のTCPセグメントの順序逆転をパケットロスとして取り扱わないようにするためである。
When the difference between the sequence number consecutive to the maximum sequence number and the sequence number attached to the acquired packet is equal to or greater than a predetermined threshold and the unacquired information is set, the packet
また、パケットロス判定部62は、一のTCPコネクションにおいて最大のシーケンス番号に連続するシーケンス番号より小さいシーケンス番号を付されたパケットを取得した場合に未取得情報が設定されていないときは、ネットワーク診断装置1から宛先迄の経路上、つまり下流においてパケットロスがあったと判定する。未取得情報が設定されていないときとは、次回取得予定のTCPセグメントを取得する前に更にそれ以降に取得予定のTCPセグメントを取得していない場合であるから、最大のシーケンス番号に連続するシーケンス番号より小さいシーケンス番号を付されたパケットを取得した場合に未取得情報が設定されていないときとは、次回取得予定のTCPセグメントではなく過去に取得済みのTCPセグメントを再度取得したときである。
In addition, when the packet
即ち、パケットロス判定部62は、ネットワーク診断装置1が次回取得予定のTCPセグメントではなく過去に取得済みのTCPセグメントを再度取得したときは、下流においてパケットロスがあったと判定する。下流においてパケットロスがあったパケットが再送されてネットワーク診断装置1に再度届いたと考えられるからである。
That is, the packet
なお、パケットロス判定部62は、最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値以上である場合に未取得情報が設定されていないときは、下流においてパケットロスがあったと判定する一方、最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値未満である場合に、下流においてパケットロスがなかったと判定してもよい。遅延ゆらぎや異経路による送信などによってTCPセグメントの順序逆転が発生する場合があるが、閾値を数TCPセグメント分のデータ量とした設定することによって、高々、数TCPセグメント内のTCPセグメントの順序逆転をパケットロスとして取り扱わないようにするためである。
When the difference between the sequence number consecutive to the maximum sequence number and the sequence number attached to the acquired packet is equal to or greater than a predetermined threshold and the unacquired information is not set, the packet
集約部70は、ユーザ命令受付部(非図示)を介して受け付けたユーザからの命令に従って、トポロジ情報記憶部10に記憶されているトポロジ情報と、パケットロス情報記憶部20に記憶されているパケットロス情報とに基づいて、トポロジによって示される各エリアを集約した集約エリアを決定し、パケットロス情報を集約エリア毎に集計する。具体的には、集約部70は、パケット読込部50によって読み込まれた各エリアのパケット数を隣接する各エリア同士において逐次累計し、累計パケット数が所定数をはじめて超えたときに、当該隣接する各エリアを集約エリアとして決定する。なお、集約部70は、ユーザからの命令に代えてまたは加えて、予め指定した所定の時刻に、集約エリアを決定し、パケットロス情報を集約エリア毎に集計してもよい。
The aggregating
以下、集約エリアの決定方法および集約エリア毎の集計方法について詳細に説明する。集約部70を構成する第1集約部71は、パケットロス情報記憶部20に記憶されているパケットロス情報をパケットの送信元または宛先毎に集計した個別パケットロス情報を生成する。具体的には、第1集約部71は、ロス場所情報「前(0)」であるTCPセグメントに係るパケット、つまり上流においてパケットロスがあったと判定されたTCPセグメントに係るパケットについては送信元(SA)毎に集計し、ロス場所情報「前(1)」であるTCPセグメントに係るパケット、つまり下流においてパケットロスがあったと判定されたTCPセグメントに係るパケットについては宛先(DA)毎に集計した個別パケットロス情報を生成する。
Hereinafter, the method for determining the aggregation area and the aggregation method for each aggregation area will be described in detail. The first aggregating
個別パケットロス情報記憶部30は、個別パケットロス情報を記憶する。例えば、個別パケットロス情報記憶部30は、図4(a)に示すように、SAに対応付けて、当該SAを送信元とする全パケット数、および、当該SAを送信元とする全パケット数のうちパケットロスが検出されたパケット数(図中および以下「ロス数」と表記)を記憶する。また例えば、個別パケットロス情報記憶部30は、図4(b)に示すように、DAに対応付けて、当該DAを宛先とする全パケット数、および、当該DAを宛先とするロス数を記憶する。
The individual packet loss
集約部70の第2集約部72は、トポロジ情報記憶部10に記憶されているトポロジ情報と、個別パケットロス情報記憶部30に記憶されている個別パケットロス情報とに基づいて、トポロジによって示される各エリアを集約した集約エリアを決定する。即ち、第2集約部72は、各集約エリアに含まれる全パケット数が所定数以上であって、かつ、集約エリア数が最大となるように集約エリアを決定する。例えば、第2集約部72は、図5(b)に示すように、集約エリアG1、G2、G3を決定し、パケットロス情報を集約エリアG1、G2、G3毎に集計する。集約エリアG1は、図5(a)に示す、R8配下のエリアA1、A2、A3、A4を集約した集約エリア、集約エリアG2は、R12配下のエリアA5、A6を集約した集約エリア、集約エリアG3は、R13配下のエリアA7、A8を集約した集約エリアである。なお、図5(a)は、図1の一部(R7〜R13の部分)を抜き出したものである。
The
集約エリアを決定した集約部70の第2集約部72は、個別パケットロス情報を集約エリア毎に集計した集約パケットロス情報を生成し、生成した集約パケットロス情報を集約パケットロス情報記憶部40に記憶する。
The second aggregating
集約パケットロス情報記憶部40は、集約パケットロス情報を記憶する。例えば、集約パケットロス情報記憶部40は、集約エリアを特定する情報に対応付けて、当該集約エリア内の全パケット数、および、当該集約エリア内のロス数を記憶する。より詳細には、集約パケットロス情報記憶部40は、図4(c)に示すように、集約エリアを特定(識別)する情報としてIPアドレスに対応付けて、当該IPアドレスを送信元または宛先とする全パケット数、および、当該IPアドレスを送信元または宛先とするロス数を記憶する。なお、図4(c)に示す例において、集約パケットロス情報記憶部40は、IPアドレス「A1」「A2」に対応付けて、全パケット数「43800」およびロス数「67」を記憶している。全パケット数「43800」は、図4(a)に示すSA「A11」に対応付けられた全パケット数「10050」とSA「A12」に対応付けられた全パケット数「260000」と図4(b)に示すDA「A11」に対応付けられた全パケット数「7300」の合計である。また、ロス数「67」は、図4(a)に示すSA「A11」に対応付けられたロス数「18」とSA「A12」に対応付けられたロス数「37」と図4(b)に示すDA「A11」に対応付けられたロス数「12」の合計である。
The aggregate packet loss
品質判定部80は、集約パケットロス情報記憶部40に記憶されている集約パケットロス情報に基づいて、集約エリア毎の品質を判定する。具体的には、品質判定部80は、集約エリア毎のパケットロス率を算出し、集約エリア毎のパケットロス率が所定の基準値未満である場合に品質は良好であると判断し、基準値以上の場合に品質は不明であると判定する。例えば、図4(c)に示す集約パケットロス情報が集約パケットロス情報記憶部40に記憶されており、所定の基準値「0.1(%)」であるとした場合、品質判定部80は、集約エリア「A1」「A2」のパケットロス率「約0.153(%)」(67÷43800)を算出し、集約エリア「A1」「A2」のパケットロス率「約0.153(%)」が所定の基準値「0.1(%)」以上であるため集約エリア「A1」「A2」の品質は不明であると判定する。品質判定部80は、集約エリア毎の品質を判定した場合には、判定結果を判定結果出力部90に供給する。
The
判定結果出力部90は、品質判定部80から集約エリア毎の品質を判定した判定結果を取得する。判定結果出力部90は、判定結果を取得した場合、判定結果を外部の装置(例えば、アクティブ計測ベースのネットワーク診断を適用した他のネットワーク診断装置)に出力する。なお、判定結果出力部90から判定結果を取得した外部の装置は、品質が良好であると判定された集約エリアに対してはアクティブ計測ベースのネットワーク診断を行わず、品質が不明であると判定された集約エリアに対してのみアクティブ計測ベースのネットワーク診断を行う。即ち、ネットワーク診断装置1は、外部の装置に判定結果を出力し、外部の装置がアクティブ計測ベースのネットワーク診断を適用するエリアを絞り込んでいる。
The determination
図6は、パケットロス検出部60によるパケットロスの検出の動作の一例を示すフローチャートである。図7は、図6に示すフローチャートを補足説明する説明図である。なお、図6に示すフローチャートは、パケットロス検出部60がパケット読込部50からパケットを取得することにより開始する(ステップS100)。なお、説明の便宜上、コネクション確立時のシーケンス番号の初期値は1(オクテット)、全てのTCPセグメントはデータ部(TCPペイロード)を有しているものとし、各データサイズは1024(オクテット、図6、図7において「D」と表記))であるものとする。
FIG. 6 is a flowchart illustrating an example of the packet loss detection operation performed by the packet
ステップS100に続いて、パケットロス検出部60は、今回取得したパケットに付されたシーケンス番号(図6、図7において「Seq」と表記)が既に取得しているパケットに付された最大のシーケンス番号に連続するシーケンス番号(図6、図7において「rmax」と表記)より大きいか否かを判断する(ステップS110)。例えば、パケットロス検出部60は、図7(a)に示すように、1つ目のパケット(シーケンス番号「1」、データサイズ「1024」)、2つ目のパケット(シーケンス番号「1025」、データサイズ「1024」、3つ目のパケット(シーケンス番号「2049」、データサイズ「1024」)を取得した後に、図7(b)に示す4つ目のパケット(シーケンス番号「5121」、データサイズ「1024」)を取得した場合、4つ目のパケットのシーケンス番号であるSeq「2049」が、シーケンス番号「2049」に連続するシーケンス番号(rmax)「3073」より大きいか否かを判断する(ステップS110)。
Subsequent to step S100, the packet
パケットロス検出部60は、シーケンス番号(Seq)がシーケンス番号(rmax)より大きいと判断した場合(ステップS110:Yes)、未取得情報(図6、図7において「hole」と表記)を設定(記憶)する(ステップS112)。例えば、図7(b)に示す4つ目のパケットを取得したパケットロス検出部60は、Seq「5121」がrmax「3073」より大きいと判断し(ステップS110:Yes)、当該TCPコネクションに対応付けて、図7(c)に示すように、hole「3073−5120」を設定する。つまり、パケットロス検出部60は、抜け落ちたデータ部分「3073−5120」にHoleを設定する。そして、ステップS150に進む。
When the packet
一方、ステップS110において、パケットロス検出部60は、シーケンス番号(Seq)がシーケンス番号(rmax)より大きくないと判断した場合(ステップS110:No)、つまり、シーケンス番号(Seq)がシーケンス番号(rmax)と等しいか、シーケンス番号(Seq)がシーケンス番号(rmax)より小さいと判断した場合(ステップS110:No)、シーケンス番号(rmax)とシーケンス番号(Seq)との差が所定の閾値以上であるか否かを判断する(ステップS120)。なお、閾値となる所定の定数は種々考えられるが、例えば、TCPセグメントのデータサイズ「D」に所定の定数(図6において「S」と表記)を加えた値とする。
On the other hand, when the packet
パケットロス検出部60は、シーケンス番号(rmax)とシーケンス番号(Seq)との差が所定の閾値以上であると判断した場合(ステップS120:Yes)、holeが設定(記憶)されているか否かを判断する(ステップS130)。パケットロス検出部60は、holeが設定(記憶)されていると判断した場合(ステップS130:Yes)、上流(前)においてパケットロスがあったと判定し、パケットロス(図6、図7において、上流におけるパケットロスを「前ロス」と表記する)をカウントする(ステップS132)。また、パケットロス検出部60は、ステップS132に続いて、当該holeの設定を解除(消去)する(ステップS134)。例えば、所定の定数「S」がゼロであって、かつ、図7(c)に示すように、hole「3073−5120」が設定(記憶)されている場合に、図7(d)に示す5つ目のパケット(シーケンス番号「3073」、データサイズ「1024」)を取得したパケットロス検出部60は、Seq「3073」がrmax「6145」より大きくないと判断し(ステップS110:No)、rmax「6145」とSeq「3073」との差「3072」が所定の閾値「1024」以上であると判断し(ステップS120:Yes)、hole「3073−5120」が設定(記憶)されていると判断し(ステップS130:Yes)、図7(e)に示すように、前ロスをカウントし(ステップS132)、hole「3073−4096」の設定を解除(消去)する(ステップS134)。そして、ステップS150に進む。
If the packet
一方、ステップS130において、パケットロス検出部60は、holeが設定(記憶)されていないと判断した場合(ステップS130:No)、下流(後)においてパケットロスがあったと判定し、パケットロス(図6において、下流におけるパケットロスを「後ロス」と表記する)をカウントする(ステップS136)。例えば、所定の定数「S」がゼロである場合に、パケットロス検出部60が、図7(a)に示す1つ目、2つ目、3つ目のパケットを取得した後に2つ目のパケットを再取得した場合、Seq「1025」がrmax「3073」より大きくないと判断し(ステップS110:No)、rmax「3073」とSeq「1025」との差「2048」が所定の閾値「1024」以上であると判断し(ステップS120:Yes)、holeが設定(記憶)されていないと判断し(ステップS130:No)、後ロスをカウントする(ステップS136)。そして、ステップS150に進む。
On the other hand, when the packet
一方、ステップS120において、パケットロス検出部60は、シーケンス番号(rmax)とシーケンス番号(Seq)との差が所定の閾値以上でないと判断した場合(ステップS120:No)、holeが設定(記憶)されているか否かを判断する(ステップS140)。パケットロス検出部60は、holeが設定(記憶)されていると判断した場合(ステップS140:Yes)、当該holeの設定を解除(消去)する(ステップS142)。例えば、所定の定数「S」がゼロでなく3072(3データ分)であって、かつ、図7(c)に示すように、hole「3073−5120」が設定(記憶)されている場合に、図7(d)に示す5つ目のパケットを取得したパケットロス検出部60は、Seq「3073」がrmax「6145」より大きくないと判断し(ステップS110:No)、rmax「6145」とSeq「3073」との差「3072」が所定の閾値「4096」以上でないと判断し(ステップS120:No)、hole「3073−5120」が設定(記憶)されていると判断し(ステップS140:Yes)、hole「3073−5120」の設定を解除(消去)する(ステップS162)。そして、ステップS150に進む。
On the other hand, when the packet
一方、ステップS140において、パケットロス検出部60は、holeが設定(記憶)されていないと判断した場合(ステップS140:No)、ステップS142を飛ばして、ステップS150に進む。例えば、所定の定数「S」をゼロではなく3072(3データ分)であって、パケットロス検出部60が、図7(a)に示す1つ目、2つ目、3つ目のパケットを取得した後に2つ目のパケットを再取得した場合、Seq「1025」がrmax「3073」より大きくないと判断し(ステップS110:No)、rmax「3073」とSeq「1025」との差「2048」が所定の閾値「4096」以上でないと判断し(ステップS120:Yes)、holeが設定(記憶)されていないと判断し(ステップS140:No)、ステップS142を飛ばしてステップS150に進む。
On the other hand, when the packet
ステップS134、ステップS136、ステップS142またはステップS140(No)に続いて、パケットロス検出部60は、シーケンス番号(Seq)にデータサイズ「D」を加えた値がシーケンス番号(rmax)より大きいか否かを判断する(ステップS150)。パケットロス検出部60は、シーケンス番号(Seq)にデータサイズ「D」を加えた値がシーケンス番号(rmax)より大きいと判断した場合(ステップS150:Yes)、シーケンス番号(rmax)を更新する(ステップS152)。具体的には、シシーケンス番号(Seq)にデータサイズ「D」を加えた値を新たなシーケンス番号(rmax)とする。そして、ステップS160に進む。
Subsequent to step S134, step S136, step S142, or step S140 (No), the packet
一方、ステップS150において、パケットロス検出部60は、シーケンス番号(Seq)にデータサイズ「D」を加えた値がシーケンス番号(rmax)より大きくないと判断した場合(ステップS150:Yes)、つまり、シーケンス番号(Seq)にデータサイズ「D」を加えた値がシーケンス番号(rmax)と等しいか、シーケンス番号(Seq)にデータサイズ「D」を加えた値がシーケンス番号(rmax)より小さいと判断した場合(ステップS150:No)、ステップS152を飛ばしてステップS160に進む。
On the other hand, in step S150, the packet
ステップS112、ステップS150(No)またはステップS152に続いて、パケットロス検出部60は、TCPコネクションが終了したか否かを判断する(ステップS160)。パケットロス検出部60は、TCPコネクションが終了したと判断した場合(ステップS160:Yes)、当該TCPコネクション全体に係るholeの設定を解除(消去)する(ステップS162)。そして本フローチャートは終了する。なお、パケットロス検出部60は、パケット読込部50からパケットを再度取得した場合には(ステップS100)、別のTCPコネクションとしてステップS110以降を実行する。
Subsequent to step S112, step S150 (No) or step S152, the packet
一方、ステップS160において、パケットロス検出部60は、TCPコネクションが終了していないと判断した場合(ステップS160:No)、ステップS162を飛ばして本フローチャートは終了する。なお、パケットロス検出部60は、パケット読込部50からパケットを再度取得した場合には(ステップS100)、同一のTCPコネクションとしてステップS110以降を実行する。なお、パケットロス検出部60は、送受信側の双方からのコネクション切断要求(fin)に係るパケットと、それぞれの切断要求に対する確認応答(Ack)に係るパケットを取得した場合にTCPコネクションが終了したと判断する。
On the other hand, when the packet
なお、図7(g)は、例えば、所定の定数「S」がゼロであって、かつ、図7(e)に示すように、hole「4096−5120」が設定(記憶)されている場合に、パケットロス検出部60が、図7(f)に示す6つ目のパケット(シーケンス番号「7169」、データサイズ「1024」)を取得した場合に、hole「6145−7168」が設定(記憶)される例である。
FIG. 7G shows, for example, a case where the predetermined constant “S” is zero and the hole “4096-5120” is set (stored) as shown in FIG. When the packet
以上、本実施形態によれば、ASのように規模の大きなネットワークを診断する場合であっても、ネットワーク診断の負荷を格段に低減させることができるようになる。アクティブ計測ベースのネットワーク診断を補完するものとして、アクティブ計測ベースのネットワーク診断を適用するエリアを事前に絞り込むことができるようになるからである。 As described above, according to the present embodiment, even when a large-scale network is diagnosed such as an AS, the load of network diagnosis can be significantly reduced. This is because the area to which the active measurement-based network diagnosis is applied can be narrowed down in advance as a supplement to the active measurement-based network diagnosis.
なお、本実施形態では、確認情報の一例としてTCPのシーケンス番号の例を説明したが、確認情報はTCPにおけるシーケンス番号に限定されない。例えば、同種の情報を含むプロトコルであれば実施可能である。確認情報の他の例は、VoIPなどに用いられるRTP(Real−time Transport Protocol)のシーケンス番号、インターネットVPNなどに利用されるIPsecのESPヘッダのシーケンス番号およびAHヘッダのシーケンス番号である。 In this embodiment, an example of the TCP sequence number has been described as an example of the confirmation information. However, the confirmation information is not limited to the sequence number in TCP. For example, any protocol including the same type of information can be implemented. Other examples of the confirmation information include RTP (Real-time Transport Protocol) sequence numbers used for VoIP, IPsec ESP header sequence numbers and AH header sequence numbers used for Internet VPN and the like.
なお、ネットワーク診断装置1の各処理を実行するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、当該記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、ネットワーク診断装置1に係る上述した種々の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
Note that a network diagnostic apparatus is provided by recording a program for executing each process of the network
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えば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.
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 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 designs and the like that do not depart from the gist of the present invention.
1 ネットワーク診断装置 10 トポロジ情報記憶部 20 パケットロス情報記憶部 30 個別パケットロス情報記憶部 40 集約パケットロス情報記憶部 50パケット読込部 60 パケットロス検出部 61 未取得情報設定部 62 パケットロス判定部 70 集約部 71 第1集約部 72 第2集約部 80 品質判定部 90 判定結果出力部
DESCRIPTION OF
Claims (9)
ネットワーク内のパケットを読み込むパケット読込部と、
パケットの送達確認に用いられる確認情報に基づいて、前記パケット読込部によって読み込まれたパケットのパケットロスを検出するパケットロス検出部と、
前記トポロジ情報記憶部に記憶されている前記トポロジ情報と前記パケットロス検出部によって検出されたパケットロスに係るパケットロス情報とに基づいて、前記トポロジ情報によって示される各エリアを集約した集約エリアを決定し、前記パケットロス情報を前記集約エリア毎に集計する集約部と、
前記集約部によって集約された前記集約エリア毎の品質を判定する品質判定部と
を備えることを特徴とするネットワーク診断装置。 A topology information storage unit for storing topology information indicating the topology of the network;
A packet reading unit for reading packets in the network;
A packet loss detection unit for detecting a packet loss of the packet read by the packet reading unit, based on confirmation information used for packet delivery confirmation;
Based on the topology information stored in the topology information storage unit and the packet loss information related to the packet loss detected by the packet loss detection unit, an aggregation area is determined by aggregating the areas indicated by the topology information. And an aggregation unit that aggregates the packet loss information for each aggregation area;
A network diagnosis apparatus comprising: a quality determination unit that determines quality for each aggregated area aggregated by the aggregation unit.
前記パケット読込部によって読み込まれた前記各エリアのパケット数を隣接する各エリア同士において逐次累計し、累計パケット数が所定数をはじめて超えたときに、当該隣接する各エリアを前記集約エリアとして決定することを特徴とする請求項1に記載のネットワーク診断装置。 The aggregation unit is
The number of packets in each area read by the packet reading unit is sequentially accumulated in adjacent areas, and when the total number of packets exceeds a predetermined number for the first time, the adjacent areas are determined as the aggregation area. The network diagnosis apparatus according to claim 1.
前記集約エリア毎のパケットロス率を算出し、
前記集約エリア毎のパケットロス率が所定の基準値以上であるか否かに基づいて前記集約エリア毎の品質を判定することを特徴とする請求項1または請求項2の何れか1項に記載のネットワーク診断装置。 The quality judgment unit
Calculate the packet loss rate for each aggregation area,
3. The quality of each aggregate area is determined based on whether or not the packet loss rate for each aggregate area is equal to or higher than a predetermined reference value. 4. Network diagnostic equipment.
前記パケットロス検出部によって検出されたパケットロスに係るパケットロス情報をパケットの送信元または宛先毎に集計した個別パケットロス情報を生成する第1集約部と、
前記トポロジ情報記憶部に記憶されている前記トポロジ情報と前記第1集約部によって生成された前記個別パケットロス情報とに基づいて、前記集約エリアを決定し、前記個別パケットロス情報を前記集約エリア毎に集計した集約パケットロス情報を生成する第2集約部と
を備え、
前記品質判定部は、前記第2集約部によって生成された前記集約パケットロス情報に基づいて前記集約エリア毎の品質を判定することを特徴とする請求項1または請求項3の何れか1項に記載のネットワーク診断装置。 The aggregation unit is
A first aggregating unit that generates individual packet loss information obtained by aggregating the packet loss information related to the packet loss detected by the packet loss detection unit for each source or destination of the packet;
Based on the topology information stored in the topology information storage unit and the individual packet loss information generated by the first aggregation unit, the aggregation area is determined, and the individual packet loss information is determined for each aggregation area. A second aggregation unit that generates aggregated packet loss information aggregated in
The said quality determination part determines the quality for every said aggregation area based on the said aggregation packet loss information produced | generated by the said 2nd aggregation part, Either of Claim 1 or Claim 3 characterized by the above-mentioned. The network diagnostic device described.
TCPにおけるシーケンス番号であって、
前記パケットロス検出部は、
一のTCPコネクションにおいて既に取得しているパケットに付された最大のシーケンス番号に連続するシーケンス番号より大きいシーケンス番号を付されたパケットを取得した場合、前記最大のシーケンス番号に連続するシーケンス番号を付されたパケットが未取得であった旨を示す未取得情報を設定する未取得情報設定部と、
一のTCPコネクションにおいて前記最大のシーケンス番号に連続するシーケンス番号より小さいシーケンス番号を付されたパケットを取得した場合に、前記未取得情報が設定されているときは送信元から当該ネットワーク装置迄の経路上においてパケットロスがあったと判定し、前記未取得情報が設定されていないときは当該ネットワーク装置から宛先迄の経路上においてパケットロスがあったと判定するパケットロス判定部と
を備えることを特徴とする請求項1から請求項4の何れかに記載のネットワーク診断装置。 The confirmation information is
A sequence number in TCP,
The packet loss detection unit
When a packet with a sequence number greater than the sequence number consecutive to the maximum sequence number attached to a packet already acquired in one TCP connection is acquired, the sequence number consecutive to the maximum sequence number is attached. An unacquired information setting unit that sets unacquired information indicating that the received packet has not been acquired;
A route from the transmission source to the network device when the unacquired information is set when a packet having a sequence number smaller than the sequence number consecutive to the maximum sequence number is acquired in one TCP connection A packet loss determining unit that determines that there has been a packet loss and determines that there has been a packet loss on a route from the network device to a destination when the unacquired information is not set. The network diagnostic apparatus according to any one of claims 1 to 4.
前記未取得情報が設定されている場合に、前記最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値(オクテット数)以上であったときは、送信元から当該ネットワーク装置迄の経路上においてパケットロスがあったと判定し、前記最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値未満であったときは、送信元から当該ネットワーク装置迄の経路上においてパケットロスがなかったと判定することを特徴とする請求項5に記載のネットワーク診断装置。 The packet loss determination unit
When the unacquired information is set and the difference between the sequence number consecutive to the maximum sequence number and the sequence number attached to the acquired packet is equal to or greater than a predetermined threshold (number of octets), It was determined that there was a packet loss on the route from the transmission source to the network device, and the difference between the sequence number consecutive to the maximum sequence number and the sequence number attached to the acquired packet was less than a predetermined threshold value 6. The network diagnosis apparatus according to claim 5, wherein it is determined that there is no packet loss on a route from the transmission source to the network apparatus.
前記未取得情報が設定されていない場合に、前記最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値(オクテット数)以上であったときは、当該ネットワーク装置から宛先迄の経路上においてパケットロスがあったと判定し、前記最大のシーケンス番号に連続するシーケンス番号と取得したパケットに付されたシーケンス番号との差が所定の閾値未満であったときは、当該ネットワーク装置から宛先迄の経路上においてパケットロスがなかったと判定することを特徴とする請求項5に記載のネットワーク診断装置。 The packet loss determination unit
When the unacquired information is not set and the difference between the sequence number consecutive to the maximum sequence number and the sequence number attached to the acquired packet is equal to or greater than a predetermined threshold (number of octets), When it is determined that there is a packet loss on the route from the network device to the destination, and the difference between the sequence number consecutive to the maximum sequence number and the sequence number attached to the acquired packet is less than a predetermined threshold 6. The network diagnosis apparatus according to claim 5, wherein it is determined that there is no packet loss on a route from the network apparatus to the destination.
ネットワーク内のパケットを読み込むパケット読込ステップと、
パケットの送達確認に用いられる確認情報に基づいて、前記パケット読込ステップによって読み込まれたパケットのパケットロスを検出するパケットロス検出ステップと、
前記パケットロス検出ステップによって検出されたパケットロスに係るパケットロス情報と、ネットワークのトポロジを示すトポロジ情報とに基づいて、前記トポロジ情報によって示される各エリアを集約した集約エリアを決定し、前記パケットロス情報を前記集約エリア毎に集計する集約ステップと、
前記集約ステップによって集約された前記集約エリア毎の品質を判定する品質判定ステップと
を有することを特徴とするネットワーク診断方法。 )
A packet reading step for reading a packet in the network;
Based on confirmation information used for packet delivery confirmation, a packet loss detection step for detecting a packet loss of the packet read by the packet reading step;
Based on the packet loss information related to the packet loss detected by the packet loss detection step and the topology information indicating the topology of the network, an aggregation area is determined by aggregating each area indicated by the topology information, and the packet loss An aggregation step of aggregating information for each aggregation area;
And a quality determination step of determining the quality of each aggregated area aggregated by the aggregation step.
ネットワーク内のパケットを読み込むパケット読込ステップと、
パケットの送達確認に用いられる確認情報に基づいて、前記パケット読込ステップによって読み込まれたパケットのパケットロスを検出するパケットロス検出ステップと、
前記パケットロス検出ステップによって検出されたパケットロスに係るパケットロス情報と、ネットワークのトポロジを示すトポロジ情報とに基づいて、前記トポロジ情報によって示される各エリアを集約した集約エリアを決定し、前記パケットロス情報を前記集約エリア毎に集計する集約ステップと、
前記集約ステップによって集約された前記集約エリア毎の品質を判定する品質判定ステップと
を実行させることを特徴とするプログラム。 In the network diagnostic device computer that diagnoses the network,
A packet reading step for reading a packet in the network;
Based on confirmation information used for packet delivery confirmation, a packet loss detection step for detecting a packet loss of the packet read by the packet reading step;
Based on the packet loss information related to the packet loss detected by the packet loss detection step and the topology information indicating the topology of the network, an aggregation area is determined by aggregating each area indicated by the topology information, and the packet loss An aggregation step of aggregating information for each aggregation area;
A program for executing a quality determination step for determining the quality of each aggregated area aggregated in the aggregation step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008294606A JP2010124127A (en) | 2008-11-18 | 2008-11-18 | Network diagnostic equipment, network diagnostic method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008294606A JP2010124127A (en) | 2008-11-18 | 2008-11-18 | Network diagnostic equipment, network diagnostic method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010124127A true JP2010124127A (en) | 2010-06-03 |
Family
ID=42325081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008294606A Pending JP2010124127A (en) | 2008-11-18 | 2008-11-18 | Network diagnostic equipment, network diagnostic method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010124127A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014179791A (en) * | 2013-03-14 | 2014-09-25 | Fujitsu Telecom Networks Ltd | Transmission system and transmitter and transmission quality detection method |
JP2016503602A (en) * | 2012-10-31 | 2016-02-04 | 中興通訊股▲ふん▼有限公司 | Method and apparatus for evaluating wireless network capillary performance |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004048565A (en) * | 2002-07-15 | 2004-02-12 | Nippon Telegr & Teleph Corp <Ntt> | Network quality estimation/control system |
JP2005210756A (en) * | 2005-04-08 | 2005-08-04 | Hitachi Ltd | Network monitoring method |
JP2005244783A (en) * | 2004-02-27 | 2005-09-08 | Nippon Telegr & Teleph Corp <Ntt> | Network congestion scale determining method and system |
JP2006054561A (en) * | 2004-08-10 | 2006-02-23 | Nippon Telegr & Teleph Corp <Ntt> | Method of determining network congestion scale and system |
JP2006067217A (en) * | 2004-08-26 | 2006-03-09 | Nec Corp | Method and instrument for measruring network quality |
-
2008
- 2008-11-18 JP JP2008294606A patent/JP2010124127A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004048565A (en) * | 2002-07-15 | 2004-02-12 | Nippon Telegr & Teleph Corp <Ntt> | Network quality estimation/control system |
JP2005244783A (en) * | 2004-02-27 | 2005-09-08 | Nippon Telegr & Teleph Corp <Ntt> | Network congestion scale determining method and system |
JP2006054561A (en) * | 2004-08-10 | 2006-02-23 | Nippon Telegr & Teleph Corp <Ntt> | Method of determining network congestion scale and system |
JP2006067217A (en) * | 2004-08-26 | 2006-03-09 | Nec Corp | Method and instrument for measruring network quality |
JP2005210756A (en) * | 2005-04-08 | 2005-08-04 | Hitachi Ltd | Network monitoring method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016503602A (en) * | 2012-10-31 | 2016-02-04 | 中興通訊股▲ふん▼有限公司 | Method and apparatus for evaluating wireless network capillary performance |
US9544215B2 (en) | 2012-10-31 | 2017-01-10 | Zte Corporation | Method and apparatus for evaluating performance of wireless network capillary channel |
JP2014179791A (en) * | 2013-03-14 | 2014-09-25 | Fujitsu Telecom Networks Ltd | Transmission system and transmitter and transmission quality detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11228515B2 (en) | Data packet detection method, device, and system | |
JP4491257B2 (en) | Controlling the admission of data streams to the network based on end-to-end measurements | |
EP1335525B1 (en) | Method for probing the peer-to-peer quality of service (QOS) | |
JP4999447B2 (en) | System and method for measuring network performance, and system for measuring network performance parameters | |
WO2017031858A1 (en) | Method and apparatus for detecting time delay state information, and network architecture | |
US20050105474A1 (en) | System and method for measuring per node packet loss in a wireless network | |
US8908540B2 (en) | Efficient and loss tolerant method and mechanism for measuring available bandwidth | |
CN109792621A (en) | For assessing the method and system of the network performance of the connection of polymerization | |
US20220029900A1 (en) | Detecting sources of computer network failures | |
US10264004B2 (en) | System and method for connection fingerprint generation and stepping-stone traceback based on netflow | |
EP3188413B1 (en) | Method, apparatus, and system for implementing packet loss detection | |
US20160127227A1 (en) | Information processing system, method, and apparatus | |
CN103888351A (en) | Method and device used for managing multiple conversations in network based on multi-path routing | |
CN107070851B (en) | System and method for connecting fingerprint generation and stepping stone tracing based on network flow | |
JP2015023463A (en) | Packet analyzing device, packet analyzing method, and packet analyzing program | |
WO2017063198A1 (en) | Data transmission method, device and system | |
WO2021147370A1 (en) | Method, apparatus and system for training fault detection model | |
JP2010124127A (en) | Network diagnostic equipment, network diagnostic method, and program | |
CN103959697B (en) | Method and arrangement for monitoring affairs in peer-to-peer overlay network | |
JP2019087800A (en) | Packet analysis program, packet analysis device, and packet analysis method | |
JP2003037649A (en) | Method for estimating contents distribution end time, recording medium and program | |
CN111901237A (en) | Source routing method and system, related device and computer readable storage medium | |
WO2021147371A1 (en) | Fault detection method, apparatus and system | |
JP4927181B2 (en) | User waiting time estimation apparatus, user waiting time estimation method, and program | |
JP2005110038A (en) | Congestion detecting device, and method for detecting congestion of tcp traffic, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110819 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20110823 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120622 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120807 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121204 |