JP7315099B2 - Connection count measurement device, connection state detection device, connection state detection method, and connection count measurement program - Google Patents

Connection count measurement device, connection state detection device, connection state detection method, and connection count measurement program Download PDF

Info

Publication number
JP7315099B2
JP7315099B2 JP2022527268A JP2022527268A JP7315099B2 JP 7315099 B2 JP7315099 B2 JP 7315099B2 JP 2022527268 A JP2022527268 A JP 2022527268A JP 2022527268 A JP2022527268 A JP 2022527268A JP 7315099 B2 JP7315099 B2 JP 7315099B2
Authority
JP
Japan
Prior art keywords
state
connection
value
state storage
storage circuit
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.)
Active
Application number
JP2022527268A
Other languages
Japanese (ja)
Other versions
JPWO2021240586A1 (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
Publication of JPWO2021240586A1 publication Critical patent/JPWO2021240586A1/ja
Application granted granted Critical
Publication of JP7315099B2 publication Critical patent/JP7315099B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks

Description

本発明は、受信したパケットに基づいてコネクションの状態を検出するコネクション検出技術に関する。 The present invention relates to a connection detection technique for detecting connection states based on received packets.

一般に、キャリアネットワークやデータセンタ等のネットワークサービスにおけるサービス運用管理では、サーバの負荷状況を把握するため、サーバのコネクション数をリアルタイムに監視する必要がある。コネクション数は、例えば、非特許文献1に記載の技術を用いることにより、サーバ内で計測することができ、正確な数を得ることができる。しかし、コネクションの監視を行うためにサーバの計算リソースの一部を占有するため、サーバの処理性能を低下させる可能性がある。 Generally, in service operation management in network services such as carrier networks and data centers, it is necessary to monitor the number of server connections in real time in order to grasp the load status of the server. The number of connections can be measured within the server by using the technique described in Non-Patent Document 1, for example, and an accurate number can be obtained. However, since it occupies part of the computational resources of the server in order to monitor the connection, there is a possibility that the processing performance of the server may be degraded.

一方、サーバとは別個の、ネットワークスイッチ、ルータ、ネットワーク監視装置などのネットワーク機器により、非特許文献2に記載の技術を用いて通信ネットワーク上のコネクションを監視すれば、サーバに負荷を与えることなくコネクションの数を計測することができる。 On the other hand, if the connections on the communication network are monitored using the technique described in Non-Patent Document 2 using network equipment such as network switches, routers, and network monitoring devices that are separate from the server, the number of connections can be measured without imposing a load on the server.

Michael Kerrisk、「Linux System Administrator’s Manual NETSTAT(8)」、The Linux Programming Interface、[online]、2020-04-30、[2020/05/07検索]、インターネット、<URL:http://man7.org/linux/man-pages/man8/netstat.8.html>Michael Kerrisk, "Linux System Administrator's Manual NETSTAT(8)", The Linux Programming Interface, [online], 2020-04-30, [searched 2020/05/07], Internet, <URL: http://man7.org/linux/man-pages/man8/netstat.8.html> K. McCloghrie、RFC2012、「SNMPv2 Management Information Base for the Transmission Control Protocol using SMIv2」、THE INTERNET SOCIETY and THE INTERNET ENGINEERING TASK FORCE、[online]、November 1996、[2020/05/07検索]、インターネット、<https://www.rfc-editor.org/rfc/rfc2012.txt>K. McCloghrie, RFC2012, "SNMPv2 Management Information Base for the Transmission Control Protocol using SMIv2", THE INTERNET SOCIETY and THE INTERNET ENGINEERING TASK FORCE, [online], November 1996, [searched 2020/05/07], Internet, <https://www.rfc-editor.org/rfc/rfc2012.txt>

ネットワーク上でコネクション数を計測する場合、多数のコネクションの状態を検出して保持(管理)する必要がある。従来から、ハッシュ探索によってコネクションの状態を保持するためのコネクションテーブルを探索する方法が提案されており、コネクションテーブルの検索キーに入力パケットのヘッダに含まれるフィールド情報に対応したハッシュ値を用いることで高速な検索を可能にしている。ここで、一般的なハッシュ探索ではハッシュ衝突による探索の失敗を避けるため、長いハッシュ値を検索キーとする。そのため、ハッシュ探索を行うコネクションテーブルは状態を保持するコネクションの数以上の大きなメモリを必要とし、メモリの利用効率が低い問題がある。 When measuring the number of connections on a network, it is necessary to detect and hold (manage) the states of many connections. Conventionally, a method of searching a connection table for holding the connection state by hash search has been proposed, and high-speed search is enabled by using a hash value corresponding to the field information contained in the header of the input packet as the search key of the connection table. Here, in general hash search, a long hash value is used as a search key in order to avoid search failure due to hash collision. Therefore, the connection table for hash search requires a memory larger than the number of connections that hold the state, resulting in low memory utilization efficiency.

本発明はこのような課題を解決するためのものであり、少ないメモリリソースでコネクションの状態を検出できるコネクション状態検出技術を提供することを目的としている。 SUMMARY OF THE INVENTION It is an object of the present invention to solve such problems, and to provide a connection state detection technique capable of detecting a connection state with a small amount of memory resources.

このような目的を達成するために、本発明にかかるコネクション数計測装置は、通信網との間でパケットを用いたデータ通信を行う網I/Fと、前記網I/Fを介して前記通信網から受信した受信パケットのヘッダから予め設定されたフィールド値とコネクションの状態を制御するための状態制御情報とを取得し、前記フィールド値と前記状態制御情報とに基づいて、前記受信パケットのコネクションを示す対象コネクションに関する状態を検出し、得られた検出結果に基づいて各コネクションに関するコネクション数を計測する制御装置と、コネクションの状態を示す状態値と当該コネクションを識別するための参照値とを、保持するように構成された複数の状態記憶回路とを備え、前記制御装置は、前記複数の状態記憶回路のうちから、それぞれの状態記憶回路で保持する前記参照値に基づいて、前記対象コネクションに関する状態値を保持する状態記憶回路を選択するように構成された選択部と、前記受信パケットから取得した状態制御情報と、前記選択部で選択された前記状態記憶回路で保持する状態値とに基づいて、前記対象コネクションの状態に関する次状態を判別し、前記検出結果として出力するように構成された状態判別部と、前記状態判別部で得られた前記対象コネクションに関する次状態に基づいて、前記複数の状態記憶回路での保持内容を更新するように構成された状態更新部とを備えている。 In order to achieve such an object, a connection number measuring apparatus according to the present invention acquires a network I/F for performing data communication using packets with a communication network, obtains a preset field value and state control information for controlling the connection state from the header of a received packet received from the communication network via the network I/F, detects the state of a target connection indicating the connection of the received packet based on the field value and the state control information, and measures the number of connections for each connection based on the obtained detection result. and a plurality of state storage circuits configured to hold a state value indicating the state of a connection and a reference value for identifying the connection, the control device comprising: a selection unit configured to select, from among the plurality of state storage circuits, a state storage circuit holding the state value related to the target connection based on the reference value held in each of the state storage circuits; and a state determining unit configured to determine a next state of the target connection and output it as the detection result, and a state updating unit configured to update contents held in the plurality of state storage circuits based on the next state of the target connection obtained by the state determining unit.

また、本発明にかかるコネクション状態検出装置は、受信パケットのコネクションの状態を示す状態値と当該コネクションを識別するための参照値とを、保持するように構成された複数の状態記憶回路と、受信パケットのヘッダから取得したフィールド値および状態制御情報に基づいて、前記複数の状態記憶回路で保持されている前記状態値および前記参照値を参照することにより、前記受信パケットのコネクションである対象コネクションの状態を検出するように構成された制御装置とを備え、前記制御装置は、前記複数の状態記憶回路のうちから、それぞれの状態記憶回路で保持する前記参照値に基づいて、前記対象コネクションに関する状態値を保持する状態記憶回路を選択するように構成された選択部と、前記受信パケットから取得した状態制御情報と、前記選択部で選択された前記状態記憶回路で保持する状態値とに基づいて、前記対象コネクションの次状態を判別することにより、前記対象コネクションの状態を検出するように構成された状態判別部と、前記状態判別部で得られた前記対象コネクションに関する次状態に基づいて、前記複数の状態記憶回路での保持内容を更新するように構成された状態更新部とを備えている。 A connection state detection apparatus according to the present invention comprises: a plurality of state storage circuits configured to hold a state value indicating a connection state of a received packet and a reference value for identifying the connection; and a controller configured to refer to the state value and the reference value held in the plurality of state storage circuits based on a field value and state control information obtained from a header of the received packet, wherein the control device detects the state of a target connection, which is the connection of the received packet. a state determining unit configured to determine a next state of the target connection based on the state control information obtained from the received packet and the state value selected by the selecting unit and stored in the state storage circuit, thereby detecting the state of the target connection; and based on the next state of the target connection obtained by the state determining unit. and a state update unit configured to update contents held in the plurality of state storage circuits.

また、本発明にかかるコネクション状態検出方法は、受信パケットのコネクションの状態を示す状態値と当該コネクションを識別するための参照値とを、保持するように構成された複数の状態記憶回路と、受信パケットのヘッダから取得したフィールド値および状態制御情報に基づいて、前記複数の状態記憶回路で保持されている前記状態値および前記参照値を参照することにより、前記受信パケットのコネクションである対象コネクションの状態を検出し、得られた検出結果を出力するように構成された制御装置とを備えるコネクション状態検出装置で用いられる状態検出方法であって、前記制御装置が、前記複数の状態記憶回路のうちから、それぞれの状態記憶回路で保持する前記参照値に基づいて、前記対象コネクションに関する状態値を保持する状態記憶回路を選択するように構成された選択ステップと、前記制御装置が、前記受信パケットから取得した状態制御情報と、前記選択ステップで選択された前記状態記憶回路で保持する状態値とに基づいて、前記対象コネクションの次状態を判別することにより、前記対象コネクションの状態を検出するように構成された状態判別ステップと、前記制御装置が、前記状態判別ステップで得られた前記対象コネクションに関する次状態に基づいて、前記複数の状態記憶回路での保持内容を更新するように構成された状態更新ステップとを備えている。 A connection state detection method according to the present invention includes: a plurality of state storage circuits configured to store a state value indicating a connection state of a received packet and a reference value for identifying the connection; and a connection controller configured to detect the state of a target connection, which is the connection of the received packet, by referring to the state value and the reference value held in the plurality of state storage circuits based on a field value and state control information obtained from a header of the received packet, and output the obtained detection result. A state detection method used in a state detection device, wherein the control device selects, from among the plurality of state storage circuits, a state storage circuit that holds a state value related to the target connection based on the reference value held in each state storage circuit; and the control device determines the next state of the target connection based on the state control information acquired from the received packet and the state value held in the state storage circuit selected in the selection step, thereby detecting the state of the target connection. and a state update step, wherein the controller updates contents held in the plurality of state storage circuits based on the next state of the target connection obtained in the state determination step.

また、本発明にかかるコネクション数計測プログラムは、コンピュータを、上記のコネクション数計測装置を構成する各部として機能させるためのプログラムである。 Further, a connection number measuring program according to the present invention is a program for causing a computer to function as each part constituting the above connection number measuring apparatus.

本発明によれば、従来技術と比較して、少ないメモリリソースでコネクションの状態を検出することが可能となる。 According to the present invention, it is possible to detect the connection state with less memory resources than in the prior art.

図1は、コネクション数計測装置の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of the number-of-connections measuring device. 図2は、状態検出部の詳細を示すブロック図である。FIG. 2 is a block diagram showing the details of the state detector. 図3は、TCPコネクションの状態遷移図である。FIG. 3 is a state transition diagram of a TCP connection. 図4は、状態更新動作を示す説明図である。FIG. 4 is an explanatory diagram showing the state update operation. 図5は、保存先衝突時動作を示す説明図である。FIG. 5 is an explanatory diagram showing the operation at the time of conflict with the storage destination. 図6は、コネクション数計測方法のフローチャートである。FIG. 6 is a flow chart of the method for measuring the number of connections. 図7は、コネクション状態検出方法のフローチャートである。FIG. 7 is a flowchart of a connection state detection method. 図8は、コネクション数計測結果の構成例を示す説明図である。FIG. 8 is an explanatory diagram showing a configuration example of the number of connections measurement result.

次に、本発明の一実施の形態について図面を参照して説明する。
[コネクション数計測装置]
まず、図1を参照して、本実施の形態にかかるコネクション数計測装置10およびコネクション状態検出装置10Aについて説明する。図1は、コネクション数計測装置の構成を示すブロック図である。
Next, one embodiment of the present invention will be described with reference to the drawings.
[Connection number measuring device]
First, a connection number measuring device 10 and a connection state detecting device 10A according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of the number-of-connections measuring device.

このコネクション数計測装置10は、監視対象となるパケットを、インターネットやLANなどの通信網NWから受信し、得られた受信パケットに基づき検出したコネクションを計測する装置である。計測されたコネクション数は、例えばキャリアネットワークやデータセンタ等のネットワークサービスで用いられているサーバの負荷状況を把握するために用いられる。 The connection number measuring device 10 is a device that receives packets to be monitored from a communication network NW such as the Internet or a LAN, and measures connections detected based on the obtained received packets. The measured number of connections is used, for example, to grasp the load status of servers used in network services such as carrier networks and data centers.

なお、コネクション数計測装置10については、単体で構成してもよく、パケットに基づいてフロー数やコネクション数を計測することにより、ネットワークの通信状況を監視するネットワーク監視装置やネットワーク監視システムに実装してもよい。また、本発明の装置はコンピュータとプログラムによっても実現でき、プログラムを記録媒体に記録することも、ネットワークを通して提供することも可能である。 The number-of-connections measuring device 10 may be configured as a single device, or may be implemented in a network monitoring device or network monitoring system that monitors the communication status of a network by measuring the number of flows and connections based on packets. The apparatus of the present invention can also be implemented by a computer and a program, and the program can be recorded on a recording medium or provided through a network.

図1に示すように、コネクション数計測装置10は、主な構成として、網I/F11、操作入力装置12、画面表示装置13、記憶装置14、制御装置15、および状態記憶回路16を備えている。 As shown in FIG. 1, the connection number measuring device 10 includes a network I/F 11, an operation input device 12, a screen display device 13, a storage device 14, a control device 15, and a state storage circuit 16 as main components.

[網I/F11]
網I/F11は、通信網NWとの間でパケットを用いたデータ通信を行うように構成されている。
[操作入力装置]
操作入力装置12は、キーボード、マウス、タッチパネルなどの操作入力装置からなり、オペレータの操作を検出して制御装置15へ出力するように構成されている。
[画面表示装置]
画面表示装置13は、LCDなどの画面表示装置からなり、制御装置15から出力されたメニュー画面、設定画面、監視結果画面などの各種画面を表示するように構成されている。
[Network I/F11]
The network I/F 11 is configured to perform data communication using packets with the communication network NW.
[Operation input device]
The operation input device 12 includes an operation input device such as a keyboard, a mouse, and a touch panel, and is configured to detect operator's operations and output them to the control device 15 .
[Screen display device]
The screen display device 13 is composed of a screen display device such as an LCD, and is configured to display various screens output from the control device 15, such as a menu screen, a setting screen, and a monitoring result screen.

[記憶装置]
記憶装置14は、ハードディスクや半導体メモリなどの記憶装置からなり、制御装置15で実行する、コネクション数計測処理に用いる処理データやプログラム14Pを記憶するように構成されている。
プログラム14Pは、制御装置15のCPUと協働することにより、コネクション数計測処理を実行する各種処理部を実現するためのプログラムである。プログラム14Pは、接続された外部装置や記録媒体から、予め読み出されて記憶装置14に格納される。
[Storage device]
The storage device 14 is composed of a storage device such as a hard disk or a semiconductor memory, and is configured to store processing data and a program 14P used for connection number measurement processing executed by the control device 15 .
The program 14P is a program that cooperates with the CPU of the control device 15 to realize various processing units that execute connection number measurement processing. The program 14P is read in advance from the connected external device or recording medium and stored in the storage device 14 .

[制御装置]
制御装置15は、一般的なサーバ装置とFPGA(Field-Programable Gate Array)アクセラレータとの組み合わせから構成されている。FPGAアクセラレータを用いることで高速パケット処理を行えるため、40Gbps(Gigabits per second)や100Gbpsといった高速ネットワークにおけるトラフィック監視にも適用できる。一方、低速ネットワークにおいては高速パケット処理を必要としないため、すべての処理をソフトウェア実装したサーバ単体で構成することもできる。
[Control device]
The control device 15 is composed of a combination of a general server device and an FPGA (Field-Programmable Gate Array) accelerator. Since high-speed packet processing can be performed by using an FPGA accelerator, it can also be applied to traffic monitoring in high-speed networks such as 40 Gbps (Gigabits per second) and 100 Gbps. On the other hand, since high-speed packet processing is not required in low-speed networks, it is possible to configure a single server in which all processing is implemented by software.

以下では、制御装置15が、CPUとその周辺回路(FPGAアクセラレータを含む)を有し、記憶装置14のプログラム14Pを読み込んでCPUと協働させることにより、コネクション数計測処理を実行する各種処理部を実現するように構成されている場合を例として説明する。
制御装置15で実現される主な処理部として、パケット受信部15A、ヘッダ解析部15B、状態検出部15C、およびコネクション数計数部15Dがある。
In the following description, the control device 15 has a CPU and its peripheral circuits (including an FPGA accelerator), reads the program 14P in the storage device 14, and cooperates with the CPU to implement various processing units that execute the number of connections counting process.
As main processing units realized by the control device 15, there are a packet receiving unit 15A, a header analyzing unit 15B, a state detecting unit 15C, and a connection counting unit 15D.

[パケット受信部]
パケット受信部15Aは、網I/F11を介して通信網NWから、監視対象となるパケットを受信するように構成されている。パケット受信部15Aで受信するパケットは、コネクション数計測装置10に向けて送信されたパケットでもよいが、スイッチ、ルータ、ネットワークタップなどのネットワーク機器でコピー(キャプチャ)されたパケットであってもよい。
[Packet receiver]
The packet receiver 15A is configured to receive packets to be monitored from the communication network NW via the network I/F 11 . The packet received by the packet receiver 15A may be a packet sent to the connection number measuring device 10, or may be a packet copied (captured) by a network device such as a switch, router, or network tap.

[ヘッダ解析部]
ヘッダ解析部15Bは、パケット受信部15Aで受信した受信パケットのヘッダから、予め指定されている1つまたは複数のフィールド値を抽出するように構成されている。
コネクションとは、データ転送に用いるパケットを正確に受け渡しするため、プロセス間で設定する仮想的な通信路である。一般的には、コネクションを識別する際、MACアドレス、プロトコル、IPアドレス、ポート番号などのフィールド値(識別子)が用いられる。特に、送信元IPアドレス、宛先IPアドレス、送信元ポート番号、宛先ポート番号、プロトコルの組み合わせ(5-tuple)が、コネクション識別によく利用される。また、仮想化ネットワークではVLAN IDやVXLAN IDなどのフィールド値を用いることもある。
[Header analysis part]
The header analysis unit 15B is configured to extract one or more field values specified in advance from the header of the received packet received by the packet reception unit 15A.
A connection is a virtual communication path set between processes in order to accurately transfer packets used for data transfer. Field values (identifiers) such as MAC addresses, protocols, IP addresses, and port numbers are generally used to identify connections. In particular, a combination (5-tuple) of source IP address, destination IP address, source port number, destination port number, and protocol is often used for connection identification. Also, field values such as VLAN ID and VXLAN ID may be used in the virtual network.

また、ヘッダ解析部15Bは、パケットのヘッダもしくはペイロードから、コネクションの制御に用いる状態制御情報を取得する。例えば、TCP(Transmission Control Protocol)通信で利用される状態制御情報であるコントロールフラグには、それぞれ1ビット幅の情報からなる、URG(Urgent)フラグ、ACK(Acknowledgement)フラグ、PSH(Push)フラグ、RST(Reset)フラグ、SYN(Synchronize)フラグ、およびFIN(Finish)フラグの6種類がある。 The header analysis unit 15B also acquires state control information used for connection control from the header or payload of the packet. For example, there are six types of control flags, which are state control information used in TCP (Transmission Control Protocol) communication: a URG (Urgent) flag, an ACK (Acknowledgment) flag, a PSH (Push) flag, a RST (Reset) flag, a SYN (Synchronize) flag, and a FIN (Finish) flag, each consisting of 1-bit width information.

[状態検出部]
状態検出部15Cは、ヘッダ解析部15Bで得られたフィールド値に基づいて、コネクションを識別するとともに、状態制御情報の変化からコネクションの次状態を検出するように構成されている。状態検出部15Cの詳細については後述する。
[Status detector]
The state detection unit 15C is configured to identify the connection based on the field value obtained by the header analysis unit 15B, and to detect the next state of the connection from changes in the state control information. The details of the state detector 15C will be described later.

[コネクション数計数部]
コネクション数計数部15Dは、状態検出部15Cで得られた検出結果に基づいて、対応するコネクションのカウント数を増減し、得られた計数結果を、監視対象となるネットワークのコネクション数として、画面表示装置13あるいは網I/F11を介して接続された上位装置(図示せず)へ出力するように構成されている。また、得られた計数結果については、制御装置15で別途実行するモニタリングやトラフィック制御の処理に用いてもよい。
[Number of connections counter]
The connection number counting unit 15D is configured to increase or decrease the count number of the corresponding connection based on the detection result obtained by the state detection unit 15C, and output the obtained count result as the number of connections of the network to be monitored to the screen display device 13 or a host device (not shown) connected via the network I/F 11. Further, the obtained count result may be used for monitoring or traffic control processing separately executed by the control device 15 .

[状態記憶回路]
状態記憶回路16は、全体として半導体メモリからなり、任意のコネクションにそれぞれ割り当てられる複数の格納領域を有し、いずれか1つの格納領域で対応するコネクションの状態を示す状態値Stateと当該コネクションを識別するための参照値Refとを保持(管理)するように構成されている。本実施の形態では、状態記憶回路16として2つの状態記憶回路16A,16B(第1および第2の状態記憶回路)を用いる場合を例として説明するが、これに限定されるものではなく、3つ以上の状態記憶回路16を用いてもよい。
[State memory circuit]
The state storage circuit 16 is composed of a semiconductor memory as a whole, and has a plurality of storage areas each assigned to an arbitrary connection, and is configured to hold (manage) a state value State indicating the state of the corresponding connection and a reference value Ref for identifying the connection in any one of the storage areas. In this embodiment, two state memory circuits 16A and 16B (first and second state memory circuits) are used as the state memory circuit 16. However, the present invention is not limited to this, and three or more state memory circuits 16 may be used.

[コネクション状態検出装置]
上記構成のうち、状態検出部15Cと状態記憶回路16とから、コネクション状態検出装置10Aを構成することができる。コネクション状態検出装置10Aは、受信パケットのヘッダから取得したフィールド値および状態制御情報を入力とし、これらフィールド値および状態制御情報に基づいて、状態記憶回路16で保持されている状態値Stateおよび参照値Refを参照することにより、受信パケットのコネクションである対象コネクションの状態を検出する装置である。このコネクション状態検出装置10Aは、コネクション数計測装置10のほか、パケットに関するフローやコネクションの状態を監視するネットワーク監視装置やネットワーク監視システムに実装してもよい。
[Connection state detector]
In the above configuration, the connection state detection device 10A can be configured from the state detection section 15C and the state storage circuit 16. FIG. The connection state detection device 10A receives field values and state control information obtained from the header of the received packet, and refers to the state value State and the reference value Ref held in the state storage circuit 16 based on these field values and state control information to detect the state of the target connection, which is the connection of the received packet. This connection state detection device 10A may be mounted in a network monitoring device or a network monitoring system that monitors the flow of packets and the state of connections, in addition to the number of connections measurement device 10 .

[状態検出部の詳細]
次に、図2を参照して、状態検出部15Cの詳細について説明する。図2は、状態検出部の詳細を示すブロック図である。
状態検出部15Cは、状態検出処理を実行する処理部として、ハッシュ値計算部21、検索キー生成部22、選択部24、状態判別部25、および状態更新部23を備えている。図2には、状態記憶回路16として2つの状態記憶回路16A,16Bを用いた場合が示されているが、これに限定されるものではなく、3つ以上の状態記憶回路を用いてもよい。
[Details of status detector]
Next, the details of the state detector 15C will be described with reference to FIG. FIG. 2 is a block diagram showing the details of the state detector.
The state detection unit 15C includes a hash value calculation unit 21, a search key generation unit 22, a selection unit 24, a state determination unit 25, and a state update unit 23 as processing units that execute state detection processing. Although FIG. 2 shows a case where two state memory circuits 16A and 16B are used as the state memory circuit 16, the present invention is not limited to this, and three or more state memory circuits may be used.

[ハッシュ値計算部]
ハッシュ値計算部21は、予め設定されているハッシュ関数に基づいて、ヘッダ解析部15Bで取得したフィールド値Fieldからハッシュ値Hashを計算するように構成されている。ハッシュ値は、計測対象となるコネクションを一意に識別できる長さが必要であり、例えば、32ビットから64ビットが現実的な長さである。また、ハッシュ値の計算に用いるハッシュ関数には、例えば、MurmurHash3など、公知のアルゴリズムを用いればよい。
[Hash value calculator]
The hash value calculation unit 21 is configured to calculate a hash value Hash from the field value Field acquired by the header analysis unit 15B based on a preset hash function. The hash value needs to have a length that can uniquely identify the connection to be measured. For example, 32 bits to 64 bits is a realistic length. A known algorithm such as MurmurHash3 may be used as the hash function used to calculate the hash value.

[検索キー生成部]
検索キー生成部22は、ハッシュ値計算部21で得られたハッシュ値Hashの一部を切り出して、状態記憶回路16ごとに検索キーKeyを生成するように構成されている。例えば、図2に示すように、2つの状態記憶回路16A,16Bを用いる場合、2つのKey#0,#1が生成される。ハッシュ値Hashの切り出し方法としては、例えば、上位ビットと下位ビットに分割する方法がある。この分割方法は、ハードウェアに適した方法であり、極めて簡素な回路構成で実現できる。ハッシュ値Hashの一部を検索キーに用いる場合、状態記憶回路16A,16Bからハッシュ衝突により誤ったコネクションの状態が出力されることがあるが、後述の方法により適切な出力を選ぶことができる。
[Search key generator]
The search key generator 22 is configured to extract a portion of the hash value Hash obtained by the hash value calculator 21 and generate a search key Key for each state storage circuit 16 . For example, as shown in FIG. 2, when using two state storage circuits 16A and 16B, two Keys #0 and #1 are generated. As a method of extracting the hash value Hash, for example, there is a method of dividing into upper bits and lower bits. This division method is suitable for hardware and can be implemented with a very simple circuit configuration. If part of the hash value Hash is used as a search key, an incorrect connection state may be output from the state storage circuits 16A and 16B due to hash collision, but an appropriate output can be selected by a method described later.

また、検索キー生成部22は、比較値Compを生成する。比較値Compの生成もハッシュ値Hashの一部を切り出すだけでよい。このとき、比較値Compは、検索キーKey#0と異なる部分から切り出す必要があるが、検索キーKey#1と一部もしくは全部が重なる部分から切り出してもよい。 Also, the search key generator 22 generates a comparison value Comp. To generate the comparison value Comp, it is only necessary to cut out a part of the hash value Hash. At this time, the comparison value Comp needs to be extracted from a portion different from the search key Key#0, but may be extracted from a portion partially or wholly overlapping with the search key Key#1.

[状態記憶回路]
状態記憶回路16A,16Bは、ハッシュ衝突を許容する小規模なコネクションテーブルであり、状態判別部25で判別したコネクションの次状態を示す状態値Stateを保持(管理)するように構成されている。例えば、TCPコネクションの場合、後述する図3のSYN状態30、ACK状態31、FIN/RST状態32を状態値Stateとして保持してもよい。
また、2つの状態記憶回路16A,16Bを用いる場合、状態記憶回路16Aは、状態値State#0とともに参照値Ref#0を保持するように構成するが、状態記憶回路16Bは、状態値State#1に加えて参照値Ref#1を保持してもよいし、保持しなくてもよい。
[State memory circuit]
The state storage circuits 16A and 16B are small-scale connection tables that allow hash collision, and are configured to hold (manage) the state value State indicating the next state of the connection determined by the state determination unit 25. FIG. For example, in the case of a TCP connection, a SYN state 30, an ACK state 31, and a FIN/RST state 32 in FIG. 3, which will be described later, may be held as the state value State.
When two state storage circuits 16A and 16B are used, the state storage circuit 16A is configured to hold the reference value Ref#0 together with the state value State#0, but the state storage circuit 16B may or may not hold the reference value Ref#1 in addition to the state value State#1.

本発明にかかる参照値Refとは、状態記憶回路16に保持されたコネクションを識別するための情報であり、その状態記憶回路16でコネクションの状態保持を新規に始める際に計算した比較値Compからなる。これにより、各状態記憶回路16から出力された状態値Stateのいずれが、受信パケットのコネクションに関する状態値Stateを示すかを、判別できるようになる。
この場合、参照値Refを保持するために必要なメモリリソースが増加する。したがって、例えば、状態記憶回路16Bにおいて、ハッシュ衝突がほとんど起こらないことが予想される場合には、参照値Ref#1を保持せず、状態記憶回路16Aから異なるコネクションの状態値Stateが出力されたと判定された場合に、状態記憶回路16Bの出力を選択するようにしてもよい。
The reference value Ref according to the present invention is information for identifying the connection held in the state storage circuit 16, and is composed of the comparison value Comp calculated when the state storage circuit 16 newly starts holding the connection state. This makes it possible to determine which of the state values State output from each state storage circuit 16 indicates the state value State related to the connection of the received packet.
In this case, memory resources required to hold the reference value Ref increase. Therefore, for example, if it is expected that hash collisions are unlikely to occur in the state storage circuit 16B, the reference value Ref#1 may not be retained, and the output of the state storage circuit 16B may be selected when it is determined that the state value State of a different connection has been output from the state storage circuit 16A.

[選択部]
選択部24は、状態記憶回路16から出力された参照値Refを、受信パケットに関する比較値Compと比較し、比較値Compと一致する参照値Refと対応する状態記憶回路16を選択し、選択した当該状態記憶回路16に保持されている状態値Stateを状態判別部25へ出力し、いずれの参照値Refも比較値Compと一致しなければ、受信パケットのコネクションが新規であること、および、各状態記憶回路16に保持されている状態値Stateを、状態更新部23に出力するように構成されている。
[Selection part]
The selection unit 24 compares the reference value Ref output from the state storage circuit 16 with the comparison value Comp regarding the received packet, selects the state storage circuit 16 corresponding to the reference value Ref that matches the comparison value Comp, outputs the state value State held in the selected state storage circuit 16 to the state determination unit 25, and if none of the reference values Ref matches the comparison value Comp, the connection of the received packet is new, and each state storage circuit 1 6 is configured to be output to the state updating unit 23 .

[状態判別部]
状態判別部25は、選択部24から出力された状態値Stateと、受信パケットに含まれる状態制御情報Flagとに基づいて、予め設定されている状態遷移図により、コネクションの次状態を判別するよう構成されている。図3は、TCPコネクションの状態遷移図であり、この状態遷移図を用いることで、現在の状態値Stateと、新たに通知された状態制御情報Flagとに基づいて、TCPコネクションの次状態を判定することができる。
[Status determination part]
The state determination unit 25 is configured to determine the next state of the connection from a preset state transition diagram based on the state value State output from the selection unit 24 and the state control information Flag included in the received packet. FIG. 3 is a state transition diagram of a TCP connection. By using this state transition diagram, the next state of the TCP connection can be determined based on the current state value State and the newly notified state control information Flag.

図3に示すように、TCPコネクションの主な状態として、SYN状態30、ACK状態31、およびFIN/RST状態32がある。SYN状態30は、一方のプロセスから他方に対してコネクションの確立要求(SYNフラグ)を通知した状態を示している。ACK状態31は、確立要求を許可する際、他方から一方に対して確立応答(ACKフラグ)を通知した状態を示している。FIN/RST状態32は、一方または他方から相手に対して、コネクションの切断要求(FINフラグ)または中断(RSTフラグ)を通知した状態を示している。 As shown in FIG. 3, the main states of a TCP connection are SYN state 30, ACK state 31, and FIN/RST state 32. A SYN state 30 indicates a state in which one process notifies the other of a connection establishment request (SYN flag). The ACK state 31 indicates a state in which an establishment response (ACK flag) is sent from the other to the other when permitting the establishment request. The FIN/RST state 32 indicates a state in which one or the other has notified the partner of a disconnection request (FIN flag) or suspension (RST flag) of the connection.

[状態更新部]
状態更新部23は、状態判別部25において保持中のコネクションの状態が変化した場合、もしくは、新規のコネクションの確立が検出された場合、選択部24から出力された状態記憶回路16の保持内容に基づいて、状態記憶回路16で保持している状態値Stateおよび参照値Refを更新し、新規のコネクションについては、状態値Stateを保持していない空きの状態記憶回路16が存在する場合のみ、新規に格納(更新)するように構成されている。
[Status update part]
The state update unit 23 updates the state value State and the reference value Ref held in the state storage circuit 16 based on the contents held in the state storage circuit 16 output from the selection unit 24 when the state of the connection held by the state determination unit 25 changes or when the establishment of a new connection is detected, and the new connection is newly stored (updated) only when there is an empty state storage circuit 16 that does not hold the state value State. It is

以上の構成を用いて、状態記憶回路16で保持する参照値Refに基づいて、適切なものを選ぶようにすることで、各状態記憶回路16でハッシュ衝突が起こることが許容できる。よって、この構成ではメモリ利用効率の高い小規模な状態記憶回路16を採用することができ、従来と比べてメモリリソースを削減できる。 By selecting an appropriate value based on the reference value Ref held in the state memory circuit 16 using the above configuration, occurrence of hash collision in each state memory circuit 16 can be allowed. Therefore, in this configuration, a small-scale state storage circuit 16 with high memory utilization efficiency can be employed, and memory resources can be reduced as compared with the conventional configuration.

[本実施の形態の動作]
次に、本実施の形態にかかるコネクション数計測装置10の動作について説明する。ここでは、状態記憶回路16A,16Bにおける状態更新動作および保存先衝突時動作、制御装置15におけるコネクション数計測動作、および、状態検出部15Cにおける状態検出動作について、それぞれ個別に説明する。
[Operation of this embodiment]
Next, the operation of the number-of-connections measuring device 10 according to this embodiment will be described. Here, the state update operation and storage destination collision operation in the state storage circuits 16A and 16B, the connection count operation in the control device 15, and the state detection operation in the state detection unit 15C will be individually described.

[状態更新動作]
まず、図4を参照して、状態記憶回路16A,16Bにおける状態更新動作について説明する。図4は、状態更新動作を示す説明図であり、横軸である時間に沿って、状態記憶回路16で保持している状態値Stateが更新されていく過程が示されている。ここでは、コネクションの状態値Stateさらには参照値Refを格納する格納領域として1つずつ設けられた状態記憶回路16A、16Bを用いて、コネクション状態を更新する場合を例として説明する。なお、この例では、状態記憶回路16Aが状態値State#0と参照値Ref#0を保持しており、状態記憶回路16Bが状態値State#1のみ保持しているものとする。
[Status Update Action]
First, referring to FIG. 4, the state update operation in the state storage circuits 16A and 16B will be described. FIG. 4 is an explanatory diagram showing the state update operation, and shows the process of updating the state value State held in the state storage circuit 16 along the horizontal axis of time. Here, an example will be described in which the connection state is updated using the state storage circuits 16A and 16B each provided as a storage area for storing the connection state value State and the reference value Ref. In this example, the state storage circuit 16A holds the state value State#0 and the reference value Ref#0, and the state storage circuit 16B holds only the state value State#1.

時刻T1において、状態記憶回路16A,16Bの両方とも、状態値Stateを保持していない。次の時刻T2に、新たなコネクション1(Con1)が検出された場合、状態記憶回路16Aにおいて、コネクション1の状態「Con1 State」が状態値State#0として保持され、そのコネクションの比較値Compが参照値Ref#0として保持される。
続く時刻T3において、別の新たなコネクション2(Con2)が検出された場合、状態記憶回路16Aですでにコネクション1(Con1)を保持されているため、状態記憶回路16Bにおいて、コネクション2の状態「Con2 State」が、状態値State#1として保持されることになる。この際、コネクションの比較値Compは参照値Ref#1として保持されない。
At time T1, neither of the state storage circuits 16A and 16B holds the state value State. When a new connection 1 (Con1) is detected at the next time T2, the state storage circuit 16A holds the state "Con1 State" of the connection 1 as the state value State#0 and the comparison value Comp of the connection as the reference value Ref#0.
At subsequent time T3, when another new connection 2 (Con2) is detected, since connection 1 (Con1) is already held in the state storage circuit 16A, the state "Con2 State" of connection 2 is held as the state value State#1 in the state storage circuit 16B. At this time, the connection comparison value Comp is not held as the reference value Ref#1.

その後、時刻T4においてコネクション1の終了(切断)が検出された場合、状態更新部23は、状態記憶回路16Bで保持していたコネクション2の状態値State#1を、状態記憶回路16Aに移転する。このとき、状態記憶回路16Aでそれまで保持していた参照値Ref#0を、コネクション2を示す値に更新する。これにより、続く時刻T5において、コネクション2の状態値および参照値が状態記憶回路16Aで状態値State#0および参照値Ref#0として保持されることになる。移転の際、状態記憶回路16Aの状態値State#0と状態記憶回路16Bの状態値State#1とを入れ替えてもよい。 After that, when the termination (disconnection) of connection 1 is detected at time T4, the state update unit 23 transfers the state value State#1 of connection 2 held in the state storage circuit 16B to the state storage circuit 16A. At this time, the reference value Ref#0 that has been held in the state storage circuit 16A is updated to a value indicating connection 2. FIG. As a result, at subsequent time T5, the state value and reference value of connection 2 are held in state storage circuit 16A as state value State#0 and reference value Ref#0. At the time of transfer, the state value State#0 of the state storage circuit 16A and the state value State#1 of the state storage circuit 16B may be exchanged.

一方、時刻T4において、移転処理をしない場合、状態記憶回路16Aではコネクションが切断されて状態保持が終わっているため、その後受信したコネクション2に関するパケットにおいて何らかの事情(例えば、SYNフラグの再送)でコネクション開始と判定された場合、その状態は状態記憶回路16Aに保持される。続いてコネクション2が切断された場合、参照値Ref#0と比較値Compが一致するため、状態記憶部16Aの状態保持が終了する。一方、状態記憶部16Bではコネクション2の状態保持が続いてしまい、第三のコネクションによって状態が上書きされるまで継続する。このような不適切なコネクション管理を避けるため、状態記憶回路16Bで保持していたコネクションの状態値および参照値を状態記憶回路16Aに移転する必要がある。これら状態記憶回路16A、16Bの更新処理は状態更新部23により制御される。 On the other hand, at time T4, if the transfer processing is not performed, the state storage circuit 16A has already disconnected the connection and has finished holding the state. Therefore, if it is determined that the connection has started for some reason (for example, retransmission of the SYN flag) in the packet related to connection 2 received thereafter, the state is held in the state storage circuit 16A. Subsequently, when the connection 2 is disconnected, the reference value Ref#0 and the comparison value Comp match, so the state holding of the state storage unit 16A ends. On the other hand, the state storage unit 16B continues to hold the state of connection 2 until the state is overwritten by the third connection. In order to avoid such inappropriate connection management, it is necessary to transfer the connection state values and reference values held in the state storage circuit 16B to the state storage circuit 16A. The update processing of these state storage circuits 16A and 16B is controlled by the state update unit 23. FIG.

[保存先衝突時動作]
次に、図5を参照して、状態記憶回路16A,16Bにおける保存先衝突時動作について説明する。図5は、保存先衝突時動作を示す説明図である。ここでは、状態記憶回路16A,16Bのそれぞれに格納領域が2つずつ設けられているものとし、コネクション1の状態値(Con1 State)が状態記憶回路16Aのアドレス「0」の格納領域で保持されている状況で、コネクション2のパケットを受信した場合を考える。また、検索キーKey#0,#1(第1の検索キー、第2の検索キー)は、ハッシュ値Hashを下位1ビットと上位1ビットで分割して生成されるものとし、比較値Compは、検索キーKey#0とは異なるハッシュ値Hashの上位1ビットを用いることにする。
[Action when save destination conflicts]
Next, referring to FIG. 5, the operation of the state memory circuits 16A and 16B at the time of storage destination collision will be described. FIG. 5 is an explanatory diagram showing the operation at the time of conflict with the storage destination. Here, it is assumed that two storage areas are provided in each of the state storage circuits 16A and 16B, and a packet of connection 2 is received in a situation where the state value (Con1 State) of connection 1 is held in the storage area of address "0" of the state storage circuit 16A. The search keys Key #0 and #1 (first search key and second search key) are generated by dividing the hash value Hash into the lower 1 bit and the upper 1 bit, and the comparison value Comp uses the upper 1 bit of the hash value Hash that is different from the search key Key #0.

新たに受信パケットが受信された場合、ハッシュ値計算部21は、受信パケットのヘッダから取得したフィールド値に基づいてハッシュ値Hash「2」(=「10」:二進数)を計算したものとする。これにより、このハッシュ値Hashに基づいて、検索キー生成部22で、検索キーKey#0,#1としてそれぞれ「0」,「1」が生成され、比較値Compとして「1」が生成される。この場合、Key#0に対応する状態記憶回路16Aのうち、Key#0の値「0」に相当するアドレスAddrの格納領域に保持されている参照値Ref#0は「0」であり、比較値Compの値「1」とは一致しない。これにより、選択部24は、状態記憶回路16Aに保持されているコネクションが、受信パケットは別のコネクションであると判断する。 When a new received packet is received, the hash value calculator 21 calculates a hash value Hash “2” (=“10”: binary number) based on the field value obtained from the header of the received packet. Based on this hash value Hash, the search key generator 22 generates "0" and "1" as the search keys Key #0 and #1, respectively, and "1" as the comparison value Comp. In this case, in the state storage circuit 16A corresponding to Key#0, the reference value Ref#0 held in the storage area of the address Addr corresponding to the value "0" of Key#0 is "0" and does not match the value "1" of the comparison value Comp. As a result, the selection unit 24 determines that the connection held in the state storage circuit 16A is a different connection for the received packet.

この際、選択部24は、状態記憶回路16AのRef#0とCompとを単純に比較し、得られた比較結果に基づいてコネクションの一致、不一致を判定している。このため、不一致と判定された場合、受信パケットのコネクションが、どのコネクションであるかについては特定できない。したがって、不一致と判定された場合、Key#1に対応する状態記憶回路16Bのうち、受信パケットのコネクションを識別できるKey#1の値「1」(アドレス値)と対応する格納領域で、コネクション2の状態値(Con2 State)を保持する。 At this time, the selector 24 simply compares Ref#0 and Comp in the state storage circuit 16A, and determines whether the connections match or disagree based on the obtained comparison result. For this reason, when it is determined that they do not match, it is not possible to specify which connection the received packet is. Therefore, if it is determined that they do not match, the state value (Con2 State) of connection 2 is stored in the storage area corresponding to the value "1" (address value) of Key #1 that can identify the connection of the received packet in the state storage circuit 16B corresponding to Key #1.

以上の保存先衝突時動作により、新たな受信パケットのコネクションが、任意の状態記憶回路16で保持しているコネクションとは異なっている場合、すなわち異なるコネクション間で状態値の格納先が衝突した場合には、別の状態記憶回路16Bを用いて受信パケットのコネクションに関する状態値を保持できる。これにより、未使用の格納領域数を減らすことができ、小規模な状態記憶回路16を用いて状態検出部15Cを構成することができる。 When the connection of the new received packet is different from the connection held by the arbitrary state storage circuit 16, that is, when the storage destinations of the state values collide between different connections, the state value related to the connection of the received packet can be held by using the other state storage circuit 16B. As a result, the number of unused storage areas can be reduced, and the state detection section 15C can be configured using a small-scale state storage circuit 16. FIG.

[コネクション数計測動作]
次に、図6を参照して、制御装置15におけるコネクション数計測動作について説明する。図6は、コネクション数計測方法のフローチャートである。
制御装置15は、まず、パケット受信部15Aにより、網I/F11を介して通信網NWからパケットが受信されたか確認し(ステップS100)、新たなパケットが受信されるまで待機する(ステップS100:NO)。
[Number of connections measurement operation]
Next, referring to FIG. 6, the operation of measuring the number of connections in the control device 15 will be described. FIG. 6 is a flow chart of the method for measuring the number of connections.
The control device 15 first checks whether a packet has been received from the communication network NW via the network I/F 11 by the packet receiving unit 15A (step S100), and waits until a new packet is received (step S100: NO).

新たなパケットが受信された場合(ステップS100:YES)、制御装置15は、ヘッダ解析部15Bにより、受信した受信パケットのヘッダから、予め設定されているフィールド値を抽出するとともに(ステップS101)、コネクションの状態を制御するための状態制御情報を抽出する(ステップS102)。
次に、制御装置15は、状態検出部15Cにより、保持中のコネクションの状態値と抽出した状態制御情報とに基づいて、受信パケットのコネクションに関する次状態を確認する(ステップS103)。
When a new packet is received (step S100: YES), the control device 15 causes the header analysis unit 15B to extract a preset field value from the header of the received packet (step S101), and extracts state control information for controlling the state of the connection (step S102).
Next, the control device 15 uses the state detection unit 15C to check the next state of the connection of the received packet based on the state value of the connection being held and the extracted state control information (step S103).

ここで、次状態がコネクションの開始を示す場合(ステップS103:開始)、コネクション数計数部15Dにより、コネクション数を示すカウント値をインクリメント(+1)し(ステップS104)、状態検出部15Cで保持しているコネクションの状態を更新し(ステップS106)、後述するステップS107へ移行する。
また、次状態がコネクションの終了(切断)を示す場合(ステップS103:終了)、コネクション数計数部15Dにより、コネクション数を示すカウント値をデクリメント(-1)し(ステップS105)、ステップS106へ移行する。
Here, if the next state indicates the start of a connection (step S103: start), the count value indicating the number of connections is incremented (+1) by the connection count unit 15D (step S104), the connection state held by the state detection unit 15C is updated (step S106), and the process proceeds to step S107, which will be described later.
If the next state indicates termination (disconnection) of the connection (step S103: termination), the count value indicating the number of connections is decremented (-1) by the connection number counting unit 15D (step S105), and the process proceeds to step S106.

また、次の状態が開始または終了以外である場合(ステップS103:ELSE)、後述するステップS107へ移行する。
この後、制御装置15は、操作入力装置12で検出されたオペレータ操作や、予め設定されている計数動作終了時刻などに基づいて、計数動作終了タイミングか否か確認し(ステップS107)、計数動作を継続する場合(ステップS107:NO)、前述したステップS100に戻る。また、計数動作終了タイミングである場合(ステップS107:YES)、一連のコネクション数計測処理を終了する。
If the next state is other than start or end (step S103: ELSE), the process proceeds to step S107, which will be described later.
Thereafter, the control device 15 confirms whether or not it is time to end the counting operation (step S107) based on the operator operation detected by the operation input device 12 and the preset counting operation end time (step S107). If it is time to end the counting operation (step S107: YES), the series of connection count processing ends.

[状態検出動作]
次に、図7を参照して、状態検出部15Cにおける状態検出動作について説明する。図7は、コネクション状態検出方法のフローチャートである。
ここでは、前述と同様に、状態記憶回路16Aが状態値State#0と参照値Ref#0を保持しており、状態記憶回路16Bが状態値State#1のみ保持しているものとする。
[Status detection operation]
Next, referring to FIG. 7, the state detection operation of the state detector 15C will be described. FIG. 7 is a flowchart of a connection state detection method.
Here, it is assumed that the state storage circuit 16A holds the state value State#0 and the reference value Ref#0, and the state storage circuit 16B holds only the state value State#1, as described above.

状態検出部15Cは、ヘッダ解析部15Bで得られたフィールド値からハッシュ値Hashを計算し(ステップS110)、得られたハッシュ値Hashを分割することにより、受信パケットのコネクションに関する検索キーKey#0、#1を生成するとともに(ステップS111)、比較値Compを生成する(ステップS112)。
次に、状態検出部15Cは、Key#0と対応付けられている状態記憶回路16Aから、Key#0の値(アドレス値)と対応する格納領域に保持されている、コネクションの状態値State#0と参照値Ref#0を取得する(ステップS113)。
The state detection unit 15C calculates a hash value Hash from the field value obtained by the header analysis unit 15B (step S110), divides the obtained hash value Hash to generate search keys Key #0 and #1 related to the connection of the received packet (step S111), and generates a comparison value Comp (step S112).
Next, the state detection unit 15C acquires the connection state value State#0 and the reference value Ref#0 held in the storage area corresponding to the value (address value) of Key#0 from the state storage circuit 16A associated with Key#0 (step S113).

続いて、状態検出部15Cは、選択部24により、取得した参照値Ref#0を比較値Compと比較し(ステップS114)、両者の値が一致している場合(ステップS114:YES)、受信パケットのコネクションを保持すべき状態記憶回路16として、状態記憶回路16Aを選択する。
これにより、状態検出部15Cは、状態判別部25により、状態記憶回路16Aから取得した状態値State#0(現状態)と、ヘッダ解析部15Bにおいて抽出した状態制御情報Flagとに基づいて、当該コネクションの次状態を判別し(ステップS115)、後述するステップS118へ移行する。
Subsequently, the state detection unit 15C causes the selection unit 24 to compare the obtained reference value Ref#0 with the comparison value Comp (step S114), and if the two values match (step S114: YES), selects the state storage circuit 16A as the state storage circuit 16 that should hold the connection of the received packet.
As a result, the state detection unit 15C determines the next state of the connection based on the state value State#0 (current state) obtained from the state storage circuit 16A and the state control information Flag extracted by the header analysis unit 15B by the state determination unit 25 (step S115), and proceeds to step S118, which will be described later.

一方、ステップS114において、両者の値が不一致である場合(ステップS114:NO)、選択部24により、受信パケットのコネクションを保持すべき状態記憶回路16として、状態記憶回路16Bを選択する。
これにより、状態検出部15Cは、状態判別部25により、Key#1と対応付けられている状態記憶回路16Bから、Key#1の値(アドレス値)と対応する格納領域に保持されている、コネクションの状態値State#1を取得する(ステップS116)。
On the other hand, if the two values do not match in step S114 (step S114: NO), the selection unit 24 selects the state storage circuit 16B as the state storage circuit 16 that should hold the connection of the received packet.
As a result, the state detection unit 15C acquires the connection state value State#1 held in the storage area corresponding to the value (address value) of Key#1 from the state storage circuit 16B associated with Key#1 by the state determination unit 25 (step S116).

続いて、状態検出部15Cは、状態記憶回路16Bから取得した状態値State#1(現状態)と、ヘッダ解析部15Bにおいて抽出した状態制御情報Flagとに基づいて、当該コネクションの次状態を判別し(ステップS117)、後述するステップS118へ移行する。 Subsequently, the state detection unit 15C determines the next state of the connection based on the state value State#1 (current state) obtained from the state storage circuit 16B and the state control information Flag extracted by the header analysis unit 15B (step S117), and proceeds to step S118 described later.

この後、状態検出部15Cは、状態更新部23により、状態記憶回路16のいずれかで保持中のコネクション状態の変化が検出された場合、もしくは新規コネクションの確立が検出された場合、それぞれ対応する状態記憶回路16A,16Bの保持内容を更新し(ステップS118)、一連の状態検出処理を終了する。この際、状態更新部23は、状態記憶回路16Aで保持しているコネクションの状態値State#0が確立から終了(切断)に遷移し、状態記憶回路16Bで保持しているコネクションの状態値State#1が確立を示す場合、状態記憶回路16Bで保持している状態値State#1を、状態記憶回路16Aの状態値State#0として移転する。 Thereafter, when the state updating unit 23 detects a change in the connection state held in one of the state storage circuits 16, or when the establishment of a new connection is detected, the state detection unit 15C updates the contents held in the corresponding state storage circuits 16A and 16B (step S118), and ends the series of state detection processing. At this time, when the state value State#0 of the connection held in the state storage circuit 16A transitions from established to terminated (disconnected) and the state value State#1 of the connection held in the state storage circuit 16B indicates establishment, the state update unit 23 transfers the state value State#1 held in the state storage circuit 16B as the state value State#0 of the state storage circuit 16A.

図8は、コネクション数計測結果の構成例を示す説明図である。図8には、計測して得られたコネクション数が、当該コネクションを識別するためのルールと関連付けられて、出力されている。
各ルールは、監視対象となるコネクションを識別するための情報であり、例えば操作入力装置12および画面表示装置13を用いて、オペレータにより予め設定される。ここでは、ルールとして、送信元IPアドレス、宛先IPアドレス、およびプロトコル種別からなるフィールド値に関する具体的な設定値が設定されている。
FIG. 8 is an explanatory diagram showing a configuration example of the number of connections measurement result. In FIG. 8, the number of connections obtained by measurement is output in association with a rule for identifying the connection.
Each rule is information for identifying a connection to be monitored, and is preset by an operator using the operation input device 12 and the screen display device 13, for example. Here, as a rule, specific setting values are set for field values consisting of a source IP address, a destination IP address, and a protocol type.

例えば、受信パケットのヘッダから抽出したフィールド値が、いずれかのルールの設定値と一致した場合、そのルールに関連付けられているコネクション数が、インクリメント(+1)あるいはデクリメント(-1)される。
これにより、オペレータが、監視対象としたいコネクションに関するフィールド値を、ルールの設定値として設定するだけで、当該コネクションの数を監視することができる。
For example, if the field value extracted from the header of the received packet matches the set value of any rule, the number of connections associated with that rule is incremented (+1) or decremented (-1).
This allows the operator to monitor the number of connections simply by setting a field value related to a connection to be monitored as a setting value of a rule.

[本実施の形態の効果]
このように、本実施の形態にかかるコネクション数計測装置10およびコネクション状態検出装置10Aは、状態値stateと参照値Refとを、保持する複数の状態記憶回路16を備え、制御装置15において、選択部24が、それぞれの状態記憶回路16で保持する参照値Refに基づいて、状態記憶回路16のうちから、対象コネクションに関する状態値Stateを保持する状態記憶回路16を選択し、状態判別部25が、受信パケットの状態制御情報と、状態記憶回路16で保持する状態値Stateとに基づいて、対象コネクションの状態に関する次状態を判別し、状態更新部23が、対象コネクションに関する次状態に基づいて、状態記憶回路16での保持内容を更新するようにしたものである。
[Effects of this embodiment]
As described above, the connection number measuring device 10 and the connection state detecting device 10A according to the present embodiment include a plurality of state storage circuits 16 that hold the state value state and the reference value Ref. Based on the state control information and the state value State held in the state storage circuit 16, the next state regarding the state of the object connection is discriminated, and the state updating unit 23 updates the contents held in the state storage circuit 16 based on the next state concerning the object connection.

より具体的には、状態記憶回路16のそれぞれは、状態値stateと参照値Refとを保持する格納領域として、任意のコネクションにそれぞれ割り当てられる複数の格納領域を備え、制御装置15において、検索キー生成部22が、状態記憶回路16のそれぞれについて、当該状態記憶回路16のうちから対象コネクションと対応する格納領域を検索する検索キーとして、受信パケットのフィールド値に基づき計算したハッシュ値Hashから、互いに異なる複数の検索キーKeyを生成するとともに、対象コネクションを識別するための比較値Compを生成し、選択部24が、これら検索キーKeyに基づいて状態記憶回路16から出力された参照値Refと、検索キー生成部22から出力された比較値Compとを比較することにより、状態記憶回路16を選択するようにしたものである。 More specifically, each of the state storage circuits 16 has a plurality of storage areas assigned to arbitrary connections as storage areas for holding the state value state and the reference value Ref. In the control device 15, the search key generation unit 22 generates a plurality of search keys different from each other from the hash value Hash calculated based on the field value of the received packet as a search key for searching the storage area corresponding to the target connection from the state storage circuit 16 for each of the state storage circuits 16. , a comparison value Comp for identifying the target connection is generated, and the selection unit 24 selects the state storage circuit 16 by comparing the reference value Ref output from the state storage circuit 16 based on these retrieval keys Key with the comparison value Comp output from the retrieval key generation unit 22.

受信パケットの対象コネクションに関する状態値stateを状態記憶回路16に格納する際、対象コネクションとは異なるコネクションの状態値stateを保持する状態記憶回路16では、状態値stateの格納先が衝突することになる。本実施の形態によれば、選択部24により、それぞれの状態記憶回路16で保持する参照値Refに基づいて、状態記憶回路16のうちから、対象コネクションに関する状態値Stateを保持すべき状態記憶回路16が選択される。 When storing the state value state related to the target connection of the received packet in the state storage circuit 16, the storage destinations of the state value state conflict with each other in the state storage circuit 16 that holds the state value state of the connection different from the target connection. According to the present embodiment, the selection unit 24 selects the state storage circuit 16 to hold the state value State related to the target connection from among the state storage circuits 16 based on the reference value Ref held in each state storage circuit 16 .

これにより、状態記憶回路16において、検索キーKeyのハッシュ衝突が起こることを許容できるため、比較的ビット数の少ない検索キーKeyを用いることができ、状態記憶回路16のアドレス空間すなわち格納領域を削減することが可能となる。
従来技術によれば、ハッシュ衝突による探索の失敗を避けるため、長いハッシュ値を検索キーとして用いているため、状態を保持するメモリとして、コネクションの数以上の大きなメモリを必要とし、メモリの利用効率が低い問題という問題があったが、本実施の形態によれば、従来技術と比較して、少ないメモリリソースでコネクションの状態を検出することが可能となるとともに、コネクション数を計測することか可能となる。
Thus, in the state memory circuit 16, it is possible to allow hash collision of the search key Key, so that the search key Key with a relatively small number of bits can be used, and the address space, that is, the storage area of the state memory circuit 16 can be reduced.
According to the conventional technology, a long hash value is used as a search key in order to avoid search failures due to hash collisions. Therefore, a memory larger than the number of connections is required as a memory to hold the state, resulting in a problem of low memory utilization efficiency. However, according to the present embodiment, compared to the conventional technology, it is possible to detect the connection state with less memory resources, and it is also possible to measure the number of connections.

また、本実施の形態において、検索キー生成部22が、ハッシュ値Hashを構成するビット列を複数に分割することにより複数の検索キーKeyをそれぞれ生成し、ビット列の一部を切り出して比較値Compを生成するようにしてもよい。これにより、極めて簡素な処理で、ハッシュ衝突の少ない検索キーKeyおよび比較値Compを生成できる。 Further, in the present embodiment, the search key generation unit 22 may generate a plurality of search keys Key by dividing the bit string forming the hash value Hash into a plurality of pieces, and cut out a part of the bit string to generate the comparison value Comp. This makes it possible to generate a search key Key and a comparison value Comp with few hash collisions by extremely simple processing.

[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。
[Expansion of Embodiment]
Although the present invention has been described with reference to the embodiments, the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

10…コネクション数計測装置、10A…コネクション状態検出装置、11…網I/F、12…操作入力装置、13…画面表示装置、14…記憶装置、14P…プログラム、15…制御装置、15A…パケット受信部、15B…ヘッダ解析部、15C…状態検出部、15D…コネクション数計数部、16,16A,16B…状態記憶回路、21…ハッシュ値計算部、22…検索キー生成部、23…状態更新部、24…選択部、25…状態判別部、NW…通信網、Hash…ハッシュ値、Key,Key#0,Key#1…検索キー、State,State#0,State#1…状態値、Ref,Ref#0,Ref#1…参照値、Comp…比較値。 REFERENCE SIGNS LIST 10 connection count device 10A connection state detection device 11 network I/F 12 operation input device 13 screen display device 14 storage device 14P program 15 control device 15A packet reception unit 15B header analysis unit 15C state detection unit 15D number of connections count unit 16, 16A, 16B state storage circuit 21 hash value calculation unit 22 search key generation unit , 23 state update unit 24 selection unit 25 state determination unit NW communication network Hash hash value Key, Key#0, Key#1 search key State, State#0, State#1 state value Ref, Ref#0, Ref#1 reference value Comp comparison value.

Claims (8)

通信網との間でパケットを用いたデータ通信を行う網I/Fと、
前記網I/Fを介して前記通信網から受信した受信パケットのヘッダから予め設定されたフィールド値とコネクションの状態を制御するための状態制御情報とを取得し、前記フィールド値と前記状態制御情報とに基づいて、前記受信パケットのコネクションを示す対象コネクションに関する状態を検出し、得られた検出結果に基づいて各コネクションに関するコネクション数を計測する制御装置と、
コネクションの状態を示す状態値と当該コネクションを識別するための参照値とを、保持するように構成された複数の状態記憶回路とを備え、
前記制御装置は、
前記複数の状態記憶回路のうちから、それぞれの状態記憶回路で保持する前記参照値に基づいて、前記対象コネクションに関する状態値を保持する状態記憶回路を選択するように構成された選択部と、
前記受信パケットから取得した状態制御情報と、前記選択部で選択された前記状態記憶回路で保持する状態値とに基づいて、前記対象コネクションの状態に関する次状態を判別し、前記検出結果として出力するように構成された状態判別部と、
前記状態判別部で得られた前記対象コネクションに関する次状態に基づいて、前記複数の状態記憶回路での保持内容を更新するように構成された状態更新部とを備える
ことを特徴とするコネクション数計測装置。
a network I/F that performs data communication using packets with a communication network;
a control device that acquires a field value set in advance from a header of a received packet received from the communication network via the network I/F and state control information for controlling the state of a connection, detects a state related to a target connection indicating a connection of the received packet based on the field value and the state control information, and measures the number of connections related to each connection based on the obtained detection result;
a plurality of state storage circuits configured to hold a state value indicating the state of a connection and a reference value for identifying the connection;
The control device is
a selection unit configured to select, from among the plurality of state storage circuits, a state storage circuit holding a state value related to the target connection based on the reference value held in each state storage circuit;
a state determination unit configured to determine a next state related to the state of the target connection based on the state control information acquired from the received packet and the state value held in the state storage circuit selected by the selection unit, and to output the result as the detection result;
and a state update unit configured to update contents held in the plurality of state storage circuits based on the next state of the target connection obtained by the state determination unit.
請求項1に記載のコネクション数計測装置において、
前記複数の状態記憶回路のそれぞれは、前記状態値と前記参照値とを保持する格納領域として、任意のコネクションにそれぞれ割り当てられる複数の格納領域を備え、
前記制御装置は、前記複数の状態記憶回路のそれぞれについて、当該状態記憶回路のうちから前記対象コネクションと対応する格納領域を検索する検索キーとして、前記受信パケットのフィールド値に基づき計算したハッシュ値から、互いに異なる複数の検索キーを生成するとともに、前記対象コネクションを識別するための比較値を生成するように構成された検索キー生成部をさらに備え、
前記選択部は、前記複数の検索キーに基づいて前記複数の状態記憶回路から出力された前記参照値と、前記検索キー生成部から出力された前記比較値とを比較することにより、前記状態記憶回路を選択する
ことを特徴とするコネクション数計測装置。
In the connection number measuring device according to claim 1,
each of the plurality of state storage circuits includes a plurality of storage areas assigned to arbitrary connections as storage areas for holding the state value and the reference value;
The control device further comprises a search key generation unit configured to generate, for each of the plurality of state storage circuits, a plurality of search keys different from each other from hash values calculated based on field values of the received packet as search keys for searching storage areas corresponding to the target connection in the state storage circuits, and to generate a comparison value for identifying the target connection,
The connection number measuring device, wherein the selection unit selects the state storage circuit by comparing the reference value output from the plurality of state storage circuits based on the plurality of search keys and the comparison value output from the search key generation unit.
請求項2に記載のコネクション数計測装置において、
前記検索キー生成部は、前記ハッシュ値を構成するビット列を複数に分割することにより前記複数の検索キーをそれぞれ生成し、前記ビット列の一部を切り出して前記比較値を生成することを特徴とするコネクション数計測装置。
In the connection number measuring device according to claim 2,
The number-of-connections measuring device, wherein the search key generation unit generates each of the plurality of search keys by dividing a bit string forming the hash value into a plurality of pieces, and cuts out a part of the bit string to generate the comparison value.
請求項2に記載のコネクション数計測装置において、
前記状態記憶回路として第1および第2の状態記憶回路を備え、
前記第1の状態記憶回路は、前記状態値と前記参照値を保持し、
前記第2の状態記憶回路は、前記状態値のみを保持し、
前記選択部は、前記第1の状態記憶回路で保持されている前記参照値と前記比較値とを比較し、両者が一致した場合、前記第1の状態記憶回路を前記状態記憶回路として選択し、両者が不一致の場合、前記第2の状態記憶回路を前記状態記憶回路として選択する
ことを特徴とするコネクション数計測装置。
In the connection number measuring device according to claim 2,
comprising first and second state memory circuits as the state memory circuits;
the first state storage circuit holds the state value and the reference value;
the second state storage circuit holds only the state value;
The selection unit compares the reference value held in the first state storage circuit with the comparison value, and selects the first state storage circuit as the state storage circuit when the two match, and selects the second state storage circuit as the state storage circuit when the two do not match.
請求項4に記載のコネクション数計測装置において、
前記検索キー生成部は、前記ハッシュ値を構成するビット列を2つ以上に分割することにより前記第1および第2の状態記憶回路に対応する第1および第2の検索キーをそれぞれ生成し、前記ビット列のうち前記第1の検索キー以外の部分から前記比較値を生成することを特徴とするコネクション数計測装置。
In the connection number measuring device according to claim 4,
The number-of-connection measuring device, wherein the search key generation unit generates first and second search keys corresponding to the first and second state storage circuits by dividing a bit string forming the hash value into two or more, and generates the comparison value from a portion of the bit string other than the first search key.
受信パケットのコネクションの状態を示す状態値と当該コネクションを識別するための参照値とを、保持するように構成された複数の状態記憶回路と、受信パケットのヘッダから取得したフィールド値および状態制御情報に基づいて、前記複数の状態記憶回路で保持されている前記状態値および前記参照値を参照することにより、前記受信パケットのコネクションである対象コネクションの状態を検出するように構成された制御装置とを備え、
前記制御装置は、
前記複数の状態記憶回路のうちから、それぞれの状態記憶回路で保持する前記参照値に基づいて、前記対象コネクションに関する状態値を保持する状態記憶回路を選択するように構成された選択部と、
前記受信パケットから取得した状態制御情報と、前記選択部で選択された前記状態記憶回路で保持する状態値とに基づいて、前記対象コネクションの次状態を判別することにより、前記対象コネクションの状態を検出するように構成された状態判別部と、
前記状態判別部で得られた前記対象コネクションに関する次状態に基づいて、前記複数の状態記憶回路での保持内容を更新するように構成された状態更新部とを備える
ことを特徴とするコネクション状態検出装置。
a plurality of state storage circuits configured to hold a state value indicating a state of a connection of a received packet and a reference value for identifying the connection; and a controller configured to detect the state of a target connection, which is the connection of the received packet, by referring to the state value and the reference value held in the plurality of state storage circuits based on the field value and the state control information obtained from the header of the received packet,
The control device is
a selection unit configured to select, from among the plurality of state storage circuits, a state storage circuit holding a state value related to the target connection based on the reference value held in each state storage circuit;
a state determination unit configured to detect the state of the target connection by determining the next state of the target connection based on the state control information obtained from the received packet and the state value held in the state storage circuit selected by the selection unit;
a state update unit configured to update contents held in the plurality of state storage circuits based on the next state of the target connection obtained by the state determination unit.
受信パケットのコネクションの状態を示す状態値と当該コネクションを識別するための参照値とを、保持するように構成された複数の状態記憶回路と、受信パケットのヘッダから取得したフィールド値および状態制御情報に基づいて、前記複数の状態記憶回路で保持されている前記状態値および前記参照値を参照することにより、前記受信パケットのコネクションである対象コネクションの状態を検出し、得られた検出結果を出力するように構成された制御装置とを備えるコネクション状態検出装置で用いられるコネクション状態検出方法であって、
前記制御装置が、前記複数の状態記憶回路のうちから、それぞれの状態記憶回路で保持する前記参照値に基づいて、前記対象コネクションに関する状態値を保持する状態記憶回路を選択するように構成された選択ステップと、
前記制御装置が、前記受信パケットから取得した状態制御情報と、前記選択ステップで選択された前記状態記憶回路で保持する状態値とに基づいて、前記対象コネクションの次状態を判別することにより、前記対象コネクションの状態を検出するように構成された状態判別ステップと、
前記制御装置が、前記状態判別ステップで得られた前記対象コネクションに関する次状態に基づいて、前記複数の状態記憶回路での保持内容を更新するように構成された状態更新ステップと
を備えることを特徴とするコネクション状態検出方法。
A connection state detection method for use in a connection state detection device, comprising: a plurality of state storage circuits configured to hold a state value indicating a connection state of a received packet and a reference value for identifying the connection; and a controller configured to detect the state of a target connection, which is the connection of the received packet, by referring to the state value and the reference value held in the plurality of state storage circuits based on field values and state control information obtained from a header of the received packet, and output the obtained detection result. so,
a selection step, wherein the control device is configured to select, from among the plurality of state storage circuits, a state storage circuit that holds a state value related to the target connection based on the reference value held in each state storage circuit;
a state determination step configured to detect the state of the target connection by the control device determining the next state of the target connection based on the state control information acquired from the received packet and the state value held in the state storage circuit selected in the selection step;
A connection state detection method, wherein the control device is configured to update contents held in the plurality of state storage circuits based on the next state of the target connection obtained in the state determination step.
コンピュータを、請求項1~請求項5のいずれかに記載のコネクション数計測装置を構成する各部として機能させるためのコネクション数計測プログラム。 A connection number measuring program for causing a computer to function as each part constituting the connection number measuring device according to any one of claims 1 to 5.
JP2022527268A 2020-05-25 2020-05-25 Connection count measurement device, connection state detection device, connection state detection method, and connection count measurement program Active JP7315099B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2020/020499 WO2021240586A1 (en) 2020-05-25 2020-05-25 Connection number measurement device, connection state detection device, connection state detection method, and connection number measurement program

Publications (2)

Publication Number Publication Date
JPWO2021240586A1 JPWO2021240586A1 (en) 2021-12-02
JP7315099B2 true JP7315099B2 (en) 2023-07-26

Family

ID=78723161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022527268A Active JP7315099B2 (en) 2020-05-25 2020-05-25 Connection count measurement device, connection state detection device, connection state detection method, and connection count measurement program

Country Status (2)

Country Link
JP (1) JP7315099B2 (en)
WO (1) WO2021240586A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001333093A (en) 2000-05-22 2001-11-30 Fujitsu Ltd Network connection filter system
US6928054B1 (en) 2000-09-20 2005-08-09 Nortel Networks Limited Apparatus, method, media and signals for connection-class parameter control of packet flow
JP2011229093A (en) 2010-04-23 2011-11-10 Hitachi Ltd Network apparatus
WO2016175131A1 (en) 2015-04-28 2016-11-03 日本電信電話株式会社 Connection control device, connection control method and connection control program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001333093A (en) 2000-05-22 2001-11-30 Fujitsu Ltd Network connection filter system
US6928054B1 (en) 2000-09-20 2005-08-09 Nortel Networks Limited Apparatus, method, media and signals for connection-class parameter control of packet flow
JP2011229093A (en) 2010-04-23 2011-11-10 Hitachi Ltd Network apparatus
WO2016175131A1 (en) 2015-04-28 2016-11-03 日本電信電話株式会社 Connection control device, connection control method and connection control program

Also Published As

Publication number Publication date
WO2021240586A1 (en) 2021-12-02
JPWO2021240586A1 (en) 2021-12-02

Similar Documents

Publication Publication Date Title
US10917322B2 (en) Network traffic tracking using encapsulation protocol
US8270309B1 (en) Systems for monitoring delivery performance of a packet flow between reference nodes
EP2201738B1 (en) Router detection
CA2457928C (en) Topology discovery by partitioning multiple discovery techniques
KR100916288B1 (en) Method and apparatus for determination of network topology
EP2984798B1 (en) Identification of paths taken through a network of interconnected devices
EP2667545A1 (en) Network system, controller, switch, and traffic monitoring method
US10033602B1 (en) Network health management using metrics from encapsulation protocol endpoints
JP5534481B2 (en) Communication quality monitoring system, communication quality monitoring method, and storage medium
US20130250797A1 (en) Communication control system, control device, communication control method, and communication control program
US10462064B2 (en) Maximum transmission unit installation for network traffic along a datapath in a software defined network
JP2011159247A (en) Network system, controller, and network control method
JP7315099B2 (en) Connection count measurement device, connection state detection device, connection state detection method, and connection count measurement program
KR20220029142A (en) Sdn controller server and method for analysing sdn based network traffic usage thereof
JP7414149B2 (en) Connection count measuring device, method, and program
JP7211531B2 (en) Network monitoring device and connection counting method
US20130054785A1 (en) Communications path discovery
JP2017046211A (en) Communication apparatus, control method and program
CN116582544A (en) Data packet sending method, device, equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220825

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: 20230613

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230626

R150 Certificate of patent or registration of utility model

Ref document number: 7315099

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150