JP3392343B2 - Traffic data correction method, traffic measurement system, and computer network - Google Patents

Traffic data correction method, traffic measurement system, and computer network

Info

Publication number
JP3392343B2
JP3392343B2 JP06128298A JP6128298A JP3392343B2 JP 3392343 B2 JP3392343 B2 JP 3392343B2 JP 06128298 A JP06128298 A JP 06128298A JP 6128298 A JP6128298 A JP 6128298A JP 3392343 B2 JP3392343 B2 JP 3392343B2
Authority
JP
Japan
Prior art keywords
traffic
measurement
type data
time
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.)
Expired - Fee Related
Application number
JP06128298A
Other languages
Japanese (ja)
Other versions
JPH11261670A (en
Inventor
聡 池上
雅樹 浜田
智宏 藤崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP06128298A priority Critical patent/JP3392343B2/en
Publication of JPH11261670A publication Critical patent/JPH11261670A/en
Application granted granted Critical
Publication of JP3392343B2 publication Critical patent/JP3392343B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、インターネットな
どのコンピュータネットワークにおいて、将来の設備投
資のための傾向分析や障害管理,課金管理などのための
トラヒック管理に用いられ、ネットワークを流れるデー
タ量やパケット数などの測定を行うトラヒックデータ補
正方法及びかかる方法を実現するトラヒック測定システ
ムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in a computer network such as the Internet for traffic analysis such as trend analysis for future capital investment, fault management, billing management, and the like. The present invention relates to a traffic data correction method for measuring numbers and the like and a traffic measurement system for realizing such a method.

【0002】[0002]

【従来の技術】ネットワークノード(ルータ,ハブ,ス
イッチなど)のなかには、機器の管理情報としてMIB
(Management lnformation Base)を持ち、SNMP(Si
mple Network Management Protocol)を実装して、こう
した管理情報を遠隔から取得したり設定したりするもの
もある。例えば、現在存在するほとんどのルータはこれ
らを実装している。
2. Description of the Related Art In a network node (router, hub, switch, etc.), MIB is used as device management information.
(Management Information Base) and SNMP (Si
There is also one that implements the mple Network Management Protocol) to obtain and set such management information remotely. For example, most current routers implement these.

【0003】一般に、ネットワークノードからのトラヒ
ック測定には、ネットワークノードの持つMIB中のト
ラヒックに関する項目をSNMPを用いて取得する方法
が用いられている。SNMPによるトラヒック測定のメ
カニズムは、ネットワークノードのSNMPエージェン
トに対して特定MIB値を取得するためのSNMPリク
エストを送り、SNMPエージェントが特定MIB値を
含んだSNMPレスポンスを返す、といったものであ
る。以下、SNMPを用いてネットワークノードからM
IB値を取得することを「SNMPによる測定」と表現
する。ネットワークノードにはトラヒックが集中するの
で、ネットワークノードの管理情報を用いたトラヒック
測定は、専用のネットワーク測定装置を新たにネットワ
ークに接続して測定する方法よりもリソースの面で有効
である。そして、トラヒック測定を行うには以下のよう
な方法がある。
Generally, for measuring traffic from a network node, a method of using SNMP to acquire items relating to traffic in the MIB of the network node is used. The mechanism of traffic measurement by SNMP is such that an SNMP request for acquiring a specific MIB value is sent to an SNMP agent of a network node, and the SNMP agent returns an SNMP response containing the specific MIB value. Hereinafter, from the network node to M using SNMP
Obtaining the IB value is referred to as “measurement by SNMP”. Since the traffic is concentrated on the network node, the traffic measurement using the management information of the network node is more effective in terms of resources than the method of newly connecting a dedicated network measurement device to the network for measurement. Then, there are the following methods for measuring traffic.

【0004】〔MIB2を用いる方法〕MIB2はネッ
トワーク管理の標準となっており、その中には、ネット
ワークノードのインターフェース毎の送信,受信オクテ
ット数(MIB2 Interface Group中の ifInOctets,i
fOutOctets)が存在する。これらの値をあわせて「オク
テットカウンタ」と呼ぶ。MIB2の仕様では、オクテ
ットカウンタは単調増加するカウンタ(最大値232
1)を用いることになっている。このオクテットカウン
タを用いたトラヒック測定では、統計化したい時間間隔
毎に周期的にオクテットカウンタ値を取得し、前回の測
定値との差分をとる方法が用いられている。例えば、1
時間毎の統計データが欲しい場合には、1時間に一度だ
け測定を行えば良い。以下、周期的に測定されたオクテ
ットカウンタの集まりを「測定データ」と呼ぶ。
[Method Using MIB2] MIB2 has become a standard for network management. Among them, the number of transmission and reception octets for each interface of a network node (ifInOctets, i in the MIB2 Interface Group).
fOutOctets) exists. These values are collectively called an "octet counter". According to the specifications of MIB2, the octet counter is a counter that increases monotonically (maximum value 2 32
1) is to be used. In traffic measurement using this octet counter, a method is used in which the octet counter value is periodically acquired at each time interval to be statistically calculated and the difference from the previous measured value is taken. For example, 1
If you want hourly statistical data, you only need to measure once an hour. Hereinafter, a set of octet counters measured periodically will be referred to as “measurement data”.

【0005】〔プライベートMIBを用いる方法〕ベン
ダによっては、ベンダ独自のプライベートMIBとし
て、過去一定時間の平均利用帯域を算出するものもあ
り、以下、これらを総称して「スループットバリアブ
ル」と呼ぶ。例えば、Cisco 社のルータでは、過去5分
間の利用帯域の移動平均を表す項目が存在するので、こ
の値をSNMPで周期的に取得することでトラヒックを
測定できる。しかし、この方法では、SNMPによる測
定に失敗した場合には全くトラヒックが取得できないと
いう問題がある。SNMPによる測定失敗の原因として
は、SNMPはUDP(User Datagram Protocol)であ
るために伝送途中でパケットのロスが発生することや、
ネットワークノードではSNMPリクエストに対する返
答処理の優先順位が低いため返答しないといったことが
挙げられる。
[Method Using Private MIB] Some vendors use their own private MIBs to calculate the average used bandwidth in the past fixed time, and hereinafter, these are collectively referred to as “throughput variable”. For example, in a router of Cisco, Inc., there is an item that represents the moving average of the used bandwidth for the past 5 minutes, so the traffic can be measured by periodically acquiring this value by SNMP. However, this method has a problem that traffic cannot be acquired at all when the measurement by SNMP fails. As the cause of the measurement failure by SNMP, since SNMP is UDP (User Datagram Protocol), packet loss occurs during transmission,
The network node has a low priority for reply processing to the SNMP request and therefore does not reply.

【0006】[0006]

【発明が解決しようとする課題】SNMPを用いてMI
B2のオクテットカウンタの値を取得し、この値を用い
てネットワークノードの正確なトラヒックの統計値を算
出する際には、以下の問題が発生する。 (1)オクテットカウンタは最大値に達すると“0”に
戻る(以下、「オクテットカウンタの周回」と呼ぶ)
が、広帯域伝送路ではこの現象が短時間で発生すること
になる。 (2)ネットワークノードをリセットした場合にもオク
テットカウンタが“0”に戻るため、オクテットカウン
タの周回との区別がつかない。 (3)SNMPによる測定失敗や測定遅延が発生する。
[Problems to be Solved by the Invention] MI using SNMP
The following problems occur when acquiring the value of the octet counter of B2 and calculating the accurate statistical value of the traffic of the network node using this value. (1) When the octet counter reaches the maximum value, it returns to "0" (hereinafter referred to as "rounding of the octet counter").
However, this phenomenon occurs in a short time in a wide band transmission line. (2) Since the octet counter returns to "0" even when the network node is reset, it is indistinguishable from the circulation of the octet counter. (3) Measurement failure or measurement delay occurs due to SNMP.

【0007】問題(1)については、例えば、100M
(メガ)の帯域では最短で約5.7分,155M(メ
ガ)の帯域では約3.7分でオクテットカウンタが一周
してしまう危険性がある(理論値)。SNMPによる測
定と測定の間におけるオクテットカウンタの周回が1周
以下であれば、今回測定されたオクテットカウンタの値
にオクテットカウンタの最大値(232−1)を加算する
という簡単な補正で流量が求められるが、2周以上して
いる可能性がある場合には正確な流量の算出は不可能で
ある。これを防ぐためには、オクテットカウンタが2周
以上しないことが保証される時間間隔(即ち、オクテッ
トカウンタの最大値/ネットワーク帯域)で測定を行う
必要がある。しかしながら、短い時間間隔で測定を行う
と、ネットワークやネットワークノードに負荷をかけて
しまうという問題がある。
Regarding the problem (1), for example, 100M
There is a risk that the octet counter will make a full turn in about 5.7 minutes in the (mega) band and in about 3.7 minutes in the 155M (mega) band (theoretical value). If the number of revolutions of the octet counter between SNMP measurements is one or less, the flow rate can be corrected by a simple correction of adding the maximum value of the octet counter (2 32 -1) to the value of the octet counter measured this time. Although required, it is impossible to accurately calculate the flow rate when there is a possibility that the number of rotations is two or more. In order to prevent this, it is necessary to perform the measurement at a time interval (that is, the maximum value of the octet counter / network band) that guarantees that the octet counter does not make two or more rounds. However, if the measurement is performed at short time intervals, there is a problem in that the network or network node is overloaded.

【0008】一方、問題(3)の原因としては、前述し
たように、SNMPがUDPであるために伝送途中での
パケットのロスが発生したり、ネットワークノードでは
SNMPリクエストに対する返答処理の優先順位が低い
ために、高負荷時に返答しなかったり返答が遅れたりす
ることが挙げられる。以上のように、SNMPを用いて
ネットワークノードの管理情報を取得し、この値を用い
て一定時間の正確な測定値を算出する際には様々な問題
がある。
On the other hand, the cause of the problem (3) is, as described above, that the packet is lost during the transmission because the SNMP is UDP, and the priority of the reply process to the SNMP request is high in the network node. Because it is low, it may be that the response is delayed or the response is delayed when the load is high. As described above, there are various problems in acquiring management information of a network node using SNMP and using this value to calculate an accurate measurement value for a certain period of time.

【0009】本発明は上記の点に鑑みてなされたもので
あり、その目的は、SNMPによって取得したネットワ
ークノードの管理情報を用いて一定時間間隔の測定値を
算出する際に問題が発生するような条件下においても、
正確なトラヒックの統計値を算出できるトラヒックデー
タ補正方法及びトラヒック測定システム並びにかかるシ
ステムを備えたコンピュータネットワークを提供するこ
とにある。
The present invention has been made in view of the above points, and it is an object of the present invention to cause a problem when calculating measured values at constant time intervals using management information of network nodes acquired by SNMP. Even under various conditions,
It is an object of the present invention to provide a traffic data correction method, a traffic measurement system, and a computer network equipped with such a system, which can accurately calculate statistical values of traffic.

【0010】[0010]

【課題を解決するための手段】以上の課題を解決するた
め、請求項1記載の発明は、ネットワークのトラヒック
測定のためのトラヒックデータ補正方法であって、前記
ネットワークに設けられたネットワークノードが持つ管
理情報の中からカウンタ型データを含む管理情報を周期
的に測定し、前回及び今回の測定時点のカウンタ型デー
タの差を求めて一定時間毎にトラヒックの統計値を求め
る際に、前記管理情報に基づいて、前回の測定時点と今
回の測定時点の間に流れた流量を推定し、前回及び今回
の測定時点のカウンタ型データならびに前記流量から、
前回の測定時点と今回の測定時点の間における前記カウ
ンタ型データの周回数を推定し、今回の測定時点のカウ
ンタ型データを前記周回数に応じたカウント値で補正す
ることを特徴としている。
In order to solve the above problems, the invention according to claim 1 is a traffic data correction method for measuring traffic of a network, which network node provided in the network has. When the management information including the counter type data is periodically measured from the management information and the difference between the counter type data at the time of the previous measurement and the current measurement time is obtained to obtain the traffic statistical value at regular time intervals, the management information is used. Based on the above, the flow rate that has flowed between the previous measurement time point and the current measurement time point is estimated, and from the counter type data and the flow rate at the previous measurement time point and
It is characterized in that the number of rounds of the counter type data between the previous measurement time point and the current measurement time point is estimated, and the counter type data at the current measurement time point is corrected with a count value according to the number of rounds.

【0011】また、請求項2記載の発明は、ネットワー
クのトラヒック測定のためのトラヒックデータ補正方法
であって、前記ネットワークに設けられたネットワーク
ノードが持つ管理情報の中からカウンタ型データを含む
管理情報を周期的に測定し、前回及び今回の測定時点の
カウンタ型データの差を求めて一定時間毎にトラヒック
の統計値を求める際に、前記管理情報に基づいて、前回
の測定時点と今回の測定時点の間における前記ネットワ
ークノードのリセットの有無を判断し、前記リセットが
検出された場合に、前回の測定時点のカウンタ型データ
を今回の測定時点のカウンタ型データに加算して、前記
リセットで“0”に戻った前記カウンタ型データの補正
を行うことを特徴としている。また、請求項3記載の発
明は、請求項1又は2記載の発明において、特定の時刻
における前記カウンタ型データを該時刻の前後のカウン
タ型データを線形補間して求めることを特徴としてい
る。
A second aspect of the present invention is a traffic data correction method for measuring traffic of a network, wherein management information including counter type data is included in the management information held by network nodes provided in the network. Is measured periodically, and when the difference between the counter type data at the time of the previous measurement and this time is calculated and the statistical value of the traffic is calculated at regular intervals, based on the management information, the measurement time of the previous measurement and the measurement of this time are measured. It is determined whether or not the network node is reset between the time points, and when the reset is detected, the counter type data at the previous measurement time point is added to the counter type data at the current measurement time point, and the “ The counter type data returned to 0 "is corrected. The invention according to claim 3 is characterized in that, in the invention according to claim 1 or 2, the counter type data at a specific time is obtained by linearly interpolating the counter type data before and after the time.

【0012】また、請求項4記載の発明は、ネットワー
クのトラヒックを測定するトラヒック測定システムにお
いて、カウンタ型データを含む管理情報を前記ネットワ
ークに設けられたネットワークノードから一定時間毎に
測定する測定手段と、前記管理情報に基づいて、前回の
測定時点と今回の測定時点の間に流れた流量を推定する
流量推定手段と、前回及び今回の測定時点のカウンタ型
データならびに前記流量から、前回の測定時点と今回の
測定時点の間における前記カウンタ型データの周回数を
推定する周回数推定手段と、今回の測定時点のカウンタ
型データを前記周回数に応じたカウント値で補正する補
正手段と、前回のカウンタ型データと前記補正された今
回の測定時点のカウンタ型データの差を求めて前記一定
時間毎のトラヒックの統計値を求める算出手段とを具備
することを特徴としている。
[0012] According to a fourth aspect of the invention, in a traffic measuring system for measuring the traffic of a network, a measuring means for measuring management information including counter type data from a network node provided in the network at regular intervals. Based on the management information, the flow rate estimating means for estimating the flow rate that has flowed between the previous measurement time point and the current measurement time point, and the previous measurement time point from the counter type data at the previous and current measurement time points and the flow rate. And the number of laps of the counter type data between the measurement time of this time, the correction means for correcting the counter type data at the time of this measurement with a count value according to the number of laps, and The difference between the counter-type data and the corrected counter-type data at the current measurement time point is obtained to obtain the traffic at the fixed time It is characterized by comprising a calculation means for calculating a statistical value.

【0013】また、請求項5記載の発明は、ネットワー
クのトラヒックを測定するトラヒック測定システムにお
いて、カウンタ型データを含む管理情報を前記ネットワ
ークに設けられたネットワークノードから一定時間毎に
測定する測定手段と、前記管理情報に基づいて、前回の
測定時点と今回の測定時点の間における前記ネットワー
クノードのリセットを検出する検出手段と、前記リセッ
トの検出によって、前回の測定時点のカウンタ型データ
を今回の測定時点のカウンタ型データに加算して、前記
リセットで“0”に戻った前記カウンタ型データの補正
を行う補正手段と、前回のカウンタ型データと前記補正
された今回の測定時点のカウンタ型データの差を求めて
前記一定時間毎のトラヒックの統計値を求める算出手段
とを具備することを特徴としている。また、請求項6記
載の発明は、請求項4又は5記載の発明において、特定
の時刻における前記カウンタ型データを該時刻の前後の
カウンタ型データを線形補間して求める補間手段をさら
に有することを特徴としている。
Further, the invention according to claim 5 is a traffic measuring system for measuring the traffic of a network, and a measuring means for measuring management information including counter type data from a network node provided in the network at regular intervals. , Detecting means for detecting a reset of the network node between a previous measurement time point and a current measurement time point based on the management information, and measuring the counter type data at the previous measurement time point by the reset detection. A correction unit that adds to the counter type data at the time point and corrects the counter type data that has returned to “0” by the reset, and the previous counter type data and the corrected counter type data at the present measurement time point. And a calculating means for obtaining a statistical value of the traffic for each fixed time by obtaining a difference. It is characterized. Further, the invention according to claim 6 is the invention according to claim 4 or 5, further comprising an interpolating unit for linearly interpolating the counter type data before and after the specific time. It has a feature.

【0014】また、請求項7記載の発明は、請求項4〜
6の何れかの項記載のトラヒック測定システムとネット
ワークノードを有するコンピュータネットワークであっ
て、前記トラヒック測定システムが複数設けられてお
り、前記各トラヒック測定システムは、前記ネットワー
クノードの有する複数のポートを一台のトラヒック測定
システムで測定することを特徴としている。また、請求
項8記載の発明は、請求項7記載の発明において、前記
トラヒック測定システムがそれぞれ正常に動作している
ことを監視するとともに、特定の測定システムで障害が
発生したことを検出して、該特定の測定システム以外の
他の測定システムヘ切り替えを行う管理システムを具備
することを特徴としている。また、請求項9記載の発明
は、請求項8記載の発明において、前記ネットワークノ
ードによって一般ネットワークと管理用ネットワークに
分離されるコンピュータネットワークであって、前記ト
ラヒック測定システム及び前記管理システムが、前記管
理用ネットワーク内に設けられていることを特徴として
いる。
The invention according to claim 7 is the invention according to claims 4 to 4.
7. A computer network having the traffic measurement system according to any one of 6 above and a network node, wherein a plurality of the traffic measurement systems are provided, and each traffic measurement system has a plurality of ports that the network node has. The feature is that it is measured by a traffic measurement system of one unit. In the invention according to claim 8, in the invention according to claim 7, while monitoring that each of the traffic measurement systems is operating normally, the fact that a failure has occurred in a specific measurement system is detected. A management system for switching to another measurement system other than the specific measurement system is provided. The invention according to claim 9 is the computer network according to the invention according to claim 8, which is divided into a general network and a management network by the network node, wherein the traffic measurement system and the management system are the management networks. It is characterized in that it is provided in the communication network.

【0015】[0015]

【発明の実施の形態】以下、図面を参照して本発明の一
実施形態について説明する。以下では、最初に、正確な
トラヒックの統計値を算出する方法の概要について説明
し、次いで、本実施形態によるトラヒック測定システム
についてその詳細を説明する。まず、SNMPを用いて
一定時間間隔でオクテットカウンタ,スループットバリ
アブル,sysUpTime(MIB2 system group)を測定す
る。ここで、sysUpTime はネットワークノードが起動し
てからの秒数をミリ秒単位でカウントしたカウンタ値で
ある。次に、測定されたオクテットカウンタ値に対し、
以下の手順で補正,補間を行って正確なトラヒックの統
計値を算出する。
DETAILED DESCRIPTION OF THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. In the following, first, an outline of a method for calculating an accurate traffic statistical value will be described, and then the traffic measurement system according to the present embodiment will be described in detail. First, the octet counter, throughput variable, and sysUpTime (MIB2 system group) are measured at regular time intervals using SNMP. Here, sysUpTime is a counter value that counts the number of seconds since the network node started up in milliseconds. Then, for the measured octet counter value,
Correct and interpolate by the following procedure to calculate accurate traffic statistics.

【0016】(1)カウンタの補正 リセット補正 今回測定されたsysUpTimeと前回測定されたsysUpTimeを
比較して、前回の測定から今回の測定までの間にリセッ
トがあったかどうかを判断する。もしリセットがあった
と判断された場合には、前回のオクテットカウンタの値
を今回測定されたオクテットカウンタに加算することで
補正を行う(図1を参照;詳細は後述)。これに対し、
リセットがないと判断された場合には何もしない。
(1) Counter Correction Reset Correction The sysUpTime measured this time and the sysUpTime measured last time are compared to determine whether or not there was a reset between the last measurement and the present measurement. If it is determined that there is a reset, the correction is performed by adding the value of the previous octet counter to the octet counter measured this time (see FIG. 1; details will be described later). In contrast,
If it is determined that there is no reset, do nothing.

【0017】 周回数補正 スループットバリアブルから、前回の測定と今回の測定
との間に流れたオクテット数を算出し、算出されたオク
テット数の値から周回数を算出する。そして、周回数が
“1”以上の場合には、周回数×(232−1)を今回の
スループットバリアブルに加算して補正する(図2を参
照;詳細は後述)。これに対し、周回がない場合には何
もしない。
The number of octets that has flowed between the previous measurement and the current measurement is calculated from the number of laps correction throughput variable, and the number of laps is calculated from the value of the calculated octet number. If the number of laps is “1” or more, the number of laps × (2 32 −1) is added to the current throughput variable for correction (see FIG. 2; details will be described later). On the other hand, if there is no lap, nothing is done.

【0018】(2)測定データの補間 統計化に必要な測定データに漏れが生じた場合には、前
後のオクテットカウンタの値を用いてそれらの間を線形
補間して、漏れたオクテットカウンタの値を推定する
(図3(a)を参照;詳細は後述)。また、測定遅延に
より、統計化を行う際に必要となる特定の時刻における
オクテットカウンタの値が得られない場合には、その値
を前後の測定値の間の線形補間によって求める(図3
(b)を参照;詳細は後述)。 (3)統計値の算出 統計化に必要なデータ間の差を求めることで統計化する
(図4を参照;詳細は後述)。すなわち、“(2)測定
データの補間”で求められた統計化に必要な時間のオク
テットカウンタの前後の値の差を求めることで統計値が
得られる。
(2) Interpolation of measurement data If a leak occurs in the measurement data necessary for statisticalization, the values of the octet counters before and after are used to linearly interpolate them, and the value of the leaked octet counter is lost. (See FIG. 3A; details will be described later). Further, when the value of the octet counter at a specific time required for performing the statistic cannot be obtained due to the measurement delay, the value is obtained by linear interpolation between the measured values before and after (see FIG. 3).
See (b); details are given below). (3) Calculation of statistic value The statistic is calculated by obtaining the difference between the data necessary for statisticization (see FIG. 4; details will be described later). That is, the statistical value can be obtained by obtaining the difference between the values before and after the octet counter of the time required for the statistic obtained in “(2) Interpolation of measurement data”.

【0019】次に、図5を参照して本発明の一実施形態
によるトラヒック測定システムについて説明する。同図
は本実施形態によるトラヒック測定システムを備えたコ
ンピュータネットワークの構成を示すブロック図であ
る。なお、以下ではまずトラヒック測定システムの構成
について説明し、その後に、トラヒック測定システム内
部の動作について説明することとする。
Next, a traffic measuring system according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of a computer network equipped with the traffic measurement system according to this embodiment. In the following, the configuration of the traffic measurement system will be described first, and then the operation inside the traffic measurement system will be described.

【0020】〔構成の説明〕図5は、ルータの各ポート
のトラヒックを統計値として算出するトラヒック測定シ
ステムを例示したものである。そのために、2台のCisc
o 社製のルータ1,2に対してルータ毎に測定システム
3,4を配置し、各測定システムが各ルータのポートに
出入りするトラヒックを測定している。なお、ルータ1
は顧客C1〜C3と接続し、ルータ2は顧客C4〜C5
と接続している。ここで、ルータ1,2は何れも同じ構
成であることから、図5ではルータ1のみについてその
詳細な構成を示してある。このことは、測定システム
3,4についても同様であり、図5では測定システム3
についてだけ詳細構成を示している。
[Description of Configuration] FIG. 5 exemplifies a traffic measurement system that calculates the traffic of each port of the router as a statistical value. For that, two Cisc
o Measuring systems 3 and 4 are installed for each of the routers 1 and 2 manufactured by the company, and each measuring system measures the traffic entering and leaving the port of each router. In addition, router 1
Connects to customers C1 to C3, and router 2 connects customers C4 to C5
Connected with. Since the routers 1 and 2 have the same configuration, only the router 1 is shown in detail in FIG. This also applies to the measurement systems 3 and 4, and in FIG.
Only the detailed configuration is shown.

【0021】(1)システムの相互バックアップ 本測定システムは、一台の測定システムで複数のルータ
の複数のポートを測定することができる。こうした構成
とすることにより、複数の測定システムで負荷分散を行
うとともに、ある測定システムに障害が発生した場合に
は他の測定システムでカバーする。さらに、測定システ
ム間で測定データを相互バックアップするようにしてい
る。
(1) Mutual backup of system This measuring system can measure a plurality of ports of a plurality of routers with one measuring system. With such a configuration, the load is distributed by a plurality of measurement systems, and when a failure occurs in one measurement system, the other measurement system covers it. Further, the measurement data are backed up between the measurement systems.

【0022】(2)管理システムの導入 測定システム3,4の管理を行うための管理システム5
を導入する。この管理システム5の機能としては、測定
システムが正常に動作していることの監視,異常時のト
ラップによる通知,GUI(Graphical User Interfac
e)を用いた測定システムの設定支援,特定測定システ
ムの障害時における他の測定システムヘの測定自動切り
替えなどがある。
(2) Introduction of management system Management system 5 for managing the measurement systems 3 and 4
To introduce. The functions of the management system 5 include monitoring that the measurement system is operating normally, notification by a trap when an error occurs, and GUI (Graphical User Interfac).
This includes support for setting the measurement system using e), automatic switching of measurement to another measurement system when a specific measurement system fails.

【0023】(3)管理用ネットワークの構築 通常利用する一般ネットワーク6とは独立して管理用ネ
ットワーク7を構築する。このように管理用のトラヒッ
クを分離することで、測定システム3,4間の自由な通
信や、管理システム5による測定システムの監視を支援
する構成としている。
(3) Construction of Management Network A management network 7 is constructed independently of the general network 6 normally used. By separating the traffic for management in this way, it is configured to support free communication between the measurement systems 3 and 4 and monitoring of the measurement system by the management system 5.

【0024】なお、前述したように、ルータ1は機器の
管理情報であるMIB11とSNMPエージェント12
を有している。SNMPエージェント12は、測定シス
テム1側からSNMPリクエストが送られると、MIB
11を参照して特定MIB値を含んだSNMPレスポン
ス(図中のオクテットカウンタ,スループットバリアブ
ル,sysUpTime )を測定システム1側へ返す。そして以
上のことはルータ2についても同様である。また、各測
定システムは、以下に詳述する動作を行う測定プロセス
31,統計化プロセス32と、測定データを格納するた
めのデータファイル33を有している。
As described above, the router 1 has the MIB 11 and the SNMP agent 12 which are the management information of the equipment.
have. When the SNMP request is sent from the measurement system 1 side, the SNMP agent 12 receives the MIB
11, an SNMP response (octet counter, throughput variable, sysUpTime in the figure) including the specific MIB value is returned to the measurement system 1 side. The same applies to the router 2 as well. Further, each measurement system has a measurement process 31, a statistic process 32, and a data file 33 for storing measurement data, which performs the operations described in detail below.

【0025】〔測定システム内部の説明〕測定システム
3又は測定システム4では、測定プロセス31,統計化
プロセス32がそれぞれ測定処理,統計化処理を行って
いる。そこで以下、これら各プロセスについて順次説明
してゆく。 ■測定プロセス 測定プロセス31では、以下に列挙する5種類のMIB
値を5分毎に測定して、測定日時,測定対象ルータ名
(もしくはIP(Internet Protocol)アドレス)ととも
にデータファイル33に出力する。 ・ifInOctets (MIB2 interface Group) ・ifOutOctets(MIB2 interface Group) ・sysUpTime (MIB2 system Group) ・locIfInBitsSec (Cisco private MIB linterface
group) ・locIfOutBitsSec(Cisco private MIB linterface
group)
[Explanation of Inside of Measurement System] In the measurement system 3 or the measurement system 4, the measurement process 31 and the statistic process 32 perform the measurement process and the statistic process, respectively. Therefore, each of these processes will be sequentially described below. ■ Measurement process The measurement process 31 consists of five MIBs listed below.
The value is measured every 5 minutes and is output to the data file 33 together with the measurement date and time and the measurement target router name (or IP (Internet Protocol) address).・ IfInOctets (MIB2 interface Group) ・ ifOutOctets (MIB2 interface Group) ・ sysUpTime (MIB2 system Group) ・ locIfInBitsSec (Cisco private MIB linterface
group) locIfOutBitsSec (Cisco private MIB linterface
group)

【0026】■統計化プロセス 統計化プロセス32は、測定プロセス31によって作成
されたデータファイル33を基にして、1時間毎の統計
値を算出する。そこで以下に具体的な補正方式及び統計
化方式を記す。
(3) Statistical Process The statistical process 32 calculates a statistical value for each hour based on the data file 33 created by the measurement process 31. Therefore, specific correction methods and statistical methods will be described below.

【0027】(1)リセット補正 以下のリセット検知・補正アルゴリズムによって、リセ
ットの有無を判断して補正を行う。 〈リセット検知・補正アルゴリズム〉 今回の測定におけるsysUpTimeの理論値の算出 前回測定を行った時刻と今回の測定時刻との時間間隔
(測定間隔T)を計算して、前回測定されたsysUpTime
に加算する。ここで、今回の測定時点でsysUpTimeが達
すると考えられる理論値を sysUpTime(理論値)とし、
前回の測定において測定されたsysUpTimeの値をsysUpTi
me(前回の測定値)とする。すると、sysUpTime(理論
値)は次式で算出される。 sysUpTime(理論値) = sysUpTime(前回の測定値)+
(1) Reset Correction The following reset detection / correction algorithm is used to determine the presence or absence of reset and perform correction. <Reset detection / correction algorithm> Calculation of the theoretical value of sysUpTime in this measurement The time interval (measurement interval T) between the time of the previous measurement and the measurement time of this time is calculated, and the sysUpTime previously measured
Add to. Here, sysUpTime (theoretical value) is the theoretical value that sysUpTime is supposed to reach at the time of this measurement,
The value of sysUpTime measured in the previous measurement is set to sysUpTi
Let me (previous measurement value). Then, sysUpTime (theoretical value) is calculated by the following equation. sysUpTime (theoretical value) = sysUpTime (previous measurement value) +
T

【0028】 リセット判断 いま、手順で算出されたsysUpTimeの理論値をsysUpTi
me(理論値),今回の測定において測定されたsysUpTim
eの値をsysUpTime(測定値)とし、以下のようにリセッ
トの有無を判定する。 sysUpTime(測定値) ≧ sysUpTime(理論値)の場合 → リセット無し sysUpTime(測定値) < sysUpTime(理論値)の場合 sysUpTime(理論値)≧ 232−1 の場合 → リセット無し sysUpTime(理論値)< 232−1 の場合 → リセット有り そして、リセットが検知された場合は、前回測定したオ
クテットカウンタの値を今回測定したオクテットカウン
タの値に加算して補正を行う。一方、リセットがない場
合は何もせずに、“(2)周回数補正”へ進む。
Reset decision Now, the theoretical value of sysUpTime calculated in the procedure is set to sysUpTi
me (theoretical value), sysUpTim measured in this measurement
The value of e is defined as sysUpTime (measured value), and the presence or absence of reset is determined as follows. sysUpTime (measured value) ≥ sysUpTime (theoretical value) → no reset sysUpTime (measured value) <sysUpTime (theoretical value) sysUpTime (theoretical value) ≥ 2 32 -1 → no reset sysUpTime (theoretical value) < In the case of 2 32 -1 → Reset is performed. And, if reset is detected, the value of the octet counter measured last time is added to the value of the octet counter measured this time to perform correction. On the other hand, if there is no reset, nothing is done and the process proceeds to “(2) Correction of number of laps”.

【0029】ここで、図1は、測定と測定の間にオクテ
ットカウンタの周回が発生した場合において、リセット
補正が行われる様子を示す図である。同図において、横
軸は時間(time),縦軸はオクテットカウンタ値(Octe
t )であって、これは後掲する図2〜図4でも同じであ
る。図1において、時刻t11は前回の測定時刻,時刻t
12はネットワークノードがダウンした時刻,時刻t13
ダウン後に行われたリセットでネットワークノードが再
び起動したときの時刻,時刻t14は今回の測定時刻,T
は測定間隔である。そして、図示した通り、前回の測定
時点(時刻t11)でのオクテットカウンタ値が“r”で
あることから、今回の測定(時刻t14)の際に、測定さ
れたオクテットカウンタ値に“r”を加える補正を行っ
ている。
Here, FIG. 1 is a diagram showing how the reset correction is performed when the octet counter makes a revolution between the measurements. In the figure, the horizontal axis represents time, and the vertical axis represents the octet counter value (Octe
t), which is the same in FIGS. 2 to 4 described later. In FIG. 1, time t 11 is the last measurement time, time t
12 is the time when the network node is down, time t 13 is the time when the network node is restarted due to the reset performed after the down, time t 14 is the current measurement time, T
Is the measurement interval. Then, as shown in the figure, since the octet counter value at the previous measurement time point (time t 11 ) is “r”, the measured octet counter value becomes “r” at the time of the current measurement (time t 14 ). "I am making a correction.

【0030】(2) 周回数補正 Cisco社のloclfInBitsSec から、過去5分間の流量
の概算値を次式に従って算出する。 過去5分間の流量の概算値 = locIfInBitsSec×300
/8 ここで、“300”は5分間を秒で表したものであり、
また、“8”はbitをbyteに変換するためのものであ
る。これは、locIfInBitsSecの単位が〔bit/sec〕であ
って、その単位をifInOctetsの単位〔byte〕に合わせる
ためである。なお、この式は入力の値を求める場合であ
って、出力の値を計算する場合にはloclfInBitsSecの代
わりにlocIfOutBitsSecを用いる。
(2) Correction of number of revolutions From loclfInBitsSec of Cisco, an approximate value of the flow rate for the past 5 minutes is calculated according to the following formula. Approximate flow rate for the last 5 minutes = locIfInBitsSec x 300
/ 8 where "300" is 5 minutes in seconds,
Further, "8" is for converting bit into byte. This is because the unit of locIfInBitsSec is [bit / sec] and the unit is adjusted to the unit of [byte] of ifInOctets. It should be noted that this formula is for obtaining an input value, and when calculating an output value, locIfOutBitsSec is used instead of loclfInBitsSec.

【0031】 で計算された概算値を用いること
で、以下の周回数推定方法に従って周回数を推定する。 〈周回数推定方法〉 次式によって周回数nを算出する。 周回数n = int[(p+a−b)/max] ここで、“a”は前回測定されたオクテットカウンタの
値,“b”は今回測定されたオクテットカウンタの値,
“max”は定数(232−1),“p”はスループット
バリアブル(の概算値)から推定されるオクテット数
である。また、“int[ ]”は括弧内の値の小数部分を
切り捨てる演算を表す。
By using the approximate value calculated in, the number of laps is estimated according to the following method of estimating the number of laps. <Round number estimation method> The number of rounds n is calculated by the following formula. Number of revolutions n = int [(p + a-b) / max] where "a" is the value of the octet counter measured last time, "b" is the value of the octet counter measured this time,
“Max” is a constant (2 32 −1), and “p” is the number of octets estimated from (an approximate value of the throughput variable). Further, "int []" represents an operation for cutting off the fractional part of the value in parentheses.

【0032】 で計算された周回数nを用いてオク
テットカウンタを補正する。そして、前回の測定時点か
ら今回の測定時点までに流れたオクテット数は次の“周
回数補正方法”によって算出される。 〈周回数補正方法〉 octets = b−a+n×max
The octet counter is corrected using the number of revolutions n calculated in. Then, the number of octets flowing from the previous measurement time to the current measurement time is calculated by the following “circulation number correction method”. <Method of correcting the number of laps> octets = b−a + n × max

【0033】ここで、図2は、上述したリセット検知・
補正アルゴリズムに従ってリセットの有無を判断した結
果、リセットが有ったと判定されたときに行われる周回
数補正の様子を示した図である。図中、時刻t21,t22
はそれぞれ前回の測定時刻,今回の測定時刻である。ま
た、図2で“周回数推定方法”に基づく計算の結果、2
回の周回(即ち、n=2)が発生したと計算された場合
について示してある。それゆえ図2では、時刻t22にお
いて、今回測定されたオクテットカウンタの値”b”に
対して“2×max”を加算している。
Here, FIG. 2 shows the reset detection and
FIG. 9 is a diagram showing a state of lap number correction performed when it is determined that there is a reset as a result of determining the presence or absence of a reset according to a correction algorithm. In the figure, times t 21 and t 22
Are the previous measurement time and the current measurement time, respectively. In addition, in FIG. 2, the result of the calculation based on the “circulation number estimation method” is 2
A case is shown in which it is calculated that one round (ie, n = 2) has occurred. Therefore, in FIG. 2, “2 × max” is added to the value “b” of the octet counter measured this time at time t 22 .

【0034】(3)統計化に必要なデータの補間 統計化に必要なデータ(ここでは各時間ちょうどの測定
値)が漏れている場合、もしくは、測定遅延によりその
時間のデータが遅れて測定されている場合には、前後の
オクテットカウンタの値を線形補間して、各時間ちょう
どのオクテットカウンタの値を算出する。
(3) Interpolation of data required for statisticization When data required for statisticization (here, measured values at each time) are leaked, or data at that time is delayed and measured due to measurement delay. In this case, the values of the octet counter before and after are linearly interpolated to calculate the value of the octet counter at each time.

【0035】ここで、図3はデータの補間を行う様子を
示した図である。このうち、図3(a)は測定漏れを補
う場合の図であって、時刻t31,t33,t34,t35では
何れも測定できたが、本来測定すべき時刻t34では測定
ができなかった場合を示している。そして、破線の矩形
は時刻t34で測定できなかったオクテットカウンタの値
を示すとともに、時刻t33,t35で各々測定されたオク
テットカウンタの値から、“●”で示される補間値を得
ていることを示している。一方、図3(b)は統計化な
どの際に特定の時刻のオクテットカウンタ値を求めると
きの様子を示した図であり、時刻t36,t37,t39にお
いて測定できたことを示している。そして、この場合は
時刻t38についてオクテットカウンタ値を求めたいこと
から、時刻t36,t37の間を補間して“●”で示す補間
値を得ている。
Here, FIG. 3 is a diagram showing how data is interpolated. Of these, FIG. 3A is a diagram in the case of compensating for the measurement omission, and at any of the times t 31 , t 33 , t 34 , and t 35 , it was possible to make a measurement, but at the time t 34 that is supposed to be measured, It shows the case where it could not be done. The dashed rectangle with indicating the value of the octet counter that can not be measured at time t 34, from each measured value of the octet counter at time t 33, t 35, "● " to obtain an interpolated value represented by It indicates that On the other hand, FIG. 3 (b) is a diagram showing a state in which the octet counter value at a specific time is obtained in the case of statisticization, etc., and shows that the measurement can be performed at the times t 36 , t 37 , and t 39 . There is. In this case, since it is desired to obtain the octet counter value at the time t 38 , the time t 36 and the time t 37 are interpolated to obtain the interpolated value indicated by "●".

【0036】(4)統計化 上記で求められた各時間ちょうどの測定値をもとに、1
時間前のオクテットカウンタとの差を求めることによっ
て、統計値を求める。ここで、図4は統計化を行う際の
様子を示した図であり、統計化間隔TSだけ離れた時刻
41,t42におけるオクテットカウンタ値の間の差を求
めて統計値Sを得ている。
(4) Statistical calculation Based on the measured values at each time obtained above, 1
The statistical value is obtained by obtaining the difference from the octet counter before the time. Here, FIG. 4 is a diagram showing a state at the time of performing the statistic, in which the difference between the octet counter values at the times t 41 and t 42 separated by the statistic interval TS is obtained to obtain the statistic value S. There is.

【0037】以上をまとめると、〔発明が解決しようと
する課題〕で述べたとおり、ネットワークノードに標準
として備わっている測定手段では、トラヒックを表わす
項目がカウンタ型になっている。これに伴う問題とし
て、オクテットカウンタの周回やリセットによって大き
な影響を受けることが挙げられる。また、SNMPを用
いてデータを取得する際の問題として、ルータの高負荷
やネットワークの輻輳によって測定データの漏れや測定
の遅延が発生する。
To summarize the above, as described in [Problems to be Solved by the Invention], in the measuring means provided as standard in the network node, the item representing traffic is of the counter type. A problem with this is that it is greatly affected by the revolution and reset of the octet counter. Further, as a problem when acquiring data using SNMP, leakage of measurement data and delay of measurement occur due to high load of the router and congestion of the network.

【0038】これに対し、本発明は以下の3つの手法を
用いることで、これらの問題が発生しても正確に一定時
間の統計値を算出することができる。 オクテットカウンタの周回数補正によって、ある程
度長時間間隔(即ち、SNMPによる測定と測定との間
にオクテットカウンタが2周以上する可能性のある測定
間隔)の測定であっても、周回数を推定してオクテット
カウンタ値を補正することができる。 リセット補正によって、オクテットカウンタの周回
とリセットによってオクテットカウンタが“0”に戻る
現象とを区別することができる。また、リセットによっ
てオクテットカウンタが“0”に戻ってもトラヒックデ
ータを補正することができる。 統計化に必要なデータを補間することによって、測
定データの漏れや測定遅延が発生しても統計化に必要な
データを推定することができる。
On the other hand, according to the present invention, by using the following three methods, it is possible to accurately calculate the statistical value for a fixed time even if these problems occur. Even if the measurement is made for a certain long time interval (that is, the measurement interval in which the octet counter may make two or more laps between the measurements by SNMP), the lap count can be estimated by correcting the lap count of the octet counter. It is possible to correct the octet counter value. By the reset correction, it is possible to distinguish between the circulation of the octet counter and the phenomenon that the octet counter returns to "0" by the reset. Further, the traffic data can be corrected even if the octet counter returns to "0" by the reset. By interpolating the data required for the statistic, the data required for the statistic can be estimated even if the measurement data is leaked or the measurement delay occurs.

【0039】[0039]

【発明の効果】以上説明したように、請求項1又は4記
載の発明では、ネットワークノードの持つ管理情報に基
づいて、前回及び今回の測定時点の間に流れた流量を推
定し、この流量ならびに前回及び今回の測定時点のカウ
ンタ型データから、前回及び今回の測定時点の間におけ
るカウンタ型データの周回数を推定し、この周回数に応
じて今回の測定時点のカウンタ型データを補正してい
る。これにより、測定と測定の間でカウンタ型データが
2周以上する可能性があるような時間間隔の長い測定で
あっても、正確に一定時間間隔で統計値を算出すること
ができるため、ネットワークノードからトラヒック測定
を行う際の正確性が向上する。
As described above, according to the invention described in claim 1 or 4, based on the management information of the network node, the flow rate that has flowed between the previous measurement time and the current measurement time is estimated, and this flow rate and The number of laps of the counter type data between the previous and present measurement time points is estimated from the counter type data at the previous and present measurement points, and the counter type data at the present measurement point is corrected according to the number of laps. . As a result, it is possible to accurately calculate the statistical value at a constant time interval even if the measurement has a long time interval such that the counter type data may make two or more rounds between the measurements. The accuracy of traffic measurement from the node is improved.

【0040】また、請求項2又は5記載の発明では、ネ
ットワークノードの持つ管理情報に基づいて、前回及び
今回の測定時点の間におけるネットワークノードのリセ
ットを検出して、リセットで“0”に戻ってしまったカ
ウンタ型データの補正を行っている。これにより、ダウ
ン等によってネットワークノードがリセットされたとし
ても、一定時間間隔の統計値を正確に算出することがで
きるため、ネットワークノードからトラヒック測定を行
う際の正確性が向上する。また、請求項3又は6記載の
発明では、特定の時刻におけるカウンタ型データを当該
時刻の前後に測定されたカウンタ型データを線形補間す
ることで求めている。これにより、ネットワークノード
の高負荷やネットワークの輻輳によって、測定すべき管
理情報の漏れや測定遅延が発生するような状況であって
も、正確に一定時間の統計値を算出することができるた
め、ネットワークノードからトラヒック測定を行う際の
正確性が向上する。
Further, in the invention according to claim 2 or 5, based on the management information of the network node, a reset of the network node between the previous measurement time and the current measurement time is detected and reset to "0". We are correcting counter type data that has been lost. As a result, even if the network node is reset due to a down or the like, it is possible to accurately calculate the statistic value at a fixed time interval, so that the accuracy of the traffic measurement from the network node is improved. In the invention according to claim 3 or 6, the counter type data at a specific time is obtained by linearly interpolating the counter type data measured before and after the time. As a result, due to the high load of the network node or the congestion of the network, even in a situation where the management information to be measured is leaked or the measurement delay occurs, it is possible to accurately calculate the statistical value for a certain period of time. Improves accuracy when making traffic measurements from network nodes.

【0041】また、請求項7記載の発明では、トラヒッ
ク測定システムが複数設けられたネットワーク環境にお
いて、ネットワークノードの持つ複数のポートを一台の
トラヒック測定システムで測定できるようにしている。
これにより、ネットワークノードからトラヒックを測定
する際には、トラヒック測定システムとネットワークノ
ードの間でSNMP等による通信が可能であれば測定を
行えることになる。それゆえ、トラヒック測定システム
を分散させることによって、処理の負荷分散が可能にな
る。また、トラヒック測定システム間で測定した管理情
報の相互バックアップを行うことができることから、信
頼性の高いトラヒック測定システムを構築することがで
きる。
According to the seventh aspect of the invention, in a network environment in which a plurality of traffic measurement systems are provided, a plurality of ports of network nodes can be measured by one traffic measurement system.
Accordingly, when the traffic is measured from the network node, the measurement can be performed if the communication such as the SNMP can be performed between the traffic measurement system and the network node. Therefore, the processing load can be distributed by distributing the traffic measurement system. Moreover, since the management information measured between the traffic measurement systems can be backed up mutually, a highly reliable traffic measurement system can be constructed.

【0042】また、請求項8記載の発明では、管理シス
テムを設けて、各トラヒック測定システムが正常に動作
しているか監視するとともに、特定のトラヒック測定シ
ステムで障害が発生した場合には、これ以外の他のトラ
ヒック測定システムヘ切り替えを行うようにしている。
これにより、あるトラヒック測定システムに障害が発生
しても他のトラヒック測定システムでカバーすることに
よって、耐故障性を向上させられる。また、測定対象と
するネットワークノードやネットワークノード内のポー
トの追加,削除をするにあたって、ハードウェアの接続
などの作業が不要となることから、あるトラヒック測定
システムに障害が発生しても、自動的に他のトラヒック
測定システムで測定を開始させることができ、信頼性の
高いトラヒック測定システムを構築することが可能とな
る。
Further, in the invention according to claim 8, a management system is provided to monitor whether or not each traffic measurement system is operating normally, and when a failure occurs in a specific traffic measurement system, other than this. It switches to another traffic measurement system.
As a result, even if a traffic measurement system fails, another traffic measurement system can cover it, thereby improving fault tolerance. In addition, when adding or deleting network nodes to be measured or ports in network nodes, work such as hardware connection is not required, so even if a traffic measurement system fails, Therefore, it is possible to start the measurement with another traffic measurement system, and it is possible to construct a highly reliable traffic measurement system.

【0043】また、請求項9記載の発明では、ネットワ
ークノードによって一般ネットワークと分離された管理
用ネットワーク内にトラヒック測定システム及び管理シ
ステムを設けるようにしている。これにより、管理用の
トラヒックを分離して、トラヒック測定システム間の自
由な通信や、管理システムによるトラヒック測定システ
ムの監視を支援することが可能となる。
According to the ninth aspect of the invention, the traffic measuring system and the management system are provided in the management network separated from the general network by the network node. This makes it possible to separate management traffic and support free communication between traffic measurement systems and monitoring of the traffic measurement system by the management system.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の一実施形態による周回数推定方法に
従って計算した結果、測定と測定の間に周回が発生して
いると判断された場合の周回数補正方法の様子を示した
説明図である。
FIG. 1 is an explanatory diagram showing a state of a lap number correction method when a lap number is determined to occur between measurements as a result of calculation according to a lap number estimation method according to an embodiment of the present invention. is there.

【図2】 同実施形態によるリセット検知アルゴリズム
に従ってリセットの有無を判断した結果、リセットが有
ったと判断された場合におけるオクテットカウンタの補
正を行う様子を示した説明図である。
FIG. 2 is an explanatory diagram showing a state in which an octet counter is corrected when it is determined that there is a reset as a result of determining the presence or absence of a reset according to the reset detection algorithm according to the same embodiment.

【図3】 同実施形態によるデータの補間方法の様子を
示した説明図であって、(a)は純粋に測定漏れを補う
方法を説明した図,(b)は統計化などの際に特定の時
刻におけるオクテットカウンタ値を求める方法を説明し
た図である。
3A and 3B are explanatory diagrams showing a state of a data interpolation method according to the same embodiment, FIG. 3A is a diagram for explaining a method of purely supplementing a measurement omission, and FIG. It is a figure explaining the method of calculating | requiring the octet counter value in the time of.

【図4】 同実施形態における統計化の様子を示した説
明図である。
FIG. 4 is an explanatory diagram showing a state of statisticalization in the same embodiment.

【図5】 同実施形態によるトラヒック測定システムを
備えたコンピュータネットワークの構成を示すブロック
図である。
FIG. 5 is a block diagram showing a configuration of a computer network including the traffic measurement system according to the same embodiment.

【符号の説明】[Explanation of symbols]

1,2 ルータ 3,4 測定システム 5 管理システム 6 一般ネットワーク 7 管理用ネットワーク 11 MIB 12 SNMPエージェント 31 測定プロセス 32 統計化プロセス 33 データファイル 1, 2 router 3,4 measuring system 5 management system 6 General network 7 management network 11 MIB 12 SNMP agents 31 Measurement process 32 Statistics process 33 data files

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平7−250077(JP,A) 特開 平10−28145(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 29/14 G06F 13/00 353 H04L 12/24 H04L 12/26 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-7-250077 (JP, A) JP-A-10-28145 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 29/14 G06F 13/00 353 H04L 12/24 H04L 12/26

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ネットワークのトラヒック測定のための
トラヒックデータ補正方法であって、 前記ネットワークに設けられたネットワークノードが持
つ管理情報の中からカウンタ型データを含む管理情報を
周期的に測定し、前回及び今回の測定時点のカウンタ型
データの差を求めて一定時間毎にトラヒックの統計値を
求める際に、 前記管理情報に基づいて、前回の測定時点と今回の測定
時点の間に流れた流量を推定し、 前回及び今回の測定時点のカウンタ型データならびに前
記流量から、前回の測定時点と今回の測定時点の間にお
ける前記カウンタ型データの周回数を推定し、 今回の測定時点のカウンタ型データを前記周回数に応じ
たカウント値で補正することを特徴とするトラヒックデ
ータ補正方法。
1. A traffic data correction method for measuring traffic of a network, wherein management information including counter type data is periodically measured from among management information of a network node provided in the network, When calculating the difference between the counter-type data at the time of this measurement and the statistical value of the traffic at regular intervals, the flow rate between the time of the previous measurement and the time of this measurement is calculated based on the management information. Estimate and estimate the number of laps of the counter-type data between the previous measurement time and the current measurement time from the counter-type data at the previous measurement time and the current measurement time, and the flow rate. A traffic data correction method characterized in that correction is performed with a count value according to the number of turns.
【請求項2】 ネットワークのトラヒック測定のための
トラヒックデータ補正方法であって、 前記ネットワークに設けられたネットワークノードが持
つ管理情報の中からカウンタ型データを含む管理情報を
周期的に測定し、前回及び今回の測定時点のカウンタ型
データの差を求めて一定時間毎にトラヒックの統計値を
求める際に、 前記管理情報に基づいて、前回の測定時点と今回の測定
時点の間における前記ネットワークノードのリセットの
有無を判断し、 前記リセットが検出された場合に、前回の測定時点のカ
ウンタ型データを今回の測定時点のカウンタ型データに
加算して、前記リセットで“0”に戻った前記カウンタ
型データの補正を行うことを特徴とするトラヒックデー
タ補正方法。
2. A traffic data correction method for measuring traffic of a network, wherein management information including counter type data is periodically measured from among management information held by a network node provided in the network, And when obtaining the statistical value of the traffic at regular time intervals by obtaining the difference between the counter-type data at the current measurement time, based on the management information, the network node of the network node between the last measurement time and the current measurement time. The presence or absence of a reset is determined, and when the reset is detected, the counter type data at the time of the previous measurement is added to the counter type data at the time of the current measurement, and the counter type returned to “0” by the reset. A traffic data correction method characterized by correcting data.
【請求項3】 特定の時刻における前記カウンタ型デー
タを該時刻の前後のカウンタ型データを線形補間して求
めることを特徴とする請求項1又は2記載のトラヒック
データ補正方法。
3. The traffic data correction method according to claim 1, wherein the counter type data at a specific time is obtained by linearly interpolating the counter type data before and after the time.
【請求項4】 ネットワークのトラヒックを測定するト
ラヒック測定システムにおいて、 カウンタ型データを含む管理情報を前記ネットワークに
設けられたネットワークノードから一定時間毎に測定す
る測定手段と、 前記管理情報に基づいて、前回の測定時点と今回の測定
時点の間に流れた流量を推定する流量推定手段と、 前回及び今回の測定時点のカウンタ型データならびに前
記流量から、前回の測定時点と今回の測定時点の間にお
ける前記カウンタ型データの周回数を推定する周回数推
定手段と、 今回の測定時点のカウンタ型データを前記周回数に応じ
たカウント値で補正する補正手段と、 前回のカウンタ型データと前記補正された今回の測定時
点のカウンタ型データの差を求めて前記一定時間毎のト
ラヒックの統計値を求める算出手段とを具備することを
特徴とするトラヒック測定システム。
4. A traffic measuring system for measuring traffic of a network, comprising: measuring means for measuring management information including counter type data from a network node provided in the network at regular intervals; and based on the management information, A flow rate estimating means for estimating the flow rate that has flowed between the previous measurement time point and the current measurement time point, and the counter type data and the flow rate at the previous measurement time point and the current measurement time point from the previous measurement time point to the current measurement time point. A round number estimating means for estimating the round number of the counter type data, a correcting means for correcting the counter type data at the time of the current measurement with a count value according to the round number, and a counter type data of the previous time and the corrected number. A calculator that calculates the statistical value of the traffic for each fixed time by calculating the difference between the counter type data at the time of this measurement Traffic measurement system, characterized by comprising and.
【請求項5】 ネットワークのトラヒックを測定するト
ラヒック測定システムにおいて、 カウンタ型データを含む管理情報を前記ネットワークに
設けられたネットワークノードから一定時間毎に測定す
る測定手段と、 前記管理情報に基づいて、前回の測定時点と今回の測定
時点の間における前記ネットワークノードのリセットを
検出する検出手段と、 前記リセットの検出によって、前回の測定時点のカウン
タ型データを今回の測定時点のカウンタ型データに加算
して、前記リセットで“0”に戻った前記カウンタ型デ
ータの補正を行う補正手段と、 前回のカウンタ型データと前記補正された今回の測定時
点のカウンタ型データの差を求めて前記一定時間毎のト
ラヒックの統計値を求める算出手段とを具備することを
特徴とするトラヒック測定システム。
5. A traffic measuring system for measuring traffic of a network, wherein measuring means for measuring management information including counter type data from a network node provided in the network at regular intervals, and based on the management information, Detecting means for detecting a reset of the network node between the previous measurement time point and the current measurement time point, and by detecting the reset, the counter type data at the previous measurement time point is added to the counter type data at the current measurement time point. Correction means for correcting the counter type data that has returned to "0" by the reset, and the difference between the previous counter type data and the corrected counter type data at the current measurement time point is calculated to obtain the fixed time interval Traffic measuring means for calculating statistical values of System.
【請求項6】 特定の時刻における前記カウンタ型デー
タを該時刻の前後のカウンタ型データを線形補間して求
める補間手段をさらに有することを特徴とする請求項4
又は5記載のトラヒック測定システム。
6. The method according to claim 4, further comprising an interpolating unit that obtains the counter type data at a specific time by linearly interpolating the counter type data before and after the time.
Alternatively, the traffic measurement system according to item 5.
【請求項7】 請求項4〜6の何れかの項記載のトラヒ
ック測定システムとネットワークノードを有するコンピ
ュータネットワークであって、 前記トラヒック測定システムが複数設けられており、 前記各トラヒック測定システムは、前記ネットワークノ
ードの有する複数のポートを一台のトラヒック測定シス
テムで測定することを特徴とするコンピュータネットワ
ーク。
7. A computer network having the traffic measurement system according to claim 4 and a network node, wherein a plurality of the traffic measurement systems are provided, and each of the traffic measurement systems is A computer network characterized by measuring a plurality of ports of a network node with a single traffic measurement system.
【請求項8】 前記トラヒック測定システムがそれぞれ
正常に動作していることを監視するとともに、特定の測
定システムで障害が発生したことを検出して、該特定の
測定システム以外の他の測定システムヘ切り替えを行う
管理システムを具備することを特徴とする請求項7記載
のコンピュータネットワーク。
8. A system for monitoring the normal operation of each of the traffic measurement systems and detecting the occurrence of a failure in a specific measurement system, and detecting the failure in a measurement system other than the specific measurement system. The computer network according to claim 7, further comprising a management system that performs switching.
【請求項9】 前記ネットワークノードによって一般ネ
ットワークと管理用ネットワークに分離されるコンピュ
ータネットワークであって、 前記トラヒック測定システム及び前記管理システムが、
前記管理用ネットワーク内に設けられていることを特徴
とする請求項8記載のコンピュータネットワーク。
9. A computer network separated into a general network and a management network by the network node, wherein the traffic measurement system and the management system include:
The computer network according to claim 8, wherein the computer network is provided in the management network.
JP06128298A 1998-03-12 1998-03-12 Traffic data correction method, traffic measurement system, and computer network Expired - Fee Related JP3392343B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06128298A JP3392343B2 (en) 1998-03-12 1998-03-12 Traffic data correction method, traffic measurement system, and computer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06128298A JP3392343B2 (en) 1998-03-12 1998-03-12 Traffic data correction method, traffic measurement system, and computer network

Publications (2)

Publication Number Publication Date
JPH11261670A JPH11261670A (en) 1999-09-24
JP3392343B2 true JP3392343B2 (en) 2003-03-31

Family

ID=13166701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06128298A Expired - Fee Related JP3392343B2 (en) 1998-03-12 1998-03-12 Traffic data correction method, traffic measurement system, and computer network

Country Status (1)

Country Link
JP (1) JP3392343B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3696023B2 (en) * 2000-01-31 2005-09-14 日立ソフトウエアエンジニアリング株式会社 Network configuration automatic recognition method and system having intelligent network relay device
JP4390649B2 (en) 2004-07-14 2009-12-24 富士通株式会社 Network loop detector
JP5637971B2 (en) * 2011-11-16 2014-12-10 エヌ・ティ・ティ・コムウェア株式会社 Monitoring device, monitoring method and program
JP6544013B2 (en) 2015-04-16 2019-07-17 富士通株式会社 Information processing apparatus, power consumption measurement program, and power consumption measurement method
JP6646201B2 (en) * 2015-07-27 2020-02-14 富士通株式会社 Information processing apparatus, power estimation program, and power estimation method

Also Published As

Publication number Publication date
JPH11261670A (en) 1999-09-24

Similar Documents

Publication Publication Date Title
US9577906B2 (en) Scalable performance monitoring using dynamic flow sampling
US7313141B2 (en) Packet sequence number network monitoring system
CA2649608C (en) Network latency analysis packet and method
US20210203578A1 (en) Round-Trip Time Evaluation System, Method, and Apparatus
US8045460B2 (en) Detection of routing loops based on time-to-live expiries
Talpade et al. NOMAD: Traffic-based network monitoring framework for anomaly detection
US20080159287A1 (en) EFFICIENT PERFORMANCE MONITORING USING IPv6 CAPABILITIES
EP3295612B1 (en) Uplink performance management
US10999205B2 (en) TCP performance predictor
US7472314B2 (en) System and method for monitoring link delays and faults in an IP network
EP3745652B1 (en) Enhanced two-way active measurement protocol
US9331951B2 (en) Path discovery in data transport networks based on statistical inference
US10742672B2 (en) Comparing metrics from different data flows to detect flaws in network data collection for anomaly detection
KR20030007845A (en) Method for measuring internet router traffic
JP3392343B2 (en) Traffic data correction method, traffic measurement system, and computer network
US11665074B2 (en) Technique for performing analysis of an RTP flow
EP2957069B1 (en) Method and network entity for evaluating a link between a first network node and a second network node
CN110838950B (en) Method and device for determining network performance jitter value
CN113676408B (en) Routing method, system, device and storage medium for virtual private network
JP2004032377A (en) Method and system for estimating bottle neck and computer readable recording medium recorded with program of that method
US20040105394A1 (en) System for end-to-end measurement of network information
Ho et al. A distributed and reliable platform for adaptive anomaly detection in ip networks
JP3479637B2 (en) Band check method and band check device
Carle et al. Evaluation of building blocks for pure passive One-way-delay measurements

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080124

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100124

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110124

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110124

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120124

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130124

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees