JP4622490B2 - Data transfer device - Google Patents

Data transfer device Download PDF

Info

Publication number
JP4622490B2
JP4622490B2 JP2004349265A JP2004349265A JP4622490B2 JP 4622490 B2 JP4622490 B2 JP 4622490B2 JP 2004349265 A JP2004349265 A JP 2004349265A JP 2004349265 A JP2004349265 A JP 2004349265A JP 4622490 B2 JP4622490 B2 JP 4622490B2
Authority
JP
Japan
Prior art keywords
search
control
physical
flow control
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004349265A
Other languages
Japanese (ja)
Other versions
JP2006165603A (en
JP2006165603A5 (en
Inventor
智行 奥
武己 矢崎
通貴 奥野
稔 日高
真一 赤羽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2004349265A priority Critical patent/JP4622490B2/en
Priority to US11/211,570 priority patent/US7529251B2/en
Publication of JP2006165603A publication Critical patent/JP2006165603A/en
Publication of JP2006165603A5 publication Critical patent/JP2006165603A5/ja
Application granted granted Critical
Publication of JP4622490B2 publication Critical patent/JP4622490B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/742Route cache; Operation thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、パケットの経路制御及びフロー制御を行うデータ転送装置に関し、更に詳しくは、連想メモリアクセス時に生じる消費電力の低減を可能にするデータ転送装置に関する。   The present invention relates to a data transfer apparatus that performs packet path control and flow control, and more particularly, to a data transfer apparatus that enables reduction of power consumption that occurs when an associative memory is accessed.

通信ネットワークを構成するレイヤ2スイッチまたはIPルータ或いはレイヤ3スイッチ等のデータ転送装置は、受信したイーサネット(Ethernet:登録商標名)フレームまたはIPパケット或いはMPLS方式で転送するMPLSパケットを該パケットのアドレス情報に対応した出力回線に転送する。通信量の増加に伴うデータ転送装置における消費電力を低減する為に、様々な消費電力低減方式が検討されている。   A data transfer device such as a layer 2 switch, an IP router, or a layer 3 switch constituting the communication network receives the received Ethernet (Ethernet: registered trademark) frame, IP packet, or MPLS packet to be transferred by the MPLS method, and address information of the packet. Transfer to the output line corresponding to. In order to reduce the power consumption in the data transfer apparatus accompanying an increase in the amount of communication, various power consumption reduction methods have been studied.

連想メモリアクセス時に生じる消費電力低減方式として、一度、連想メモリに対して登録したい順に検索条件を配列するが、検索条件を値の大きい順(または小さい順)に再配列する方式がある(例えば、特許文献1参照)。このとき、連想メモリにおける各物理バンクの境界に位置する検索条件の値をレジスタに保持する。この例では、連想メモリを用いた検索条件の検索において、入力されたデータから生成される検索キーの値を該レジスタの値と比較し、検索すべき物理バンクを限定し、限定された物理バンクだけをアクティブにすることにより、低消費電力のデータ検索装置を提供している。   As a power consumption reduction method that occurs when accessing an associative memory, once the search conditions are arranged in the order in which they are to be registered in the associative memory, there is a method in which the search conditions are rearranged in descending order (or in ascending order) (for example, Patent Document 1). At this time, the value of the search condition located at the boundary of each physical bank in the associative memory is held in the register. In this example, in the search of the search condition using the associative memory, the value of the search key generated from the input data is compared with the value of the register, the physical bank to be searched is limited, and the limited physical bank By activating only, a data search device with low power consumption is provided.

他には、受信したIPパケットの経路制御に対し、連想メモリで生じる消費電力を低減する為、アクティブにする物理バンクをハッシュ関数で決定する方式がある(例えば、非特許文献1参照)。   In addition, there is a method of determining a physical bank to be activated by a hash function in order to reduce power consumption generated in the associative memory for path control of received IP packets (see, for example, Non-Patent Document 1).

特開2004−185792号公報JP 2004-185792 A

Hidell他、“Router Architectures”Tutorial at Networking 2004http://www.imit.kth.se/~mahidell/pubs/networking04_tutorial_final.pdf、pp41Hidell et al., “Router Architectures” Tutorial at Networking 2004 http://www.imit.kth.se/~mahidell/pubs/networking04_tutorial_final.pdf, pp41

登録したい順に検索条件を配列する方式では、最初に連想メモリへ対して登録したい順に配列するが、完全一致検索や最長一致検索といった検索方法に関わらず、連想メモリ内のデータを常に再配列する必要がある。故に、ネットワーク構成変更時及び初期登録時に再配列の為のソート時間が常に生じる。   In the method in which search conditions are arranged in the order in which they are to be registered, they are first arranged in the order in which they are to be registered in the associative memory, but it is necessary to always rearrange the data in the associative memory regardless of the search method such as exact match search or longest match search. There is. Therefore, a sort time for rearrangement always occurs at the time of network configuration change and initial registration.

次に、アクティブにする物理バンクをハッシュ関数で決定する方式では、受信したIPパケットの経路制御における検索条件の検索しか行っておらず、また消費電力低減方式の詳細に関する検討はなされていない。
そこで、本発明の課題は、連想メモリに対して完全一致検索を行う場合において、検索条件を登録する際にソート時間を発生させないことで高品質なネットワークを提供することに加え、検索条件の検索時にアクティブにする物理バンクを限定することにより、低消費電力のデータ転送装置を提供することである。
Next, in the method of determining a physical bank to be activated by a hash function, only the search condition is searched in the path control of the received IP packet, and the details of the power consumption reduction method have not been studied.
Accordingly, an object of the present invention is to provide a high-quality network by not generating a sort time when registering a search condition when performing an exact match search for an associative memory, and to search for a search condition It is to provide a low power consumption data transfer device by limiting the physical banks that are sometimes active.

上記課題を達成する為、本発明のデータ転送装置は、フォワーディングテーブル及びフロー識別テーブルが同一検索ビット幅を持つ複数の物理バンクから構成され、該フォワーディングテーブル制御部及び該フロー識別テーブル制御部は検索キーから検索すべき物理バンクを決定し、該物理バンクに検索を指示する。 In order to achieve the above object, the data transfer apparatus of the present invention is configured such that the forwarding table and the flow identification table are composed of a plurality of physical banks having the same search bit width, and the forwarding table control unit and the flow identification table control unit search A physical bank to be searched is determined from the key, and a search is instructed to the physical bank.

本発明の構成を採ることにより、受信したパケットの経路制御およびフロー制御の際、完全一致検索を必要とする連想メモリに対し、アクティブにする連想メモリの物理バンクを限定可能な低消費電力型データ転送装置を提供できる。また、ネットワーク構成変更時及び初期登録時において、従来技術のように、連想メモリに一旦配列した全ての検索条件を再配列することは行わない為、素早く検索条件となるデータの登録を完了させることが可能であり、メンテナンスが容易な高品質のネットワークを提供できる。   By adopting the configuration of the present invention, low power consumption type data capable of limiting the physical bank of the associative memory to be activated with respect to the associative memory that requires a complete match search in the path control and flow control of the received packet. A transfer device can be provided. Also, at the time of network configuration change and initial registration, unlike the prior art, all search conditions once arranged in the associative memory are not rearranged, so that the registration of data as search conditions can be completed quickly. It is possible to provide a high-quality network that is easy to maintain.

以下、本発明の実施例について図面を参照して説明する。ここで、従来技術との比較を容易にする為,本発明を図1のデータ転送装置10に適用した場合について説明する。尚、第1の実施例では、パケットの経路制御とフロー制御において、連想メモリを用いる際に完全一致検索を必要とするEthernetフレームの転送について述べる。但し、本発明の効果を奏する限り、適用する装置、パケットの種類はこれに限られない。   Embodiments of the present invention will be described below with reference to the drawings. Here, a case where the present invention is applied to the data transfer apparatus 10 of FIG. 1 will be described for easy comparison with the prior art. In the first embodiment, Ethernet frame transfer that requires a complete match search when using an associative memory in packet path control and flow control will be described. However, as long as the effects of the present invention are obtained, the device to be applied and the type of packet are not limited to this.

図1は、本発明によるデータ転送装置10を構成するブロック図である。
データ転送装置10は、それぞれ入力回線IN−iと出力回線OUT−iに接続される複数のインタフェースモジュール11−i(i=1〜N)と、これらのインタフェースモジュールに接続されたセレクタ12およびデータ中継部16と、セレクタ12に接続されたバッファメモリ13、ヘッダ抽出部14およびバッファ制御部15と、データ中継部16に接続された経路制御部20およびフロー制御部30とからなる。60は、データ転送装置10の外部に位置し、信号線L10を経路制御部20と接続され、信号線L11をフロー制御部と接続され、データ転送装置10の管理者が操作する管理端末を示している。
FIG. 1 is a block diagram of a data transfer apparatus 10 according to the present invention.
The data transfer apparatus 10 includes a plurality of interface modules 11-i (i = 1 to N) connected to the input line IN-i and the output line OUT-i, and the selector 12 and data connected to these interface modules. The relay unit 16 includes a buffer memory 13 connected to the selector 12, a header extraction unit 14 and a buffer control unit 15, and a path control unit 20 and a flow control unit 30 connected to the data relay unit 16. Reference numeral 60 denotes a management terminal that is located outside the data transfer apparatus 10, has the signal line L 10 connected to the path control unit 20, the signal line L 11 connected to the flow control unit, and is operated by an administrator of the data transfer apparatus 10. ing.

図2は、各入力回線IN−iから受信される可変長Ethernetフレームのフォーマットの1例を示す。可変長のEthernetフレーム100は、OSI参照モデルにおける第2層(データリンク層)のL2ヘッダ110と、L2ペイロード120とからなる。   FIG. 2 shows an example of a format of a variable length Ethernet frame received from each input line IN-i. The variable-length Ethernet frame 100 includes an L2 header 110 in the second layer (data link layer) and an L2 payload 120 in the OSI reference model.

L2ヘッダ110の形状は、入力回線の種類によって異なり、例えば、入力回線IN−iがイーサネットである場合、L2ヘッダ110には、宛先MACアドレス111、送信元MACアドレス112、フレームタイプ114、その他の情報が含まれる。図2において、L2ヘッダ110には、その他の情報として、タグ113を格納する。ここで、タグ113は、データ転送装置10におけるEthernetフレーム転送優先度と、Ethernetフレームが所属するネットワークを識別するネットワーク識別子等とからなる。   The shape of the L2 header 110 differs depending on the type of the input line. For example, when the input line IN-i is Ethernet, the L2 header 110 includes the destination MAC address 111, the source MAC address 112, the frame type 114, and the like. Contains information. In FIG. 2, a tag 113 is stored in the L2 header 110 as other information. Here, the tag 113 includes an Ethernet frame transfer priority in the data transfer apparatus 10 and a network identifier for identifying a network to which the Ethernet frame belongs.

図1において、各インタフェースモジュール11−iは、入力回線IN−iから受信したEthernetフレームを信号線L1−iに出力する。セレクタ12は、バッファ制御部15から信号線L15を介して与えられる制御信号に従って、信号線L1−iから入力されるEthernetフレームを選択的に信号線L2に出力する。ヘッダ抽出部14は、信号線L2に出力されたEthernetフレーム100のL2ヘッダ110を解析し、フレームタイプ114に示されるフレーム長を信号線L12に、宛先MACアドレス111と送信元MACアドレス112とを信号線L3に、L2ヘッダ110を信号線L4に出力する。 In FIG. 1, each interface module 11-i outputs the Ethernet frame received from the input line IN-i to the signal line L1-i. The selector 12 selectively outputs the Ethernet frame input from the signal line L1- i to the signal line L2 in accordance with the control signal supplied from the buffer control unit 15 via the signal line L15. The header extraction unit 14 analyzes the L2 header 110 of the Ethernet frame 100 output to the signal line L2, and sets the frame length indicated by the frame type 114 to the signal line L12, the destination MAC address 111 and the source MAC address 112. The L2 header 110 is output to the signal line L4 to the signal line L3.

バッファ制御部15は、信号線L2に出力されたEthernetフレーム100のバッファメモリ13への書き込みと、バッファメモリ13から信号線L6に対するEthernetフレーム100の読み出しを行う。また、バッファ制御部15は、ヘッダ抽出部14が信号線L12に出力するフレーム長に基づいて、バッファメモリ13に対するEthernetフレームの書き込みを制御し、バッファメモリ13からのEthernetフレームの読み出しに連動して、信号線L15にセレクタ12の切り替え制御信号を出力し、次のEthernetフレームをバッファメモリ13に書き込む。 The buffer control unit 15 writes the Ethernet frame 100 output to the signal line L2 to the buffer memory 13 and reads the Ethernet frame 100 from the buffer memory 13 to the signal line L6. Further, the buffer control unit 15 controls the writing of the Ethernet frame to the buffer memory 13 based on the frame length output from the header extraction unit 14 to the signal line L12, and interlocks with the reading of the Ethernet frame from the buffer memory 13. The selector 12 switching control signal is output to the signal line L15, and the next Ethernet frame is written to the buffer memory 13.

経路検索部20は、図3に示すように、ヘッダ抽出部14が信号線L3に出力する宛先MACアドレス111に基づいて、経路制御用連想メモリ200に格納されるフォワーディングテーブル202から一致する検索条件を検索する。検索条件を検索した結果、一致した場合には、経路情報テーブル204から経路制御情報700を検索する。経路制御情報700は、図7に示すように、例えば、Ethernetフレームの出力インタフェースモジュールの情報などを含んでいる。経路制御部20は、経路制御情報700を信号線L7に出力する。 As shown in FIG. 3, the route search unit 20 matches the search conditions from the forwarding table 202 stored in the route control content addressable memory 200 based on the destination MAC address 111 output to the signal line L3 by the header extraction unit 14. Search for. As a result of searching for the search condition, if they match, the route control information 700 is searched from the route information table 204. Routing information 700, as shown in FIG. 7 A, for example, includes such information of the output interface module of Ethernet frames. The route control unit 20 outputs the route control information 700 to the signal line L7.

また、経路制御部20は、Ethernetフレームの経路制御と同時に、ヘッダ抽出部14が信号線L3に出力する送信元MACアドレス112に基づいて、経路制御用連想メモリ200に格納されるフォワーディングテーブル202から一致する検索条件を検索する。検索の結果、一致する検索条件が存在しない場合、フォワーディングテーブル制御部201は、信号線L22を介して、EthernetフレームのL2ヘッダ110を経路制御用テーブル管理部205に送信する。経路制御用テーブル管理部205は、L2ヘッダ110に基づき、フォワーディングテーブル202の更新に必要なデータを信号線L22に出力する。   In addition, the path control unit 20 uses the forwarding table 202 stored in the path control associative memory 200 based on the source MAC address 112 output to the signal line L3 by the header extraction unit 14 simultaneously with the path control of the Ethernet frame. Search for matching search conditions. If there is no matching search condition as a result of the search, the forwarding table control unit 201 transmits the L2 header 110 of the Ethernet frame to the route control table management unit 205 via the signal line L22. Based on the L2 header 110, the path control table management unit 205 outputs data necessary for updating the forwarding table 202 to the signal line L22.

経路制御用テーブル管理部205は、ダイナミックルーティングを行う場合、ルーティングプロトコルに従い、フォワーディングテーブル制御部201或いは経路情報テーブル制御部203と接続する信号線L22或いはL23へ対して経路制御に必要なデータを出力する。また、スタティックルーティングを行う場合は、信号線L10を介して接続される管理端末60から入力される設定に従い、経路制御に必要なデータを出力する。   When performing dynamic routing, the route control table management unit 205 outputs data necessary for route control to the signal line L22 or L23 connected to the forwarding table control unit 201 or the route information table control unit 203 according to the routing protocol. To do. When performing static routing, data necessary for route control is output according to the setting input from the management terminal 60 connected via the signal line L10.

経路制御用テーブルエラー制御部206は、経路制御時にアクセスするフォワーディングテーブル202及び経路情報テーブル204から出力される情報にエラーが含まれる場合、信号線L13を介して、バッファ制御部15に対し、フォワーディングテーブル制御部201或いは経路情報テーブル制御部203からの経路制御テーブルエラーを通知する。
このとき、バッファ制御部15は、信号線L13から経路制御テーブルエラーが入力されると、経路制御を無効と解釈し、メモリバッファ13に蓄積されるEthernetフレームを破棄する。
The routing control table error control unit 206, when an error is included in the information output from the forwarding table 202 and the routing information table 204 accessed at the time of routing control, is forwarded to the buffer control unit 15 via the signal line L13. A route control table error from the table control unit 201 or the route information table control unit 203 is notified.
At this time, when a path control table error is input from the signal line L13, the buffer control unit 15 interprets the path control as invalid, and discards the Ethernet frame stored in the memory buffer 13.

フロー制御部30は、図4に示すように、ヘッダ抽出部14が信号線L4に出力するL2ヘッダ110に基づいて、フロー制御用連想メモリ300に格納されるフロー識別テーブル302から一致する検索条件を検索する。検索条件を検索した結果、一致した場合には、フロー制御テーブル304からフロー制御情報800を検索する。フロー制御情報800は、図7Bに示すように例えば、Ethernetフレームの転送可否識別子801や送信優先度を示す通信品質情報802などを含んでいる。フロー制御部30は、転送可否識別子801を信号線L5に出力し、通信品質情報802を信号線L8に出力する。 As shown in FIG. 4, the flow control unit 30 matches the search condition from the flow identification table 302 stored in the flow control associative memory 300 based on the L2 header 110 output from the header extraction unit 14 to the signal line L4. Search for. If the search conditions match, the flow control information 800 is searched from the flow control table 304. As shown in FIG. 7B , the flow control information 800 includes, for example, an Ethernet frame transfer enable / disable identifier 801, communication quality information 802 indicating transmission priority, and the like. The flow control unit 30 outputs the transfer enable / disable identifier 801 to the signal line L5, and outputs the communication quality information 802 to the signal line L8.

具体的に述べると、フロー制御部30は、所定のタイミングで、信号線L5を介してバッファ制御部15に対し、受信したEthernetフレーム100の制御を要求する。バッファ制御部15は、入力された転送可否識別子801に従ってEthernetフレーム100を制御する。ここで、転送を行う場合、バッファ制御部15は、Ethernetフレームをメモリバッファ13から信号線L6に出力させる。また、転送を行わない場合、メモリバッファ13に蓄積されるEthernetフレームを破棄する。   Specifically, the flow control unit 30 requests the buffer control unit 15 to control the received Ethernet frame 100 via the signal line L5 at a predetermined timing. The buffer control unit 15 controls the Ethernet frame 100 according to the input transfer enable / disable identifier 801. Here, when performing the transfer, the buffer control unit 15 causes the Ethernet frame to be output from the memory buffer 13 to the signal line L6. If no transfer is performed, the Ethernet frame stored in the memory buffer 13 is discarded.

フロー制御用テーブル管理部305は、信号線L11を介して管理端末60と接続され、管理端末60からのフロー制御設定に従い、フロー識別テーブル制御部301或いはフロー制御情報テーブル制御部303と接続する信号線L32或いはL33へ対してフロー制御に必要なデータを出力する。
フロー制御用テーブルエラー制御部306は、フロー制御時にアクセスするフロー識別テーブル302及びフロー制御情報テーブル304から出力される情報にエラーが含まれる場合、信号線L14を介して、バッファ制御部15に対し、フロー識別テーブル制御部301或いはフロー制御テーブル制御部303からのフロー制御テーブルエラーを通知する。
The flow control table management unit 305 is connected to the management terminal 60 via the signal line L11 and is connected to the flow identification table control unit 301 or the flow control information table control unit 303 in accordance with the flow control setting from the management terminal 60. Data necessary for flow control is output to the line L32 or L33.
When an error is included in the information output from the flow identification table 302 and the flow control information table 304 accessed at the time of flow control, the flow control table error control unit 306 notifies the buffer control unit 15 via the signal line L14. , A flow control table error from the flow identification table control unit 301 or the flow control table control unit 303 is notified.

このとき、バッファ制御部15は、信号線L14からフロー制御テーブルエラーが入力されると、フロー制御を無効と解釈し、メモリバッファ13に蓄積されるEthernetフレームを破棄する。
データ中継部16は、信号線L6からEthernetフレーム100が入力されると、信号線L8から入力された通信品質情報802に示される優先度に従って、これを信号線L7から入力された経路制御情報700が示す出力ポート番号kと対応するインタフェースモジュール11−kに出力する
At this time, when a flow control table error is input from the signal line L14, the buffer control unit 15 interprets the flow control as invalid and discards the Ethernet frame stored in the memory buffer 13.
When the Ethernet frame 100 is input from the signal line L6, the data relay unit 16 transmits the Ethernet frame 100 according to the priority indicated in the communication quality information 802 input from the signal line L8, and the routing control information 700 input from the signal line L7. Is output to the interface module 11-k corresponding to the output port number k indicated by .

図5は、本発明の経路制御部20に適用されるフォワーディングテーブル制御部201と、経路制御用連想メモリ200との接続形態を示す。
経路制御用連想メモリ200は、簡単化の為、図5に示すように、経路制御用連想メモリアレイ220と、経路制御用プライオリティエンコーダ210とからなるとする。
経路制御連想メモリアレイ220は、検索条件となる経路制御検索データを格納する1つ以上のエントリを含む複数の経路制御物理バンク2021−i(i=1〜N)からなる。
FIG. 5 shows a connection form between the forwarding table control unit 201 applied to the route control unit 20 of the present invention and the route control content addressable memory 200.
For simplicity, it is assumed that the path control associative memory 200 includes a path control associative memory array 220 and a path control priority encoder 210, as shown in FIG.
The path control associative memory array 220 includes a plurality of path control physical banks 2021-i (i = 1 to N) including one or more entries for storing path control search data serving as search conditions.

図11に示すように、各エントリには例えば送信元アドアレス、宛先アドレスなどの検索条件が記憶されている。
経路制御用プライオリティエンコーダ210は、経路制御用連想メモリ200に経路制御検索キー及び送信元MACアドレス検索キーが入力され、フォワーディングテーブル202の複数のエントリで一致した場合、一致した複数のエントリの内、最小(または最大)のアドレスを信号線L2108に出力する。
As shown in FIG. 11, each entry stores a search condition such as a transmission source address and a destination address.
When the path control search key and the source MAC address search key are input to the path control associative memory 200 and a plurality of entries in the forwarding table 202 match, the path control priority encoder 210 includes: The minimum (or maximum) address is output to the signal line L2108.

本発明では、Ethernetフレームの経路検索およびフォワーディングテーブル302へ対する経路制御データの登録において、経路制御バンク決定部212によって、アクティブにする物理バンクを限定することを特徴とする。   The present invention is characterized in that the physical bank to be activated is limited by the path control bank determination unit 212 in the path search of the Ethernet frame and the registration of the path control data to the forwarding table 302.

フォワーディングテーブル制御部201について、図5を用いて説明する。経路制御検索キー生成部211は、Ethernetフレーム100の宛先MACアドレス111と、送信元MACアドレス112とに基づき、それぞれに対応する経路制御検索キー及び送信元MACアドレス検索キーを生成し、信号線L2101に出力する。また、信号線L2102を介して、経路制御コマンド生成部213に対し、Ethernetフレームの経路検索或いは送信元MACアドレスに一致する検索条件の検索を要求する。   The forwarding table control unit 201 will be described with reference to FIG. The route control search key generation unit 211 generates a route control search key and a source MAC address search key corresponding to each of the destination MAC address 111 and the source MAC address 112 of the Ethernet frame 100, and the signal line L2101. Output to. Further, the path control command generation unit 213 is requested to search the Ethernet frame path or search conditions matching the transmission source MAC address via the signal line L2102.

経路制御検索データ生成部214は、信号線L22からフォワーディングテーブル202に登録すべき検索条件となるデータが入力されると、経路制御検索キー及び送信元MACアドレス検索キーの検索条件となる経路制御検索データを生成し、信号線L2106に経路制御検索データを出力する。また、信号線L2107に経路制御検索データを出力することで、フォワーディングテーブル202に対する経路制御検索データの書き込みを要求する。   The route control search data generation unit 214 receives a search condition to be registered in the forwarding table 202 from the signal line L22, and the route control search becomes a search condition for the route control search key and the source MAC address search key. Data is generated, and route control search data is output to the signal line L2106. Further, the routing control search data is output to the signal line L2107 to request writing of the routing control search data to the forwarding table 202.

経路制御バンク決定部212は、信号線L2101から入力された経路制御検索キー及び送信元MACアドレス検索キーまたは信号線L2106から入力された経路制御検索データを入力とし、アクティブにすべき物理バンクに対するアクティベーション電力と経路制御検索キーまたは経路制御検索データを経路制御用連想メモリ200に向けて出力する。
ここで,経路制御バンク決定部212は、図9に示すように入力に対してアクティブにすべき物理バンクの番号をハッシュ関数によって求める経路制御用ハッシュ関数部2121と、信号線L26に接続される経路制御用レジスタ2122と、経路制御用ハッシュ関数部2121が求め
たハッシュ値を経路制御用レジスタ2122に示される値へ変換してアクティブにすべき物理バンクを決定する経路制御用ハッシュ値変換部2123とからなる。
The path control bank determination unit 212 receives the path control search key and the source MAC address search key input from the signal line L2101 or the path control search data input from the signal line L2106 and inputs the access to the physical bank to be activated. The activation power and the path control search key or path control search data are output to the path control associative memory 200.
Here, as shown in FIG. 9 , the path control bank determination unit 212 is connected to the signal line L26 and the path control hash function unit 2121 for obtaining the number of the physical bank to be activated with respect to the input by a hash function. A path control hash value converter 2123 that converts the hash value obtained by the path control register 2122 and the path control hash function unit 2121 into a value indicated by the path control register 2122 to determine a physical bank to be activated. It consists of.

経路制御用ハッシュ関数部2121は、経路制御検索キー及び送信元MACアドレス検索キー或いは経路制御検索データを、経路制御に用いる検索ビット幅が同一である経路制御物理バンク2021−iの個数(m)で割ることによって剰余が求められる。この剰余値をハッシュ値とする。その後,入力された経路制御検索キー及び送信元MACアドレス検索キー或いは経路制御検索データとハッシュ値とを経路制御用ハッシュ値変換部2123に向けて出力する。このとき、ハッシュ値の範囲は、0〜(m−1)である。   The path control hash function unit 2121 uses the path control search key and the source MAC address search key or the path control search data for the number (m) of path control physical banks 2021-i having the same search bit width used for path control. Divide by to get the remainder. This remainder value is a hash value. Thereafter, the input route control search key and source MAC address search key or route control search data and hash value are output to the route control hash value conversion unit 2123. At this time, the range of the hash value is 0 to (m−1).

経路制御用ハッシュ関数部2121に入力される経路制御検索データによっては、出力されるハッシュ値に偏りが生じる可能性が考えられる。そこで、ハッシュ値の偏りを可能な限り解消する為、図9に示すように、各ハッシュ値に対応するアクティブにすべき物理バンク番号を示す経路制御レジスタ2122に設定する。
経路制御用レジスタ2122に対しては、データ転送装置10の管理者が管理端末60から設定を行う。ここで、各ハッシュ値に対応する物理バンクは、データ転送装置10の管理者が指定する。
Depending on the path control search data input to the path control hash function unit 2121, it is possible that the output hash value may be biased. Therefore, in order to eliminate the bias of the hash value as much as possible, as shown in FIG. 9, it is set in the path control register 2122 indicating the physical bank number to be activated corresponding to each hash value.
The administrator of the data transfer device 10 makes settings for the path control register 2122 from the management terminal 60. Here, the physical bank corresponding to each hash value is designated by the administrator of the data transfer apparatus 10.

経路制御用ハッシュ値変換部2123は、経路制御検索キー及び送信元MACアドレス検索キー或いは経路制御検索データとハッシュ値とが入力されると、経路制御用レジスタ2122を参照し、ハッシュ値に対応する物理バンクへ向けたアクティベーション電力を信号線L2104に出力する。このとき、経路制御検索キー及び送信元MACアドレス検索キー或いは経路制御検索データを信号線L2103に出力する。その他の物理バンクには、待機電力を供給する。   When a path control search key and a source MAC address search key or path control search data and a hash value are input, the path control hash value conversion unit 2123 refers to the path control register 2122 and corresponds to the hash value. The activation power for the physical bank is output to the signal line L2104. At this time, a route control search key and a source MAC address search key or route control search data are output to the signal line L2103. Standby power is supplied to other physical banks.

経路制御コマンド生成部213は、信号線L2102から経路制御検索キー及び送信元MACアドレス検索キーが入力されると、検索コマンドを生成し、信号線L2105に出力する。また、信号線L2107からフォワーディングテーブル202に対する経路制御検索データが入力されると、書き込みコマンドを生成し、信号線L2105に出力する。尚,経路制御コマンド生成部213には、経路制御用連想メモリ200に対するクロックバス等の信号線が接続されているが、図5では省略する。   When a path control search key and a source MAC address search key are input from the signal line L2102, the path control command generation unit 213 generates a search command and outputs the search command to the signal line L2105. Further, when route control search data for the forwarding table 202 is input from the signal line L2107, a write command is generated and output to the signal line L2105. Note that a signal line such as a clock bus for the path control associative memory 200 is connected to the path control command generation unit 213, which is omitted in FIG.

経路制御結果解析部215は、フォワーディングテーブル202を格納する経路制御用連想メモリ200において、フォワーディングテーブル202の検索結果として経路制御用連想メモリ200から出力される経路制御検索キーと一致するエントリのアドレスが有効か無効かを解析する。ここで、無効である場合は、信号線L24を介して、経路制御用テーブルエラー制御部206に通知する。 The path control result analysis unit 215 receives the address of the entry that matches the path control search key output from the path control associative memory 200 as the search result of the forwarding table 202 in the path control associative memory 200 that stores the forwarding table 202. Analyzes whether it is valid or invalid. If it is invalid, it is notified to the path control table error control unit 206 via the signal line L24.

図6は、本発明のフロー制御部30に適用されるフロー識別テーブル制御部301と、フロー制御用連想メモリ300との接続形態を示す。
フロー制御用連想メモリ300は、簡単化の為、図6に示すように、フロー識別用連想メモリアレイ320と、フロー制御用プライオリティエンコーダ310とからなるとする。
フロー識別用連想メモリアレイ320は、フロー制御検索キーの検索条件となるフロー制御検索データを格納する1つ以上のエントリを含む複数のフロー制御物理バンク3021−i(i=1〜N)からなる。
FIG. 6 shows a connection form between the flow identification table control unit 301 applied to the flow control unit 30 of the present invention and the flow control content addressable memory 300.
For simplicity, the flow control associative memory 300 includes a flow identification associative memory array 320 and a flow control priority encoder 310 as shown in FIG.
The flow identification associative memory array 320 includes a plurality of flow control physical banks 3021-i (i = 1 to N) including one or more entries that store flow control search data that is a search condition for a flow control search key. .

図12に示すように、各エントリには例えば送信元アドレス、宛先アドレス、送信元ポート番号、宛先ポート番号などの検索条件が記憶されている。
フロー制御用プライオリティエンコーダ310は、フロー制御用連想メモリ300にフロー制御検索キーが入力され、フロー識別テーブル302の複数のエントリで一致した場合、一致した複数のエントリの内、最小(または最大)のアドレスを信号線L3108に出力する。
As shown in FIG. 12, each entry stores search conditions such as a transmission source address, a destination address, a transmission source port number, and a destination port number.
When a flow control search key is input to the flow control content addressable memory 300 and a plurality of entries in the flow identification table 302 match, the flow control priority encoder 310 selects the minimum (or maximum) of the plurality of matched entries. The address is output to the signal line L3108.

本発明では、Ethernetフレームのフロー制御およびフロー制御テーブル304へ対するフロー制御検索データの登録において、フロー制御バンク決定部312によって、アクティブにする物理バンクを限定することを特徴とする。   The present invention is characterized in that the physical bank to be activated is limited by the flow control bank determination unit 312 in the flow control of the Ethernet frame and the registration of the flow control search data to the flow control table 304.

フロー識別テーブル制御部301について図6を用いて説明する。フロー制御検索キー生成部311は、L2ヘッダ110の宛先MACアドレス111とタグ113に含まれるネットワーク識別子との組み合わせに基づき、フロー制御検索キーを生成し、信号線L3101に出力する。また、信号線L3102を介して、フロー制御コマンド生成部313に対し、入力されたEthernetフレームが属するフローの識別を要求する。   The flow identification table control unit 301 will be described with reference to FIG. The flow control search key generation unit 311 generates a flow control search key based on the combination of the destination MAC address 111 of the L2 header 110 and the network identifier included in the tag 113, and outputs it to the signal line L3101. Also, the flow control command generation unit 313 is requested to identify the flow to which the input Ethernet frame belongs through the signal line L3102.

フロー制御検索データ生成部314は、データ転送装置10の管理者が管理端末60から検索条件の要素となるデータを入力すると、フロー制御検索キーの検索条件となるフロー制御検索データを生成し、信号線L3106に該フロー制御検索データを出力する。同時に、信号線L3107を介して、フロー識別テーブル302に対するフロー制御検索データの書き込みを要求する。   When the administrator of the data transfer apparatus 10 inputs data that serves as a search condition element from the management terminal 60, the flow control search data generation unit 314 generates flow control search data that serves as a search condition for a flow control search key, The flow control search data is output to the line L3106. At the same time, the flow control search data is requested to be written to the flow identification table 302 via the signal line L3107.

フロー制御バンク決定部312は、信号線L3101から入力されたフロー制御検索キーまたは信号線L3106から入力されたフロー制御検索データを入力とし、アクティブにすべき物理バンクに対するアクティベーション電力とフロー制御検索キーまたはフロー制御検索データをフロー制御用連想メモリ300に向けて出力する。ここで,フロー制御バンク決定部312は、図10に示すように入力に対してアクティブにすべき物理バンクの番号をハッシュ関数によって求めるフロー制御用ハッシュ関数部3121と、信号線L36に接続されるフロー制御用レジスタ3122と、フロー制御用ハッシュ関数部3121が求めたハッシュ値をフロー制御用レジスタ3122に示される値へ変換してアクティブにすべき物理バンクを決定するフロー制御用ハッシュ値変換部3123とからなる。 The flow control bank determination unit 312 receives the flow control search key input from the signal line L3101 or the flow control search data input from the signal line L3106, and the activation power and the flow control search key for the physical bank to be activated. Alternatively, the flow control search data is output to the flow control content addressable memory 300. Here, the flow control bank determination unit 312 is connected to a signal line L36, and a flow control hash function unit 3121 that uses a hash function to determine the number of a physical bank to be activated with respect to the input as shown in FIG. A flow control hash value conversion unit 3123 that converts the hash value obtained by the flow control register 3122 and the flow control hash function unit 3121 into a value indicated by the flow control register 3122 to determine a physical bank to be activated. It consists of.

フロー制御用ハッシュ関数部3121は、フロー制御検索キー或いはフロー制御検索データを、フロー制御に用いる検索ビット幅が同一であるフロー制御物理バンク3021−iの個数(m)で割ることによって剰余が求められる。この剰余値をハッシュ値とする。その後,入力されたフロー制御検索キー或いはフロー制御検索データとハッシュ値とをフロー制御用ハッシュ値変換部3123に向けて出力する。このとき、ハッシュ値の範囲は、0〜(m−1)である。   The flow control hash function unit 3121 obtains a remainder by dividing the flow control search key or flow control search data by the number (m) of flow control physical banks 3021-i having the same search bit width used for flow control. It is done. This remainder value is a hash value. Thereafter, the input flow control search key or flow control search data and hash value are output to the flow control hash value conversion unit 3123. At this time, the range of the hash value is 0 to (m−1).

フロー制御用ハッシュ関数部3121に入力されるフロー制御検索データによっては、出力されるハッシュ値に偏りが生じる可能性が考えられる。そこで、ハッシュ値の偏りを可能な限り解消する為、図10に示すように、各ハッシュ値に対応するアクティブにすべき物理バンク番号を示すフロー制御レジスタ3122に設定する。
フロー制御用レジスタ3122に対しては、データ転送装置10の管理者が管理端末60から設定を行う。ここで、各ハッシュ値に対応する物理バンクは、データ転送装置10の管理者が指定する。
Depending on the flow control search data input to the flow control hash function unit 3121, the output hash value may be biased. Therefore, in order to eliminate the bias of the hash value as much as possible, the flow control register 3122 indicating the physical bank number to be activated corresponding to each hash value is set as shown in FIG.
The administrator of the data transfer apparatus 10 makes settings from the management terminal 60 for the flow control register 3122. Here, the physical bank corresponding to each hash value is designated by the administrator of the data transfer apparatus 10.

フロー制御用ハッシュ値変換部3123は、フロー制御検索キー或いはフロー制御検索データとハッシュ値とが入力されると、フロー制御用レジスタ3122を参照し、ハッシュ値に対応するフロー制御物理バンク3021−iに対するアクティベーション電力を信号線L3104に出力する。このとき、フロー制御検索キー或いはフロー制御検索データを信号線L3103に出力する。その他の物理バンクには、待機電力を供給する。   When a flow control search key or flow control search data and a hash value are input, the flow control hash value conversion unit 3123 refers to the flow control register 3122 and the flow control physical bank 3021-i corresponding to the hash value. Activation power is output to the signal line L3104. At this time, a flow control search key or flow control search data is output to the signal line L3103. Standby power is supplied to other physical banks.

フロー制御コマンド生成部313は、信号線L3102からフロー制御検索キーが入力されると、検索コマンドを生成し、信号線L3105に出力する。また、信号線L3107からフロー識別テーブル302に対するフロー制御検索データが入力されると、書き込みコマンドを生成し、信号線L3105に出力する。尚,フロー制御コマンド生成部313には、フロー制御用連想メモリ300に対するクロックバス等の信号線が接続されているが、図6では省略する。   When a flow control search key is input from the signal line L3102, the flow control command generation unit 313 generates a search command and outputs the search command to the signal line L3105. When flow control search data for the flow identification table 302 is input from the signal line L3107, a write command is generated and output to the signal line L3105. Note that a signal line such as a clock bus for the flow control content addressable memory 300 is connected to the flow control command generation unit 313, which is omitted in FIG.

フロー制御結果解析部315は、フロー識別テーブル302を格納するフロー制御用連想メモリ300において、フロー識別テーブル302の検索結果としてフロー制御用連想メモリ300から出力されるフロー制御検索キーと一致するエントリのアドレスが有効か無効かを解析する。ここで、無効である場合は、信号線L34を介して、フロー制御用テーブルエラー制御部306に通知する。 In the flow control content addressable memory 300 that stores the flow identification table 302, the flow control result analysis unit 315 stores an entry that matches the flow control search key output from the flow control content addressable memory 300 as a search result of the flow identification table 302. Analyzes whether the address is valid or invalid. If it is invalid, the flow control table error control unit 306 is notified via the signal line L34.

経路制御ハッシュ関数部2121およびフロー制御ハッシュ関数部3121は、それぞれ経路制御検索データの登録および経路制御検索キーによるフォワーディングテーブル202の検索またはフロー制御検索データの登録およびフロー制御検索キーによるフロー識別テーブル302の検索に対して、常に同一の計算方法を採る。故に、Ethernetフレーム受信時において、経路制御検索データと経路制御検索キーを一致させ、フロー制御検索データとフロー制御検索キーを一致させることが可能である。   The path control hash function unit 2121 and the flow control hash function unit 3121 respectively register the path control search data and search the forwarding table 202 with the path control search key or register the flow control search data and the flow identification table 302 with the flow control search key. The same calculation method is always used for the search. Therefore, when receiving an Ethernet frame, it is possible to match the path control search data and the path control search key, and match the flow control search data and the flow control search key.

本実施例では特に触れなかったが、パケットはEthernetフレームだけに拘らずMPLS方式で転送されるMPLSパケットを適用しても良い。
このように、経路制御バンク決定部212およびフロー制御バンク決定部312により、経路制御検索キーおよび経路制御検索データがアクセスするフォワーディングテーブル202と、フロー制御検索キーおよびフロー制御検索データがアクセスするフロー識別テーブル302とにおいて、アクティブにする物理バンクを限定して連想メモリで生じる消費電力の低減を図るだけではなく、ネットワーク構成の変更時及び初期登録時において、連想メモリのエントリに登録する検索条件に対して従来技術のような再配列処理を必要としない為、短期間で検索条件の登録を完了できる。
Although not particularly mentioned in the present embodiment, an MPLS packet transferred by the MPLS method regardless of only the Ethernet frame may be applied.
Thus, the routing control bank determination unit 212 and the flow control bank determination unit 312 use the forwarding table 202 accessed by the path control search key and the path control search data, and the flow identification accessed by the flow control search key and the flow control search data. In table 302, not only the power consumption generated in the associative memory is limited by limiting the physical bank to be activated, but also the search condition registered in the associative memory entry at the time of network configuration change and initial registration Thus, since the rearrangement processing as in the prior art is not required, registration of the search condition can be completed in a short period of time.

第2の実施例では、IPルータやレイヤ3スイッチにおいて、ネットワーク間同士を伝送するIPパケットの内、送信元と宛先が特定の端末を示すIPパケットのフロー制御について説明する。   In the second embodiment, flow control of an IP packet in which a transmission source and a destination indicate a specific terminal among IP packets transmitted between networks in an IP router or a layer 3 switch will be described.

まず、可変長のIPパケット400のフォーマットの1例を図8に示す。IPパケット400は、図8に示すように、IPペイロード401とIPヘッダ402とからなり、IPヘッダ402には、パケット制御情報403と、送信元IPアドレス404と、宛先IPアドレス405が含まれる。パケット制御情報403は、プロトコル種別、パケット長、パケット優先度を示すサービスタイプ等、IPアドレス以外のIPヘッダ情報を意味している。
フロー制御検索キー生成部311は、パケット制御情報403に含まれるプロトコル種別と送信元IPアドレス404と宛先IPアドレス405との組み合わせからフロー制御の検索条件であるフロー制御検索データを生成する。
First, an example of the format of the variable-length IP packet 400 is shown in FIG. As shown in FIG. 8, the IP packet 400 includes an IP payload 401 and an IP header 402, and the IP header 402 includes packet control information 403, a source IP address 404, and a destination IP address 405. The packet control information 403 means IP header information other than the IP address, such as a protocol type, a packet length, and a service type indicating packet priority.
The flow control search key generation unit 311 generates flow control search data, which is a flow control search condition, from the combination of the protocol type, the source IP address 404, and the destination IP address 405 included in the packet control information 403.

その後、フロー制御バンク決定部312は、フロー制御検索データを登録するフロー制御物理バンク3021−iを決定する為、フロー制御検索データを入力とする。
次に、受信したIPパケットに対するフロー制御について述べる。データ転送装置10は、IPパケットの転送時においても、第1の実施例と同様に動作する。実施例1と異なる点として、フロー制御検索キー生成部311がフロー制御検索キーの生成に対し、入力されたIPパケットのパケット制御情報403に含まれるプロトコル種別と送信元IPアドレス404と宛先IPアドレス405との組み合わせを用いることが挙げられる。また、ヘッダ抽出部14は、IPヘッダ402を出力する。
Thereafter, the flow control bank determination unit 312 receives the flow control search data as input in order to determine the flow control physical bank 3021-i for registering the flow control search data.
Next, flow control for the received IP packet will be described. The data transfer apparatus 10 operates in the same manner as in the first embodiment even when transferring IP packets. The difference from the first embodiment is that the flow control search key generation unit 311 generates a flow control search key for the protocol type, the source IP address 404, and the destination IP address included in the packet control information 403 of the input IP packet. The combination with 405 is used. In addition, the header extraction unit 14 outputs an IP header 402.

IPパケット転送の場合、フロー制御テーブル304には、第1の実施例と同様の情報が格納される。このとき、フロー制御部30は第1の実施例と同じ動作をする。更に、フロー制御ハッシュ関数部3121は、フロー制御検索データの登録およびフロー制御検索キーによるフロー識別テーブルの検索に対して、常に同一の計算方法を採る。故に、特定のIPパケットを受信した場合において、フロー制御検索データとフロー制御検索キーを一致させることが可能である。   In the case of IP packet transfer, the flow control table 304 stores the same information as in the first embodiment. At this time, the flow control unit 30 performs the same operation as in the first embodiment. Furthermore, the flow control hash function unit 3121 always adopts the same calculation method for the registration of the flow control search data and the search of the flow identification table by the flow control search key. Therefore, when a specific IP packet is received, it is possible to match the flow control search data with the flow control search key.

以上の説明から明らかなように、本発明によれば、レイヤ2スイッチ、IPルータ、レイヤ3スイッチ等のデータ転送装置において、パケットの経路制御およびフロー制御の際、連想メモリで生じる消費電力を低減でき、更には検索条件の登録に関して、ネットワークの構成変化に素早く対応可能な通信サービスを提供できる。   As is apparent from the above description, according to the present invention, in a data transfer device such as a layer 2 switch, an IP router, or a layer 3 switch, power consumption generated in the associative memory is reduced during packet path control and flow control. Further, it is possible to provide a communication service that can quickly cope with a change in the network configuration with respect to registration of search conditions.

本発明は、パケットの経路制御およびフロー制御に連想メモリを用いるデータ転送装置に適用可能である。   The present invention is applicable to a data transfer apparatus using an associative memory for packet path control and flow control.

本発明によるデータ転送装置10の1実施例を示すブロック図。1 is a block diagram showing an embodiment of a data transfer apparatus 10 according to the present invention. データ転送装置10に入力される可変長Ethernetフレームのフォーマットの1例を示す図。FIG. 4 is a diagram illustrating an example of a format of a variable length Ethernet frame input to the data transfer apparatus 10. 経路制御部20の1実施例を示すブロック図。The block diagram which shows one Example of the route control part 20. FIG. フロー制御部30の1実施例を示すブロック図。The block diagram which shows one Example of the flow control part 30. FIG. フォワーディングテーブル制御部201の1実施例を示す図、並びにフォワーディングテーブル制御部201と経路制御用連想メモリ200との関係を示す図。The figure which shows one Example of the forwarding table control part 201, and the figure which shows the relationship between the forwarding table control part 201 and the associative memory 200 for path control. フロー識別テーブル制御部301の1実施例を示す図、並びにフロー識別テーブル制御部301とフロー制御用連想メモリ300との関係を示す図。The figure which shows one Example of the flow identification table control part 301, and the figure which shows the relationship between the flow identification table control part 301 and the associative memory 300 for flow control. Ethernetフレーム転送時における経路情報テーブル204のエントリに格納される経路制御情報700のフォーマットを示す図。 The figure which shows the format of the routing control information 700 stored in the entry of the routing information table 204 at the time of Ethernet frame transfer . Ethernetフレーム転送時におけるフロー制御テーブル304のエントリに格納されるフロー制御情報800のフォーマットを示す図。The figure which shows the format of the flow control information 800 stored in the entry of the flow control table 304 at the time of Ethernet frame transfer. データ転送装置10に入力される可変長IPパケットのフォーマットを示す図。The figure which shows the format of the variable length IP packet input into the data transfer apparatus. 経路制御バンク決定部212の1実施例を示すブロック図。The block diagram which shows one Example of the path control bank determination part 212. FIG. フロー制御バンク決定部312の1実施例を示すブロック図。The block diagram which shows one Example of the flow control bank determination part 312. FIG. 経路制御用連想メモリアレイ220を示す図。The figure which shows the associative memory array 220 for a route control. フロー識別用連想メモリアレイ320を示す図。The figure which shows the associative memory array 320 for flow identification.

符号の説明Explanation of symbols

10:データ転送装置、11:インタフェースモジュール、12:セレクタ、13:バッファメモリ、14:ヘッダ抽出部、15:バッファ制御部、16:データ中継部、20:経路制御部、30:フロー制御部、60:管理端末、201:フォワーディングテーブル制御部、202:フォワーディングテーブル、203:経路情報テーブル制御部、204:経路制御テーブル、211:経路制御検索キー生成部、212:経路制御バンク生成部、213:経路制御コマンド生成部、214:経路制御検索データ生成部、215:経路制御結果解析部、220:経路制御用連想メモリアレイ、301:フロー識別テーブル制御部、302:フロー識別テーブル、303:フロー制御テーブル制御部、304:フロー制御テーブル、311:フロー制御検索キー生成部、312:フロー制御バンク生成部、313:フロー制御コマンド生成部、314:フロー制御検索データ生成部、315:フロー制御結果解析部、320:フロー制御用メモリアレイ2121:経路制御用ハッシュ関数部、2122:経路制御用レジスタ、2123:経路制御用ハッシュ値変換部、3121:フロー制御用ハッシュ関数部、3122:フロー制御用レジスタ、3123: フロー制御用ハッシュ値変換部。 10: Data transfer device, 11: Interface module, 12: Selector, 13: Buffer memory, 14: Header extraction unit, 15: Buffer control unit, 16: Data relay unit, 20: Path control unit, 30: Flow control unit, 60: management terminal, 201: forwarding table control unit, 202: forwarding table, 203: route information table control unit, 204: route control table, 211: route control search key generation unit, 212: route control bank generation unit, 213: Route control command generation unit 214: Route control search data generation unit 215: Path control result analysis unit 220: Path control associative memory array 301: Flow identification table control unit 302: Flow identification table 303: Flow control Table control unit, 304: flow control table, 311: flow -Control search key generation unit, 312: Flow control bank generation unit, 313: Flow control command generation unit, 314: Flow control search data generation unit, 315: Flow control result analysis unit, 320: Memory array for flow control 2121: Path Control hash function unit, 2122: path control register, 2123: path control hash value conversion unit, 3121: flow control hash function unit, 3122: flow control register, 3123: flow control hash value conversion unit.

Claims (4)

パケットが入力される複数の入力回線と、
パケットを出力する複数の出力回線と、
入力パケットの出力回線を示す経路情報を該入力パケットのヘッダに含まれる情報より判定する経路制御部と、
該経路情報に対応する出力回線に該パケットを転送するデータ中継部を備え、
上記経路制御部が、
パケットヘッダに含まれる情報の一部或いは全部を抽出して、これを検索キーとして検索条件の検索を行うフォワーディングテーブル制御部と、
上記検索キーに基づいて、メモリ内で上記検索条件が収容されている物理的位置に関する情報を出力するためのフォワーディングテーブルと、
上記物理的位置に収容される該検索条件に対応する経路情報を収容する上記物理的位置に関する情報に基づいて上記経路情報テーブルから上記経路情報を検索する経路情報テーブル制御部とからなるデータ転送装置であって、
上記フォワーディングテーブルは同一検索ビット幅を持つ複数の物理バンクによって構成されるアレイに格納され、
上記フォワーディングテーブル制御部は、
上記入力パケットの経路判定の際には上記パケットのパケットヘッダに含まれる情報から抽出した検索キーに所定の関数演算を施すことで検索すべき物理バンクを決定し、かつ該検索キーによる検索対象である検索条件を上記フォワーディングテーブルに登録する際にも上記検索条件を収容する経路情報テーブル内の物理的位置に関する情報を収容すべき物理バンクを決定するために上記関数演算を施す関数部と、
該関数部の出力値であるハッシュ値を当該ハッシュ値に対応する物理バンクの番号を示すレジスタとを有し、
該レジスタにより変換されるハッシュ値に対応する上記物理バンクの番号に該当する上記物理バンクに、上記検索キーによる検索を指示することを特徴とするデータ転送装置。
Multiple input lines into which packets are input;
Multiple output lines that output packets;
A path control unit that determines path information indicating an output line of an input packet from information included in a header of the input packet;
A data relay unit that transfers the packet to an output line corresponding to the path information;
The route controller is
A forwarding table control unit that extracts part or all of the information included in the packet header and searches for a search condition using this as a search key;
Based on the search key, a forwarding table for outputting information related to a physical position where the search condition is stored in the memory;
A data transfer apparatus comprising: a path information table control unit that searches for the path information from the path information table based on information on the physical position that stores path information corresponding to the search condition stored in the physical position Because
The forwarding table is stored in an array composed of a plurality of physical banks having the same search bit width,
The forwarding table control unit
When determining the route of the input packet, a physical bank to be searched is determined by performing a predetermined function operation on the search key extracted from the information included in the packet header of the packet, and the search target by the search key is determining the physical bank also should contain information about the physical location of the path information table accommodating the search conditions when creating a certain retrieval condition in the forwarding table, and a function device for performing the function operation in order,
A hash value which is an output value of the function part, and a register indicating a physical bank number corresponding to the hash value ;
A data transfer apparatus for instructing a search by the search key to the physical bank corresponding to the physical bank number corresponding to the hash value converted by the register.
上記フォワーディングテーブル制御部が、
上記フォワーディングテーブルが収容する上記検索条件を生成する検索条件生成部と、
上記フォワーディングテーブルに対し、上記検索キーに対応する上記物理的位置に関する情報を検索する時に検索コマンドを生成し、上記フォワーディングテーブルに上記検索条件を収容する時には書き込みコマンドを生成するコマンド制御部と、
上記フォワーディングテーブルに対し、上記検索キーに対応する上記物理的位置に関する情報を検索する時に検索すべき物理バンクを決定し、上記検索条件から収容すべき物理バンクを決定する物理バンク決定部とからなることを特徴とする請求項1記載のデータ転送装置。
The forwarding table control unit
A search condition generation unit that generates the search conditions contained in the forwarding table;
A command control unit that generates a search command when searching for information related to the physical position corresponding to the search key with respect to the forwarding table, and generates a write command when accommodating the search condition in the forwarding table;
A physical bank determining unit that determines a physical bank to be searched when searching for information on the physical position corresponding to the search key with respect to the forwarding table, and determines a physical bank to be stored from the search condition; The data transfer device according to claim 1.
上記物理バンク決定部が、
上記検索キー或いは上記検索条件を入力とし、
上記検索キーに対応する上記物理的位置に関する情報を検索する時に検索すべき物理バンクの番号を示す値を出力し、さらに上記検索条件から収容すべき物理バンクの番号を示す番号を出力する上記関数部と、
上記関数部からの出力値に対応する物理バンクの番号を示すレジスタと、
上記出力値を該レジスタに示される物理バンクの番号に変換し、変換値が示す物理バンクに対して検索または登録を指示する出力値変換部とからなることを特徴とする請求項2記載のデータ転送装置。
The physical bank determination unit
Using the search key or the search condition as input,
The function for outputting a value indicating the number of a physical bank to be searched when searching for information on the physical position corresponding to the search key, and further outputting a number indicating the number of a physical bank to be accommodated from the search condition And
A register indicating a physical bank number corresponding to an output value from the function part;
3. The data according to claim 2, further comprising: an output value converting unit that converts the output value into a physical bank number indicated in the register and instructs the physical bank indicated by the converted value to be searched or registered. Transfer device.
上記レジスタが、
データ転送装置の外部に接続される端末から設定可能であり、該端末から上記レジスタの状態を参照可能であることを特徴とする請求項3記載のデータ転送装置。
The above register is
4. The data transfer device according to claim 3, wherein the data transfer device can be set from a terminal connected to the outside of the data transfer device, and the status of the register can be referred to from the terminal.
JP2004349265A 2004-12-02 2004-12-02 Data transfer device Expired - Fee Related JP4622490B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004349265A JP4622490B2 (en) 2004-12-02 2004-12-02 Data transfer device
US11/211,570 US7529251B2 (en) 2004-12-02 2005-08-26 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004349265A JP4622490B2 (en) 2004-12-02 2004-12-02 Data transfer device

Publications (3)

Publication Number Publication Date
JP2006165603A JP2006165603A (en) 2006-06-22
JP2006165603A5 JP2006165603A5 (en) 2007-12-27
JP4622490B2 true JP4622490B2 (en) 2011-02-02

Family

ID=36575685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004349265A Expired - Fee Related JP4622490B2 (en) 2004-12-02 2004-12-02 Data transfer device

Country Status (2)

Country Link
US (1) US7529251B2 (en)
JP (1) JP4622490B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407705C (en) * 2006-04-12 2008-07-30 华为技术有限公司 Router control method and system
JP4353239B2 (en) * 2006-11-22 2009-10-28 ソニー株式会社 Contact information registration method, node and distributed hash table
JP5467558B2 (en) * 2009-09-09 2014-04-09 アラクサラネットワークス株式会社 Network relay device and memory control method
US8959291B2 (en) * 2010-06-04 2015-02-17 Lsi Corporation Two-port memory capable of simultaneous read and write
JP5480056B2 (en) * 2010-07-30 2014-04-23 アラクサラネットワークス株式会社 Packet transfer device, packet transfer device management system, and packet transfer device management method
JP2013187601A (en) * 2012-03-06 2013-09-19 Sony Corp Router and method of supplying power to memory unit in router
JP6322592B2 (en) * 2015-02-17 2018-05-09 アラクサラネットワークス株式会社 Transfer device and recovery control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06261078A (en) * 1993-03-03 1994-09-16 Hitachi Ltd Table retrieval method and router
JP2003304278A (en) * 2002-04-08 2003-10-24 Hitachi Ltd Flow detector and packet transfer device having flow detecting function
JP2004152239A (en) * 2002-11-01 2004-05-27 Matsushita Electric Ind Co Ltd File management apparatus, file management method and program
JP2004185792A (en) * 2002-11-20 2004-07-02 Sony Corp Data retrieval device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5633858A (en) * 1994-07-28 1997-05-27 Accton Technology Corporation Method and apparatus used in hashing algorithm for reducing conflict probability
US6493347B2 (en) * 1996-12-16 2002-12-10 Juniper Networks, Inc. Memory organization in a switching device
US6735670B1 (en) * 2000-05-12 2004-05-11 3Com Corporation Forwarding table incorporating hash table and content addressable memory
US7069372B1 (en) * 2001-07-30 2006-06-27 Cisco Technology, Inc. Processor having systolic array pipeline for processing data packets
JP2003110602A (en) * 2001-09-28 2003-04-11 Ando Electric Co Ltd Mpls packet statistical processing method and apparatus
DE10216769A1 (en) * 2002-04-15 2003-11-06 Schott Glas Method for supporting shelf in domestic refrigerator or freezer has support elements slideably attached to vertical rails on sides of appliance
US7308505B2 (en) * 2003-12-17 2007-12-11 International Business Machines Corporation Method, system and program product for facilitating forwarding of data packets through a node of a data transfer network using multiple types of forwarding tables
US7290084B2 (en) * 2004-11-02 2007-10-30 Integrated Device Technology, Inc. Fast collision detection for a hashed content addressable memory (CAM) using a random access memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06261078A (en) * 1993-03-03 1994-09-16 Hitachi Ltd Table retrieval method and router
JP2003304278A (en) * 2002-04-08 2003-10-24 Hitachi Ltd Flow detector and packet transfer device having flow detecting function
JP2004152239A (en) * 2002-11-01 2004-05-27 Matsushita Electric Ind Co Ltd File management apparatus, file management method and program
JP2004185792A (en) * 2002-11-20 2004-07-02 Sony Corp Data retrieval device

Also Published As

Publication number Publication date
JP2006165603A (en) 2006-06-22
US20060123136A1 (en) 2006-06-08
US7529251B2 (en) 2009-05-05

Similar Documents

Publication Publication Date Title
US6633565B1 (en) Apparatus for and method of flow switching in a data communications network
JP3645734B2 (en) Network relay device and network relay method
EP2019360B1 (en) Data processing apparatus and data transfer method
US7124200B2 (en) Routing apparatus
JP4483535B2 (en) Network equipment
JP4542539B2 (en) Route lookup engine
US7286534B2 (en) SRAM based cache for DRAM routing table lookups
EP2523402A1 (en) Communication system, control apparatus, processing rule setting method, packet transmitting method and program
US7327744B2 (en) Fibre channel forwarding information base
JP2006313949A (en) Packet transfer apparatus
WO2013054344A2 (en) Method and apparatus for end-end communication and inter-domain routing in omnipresent ethernet networks with an option to migrate to mpls-tp
JP2006295937A (en) Frame filtering at input port of switch
US7529251B2 (en) Data transfer device
US20130250954A1 (en) On-chip router and multi-core system using the same
US8331368B2 (en) Method of processing information packets and telecommunication apparatus using the same
JP4758302B2 (en) Network node
US20120106555A1 (en) Low latency carrier class switch-router
JP3645735B2 (en) Network relay device and network relay method
JP3228249B2 (en) Router device
US20060274654A1 (en) Range matching
JP3645733B2 (en) Network relay device and network relay method
US8144705B1 (en) Systems and methods for recursively accessing a multi-bank SRAM
JP2005333220A (en) Network node device
JP2008085886A (en) Packet processing apparatus, packet processing method, and packet processing program
JP2006340119A (en) Network device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060425

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071112

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100125

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100608

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100907

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20100915

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

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

R151 Written notification of patent or utility model registration

Ref document number: 4622490

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20131112

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees