JP2006303703A - Network relaying apparatus - Google Patents

Network relaying apparatus Download PDF

Info

Publication number
JP2006303703A
JP2006303703A JP2005119931A JP2005119931A JP2006303703A JP 2006303703 A JP2006303703 A JP 2006303703A JP 2005119931 A JP2005119931 A JP 2005119931A JP 2005119931 A JP2005119931 A JP 2005119931A JP 2006303703 A JP2006303703 A JP 2006303703A
Authority
JP
Japan
Prior art keywords
network
processing
packet
statistical information
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005119931A
Other languages
Japanese (ja)
Inventor
Kazuo Masuhama
和生 増濱
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2005119931A priority Critical patent/JP2006303703A/en
Publication of JP2006303703A publication Critical patent/JP2006303703A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network relaying apparatus capable of accurately collecting statistic information such as a payload length of a processed packet even on the occurrence of a fault or an abnormity in the network relaying apparatus itself and providing highly accurate statistic information even when processing large capacity data of several Kbytes. <P>SOLUTION: The network relaying apparatus connected to a network, for applying relay processing to packets received from the network, and outputting the processed packets to the network includes: counters 51 for the number of pieces of transfer provided by kinds of relay processes and sequentially summating statistic information by kinds of the relay processes during packet processing; storage devices 62 capable of storing accumulated values by the various counters; and a control section 63 that can summate and update the accumulated values of the storage devices and the counts of the counters for the number of pieces of transfer in time division by the kinds of the relay processes. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、パケットを入力し、該パケットのヘッダ情報と装置設定情報に従い、複数の処理を行い、処理結果に従いパケットを出力するネットワーク中継装置、特に、パケット入力に対して多岐にわたる処理項目の統計情報データを高速、且つ正確に収集することが必要な高性能ルータ装置等のネットワーク中継装置に関するものである。   The present invention inputs a packet, performs a plurality of processes according to the header information and apparatus setting information of the packet, and outputs a packet according to the processing result. In particular, the statistics of various processing items with respect to the packet input The present invention relates to a network relay device such as a high-performance router device that needs to collect information data at high speed and accurately.

従来のネットワーク中継装置においては、収集すべき統計情報収集を入力パケットのヘッダ情報から抽出しており、例えばペイロード長等の各種統計情報を、パケット単位で加算し、記憶装置に格納している。(例えば、特許文献1を参照)   In the conventional network relay device, the collection of statistical information to be collected is extracted from the header information of the input packet. For example, various statistical information such as payload length is added in units of packets and stored in the storage device. (For example, see Patent Document 1)

特開平2003−318961号公報(図10、第2−3頁)Japanese Patent Laid-Open No. 2003-318961 (FIG. 10, page 2-3)

従来のネットワーク中継装置は以上のように構成されているので、ヘッダ情報のペイロード長と、中継装置内で中継処理されるパケット(以下、「処理パケット」と略記する)のペイロード長とが合致することが前提条件として成立する場合には、収集した統計情報が正しいと言えたが、例えば該中継装置内で故障や異常があった際には間違ったペイロード長を設定して出力する場合が生じ、必ずしもヘッダ情報と処理パケットのペイロード長とが一致しているとは言えなかった。また、パケット単位で統計情報を加算するため、ジャイアントパケット(TCP規格のMTU(Maximum Transmission Unit)を超える様なパケット。通常イーサネット(登録商標)(Ethernet(登録商標))の場合MTU=1518バイトで、ジャイアントパケットは9Kバイトのデータサイズのパケットを指す)等の数Kバイトのデータ処理をしている間、統計情報の微分値が正しくないため(従来は、ヘッダ情報を入力(受信)するとすぐに統計情報に加算するため、データ処理中にその統計情報を読むと、間違っていることになる)、例えばバッファオーバフロー処理等のように、統計情報値を使ってオーバーフローを検知する処理では、その統計情報の精度を求めるため、従来の統計情報を使えなかった。   Since the conventional network relay device is configured as described above, the payload length of the header information matches the payload length of the packet to be relayed in the relay device (hereinafter abbreviated as “process packet”). If the above is satisfied as a precondition, it can be said that the collected statistical information is correct. However, for example, when there is a failure or abnormality in the relay device, an incorrect payload length may be set and output. However, it cannot always be said that the header information and the payload length of the processing packet match. In addition, since statistical information is added in units of packets, a giant packet (a packet that exceeds the MTU (Maximum Transmission Unit) of the TCP standard. For ordinary Ethernet (registered trademark)), MTU = 1518 bytes Because the differential value of the statistical information is not correct during data processing of several kilobytes (such as a giant packet indicates a packet with a data size of 9 kilobytes) (conventionally, as soon as header information is input (received)) If you read the statistical information during data processing, it will be wrong.) In the process of detecting overflow using the statistical information value, such as buffer overflow processing, Conventional statistical information could not be used to determine the accuracy of statistical information.

この発明は前述のような従来の実情に鑑みてなされたものであり、ネットワーク中継装置内で故障や異常があった時でも、処理パケットのペイロード長等の統計情報を正確に収集できるとともに、一般的なイーサネット(登録商標)パケットのサイズ1518バイトを超える数Kバイトの大容量データ処理している間でも、高精度な統計情報を提供できるネットワーク中継装置を得ることを目的とする。   The present invention has been made in view of the above-described conventional situation, and even when there is a failure or abnormality in the network relay device, statistical information such as the payload length of the processing packet can be collected accurately, and in general An object of the present invention is to obtain a network relay device capable of providing highly accurate statistical information even during processing of a large amount of data of several kilobytes exceeding the size of a typical Ethernet (registered trademark) packet of 1518 bytes.

この発明に係るネットワーク中継装置は、ネットワークに接続され当該ネットワークから入力したパケットを中継処理して当該ネットワークに出力するネットワーク中継装置において、中継処理の種類毎に設けられ該パケット処理中に前記中継処理の種類毎に統計情報を逐次加算する転送数カウンタと、この記憶装置の累積値と前記転送数カウンタのカウンタ値とを中継処理の種類毎に時分割で加算して更新する制御部とを備えているものである。   The network relay device according to the present invention is a network relay device that is connected to a network and relays a packet input from the network and outputs the packet to the network. The network relay device is provided for each type of relay processing and performs the relay processing during the packet processing. A transfer number counter that sequentially adds statistical information for each type, and a control unit that adds and updates the cumulative value of the storage device and the counter value of the transfer number counter in a time division manner for each type of relay processing. It is what.

この発明は、ネットワークに接続され当該ネットワークから入力したパケットを中継処理して当該ネットワークに出力するネットワーク中継装置において、中継処理の種類毎に設けられ該パケット処理中に前記中継処理の種類毎に統計情報を逐次加算する転送数カウンタと、これら各種カウンタ毎に累積値を保持できる記憶装置と、この記憶装置の累積値と前記転送数カウンタのカウンタ値とを中継処理の種類毎に時分割で加算して更新する制御部とを備えているので、ネットワーク中継装置内で故障や異常があった時にも、大容量データのパケットを処理中でも正確なペイロード長等の統計情報を収集できる効果がある。   The present invention provides a network relay apparatus that is connected to a network and relays a packet input from the network and outputs the packet to the network. The network relay apparatus is provided for each type of relay processing, and performs statistics for each type of relay processing during the packet processing. A transfer number counter for sequentially adding information, a storage device capable of holding an accumulated value for each of these various counters, and an accumulated value of this storage device and a counter value of the transfer number counter are added in a time-sharing manner for each type of relay processing. Therefore, even when there is a failure or abnormality in the network relay device, it is possible to collect statistical information such as accurate payload length even when a large-capacity data packet is being processed.

実施の形態1.
以下この発明の実施の形態1を図1〜図5により説明する。図1はネットワーク中継装置の全体構成の一例を示す構成図、図2は図1におけるルーティング処理制御部21の特に統計情報処理部4の具体的構成例を示す図である。なお、各図中、同一符合は同一部分を示す。
Embodiment 1 FIG.
Embodiment 1 of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing an example of the overall configuration of the network relay device, and FIG. 2 is a diagram showing a specific configuration example of the statistical information processing unit 4 of the routing processing control unit 21 in FIG. In addition, in each figure, the same code | symbol shows the same part.

ネットワーク中継装置の全体構成の一例を示す図1において、ルーティング処理部2は、複数のネットワークインタフェース部8−1〜8−nとパケットスイッチ部1とに接続される。   In FIG. 1 showing an example of the overall configuration of a network relay device, a routing processing unit 2 is connected to a plurality of network interface units 8-1 to 8-n and a packet switch unit 1.

前記パケットスイッチ部1には、複数のルーティング処理部2が接続されるが、図1では、1つのルーティング処理部2を接続した場合を例として示したものである。また、このパケットスイッチ部1は、入力された通信パケットを設定情報に従い、特定のルーティング処理部に出力するものである。なお、通信データを中継できるネットワーク中継装置であるため、ルーティング処理部は複数となる。仮に、ネットワークインタフェースカード(NIC)の場合なら、一つのルーティング処理部しか必要はない。   Although a plurality of routing processing units 2 are connected to the packet switch unit 1, FIG. 1 shows an example in which one routing processing unit 2 is connected. The packet switch unit 1 outputs the input communication packet to a specific routing processing unit according to the setting information. Since the network relay device can relay communication data, there are a plurality of routing processing units. In the case of a network interface card (NIC), only one routing processing unit is necessary.

前記ルーティング処理部2は、パケット転送制御部20を介して前記ネットワークインタフェース部8−1〜8−nあるいは前記パケットスイッチ部1から受け取ったパケットのルーティング処理を行うルーティング処理制御部21と、このルーティング処理制御部21のルーティング処理結果に従いパケットのフォワーディング処理を行うパケット転送制御部20とで構成される。また、このルーティング処理部2は、前記ネットワークインタフェース部部8−1〜8−nと前記パケットスイッチ部1とを中継するインタフェース部であり、主にパケット受信時にデータチェックを行い、障害検出をしたり、統計情報を収集したりする。   The routing processing unit 2 includes a routing processing control unit 21 that performs routing processing of packets received from the network interface units 8-1 to 8-n or the packet switch unit 1 via the packet transfer control unit 20, and this routing. The packet transfer control unit 20 performs a packet forwarding process according to the routing process result of the process control unit 21. The routing processing unit 2 is an interface unit that relays between the network interface units 8-1 to 8-n and the packet switch unit 1, and mainly performs data check when a packet is received to detect a failure. Or collect statistical information.

前記ルーティング処理制御部21は、ルーティング処理を行うパケット処理部3と、ルーティング処理に関する統計情報データの収集を行う統計情報処理部4とからなっている。   The routing processing control unit 21 includes a packet processing unit 3 that performs routing processing and a statistical information processing unit 4 that collects statistical information data related to the routing processing.

プロセッサ部7は、統計情報を参照する場合に使用される制御プロセッサであり、ルーティング処理部の制御(ルーティング情報の設定)にも使われる。   The processor unit 7 is a control processor used when referring to the statistical information, and is also used for controlling the routing processing unit (setting routing information).

図1におけるルーティング処理制御部21の特に統計情報処理部4の具体的構成例を示す図2において、前記統計情報処理部4は、統計情報制御部5と統計情報保持部6とで構成されている。   In FIG. 2 showing a specific configuration example of the statistical information processing unit 4 of the routing processing control unit 21 in FIG. 1, the statistical information processing unit 4 is composed of a statistical information control unit 5 and a statistical information holding unit 6. Yes.

前記統計情報制御部5は、その内部に、統計情報制御部バッファ50と、前記パケット転送制御部20から入力されるパケット転送情報を基にパケット転送数をカウントする転送数カウンタ51とを持っている。   The statistical information control unit 5 includes therein a statistical information control unit buffer 50 and a transfer number counter 51 that counts the number of packet transfers based on packet transfer information input from the packet transfer control unit 20. Yes.

前記統計情報保持部6は、データ加算制御部60、カウンタ制御部61、記憶装置62、データ加算部63、および記憶装置書込み制御部64から構成されている。   The statistical information holding unit 6 includes a data addition control unit 60, a counter control unit 61, a storage device 62, a data addition unit 63, and a storage device write control unit 64.

前記ネットワークインタフェース部8−1〜8−nは、例えば100base-T等のネットワーク回線側から入力された通信データをパケット化するものであり、また、またパケット化された通信データをネットワーク回線側に出力するものである。   The network interface units 8-1 to 8-n packetize communication data input from the network line side such as 100base-T, and also send the packetized communication data to the network line side. Output.

次に動作について説明する。   Next, the operation will be described.

図1において、はじめにルーティング処理について説明する。   In FIG. 1, the routing process will be described first.

前記ルーティング処理部2では、(1)ネットワークの回線からの入力パケットを前記パケットスイッチ部1へ送信するケース、(2)前記パケットスイッチ部1からのパケットを前記回線へ送信するケース、の2通りの処理が行われる。   In the routing processing unit 2, there are two cases: (1) a case where an input packet from a network line is transmitted to the packet switch unit 1, and (2) a case where a packet from the packet switch unit 1 is transmitted to the line. Is performed.

前記ネットワークインタフェース部8−1から前記パケットスイッチ部1へ送信されるパケットは、前記ネットワークインタフェース部8−1において、接続するネットワーク回線からパケットを入力し、信号の物理変換などのレイヤ1処理、フレームの種別に従った終端処理などのレイヤ2処理、等の複数の処理(または単数の処理)を行った後、前記ルーティング処理部2の前記パケット転送制御部20へ送信される。   Packets transmitted from the network interface unit 8-1 to the packet switch unit 1 are input from the network line to be connected to the network interface unit 8-1, and are subjected to layer 1 processing such as physical signal conversion, frame After performing a plurality of processes (or a single process) such as a layer 2 process such as a termination process according to the type, the packet is transmitted to the packet transfer control unit 20 of the routing processing unit 2.

前記パケット転送制御部20は、受信したパケットを前記パケットバッファ部22へ一時記憶するとともに、どこから来たかを示す送信元アドレス情報等を含むパケット制御ヘッダ情報を、入力信号線300を通して前記ルーティング処理制御部21へ送信する。   The packet transfer control unit 20 temporarily stores the received packet in the packet buffer unit 22, and transmits packet control header information including source address information indicating where the packet came from through the input signal line 300. To the unit 21.

前記ルーティング処理制御部21では、前記パケット転送制御部20から受信したヘッダ情報に対して、送信元情報のチェック、ヘッダの正常性チェックなどを行い、送信元が前記回線の場合、宛先情報(Next Hopアドレスなど)を決定するルーティング検索と、不当あるいは問題のある発信元からのパケットの中継を阻止するために予め登録された送信元のパケットのみ通過あるいは廃棄する入力フィルタ検索を行い、それにより得られたパケット処理結果を信号線200を通して前記パケット転送制御部20に転送する。   The routing processing control unit 21 performs transmission source information check, header normality check, and the like on the header information received from the packet transfer control unit 20. If the transmission source is the line, destination information (Next The routing search that determines the hop address) and the input filter search that passes or discards only the packets of the sender registered in advance to prevent the relay of the packet from the illegal or problematic sender The packet processing result is transferred to the packet transfer control unit 20 through the signal line 200.

前記パケット転送制御部20は、前記パケット処理結果に従い、前記パケットバッファ部22に一時記憶したパケットを前記パケットスイッチ部1に転送あるいは廃棄を行う。   The packet transfer control unit 20 transfers or discards the packet temporarily stored in the packet buffer unit 22 to the packet switch unit 1 according to the packet processing result.

前記パケットスイッチ部1は、付加されているスイッチ制御情報(あるルーティング処理部の通信データを、どのルーティング処理部に転送するかを示す情報)に従い、パケットをルーティング処理部2へ転送する。   The packet switch unit 1 transfers the packet to the routing processing unit 2 in accordance with the added switch control information (information indicating to which routing processing unit the communication data of a certain routing processing unit is transferred).

前記パケットスイッチ部1から前記ネットワークインタフェース部8−1〜8−nへ送信されるパケットは、前記ルーティング処理制御部21において、物理アドレス(MACアドレス)を決定するARP検索と、不当あるいは問題のある宛先へのパケットの中継を阻止するために、予め登録された発信元のパケットのみを通過あるいは廃棄する出力フィルタ検索が行われる。   Packets transmitted from the packet switch unit 1 to the network interface units 8-1 to 8-n have an ARP search for determining a physical address (MAC address) in the routing processing control unit 21, and are invalid or problematic. In order to prevent the packet from being relayed to the destination, an output filter search for passing or discarding only the packet of the source registered in advance is performed.

前記処理結果に基づき宛先を決定し、宛先と付加情報などのパケット処理結果を前記パケット転送制御部20および前記統計情報処理部4に送信する。   The destination is determined based on the processing result, and the packet processing result such as the destination and additional information is transmitted to the packet transfer control unit 20 and the statistical information processing unit 4.

前記パケット転送制御部20は、パケット処理結果から、前記パケットバッファ部22に一時記憶したパケットを指定物理アドレスに対応するネットワークインタフェース部8−nに送信する。   The packet transfer control unit 20 transmits the packet temporarily stored in the packet buffer unit 22 from the packet processing result to the network interface unit 8-n corresponding to the designated physical address.

前記ネットワークインタフェース部8−nはレイヤ1、2処理を行い、パケットを前記回線に出力する。   The network interface unit 8-n performs layer 1 and 2 processing and outputs a packet to the line.

宛先が廃棄の場合、前記パケット転送制御部20は前記パケットバッファ部22に一時記憶したパケットを廃棄する。   When the destination is discard, the packet transfer control unit 20 discards the packet temporarily stored in the packet buffer unit 22.

一般的に前記パケット処理部3が出力する処理結果情報は、上記以外に多岐にわたる種類の処理が存在する。このためパケット毎に複数の多種多様な項目の統計情報処理を行う必要がある。   In general, the processing result information output from the packet processing unit 3 includes various types of processing other than the above. For this reason, it is necessary to perform statistical information processing of a plurality of various items for each packet.

以下、統計情報データの処理について、パケット毎の収集項目を1つにフォーカスして説明する。統計情報処理の事例については、図3〜図5を用いて説明する。   Hereinafter, processing of statistical information data will be described focusing on one collection item for each packet. Examples of statistical information processing will be described with reference to FIGS.

図3は、前記統計情報処理部4において、パケットの統計情報処理の流れを示したものであり、前記統計情報制御部5は、パケット処理結果−1(500−1)を入力し、収集すべき統計情報の判定を行うため、パケット処理結果−1から例えば回線宛パケットであることを認識し(以下、処理種別−1で示す)、回線宛ペイロード長の統計情報データの更新処理を実施すべく、処理種別−1(501−1)を転送数カウンタ51へ送信すると同時に、この処理種別−1に対応した実行信号510−1も前記パケット転送制御部20(図1参照)から前記転送数カウンタ51へ送信する。   FIG. 3 shows a flow of statistical information processing of packets in the statistical information processing unit 4, and the statistical information control unit 5 inputs and collects packet processing result-1 (500-1). In order to determine the statistic information, the packet processing result-1 recognizes that it is a packet addressed to a line, for example (hereinafter referred to as process type-1), and updates the statistical information data of the line-addressed payload length. Therefore, at the same time as transmitting the processing type-1 (501-1) to the transfer number counter 51, the execution signal 510-1 corresponding to the processing type-1 is also transmitted from the packet transfer control unit 20 (see FIG. 1). Transmit to the counter 51.

図4の上段は、前記処理種別−1(501−1)と前記実行信号510−1を受信した時の前記転送数カウンタ51の動作を示すタイミングチャートであり、前記実行信号510−1が実行中の時にカウンタ値−1が加算され、停止中の時に保持していることを示す。   The upper part of FIG. 4 is a timing chart showing the operation of the transfer number counter 51 when the processing type-1 (501-1) and the execution signal 510-1 are received, and the execution signal 510-1 is executed. A counter value of -1 is added when it is in the middle, indicating that it is held when it is stopped.

また、例えばスイッチ宛パケットである時(以下、処理種別−2で示す)、前記処理種別−1とは別に転送数カウンタ51を持つため、カウンタ値−2が並列処理できることを図4の下段で示す。   For example, when the packet is addressed to a switch (hereinafter referred to as process type-2), the counter value-2 can be processed in parallel in the lower part of FIG. Show.

以下同様の処理により、多種多様の処理種別1〜Nに対応するカウント値1〜Nが収集できるが、H/Wリソースが有限であるため、このままではカウント値がオーバフローしてしまう。   In the same manner, count values 1 to N corresponding to various processing types 1 to N can be collected. However, since the H / W resource is limited, the count value overflows as it is.

そこで前記統計情報保持部6が周期的にカウンタ値1〜Nを収集しクリアすることで、カウント値のオーバフローを防止するとともに、収集したカウント値1〜Nを、前記記憶装置62内のペイロード長1〜Nに積算し、処理種別1〜Nの統計情報を収集する。   Accordingly, the statistical information holding unit 6 periodically collects and clears the counter values 1 to N to prevent the count value from overflowing, and the collected count values 1 to N are stored in the payload length in the storage device 62. 1 to N and collect statistical information of processing types 1 to N.

図3の統計情報保持部6において、前記データ加算制御部60は全ての処理種別1〜Nに対応するカウント値1〜Nを周期的に読出すため、1〜Nのインクリメントデータを出力する(以下、処理種別1〜Nで示す)。なお、前記1〜Nのインクリメントデータとは、「処理種別1〜N」のアドレスである。カウント値1〜Nを読み出すため、時分割的に1〜Nのアドレス情報を出力する必要がある。   In the statistical information holding unit 6 of FIG. 3, the data addition control unit 60 periodically outputs count data 1 to N corresponding to all processing types 1 to N, and outputs 1 to N increment data ( Hereinafter, processing types 1 to N). The increment data of 1 to N are addresses of “processing types 1 to N”. In order to read the count values 1 to N, it is necessary to output the address information 1 to N in a time division manner.

処理種別1〜N(601)は前記カウンタ制御部61へ1〜Nの値で順次送信されるが、図3および図5では処理種別−Nの時で説明する。   The processing types 1 to N (601) are sequentially transmitted to the counter control unit 61 with the values 1 to N. In FIG. 3 and FIG.

前記カウンタ制御部61は、処理種別−N(610)を前記転送数カウンタ51へ送信すると同時に、前記記憶装置62にも送信する。   The counter control unit 61 transmits the processing type-N (610) to the transfer number counter 51 and at the same time to the storage device 62.

前記転送数カウンタ51は処理種別−Nに対応するカウンタ値−N(611)(図5では値12)を出力した直後、カウンタ値−Nを値0にクリアする。   The transfer number counter 51 clears the counter value -N to 0 immediately after outputting the counter value -N (611) (value 12 in FIG. 5) corresponding to the processing type -N.

前記カウンタ制御部61は、前記カウンタ値−N(611)を入力し、前記記憶装置62から旧ペイロード長−N(621)(図5では値100)が読み出されるタイミングで、カウンタ値−N(612)を出力する。   The counter control unit 61 inputs the counter value -N (611), and at the timing when the old payload length -N (621) (value 100 in FIG. 5) is read from the storage device 62, the counter value -N ( 612) is output.

前記データ加算部63は、前記旧ペイロード長−N(621)と前記カウンタ値−N(612)とを加算したものを最新ペイロード長−N(631)(図5では値112)として前記記憶装置書込み制御部64へ送信する。   The data adder 63 adds the old payload length −N (621) and the counter value −N (612) as the latest payload length −N (631) (the value 112 in FIG. 5). It transmits to the writing control part 64.

前記記憶装置書込み制御部64は、前記プロセッサ部7からの読出し、あるいは書込み要求がないときを見計らって(前記記憶装置62のバス競合がない時)、最新ペイロード長−N(641)を前記記憶装置62へ書き込む。   The storage device write control unit 64 estimates the latest payload length −N (641) when there is no read or write request from the processor unit 7 (when there is no bus contention in the storage device 62). Write to device 62.

このように多種多様の処理種別1〜Nに対応する実行信号1〜Nに従い、ヘッダ情報を使わずに統計情報をカウンタというH/Wで収集する方法を採用したので、ネットワーク中継装置内で故障や異常があった時にも、大容量データのパケットを処理中でも正確なペイロード長等の統計情報を収集できる。   In this way, according to the execution signals 1 to N corresponding to various processing types 1 to N, a method of collecting statistical information by H / W called a counter is used without using header information. Even when there is an abnormality, it is possible to collect statistical information such as accurate payload length even while processing a large amount of data packets.

この発明の実施の形態1は、前述のように、パケットを入力し、該パケットについて複数または単数の処理を行い、パケットを出力するネットワーク中継処理装置において、入力されたパケットに関する統計情報データを収集する統計情報収集方法であって、入力されたパケットに関して収集した統計情報データを記録または更新する際に、回線やスイッチ等の宛先単位、廃棄や通過の処理結果単位、等のように種類毎に、該パケット処理中に統計情報を逐次加算する転送数カウンタと、この各種カウンタ毎に累積値を保持できる記憶装置手段と、この記憶装置の累積値と転送数カウンタの微分値(カウンタ値1〜Nのことであり、端的にはカウンタ値)を中継処理の種類毎に時分割で加算して更新できる制御部を備えていることにより、ネットワーク中継装置内で故障や異常があった時にも、大容量データのパケットを処理中でも正確なペイロード長等の統計情報を収集できることを特徴とするネットワーク中継処理装置であり、また、ネットワークに接続され当該ネットワークから入力したパケットを中継処理して当該ネットワークに出力するネットワーク中継装置において、中継処理の種類毎に設けられ該パケット処理中に前記中継処理の種類毎に統計情報を逐次加算する転送数カウンタと、これら各種カウンタ毎に累積値を保持できる記憶装置と、この記憶装置の累積値と前記転送数カウンタの微分値とを時分割に加算して更新できる制御部とを備え、ネットワーク中継装置内で故障や異常があった時にも、大容量データのパケットを処理中でも正確なペイロード長等の統計情報を収集できることを特徴とするネットワーク中継装置である。   In the first embodiment of the present invention, as described above, a packet is input, a plurality or a single process is performed on the packet, and statistical information data on the input packet is collected in the network relay processing device that outputs the packet. This is a statistical information collection method, and when recording or updating the statistical information data collected for the input packet, it is classified by type such as a destination unit such as a line or a switch, a processing result unit of discard or passage, etc. , A transfer number counter for sequentially adding statistical information during the packet processing, a storage device means capable of holding a cumulative value for each of the various counters, a cumulative value of the storage device and a differential value of the transfer number counter (counter values 1 to N, which is simply a counter value) by adding a time division for each type of relay processing and updating it. A network relay processing device that is capable of collecting statistical information such as accurate payload length even when a large amount of data packets is being processed even when there is a failure or abnormality in the network relay device. In a network relay device that relays a packet input from the network and outputs the packet to the network, a transfer number counter that is provided for each type of relay processing and sequentially adds statistical information for each type of relay processing during the packet processing A storage device that can hold cumulative values for each of these various counters, and a control unit that can update the cumulative values of the storage devices and the differential value of the transfer number counter in a time-sharing manner. Even if there is a failure or abnormality, the correct payload length, etc. can be A network relay apparatus characterized by collect information.

なお、例えば、IEEEの802.3のワークグループによるGMII(Giga bit Medium Independent Interface)規格のRX_ENなどのイネーブル信号と、MACアドレスやFCSエラーなどのヘッダ情報やエラー情報とを基に、前記カウンタがカウントすることによりペイロード長を計算できる。   For example, the counter is based on an enable signal such as RX_EN of GMII (Gigabit Medium Independent Interface) standard by IEEE 802.3 work group and header information and error information such as MAC address and FCS error. Payload length can be calculated by counting.

実施の形態2.
以下、この発明の実施の形態2を、図6および図7により説明する。図6は図3の統計情報処理部についてプロセッサからの読出し/書込み要求とのバス競合を回避する具体的な実施例を示す図、図7はプロセッサからの読出し/書込み要求とのバス競合を回避する具体的な動作例を示す図である。
Embodiment 2. FIG.
The second embodiment of the present invention will be described below with reference to FIGS. FIG. 6 is a diagram showing a specific example of avoiding bus contention with a read / write request from the processor in the statistical information processing unit of FIG. 3, and FIG. 7 avoids bus contention with a read / write request from the processor. It is a figure which shows the example of a specific operation to do.

前述のこの発明の実施の形態1では、前記記憶装置書込み制御部64が前記プロセッサ部7からの読出し、あるいは書込み要求がないときを見計らって(前記記憶装置62のバス競合がない時)、前記最新ペイロード長−N(641)を前記記憶装置62へ書き込む場合について述べたが、この発明の実施の形態2では、図6に示すように、スケジューリング部66を設け、前記データ加算制御部60が前記記憶装置62を読み出す加算読出し許可661、前記記憶装置書込み制御部64が前記記憶装置62に書き込む加算書込み許可662、前記プロセッサ部7が前記記憶装置62を読み出すプロセッサ読出し許可663、前記プロセッサ部7が前記記憶装置62を書き込むプロセッサ書込み許可664、をそれぞれ排他的にΔT時間出力するようにしてある。   In the first embodiment of the present invention described above, when the storage device write control unit 64 has no read or write request from the processor unit 7 (when there is no bus contention of the storage device 62), Although the case where the latest payload length −N (641) is written to the storage device 62 has been described, in the second embodiment of the present invention, as shown in FIG. 6, a scheduling unit 66 is provided, and the data addition control unit 60 Addition read permission 661 for reading the storage device 62, Addition write permission 662 for the storage device write control unit 64 to write to the storage device 62, Processor read permission 663 for the processor unit 7 to read the storage device 62, and the processor unit 7 Outputs the processor write permission 664 for writing the storage device 62 exclusively for ΔT time. It is like that.

従って、前記記憶装置62への該4つの処理がΔ4Tという一定周期で実行され、統計情報の更新周期を一定にし、プロセッサ処理による統計情報処理の遅延のバラツキを抑える。   Accordingly, the four processes to the storage device 62 are executed at a constant cycle of Δ4T, the statistical information update cycle is made constant, and the variation in the delay of statistical information processing due to the processor processing is suppressed.

このスケジューリング処理を実現するため、前記プロセッサ部7から前記記憶装置62へ送信する読み出し、あるいは書込み要求を入力し、前記プロセッサ読出し許可663と前記プロセッサ書込み許可664に従い制御するプロセッサ制御部67を設けた。   In order to realize this scheduling processing, a processor control unit 67 is provided which inputs a read or write request to be transmitted from the processor unit 7 to the storage device 62 and controls according to the processor read permission 663 and the processor write permission 664. .

このプロセッサ制御部67は、前記記憶装置62からの読出しデータ672を元に、適当なタイミングで読出しデータ701を前記プロセッサ部7に送信する。   The processor control unit 67 transmits the read data 701 to the processor unit 7 at an appropriate timing based on the read data 672 from the storage device 62.

図7は前記プロセッサ部7が処理種別-Nを読出した後、値0を書き込む場合について説明する図で、その上段の処理種別−Nのペイロード長−Nを収集するまでの処理は、前述の図5と同じになるが、前記スケジューリング部66が出力する前記許可信号661〜664に従うため、前記プロセッサ部7が読み出すデータは最大Δ4T時間遅れて読み出されるが、一つの処理種別に要する統計情報処理時間が、必ずΔ4T時間で処理されるため、プロセッサ処理や統計情報収集による遅延時間が一定になる。   FIG. 7 is a diagram for explaining the case where the processor unit 7 reads the processing type-N and then writes the value 0. The processing until the payload type-N of the upper processing type-N is collected is described above. Although the same as FIG. 5, the data read by the processor unit 7 is read with a delay of a maximum Δ4T time in accordance with the permission signals 661 to 664 output from the scheduling unit 66, but statistical information processing required for one processing type Since time is always processed in Δ4T time, the delay time due to processor processing and statistical information collection is constant.

また、上述は前記プロセッサ部7からの読出しの場合を説明したが、前記プロセッサ部7からの書込みの場合も同様に最大Δ4T時間遅れるが、前記転送数カウンタ51と前記記憶装置62の加算した最新ペイロード長の書込みタイミングと重複することがなく、より安全なH/W動作を実現できる。   In the above description, the case of reading from the processor unit 7 has been described. Similarly, the case of writing from the processor unit 7 is also delayed by a maximum Δ4T time, but the latest number added by the transfer number counter 51 and the storage device 62 is added. A safer H / W operation can be realized without overlapping the payload length write timing.

なお、前記プロセッサ部7からの書込みと、前記転送数カウンタ51と前記記憶装置62の加算した最新ペイロード長の書込みとが重複すると、書込み後のデータは保証されない。図7に示すように、前記プロセッサ部7からの書込みと、前記転送数カウンタ51と前記記憶装置62の加算した最新ペイロード長の書込みとが重複しなければ、書込み後のデータは正しく、保証される。   If the writing from the processor unit 7 and the writing of the latest payload length added by the transfer number counter 51 and the storage device 62 overlap, the data after writing is not guaranteed. As shown in FIG. 7, if the writing from the processor unit 7 and the writing of the latest payload length added by the transfer number counter 51 and the storage device 62 do not overlap, the data after writing is correct and guaranteed. The

この発明の実施の形態2は、前述のように、記憶装置の累積値と転送数カウンタの微分値を加算して、その更新した統計情報を記憶装置に書込むタイミングと、プロセッサが記憶装置の統計情報を読み出し、あるいは書込むタイミングをスケジューリング処理で排他的にすることで、統計情報の更新周期を一定にし、非定期に発生するプロセッサ処理によるパケット処理時間や統計情報収集時間のバラツキをなくすことを特徴とするネットワーク中継装置である。   As described above, the second embodiment of the present invention adds the accumulated value of the storage device and the differential value of the transfer number counter and writes the updated statistical information to the storage device. By making the timing of reading or writing statistical information exclusive by scheduling processing, the statistical information update cycle is made constant, and variations in packet processing time and statistical information collection time due to processor processing that occurs irregularly are eliminated. Is a network relay device.

実施の形態3.
以下、この発明の実施の形態3を、プロセッサからの読出し時に自動的に記憶装置をクリアする具体的な動作例を示す図8により説明する。
Embodiment 3 FIG.
The third embodiment of the present invention will be described below with reference to FIG. 8 showing a specific operation example for automatically clearing the storage device when reading from the processor.

前述のこの発明の実施の形態2では、前記プロセッサ部7が前記記憶装置62の処理種別-Nのペイロード長−Nを読出した後、値0を書き込む場合について述べたが、この発明の実施の形態3では、図8に示すように、前記プロセッサ部7が前記記憶装置62を読み出すプロセッサ読出し許可663に従い、最新ペイロード長(図8では112)を読出した後、次のプロセッサ書込み許可664により、プロセッサ制御部67が自動的に値0を書込み、処理種別−Nのペイロード長−Nをクリアすることで、プロセッサが行う書込み処理を省略し、プロセッサ処理を軽減することができる。   In the second embodiment of the present invention described above, the case where the processor unit 7 writes the value 0 after reading the payload length -N of the processing type-N of the storage device 62 has been described. In mode 3, as shown in FIG. 8, after the processor unit 7 reads the latest payload length (112 in FIG. 8) according to the processor read permission 663 for reading the storage device 62, the next processor write permission 664 The processor control unit 67 automatically writes the value 0 and clears the payload length-N of the processing type-N, so that the writing process performed by the processor can be omitted and the processor processing can be reduced.

この発明の実施の形態3は、前述のように、プロセッサが記憶装置の統計情報を読み出した直後に、記憶装置内の該統計情報をH/Wが自動的にクリアすることで、プロセッサが行うクリア処理を省略し、プロセッサ処理を軽減することを特徴とするネットワーク中継装置である。   In the third embodiment of the present invention, as described above, immediately after the processor reads the statistical information of the storage device, the H / W automatically clears the statistical information in the storage device. The network relay device is characterized in that clear processing is omitted and processor processing is reduced.

実施の形態4.
以下、この発明の実施の形態4を、図3の統計情報処理制御部について入力パケットのヘッダ情報と比較判定する具体的な実施例を示す図9により説明する。
Embodiment 4 FIG.
The fourth embodiment of the present invention will be described below with reference to FIG. 9 showing a specific example in which the statistical information processing control unit of FIG. 3 is compared with the header information of the input packet.

前述のこの発明の実施の形態1では、前記処理種別−1に対応した前記実行信号510−1と前記転送数カウンタ51とを使用して、統計情報を逐次計算する方法について述べたが、この発明の実施の形態4では、図9に示すように、入力パケットのヘッダ情報にペイロード長が登録されている場合、前記パケット処理部3が該ヘッダ情報のペイロード長を前記パケット処理結果−1(500−1)で前記統計情報制御部バッファ50に送信し、前記統計情報制御部バッファ50が処理種別−1(502)を現転送数カウンタ52に送信する。   In the first embodiment of the present invention described above, the method of sequentially calculating statistical information using the execution signal 510-1 corresponding to the processing type-1 and the transfer number counter 51 has been described. In Embodiment 4 of the present invention, as shown in FIG. 9, when the payload length is registered in the header information of the input packet, the packet processing unit 3 sets the payload length of the header information to the packet processing result −1 ( 500-1), the statistical information control unit buffer 50 transmits the processing type-1 (502) to the current transfer number counter 52.

前記現転送数カウンタ52は、処理種別−1(502)と、前記処理種別-1の前記実行信号510−1に従い、前記転送数カウンタ51と同様の処理を用いて、該入力パケットのペイロード長を計算し、その計算した結果であるカウンタ値−1(680)をペイロード長判定部68に送信する。   The current transfer number counter 52 uses the same processing as the transfer number counter 51 according to the processing type-1 (502) and the execution signal 510-1 of the processing type-1, and uses the payload length of the input packet. And the counter value-1 (680), which is the result of the calculation, is transmitted to the payload length determination unit 68.

このペイロード長判定部68は、前記カウンタ値−1(680)と、前記統計情報制御部バッファ50が出力する現ペイロード長−1(503)とを比較し、不一致が発生した際に異常、或いは故障であることを認識できる冗長回路を持たせることで、統計情報の信頼性を向上するとともに、より安全なネットワーク中継装置を実現できる。   The payload length determination unit 68 compares the counter value-1 (680) with the current payload length-1 (503) output from the statistical information control unit buffer 50, and when a mismatch occurs, By providing a redundant circuit that can recognize a failure, it is possible to improve the reliability of statistical information and to realize a safer network relay device.

この発明の実施の形態4は、前述のように、入力パケットのヘッダ情報にペイロード長が登録されている場合、該パケットの転送処理の開始から終了までの転送数カウンタを新たに設け、転送終了時にヘッダ情報と転送数カウンタのペイロード長を比較するペイロード長判定部を持つことで、統計情報の信頼性を向上し、装置内の故障や異常状態を認識できることを特徴とするネットワーク中継装置である。   In the fourth embodiment of the present invention, as described above, when the payload length is registered in the header information of the input packet, a transfer number counter from the start to the end of the packet transfer process is newly provided to complete the transfer. A network relay device characterized by having a payload length determination unit that sometimes compares the header information and the payload length of the transfer number counter, thereby improving the reliability of statistical information and recognizing failures and abnormal states in the device .

実施の形態5.
以下、この発明の実施の形態5を、図2のルーティング処理制御部についてパケット処理部を故障検出部(異常検出部)に置き換えた具体的な構成例を示す図10により説明する。
Embodiment 5. FIG.
Embodiment 5 of the present invention will be described below with reference to FIG. 10 showing a specific configuration example in which the packet processing unit is replaced with a failure detection unit (abnormality detection unit) in the routing processing control unit of FIG.

前述のこの発明の実施の形態1では、例えば回線宛ペイロード長等の統計情報データを収集する方法について述べたが、この発明の実施の形態5では、図10に示すように、前述のこの発明の実施の形態1における前記パケット転送制御部20と前記パケット処理部3(図1、図2参照)を、ネットワーク中継装置の故障や異常を検出する故障検出部(or異常検出部)8に置き換えることで、例えばバッファオーバフロー等の異常種別を示す処理結果800と、バッファオーバフロー等のエラー等の異常状態を示す異常中信号520とを、前述のこの発明の実施の形態1における前記統計情報処理部4を流用した統計情報処理部4に入力させることで、故障解析等に有用な統計情報を得ることができる。また、この収集方法を流用すれば、各種の統計情報を収集できる。   In the first embodiment of the present invention described above, for example, a method of collecting statistical information data such as a line-addressed payload length has been described. However, in the fifth embodiment of the present invention, as shown in FIG. The packet transfer control unit 20 and the packet processing unit 3 (see FIGS. 1 and 2) in the first embodiment are replaced with a failure detection unit (or abnormality detection unit) 8 that detects a failure or abnormality of the network relay device. Thus, for example, the processing result 800 indicating an abnormal type such as a buffer overflow and the abnormal signal 520 indicating an abnormal state such as an error such as a buffer overflow are used as the statistical information processing unit in the first embodiment of the present invention described above. By making the statistical information processing unit 4 that uses 4 input, statistical information useful for failure analysis or the like can be obtained. Moreover, if this collection method is diverted, various statistical information can be collected.

この発明の実施の形態5は、前述のように、ペイロード長などの入力パケット以外の統計情報でも、例えば、中継装置内の故障や異常状態を示す信号を生成し、この信号を、前述のこの発明の実施の形態1で示す転送数カウンタから記憶装置までの統計情報収集方法に適用することで、中継装置内の故障解析時に有用な情報を蓄積できるとともに、この収集方法を流用すれば、あらゆる統計情報を収集できるネットワーク中継装置が得られる。   In the fifth embodiment of the present invention, as described above, even with statistical information other than the input packet such as the payload length, for example, a signal indicating a failure or abnormal state in the relay device is generated, By applying to the statistical information collection method from the transfer number counter to the storage device shown in the first embodiment of the invention, useful information can be accumulated at the time of failure analysis in the relay device. A network relay device capable of collecting statistical information is obtained.

また、この発明の実施の形態5は、前述のように、ネットワークに接続され当該ネットワークから入力したパケットを中継処理して当該ネットワークに出力するネットワーク中継装置において、中継装置内の各種故障や異常状態を示す信号を生成し、前記故障や異常状態の種類毎に前記生成信号を逐次加算する転送数カウンタと、これら各種カウンタ毎に累積値を保持できる記憶装置と、この記憶装置の累積値と前記転送数カウンタのカウンタ値とを前記故障や異常状態の種類毎に時分割で加算して更新する制御部とを備えていることを特徴とするネットワーク中継装置である。   Further, as described above, the fifth embodiment of the present invention is a network relay device that is connected to a network and relays a packet input from the network and outputs the packet to the network. A transfer number counter that sequentially adds the generated signals for each type of the failure or abnormal state, a storage device that can hold a cumulative value for each of these various counters, a cumulative value of the storage device, and the A network relay device comprising: a control unit that adds and updates a counter value of a transfer number counter in a time division manner for each type of failure or abnormal state.

また、この発明の実施の形態5を、前述のこの発明の実施の形態1〜4の少なくとも一と組み合わせれば、各種の統計情報を収集できるネットワーク中継装置が得られる。   Further, when the fifth embodiment of the present invention is combined with at least one of the first to fourth embodiments of the present invention described above, a network relay device capable of collecting various statistical information can be obtained.

前述のように、この発明の実施の形態1〜5によれば、入力パケットのヘッダ情報をパケット単位で加算する方法から、該処理パケットのペイロード長を転送数カウンタで逐次加算するように構成したので、ネットワーク中継装置内で故障や異常があった時にも、大容量データのパケットを処理中でも正確なペイロード長等の統計情報を収集できる。この構成により、入力パケットのヘッダ情報にペイロード長が登録されていない場合でも、統計情報を収集できる。また、入力パケットのヘッダ情報にペイロード長が登録されている場合は、収集したペイロード長と入力パケットのヘッダ情報のペイロード長を比較することで、統計情報の信頼性を向上できるとともに、中継装置内の故障や異常状態を認識できる。合わせて、プロセッサ部からの読出しがあった際、記憶装置の統計情報をH/Wで自動的にクリアすることにより、プロセッサ部のクリア処理を省略できる。そして、例えば中継装置内の故障や異常情報などのペイロード長以外の統計情報でも、加算する時間帯を示す信号を生成し、前述の方法を流用することで簡単に情報収集できるため、中継装置内の故障解析時に有用な情報を蓄積できる。   As described above, according to the first to fifth embodiments of the present invention, the payload length of the processing packet is sequentially added by the transfer number counter from the method of adding the header information of the input packet in units of packets. Therefore, even when there is a failure or abnormality in the network relay device, it is possible to collect statistical information such as accurate payload length even while processing a large amount of data packets. With this configuration, statistical information can be collected even when the payload length is not registered in the header information of the input packet. In addition, when the payload length is registered in the header information of the input packet, the reliability of the statistical information can be improved by comparing the collected payload length with the payload length of the header information of the input packet. Can recognize malfunctions and abnormal conditions. In addition, when the processor unit reads data, the processor unit clear process can be omitted by automatically clearing the statistical information of the storage device by H / W. And, for example, even in statistical information other than payload length such as failure or abnormality information in the relay device, a signal indicating the time zone to be added can be generated and information can be easily collected by using the above method. Useful information can be accumulated during failure analysis.

この発明の実施の形態1を示す図で、ネットワーク中継装置の全体構成の一例を示す構成図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a figure which shows Embodiment 1 of this invention, and is a block diagram which shows an example of the whole structure of a network relay apparatus. この発明の実施の形態1を示す図で、図1におけるルーティング処理制御部21の特に統計情報処理部4の具体的構成例を示すである。FIG. 2 is a diagram illustrating the first embodiment of the present invention, and illustrates a specific configuration example of the statistical information processing unit 4 of the routing processing control unit 21 in FIG. この発明の実施の形態1を示す図で、統計情報の処理について具体的な実施例を示す図である。It is a figure which shows Embodiment 1 of this invention, and is a figure which shows a specific Example about the process of statistical information. この発明の実施の形態1を示す図で、転送数カウンタの処理について具体的な動作例を示す図である。It is a figure which shows Embodiment 1 of this invention, and is a figure which shows the specific example of an operation | movement about the process of a transfer number counter. この発明の実施の形態1を示す図で、記憶装置の更新処理について具体的な動作例を示す図である。It is a figure which shows Embodiment 1 of this invention, and is a figure which shows the specific operation example about the update process of a memory | storage device. この発明の実施の形態2を示す図で、図3の統計情報処理部についてプロセッサからの読出し/書込み要求とのバス競合を回避する具体的な実施例を示す図である。It is a figure which shows Embodiment 2 of this invention, and is a figure which shows the specific Example which avoids bus contention with the read / write request from a processor about the statistical information processing part of FIG. この発明の実施の形態2を示す図で、プロセッサからの読出し/書込み要求とのバス競合を回避する具体的な動作例を示す図である。It is a figure which shows Embodiment 2 of this invention, and is a figure which shows the specific example of operation which avoids bus contention with the read / write request from a processor. この発明の実施の形態3を示す図で、プロセッサからの読出し時に自動的に記憶装置をクリアする具体的な動作例を示す図である。It is a figure which shows Embodiment 3 of this invention, and is a figure which shows the specific example of an operation | movement which clears a memory | storage device automatically at the time of the reading from a processor. この発明の実施の形態4を示す図で、図3の統計情報処理制御部について入力パケットのヘッダ情報と比較判定する具体的な実施例を示す図である。It is a figure which shows Embodiment 4 of this invention, and is a figure which shows the specific Example compared with the header information of an input packet about the statistical information processing control part of FIG. この発明の実施の形態5を示す図で、図2のルーティング処理制御部についてパケット処理部を故障検出部(異常検出部)に置き換えた具体的な構成例を示す図である。It is a figure which shows Embodiment 5 of this invention, and is a figure which shows the specific structural example which replaced the packet process part with the failure detection part (abnormality detection part) about the routing process control part of FIG.

符号の説明Explanation of symbols

1 パケットスイッチ部、
2 ルーティング処理部、
3 パケット処理部、
4 統計情報処理部、
5 統計情報制御部、
6 統計情報保持部、
7 プロセッサ部、
8 ネットワークインタフェース部、
9 故障検出部 or 異常検出部、
20 パケット転送制御部、
21 ルーティング処理制御部、
22 パケットバッファ、
30 パケット処理部バッファ、
50 統計情報制御部バッファ、
51 転送数カウンタ、
60 データ加算制御部、
61 カウンタ制御部、
62 記憶装置、
63 データ加算部、
64 記憶装置書込み制御部、
66 スケジューリング部、
67 プロセッサ制御部、
68 ペイロード長判定部。
1 Packet switch part,
2 routing processing part,
3 Packet processing part
4 statistical information processing department,
5 statistical information control unit,
6 statistical information holding unit,
7 processor section,
8 Network interface part,
9 Failure detection unit or abnormality detection unit,
20 packet transfer control unit,
21 routing processing control unit,
22 packet buffer,
30 packet processor buffer,
50 statistical information control unit buffer,
51 Transfer counter,
60 data addition control unit,
61 Counter control unit,
62 storage devices,
63 Data adder,
64 storage device write controller,
66 scheduling section,
67 processor controller,
68 Payload length determination unit.

Claims (5)

ネットワークに接続され当該ネットワークから入力したパケットを中継処理して当該ネットワークに出力するネットワーク中継装置において、中継処理の種類毎に設けられ該パケット処理中に前記中継処理の種類毎に統計情報を逐次加算する転送数カウンタと、これら各種カウンタ毎に累積値を保持できる記憶装置と、この記憶装置の累積値と前記転送数カウンタのカウンタ値とを中継処理の種類毎に時分割で加算して更新する制御部とを備えていることを特徴とするネットワーク中継装置。   In a network relay device that is connected to a network and relays packets input from the network and outputs the packets to the network, statistical information is sequentially added for each type of relay processing provided for each type of relay processing. The number of transfer counters to be stored, a storage device capable of holding cumulative values for each of these various counters, and the cumulative value of this storage device and the counter value of the transfer number counter are added in a time-sharing manner for each type of relay processing and updated. A network relay device comprising a control unit. 請求項1に記載のネットワーク中継装置において、前記記憶装置の累積値と前記転送数カウンタのカウンタ値とを加算して更新した統計情報を前記記憶装置に書込むタイミングと、前記プロセッサが前記記憶装置の統計情報を読み出しあるいは書込むタイミングとを、スケジューリング処理で排他的にすることを特徴とするネットワーク中継装置。   2. The network relay device according to claim 1, wherein the statistical information updated by adding the accumulated value of the storage device and the counter value of the transfer number counter is written to the storage device; A network relay device characterized in that the timing for reading or writing the statistical information is made exclusive by scheduling processing. 請求項2に記載のネットワーク中継装置において、前記プロセッサが前記記憶装置の統計情報を読み出した直後に、前記記憶装置内の該統計情報をH/Wが自動的にクリアすることを特徴とするネットワーク中継装置。   3. The network relay device according to claim 2, wherein the H / W automatically clears the statistical information in the storage device immediately after the processor reads the statistical information of the storage device. Relay device. 請求項1に記載のネットワーク中継装置において、入力パケットのヘッダ情報にペイロード長が登録されている場合、該パケットの転送処理の開始から終了までの転送数カウンタを更に設け、転送終了時にヘッダ情報と転送数カウンタのペイロード長とを比較するペイロード長判定部を設けたことを特徴とするネットワーク中継装置。   In the network relay device according to claim 1, when the payload length is registered in the header information of the input packet, a transfer number counter from the start to the end of transfer processing of the packet is further provided, A network relay device comprising a payload length determination unit that compares a payload length of a transfer number counter. ネットワークに接続され当該ネットワークから入力したパケットを中継処理して当該ネットワークに出力するネットワーク中継装置において、中継装置内の各種故障や異常状態を示す信号を生成し、前記故障や異常状態の種類毎に前記生成信号を逐次加算する転送数カウンタと、これら各種カウンタ毎に累積値を保持できる記憶装置と、この記憶装置の累積値と前記転送数カウンタのカウンタ値とを中継処理の種類毎に時分割で加算して更新する制御部とを備えていることを特徴とするネットワーク中継装置。   In a network relay device that is connected to a network and relays a packet input from the network and outputs the packet to the network, a signal indicating various faults and abnormal states in the relay device is generated, and for each type of the fault or abnormal state A transfer number counter that sequentially adds the generated signals, a storage device that can hold an accumulated value for each of the various counters, and a time division of the accumulated value of the storage device and the counter value of the transfer number counter for each type of relay processing A network relay device comprising: a control unit that adds and updates in step (1).
JP2005119931A 2005-04-18 2005-04-18 Network relaying apparatus Pending JP2006303703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005119931A JP2006303703A (en) 2005-04-18 2005-04-18 Network relaying apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005119931A JP2006303703A (en) 2005-04-18 2005-04-18 Network relaying apparatus

Publications (1)

Publication Number Publication Date
JP2006303703A true JP2006303703A (en) 2006-11-02

Family

ID=37471501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005119931A Pending JP2006303703A (en) 2005-04-18 2005-04-18 Network relaying apparatus

Country Status (1)

Country Link
JP (1) JP2006303703A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012199707A (en) * 2011-03-18 2012-10-18 Fujitsu Ltd Transmission device and information acquisition control method
CN103312033A (en) * 2012-03-06 2013-09-18 索尼公司 Distribution abnormality detecting device, power transmission and reception control device
JP2015089014A (en) * 2013-10-31 2015-05-07 富士通株式会社 Analysis program, analysis method and analyzer
JP2016515367A (en) * 2013-03-13 2016-05-26 クゥアルコム・インコーポレイテッドQualcomm Incorporated Network element with distributed flow table

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0330547A (en) * 1989-06-27 1991-02-08 Nec Corp Packet flow measuring circuit
JPH10136355A (en) * 1996-05-10 1998-05-22 General Instr Corp Of Delaware Error detection and recovery for high speed isochronous data in mpeg-2 data stream
JP2003318961A (en) * 2002-04-22 2003-11-07 Hitachi Ltd Network repeater and method for collecting statistic information therefor
JP2004032714A (en) * 2002-04-30 2004-01-29 Nippon Telegr & Teleph Corp <Ntt> Apparatus and method for measuring communication quality
WO2004112250A1 (en) * 2003-06-10 2004-12-23 Fujitsu Limited Statistical counter device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0330547A (en) * 1989-06-27 1991-02-08 Nec Corp Packet flow measuring circuit
JPH10136355A (en) * 1996-05-10 1998-05-22 General Instr Corp Of Delaware Error detection and recovery for high speed isochronous data in mpeg-2 data stream
JP2003318961A (en) * 2002-04-22 2003-11-07 Hitachi Ltd Network repeater and method for collecting statistic information therefor
JP2004032714A (en) * 2002-04-30 2004-01-29 Nippon Telegr & Teleph Corp <Ntt> Apparatus and method for measuring communication quality
WO2004112250A1 (en) * 2003-06-10 2004-12-23 Fujitsu Limited Statistical counter device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012199707A (en) * 2011-03-18 2012-10-18 Fujitsu Ltd Transmission device and information acquisition control method
CN103312033A (en) * 2012-03-06 2013-09-18 索尼公司 Distribution abnormality detecting device, power transmission and reception control device
JP2013187946A (en) * 2012-03-06 2013-09-19 Sony Corp Distribution abnormality detecting device, power transmission and reception control device, power supply control device, and packet structure transmission control device
JP2016515367A (en) * 2013-03-13 2016-05-26 クゥアルコム・インコーポレイテッドQualcomm Incorporated Network element with distributed flow table
JP2015089014A (en) * 2013-10-31 2015-05-07 富士通株式会社 Analysis program, analysis method and analyzer

Similar Documents

Publication Publication Date Title
US9825691B2 (en) Relaying frames
US9253062B2 (en) Byte by byte received data integrity check
US20070115824A1 (en) Selective flow control
EP3771981A1 (en) Log output method, log output device, and program
CN112119613A (en) Forwarding element data plane with flow size detector
JP2009522867A (en) Network traffic monitoring apparatus and method
CN107896141B (en) FC-AE-ASM network data redundancy method
JP2006303703A (en) Network relaying apparatus
JP4902440B2 (en) Node device and failure detection method
JP5889218B2 (en) Data transfer apparatus and data transfer method
US7559006B2 (en) Method and system for incorporating non-redundant components in a redundant system in a communications network
US20170064489A1 (en) Network system, method for determining communication quality, and analysis apparatus
US7649906B2 (en) Method of reducing buffer usage by detecting missing fragments and idle links for multilink protocols and devices incorporating same
CN111865811B (en) Data processing method, device, equipment and medium
US8614965B2 (en) Packet loss frequency measuring system, packet loss frequency measuring method, and program
US10805206B1 (en) Method for rerouting traffic in software defined networking network and switch thereof
JP5887324B2 (en) Relay device and relay method
JP4742013B2 (en) Data transfer apparatus and data transfer method
US20050163051A1 (en) Data transfer device
US20170288994A1 (en) Packet transfer device and method for setting counter
JP2007215142A (en) Frame buffer monitoring method and apparatus
WO2019025835A1 (en) Crc error location detection in automatic cut-through and store-and-forward switching
US20150180775A1 (en) Communication System, Control Apparatus, Communication Method, and Program
CN111614574A (en) Communication method, device and system
US20230262071A1 (en) Method for monitoring data traffic between control devices of a motor vehicle and vehicle equipped accordingly

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071018

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100416

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100803