JP2013157742A - Monitoring device, program and monitoring method - Google Patents

Monitoring device, program and monitoring method Download PDF

Info

Publication number
JP2013157742A
JP2013157742A JP2012015677A JP2012015677A JP2013157742A JP 2013157742 A JP2013157742 A JP 2013157742A JP 2012015677 A JP2012015677 A JP 2012015677A JP 2012015677 A JP2012015677 A JP 2012015677A JP 2013157742 A JP2013157742 A JP 2013157742A
Authority
JP
Japan
Prior art keywords
packets
segment length
congestion
packet
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012015677A
Other languages
Japanese (ja)
Other versions
JP5786733B2 (en
Inventor
Hirokazu Iwakura
廣和 岩倉
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2012015677A priority Critical patent/JP5786733B2/en
Publication of JP2013157742A publication Critical patent/JP2013157742A/en
Application granted granted Critical
Publication of JP5786733B2 publication Critical patent/JP5786733B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a monitoring device and others capable of monitoring a congestion state on a transmission side.SOLUTION: A monitoring device 1 obtains a segment length of a packet transmitted by monitoring object devices 2, 3 and 4. The device 1 compares the obtained segment length with a maximum segment length (MSS) which the monitoring object devices 2, 3 and 4 can receive, to calculate a rate of the number of packets having a segment length shorter than the MSS in a predetermined period to the number of packets transmitted by the monitoring object devices 2, 3 and 4 in the predetermined period. The device 1 compares the calculated rate with an above-mentioned rate previously obtained for the monitoring object devices 2, 3 and 4 in a normal state to determine whether or not the monitoring object devices 2, 3 and 4 are in a congestion state.

Description

本発明は、輻輳状態を監視する監視装置、プログラム及び監視方法に関する。   The present invention relates to a monitoring device, a program, and a monitoring method for monitoring a congestion state.

従来、輻輳状態を検知するためや、ネットワークの性能を求めるために、TCPレイヤにおいて、ウィンドウサイズを監視することが行われている(例えば、特許文献1、特許文献2)。   Conventionally, in order to detect a congestion state and to obtain network performance, monitoring of the window size is performed in the TCP layer (for example, Patent Document 1 and Patent Document 2).

特表2005−533449号公報JP 2005-533449 A 特開2000−106557号公報JP 2000-106557 A

しかしながら、従来の技術では、送信側装置に受け取れるウィンドウサイズを通知し、受信側装置の輻輳を通知するプロトコルシーケンスは存在するが、送信側装置の輻輳は、受信側装置に通知する必要がないため、プロトコルシーケンスからでは監視できない。   However, in the conventional technique, there is a protocol sequence for notifying the window size that can be received by the transmission side apparatus and notifying the congestion of the reception side apparatus, but it is not necessary to notify the reception side apparatus of the congestion of the transmission side apparatus. It cannot be monitored from the protocol sequence.

1つの側面では、本発明は、送信側装置の輻輳状態を監視することが可能な監視装置等を提供することを目的とする。   In one aspect, an object of the present invention is to provide a monitoring device or the like that can monitor a congestion state of a transmission side device.

本発明に係る監視装置は、監視対象機器が送信するパケットのセグメント長を取得する取得部と、該取得部が取得したセグメント長、及び予め取得した監視対象機器の受信可能な最大セグメント長を比較し、前記最大セグメント長より短いセグメント長を持つパケットの所定時間内の数が、前記所定時間内に前記監視対象機器が送信したパケット数に占める比率を算出する算出部と、該算出部で算出した比率が、前記パケット数に対応する閾値より大きい場合に通知を行う通知部とを備える。   The monitoring apparatus according to the present invention compares an acquisition unit that acquires a segment length of a packet transmitted by a monitoring target device, a segment length acquired by the acquisition unit, and a maximum segment length that can be received by the monitoring target device acquired in advance. A calculation unit that calculates a ratio of the number of packets having a segment length shorter than the maximum segment length within a predetermined time to the number of packets transmitted by the monitoring target device within the predetermined time; and a calculation performed by the calculation unit A notification unit that performs notification when the ratio is larger than a threshold value corresponding to the number of packets.

本願の一実施形態によれば、送信側装置の輻輳状態を監視することが可能となる。   According to an embodiment of the present application, it is possible to monitor the congestion state of the transmission side device.

情報処理システムの一例を示す説明図である。It is explanatory drawing which shows an example of an information processing system. パケットの送信間隔分布の一例を示したグラフである。It is the graph which showed an example of the transmission interval distribution of a packet. CPU使用率と輻輳パケット数の関係の一例を示すグラフである。It is a graph which shows an example of the relationship between CPU usage rate and the number of congestion packets. 監視装置のハードウェア群を示すブロック図である。It is a block diagram which shows the hardware group of a monitoring apparatus. コネクション情報テーブルのレコードレイアウトの一例を示す説明図である。It is explanatory drawing which shows an example of the record layout of a connection information table. MSSテーブルのレコードレイアウトの一例を示す説明図である。It is explanatory drawing which shows an example of the record layout of a MSS table. 正常/輻輳パケット数テーブルのレコードレイアウトの一例を示す説明図である。It is explanatory drawing which shows an example of the record layout of a normal / congestion packet number table. 輻輳判定パラメータテーブルのレコードレイアウトの一例を示す説明図である。It is explanatory drawing which shows an example of the record layout of a congestion determination parameter table. 全パケット数と輻輳パケット数との関係の一例を示すグラフである。It is a graph which shows an example of the relationship between the total packet number and the congestion packet number. 全パケット数及び輻輳パケット数の観測処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the observation process of the total packet number and the congestion packet number. 監視処理の手順を示したフローチャートである。It is the flowchart which showed the procedure of the monitoring process. 輻輳通知画面の一例を示す画面図である。It is a screen figure which shows an example of a congestion notification screen. 輻輳通知画面の一例を示す画面図である。It is a screen figure which shows an example of a congestion notification screen. 全パケット数と輻輳パケット数との関係を示すグラフである。It is a graph which shows the relationship between the total packet number and the congestion packet number. 回線速度閾値テーブルのレコードレイアウトの一例を示す説明図である。It is explanatory drawing which shows an example of the record layout of a line speed threshold value table. ネットワーク帯域テーブルのレコードレイアウトの一例を示す説明図である。It is explanatory drawing which shows an example of the record layout of a network bandwidth table. 全パケット数及び輻輳パケット数の観測処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the observation process of the total packet number and the congestion packet number. 監視処理の手順を示したフローチャートである。It is the flowchart which showed the procedure of the monitoring process. 直前パケット種別テーブルのレコードレイアウトの一例を示す説明図である。It is explanatory drawing which shows an example of the record layout of a packet classification table immediately before. 全パケット数及び輻輳パケット数の観測処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the observation process of the total packet number and the congestion packet number. 実施の形態1〜3に係る監視装置の動作を示す機能ブロック図である。It is a functional block diagram which shows operation | movement of the monitoring apparatus which concerns on Embodiment 1-3. 実施の形態4に係る監視装置のハードウェア群を示すブロック図である。FIG. 10 is a block diagram illustrating a hardware group of a monitoring device according to a fourth embodiment.

実施の形態1
以下、実施の形態について図面を参照して説明する。図1は情報処理システムの一例を示す説明図である。情報処理システムは監視装置1、複数のサーバコンピュータ2、3、4、スイッチ5及びクライアントコンピュータ6を含む。
Embodiment 1
Hereinafter, embodiments will be described with reference to the drawings. FIG. 1 is an explanatory diagram illustrating an example of an information processing system. The information processing system includes a monitoring device 1, a plurality of server computers 2, 3, 4, a switch 5 and a client computer 6.

スイッチ5は、監視装置1、サーバコンピュータ2、3、4及びクライアントコンピュータ6を互いに接続している。監視装置1は、例えば、サーバコンピュータ又はパーソナルコンピュータである。   The switch 5 connects the monitoring device 1, the server computers 2, 3, 4 and the client computer 6 to each other. The monitoring device 1 is, for example, a server computer or a personal computer.

サーバコンピュータ2、3、4は、クライアントコンピュータ6から要求をうけて、サービスを提供する。   The server computers 2, 3, and 4 receive services from the client computer 6 and provide services.

サービスを提供する為のトランザクションにおいて、サーバコンピュータ2、3、4は、スイッチ5を介してクライアントコンピュータ6とメッセージの送受信を行う。また、サーバコンピュータ間のメッセージ送受信もスイッチ5を介して行われる。このスイッチ5を介して送受信されるメッセージを監視装置1が監視する。スイッチ5は自身を通過するデータをミラーリングする機能を有している。ミラーリングとは、あるポートに出力されるデータと同じデータを、他のポートからも出力する機能である。   In the transaction for providing the service, the server computers 2, 3, 4 exchange messages with the client computer 6 via the switch 5. Message transmission / reception between server computers is also performed via the switch 5. The monitoring device 1 monitors messages transmitted / received via the switch 5. The switch 5 has a function of mirroring data passing through the switch 5. Mirroring is a function for outputting the same data as data output to a certain port from other ports.

サーバコンピュータ2が接続されたポート、サーバコンピュータ3が接続されたポート、及びサーバコンピュータ4が接続されたポートのミラーリング先として、監視装置1が接続されたポートが指定されている。これにより、各サーバコンピュータ2、3、及び4宛のパケットは宛先となるサーバコンピュータ2、3、及び4に入力されるとともに、監視装置1にも入力される。   The port to which the monitoring device 1 is connected is designated as the mirroring destination of the port to which the server computer 2 is connected, the port to which the server computer 3 is connected, and the port to which the server computer 4 is connected. As a result, packets addressed to the server computers 2, 3, and 4 are input to the destination server computers 2, 3, and 4 and also input to the monitoring device 1.

監視装置1は、監視対象となるサーバコンピュータ2、3、及び4が送信するパケットのセグメント長を監視することにより、監視対象となるサーバコンピュータ2、3、及び4が輻輳状態であるか否かの判定を行う。サーバコンピュータ2、3、及び4は、監視機器の一例である。
以下、監視対象となるサーバコンピュータ2、3、及び4を、監視対象機器2、3、4と記す。以下の記述においては、主に監視対象機器2に関して、監視装置1が行う処理について示すが、同様な処理を監視対象機器3及び4に関しても、監視装置1が行うものとする。
The monitoring apparatus 1 monitors whether or not the server computers 2, 3, and 4 to be monitored are in a congested state by monitoring the segment length of the packet transmitted by the server computers 2, 3, and 4 to be monitored. Judgment is made. The server computers 2, 3, and 4 are examples of monitoring devices.
Hereinafter, the server computers 2, 3, and 4 to be monitored are referred to as monitoring target devices 2, 3, and 4. In the following description, the processing performed by the monitoring device 1 is mainly described with respect to the monitoring target device 2, but it is assumed that the monitoring device 1 performs similar processing regarding the monitoring target devices 3 and 4.

次に、監視対象機器2が輻輳状態であるか否かの判定手法について説明する。図2はパケットの送信間隔分布の一例を示したグラフである。横軸は経過時間である。単位は秒である。縦軸はパケットの送信間隔である。単位はミリ秒である。   Next, a method for determining whether or not the monitoring target device 2 is in a congestion state will be described. FIG. 2 is a graph showing an example of a packet transmission interval distribution. The horizontal axis is the elapsed time. The unit is seconds. The vertical axis represents the packet transmission interval. The unit is milliseconds.

TCP/IP(Transmission ControlProtocol/Internet Protocol)を利用した通信において、アプリケーションレイヤでのメッセージ送信時、IPレイヤでMTU(Max Transfer Unit)の値を超える場合、複数のパケットに分割し、メッセージを送信する。このパケットの分割は、アプリケーションがカーネルに対して、メッセージ単位の送信要求を行った後、カーネル内で分割し送信するため、同一メッセージ内のパケット送信間隔は数マイクロ秒と比較的短い。   In communication using TCP / IP (Transmission Control Protocol / Internet Protocol), when sending a message in the application layer, if the value exceeds the MTU (Max Transfer Unit) value in the IP layer, the message is divided into a plurality of packets and sent. . In this packet division, since the application makes a transmission request for each message to the kernel and then is divided and transmitted in the kernel, the packet transmission interval in the same message is relatively short, such as several microseconds.

一方、TCPレイヤでは、受信可能なセグメントの最大サイズMSS(MaximumSegment Size)をコネクション確立時に相手側に通知し、送信するメッセージをMSSの単位で分割し送信する。図2に示した結果から、セグメント長とパケットの送信間隔との関係が見いだせる。セグメント長がMSSと同じ値のパケット間の送信間隔と、セグメント長がMSSよりも短くなったパケットの次のパケットとの送信間隔とを比較すると、後者の送信間隔の多くが、前者の送信間隔よりも大きくなっている。すなわち、送信間隔が大きくなっているパケットは、セグメント長がMSS以下のものである。MSSは受信可能な最大セグメント長の一例である。   On the other hand, in the TCP layer, the maximum size MSS (Maximum Segment Size) of a receivable segment is notified to the other party when a connection is established, and a message to be transmitted is divided and transmitted in units of MSS. From the results shown in FIG. 2, the relationship between the segment length and the packet transmission interval can be found. When comparing the transmission interval between packets having the same segment length as the MSS and the transmission interval with the next packet after the packet whose segment length is shorter than the MSS, many of the latter transmission intervals are Is bigger than. That is, a packet having a large transmission interval has a segment length of MSS or less. MSS is an example of the maximum segment length that can be received.

TCPの送信側輻輳制御では、輻輳ウィンドウ(送信側のウィンドウサイズ)と広告ウィンドウ(受信側のバッファ空き容量)を持ち、送信側は2つのウィンドウの小さい方の値を用いてパケット長を定める。送信側のリソースの枯渇、例えば送信バッファが枯渇した場合、送信されるパケット長を短くし、パケットを送信する。したがって、同一メッセージ内のパケットのうち、セグメント長が短くなっているパケット数を監視することで、送信側である監視対象機器2が輻輳状態であるか否かを判定することが可能となる。   TCP congestion control on the transmission side has a congestion window (window size on the transmission side) and an advertising window (buffer capacity on the reception side), and the transmission side uses the smaller value of the two windows to determine the packet length. When the resource on the transmission side is depleted, for example, when the transmission buffer is depleted, the packet length to be transmitted is shortened and the packet is transmitted. Therefore, by monitoring the number of packets having a shorter segment length among the packets in the same message, it is possible to determine whether or not the monitored device 2 on the transmission side is in a congestion state.

図3はCPU使用率と輻輳パケット数の関係の一例を示すグラフである。横軸はCPU使用率であり、単位は%である。縦軸は輻輳パケット数であり、単位は個/分である。図3は、クライアントからサーバに同一量のリクエスト送信の負荷をかけた状態で、CPUに対して負荷を与え、CPU使用率により輻輳パケット数がどのように変化するのかを示している。図3に示すように、CPU使用率が約90%以下では、輻輳パケット数はほぼ一定であるが、90%を超えた場合は急激に増加している。従って、CPU使用率が100%近くに達していることも、輻輳パケット数の増加により検知することが可能である。以下に、輻輳パケット数の増加により、監視対象機器2の輻輳状態を検知する処理について、以下、詳細に説明する。   FIG. 3 is a graph showing an example of the relationship between the CPU usage rate and the number of congestion packets. The horizontal axis represents the CPU usage rate, and the unit is%. The vertical axis represents the number of congestion packets, and the unit is number / minute. FIG. 3 shows how the load is applied to the CPU with the same amount of request transmission load applied from the client to the server, and how the number of congestion packets changes depending on the CPU usage rate. As shown in FIG. 3, when the CPU usage rate is about 90% or less, the number of congested packets is almost constant, but when it exceeds 90%, it rapidly increases. Therefore, it is possible to detect that the CPU usage rate has approached 100% by increasing the number of congestion packets. Hereinafter, processing for detecting the congestion state of the monitoring target device 2 due to an increase in the number of congestion packets will be described in detail below.

図4は監視装置1のハードウェア群を示すブロック図である。監視装置1は制御部としてのCPU(Central Processing Unit)11、RAM(RandomAccess Memory)12、記憶部13、時計部14及び通信部15等を含む。CPU11は、バスを介してハードウェア各部と接続されている。CPU11は記憶部13に記憶された制御プログラム13Pに従いハードウェア各部を制御する。RAM12は例えばSRAM(Static RAM)、DRAM(Dynamic RAM)、フラッシュメモリ等である。RAM12は、記憶部としても機能し、CPU11による各種プログラムの実行時に発生する種々のデータを一時的に記憶する。   FIG. 4 is a block diagram illustrating a hardware group of the monitoring device 1. The monitoring device 1 includes a CPU (Central Processing Unit) 11 as a control unit, a RAM (Random Access Memory) 12, a storage unit 13, a clock unit 14, a communication unit 15, and the like. The CPU 11 is connected to each part of hardware via a bus. The CPU 11 controls each part of the hardware according to the control program 13P stored in the storage unit 13. The RAM 12 is, for example, SRAM (Static RAM), DRAM (Dynamic RAM), flash memory, or the like. The RAM 12 also functions as a storage unit, and temporarily stores various data generated when the CPU 11 executes various programs.

記憶部13は例えば、ハードディスクまたは大容量フラッシュメモリ等であり、制御プログラム13P及びマスタテーブル/データテーブル13Tを格納する。マスタテーブル/データテーブル13Tは、監視対象機器2が送受信したパケットなど関しに必要なデータを格納した複数のテーブルから構成されている。時計部14は現在時刻、または任意の時点を起点とした経過時間をCPU11へ出力する。   The storage unit 13 is, for example, a hard disk or a large-capacity flash memory, and stores a control program 13P and a master table / data table 13T. The master table / data table 13T is composed of a plurality of tables storing data necessary for the packets transmitted and received by the monitoring target device 2. The clock unit 14 outputs the current time or an elapsed time starting from an arbitrary time point to the CPU 11.

通信部15は例えばLAN(Local Area Network)カード等であり、スイッチ5との間で情報の送受信を行う。通信部15は、上述したようにスイッチ5のミラーリング機能を利用するようになっている。通信部15はプロミスキャスモードにより動作する。プロミスキャスモードとは、宛先に関わらず全ての受信パケットを上位レイヤのソフトウェアに渡すモードである。プロミスキャスモードを利用することにより、監視装置1宛ではない監視対象機器2宛のパケットが破棄されず、制御プログラム13Pにて取り込むことが可能となる。   The communication unit 15 is a LAN (Local Area Network) card, for example, and transmits / receives information to / from the switch 5. The communication unit 15 uses the mirroring function of the switch 5 as described above. The communication unit 15 operates in promiscuous mode. The promiscuous mode is a mode in which all received packets are passed to higher-layer software regardless of the destination. By using the promiscuous mode, packets addressed to the monitoring target device 2 that are not addressed to the monitoring device 1 are not discarded and can be captured by the control program 13P.

次に、マスタテーブル/データテーブル13Tについて説明する。図5はコネクション情報テーブル131のレコードレイアウトの一例を示す説明図である。コネクション情報テーブル131は、接続先IPアドレス、接続先ポート番号、接続元IPアドレス、接続元ポート番号、コネクション番号等を含む。コネクション番号は、コネクションを特定するための主キーである。接続先IPアドレス、接続先ポート番号、接続元IPアドレス及び接続元ポート番号は、コネクションの確立時にやり取りされるメッセージより取得し、記憶する。接続先IPアドレス及び接続元IPアドレスはIPヘッダより、接続先ポート番号及び接続元ポート番号はTCPヘッダより取得することが可能である。   Next, the master table / data table 13T will be described. FIG. 5 is an explanatory diagram showing an example of the record layout of the connection information table 131. The connection information table 131 includes a connection destination IP address, a connection destination port number, a connection source IP address, a connection source port number, a connection number, and the like. The connection number is a primary key for specifying a connection. The connection destination IP address, the connection destination port number, the connection source IP address, and the connection source port number are acquired from a message exchanged when the connection is established and stored. The connection destination IP address and the connection source IP address can be acquired from the IP header, and the connection destination port number and the connection source port number can be acquired from the TCP header.

図6はMSSテーブル132のレコードレイアウトの一例を示す説明図である。MSSテーブル132は、接続先IPアドレス、MSS等を含む。MSSはコネクション確立時にやり取りされるメッセージSYN(SYNchronize)又はSYN ACK(ACKnowledgement)より取得する。MSSは接続先IPアドレス単位に記憶する。   FIG. 6 is an explanatory diagram showing an example of the record layout of the MSS table 132. The MSS table 132 includes a connection destination IP address, MSS, and the like. The MSS is obtained from a message SYN (SYNchronize) or SYN ACK (ACKnowledgement) exchanged when the connection is established. The MSS is stored in units of connection destination IP addresses.

図7は正常/輻輳パケット数テーブル133のレコードレイアウトの一例を示す説明図である。正常/輻輳パケット数テーブル133は、時刻、コネクション番号、正常パケット数、輻輳パケット数等を含む。時刻は単位時間毎である。正常パケット数、輻輳パケット数は単位時間毎に観測されたパケット数をそれぞれ、コネクション番号毎に記憶している。本実施の形態では単位時間は1分としてある。図7に示した例では、12時0分0秒から12時0分59秒の間にコネクション番号1の通信において、正常パケットが500000、輻輳パケットが500観測されたことを示している。上述の単位時間は、所定時間の一例である。また、正常/輻輳パケット数テーブル133に記憶される、輻輳パケット数が正常パケット数に占める割合が、比率の一例である。   FIG. 7 is an explanatory diagram showing an example of the record layout of the normal / congested packet count table 133. The normal / congested packet count table 133 includes time, connection number, normal packet count, congestion packet count, and the like. The time is every unit time. As the number of normal packets and the number of congestion packets, the number of packets observed per unit time is stored for each connection number. In this embodiment, the unit time is 1 minute. The example shown in FIG. 7 indicates that 500,000 normal packets and 500 congestion packets were observed during communication of connection number 1 between 12:00:00 and 12:00:59. The above unit time is an example of a predetermined time. The ratio of the number of congestion packets to the number of normal packets stored in the normal / congestion packet number table 133 is an example of the ratio.

図8は輻輳判定パラメータテーブル134のレコードレイアウトの一例を示す説明図である。輻輳判定パラメータテーブル134は、接続先IPアドレス、近似式、信頼区間の上限値95%等を含む。近似式には、正常時(輻輳にならない負荷量)における全パケット数と輻輳パケット数との関係を示す近似式が、接続先IPアドレス毎に記憶している。記憶される近似式は、最小二乗法を用いて求める。式ではなく、傾き及び切片を記憶することとしても良い。上限値95%は、信頼区間の上限値95%の係数が記憶される。   FIG. 8 is an explanatory diagram showing an example of a record layout of the congestion determination parameter table 134. The congestion determination parameter table 134 includes a connection destination IP address, an approximate expression, an upper limit value 95% of a confidence interval, and the like. In the approximate expression, an approximate expression indicating the relationship between the total number of packets and the number of congested packets at normal time (load amount that does not cause congestion) is stored for each connection destination IP address. The stored approximate expression is obtained using the least square method. It is good also as memorize | storing not a formula but an inclination and an intercept. As the upper limit value 95%, a coefficient of the upper limit value 95% of the confidence interval is stored.

図9は全パケット数と輻輳パケット数との関係の一例を示すグラフである。実線が最小二乗法で求めた近似式(y=kx+c)をグラフとして表したものである。点線は信頼区間の上限95%をグラフとして表したものである。係数をαとしたとき、上限95%のグラフの切片はc+αである。監視装置1は全パケット数と輻輳パケット数との関係を監視し、上限95%より上の領域となった場合に、監視対象機器2が輻輳状態であると検知する。図9に示すグラフより求まる全体パケット数と輻輳パケット数との比率が、閾値の一例である。   FIG. 9 is a graph showing an example of the relationship between the total number of packets and the number of congestion packets. The solid line is a graph representing the approximate expression (y = kx + c) obtained by the least square method. The dotted line represents the upper limit 95% of the confidence interval as a graph. When the coefficient is α, the intercept of the upper limit 95% graph is c + α. The monitoring device 1 monitors the relationship between the total number of packets and the number of congested packets, and detects that the monitored device 2 is in a congested state when the area exceeds the upper limit of 95%. The ratio between the total number of packets and the number of congestion packets obtained from the graph shown in FIG. 9 is an example of the threshold value.

次に全パケット数及び輻輳パケット数の観測方法について、説明する。図10は全パケット数及び輻輳パケット数の観測処理の手順を示すフローチャートである。監視装置1のCPU11は、通信部15がパケットを受信したか否かを監視する(ステップS1)。受信していない場合(ステップS1でNO)、CPU11は処理をステップS1に移行させる。受信した場合(ステップS1でYES)、CPU11は処理をステップS2に移行させる。CPU11はコネクション情報を取得する(ステップS2)。CPU11は受信パケットのIPヘッダから送信元IPアドレス及び送信先IPアドレスを、TCPヘッダから送信元ポート番号及び送信先ポート番号を取得する。CPU11はコネクション情報テーブル131を検索する(ステップS3)。取得したコネクション情報が検索にヒットしたかを調べる(ステップS4)。検索がヒットした場合、すなわち、取得したコネクション情報が登録されている場合(ステップS4でYES)、CPU11は上りと判定する(ステップS5)。上りの場合は何もせずに処理を終了する。   Next, a method for observing the total number of packets and the number of congestion packets will be described. FIG. 10 is a flowchart showing the procedure for observing the total number of packets and the number of congestion packets. The CPU 11 of the monitoring device 1 monitors whether the communication unit 15 has received a packet (step S1). If not received (NO in step S1), the CPU 11 shifts the process to step S1. If received (YES in step S1), the CPU 11 shifts the process to step S2. The CPU 11 acquires connection information (step S2). The CPU 11 acquires the transmission source IP address and transmission destination IP address from the IP header of the received packet, and acquires the transmission source port number and transmission destination port number from the TCP header. The CPU 11 searches the connection information table 131 (step S3). It is checked whether or not the acquired connection information hits the search (step S4). When the search is hit, that is, when the acquired connection information is registered (YES in step S4), the CPU 11 determines that the search is upstream (step S5). If it is up, the process is terminated without doing anything.

検索がヒットしない場合、すなわち、取得したコネクション情報が登録されていない場合(ステップS4でNO)、CPU11は、送信元IPアドレスと送信先IPアドレスとを、送信元ポート番号と送信先ポート番号とを、それぞれ入れ替えて、再度、コネクション情報テーブル131を検索する(ステップS6)。検索がヒットしたかを調べる(ステップS7)。検索がヒットした場合(ステップS7でYES)、CPU11は、コネクション番号を取得しておく。検索がヒットした場合、下りであるので、CPU11はセグメント長を取得する(ステップS8)。CPU11はセグメント長とMSSとを比較する(ステップS9)。CPU11は、送信元IPアドレスをキーにMSSテーブル132を検索し、MSSを取得する。セグメント長がMSSより小さい場合(ステップS9でYES)、CPU11は輻輳パケット数を1加算する。CPU11は、正常/輻輳パケット数テーブル133のコネクション番号に対応した輻輳パケット数欄の値を1加算する(ステップS10)。コネクション番号に対応したレコードが正常/輻輳パケット数テーブル133に存在しない場合、CPU11は、正常/輻輳パケット数テーブル133にレコードを追加する。CPU11は処理を終了する。セグメント長がMSSと等しい場合(ステップS9でNO)、CPU11は正常パケット数を1加算する。CPU11は、正常/輻輳パケット数テーブル133のコネクション番号に対応した正常パケット数欄の値を1加算する(ステップS11)。CPU11は処理を終了する。なお、正常パケット数、輻輳パケット数は時計部14より取得した時刻と対応付けて、正常/輻輳パケット数テーブル133に記憶する。正常/輻輳パケット数テーブル133に記憶される、単位時間毎の輻輳パケット数は、最大セグメント長より短いセグメント長を持つパケットの所定時間内の数の一例である。正常パケット数と輻輳パケット数とを合計した値は、監視対象機器が送信したパケット数の一例である。   When the search does not hit, that is, when the acquired connection information is not registered (NO in step S4), the CPU 11 sets the transmission source IP address and the transmission destination IP address, the transmission source port number, and the transmission destination port number. Each is replaced, and the connection information table 131 is searched again (step S6). It is examined whether or not the search is hit (step S7). When the search is hit (YES in step S7), the CPU 11 acquires a connection number. If the search is hit, it is down, so the CPU 11 acquires the segment length (step S8). The CPU 11 compares the segment length with the MSS (step S9). The CPU 11 searches the MSS table 132 using the transmission source IP address as a key, and acquires the MSS. If the segment length is smaller than the MSS (YES in step S9), the CPU 11 adds 1 to the number of congestion packets. The CPU 11 adds 1 to the value in the congestion packet number column corresponding to the connection number in the normal / congestion packet number table 133 (step S10). When the record corresponding to the connection number does not exist in the normal / congestion packet number table 133, the CPU 11 adds a record to the normal / congestion packet number table 133. The CPU 11 ends the process. If the segment length is equal to the MSS (NO in step S9), the CPU 11 adds 1 to the number of normal packets. The CPU 11 adds 1 to the value in the normal packet number column corresponding to the connection number in the normal / congested packet number table 133 (step S11). The CPU 11 ends the process. The number of normal packets and the number of congestion packets are stored in the normal / congestion packet number table 133 in association with the time acquired from the clock unit 14. The number of congestion packets per unit time stored in the normal / congestion packet count table 133 is an example of the number of packets having a segment length shorter than the maximum segment length within a predetermined time. A value obtained by summing the number of normal packets and the number of congestion packets is an example of the number of packets transmitted by the monitoring target device.

検索がヒットしなかった場合(ステップS7でNO)、CPU11はパケットがコネクション確立メッセージであるか否かを調べる(ステップS12)。CUP11はTCPヘッダのSYNフラグ、ACKフラグを参照する。コネクション確立メッセージではない場合(ステップS12でNO)、処理対象のパケットではないので、CPU11は処理を終了する。コネクション確立メッセージの場合(ステップS12でYES)、CPU11は、コネクション接続確認を行う(ステップS13)。   If the search is not hit (NO in step S7), the CPU 11 checks whether the packet is a connection establishment message (step S12). CUP 11 refers to the SYN flag and ACK flag of the TCP header. If it is not a connection establishment message (NO in step S12), since it is not a packet to be processed, the CPU 11 ends the process. In the case of a connection establishment message (YES in step S12), the CPU 11 performs connection connection confirmation (step S13).

SYNパケット(SYNフラグ=1、ACKフラグ=0)の場合は、CPU11は、IPヘッダから送信元IPアドレス、送信先IPアドレスを取得する。CPU11は、TCPヘッダから送信元ポート番号、送信先ポート番号を取得する。CPU11は、取得した送信元IPアドレス、送信先IPアドレス、送信元ポート番号、送信先ポート番号をRAM12などの記憶部に記憶しておく。   In the case of a SYN packet (SYN flag = 1, ACK flag = 0), the CPU 11 acquires a transmission source IP address and a transmission destination IP address from the IP header. The CPU 11 acquires a transmission source port number and a transmission destination port number from the TCP header. The CPU 11 stores the acquired transmission source IP address, transmission destination IP address, transmission source port number, transmission destination port number in a storage unit such as the RAM 12.

SYN/ACKパケット(SYNフラグ=1、ACKフラグ≠0)の場合、CPU11はIPヘッダから、送信元IPアドレス、及びウィンドウサイズ、すなわち、サーバのMSSを取得する。CPU11は取得したMSSをサーバのIPアドレス(送信元IPアドレス)と対応付けて、MSSテーブル132に記憶する。MSSテーブル132にすでにレコードが存在する場合、CPU11はMSSの値を上書きし、存在しない場合、CPU11は新たなレコードをMSSテーブル132に追加する。   In the case of a SYN / ACK packet (SYN flag = 1, ACK flag ≠ 0), the CPU 11 obtains the transmission source IP address and window size, that is, the MSS of the server, from the IP header. The CPU 11 stores the acquired MSS in the MSS table 132 in association with the server IP address (source IP address). If the record already exists in the MSS table 132, the CPU 11 overwrites the value of the MSS, and if not, the CPU 11 adds a new record to the MSS table 132.

ACKパケット(SYNフラグ=0、ACKフラグ≠0)の場合、CPU11は、IPヘッダから送信元IPアドレス、送信先IPアドレスを、TCPヘッダから送信元ポート番号、送信先ポート番号を取得する。CPU11は、取得した送信元IPアドレス、送信先IPアドレス、送信元ポート番号、及び送信先ポート番号それぞれが、RAM12等に記憶してあるSYNパケット受信時の送信元IPアドレス、送信先IPアドレス、送信元ポート番号、及び送信先ポート番号と一致することを確認し、コネクションが確立されたことを確認する。   In the case of an ACK packet (SYN flag = 0, ACK flag ≠ 0), the CPU 11 acquires the transmission source IP address and transmission destination IP address from the IP header, and the transmission source port number and transmission destination port number from the TCP header. The CPU 11 acquires the transmission source IP address, the transmission destination IP address, the transmission source port number, and the transmission destination port number stored in the RAM 12 or the like. Confirm that the source port number and destination port number match, and confirm that the connection has been established.

コネクションが確立されたので、CPU11はコネクション情報の設定を行う(ステップS14)。CPU11はコネクション情報テーブル131にレコードを追加する。CPU11はキーとなるコネクション番号を発番する。CPU11は発番したコネクション番号、取得した送信元IPアドレス、送信先IPアドレス、送信元ポート番号、及び送信先ポート番号を対応付けてコネクション情報テーブル131に記憶する。   Since the connection is established, the CPU 11 sets connection information (step S14). The CPU 11 adds a record to the connection information table 131. The CPU 11 issues a connection number as a key. The CPU 11 stores the issued connection number, the acquired transmission source IP address, transmission destination IP address, transmission source port number, and transmission destination port number in the connection information table 131 in association with each other.

監視対象機器2の監視を行う前に、輻輳にならない負荷量、すなわち正常状態において、上述の観測処理を行い、正常パケット数と輻輳パケット数を観測する。観測処理後に、接続先IPアドレス(監視対象機器2、3、及び4のIPアドレス)毎に、最小二乗法を用いて、全パケット数(正常パケット数+輻輳パケット数)と輻輳パケット数との関係を示す近似式を求める。また近似式の信頼区間の上限値95%を求める。求めた近似式及び信頼区間の上限値95%は、輻輳判定パラメータテーブル134に接続先IPアドレスと対応付けて記憶する。   Before the monitoring target device 2 is monitored, the above-described observation process is performed in a load amount that does not cause congestion, that is, in a normal state, and the number of normal packets and the number of congestion packets are observed. After the observation processing, for each connection IP address (the IP addresses of the monitored devices 2, 3, and 4), the least square method is used to calculate the total number of packets (the number of normal packets + the number of congestion packets) and the number of congestion packets. Find an approximate expression that shows the relationship. Further, the upper limit value 95% of the confidence interval of the approximate expression is obtained. The obtained approximate expression and the upper limit 95% of the confidence interval are stored in the congestion determination parameter table 134 in association with the connection destination IP address.

次に監視対象機器2の監視処理の手順について説明する。図11は監視処理の手順を示したフローチャートである。図11に示す監視処理とは別に、上述した図10の処理が行われ、所定時間単位、例えば1分単位で、接続先IPアドレス(監視対象機器2、3、及び4)毎に正常パケット数と輻輳パケット数が正常/輻輳パケット数テーブル133に記憶されている。CPU11は、監視対象機器2に対応付けられた最新の正常パケット数、輻輳パケット数を正常/輻輳パケット数テーブル133より読み出す(ステップS21)。CPU11は、監視対象機器2に対応した近似式と信頼区間の上限値95%を輻輳判定パラメータテーブル134より取得し、先に取得した正常パケット数と、近似式と信頼区間の上限値95%より、輻輳パケット数を算出する(ステップS22)。   Next, a procedure for monitoring processing of the monitoring target device 2 will be described. FIG. 11 is a flowchart showing the procedure of the monitoring process. In addition to the monitoring process shown in FIG. 11, the above-described process of FIG. 10 is performed, and the number of normal packets for each connection destination IP address (monitored devices 2, 3, and 4) in a predetermined time unit, for example, 1 minute unit. And the number of congestion packets are stored in the normal / congestion packet number table 133. The CPU 11 reads the latest normal packet number and congestion packet number associated with the monitoring target device 2 from the normal / congestion packet number table 133 (step S21). The CPU 11 acquires the approximate expression corresponding to the monitoring target device 2 and the upper limit value 95% of the confidence interval from the congestion determination parameter table 134, and from the number of normal packets acquired earlier, the approximate expression and the upper limit value 95% of the confidence interval. Then, the number of congestion packets is calculated (step S22).

CPU11は、ステップS21で取得した輻輳パケット数とステップS22で算出した輻輳パケット数を比較する(ステップS23)。取得した輻輳パケット数が算出した輻輳パケット数より大きい場合(ステップS23でYES)、CPU11は輻輳を、管理者に通知する。通知は、監視装置1に接続されたモニタに表示することや、指定された電子メールアドレスに電子メールを送信するなどにより行う。上述では、観測した輻輳パケット数と算出した輻輳パケット数とを比較しているが、輻輳パケット数が全体パケット数に占める比率を算出して、比較しても良い。   The CPU 11 compares the number of congestion packets acquired in step S21 with the number of congestion packets calculated in step S22 (step S23). When the acquired number of congestion packets is larger than the calculated number of congestion packets (YES in step S23), the CPU 11 notifies the administrator of the congestion. The notification is performed by displaying on a monitor connected to the monitoring apparatus 1 or by sending an e-mail to a designated e-mail address. In the above description, the observed number of congestion packets and the calculated number of congestion packets are compared. However, the ratio of the number of congestion packets to the total number of packets may be calculated and compared.

図12及び図13は輻輳通知画面の一例を示す画面図である。図12に示すウィンドウW1では一覧表により輻輳状態となった監視対象機器2を表示している。欄C1は輻輳状態となった監視対象機器2のIPアドレスを表示し、欄C2は輻輳状態が観測された時間が表示されている。管理者が、マウスポインタMpを欄C1又は欄C2に移動し、クリック又はダブルクリックなどの操作をした場合に、CPU11が図13に示す画面を表示するようにしても良い。図13に示すウィンドウW2では、正常状態における全パケット数と輻輳パケット数との関係を示す近似式G1及び信頼区間の上限値95%G2をグラフで示すと共に、輻輳状態として観測された点Pを示している。管理者は、この画面を参照することにより、輻輳状態の程度を視覚的に判断することが可能となる。上述のウィンドウW1またはW2は通知の一例である。   12 and 13 are screen views showing examples of the congestion notification screen. In the window W1 shown in FIG. 12, the monitoring target device 2 in a congested state is displayed by a list. The column C1 displays the IP address of the monitoring target device 2 that has become congested, and the column C2 displays the time when the congestion state was observed. When the administrator moves the mouse pointer Mp to the column C1 or the column C2 and performs an operation such as click or double click, the CPU 11 may display the screen shown in FIG. In the window W2 shown in FIG. 13, the approximate expression G1 indicating the relationship between the total number of packets and the number of congestion packets in the normal state and the upper limit value 95% G2 of the confidence interval are shown in a graph, and the point P observed as the congestion state is displayed. Show. The administrator can visually determine the degree of congestion by referring to this screen. The window W1 or W2 described above is an example of notification.

取得した輻輳パケット数が算出した輻輳パケット数以下の場合(ステップS23でNO)、CPU11は処理をステップS25に移行させる。CPU11はすべての監視対象機器2、3、及び4について処理したかを判定する(ステップS25)。すべての監視対象機器2、3、及び4についての処理が終了している場合(ステップS25でYES)、CPU11は処理を終了する。未処理の監視対象機器がある場合(ステップS25でNO)、CPU11は処理をステップS21へ戻す。   When the acquired number of congestion packets is equal to or less than the calculated number of congestion packets (NO in step S23), the CPU 11 shifts the process to step S25. The CPU 11 determines whether all the monitoring target devices 2, 3, and 4 have been processed (step S25). When the processes for all the monitoring target devices 2, 3, and 4 have been completed (YES in step S25), the CPU 11 ends the process. If there is an unprocessed monitoring target device (NO in step S25), the CPU 11 returns the process to step S21.

以上のように、本実施の形態では、監視対象機器2の送信する全パケットのうち、セグメント長がMSSよりも小さい輻輳パケットの割合を観測する。観測した割合が正常時の割合より増加していることを検出することにより、データ送信側であるサーバの輻輳状態を検出することが可能となる。   As described above, in the present embodiment, the ratio of the congestion packets whose segment length is smaller than the MSS among all the packets transmitted by the monitoring target device 2 is observed. By detecting that the observed rate is higher than the normal rate, it is possible to detect the congestion state of the server on the data transmission side.

実施の形態2
実施の形態2では、ネットワーク回線の輻輳も考慮し、より正確に監視対象機器2の輻輳状態を検出する。図14は、全パケット数と輻輳パケット数との関係を示すグラフである。横軸は全パケット数であり、縦軸は輻輳パケット数である。単位は共に個/分である。クライアントから監視対象機器2へのリクエスト送信を徐々に増加させる負荷をかけ、正常パケット数と輻輳パケット数の観測を行った。その観測結果に基づいて、全パケット数と輻輳パケット数との関係をグラフにて示したものである。図14に示すように、全パケット数が310万パケットの時(点線)、ネットワーク帯域が900Mbps(最大回線速度の9割)以上になり、回線速度の物理的な限界(1Gbps)に達する。この時、サーバ側でデータの送信待ち状態が多発するため、送信バッファのリソース不足が発生し、輻輳パケットが急激に増加している。ネットワーク回線の使用帯域が最大回線速度の9割以上になった場合には、ネットワーク回線の輻輳によりサーバが輻輳状態となることが分かる。そこで、本実施の形態においてはネットワーク回線の使用帯域も測定し、CPUの輻輳とネットワーク回線の輻輳とを切り分けることとする。そのため、監視に先立ち、監視対象機器2の物理的な回線速度を測定する。測定した回線速度を元に回線が輻輳状態であることを判定するための閾値を決定し、記憶する。
Embodiment 2
In the second embodiment, the congestion state of the monitoring target device 2 is more accurately detected in consideration of network line congestion. FIG. 14 is a graph showing the relationship between the total number of packets and the number of congestion packets. The horizontal axis is the total number of packets, and the vertical axis is the number of congestion packets. Both units are in pieces / minute. The load of gradually increasing the request transmission from the client to the monitored device 2 was applied, and the number of normal packets and the number of congestion packets were observed. Based on the observation result, the relationship between the total number of packets and the number of congestion packets is shown in a graph. As shown in FIG. 14, when the total number of packets is 3.1 million packets (dotted line), the network bandwidth becomes 900 Mbps (90% of the maximum line speed) or more, and reaches the physical limit (1 Gbps) of the line speed. At this time, the data transmission waiting state frequently occurs on the server side, so that there is a shortage of resources in the transmission buffer, and congestion packets are rapidly increasing. It can be seen that when the bandwidth used for the network line is 90% or more of the maximum line speed, the server becomes congested due to congestion of the network line. Therefore, in this embodiment, the bandwidth used for the network line is also measured, and CPU congestion and network line congestion are separated. Therefore, prior to monitoring, the physical line speed of the monitored device 2 is measured. Based on the measured line speed, a threshold value for determining that the line is congested is determined and stored.

図15は回線速度閾値テーブル135のレコードレイアウトの一例を示す説明図である。回線速度閾値テーブル135は、接続先IPアドレス(監視対象機器2、3、及び4のIPアドレス)、回線速度閾値などを含む。回線速度閾値は上述したように監視を行う前に、回線速度を測定し、最大速度の9割程度の値を設定する。   FIG. 15 is an explanatory diagram showing an example of the record layout of the line speed threshold table 135. The line speed threshold table 135 includes connection destination IP addresses (IP addresses of the monitoring target devices 2, 3, and 4), line speed thresholds, and the like. As described above, the line speed threshold value is set to a value of about 90% of the maximum speed by measuring the line speed before monitoring.

図16はネットワーク帯域テーブル136のレコードレイアウトの一例を示す説明図である。ネットワーク帯域テーブル136は、時刻、コネクション番号、バイト数等を含む。時刻は単位時間毎である。例えば、1分毎とする。バイト数は、単位時間内に送信された下りパケットのパケット長をコネクション番号毎に加算したものである。   FIG. 16 is an explanatory diagram showing an example of a record layout of the network bandwidth table 136. The network bandwidth table 136 includes time, connection number, number of bytes, and the like. The time is every unit time. For example, every minute. The number of bytes is obtained by adding the packet length of the downlink packet transmitted within the unit time for each connection number.

図17は全パケット数及び輻輳パケット数の観測処理の手順を示すフローチャートである。図10に示した処理手順とほぼ同じであり、異なるのはステップS15が追加されている点である。以下、ステップS15について主に説明する。CPU11は下りパケットを受信した場合、パケット長を測定する。CPU11は測定時刻、コネクション番号と対応付けて、ネットワーク帯域テーブル136にパケット長を記憶する(ステップS15)。すでにレコードがある場合、CPU11は受信したパケット長を記憶している値に1加算する。レコードがない場合、CPU11はネットワーク帯域テーブル136にレコードを追加し、パケット長を記憶する。この処理により、監視対象機器毎、単位時間毎に送信されたデータのバイト数が記憶される。   FIG. 17 is a flowchart showing the procedure for observing the total number of packets and the number of congestion packets. It is almost the same as the processing procedure shown in FIG. 10, and is different in that step S15 is added. Hereinafter, step S15 will be mainly described. When receiving a downstream packet, the CPU 11 measures the packet length. The CPU 11 stores the packet length in the network bandwidth table 136 in association with the measurement time and the connection number (step S15). If there is already a record, the CPU 11 adds 1 to the stored packet length. If there is no record, the CPU 11 adds a record to the network bandwidth table 136 and stores the packet length. By this processing, the number of bytes of data transmitted for each monitored device and per unit time is stored.

図18は監視処理の手順を示したフローチャートである。図11に示した処理手順とほぼ同じであるので、異なる点を主に説明する。CPU11はステップS21で取得した輻輳パケット数とステップS22で算出した輻輳パケット数を比較する(ステップS23)。取得した輻輳パケット数が算出した輻輳パケット数より大きい場合(ステップS23でYES)、CPU11は回線速度と閾値を比較する(ステップS26)。回線速度(通信速度)は、ネットワーク帯域テーブル136に記憶されている単位時間毎の送信バイト数から算出する。閾値は回線速度閾値テーブルより対象となっている監視対象機器2の閾値を読み出す。算出した回線速度が閾値以下の場合(ステップS26でYES)、CPU11は、CPUの輻輳を通知する(ステップS241)。算出した回線速度が閾値より大きい場合(ステップS26でNO)、CPU11は、回線の輻輳を通知する(ステップS242)。CPU11は、処理をステップS25に移行させる。CPU11はすべての監視対象機器2、3、及び4について処理したかを判定する(ステップS25)。すべての監視対象機器2、3、及び4について処理している場合(ステップS25でYES)、CPU11は処理を終了する。未処理の監視対象機器がある場合(ステップS25でNO)、CPU11は処理をステップS21へ戻す。   FIG. 18 is a flowchart showing the procedure of the monitoring process. Since it is almost the same as the processing procedure shown in FIG. 11, the different points will be mainly described. The CPU 11 compares the number of congestion packets acquired in step S21 with the number of congestion packets calculated in step S22 (step S23). If the acquired number of congestion packets is larger than the calculated number of congestion packets (YES in step S23), the CPU 11 compares the line speed with a threshold value (step S26). The line speed (communication speed) is calculated from the number of transmitted bytes per unit time stored in the network bandwidth table 136. As for the threshold value, the threshold value of the monitoring target device 2 is read from the line speed threshold value table. When the calculated line speed is equal to or less than the threshold (YES in step S26), the CPU 11 notifies the CPU congestion (step S241). When the calculated line speed is greater than the threshold (NO in step S26), the CPU 11 notifies the congestion of the line (step S242). The CPU 11 shifts the process to step S25. The CPU 11 determines whether all the monitoring target devices 2, 3, and 4 have been processed (step S25). If all the monitoring target devices 2, 3, and 4 have been processed (YES in step S25), the CPU 11 ends the processing. If there is an unprocessed monitoring target device (NO in step S25), the CPU 11 returns the process to step S21.

以上のように、本実施の形態では、監視対象機器2の送信する全パケットのうち、セグメント長がMSSよりも小さい輻輳パケットの割合を観測する。また、監視対象機器2の回線速度も併せて観測する。観測した輻輳パケットの割合が正常時の割合より増加していることを検出した場合、観測した回線速度と回線速度閾値とを比較し、回線が輻輳状態であるか否かを判定する。それにより、輻輳パケット増加の要因が、監視対象機器2のCPUによる輻輳であるのか、或いは回線の輻輳であるのかを判定することが可能となる。したがって、データ送信側である監視対象機器2の輻輳状態をより適切に検出することが可能となる。   As described above, in the present embodiment, the ratio of the congestion packets whose segment length is smaller than the MSS among all the packets transmitted by the monitoring target device 2 is observed. In addition, the line speed of the monitored device 2 is also observed. When it is detected that the rate of the observed congestion packet is higher than the normal rate, the observed line speed is compared with the line speed threshold to determine whether or not the line is in a congestion state. As a result, it is possible to determine whether the cause of the increase in congestion packets is congestion by the CPU of the monitoring target device 2 or line congestion. Therefore, it becomes possible to more appropriately detect the congestion state of the monitoring target device 2 on the data transmission side.

実施の形態3
上述の実施の形態1又は実施の形態2においては、MSSよりも小さいパケットを全て輻輳パケットとして扱った。しかしながら、TCPレイヤでは送信側の輻輳制御以外に受信側の輻輳制御(TCP Window Update、TCP Zero Window)でセグメント長が短くなる場合も存在する。ここで、TCP Window Updateとはウィンドウサイズを変更するACKパケット、TCP Zero Windowとはウィンドウサイズを0に変更することにより、送信側からのパケットを一時的に停止させるACKパケットである。受信側の輻輳制御の場合、ウィンドウサイズが変化し、TCPの確認応答メッセージ(ACK)の直前の送信パケットのセグメント長がMSSよりも短くなる。従って、ACKを検出し、その直前のパケットがMSSより小さくても輻輳パケットから除外する事とする。それにより、送信側(監視対象機器2側)の輻輳制御でセグメント長が短くなっているパケットだけを検出することが可能となる。上述のACKパケットは、応答確認メッセージの一例である。
Embodiment 3
In Embodiment 1 or Embodiment 2 described above, all packets smaller than the MSS are handled as congestion packets. However, in the TCP layer, there is a case where the segment length is shortened by the congestion control (TCP Window Update, TCP Zero Window) on the reception side in addition to the congestion control on the transmission side. Here, the TCP Window Update is an ACK packet for changing the window size, and the TCP Zero Window is an ACK packet for temporarily stopping the packet from the transmission side by changing the window size to 0. In the case of congestion control on the receiving side, the window size changes, and the segment length of the transmission packet immediately before the TCP acknowledgment message (ACK) becomes shorter than the MSS. Therefore, ACK is detected, and even if the packet immediately before it is smaller than the MSS, it is excluded from the congestion packet. As a result, it is possible to detect only packets whose segment length is short by congestion control on the transmission side (monitored device 2 side). The above ACK packet is an example of a response confirmation message.

図19は直前パケット種別テーブル137のレコードレイアウトの一例を示す説明図である。直前パケット種別テーブル137は、コネクション番号、パケット種別などを含む。コネクション番号は、コネクション情報テーブル131に設定されているコネクション番号が記憶される。直前パケット種別は、監視対象機器2が送信した最新パケットの種別を記憶している。   FIG. 19 is an explanatory diagram showing an example of the record layout of the immediately preceding packet type table 137. The immediately preceding packet type table 137 includes connection numbers, packet types, and the like. As the connection number, the connection number set in the connection information table 131 is stored. The immediately preceding packet type stores the type of the latest packet transmitted by the monitored device 2.

図20は全パケット数及び輻輳パケット数の観測処理の手順を示すフローチャートである。ここでは、上述の図17と異なる点を主に説明する。下りパケットを受信した場合の処理には、ステップS16及びステップS17が追加されている。上りパケットを受信した場合の処理には、ステップS18からS21が追加されている。CPU11は監視対象機器2が送信したパケット(下りパケット)のセグメント長をMSSと比較する(ステップS9)。セグメント長がMSSより小さい場合(ステップS9でYES)、CPU11は輻輳パケット数を1加算する(ステップS10)。CPU11は直前パケット種別テーブル137にパケット種別「輻輳」をコネクション番号と対応付けて記憶する(ステップS16)。CPU11は、コネクション番号に対応するレコードがある場合、レコードを上書きし、ない場合、直前パケット種別テーブル137にレコードを追加し、パケット種別「輻輳」を記憶する。セグメント長がMSS以上の場合(ステップS9でNO)、CPU11は正常パケット数を1加算する(ステップS11)。CPU11は直前パケット種別テーブル137にパケット種別「正常」をコネクション番号と対応付けて記憶する(ステップS17)。CPU11は、コネクション番号に対応するレコードがある場合、レコードを上書きし、ない場合、直前パケット種別テーブル137にレコードを追加し、パケット種別「正常」を記憶する。   FIG. 20 is a flowchart showing the procedure for observing the total number of packets and the number of congestion packets. Here, differences from FIG. 17 described above will be mainly described. Steps S16 and S17 are added to the processing when a downstream packet is received. Steps S18 to S21 are added to the processing when an upstream packet is received. The CPU 11 compares the segment length of the packet (downstream packet) transmitted by the monitored device 2 with the MSS (step S9). If the segment length is smaller than the MSS (YES in step S9), the CPU 11 adds 1 to the number of congestion packets (step S10). The CPU 11 stores the packet type “congestion” in association with the connection number in the previous packet type table 137 (step S16). If there is a record corresponding to the connection number, the CPU 11 overwrites the record. If not, the CPU 11 adds the record to the immediately preceding packet type table 137 and stores the packet type “congestion”. If the segment length is greater than or equal to the MSS (NO in step S9), the CPU 11 adds 1 to the number of normal packets (step S11). The CPU 11 stores the packet type “normal” in association with the connection number in the previous packet type table 137 (step S17). If there is a record corresponding to the connection number, the CPU 11 overwrites the record. If not, the CPU 11 adds the record to the immediately preceding packet type table 137 and stores the packet type “normal”.

CPU11はパケット種別が上りと判定した後、ACKビットがあるか否かを調べる(ステップS18)。ACKビットがない場合(ステップS18でなし)、CPU11は処理を終了する。ACKビットがある場合(ステップS18であり)、CPU11は直前パケット種別テーブルから、コネクション番号に対応したパケット種別を読み出す(ステップS19)。パケット種別が輻輳の場合(ステップS19で輻輳)、CPU11は正常/輻輳パケット数テーブル133のコネクション番号に対応したレコードの輻輳パケット数を1減算する(ステップS20)。パケット種別が正常の場合(ステップS19で正常)、CPU11は正常/輻輳パケット数テーブル133のコネクション番号に対応したレコードの正常パケット数を1減算する(ステップS21)。CPU11は処理を終了する。以上の処理により、受信側輻輳制御によりセグメント長が変化したパケットを除外することが可能となる。   After determining that the packet type is uplink, the CPU 11 checks whether there is an ACK bit (step S18). If there is no ACK bit (none in step S18), the CPU 11 ends the process. When there is an ACK bit (step S18), the CPU 11 reads the packet type corresponding to the connection number from the previous packet type table (step S19). If the packet type is congestion (congestion in step S19), the CPU 11 subtracts 1 from the number of congestion packets in the record corresponding to the connection number in the normal / congestion packet number table 133 (step S20). When the packet type is normal (normal in step S19), the CPU 11 subtracts 1 from the normal packet number of the record corresponding to the connection number in the normal / congested packet number table 133 (step S21). The CPU 11 ends the process. With the above processing, it is possible to exclude packets whose segment length has changed due to the congestion control on the receiving side.

監視対象機器2が輻輳状態であるか否かの判定については、実施の形態1又は実施の形態2と同様であるので、説明を省略する。   The determination as to whether or not the monitoring target device 2 is in a congested state is the same as in the first embodiment or the second embodiment, and thus the description thereof is omitted.

上述のように、実施の形態3においては、受信側の輻輳制御によりセグメント長が変化したパケットを除外して、正常パケット数及び輻輳パケット数を観測するので、監視対象機器2が輻輳状態であるか否かの判定をより正確に行うことが可能となる。   As described above, in the third embodiment, since the packet whose segment length has been changed by the congestion control on the receiving side is excluded and the number of normal packets and the number of congestion packets are observed, the monitored device 2 is in a congestion state. It becomes possible to determine whether or not more accurately.

実施の形態4
図21は実施の形態1〜3に係る監視装置1の動作を示す機能ブロック図である。CPU11が制御プログラム13P等を実行することにより、監視装置1は以下のように動作する。取得部201は、監視対象機器2の送信するパケットのセグメント長を取得する。算出部202は、取得部201が取得したセグメント長、及び予め取得した監視対象機器2の受信可能な最大セグメント長を比較し、前記最大セグメント長より短いセグメント長を持つパケットの所定時間内の数が、前記所定時間内に前記監視対象機器2が送信したパケット数に占める比率を算出する。通知部203は、算出部202で算出した比率が、前記パケット数に対応する閾値より大きい場合に通知を行う。
Embodiment 4
FIG. 21 is a functional block diagram illustrating the operation of the monitoring device 1 according to the first to third embodiments. When the CPU 11 executes the control program 13P and the like, the monitoring device 1 operates as follows. The acquisition unit 201 acquires the segment length of the packet transmitted by the monitoring target device 2. The calculation unit 202 compares the segment length acquired by the acquisition unit 201 with the maximum segment length that can be received by the monitoring target device 2 in advance, and the number of packets having a segment length shorter than the maximum segment length within a predetermined time. Calculates the ratio of the number of packets transmitted by the monitored device 2 within the predetermined time. The notification unit 203 notifies when the ratio calculated by the calculation unit 202 is larger than the threshold corresponding to the number of packets.

検出部204は、監視対象機器2が確認応答メッセージを受信したことを検出する。算出部202は、また、検出部204が確認応答メッセージの受信を検出した場合、その直前に監視対象機器2が送信したパケットを比率の算出対象から除外する。   The detection unit 204 detects that the monitoring target device 2 has received the confirmation response message. In addition, when the detection unit 204 detects reception of the confirmation response message, the calculation unit 202 excludes the packet transmitted by the monitoring target device 2 immediately before it from the calculation target of the ratio.

測定部205は、監視対象機器2の通信速度を測定する。回線判定部206は、測定部205が測定した通信速度、及び前記監視対象機器が使用するネットワーク回線の回線速度を比較し、前記ネットワーク回線が輻輳状態であるか否かを判定する。通知部203は、また、回線判定部206の判定結果に基づいて、通知内容を決定する。   The measuring unit 205 measures the communication speed of the monitoring target device 2. The line determination unit 206 compares the communication speed measured by the measurement unit 205 with the line speed of the network line used by the monitoring target device, and determines whether or not the network line is in a congestion state. The notification unit 203 also determines the notification content based on the determination result of the line determination unit 206.

図22は実施の形態4に係る監視装置1のハードウェア群を示すブロック図である。監視装置1を動作させるためのプログラムは、ディスクドライブ等の読み取り部10AにCD−ROM、DVD(Digital Versatile Disc)ディスク、メモリカード、またはUSB(UniversalSerial Bus)メモリ等の可搬型記録媒体1Aを読み取らせて記憶部13に記憶しても良い。また当該プログラムを記憶したフラッシュメモリ等の半導体メモリ1Bを監視装置1内に実装しても良い。さらに、当該プログラムは、インターネット等の通信網を介して接続される他のサーバコンピュータ(図示せず)からダウンロードすることも可能である。以下に、その内容を説明する。   FIG. 22 is a block diagram illustrating a hardware group of the monitoring device 1 according to the fourth embodiment. A program for operating the monitoring device 1 reads a portable recording medium 1A such as a CD-ROM, a DVD (Digital Versatile Disc) disk, a memory card, or a USB (Universal Serial Bus) memory into a reading unit 10A such as a disk drive. May be stored in the storage unit 13. Further, a semiconductor memory 1B such as a flash memory storing the program may be mounted in the monitoring device 1. Further, the program can be downloaded from another server computer (not shown) connected via a communication network such as the Internet. The contents will be described below.

図22に示す監視装置1は、上述した各種ソフトウェア処理を実行するプログラムを、可搬型記録媒体1Aまたは半導体メモリ1Bから読み取り、或いは、通信網を介して他のサーバコンピュータ(図示せず)からダウンロードする。当該プログラムは、制御プログラム13Pとしてインストールされ、RAM12にロードして実行される。これにより、上述した監視装置1として機能する。   The monitoring device 1 shown in FIG. 22 reads a program for executing the above-described various software processes from the portable recording medium 1A or the semiconductor memory 1B or downloads it from another server computer (not shown) via a communication network. To do. The program is installed as the control program 13P, loaded into the RAM 12, and executed. Thereby, it functions as the monitoring apparatus 1 mentioned above.

本実施の形態4は以上の如きであり、その他は実施の形態1から3と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The fourth embodiment is as described above, and the others are the same as those of the first to third embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted.

なお、上述した実施の形態1乃至4において、マスタテーブル/データテーブル13Tは、監視装置1の記憶部13に記憶されているものとしたが、それに限らず、外部記憶装置に記憶しておき、外部記憶装置から直接又はネットワークを介してデータの読み出しや書き込みを行うこととしても良い。   In the first to fourth embodiments described above, the master table / data table 13T is stored in the storage unit 13 of the monitoring device 1. However, the present invention is not limited to this, and is stored in an external storage device. Data may be read or written directly from an external storage device or via a network.

上述した実施の形態1乃至4において、輻輳状態であるか否かの判定基準となる輻輳パケット数を、その都度、近似式と信頼区間の上限値95%より求めたが、それに限られるものではない。全パケット数として複数の値を定め、全パケット数それぞれに対応した基準の輻輳パケット数を予め計算しておき、計算した輻輳パケット数を全パケット数と対応付けて記憶部13等に記憶しておいても良い。また、人が経験に基づき、全パケット数に対応した輻輳パケット数を設定しても良い。
さらにまた、輻輳状態であるか否かの判定基準となる輻輳パケット数は監視対象機器毎に定めることとしているが、監視対象機器間に性能の優位差がない場合は、共通な近似式と信頼区間の上限値95%等を用いても良い。
In Embodiments 1 to 4 described above, the number of congestion packets, which is a criterion for determining whether or not there is a congestion state, is obtained from the approximate expression and the upper limit value 95% of the confidence interval each time. Absent. A plurality of values are determined as the total number of packets, a reference number of congestion packets corresponding to each total number of packets is calculated in advance, and the calculated number of congestion packets is stored in the storage unit 13 in association with the total number of packets. You can leave it. Further, a person may set the number of congestion packets corresponding to the total number of packets based on experience.
Furthermore, the number of congestion packets, which is a criterion for determining whether or not there is a congestion state, is determined for each monitored device. If there is no significant difference in performance among the monitored devices, a common approximate expression and a reliability An upper limit value of 95% or the like of the section may be used.

また、上述した実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。   Further, the above-described embodiment is an example in all respects, and should be considered not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the meanings described above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

以上の実施の形態1乃至4を含む実施形態に関し、さらに以下の付記を開示する。   The following additional notes are further disclosed with respect to the embodiments including the first to fourth embodiments.

(付記1)
監視対象機器が送信するパケットのセグメント長を取得する取得部と、
該取得部が取得したセグメント長、及び予め取得した監視対象機器の受信可能な最大セグメント長を比較し、前記最大セグメント長より短いセグメント長を持つパケットの所定時間内の数が、前記所定時間内に前記監視対象機器が送信したパケット数に占める比率を算出する算出部と、
該算出部で算出した比率が、前記パケット数に対応する閾値より大きい場合に通知を行う通知部と
を備える監視装置。
(Appendix 1)
An acquisition unit that acquires the segment length of the packet transmitted by the monitored device;
The segment length acquired by the acquisition unit and the maximum segment length that can be received by the monitoring target device acquired in advance are compared, and the number of packets having a segment length shorter than the maximum segment length is within the predetermined time. A calculation unit that calculates a ratio of the number of packets transmitted by the monitored device to
And a notification unit that performs notification when the ratio calculated by the calculation unit is greater than a threshold value corresponding to the number of packets.

(付記2)
前記監視対象機器の通信速度を測定する測定部と、
該測定部が測定した通信速度、及び前記監視対象機器が使用するネットワーク回線の回線速度を比較し、前記ネットワーク回線が輻輳状態であるか否かを判定する回線判定部をさらに備え、
前記通知部は、前記回線判定部の判定結果に基づいて、通知内容を決定する
付記1に記載の監視装置。
(Appendix 2)
A measurement unit for measuring the communication speed of the monitored device;
A line determination unit that compares the communication speed measured by the measurement unit and the line speed of the network line used by the monitored device, and determines whether or not the network line is in a congested state;
The monitoring apparatus according to claim 1, wherein the notification unit determines notification contents based on a determination result of the line determination unit.

(付記3)
送信したパケットの到達を確認したことを示す確認応答メッセージを、前記監視対象機器が受信したことを検出する検出部をさらに備え、
該検出部が前記確認応答メッセージの受信を検出した場合、前記算出部は、前記確認応答メッセージの受信直前に前記監視対象機器が送信したパケットを前記比率の算出対象から除外する
付記1又は2に記載の監視装置。
(Appendix 3)
A detection unit for detecting that the monitored device has received an acknowledgment message indicating that the arrival of the transmitted packet has been confirmed;
When the detection unit detects reception of the confirmation response message, the calculation unit excludes a packet transmitted by the monitoring target device immediately before reception of the confirmation response message from the calculation target of the ratio. The monitoring device described.

(付記4)
監視対象機器の送信するパケットのセグメント長、及び予め取得した監視対象機器の受信可能な最大セグメント長を比較し、
前記最大セグメント長より短いセグメント長を持つパケットの所定時間内の数が、前記所定時間内に前記監視対象機器が送信したパケット数に占める比率を算出し、
算出した比率が、前記パケット数に対応する閾値より大きい場合に、通知をする
処理をコンピュータに実行させるプログラム。
(Appendix 4)
Compare the segment length of the packet to be transmitted by the monitoring target device and the maximum segment length that can be received by the monitoring target device acquired in advance.
Calculating the ratio of the number of packets having a segment length shorter than the maximum segment length in a predetermined time to the number of packets transmitted by the monitored device within the predetermined time;
A program for causing a computer to execute a notification process when a calculated ratio is larger than a threshold corresponding to the number of packets.

(付記5)
前記監視対象機器の通信速度を測定し、
測定した通信速度、及び前記監視対象機器が使用するネットワーク回線の回線速度を比較し、
前記ネットワーク回線が輻輳状態であるか否かを判定し、
判定結果に基づいて、通知内容を決定する
付記4に記載のプログラム。
(Appendix 5)
Measure the communication speed of the monitored device,
Compare the measured communication speed and the line speed of the network line used by the monitored device,
Determining whether the network line is congested;
The program according to appendix 4, wherein notification content is determined based on the determination result.

(付記6)
送信したパケットの到達を確認したことを示す確認応答メッセージを、前記監視対象機器が受信したことを検出し、
前記監視対象機器が前記確認応答メッセージの受信直前に送信したパケットを前記比率の算出対象から除外する
付記4又は5に記載のプログラム。
(Appendix 6)
Detecting that the monitored device has received an acknowledgment message indicating confirmation of arrival of the transmitted packet;
The program according to claim 4 or 5, wherein a packet transmitted by the monitoring target device immediately before receiving the confirmation response message is excluded from the ratio calculation target.

(付記7)
コンピュータによって実行される監視方法であって、
監視対象機器の送信するパケットのセグメント長、及び予め取得した監視対象機器の受信可能な最大セグメント長を比較し、前記最大セグメント長より短いセグメント長を持つパケットの所定時間内の数が、前記所定時間内に前記監視対象機器が送信したパケット数に占める比率を算出し、
算出した比率が、前記パケット数に対応する閾値より大きい場合に、通知する
監視方法。
(Appendix 7)
A monitoring method executed by a computer,
The segment length of the packet transmitted by the monitoring target device is compared with the maximum segment length that can be received by the monitoring target device acquired in advance, and the number of packets having a segment length shorter than the maximum segment length within a predetermined time is Calculate the ratio of the number of packets sent by the monitored device in time,
A monitoring method for notifying when the calculated ratio is larger than a threshold corresponding to the number of packets.

(付記8)
前記監視対象機器の通信速度を測定し、
測定した通信速度、及び前記監視対象機器が使用するネットワーク回線の回線速度を比較し、
前記ネットワーク回線が輻輳状態であるか否かを判定し、
判定結果に基づいて、通知内容を決定する
付記7に記載の方法。
(Appendix 8)
Measure the communication speed of the monitored device,
Compare the measured communication speed and the line speed of the network line used by the monitored device,
Determining whether the network line is congested;
The method according to appendix 7, wherein notification content is determined based on the determination result.

(付記9)
送信したパケットの到達を確認したことを示す確認応答メッセージを、前記監視対象機器が受信したことを検出し、
前記監視対象機器が前記確認応答メッセージの受信直前に送信したパケットを前記比率の算出対象から除外する
付記7又は8に記載の方法。
(Appendix 9)
Detecting that the monitored device has received an acknowledgment message indicating confirmation of arrival of the transmitted packet;
The method according to claim 7 or 8, wherein a packet transmitted immediately before reception of the confirmation response message is excluded from a target for calculating the ratio.

1 監視装置
11 CPU
12 RAM
13 記憶部
13P 制御プログラム
13T マスタテーブル/データテーブル
131 コネクション情報テーブル
132 MSSテーブル
133 正常/輻輳パケット数テーブル
134 輻輳判定パラメータテーブル
135 回線速度閾値テーブル
136 ネットワーク帯域テーブル
137 直前パケット種別テーブル
14 時計部
15 通信部
2、3、4 サーバコンピュータ(監視対象機器)
5 スイッチ
6 クライアント
1 Monitoring device 11 CPU
12 RAM
13 Storage Unit 13P Control Program 13T Master Table / Data Table 131 Connection Information Table 132 MSS Table 133 Normal / Congestion Packet Number Table 134 Congestion Judgment Parameter Table 135 Line Speed Threshold Table 136 Network Bandwidth Table 137 Immediate Packet Type Table 14 Clock Unit 15 Communication Part 2, 3, 4 Server computer (monitored device)
5 switch 6 client

Claims (5)

監視対象機器が送信するパケットのセグメント長を取得する取得部と、
該取得部が取得したセグメント長、及び予め取得した監視対象機器の受信可能な最大セグメント長を比較し、前記最大セグメント長より短いセグメント長を持つパケットの所定時間内の数が、前記所定時間内に前記監視対象機器が送信したパケット数に占める比率を算出する算出部と、
該算出部で算出した比率が、前記パケット数に対応する閾値より大きい場合に通知を行う通知部と
を備える監視装置。
An acquisition unit that acquires the segment length of the packet transmitted by the monitored device;
The segment length acquired by the acquisition unit and the maximum segment length that can be received by the monitoring target device acquired in advance are compared, and the number of packets having a segment length shorter than the maximum segment length is within the predetermined time. A calculation unit that calculates a ratio of the number of packets transmitted by the monitored device to
And a notification unit that performs notification when the ratio calculated by the calculation unit is greater than a threshold value corresponding to the number of packets.
前記監視対象機器の通信速度を測定する測定部と、
該測定部が測定した通信速度、及び前記監視対象機器が使用するネットワーク回線の回線速度を比較し、前記ネットワーク回線が輻輳状態であるか否かを判定する回線判定部をさらに備え、
前記通知部は、前記回線判定部の判定結果に基づいて、通知内容を決定する
請求項1に記載の監視装置。
A measurement unit for measuring the communication speed of the monitored device;
A line determination unit that compares the communication speed measured by the measurement unit and the line speed of the network line used by the monitored device, and determines whether or not the network line is in a congested state;
The monitoring apparatus according to claim 1, wherein the notification unit determines notification contents based on a determination result of the line determination unit.
送信したパケットの到達を確認したことを示す確認応答メッセージを、前記監視対象機器が受信したことを検出する検出部をさらに備え、
該検出部が前記確認応答メッセージの受信を検出した場合、前記算出部は、前記確認応答メッセージの受信直前に前記監視対象機器が送信したパケットを前記比率の算出対象から除外する
請求項1又は2に記載の監視装置。
A detection unit for detecting that the monitored device has received an acknowledgment message indicating that the arrival of the transmitted packet has been confirmed;
3. When the detection unit detects reception of the confirmation response message, the calculation unit excludes a packet transmitted by the monitoring target device immediately before reception of the confirmation response message from the calculation target of the ratio. The monitoring device described in 1.
監視対象機器の送信するパケットのセグメント長、及び予め取得した監視対象機器の受信可能な最大セグメント長を比較し、
前記最大セグメント長より短いセグメント長を持つパケットの所定時間内の数が、前記所定時間内に前記監視対象機器が送信したパケット数に占める比率を算出し、
算出した比率が、前記パケット数に対応する閾値より大きい場合に、通知をする
処理をコンピュータに実行させるプログラム。
Compare the segment length of the packet to be transmitted by the monitoring target device and the maximum segment length that can be received by the monitoring target device acquired in advance.
Calculating the ratio of the number of packets having a segment length shorter than the maximum segment length in a predetermined time to the number of packets transmitted by the monitored device within the predetermined time;
A program for causing a computer to execute a notification process when a calculated ratio is larger than a threshold corresponding to the number of packets.
コンピュータによって実行される監視方法であって、
監視対象機器の送信するパケットのセグメント長、及び予め取得した監視対象機器の受信可能な最大セグメント長を比較し、前記最大セグメント長より短いセグメント長を持つパケットの所定時間内の数が、前記所定時間内に前記監視対象機器が送信したパケット数に占める比率を算出し、
算出した比率が、前記パケット数に対応する閾値より大きい場合に、通知する
監視方法。
A monitoring method executed by a computer,
The segment length of the packet transmitted by the monitoring target device is compared with the maximum segment length that can be received by the monitoring target device acquired in advance, and the number of packets having a segment length shorter than the maximum segment length within a predetermined time is Calculate the ratio of the number of packets sent by the monitored device in time,
A monitoring method for notifying when the calculated ratio is larger than a threshold corresponding to the number of packets.
JP2012015677A 2012-01-27 2012-01-27 Monitoring device, program, and monitoring method Expired - Fee Related JP5786733B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012015677A JP5786733B2 (en) 2012-01-27 2012-01-27 Monitoring device, program, and monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012015677A JP5786733B2 (en) 2012-01-27 2012-01-27 Monitoring device, program, and monitoring method

Publications (2)

Publication Number Publication Date
JP2013157742A true JP2013157742A (en) 2013-08-15
JP5786733B2 JP5786733B2 (en) 2015-09-30

Family

ID=49052564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012015677A Expired - Fee Related JP5786733B2 (en) 2012-01-27 2012-01-27 Monitoring device, program, and monitoring method

Country Status (1)

Country Link
JP (1) JP5786733B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108513166A (en) * 2018-03-01 2018-09-07 世纪龙信息网络有限责任公司 Video length statistical method, device and computer equipment
CN112204928A (en) * 2018-05-30 2021-01-08 日本电信电话株式会社 Abnormality detection device, abnormality detection method, and abnormality detection program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002314594A (en) * 2001-04-19 2002-10-25 Nippon Telegr & Teleph Corp <Ntt> Communication processing method and its performance system, and its processing program and recording medium
JP2006513663A (en) * 2003-01-28 2006-04-20 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Method and apparatus for congestion notification in a packet network, informing various congestion factors
JP2007116714A (en) * 2005-10-21 2007-05-10 Internatl Business Mach Corp <Ibm> Method and apparatus for adaptive bandwidth control with bandwidth guarantee

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002314594A (en) * 2001-04-19 2002-10-25 Nippon Telegr & Teleph Corp <Ntt> Communication processing method and its performance system, and its processing program and recording medium
JP2006513663A (en) * 2003-01-28 2006-04-20 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Method and apparatus for congestion notification in a packet network, informing various congestion factors
JP2007116714A (en) * 2005-10-21 2007-05-10 Internatl Business Mach Corp <Ibm> Method and apparatus for adaptive bandwidth control with bandwidth guarantee

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108513166A (en) * 2018-03-01 2018-09-07 世纪龙信息网络有限责任公司 Video length statistical method, device and computer equipment
CN108513166B (en) * 2018-03-01 2020-06-16 世纪龙信息网络有限责任公司 Video duration statistical method and device and computer equipment
CN112204928A (en) * 2018-05-30 2021-01-08 日本电信电话株式会社 Abnormality detection device, abnormality detection method, and abnormality detection program
CN112204928B (en) * 2018-05-30 2022-07-15 日本电信电话株式会社 Abnormality detection device, abnormality detection method, and recording medium

Also Published As

Publication number Publication date
JP5786733B2 (en) 2015-09-30

Similar Documents

Publication Publication Date Title
US9531614B1 (en) Network aware distributed business transaction anomaly detection
EP2808795B1 (en) Apparatus and method for monitoring a computer system
JP4058038B2 (en) Load monitoring device and load monitoring method
JP5732767B2 (en) PROCESSING DEVICE, PROCESSING METHOD, PROCESSING PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
CN108833202B (en) Method, device and computer readable storage medium for detecting fault link
JP5418250B2 (en) Abnormality detection apparatus, program, and abnormality detection method
CN108075934B (en) Network quality monitoring method, device and system
CN107040494B (en) User account abnormity prevention method and system
US9921902B2 (en) System and method for providing a watchdog timer to enable collection of crash data
WO2018094654A1 (en) Vpn transmission tunnel scheduling method and device, and vpn client-end server
US8521882B2 (en) Client/subscriber rotation using select write calls for server resiliency
US20140280959A1 (en) Application server instance selection based on protocol latency information
US20170126789A1 (en) Automatic Software Controller Configuration based on Application and Network Data
US9503506B2 (en) Transit-mode-based webpage accessing method, system, and crawler route server
US9503343B2 (en) Method and system for detecting network topology change
KR102469441B1 (en) A method and an apparatus for monitoring global failure of virtual gateway cluster
US20170126580A1 (en) Tracking Contention in a Distributed Business Transaction
US9253669B2 (en) Network analysis method, information processing device, and computer-readable recording medium
KR20140098390A (en) Apparatus and method for detecting attack of network system
JP5786733B2 (en) Monitoring device, program, and monitoring method
CN104572105B (en) Data-updating method and device
JP2020038506A (en) Information processing system, information processing method, and program
JP2016181745A (en) Radio terminal, program and communication log acquisition method
JP2014057170A (en) Transfer device, transfer method, and transfer program
JP5441167B2 (en) Router device, transfer control method, and transfer control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150619

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150630

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150713

R150 Certificate of patent or registration of utility model

Ref document number: 5786733

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees