JP2008211597A - Traffic measurement method and system having automatic selection function of flow measurement item, traffic information receiving apparatus, traffic information transmitting apparatus and program - Google Patents

Traffic measurement method and system having automatic selection function of flow measurement item, traffic information receiving apparatus, traffic information transmitting apparatus and program Download PDF

Info

Publication number
JP2008211597A
JP2008211597A JP2007047193A JP2007047193A JP2008211597A JP 2008211597 A JP2008211597 A JP 2008211597A JP 2007047193 A JP2007047193 A JP 2007047193A JP 2007047193 A JP2007047193 A JP 2007047193A JP 2008211597 A JP2008211597 A JP 2008211597A
Authority
JP
Japan
Prior art keywords
information
traffic information
traffic
receiving device
items
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
JP2007047193A
Other languages
Japanese (ja)
Other versions
JP4669485B2 (en
Inventor
Hitoshi Irino
仁志 入野
Masaru Katayama
勝 片山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2007047193A priority Critical patent/JP4669485B2/en
Publication of JP2008211597A publication Critical patent/JP2008211597A/en
Application granted granted Critical
Publication of JP4669485B2 publication Critical patent/JP4669485B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a traffic measurement system which does not transfer useless flow measurement information and which does not consequently unnecessarily increase a traffic volume of a network for measurement. <P>SOLUTION: Traffic information transmitting apparatus 1 transmits information on measurable and processable items of the self-transmitting apparatus and corresponding specifications to traffic information receiving apparatus 2. The traffic information receiving apparatus 2 collates a flow processing function of the self-receiving equipment with a packet processing function of the traffic information transmitting apparatus 1, and extracts functions which can be utilized for both apparatus to transmit them to the traffic information transmitting apparatus. The traffic information transmitting apparatus 1 transmits the received traffic information which has utilized only items based on function information which can be utilized for both apparatus to the traffic information receiving apparatus 2. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明はインターネット、IPネットワークなどの複数の端末を相互に接続するネットワーク上における複数の地点間の複数の通信サービスを計測する方法に関する。   The present invention relates to a method for measuring a plurality of communication services between a plurality of points on a network connecting a plurality of terminals such as the Internet and an IP network.

インターネットで使われるIPには、プロトコル、ソースIPアドレス、宛先IPアドレスの情報が含まれ、また一部のトランスポートプロトコルにはソースポート、宛先ポートの情報が含まれる。トラヒック計測技術の中でこれらのパケットが持つ情報を元に通信の種別を分類する方法がフロー計測である。フロー計測では、同一のプロトコル、ソースIPアドレス、宛先IPアドレス、ソースポート、宛先ポートなどの情報を持つパケットを同一の通信に属するパケットと見なす。同一の通信に属するパケットの集合をフローと呼ぶ。フローのデータ量やパケット量を計測することで、複数の地点間で複数の通信サービスを監視することができる。   The IP used on the Internet includes information on a protocol, a source IP address, and a destination IP address, and some transport protocols include information on a source port and a destination port. Flow measurement is a method of classifying communication types based on information held in these packets in the traffic measurement technology. In flow measurement, packets having information such as the same protocol, source IP address, destination IP address, source port, and destination port are regarded as packets belonging to the same communication. A set of packets belonging to the same communication is called a flow. By measuring the flow data amount and packet amount, a plurality of communication services can be monitored between a plurality of points.

インターネットではルータにより経路制御が行われ、送信元から送出されたパケットが複数のルータを経由することで送信先に到達する。ルータはパケットのIPヘッダや場合によってはトランスポートレイヤーのヘッダを参照するため、上述のフローの分類をする機器としては適している。ルータを通過したパケットのフロー情報を他の機器に通知する方法の例がNetFlow(非特許文献1参照)やIPFIX(IP Flow Information Export)である。   In the Internet, route control is performed by a router, and a packet transmitted from a transmission source reaches a transmission destination via a plurality of routers. Since the router refers to the IP header of the packet and, in some cases, the header of the transport layer, it is suitable as a device for classifying the flow described above. Examples of a method for notifying other devices of flow information of a packet that has passed through a router are NetFlow (see Non-Patent Document 1) and IPFIX (IP Flow Information Export).

これらの方法では、ルータなどのフロー情報送信機器は通過したパケットをフロー化した後、そのフローが持つ情報から、受信機器に対して送信する要素情報を任意に選択し、その要素情報の集合をパケット化して送信する。要素情報の一例は、ソースIPアドレスや宛先ポート等と言った、フロー情報を構成するために必要な一部の情報である。これらの情報には上述のプロトコルなどでは識別のための固有の番号が付与されており、本発明では以下この番号を要素情報番号と呼ぶ。   In these methods, a flow information transmitting device such as a router makes a packet that has passed through, and then arbitrarily selects element information to be transmitted to the receiving device from the information of the flow, and sets a set of the element information. Send in packets. An example of the element information is a part of information necessary for configuring flow information, such as a source IP address and a destination port. In the above-described protocol and the like, a unique number for identification is given to these pieces of information. In the present invention, this number is hereinafter referred to as an element information number.

フロー情報送信機器が利用する要素情報の選択方式は2方式あり、要素情報の選択項目と並び方が常に一定である送信情報固定方式と、送信機器の利用者からの入力された設定などによって変更できる送信情報自由選択方式がある。既存のプロトコルで送信情報自由選択方式を採用しているのはNetFlowのVersion9以降、IPFIXである。   There are two element information selection methods used by the flow information transmitting device, which can be changed depending on the transmission information fixing method in which the selection items and arrangement of element information are always constant, and the settings input by the user of the transmitting device. There is a transmission information free selection method. It is IPFIX after Version 9 of NetFlow that adopts the transmission information free selection method in the existing protocol.

送信情報自由選択方式の場合、計測されたフロー情報とそのフロー情報のデータ構造を定義する(IPFIXプロトコル用語でテンプレートと呼ばれる)データ構造定義情報を送信機器は送信する。データ構造定義情報は(IPFIXプロトコル用語で要素情報と呼ばれる)要素情報の集合である。   In the case of the transmission information free selection method, the transmitting device transmits the measured flow information and data structure definition information that defines the data structure of the flow information (referred to as a template in the IPFIX protocol terminology). Data structure definition information is a collection of element information (called element information in IPFIX protocol terms).

同一の要素情報の集合を利用しても、その順序が異なる場合異なるデータ構造定義情報となる。また、同一のフロー情報の送信においても、異なるデータ構造定義情報を利用すると、異なるデータ列になる。   Even if the same set of element information is used, the data structure definition information is different if the order is different. Also, even when the same flow information is transmitted, different data structure definition information is used when different data structure definition information is used.

受信機器は、異なったデータ構造定義情報を利用した同一のフロー情報から生成された異なったデータ列に対して、それぞれ異なったデコード処理を要求される。また、異なるデータ構造定義情報はそれぞれ個別に保持しなければならないため、送信情報固定方式と比較して、処理効率の面、計算機資源量利用効率の面において劣る場合が発生する。   Receiving devices are required to perform different decoding processes for different data strings generated from the same flow information using different data structure definition information. Also, since different data structure definition information must be held individually, there are cases where the processing efficiency and the computer resource amount utilization efficiency are inferior compared to the transmission information fixing method.

また、非特許文献2によると一例としてIPFIXにおける要素情報は167種類にわたり、この中では表す情報の意味が同じだが、単位や表し方が異なる情報などが存在する。例えば時間を示す情報は、秒、ミリ秒、マイクロ秒、ナノ秒の要素情報が存在する。   Further, according to Non-Patent Document 2, as an example, there are 167 types of element information in IPFIX, in which the meaning of the information to be expressed is the same, but there is information that is different in units and way of expression. For example, information indicating time includes element information of seconds, milliseconds, microseconds, and nanoseconds.

したがって、単一のフロー情報の伝達のために生成されるデータ構造定義情報は単位の選択も含めると、多数の組合せの可能性が存在する。また、一部の要素情報では、サイズを状況に応じて変更することができる。したがって、データ構造定義情報次第では同一の要素情報でもサイズが異なる場合がある。   Therefore, the data structure definition information generated for the transmission of a single flow information includes many combinations, including unit selection. In some element information, the size can be changed according to the situation. Therefore, depending on the data structure definition information, the same element information may have different sizes.

一方、非特許文献3によると、送信情報自由選択方式において、要素情報の順序を何らかの方法で一定化した場合、生成される可能性のあるテンプレート数を抑制し、処理対象とする要素情報の数を減らすことができることが述べられている。また、非特許文献4では、その一定化されたデータアライメントを意識している順序の一例が示されている。この例では、固定長の要素情報、サイズ変更可能な要素情報、可変長の要素情報に分類しており、同一の要素情報の組を利用した場合に、どのテンプレートでも固定長の要素情報の集合の部分が一意に決まり同一になる。
[平成18年12月26日閲覧 インターネット]http://www.ietf.org/rfc/rfc3954.txt [平成18年12月26日閲覧 インターネット]Quittek, J., Bryant, S., Claise, B., and J. Meyer, "Information Model for IP Flow Information Export"(特に5,9章)http://www.ietf.org/internet-drafts/draft-ietf-ipfix-info-14.txt 入野 仁志,片山 勝,“フロー情報コレクタ省資源化のためのフロー情報送信方法の提案”,電子情報通信学会 ソサイエティ大会(2006)BS−4−3 [平成18年12月26日閲覧 インターネット]H. Irino, "Order of Information Elements"http://tools.ietf.org/wg/ipfix/draft-irino-ipfix-ie-order-00.txt
On the other hand, according to Non-Patent Document 3, in the transmission information free selection method, when the order of element information is fixed by some method, the number of templates that can be generated is suppressed, and the number of element information to be processed It is stated that can be reduced. Non-Patent Document 4 shows an example of the order in which the fixed data alignment is conscious. In this example, it is classified into fixed-length element information, resizable element information, and variable-length element information. When the same set of element information is used, a set of fixed-length element information in any template Are uniquely determined and are identical.
[Internet read on December 26, 2006] http://www.ietf.org/rfc/rfc3954.txt [Internet: December 26, 2006] Quittek, J., Bryant, S., Claise, B., and J. Meyer, "Information Model for IP Flow Information Export" (especially Chapters 5 and 9) http: / /www.ietf.org/internet-drafts/draft-ietf-ipfix-info-14.txt Hitoshi Irino, Masaru Katayama, “Proposal of flow information transmission method for resource saving of flow information collector”, IEICE Society Conference (2006) BS-4-3 [Accessed December 26, 2006 Internet] H. Irino, "Order of Information Elements" http://tools.ietf.org/wg/ipfix/draft-irino-ipfix-ie-order-00.txt

送信情報自由選択方式を採用しているプロトコルでは、どの要素情報を利用するかの選択は送信機器に依存している。しかし、受信機器はそれら全ての要素情報を解釈できない可能性がある。したがって、送信機器が送信しても解釈できない場合が存在する。この場合、無駄なフロー計測情報を生成し転送していることになり、計測用ネットワークのトラヒック量を不必要に増加させ、送信機器、受信機器の不必要な処理を発生させる。   In a protocol that employs a transmission information free selection method, selection of which element information is used depends on the transmission device. However, the receiving device may not be able to interpret all the element information. Therefore, there is a case where it cannot be interpreted even if the transmission device transmits. In this case, useless flow measurement information is generated and transferred, which unnecessarily increases the amount of traffic in the measurement network and causes unnecessary processing of the transmitting device and the receiving device.

一方、要素情報の順序の決定において、従来技術の順序の一定化によって生成の可能性のあるデータ構造定義情報の数が抑制される。しかし、同一の要素情報の組を利用しない場合はその限りでなく、同一の要素情報を利用するかは送信機器のみに依存している。   On the other hand, in determining the order of the element information, the number of data structure definition information that can be generated is suppressed by making the order of the prior art constant. However, this is not limited to the case where the same set of element information is not used, and whether the same element information is used depends only on the transmitting device.

本発明の目的は、無駄なフロー計測情報を転送せず、したがって計測用ネットワークのトラヒック量を不必要に増加させ、送信機器、受信機器の不必要な処理を発生させることがないトラヒック計測方法、システム、トラヒック情報受信機器、トラヒック情報送信機器、およびプログラムを提供することにある。   An object of the present invention is to provide a traffic measurement method that does not transfer useless flow measurement information, and thus unnecessarily increases the amount of traffic in a measurement network and does not cause unnecessary processing of a transmission device and a reception device, It is to provide a system, a traffic information receiving device, a traffic information transmitting device, and a program.

本発明のトラヒック計測システムは、トラヒック情報送信機器は、自機器の計測および処理可能な項目に関する情報を前記トラヒック情報受信機器に送信する手段を有し、トラヒック情報受信機器は自機器のフロー処理機能に関して、トラヒック情報送信機器から送信された情報との照合を行い、両機器に利用できる機能を抽出し、前記送信機器に送信する手段を有し、トラヒック情報送信機器は、受信した、両機器に利用可能な機能に基づいた項目のみを利用したトラヒック情報をトラヒック情報受信機器に送信する手段を有する。   In the traffic measurement system of the present invention, the traffic information transmitting device has means for transmitting information related to the measurement and processing items of the own device to the traffic information receiving device, and the traffic information receiving device has a flow processing function of the own device. In relation to the information transmitted from the traffic information transmitting device, the function that can be used by both devices is extracted and transmitted to the transmitting device, and the traffic information transmitting device receives the received information from both devices. Means for transmitting traffic information using only items based on available functions to a traffic information receiving device.

フロー計測情報の送信では、要素情報は、大きく分類すると、フロー計測情報の送信機器を通過したパケットから取得できる要素情報(IPFIXプロトコル用語でフローキーにあたるインフォメーションエレメントとパケットから取得した値の最小値最大値などの統計情報を表すインフォメーションエレメント)と、パケット量、バイト量といったカウンタ型の要素情報、計測されたフローの開始時間と終了時間を表す要素情報、それ以外の雑多な要素情報に分かれる。   In the flow measurement information transmission, the element information can be broadly classified into element information that can be acquired from the packet that has passed through the flow measurement information transmission device (the minimum value of the information element that corresponds to the flow key in IPFIX protocol terms and the maximum value acquired from the packet). Information element representing statistical information such as values), counter-type element information such as packet quantity and byte quantity, element information representing the measured flow start time and end time, and other miscellaneous element information.

これらの分類のうち、パケットから取得できる要素情報は送信機器が該当する仕様に準拠していなければ、利用できない。例えばRFC2460“Internet Protocol, Version 6 (IPv6) Specification”に準拠していないフロー情報送信機器はIPv6のパケットを取り扱えないためIPv6に関する要素情報は送信できない。また、例えば、RFC791“INTERNET PROTOCOL”、RFC2460に準拠、対応していてRFC2675“IPv6 Jumborams”に準拠および対応していないフロー情報送信機器においてはIPペイロードのサイズは必ず16ビットとなる。フロー計測情報送信機器はパケットを扱う必要がありその際に、準拠している規格、仕様によって取り扱うことのできる要素情報や場合によってはそのサイズが決定される。   Of these classifications, element information that can be acquired from a packet cannot be used unless the transmitting device conforms to the corresponding specification. For example, a flow information transmitting device that does not comply with RFC 2460 “Internet Protocol, Version 6 (IPv6) Specification” cannot handle IPv6 packets and cannot transmit element information related to IPv6. Also, for example, in a flow information transmitting apparatus that conforms to and corresponds to RFC 791 “INTERNET PROTOCOL” and RFC 2460, but does not conform to and supports RFC 2675 “IPv6 Jumborams”, the size of the IP payload is always 16 bits. The flow measurement information transmitting device needs to handle a packet, and at that time, the element information that can be handled according to the standard and specification that conforms to the packet and the size thereof are determined depending on the case.

以上の特徴から、フロー情報の送信機器から、準拠している仕様(RFCや、IEEE等の標準規格)と送信機器の実装に関する情報を受信機器に通知する。これによって、送信機器が送信可能とする要素情報を受信機器で判断できる。その情報を受け取った受信機器は、その通知と自分の解析可能な要素情報と照合し、送信機器が通知可能な要素情報の中で解析可能な要素情報を判別する。判別した要素情報の番号を再度、送信機器に送信する。通知を受信した送信機器は、受信された要素情報の中から、送信情報に用いる要素情報を選択し、一定の順序に基づいて、データ構造定義情報を生成および送信し、その後、対応した形式で観測されたフロー計測情報を送信する。   From the above features, the flow information transmitting device notifies the receiving device of the compliant specifications (RFC, standards such as IEEE) and information related to the mounting of the transmitting device. Thereby, the element information that can be transmitted by the transmitting device can be determined by the receiving device. The receiving device that has received the information collates the notification with the element information that can be analyzed, and determines the element information that can be analyzed among the element information that can be notified by the transmitting device. The determined element information number is transmitted again to the transmitting device. The transmitting device that has received the notification selects element information to be used for transmission information from the received element information, generates and transmits data structure definition information based on a certain order, and then in a corresponding format. Transmits observed flow measurement information.

さらに、準拠している仕様の通知を行うことで、サイズが一意に決定することのできるサイズ変更可能な要素情報が存在するため、それらの要素情報を固定長の要素情報として利用することで、サイズ変更可能な要素情報の数が減少する。その結果複数のデータ構造定義情報における共通部分が増加する。共通部分を共通の記憶領域に配置し、共通の処理過程で処理することで、記憶領域の節約と高速化が可能になる。特に共通部分をCPUのキャッシュなど、高速なメモリ空間に配置すると、より高速化できる。   Furthermore, because there is size-changeable element information that can uniquely determine the size by notifying the conforming specification, by using those element information as fixed-length element information, The number of resizable element information is reduced. As a result, the common part in a plurality of data structure definition information increases. By arranging the common part in the common storage area and processing in the common processing process, the storage area can be saved and the speed can be increased. In particular, if the common portion is arranged in a high-speed memory space such as a CPU cache, the speed can be further increased.

利用可能な要素情報の交換が送受信機器間で自律的に行われる。   Exchange of available element information is performed autonomously between the transmitting and receiving devices.

フロー情報の送信機器が送出可能、受信機器が解釈可能な要素情報から成るフロー情報しか生成されないため、転送するデータに無駄が発生しない。また、送信機器、受信機器の処理にも無駄が発生しない。よって、計測用ネットワークにおいてより多いフロー情報を転送と処理が可能になる。もしくは各送信機器が出力するフロー情報量が一定の場合は、単一の受信機器で従来より多くの送信機器を監視することができる。   Only flow information composed of element information that can be transmitted by a transmitting device of flow information and can be interpreted by a receiving device is generated, so that there is no waste in data to be transferred. In addition, there is no waste in processing of the transmitting device and the receiving device. Therefore, more flow information can be transferred and processed in the measurement network. Alternatively, when the amount of flow information output by each transmitting device is constant, more transmitting devices can be monitored with a single receiving device than before.

また、一定の順序と組み合わすことで、フロー情報の一部分は受信機器において記録時や受信パケットの検索時にデータ位置の調整のためのメモリ上のコピーが不要になる。   Further, by combining with a certain order, a part of the flow information is not required to be copied on the memory for adjusting the data position when recording or retrieving the received packet in the receiving device.

本方式でサイズ変更可能な要素情報の数が減少する。その結果複数のデータ構造定義情報における共通部分が増加する。受信機器において共通部分を共通の記憶領域に配置し、共通の処理過程で処理することで、記憶領域の節約と高速化が可能になる。特に、共通部分をCPUのキャッシュなど、高速なメモリ空間に配置すると、より高速化できる。   The number of element information that can be resized by this method is reduced. As a result, the common part in a plurality of data structure definition information increases. By arranging the common part in the common storage area in the receiving device and processing in the common processing process, the storage area can be saved and the speed can be increased. In particular, if the common part is arranged in a high-speed memory space such as a CPU cache, the speed can be further increased.

次に、本発明の実施の形態について図面を参照して説明する。   Next, embodiments of the present invention will be described with reference to the drawings.

図1は本発明の一実施形態によるトラヒック計測システムの構成図である。   FIG. 1 is a configuration diagram of a traffic measurement system according to an embodiment of the present invention.

本実施形態によるトラヒック計測システムは、ネットワーク1上に配置されたトラヒック情報送信機器(以下、単に送信機器と称す)1と、管理用ネットワーク4を介して送信機機器1に接続されるトラヒック情報受信機器(以下、単に受信機器と称す)2とを有している。   The traffic measurement system according to this embodiment includes a traffic information transmitting device (hereinafter simply referred to as a transmitting device) 1 arranged on a network 1 and a traffic information receiving device connected to the transmitter device 1 via the management network 4. And a device (hereinafter simply referred to as a receiving device) 2.

本実施形態では、フロー情報が、ネットワーク1上のルータなどのパケット転送装置である送信機器1から、IPFIXをはじめとした送信情報自由選択方式のプロトコルを用いて管理用の受信機器2に送信される。   In this embodiment, flow information is transmitted from a transmission device 1 that is a packet transfer device such as a router on the network 1 to a management reception device 2 using a transmission information free selection protocol such as IPFIX. The

図2は送信機1と受信機器2のブロック図である。   FIG. 2 is a block diagram of the transmitter 1 and the receiving device 2.

送信機器1は、SNMPのSETリクエスト等に代表される設定情報要求を受け付ける設定情報受信部11と、設定情報受信部11で受信された情報の中で後述する受信機器2が処理可能な情報を蓄積する受信機器処理可能情報蓄積部12と、パケット収集部16で収集されたパケットのうちフローとして集計処理することが可能な情報要素の情報を予め蓄積する送信機器処理可能情報蓄積部13と、受信機器処理可能情報蓄積部12に蓄積されている情報と送信機器処理可能情報蓄積部13に格納されている情報を比較し、トラヒック情報を送信する際に、後述する算出方法によって算出された利用可能な情報要素を参照するための情報を格納する利用可能情報蓄積部15の情報を更新する比較・情報更新部14と、計測対象となるネットワークからパケットを収集するパケット収集部16と、トラヒック情報そのもの以外の付加的な情報であるオプション情報を蓄積するオプション情報蓄積部17と、トラヒック情報作成・送信部18を有し、トラヒック情報作成・送信部18は、トラヒック情報を作成するトラヒック情報作成部18Aと、オプション情報を作成するオプション情報作成部18Bと、トラヒック情報およびオプション情報を送信する送信部18Cを有している。   The transmitting device 1 includes a setting information receiving unit 11 that accepts a setting information request represented by an SNMP SET request and the like, and information that can be processed by the receiving device 2 described later among the information received by the setting information receiving unit 11. A receiving device processable information storage unit 12 to store, a transmitting device processable information storage unit 13 to store in advance information of information elements that can be aggregated as a flow among the packets collected by the packet collection unit 16; When the traffic information is transmitted by comparing the information stored in the receiving device processable information storage unit 12 with the information stored in the transmitting device processable information storage unit 13, the usage calculated by the calculation method described later is used. A comparison / information update unit 14 for updating information in the available information storage unit 15 for storing information for referring to possible information elements, and a net to be measured A packet collection unit 16 that collects packets from the traffic, an option information accumulation unit 17 that accumulates option information that is additional information other than the traffic information itself, and a traffic information creation / transmission unit 18. The transmission unit 18 includes a traffic information creation unit 18A that creates traffic information, an option information creation unit 18B that creates option information, and a transmission unit 18C that sends traffic information and option information.

受信機器2は、送信機器1から送信されたトラヒック情報およびオプション情報を受信し、処理するトラヒック情報受信・処理部21と、その処理した情報の中で送信機器1が計測可能な情報を蓄積する送信機器計測可能情報蓄積部22と、受信機器2が処理できる情報要素の情報を予め蓄積する受信機器計測可能情報蓄積部23と、送信機器計測可能情報蓄積部22と受信機器計測可能情報蓄積部23の情報を元に、送信機器1と受信機器2の間で利用することのできる情報要素を算出する比較部24と、比較部24で算出された情報をSNMPのSETリクエスト等に代表される設定情報要求として送信する設定情報送信部25を有し、トラヒック情報受信・処理部21は、情報を受信する受信部21Aと、受信部21Aで受信した情報の中で付加的な情報であるオプション情報を処理するオプション情報処理部21Bと、送信機器1が計測可能な送信機器計測可能情報以外の付加情報であるオプション情報を蓄積するオプション情報蓄積部21Cと、受信部21Aで受信した情報の中でトラヒック情報を処理するトラヒック情報処理部21Dと、処理されたトラヒック情報を蓄積するトラヒック情報蓄積部21Eとを有している。   The receiving device 2 receives the traffic information and option information transmitted from the transmitting device 1 and accumulates information that can be measured by the transmitting device 1 and the traffic information receiving / processing unit 21 for processing. Transmitting device measurable information storage unit 22, receiving device measurable information storage unit 23 that stores in advance information of information elements that can be processed by the receiving device 2, transmitting device measurable information storage unit 22, and receiving device measurable information storage unit 23, the comparison unit 24 that calculates information elements that can be used between the transmission device 1 and the reception device 2, and the information calculated by the comparison unit 24 is represented by an SNMP SET request or the like. The traffic information reception / processing unit 21 includes a reception unit 21A for receiving information and information received by the reception unit 21A. An option information processing unit 21B for processing option information which is additional information, an option information storage unit 21C for storing option information which is additional information other than transmission device measurable information that can be measured by the transmission device 1, The information processing unit 21D includes a traffic information processing unit 21D that processes traffic information in the information received by the receiving unit 21A, and a traffic information storage unit 21E that stores processed traffic information.

以下、フロー計測情報通知プロトコルにIPFIXを用いた場合を例として、本実施形態の動作を説明する。   Hereinafter, the operation of the present embodiment will be described by taking as an example the case of using IPFIX as the flow measurement information notification protocol.

本実施形態では(IPFIXプロトコルではエクスポータと呼ばれる)送信機器1からオプションテンプレートによって、対応している規格/仕様を示し、(IPFIXプロトコルではコレクタと呼ばれる)受信機器2から送信機器1に対してSNMPのSETリクエストを用いて受信可能な要素情報を通知する。   In the present embodiment, the standard / specification that is supported by the option template from the transmission device 1 (called an exporter in the IPFIX protocol) is indicated, and the SNMP of the transmission device 1 from the reception device 2 (called a collector in the IPFIX protocol) is indicated. Receivable element information is notified using a SET request.

IPFIXではオプションテンプレートおよびオプションデータレコードと呼ばれる付加的な情報を転送するためのデータ構造定義情報とその構造情報に基づいたデータの送信が可能である。   In IPFIX, data structure definition information for transferring additional information called option templates and option data records and data transmission based on the structure information can be transmitted.

フロー情報の送信機器1は、このオプションテンプレートおよびオプションデータレコードの仕組みを用いて、最初に受信機器2に対して、計測パケット処理機能情報蓄積部13に格納されている情報をオプション情報作成部18Bでパケット化し、送信部18Cを介して、送信機器1が準拠している仕様を通知する。   Using the option template and option data record mechanism, the flow information transmitting device 1 first sends the information stored in the measurement packet processing function information storage unit 13 to the option information generating unit 18B. The packet is then packetized, and the specification conforming to the transmission device 1 is notified via the transmission unit 18C.

図3に送信機器1が準拠している仕様を受信機器2に通知するためのIPFIXオプションプレートのパケットの一例を示す。ここでは、独自定義のcapabilityNotificationという情報要素を用いている。図4に送信機器1が準拠している仕様を受信機器2に通知するためのオプション情報の一例を示す。図4で示したオプション情報は図3のcapabilityNotificationのデータ構造である。   FIG. 3 shows an example of an IPFIX option plate packet for notifying the receiving device 2 of the specifications that the transmitting device 1 complies with. Here, a uniquely defined information element called capabilityNotification is used. FIG. 4 shows an example of option information for notifying the receiving device 2 of the specifications that the transmitting device 1 complies with. The option information shown in FIG. 4 has a data structure of capabilityNotification in FIG.

図4の例では、この要素情報はビット列として構成されており、1ビットごとに異なった意味を持ち、値が1の場合にその仕様に準拠していることを指す。この例は32ビットの情報である。図中の数字は、仕様を示す番号である(値を示しているわけではない。値は0か1である)。この例において先頭から24ビットの情報は値が0の場合無効、値が1の場合有効として受信機器2側で解釈される。25ビットのORDはある特定の順序を用いるか用いないかを示す順序のポリシー、26,27ビット目のIMPは要素情報のサイズ決定に関する実装ポリシーを示している。例えば要素情報番号31番のflowLabelIPv6は20ビットで表現できる情報だが、IPFIXの定義では4バイトで定義されており、プロトコルの定義に基づいて3バイトに変更可能である。IMPが1の場合は常に最小値をとることとし、例としてflowLabelIPv6のサイズは常に3バイトとなり常に最大値をとることとし、例として、IMPが2の場合flowLabelIPv6のサイズは常に4バイトとなり、0の場合はデータ構造定義情報毎に個別に設定する(通常のIPFIX処理)こととする。IMPが1の場合、有効範囲は適用されるのはパケットから取得できる要素情報のみで、その他の要素情報(カウンタ型、時間型)には適用されない。   In the example of FIG. 4, this element information is configured as a bit string, has a different meaning for each bit, and indicates that the value conforms to the specification when the value is 1. This example is 32-bit information. The numbers in the figure are the numbers indicating the specifications (not showing the values. The values are 0 or 1). In this example, 24-bit information from the beginning is interpreted on the receiving device 2 side as invalid when the value is 0 and valid when the value is 1. The 25-bit ORD indicates an order policy indicating whether or not a specific order is used, and the IMPs of the 26th and 27th bits indicate an implementation policy related to sizing of element information. For example, the element information number 31 of flowLabelIPv6 is information that can be expressed by 20 bits, but is defined by 4 bytes in the definition of IPFIX, and can be changed to 3 bytes based on the definition of the protocol. When the IMP is 1, the minimum value is always taken. For example, the size of the flowLabelIPv6 is always 3 bytes and always takes the maximum value. For example, when the IMP is 2, the size of the flowLabelIPv6 is always 4 bytes and 0. In this case, the data structure definition information is individually set (normal IPFIX processing). When the IMP is 1, the effective range is applied only to element information that can be acquired from the packet, and is not applied to other element information (counter type, time type).

なお、送信機器1は受信機器2に対して図4の代わりに図5のように、利用可能な要素情報ビット列を送っても構わない。ただし、同じ目的の情報を送信するのに図5では256ビット分必要とするのに対し、図4では32ビットで済むため、図4の方式のほうが少ないデータ量で同等の情報を送信できる。   The transmitting device 1 may send an available element information bit string to the receiving device 2 as shown in FIG. 5 instead of FIG. However, in order to transmit information of the same purpose, 256 bits are required in FIG. 5, but only 32 bits are required in FIG. 4. Therefore, the method of FIG. 4 can transmit equivalent information with a smaller amount of data.

受信機器2は、オプション情報処理部21Bで処理され、送信機器計測可能情報蓄積部22に蓄積された利用可能な情報要素の情報と、受信機器処理可能情報蓄積部23に予め蓄積されている利用可能な情報要素の情報とを比較部24で後述する比較方法で比較し、最終的に生成された利用可能な要素情報ビット列を、設定情報送信部25を介してSNMPのSETリクエスト等を用いて設定する。一般に、送信機器1となるルータは機器の情報を取得したり、設定したりするためにSNMPを用いることが多く、SNMPの機能を具備しているため、この例ではSNMPを用いて情報の設定を行う。しかし他の設定方法があればその方法を利用してよい。   The receiving device 2 is processed by the option information processing unit 21 </ b> B and is stored in the transmitting device measurable information storage unit 22, and the information stored in the receiving device processable information storage unit 23 is stored in advance. The information of possible information elements is compared with the comparison unit 24 by a comparison method described later, and the finally generated usable element information bit string is transmitted via the setting information transmission unit 25 using an SNMP SET request or the like. Set. In general, the router serving as the transmission device 1 often uses SNMP to acquire and set device information, and has an SNMP function. In this example, information is set using SNMP. I do. However, if there is another setting method, that method may be used.

図5に設定情報送信部25から送信され、設定情報受信部11で受信される設定情報要求のビット列の例を示す。図5に示した設定情報要求のビット列をSNMPのSETリクエストとして送信した場合、32バイトのSMIv2 OCTET STRINGを用いる。256ビット中に1〜254番までの要素情報を埋め込む。この値が1の場合はその要素情報が利用できることを示す。また、最終2ビットにはサイズに関係する仕様として、(RFC)2675と(I-D)4B-ASの情報を示す。この値が1の場合は関係する要素情報はその仕様に準じたサイズを利用可能であることを示す。なお、図5の代わりに図4で示した形式で送信しても構わない。しかし、図4で示したデータ構造で送信した場合は、受信機器2で、図4で示したデータ構造へのデータ変換が発生し、また送信機器1で、利用可能な要素情報を算出する再計算が必要となる。   FIG. 5 shows an example of a bit string of a setting information request transmitted from the setting information transmitting unit 25 and received by the setting information receiving unit 11. When the setting information request bit string shown in FIG. 5 is transmitted as an SNMP SET request, 32-byte SMIv2 OCTE STRING is used. The element information from 1 to 254 is embedded in 256 bits. When this value is 1, it indicates that the element information can be used. The last 2 bits indicate (RFC) 2675 and (ID) 4B-AS information as specifications related to the size. When this value is 1, the related element information indicates that the size according to the specification can be used. In addition, it may be transmitted in the format shown in FIG. 4 instead of FIG. However, in the case of transmission with the data structure shown in FIG. 4, data conversion to the data structure shown in FIG. 4 occurs in the receiving device 2, and the transmitting device 1 recalculates usable element information. Calculation is required.

オプション情報処理部21Bで行う、受信部21Aから受け取った、図4で示したデータ構造を用いるデータから利用可能な要素情報番号を算出する判断処理を図6に示す。二重線は有効であることを示す。「L3」は第3層、すなわちネットワーク層、「L4」は第4層、すなわちトランスポート層、「TOS」はType of Serviceの略、「BGP」は経路制御プロトコルのBGP(Border Gateway Protocol)である。「Size」はIPFIXに要素情報のデータサイズに関係・影響する可能性があることを示している。受信機器2は内部的に仕様を分類して、その情報をオプション情報処理部21Bに保持している(図6上段)。また、各仕様と関係のある要素情報番号の数字配列を持ち、同様にその情報をオプション情報処理部21Bに保持している(図6中段)。複数の数字配列で同じ要素情報番号を持つ場合、それが図6上段の分類で同一分類に属する場合は、論理和(OR)で計算され、異なる分類に属する場合は論理積(AND)で計算される。   FIG. 6 shows a determination process for calculating an available element information number from data using the data structure shown in FIG. 4 received from the receiving unit 21A, which is performed by the option information processing unit 21B. A double line indicates that it is valid. “L3” is the third layer, ie, the network layer, “L4” is the fourth layer, ie, the transport layer, “TOS” is an abbreviation of Type of Service, and “BGP” is BGP (Border Gateway Protocol) of the routing protocol. is there. “Size” indicates that IPFIX may be related to or affected by the data size of element information. The receiving device 2 internally classifies the specifications and holds the information in the option information processing unit 21B (upper part of FIG. 6). Further, it has a numerical array of element information numbers related to each specification, and similarly holds the information in the option information processing unit 21B (middle of FIG. 6). When multiple element arrays have the same element information number, if they belong to the same category in the upper class of FIG. 6, they are calculated by logical sum (OR), and if they belong to different categories, they are calculated by logical product (AND). Is done.

受信機器2は送信機器1から図4の形式で仕様(RFC等)の番号の情報を受け取った後、図6の中段に記載されている、仕様の番号と対応するIPFIXの要素情報番号の数字配列を参照する。図6では、RFC791(IPv4)と関係する要素情報番号として、4,5,8,9,12,13,18,47,(途中略),224としている。一方で、RFC2460(IPv6)と関係する要素情報番号は、4,5,27,28,29,30,31,54,55,63,(途中略),224としている。これらは内部的には最終的に図5のようなビットマップにマッピングされることになる。RFC791(IPv4)が有効な場合、4,5,8,9,12,13,18,47,(途中略),224ビット目は1(有効)になっており、それ以外のビットは0(無効)になっている。この最終結果のビットマップに対して次々に各仕様の数字配列の番号と一致するビット位置において1ビットずつ論理和または論理積を行なう。基本的に論理和を行い、論理積の対象となるのは、同一の要素が異なる分類に跨っている場合である。   The receiving device 2 receives the specification number information (RFC, etc.) in the format shown in FIG. 4 from the transmission device 1 and then the IPFIX element information number corresponding to the specification number shown in the middle of FIG. Refers to an array. In FIG. 6, element information numbers related to RFC 791 (IPv4) are 4, 5, 8, 9, 12, 13, 18, 47, (omitted on the way), 224. On the other hand, the element information numbers related to RFC2460 (IPv6) are 4, 5, 27, 28, 29, 30, 31, 54, 55, 63 (substantially omitted) and 224. Internally, these are finally mapped into a bitmap as shown in FIG. When RFC791 (IPv4) is valid, the fourth, fifth, eighth, ninth, twelfth, thirteenth, eighteenth, forty-seventh, and twenty-fourth bits are 1 (valid), and the other bits are 0 ( Disabled). The final result bit map is logically ORed one bit at a time at bit positions that coincide with the numbers in the numeric array of each specification. Basically, logical sum is performed and logical product is targeted when the same element spans different classifications.

0ビット目の791が1で、1ビット目の2460が0だった場合、IPv4に関係する全ての要素情報が利用できるが、IPv6に関係する全ての要素情報が利用できないと解釈される。この場合、RFC791(IPv4)と関係する要素情報番号である、4,5,8,9,12,13,18,47,(途中略),224が有効になる(ただし、他の分類に属している仕様(図4において、3〜24ビット目)が全て1(有効)の状態の場合)。IPv4,IPv6共通に関係する要素情報、例えばIPFIX要素情報4番:protocolidentifier、5番:ipTTL、はこの場合論理和で1となり、有効として解釈される(図6下段)。そして、論理積は、異なる分類に同一の要素情報番号が存在した場合にその要素情報番号にのみ適用される。例えば、図4の0ビット目の(RFC)791が1で、1ビット目の(RFC)2460が0で、18ビット目の(RFC)1771が1だった場合、(RFC)791と(RFC)1771の両方に属するIPIFIX要素情報18番:bgpNextHopIPv4Addressは論理積で1となり、有効として解釈されるが、(RFC)2460と(RFC)1771の両方に属する63番:bgpNextHopIPv6Addressは論理積で0となり、有効でないとして解釈される(図6下段左)。   When 791 of the 0th bit is 1 and 2460 of the 1st bit is 0, all element information related to IPv4 can be used, but it is interpreted that all element information related to IPv6 cannot be used. In this case, the element information numbers related to RFC791 (IPv4) 4, 5, 8, 9, 12, 13, 18, 47, (omitted on the way) and 224 are valid (however, they belong to other classifications) (When 3rd to 24th bits in FIG. 4) are all 1 (valid)). Element information related to IPv4 and IPv6 in common, for example, IPFIX element information No. 4: protocolidentifier, No. 5: ipTTL, is 1 in a logical sum in this case, and is interpreted as valid (lower part of FIG. 6). The logical product is applied only to the element information number when the same element information number exists in different classifications. For example, when (RFC) 791 in the 0th bit in FIG. 4 is 1, 1 (RFC) 2460 in the 1st bit is 0, and (RFC) 1771 in the 18th bit is 1, (RFC) 791 and (RFC) ) IPIFIX element information No. 18 belonging to both 1771: bgpNextHopIPv4Address is 1 in logical product and is interpreted as valid, but 63: bgpNextHopIPv6Address belonging to both (RFC) 2460 and (RFC) 1771 is 0 in logical product. Are interpreted as invalid (lower left in FIG. 6).

ただし、図6上段のSIZEは例外となる。該当する要素情報のサイズを変更する。例として4B−ASは4バイトAS番号の利用可否を示している。現在使われているAS番号は2バイトで表現できる番号が枯渇する懸念があり、4バイトに拡張する提案(BGP Support for Four−octet AS Number Space)がなされている。IPFIXの要素情報も4バイトとして定義されている。しかし、送信機器1において4バイトAS番号に対応していなければ、AS番号の表現は2バイトとして考えてよいことになる。したがって、図6で4バイトAS番号に対応しているか否かを示している4B−ASが1(有効)の場合は、AS番号に関係する16,17,128,129番の要素情報は4バイトとして解釈され、4B−ASが0(無効)の場合は、AS番号に関係する16,17,128,129番の要素情報は2バイトとして解釈される。   However, SIZE in the upper part of FIG. 6 is an exception. Change the size of the corresponding element information. As an example, 4B-AS indicates whether a 4-byte AS number can be used. There is a concern that the number that can be expressed in 2 bytes is exhausted, and a proposal to extend to 4 bytes (BGP Support for Four-octet AS Number Space) has been made. The IPFIX element information is also defined as 4 bytes. However, if the transmitting device 1 does not support the 4-byte AS number, the expression of the AS number may be considered as 2 bytes. Therefore, when 4B-AS indicating whether or not it corresponds to the 4-byte AS number in FIG. 6 is 1 (valid), the element information of Nos. 16, 17, 128, and 129 related to the AS number is 4 When the 4B-AS is 0 (invalid), the element information of Nos. 16, 17, 128, and 129 related to the AS number is interpreted as 2 bytes.

要素情報はパケットのヘッダ情報から導出できる情報と、データ量や時間などのそれ以外の情報の2種類に分類することができる。送信機器1が計測可能な要素情報ビット列は前者のパケットのヘッダ情報から導出される情報である。   Element information can be classified into two types: information that can be derived from packet header information, and other information such as data amount and time. The element information bit string that can be measured by the transmitting device 1 is information derived from the header information of the former packet.

受信機機器2が処理可能な要素情報に関しては受信機器処理可能情報蓄積部23で予め図5のデータ構造でヘッダ情報から導出した情報とそれ以外の情報との2種類のデータを保持する。受信機器2が処理可能な要素情報は明示的に利用者が受信機器2の制限内で限定しても構わない。   Regarding the element information that can be processed by the receiver device 2, the receiver device processable information storage unit 23 holds two types of data, that is, information derived from header information in the data structure of FIG. 5 in advance and other information. The element information that can be processed by the receiving device 2 may be explicitly limited within the limits of the receiving device 2 by the user.

一方、オプション情報処理部21Bで算出された送信機器計測可能情報処理部22に蓄積される要素情報ビット列は、パケットのヘッダ情報から導出される情報のみとなる。したがって、比較部24では、送信機器計測可能情報処理部22内の要素情報ビット列と受信機器処理可能情報蓄積部23内のヘッダ情報から導出した情報の要素情報ビット列とで論理積を行い、次にその結果と受信機器処理可能情報蓄積部23内のそれ以外の情報の要素情報ビット列とで論理和を行う。そして最終的な結果を、設定情報送信部25を介して送信する。この情報は送信機器1の設定情報受信部11で受信され、受信機器処理可能情報蓄積部12で保持される。   On the other hand, the element information bit string stored in the transmission device measurable information processing unit 22 calculated by the option information processing unit 21B is only information derived from the header information of the packet. Therefore, the comparison unit 24 performs a logical product on the element information bit string in the transmission device measurable information processing unit 22 and the element information bit string of information derived from the header information in the reception device processable information storage unit 23, and then The result is ORed with the element information bit string of the other information in the receiving device processable information storage unit 23. Then, the final result is transmitted via the setting information transmission unit 25. This information is received by the setting information receiving unit 11 of the transmitting device 1 and held in the receiving device processable information storage unit 12.

送信機器処理可能情報蓄積部13は、先に送信した図4のデータ構造で持つ仕様に関する情報以外に、図5のデータ構造でヘッダ情報から導出されないそれ以外の情報の要素情報ビット列を予め別途保持しており、設定情報受信部11を介して受信機器処理可能情報蓄積部12で保持した要素情報ビット列と送信機器処理可能情報蓄積部13で予め保持していた要素情報ビット列の論理積を比較・情報更新部14で計算する。この結果を利用可能情報蓄積部15に保持して、それ以後のトラヒック情報作成部18Aは利用可能情報蓄積部15に保持された情報を参照してフロー情報を作成する。   The transmitting device processable information storage unit 13 separately holds in advance an element information bit string of other information that is not derived from the header information in the data structure of FIG. 5 in addition to the information related to the specification having the data structure of FIG. Compare the logical product of the element information bit string held in the receiving device processable information storage unit 12 and the element information bit string held in advance in the transmission device processable information storage unit 13 via the setting information receiving unit 11. Calculation is performed by the information updating unit 14. The result is held in the available information storage unit 15, and the subsequent traffic information creation unit 18 </ b> A creates flow information with reference to the information held in the available information storage unit 15.

この方法により受信機器2内の比較部24で論理積を求めた際に、該当する要素情報が無く計測不可になった場合は、フロー情報通知のための通信を受信機器2内の受信部21Aで切断して、エラーメッセージなどの障害を示す出力を行えばよい。送信機器1の場合も同様であり、比較・情報更新部14で論理積を求めた際に該当する要素情報が無く、計測不可になった場合は送信部18Cで同様の処理を行えばよい。   When the comparison unit 24 in the receiving device 2 obtains the logical product by this method and there is no corresponding element information and measurement becomes impossible, the communication for the flow information notification is performed by the receiving unit 21A in the receiving device 2. You can disconnect and output an error message or other fault. The same applies to the transmission device 1, and when the comparison / information update unit 14 obtains the logical product and there is no corresponding element information and measurement becomes impossible, the transmission unit 18C may perform the same processing.

本方法により、送信機器1と受信機器2の利用する要素情報が自動的に選択される。受信機器1での利用可能な要素情報のみを利用するため、無駄な情報転送が発生しない。   By this method, element information used by the transmitting device 1 and the receiving device 2 is automatically selected. Since only the element information that can be used by the receiving device 1 is used, no unnecessary information transfer occurs.

さらに、受信機器2において計測対象とする要素情報に対して、あらかじめ一定の順序に基づいてデータ構造を作成することで、処理の簡略化が可能になる。一例を図7に示す。図7は、受信機器2においてトラヒック情報処理部21Eからトラヒック情報蓄積部21Dに対して情報を蓄積する処理を示している。要素情報の選択方式がない従来の方法だと受信機器2で処理できない要素情報が含まれる可能性があるため、図7左に示すとおり、受信バッファから必要な部分を抽出してから記憶装置に書き込む必要がある。分割された部分の数だけメモリ上のコピーが発生する一方、本発明は受信機器2が処理できる要素情報のみが送信されるため、図7右に示すとおり必要となる部分が分割されることがない。   Furthermore, processing can be simplified by creating a data structure based on a certain order in advance for element information to be measured in the receiving device 2. An example is shown in FIG. FIG. 7 shows a process of accumulating information from the traffic information processing unit 21E to the traffic information accumulating unit 21D in the receiving device 2. In the conventional method without the element information selection method, element information that cannot be processed by the receiving device 2 may be included. Therefore, as shown on the left side of FIG. Need to write. While the number of divided parts is copied in the memory, only the element information that can be processed by the receiving device 2 is transmitted in the present invention, so that the necessary parts are divided as shown in the right of FIG. Absent.

また、パケットから取得できる情報は検索条件にも利用できる。例えば、ソースアドレス、宛先アドレス、ソースポート、宛先ポート、プロトコルの条件でフローが計測され、送信機器から送信された情報のうち特定のソースアドレスと宛先アドレスのみを処理対象としたい場合(ホワイトリスト、ブラックリスト形式)、図7左の従来方法では必ず一時バッファが必要となるが、図7右の本発明では一時バッファが必要なくなり、メモリ使用量の低減化と、処理過程の省略による高速化が図れる。   Information that can be acquired from the packet can also be used as a search condition. For example, when a flow is measured under the conditions of a source address, a destination address, a source port, a destination port, and a protocol, and only a specific source address and destination address of information transmitted from a transmitting device are to be processed (white list, Blacklist format), the conventional method on the left of FIG. 7 always requires a temporary buffer, but the present invention on the right of FIG. 7 eliminates the need for a temporary buffer, which reduces memory usage and speeds up processing steps. I can plan.

図1に示すとおり、管理用受信機器1台に対して2台以上のパケット転送装置からフロー情報は送信されることが一般的であり、その場合に、本発明の方法と順序の一定化により、複数台において、共通のデータ構造定義情報が生成されるか、完全に共通のデータ構造定義情報が生成されないとしても、パケットから取得できる要素情報の部分は完全に同一になる。   As shown in FIG. 1, flow information is generally transmitted from two or more packet transfer apparatuses to one management receiving device. In this case, the method of the present invention and the order are fixed. Even if the common data structure definition information is generated in a plurality of units, or the completely common data structure definition information is not generated, the part of the element information that can be acquired from the packet is completely the same.

データ構造定義情報の一部または完全に同一の場合、同一性を意識した方法で定義情報を管理することによりメモリ節約が可能になる。従来(図8左)は、定義情報は個別に管理していた。データ構造の定義情報において、送信機器の識別子と定義情報の識別子の組に対して、単一の定義情報のデータ列(要素情報の番号とそのサイズの配列)を保持する。一方、本発明(図8右)は、送信機器から与えられた送信機器の識別子と定義情報の識別子の組に対して内部的な定義情報の識別子を付与し、その内部定義情報の識別子に対して定義情報のデータ列を保持する。この例ではAとBの2種類の定義情報が単一のものとして管理できる。定義情報の管理において、識別子情報よりも定義情報のデータ列の方がデータ量が大きいので、管理する全体のデータ量は削減できる。一部のみが同一の場合は共通部分を分離して共通部分を内部定義情報と関連付けて管理し、個別部分は送信機器識別子と関連付けて管理すればよい。この共通部分の分離は、使用する一定の順序において、パケットから取得できる情報を特定の位置に配置する(例えばパケットの先頭から配置する)ことを決めておくことで、容易に分離できる。   When the data structure definition information is partly or completely the same, memory can be saved by managing the definition information in a manner that recognizes the identity. Conventionally (FIG. 8 left) managed the definition information individually. In the definition information of the data structure, a data string of single definition information (element information number and size array) is held for a pair of identifier of the transmitting device and identifier of the definition information. On the other hand, the present invention (right of FIG. 8) assigns an internal definition information identifier to a pair of a transmission device identifier and a definition information identifier given from the transmission device, and Hold the data string of definition information. In this example, two types of definition information A and B can be managed as a single item. In the definition information management, the data amount of the definition information data string is larger than that of the identifier information. Therefore, the total amount of data to be managed can be reduced. When only a part is the same, the common part may be separated and managed in association with the internal definition information, and the individual part may be managed in association with the transmitting device identifier. Separation of the common part can be easily performed by determining that information that can be acquired from the packet is arranged at a specific position (for example, arranged from the head of the packet) in a certain order of use.

なお、送信機器1、受信機器2の機能は、その機能を実現するためのプログラムを、コンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータに読み込ませ、実行するものであってもよい。コンピュータ読み取り可能な記録媒体とは、フレキシブルディスク、光磁気ディスク、CD−ROM等の記録媒体、コンピュータシステムに内蔵されるハードディスク装置等の記憶装置を指す。さらに、コンピュータ読み取り可能な記録媒体は、インターネットを介してプログラムを送信する場合のように、短時間、動的にプログラムを保持するもの(伝送媒体もしくは伝送波)、その場合のサーバとなるコンピュータ内の揮発性メモリのように、一定時間プログラムを保持しているものを含む。     The functions of the transmitting device 1 and the receiving device 2 are executed by recording a program for realizing the functions on a computer-readable recording medium, causing the computer to read the program recorded on the recording medium. It may be a thing. The computer-readable recording medium refers to a recording medium such as a flexible disk, a magneto-optical disk, and a CD-ROM, and a storage device such as a hard disk device built in a computer system. Further, the computer-readable recording medium is a medium that dynamically holds the program for a short time (transmission medium or transmission wave) as in the case of transmitting the program via the Internet, and in the computer serving as a server in that case Such as a volatile memory that holds a program for a certain period of time.

本発明の一実施形態によるトラヒック計測システムの構成図である。It is a block diagram of the traffic measurement system by one Embodiment of this invention. 図1中の送信機1と受信機器2のブロック図である。FIG. 2 is a block diagram of a transmitter 1 and a receiving device 2 in FIG. 送信機器1が準拠している仕様を受信機器2に通知するためのパケットの一例を示す図である。It is a figure which shows an example of the packet for notifying the receiving apparatus 2 of the specification which the transmission apparatus 1 is based on. 送信機器1が準拠している仕様を受信機器2に通知するためのオプション情報の一例を示す図である。It is a figure which shows an example of the option information for notifying the receiving apparatus 2 of the specification which the transmission apparatus 1 is based on. SNMPを用いて利用可能な要素情報ビット列を示す図である。It is a figure which shows the element information bit sequence which can be utilized using SNMP. 利用可能な要素情報番号の判断処理の一例を示す図である。It is a figure which shows an example of the judgment process of an available element information number. 本発明の効果を従来技術の効果と比較して示す図である。It is a figure which shows the effect of this invention compared with the effect of a prior art. 本発明の効果を従来技術の効果と比較して示す図である。It is a figure which shows the effect of this invention compared with the effect of a prior art.

符号の説明Explanation of symbols

1 送信機器
2 受信機器
3 ネットワーク
4 管理ネットワーク
11 設定情報受信部
12 受信機器処理可能情報蓄積部
13 送信機器処理可能情報蓄積部
14 比較情報更新部
15 利用可能情報蓄積部
16 パケット収集部
17 オプション情報蓄積部
18 トラヒック情報作成・送信部
18A トラヒック情報作成部
18B オプション情報作成部
18C 送信部
21 トラヒック情報受信・処理部
21A 受信部
21B オプション情報処理部
21C オプション情報蓄積部
21D トラヒック情報処理部
21E トラヒック情報蓄積部
22 送信機器計測可能情報蓄積部
23 受信機器計測可能情報蓄積部
24 比較部
25 設定情報送信部
DESCRIPTION OF SYMBOLS 1 Transmitting device 2 Receiving device 3 Network 4 Management network 11 Setting information receiving part 12 Receiving device processable information storage part 13 Transmitting device processable information storage part 14 Comparison information update part 15 Usable information storage part 16 Packet collection part 17 Option information Storage unit 18 Traffic information creation / transmission unit 18A Traffic information creation unit 18B Option information creation unit 18C Transmission unit 21 Traffic information reception / processing unit 21A Reception unit 21B Option information processing unit 21C Option information storage unit 21D Traffic information processing unit 21E Traffic information Storage unit 22 Transmitting device measurable information storage unit 23 Receiving device measurable information storage unit 24 Comparison unit 25 Setting information transmission unit

Claims (13)

複数の端末を相互に接続するネットワーク上に配置され、該当ネットワークにおけるトラヒックを計測するために管理用ネットワークを介して接続されるトラヒック情報送信機器とトラヒック情報受信機器を有する通信システムにおけるトラヒック計測方法において、
前記トラヒック情報送信機器が、自機器の計測および処理可能な項目または対応する仕様に関する情報を前記トラヒック情報受信機器に送信するステップと、
前記トラヒック情報受信機器が、自機器のフロー処理機能に関して、前記トラヒック情報送信機器から送信された情報との照合を行い、両機器に利用できる機能を抽出し、前記トラヒック情報送信機器に送信するステップと、
前記トラヒック情報送信機器が、受信した、両機器に利用可能な機能情報に基づいた項目のみを利用したトラヒック情報を前記トラヒック情報受信機器に送信するステップと
を有すること特徴とするトラヒック計測方法。
In a traffic measurement method in a communication system having a traffic information transmitting device and a traffic information receiving device, which are arranged on a network connecting a plurality of terminals to each other and connected via a management network to measure traffic in the corresponding network ,
The traffic information transmitting device transmits information related to the measurement and processing items of the own device or corresponding specifications to the traffic information receiving device;
A step in which the traffic information receiving device collates with the information transmitted from the traffic information transmitting device with respect to the flow processing function of its own device, extracts a function that can be used by both devices, and transmits the function to the traffic information transmitting device; When,
And a step of transmitting the traffic information using only the items based on the received function information available to both devices to the traffic information receiving device.
前記トラヒック情報受信機器が、両機器に利用できる機能を抽出するステップが、前記トラヒック情報送信機器から送信された情報に関して、該当する仕様情報から、予め登録された仕様情報に対応する項目を参照し、複数の仕様情報から同一の項目が重複参照された場合に、該当項目に対しては予め登録された仕様情報の分類において、同一分類の仕様情報から重複参照されている場合には論理和を用い、異なる分類の仕様情報から重複参照されている場合には論理積を用い、出力された処理項目の一覧に対して、自己の処理可能もしくは処理対象とするパケット属性情報に関連する項目に関しては論理積を用い、それ以外の項目に関しては論理和を用いて、前記トラヒック情報受信機器と前記トラヒック情報送信機器の両方に利用できる機能を抽出することを含む、請求項1に記載のトラヒック計測方法。   The step in which the traffic information receiving device extracts the functions that can be used by both devices refers to items corresponding to the pre-registered specification information from the corresponding specification information regarding the information transmitted from the traffic information transmitting device. When the same item is referred to multiple times from multiple specification information, in the classification of the specification information registered in advance for the corresponding item, if the same item is redundantly referenced from the specification information, logical OR is performed. Use the logical product when there are duplicate references from the specification information of different classifications, and for the items related to the packet attribute information that can be processed or processed for the list of output processing items Can be used for both the traffic information receiving device and the traffic information transmitting device using logical product and logical sum for other items. It comprises extracting ability, traffic measurement method according to claim 1. 複数の端末を相互に接続するネットワーク上に配置され、該ネットワークにおけるトラヒックを計測するために管理用ネットワークを介して接続されたトラヒック情報送信機器とトラヒック情報受信機器を有するトラヒック計測システムにおいて、
前記トラヒック情報送信機器は、自機器の計測および処理可能な項目に関する情報を前記トラヒック情報受信機器に送信する手段を有し、
前記トラヒック情報受信機器は自機器のフロー処理機能に関して、前記トラヒック情報送信機器から送信された情報との照合を行い、両機器に利用できる機能を抽出し、前記送信機器に送信する手段を有し、
前記トラヒック情報送信機器は、受信した、両機器に利用可能な機能に基づいた項目のみを利用したトラヒック情報を前記トラヒック情報受信機器に送信する手段を有する
ことを特徴とするトラヒック計測システム。
In a traffic measurement system having a traffic information transmitting device and a traffic information receiving device, which are arranged on a network connecting a plurality of terminals and connected via a management network to measure traffic in the network,
The traffic information transmitting device has means for transmitting information related to measurement and processing items of the own device to the traffic information receiving device,
The traffic information receiving device has means for collating with the information transmitted from the traffic information transmitting device with respect to the flow processing function of the own device, extracting a function that can be used by both devices, and transmitting to the transmitting device. ,
The traffic information transmitting device includes means for transmitting the received traffic information using only items based on functions available to both devices to the traffic information receiving device.
複数の端末を相互に接続するネットワーク上に配置され、該ネットワークにおけるトラヒックを計測するために管理用ネットワークを介して接続されたトラヒック情報送信機器とトラヒック情報受信機器を有するトラヒック計測システムにおけるトラヒック情報送信機器において、
自機器の計測および処理可能な項目に関する情報を前記トラヒック情報受信機器に送信する手段と、
自機器と前記トラヒック情報受信機器の両機器に利用可能な機能に基づいた項目のみを前記トラヒック情報受信機器から受信し、該項目のみを利用したトラヒック情報を前記トラヒック情報受信機器に送信する手段と、
を有することを特徴とするトラヒック情報送信機器。
Traffic information transmission in a traffic measurement system having a traffic information transmitting device and a traffic information receiving device that are arranged on a network connecting a plurality of terminals and connected via a management network to measure traffic in the network In the equipment,
Means for transmitting information relating to measurement and processing items of the own device to the traffic information receiving device;
Means for receiving only items based on functions available to both the own device and the traffic information receiving device from the traffic information receiving device, and transmitting traffic information using only the items to the traffic information receiving device; ,
A traffic information transmitting device comprising:
自機器の計測および処理可能な項目に関する情報を前記トラヒック情報受信機器に送信する手段は、フローとして計測可能な項目の情報そのものか、または前記トラヒック情報送信機器内のパケット収集処理およびフロー情報化処理に関連する仕様・規格の情報として送信する、請求項4記載のトラヒック情報送信機器。   The means for transmitting the information related to the items that can be measured and processed by the own device to the traffic information receiving device is the information itself of the items that can be measured as a flow, or the packet collection process and the flow information processing in the traffic information transmitting device The traffic information transmitting apparatus according to claim 4, wherein the traffic information transmitting apparatus transmits the information as specifications / standards information related to. 自機器と前記トラヒック情報受信機器の両機器に利用可能な機能に基づいた項目のみを前記トラヒック情報受信機器から受信し、該項目のみを利用したトラヒック情報を前記トラヒック情報受信機器に送信する手段は、前記トラヒック情報受信機器から受信した、抽出された計測項目の中でパケット属性以外の計測項目に対して自機器の処理可能なパケット属性以外の計測項目との論理積計算を行い、該当する計測項目が存在しない場合に、通信を切断し、該当する計測項目が存在しない旨を画面またはネットワーク上の他の端末に対して出力する、請求項4または5に記載のトラヒック情報送信機器。   Means for receiving from the traffic information receiving device only items based on functions available to both the own device and the traffic information receiving device, and transmitting traffic information using only the items to the traffic information receiving device; The logical measurement of the measurement item other than the packet attribute among the extracted measurement items received from the traffic information receiving device and the measurement item other than the packet attribute that can be processed by the own device is performed, and the corresponding measurement is performed. 6. The traffic information transmitting device according to claim 4 or 5, wherein when there is no item, the communication is disconnected and a message indicating that the corresponding measurement item does not exist is output to another terminal on the screen or the network. 複数の端末を相互に接続するネットワーク上に配置され、該ネットワークにおけるトラヒックを計測するために管理用ネットワークを介して接続されたトラヒック情報送信機器とトラヒック情報受信機器を有するトラヒック計測システムにおけるトラヒック情報受信機器において、
前記トラヒック情報送信機器から送信された、該トラヒック情報送信機器の計測および処理可能な項目に関する情報を受信し、自機器のフロー処理機能に関して、前記トラヒック情報送信機器からの情報との照合を行い、両機器に利用できる機能を抽出し、前記トラヒック情報送信機器に送信する手段を有することを特徴とするトラヒック情報受信機器。
Traffic information reception in a traffic measurement system having a traffic information transmitting device and a traffic information receiving device arranged on a network connecting a plurality of terminals to each other and connected via a management network to measure traffic in the network In the equipment,
Received from the traffic information transmitting device, information related to the measurement and processing items of the traffic information transmitting device, and for the flow processing function of the own device, collates with the information from the traffic information transmitting device, A traffic information receiving device comprising means for extracting functions usable for both devices and transmitting the functions to the traffic information transmitting device.
前記手段は、前記トラヒック情報送信機器から送信された計測および利用可能な項目と、自機器の処理可能な項目の論理積を計算して両機器に利用できる機能を抽出する、請求項7のトラヒック情報受信機器。   8. The traffic according to claim 7, wherein the means calculates the logical product of the items that can be measured and used transmitted from the traffic information transmitting device and the items that can be processed by the own device, and extracts the functions that can be used by both devices. Information receiving device. 前記手段は、前記送信機器から送信された、該送信機器のパケット処理可能な機能に関して、該当する仕様情報から、予め登録された仕様情報に対応する項目を参照し、複数の仕様情報から同一の項目が重複参照された場合に、該当項目に対しては予め登録された仕様情報の分類において、同一分類の仕様情報から重複参照されている場合には論理和を用い、異なる分類の仕様情報から重複参照されている場合には論理積を用い、出力された処理項目の一覧に対して、自己の処理可能もしくは処理対象とするパケット属性情報に関連する項目に関しては論理積を用い、それ以外の項目に関しては論理和を用いて、両機に利用できる機能を抽出する、請求項7または8に記載のトラヒック情報受信機器。   The means refers to the item corresponding to the pre-registered specification information from the corresponding specification information regarding the function of the transmission device that can process the packet, transmitted from the transmission device, and the same from a plurality of specification information When an item is referenced multiple times, in the classification of the specification information registered in advance for the corresponding item, if the item is referenced redundantly from the specification information of the same category, the logical sum is used and the specification information of the different category is used. When multiple references are made, logical product is used. For the list of output processing items, logical product is used for items related to the packet attribute information that can be processed or processed, and other items. 9. The traffic information receiving device according to claim 7 or 8, wherein a function that can be used by both devices is extracted using a logical sum for items. 該当する計測項目がない場合に、通信を切断し、該当する計測項目が存在しない旨を画面またはネットワーク上の他の端末に対して出力する手段をさらに有する、請求項7から9のいずれかに記載のトラヒック情報受信機器。 The apparatus according to any one of claims 7 to 9, further comprising means for disconnecting communication and outputting to the screen or another terminal on the network that the corresponding measurement item does not exist when there is no corresponding measurement item. The traffic information receiving device described. 複数のフロー情報のデータ構造を示した定義情報の共通部分と独立部分を分離し、個別に管理を行う手段を有する、請求項7から10のいずれかに記載のトラヒック情報受信機器。   11. The traffic information receiving device according to claim 7, further comprising means for separating a common part and an independent part of definition information indicating a data structure of a plurality of flow information, and individually managing them. コンピュータを、請求項4から6のいずれかに記載のトラヒック情報送信機器の各手段として機能させるためのプログラム。   A program for causing a computer to function as each means of the traffic information transmitting device according to any one of claims 4 to 6. コンピュータを、請求項7から11のいずれかに記載のトラヒック情報受信機器の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the traffic information receiving apparatus in any one of Claims 7-11.
JP2007047193A 2007-02-27 2007-02-27 Traffic measurement method having automatic selection function of flow measurement item, traffic information receiving device, traffic information transmitting device, and program Expired - Fee Related JP4669485B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007047193A JP4669485B2 (en) 2007-02-27 2007-02-27 Traffic measurement method having automatic selection function of flow measurement item, traffic information receiving device, traffic information transmitting device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007047193A JP4669485B2 (en) 2007-02-27 2007-02-27 Traffic measurement method having automatic selection function of flow measurement item, traffic information receiving device, traffic information transmitting device, and program

Publications (2)

Publication Number Publication Date
JP2008211597A true JP2008211597A (en) 2008-09-11
JP4669485B2 JP4669485B2 (en) 2011-04-13

Family

ID=39787520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007047193A Expired - Fee Related JP4669485B2 (en) 2007-02-27 2007-02-27 Traffic measurement method having automatic selection function of flow measurement item, traffic information receiving device, traffic information transmitting device, and program

Country Status (1)

Country Link
JP (1) JP4669485B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0774797A (en) * 1993-08-31 1995-03-17 Nippon Telegr & Teleph Corp <Ntt> Traffic measurement device
JP2001244931A (en) * 2000-02-28 2001-09-07 Nippon Telegr & Teleph Corp <Ntt> System and method for measuring network performance
JP2004363947A (en) * 2003-06-04 2004-12-24 Ntt Docomo Inc Traffic collecting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0774797A (en) * 1993-08-31 1995-03-17 Nippon Telegr & Teleph Corp <Ntt> Traffic measurement device
JP2001244931A (en) * 2000-02-28 2001-09-07 Nippon Telegr & Teleph Corp <Ntt> System and method for measuring network performance
JP2004363947A (en) * 2003-06-04 2004-12-24 Ntt Docomo Inc Traffic collecting device

Also Published As

Publication number Publication date
JP4669485B2 (en) 2011-04-13

Similar Documents

Publication Publication Date Title
JP4341413B2 (en) PACKET TRANSFER APPARATUS HAVING STATISTICS COLLECTION APPARATUS AND STATISTICS COLLECTION METHOD
US11228515B2 (en) Data packet detection method, device, and system
US7948921B1 (en) Automatic network optimization
US8391157B2 (en) Distributed flow analysis
US7787454B1 (en) Creating and/or managing meta-data for data storage devices using a packet switch appliance
JP4267633B2 (en) Network system and traffic information aggregating apparatus
CN103314557B (en) Network system, controller, switch, and traffic monitoring method
US8239565B2 (en) Flow record restriction apparatus and the method
US7447221B2 (en) Communication apparatus
KR100425062B1 (en) Internal communication protocol for data switching equipment
EP3082293B1 (en) Switching device and packet loss method therefor
US20080232261A1 (en) Transmission apparatus, test method, and transmission apparatus control program
JP4823156B2 (en) Remote traffic monitoring method
US20220255820A1 (en) Scalable in-band telemetry as a service (taas)
EP2683120B1 (en) Network system, packet processing method, and storage medium
JP5957318B2 (en) Network system, information relay device, and packet distribution method
WO2021098425A1 (en) Qos policy method, device, and computing device for service configuration
US20230327983A1 (en) Performance measurement in a segment routing network
WO2023065848A1 (en) Service scheduling method and apparatus, device and computer readable storage medium
CN116095197B (en) Data transmission method and related device
JP4669485B2 (en) Traffic measurement method having automatic selection function of flow measurement item, traffic information receiving device, traffic information transmitting device, and program
JP6131710B2 (en) COMMUNICATION SYSTEM, LOAD DISTRIBUTION DEVICE, AND LOAD DISTRIBUTION PROGRAM
WO2017157127A1 (en) Access record passing back method, device and system
JP2003244251A (en) Packet communication method for reconfiguring tunnel path
WO2024065481A1 (en) Data processing method and apparatus, and network device and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101001

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101102

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101213

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110114

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

Free format text: PAYMENT UNTIL: 20140121

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4669485

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees