JP4607003B2 - Packet processing device - Google Patents

Packet processing device Download PDF

Info

Publication number
JP4607003B2
JP4607003B2 JP2005362276A JP2005362276A JP4607003B2 JP 4607003 B2 JP4607003 B2 JP 4607003B2 JP 2005362276 A JP2005362276 A JP 2005362276A JP 2005362276 A JP2005362276 A JP 2005362276A JP 4607003 B2 JP4607003 B2 JP 4607003B2
Authority
JP
Japan
Prior art keywords
packet
fixed
packet processing
length
information
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
JP2005362276A
Other languages
Japanese (ja)
Other versions
JP2007166421A (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.)
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 JP2005362276A priority Critical patent/JP4607003B2/en
Publication of JP2007166421A publication Critical patent/JP2007166421A/en
Application granted granted Critical
Publication of JP4607003B2 publication Critical patent/JP4607003B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

この発明は、パケットの宛先、発信元等の情報を解析するパケット処理装置に関するものである。   The present invention relates to a packet processing apparatus that analyzes information such as a packet destination and a transmission source.

IP等のパケットを処理するルータ装置等では、パケット処理装置の主構成要素であるパケット処理モジュールを装備し、そのパケット処理モジュールが解析したパケットの宛先、発信元等の情報に従ってパケットの転送処理を行っている。   A router device or the like that processes packets such as IP is equipped with a packet processing module that is a main component of the packet processing device, and performs packet transfer processing according to information such as the destination and source of the packet analyzed by the packet processing module. Is going.

近年、データの高速化に伴い、ルータ装置等では、転送速度が上昇する傾向にあるが、パケット処理モジュールでの処理速度に限界があることから、高速入力されるパケットを処理する手法として、高速なパケット流をディストリビュータにて複数の低速パケット流に分散し、それを並列配置した複数のパケット処理モジュールにて並列処理する方法を採用することになる。その際、IP等のパケットが可変長であること等に起因し、並列に配置されたパケット処理モジュールでの処理時間にばらつきが発生するので、従来では、並列処理後にパケットの順序補正を行うようにしている(例えば、特許文献1)。   In recent years, with the increase in data speed, the transfer speed tends to increase in router devices, etc., but there is a limit to the processing speed in the packet processing module. A method is adopted in which a packet stream is distributed into a plurality of low-speed packet streams by a distributor and processed in parallel by a plurality of packet processing modules arranged in parallel. At this time, the processing time of the packet processing modules arranged in parallel varies due to the variable length of packets such as IP, etc., so conventionally, the order of packets is corrected after parallel processing. (For example, Patent Document 1).

すなわち、特許文献1では、パケットの順序補正を実現する方法として、ディストリビュータにてパケット流を分散する際に一連番号を付与し、並列処理後に、順序補正手段にてディストリビュータが付与した一連番号に従って並べ替えて出力する方法が提案されている。   That is, in Patent Document 1, as a method for realizing packet order correction, a serial number is assigned when distributing a packet stream at a distributor, and after parallel processing, the packets are arranged according to the serial number assigned by the distributor by an order correction unit. There has been proposed a method of outputting in place.

特開2004−158903号公報(パケット処理装置)JP 2004-158903 A (Packet Processing Device)

以上のように、従来のパケット処理装置では、並列にパケット処理を行う場合に、IP等のパケットが可変長であること等に起因して並列に配置した各パケット処理モジュールでの処理時間が固定時間でないために、並列処理後のパケット順序補正が必要となり、一連番号付与手段や順序補正手段等の特別な回路が必要であった。   As described above, in the conventional packet processing apparatus, when packet processing is performed in parallel, the processing time in each packet processing module arranged in parallel is fixed due to the variable length of packets such as IP. Since it is not time, it is necessary to correct the packet order after parallel processing, and special circuits such as serial number assigning means and order correcting means are required.

この発明は、上記に鑑みてなされたものであり、並列に配置した各パケット処理モジュールでの処理時間を固定時間化する手段を設けることで、一連番号付与手段や順序補正手段等の特別な手段を設けることなく並列パケット処理を実現するパケット処理装置を得ることを目的とする。   The present invention has been made in view of the above, and by providing means for fixing the processing time in each packet processing module arranged in parallel, special means such as serial number assigning means and order correcting means. It is an object of the present invention to obtain a packet processing device that realizes parallel packet processing without providing a packet.

また、この発明は、一連番号付与手段や順序補正手段等の特別な手段を設けることなく並列パケット処理を実現するともに、並列に配置するパケット処理モジュール数の低減を可能にするパケット処理装置を得ることを目的とする。   In addition, the present invention provides a packet processing apparatus that realizes parallel packet processing without providing special means such as serial number assigning means and order correction means, and that can reduce the number of packet processing modules arranged in parallel. For the purpose.

上述した目的を達成するために、この発明は、可変長パケットの転送先判定を含むパケット処理を実施するパケット処理モジュールの複数個を並列に配置するパケット処理装置において、入力されるパケット流の転送過程で前記各可変長パケットから前記パケット処理を実施するために必要とされるパケット情報を抽出するパケット情報抽出手段と、前記パケット情報抽出手段にて抽出された前記パケット情報にオーバーヘッドを付加して固定長セルを生成する固定長セル化手段と、前記固定長セル化手段にて生成された固定長セルを並列に配置される前記パケット処理モジュールの複数個に順番にそれぞれの入力速度に調整して分配する分配手段と、前記パケット情報抽出手段から入力されるパケット流に、前記固定長セル化手段から前記パケット処理モジュールまでの処理時間を考慮した遅延処理を施す固定遅延手段と、前記パケット処理モジュールの複数個にて判定された転送先の情報を前記固定遅延手段から入力する対応するパケットに挿入するパケット情報挿入手段と、を備え、各パケット処理モジュールは、パケット処理の結果である前記転送先の情報を前記固定長セルに含まれるオーバーヘッドに設定し、前記転送先の情報がオーバーヘッドに設定された固定長セルを前記パケット情報挿入手段に出力する、ことを特徴とする。 In order to achieve the above-described object, the present invention relates to a transfer of an input packet stream in a packet processing device in which a plurality of packet processing modules that perform packet processing including determination of a transfer destination of a variable length packet are arranged in parallel. Packet information extraction means for extracting packet information required for performing the packet processing from each variable length packet in the process, and adding overhead to the packet information extracted by the packet information extraction means The fixed-length cell generating means for generating fixed-length cells and the fixed-length cells generated by the fixed-length cell converting means are adjusted in order to the respective input speeds in order for a plurality of the packet processing modules arranged in parallel. The fixed length cell converting means to the packet stream inputted from the packet information extracting means. A fixed delay means for performing delay processing in consideration of the processing time to the packet processing module, and a packet for inserting information on the transfer destination determined by a plurality of the packet processing modules into a corresponding packet input from the fixed delay means Each packet processing module sets the forwarding destination information, which is a result of packet processing, as overhead included in the fixed-length cell, and the forwarding destination information is set as overhead. The long cell is output to the packet information insertion means.

この発明によれば、入力される可変長パケットから転送先判定等のパケット処理に必要なヘッダ等の情報のみを固定長セル化し、それを並列に配置したパケット処理モジュールの複数個に分配するので、各パケット処理モジュールでの処理時間を固定時間化することができる。つまり、並列処理後のパケット順序補正が不要となる。   According to the present invention, only information such as a header necessary for packet processing such as forwarding destination determination is converted into fixed-length cells from an input variable-length packet and distributed to a plurality of packet processing modules arranged in parallel. The processing time in each packet processing module can be fixed. That is, it is not necessary to correct the packet order after parallel processing.

この発明によれば、一連番号付与手段や順序補正手段等の特別な手段を設けることなく並列パケット処理を実現するパケット処理装置が得られるという効果を奏する。   According to the present invention, it is possible to obtain a packet processing apparatus that realizes parallel packet processing without providing special means such as serial number assigning means and order correcting means.

以下に図面を参照して、この発明にかかるパケット処理装置の好適な実施の形態を詳細に説明する。   Exemplary embodiments of a packet processing apparatus according to the present invention will be explained below in detail with reference to the drawings.

実施の形態1.
図1は、この発明の実施の形態1によるパケット処理装置の構成を示すブロック図である。図1に示すように、実施の形態1によるパケット処理装置1は、パケット情報抽出部2と、パケット遅延回路3aと、パケット情報挿入部4aと、固定長セル化部5と、分配手段であるディストリビュータ6と、並列に配置されたパケット処理モジュール7−1〜7−xとを備えている。ディストリビュータ6は、分配回路6aと、パケット処理モジュール7(1〜x)と1対1の関係で配置される速度変換回路6b(1〜x)とを備えている。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a packet processing apparatus according to Embodiment 1 of the present invention. As shown in FIG. 1, the packet processing device 1 according to the first embodiment is a packet information extraction unit 2, a packet delay circuit 3a, a packet information insertion unit 4a, a fixed length cell conversion unit 5, and a distribution means. Distributor 6 and packet processing modules 7-1 to 7-x arranged in parallel are provided. The distributor 6 includes a distribution circuit 6a and a speed conversion circuit 6b (1-x) arranged in a one-to-one relationship with the packet processing module 7 (1-x).

パケット情報抽出部2は、外部から入力される可変長の各パケットをパケット遅延回路3aに送出する過程で、各入力パケットから転送先判定等のパケット処理を実施するのに必要なヘッダ等の情報(以降「パケット情報」と記す)を抽出し、それを固定長セル化部5に出力する。   The packet information extraction unit 2 sends information such as headers necessary for performing packet processing such as forwarding destination determination from each input packet in the process of sending each variable-length packet input from the outside to the packet delay circuit 3a. (Hereinafter referred to as “packet information”) is extracted and output to the fixed-length cell converting unit 5.

パケット遅延回路3aは、例えばメモリを備え、パケット情報抽出部2から送られてくる各パケットに、固定長セル化部5、ディストリビュータ6及びパケット処理モジュール7(7−1〜7−x)での合計処理時間(固定遅延時間)だけの遅延処理を施し、順にパケット情報挿入部4aに出力する。   The packet delay circuit 3a includes, for example, a memory, and each packet sent from the packet information extraction unit 2 is sent to the fixed length cell conversion unit 5, the distributor 6 and the packet processing module 7 (7-1 to 7-x). Delay processing for the total processing time (fixed delay time) is performed, and the packets are sequentially output to the packet information insertion unit 4a.

パケット情報挿入部4aは、パケット遅延回路3aにて遅延処理が施された各パケットにパケット処理モジュール7(1〜x)にて処理された当該パケットの転送先等の情報を挿入して各出力パケットを生成し、外部に送出する。   The packet information insertion unit 4a inserts information such as the transfer destination of the packet processed by the packet processing module 7 (1-x) into each packet subjected to the delay processing by the packet delay circuit 3a, and outputs each packet. Generate a packet and send it out.

さて、固定長セル化部5は、パケット情報抽出部2から入力する各パケット情報にオーバーヘッドを付加して固定長のセルに変成し、それをディストリビュータ6に与える。   Now, the fixed-length cell converting unit 5 adds overhead to each packet information input from the packet information extracting unit 2 to transform it into a fixed-length cell, and gives it to the distributor 6.

ディストリビュータ6では、まず、分配回路6aにて、固定長セル化部5が生成した固定長セルを速度変換回路6b(1〜x)に順番に分配する。速度変換回路6b(1〜x)では、入力する固定長セルを対応するパケット処理モジュール7(1〜x)の入力速度に変換して出力する。   In the distributor 6, first, the distribution circuit 6a distributes the fixed-length cells generated by the fixed-length cell converting unit 5 to the speed conversion circuits 6b (1 to x) in order. In the speed conversion circuit 6b (1-x), the fixed-length cell to be input is converted to the input speed of the corresponding packet processing module 7 (1-x) and output.

パケット処理モジュール7−1〜7−xは、それぞれ、いわゆる連想メモリ(CAM)を備え、固定長セルに含まれるパケット情報からパケットの転送先判定等を行い、その転送先等の判定結果を固定長セルに含まれるオーバーヘッドに設定してパケット情報挿入部4に与える。   Each of the packet processing modules 7-1 to 7-x includes a so-called associative memory (CAM), performs packet transfer destination determination from packet information included in the fixed-length cell, and fixes the determination result of the transfer destination and the like. The overhead included in the long cell is set and given to the packet information insertion unit 4.

次に、図1を参照しつつ図2に沿って、以上のように構成されるパケット処理装置1の動作について説明する。なお、図2は、図1に示すパケット処理装置の動作を説明するタイムチャートである。ここでは、理解を容易にするため、パケット処理モジュール7−1〜7−xのうち、パケット処理モジュール7−1,7−2の2つを取り上げて説明する。   Next, the operation of the packet processing apparatus 1 configured as described above will be described along FIG. 2 with reference to FIG. FIG. 2 is a time chart for explaining the operation of the packet processing apparatus shown in FIG. Here, in order to facilitate understanding, two packet processing modules 7-1 and 7-2 among the packet processing modules 7-1 to 7-x will be described.

パケット情報抽出部2への入力パケットは、図2(1)に示すように、例えばパケット(イ)とパケット(ロ)の2つであり、それぞれ長さが異なる。パケット(イ)のパケット情報はPh1であり、パケット(ロ)のパケット情報はPh2であるとしている。   As shown in FIG. 2A, there are two packets input to the packet information extraction unit 2, for example, a packet (A) and a packet (B), each having a different length. The packet information of packet (a) is Ph1, and the packet information of packet (b) is Ph2.

パケット情報抽出部2は、パケット(イ)のパケット情報Ph1と、パケット(ロ)のパケット情報Ph2とをそれぞれ抽出し、固定長セル化部5に与える(図2(2))。   The packet information extraction unit 2 extracts the packet information Ph1 of the packet (b) and the packet information Ph2 of the packet (b), and gives them to the fixed-length cell unit 5 (FIG. 2 (2)).

固定長セル化部5は、パケット情報Ph1にオーバーヘッドa1を付加して固定長セル化し、パケット情報Ph2にオーバーヘッドa2を付加して固定長セル化する(図2(3))。これらは、速度変換回路6b1,6b2にて速度変換処理を受ける。   The fixed-length cell converting unit 5 adds the overhead a1 to the packet information Ph1 to form a fixed-length cell, and adds the overhead a2 to the packet information Ph2 to form a fixed-length cell (FIG. 2 (3)). These are subjected to speed conversion processing in the speed conversion circuits 6b1 and 6b2.

したがって、パケット処理モジュール7−1には、長さが変更されたパケット情報Ph1及びオーバーヘッドb1からなる固定長セルが入力され(図2(4))、パケット処理モジュール7−2には、長さが変更されたパケット情報Ph2及びオーバーヘッドb2からなる固定長セルが入力される(図2(5))。 Therefore, the packet processing module 7-1 receives the fixed-length cell including the packet information Ph1 whose length has been changed and the overhead b1 (FIG. 2 (4)), and the packet processing module 7-2 receives the length. Is input as a fixed-length cell composed of packet information Ph2 and overhead b2 (FIG. 2 ( 5)).

パケット処理モジュール7−1,7−2では、固定長セルにおけるパケット情報Ph1,Ph2を元に転送先判定等のパケット処理を固定時間内で実施し、符号を違えたオーバーヘッドc1,c2に処理結果である転送先情報等を設定してパケット情報挿入部4aに出力する(図2(6)(7))。   In the packet processing modules 7-1 and 7-2, packet processing such as forwarding destination determination is performed within a fixed time based on the packet information Ph 1 and Ph 2 in the fixed-length cell, and the processing result is obtained in overhead c 1 and c 2 with different signs Is set and output to the packet information insertion unit 4a (FIGS. 2 (6) and (7)).

パケット遅延回路3aでは、パケット処理モジュール7−1,7−2が処理結果を出力するタイミングに合わせて、入力パケット(イ)(ロ)がパケット情報挿入部4aに到達するように遅延処理を施すので、パケット情報挿入部4aでは、入力パケット(イ)内のパケット情報Ph1に転送先情報等を挿入したオーバーヘッドd1を付加して入力パケット(イ)に対する出力パケット(ハ)を生成し、引き続いて入力パケット(ロ)内のパケット情報Ph2に転送先情報等を挿入したオーバーヘッドd2を付加して入力パケット(ロ)に対する出力パケット(ニ)を生成し、それぞれを連続して出力することができる(図2(8))。なお、パケット情報挿入部4aでは、オーバーヘッドd1,d2を付加する場合には、速度調整等も実施する。   In the packet delay circuit 3a, delay processing is performed so that the input packets (a) and (b) reach the packet information insertion unit 4a in accordance with the timing at which the packet processing modules 7-1 and 7-2 output the processing results. Therefore, the packet information insertion unit 4a generates the output packet (c) for the input packet (b) by adding the overhead d1 in which the transfer destination information is inserted to the packet information Ph1 in the input packet (b), and subsequently An output packet (d) for the input packet (b) can be generated by adding the overhead d2 in which the transfer destination information is inserted to the packet information Ph2 in the input packet (b), and each can be continuously output ( FIG. 2 (8)). The packet information insertion unit 4a also performs speed adjustment and the like when adding overhead d1 and d2.

以上のように、実施の形態1によれば、可変長のパケットに対して、パケット処理で必要となるヘッダ情報等のみを固定長セル化し、それを並列に配置したパケット処理モジュールに分配してパケット処理時間を固定時間化し、パケットの入力順固定遅延後にパケット処理結果が出力されるようにしたので、特別なパケット順序補正回路を用意することなく、パケットの並列処理が可能となる。   As described above, according to the first embodiment, for variable-length packets, only header information required for packet processing is converted into fixed-length cells and distributed to packet processing modules arranged in parallel. Since the packet processing time is fixed and the packet processing result is output after the packet input order fixed delay, the packets can be processed in parallel without preparing a special packet order correction circuit.

ここで、入力パケット速度をZ、パケット処理モジュールの処理速度をY、パケット処理モジュール並列配置数をX、固定長セル化するセルサイズを64バイトとした場合、Z=Y×Xとなるようにすれば、最短パケット(64バイト)のみが連続して入力された場合でも、ディストリビュータでは、特別なバッファを用意することなく、固定長セルを順番に分配しパケット処理モジュールの入力速度に速度変換を実施するのみで、パケット処理モジュールの処理速度Yに対するX倍のパケット処理(ワイヤレート処理)が可能となるので、簡易に装置全体としてのパケット処理能力を向上することができる。   Here, when the input packet rate is Z, the processing rate of the packet processing module is Y, the number of parallel arrangements of the packet processing modules is X, and the cell size for making the fixed-length cell is 64 bytes, Z = Y × X. Then, even when only the shortest packet (64 bytes) is input continuously, the distributor distributes fixed-length cells in order and converts the speed to the input speed of the packet processing module without preparing a special buffer. Only by performing it, packet processing (wire rate processing) X times the processing speed Y of the packet processing module becomes possible, so that the packet processing capability of the entire apparatus can be easily improved.

実施の形態2.
図3は、この発明の実施の形態2によるパケット処理装置の構成を示すブロック図である。なお、図3では、図1(実施の形態1)に示した構成要素と同一ないしは同等である構成要素には同一の符号が付されている。ここでは、実施の形態2に関わる部分を中心に説明する。
Embodiment 2. FIG.
FIG. 3 is a block diagram showing the configuration of the packet processing apparatus according to the second embodiment of the present invention. In FIG. 3, the same reference numerals are given to components that are the same as or equivalent to those shown in FIG. 1 (Embodiment 1). Here, the description will be focused on the portion related to the second embodiment.

実施の形態1では、ワイヤーレート処理を実現するために、Z=Y×Xとなるようにパケット処理モジュールの所定数を並列配置する場合を示したが、この実施の形態2では、Z>Y×Xとなるようにパケット処理モジュールの所定数を並列配置する場合の構成例を示す。この場合には、パケット処理モジュールの並列配置数は、実施の形態1よりも少なくすることができる。   In the first embodiment, a case has been described in which a predetermined number of packet processing modules are arranged in parallel so as to satisfy Z = Y × X in order to realize wire rate processing, but in this second embodiment, Z> Y A configuration example when a predetermined number of packet processing modules are arranged in parallel so as to be × X is shown. In this case, the number of parallel arrangements of packet processing modules can be reduced as compared with the first embodiment.

図3に示すように、実施の形態2によるパケット処理装置10では、図1(実施の形態1)に示した構成において、符号を代えたパケット情報抽出部11、パケット遅延回路3b、パケット情報挿入部4b及びディストリビュータ12が設けられている。   As shown in FIG. 3, in the packet processing apparatus 10 according to the second embodiment, in the configuration shown in FIG. 1 (first embodiment), the packet information extraction unit 11, the packet delay circuit 3b, and the packet information insertion with the signs changed. A part 4b and a distributor 12 are provided.

ディストリビュータ12では、分配回路6aと速度変換回路6b(1〜x)との間に、バッファ12a(1〜x)が設けられ、バッファ12a(1〜x)にセルの廃棄が発生した場合にパケット情報抽出部11に対してパケット廃棄指示信号13を出力するようになっている。パケット情報抽出部11は、パケット情報抽出部2の機能に加えて、パケット廃棄指示信号13を受けて、入力パケットのうち指定されたパケットの廃棄処理を行うようになっている。   In the distributor 12, a buffer 12a (1 to x) is provided between the distribution circuit 6a and the speed conversion circuit 6b (1 to x), and a packet is discarded when cell discard occurs in the buffer 12a (1 to x). A packet discard instruction signal 13 is output to the information extraction unit 11. In addition to the function of the packet information extraction unit 2, the packet information extraction unit 11 receives a packet discard instruction signal 13 and performs a discard process for a specified packet among the input packets.

パケット遅延回路3bは、固定遅延型ではなく、遅延時間を可変操作できるFIFO型の遅延回路である。パケット情報挿入部4bは、パケット処理モジュール7(1〜x)から処理結果が入力すると、それに応答してパケット遅延回路3bのFIFOからパケットを読み出して出力パケットを生成する。   The packet delay circuit 3b is not a fixed delay type but a FIFO type delay circuit capable of variably operating the delay time. When the processing result is input from the packet processing module 7 (1 to x), the packet information insertion unit 4b reads the packet from the FIFO of the packet delay circuit 3b in response to it and generates an output packet.

パケット処理モジュールの並列配置数を削減する場合、削減する数は、平均パケット長等を考慮して算出する。例えば、平均パケット長を128バイトとすると、並列配置されたパケット処理モジュールでは、平均すると、入力パケットの128バイト内の時間で、固定長セル(今の例では64バイト)を1つ処理すればよいので、並列配置数を実施の形態1の最大半分程度まで削減することが可能である。   When reducing the number of packet processing modules arranged in parallel, the number to be reduced is calculated in consideration of the average packet length and the like. For example, if the average packet length is 128 bytes, the packet processing modules arranged in parallel can process one fixed-length cell (64 bytes in this example) in the time within 128 bytes of the input packet on average. Since it is good, it is possible to reduce the number of parallel arrangements to about half of the maximum in the first embodiment.

但し、一時的に平均パケット長以下のパケットが連続する場合には、パケット処理モジュールで輻輳することが考えられる。そのため、図3に示すように、ディストリビュータ12に、パケット処理モジュール7(1〜x)と1対1の関係でバッファ12a(1〜x)を用意し、パケット処理モジュール7(1〜x)で固定長セル処理が輻輳した場合、このバッファにて待ち合わせを行い、バッファ溢れを生じた場合にはパケットの廃棄処理を行って対応するようにしている。   However, if packets with an average packet length or shorter are temporarily continuous, it is conceivable that the packet processing module is congested. Therefore, as shown in FIG. 3, the distributor 12 is provided with a buffer 12a (1-x) in a one-to-one relationship with the packet processing module 7 (1-x), and the packet processing module 7 (1-x) When the fixed-length cell processing is congested, this buffer is used to wait, and when a buffer overflow occurs, a packet discard process is performed to cope with it.

次に、以上のように構成される実施の形態2によるパケット処理装置10の動作について説明する。   Next, the operation of the packet processing apparatus 10 according to the second embodiment configured as described above will be described.

パケット情報抽出部11は、外部から入力される各パケットをパケット遅延回路3bのFIFOに書き込む過程で、各入力パケットから転送先判定等のパケット処理を実施するのに必要なパケット情報を抽出し、それを固定長セル化部5に出力する。なお、パケット情報抽出部11は、入力されたパケットに対応する固定長セルのバッファ12a(1〜x)への書き込みが可能であることを判断した後、つまり、ディストリビュータ12から廃棄指示信号13の入力が無い場合に、その入力パケットをパケット遅延回路3bのFIFO型に書き込むようにしている。   The packet information extraction unit 11 extracts packet information necessary for performing packet processing such as forwarding destination determination from each input packet in the process of writing each packet input from the outside to the FIFO of the packet delay circuit 3b. It is output to the fixed-length cell unit 5. Note that the packet information extraction unit 11 determines that the fixed-length cell buffer 12a (1 to x) corresponding to the input packet can be written, that is, from the distributor 12, the discard instruction signal 13 When there is no input, the input packet is written into the FIFO type of the packet delay circuit 3b.

固定長セル化部5は、パケット情報抽出部11から入力する各パケット情報にオーバーヘッドを付加して固定長のセル(今の例では64バイト)に変成し、ディストリビュータ12に与える。   The fixed-length cell converting unit 5 adds overhead to each packet information input from the packet information extracting unit 11 to convert it into a fixed-length cell (64 bytes in the present example), and gives it to the distributor 12.

ディストリビュータ12では、分配回路6aが、固定長セル化部5が生成した固定長セルをパケット処理モジュール7(1〜x)と1対1の関係で配置されるバッファ12a(1〜x)に順に分配する。バッファ12a(1〜x)に分配された固定長セルは、対応する速度変換回路6b(1〜x)を介してパケット処理モジュール7(1〜x)に転送される。   In the distributor 12, the distribution circuit 6a sequentially places the fixed-length cells generated by the fixed-length cell unit 5 in the buffer 12a (1-x) arranged in a one-to-one relationship with the packet processing module 7 (1-x). Distribute. The fixed-length cells distributed to the buffer 12a (1-x) are transferred to the packet processing module 7 (1-x) via the corresponding speed conversion circuit 6b (1-x).

ここで、並列配置されたパケット処理モジュール7(1〜x)のトータルの固定長セル処理速度よりも、ディストリビュータ12に入力される固定長セル速度が大きい場合は、バッファ12a(1〜x)にて待ち合わせが実施され、パケット処理モジュール7(1〜x)での輻輳に対応する。   Here, when the fixed-length cell rate input to the distributor 12 is larger than the total fixed-length cell processing rate of the packet processing modules 7 (1-x) arranged in parallel, the buffer 12a (1-x) is stored in the buffer 12a (1-x). Waiting is performed to deal with congestion in the packet processing module 7 (1 to x).

しかし、バッファ12a(1〜x)は有限サイズであるので、バッファ12a(1〜x)にてバッファ溢れが発生する場合がある。その場合には、溢れた固定長セルは廃棄するとともに、対応するパケットを廃棄するため、パケット情報抽出部11に対してパケット廃棄指示信号13を発行する。パケット情報抽出部11では、パケット廃棄指示信号13で指定されたパケットをパケット遅延回路3bに送出せずに廃棄する。   However, since the buffer 12a (1 to x) has a finite size, a buffer overflow may occur in the buffer 12a (1 to x). In that case, the overflowed fixed-length cell is discarded, and a packet discard instruction signal 13 is issued to the packet information extraction unit 11 in order to discard the corresponding packet. The packet information extraction unit 11 discards the packet designated by the packet discard instruction signal 13 without sending it to the packet delay circuit 3b.

パケット情報挿入部4は、パケット処理モジュール7(1〜x)からの処理結果出力をトリガとして、パケット遅延回路3bのFIFOからパケットを読み出し、それにパケット処理モジュール7(1〜x)からの処理結果を挿入する。その際に、パケットに対してオーバーヘッドを付与する場合は、速度調整等も実施する。   The packet information insertion unit 4 reads out the packet from the FIFO of the packet delay circuit 3b using the processing result output from the packet processing module 7 (1-x) as a trigger, and the processing result from the packet processing module 7 (1-x). Insert. At that time, when overhead is added to the packet, speed adjustment and the like are also performed.

以上のように、実施の形態2によれば、ディストリビュータにパケット処理モジュール対応にバッファを用意し、パケット処理モジュールでの固定長セル処理の一時的輻輳を待ち合わせるようにし、バッファ溢れが生じた場合は対応するパケットの廃棄を行うようにしたので、実施の形態1に比べてパケット処理モジュールの並列配置数を削減できる。   As described above, according to the second embodiment, the buffer is prepared for the packet processing module in the distributor, and the temporary congestion of the fixed-length cell processing in the packet processing module is waited. When the buffer overflows, Since the corresponding packet is discarded, the number of packet processing modules arranged in parallel can be reduced as compared with the first embodiment.

実施の形態3.
図4は、この発明の実施の形態3によるパケット処理装置の構成を示すブロック図である。なお、図4では、図3(実施の形態2)に示した構成要素と同一ないしは同等である構成要素には同一の符号が付されている。ここでは、実施の形態3に関わる部分を中心に説明する。
Embodiment 3 FIG.
FIG. 4 is a block diagram showing a configuration of a packet processing apparatus according to Embodiment 3 of the present invention. In FIG. 4, the same or similar components as those shown in FIG. 3 (Embodiment 2) are denoted by the same reference numerals. Here, the description will be focused on the portion related to the third embodiment.

実施の形態2では、固定長セル処理が輻輳した場合に、ディストリビュータ内のバッファにて待ち合わせを行い、そのバッファも溢れた場合は、溢れた固定長セルを廃棄するとともに、対応するパケットを廃棄する方法を説明した。この方法では、廃棄されるパケットは、パケットの優先度等に関わらず廃棄されることになる。そこで、この実施の形態3では、パケット廃棄が起きた場合に取捨選択して廃棄できるようにし、高優先パケットの廃棄数を削減する構成例を示す。   In the second embodiment, when the fixed-length cell processing is congested, the buffer in the distributor waits, and when the buffer overflows, the overflowing fixed-length cell is discarded and the corresponding packet is discarded. Explained the method. In this method, a discarded packet is discarded regardless of the priority of the packet. Therefore, in the third embodiment, a configuration example is shown in which when the packet discard occurs, it can be selected and discarded, and the number of discarded high priority packets is reduced.

すなわち、図4に示す実施の形態3によるパケット処理装置20は、図3(実施の形態2)に示した構成において、ディストリビュータ12に代えてディストリビュータ21が設けられている。ディストリビュータ21では、優先度判定回路21aが追加され、符号を代えたバッファ21b(1〜x)には閾値22が設けられている。   That is, the packet processing device 20 according to the third embodiment shown in FIG. 4 is provided with a distributor 21 instead of the distributor 12 in the configuration shown in FIG. 3 (second embodiment). In the distributor 21, a priority determination circuit 21a is added, and a threshold value 22 is provided in the buffer 21b (1 to x) whose code is changed.

優先度判定回路21は、パケットの優先度を固定長セル内のパケット情報(サービスタイプフィールド等)から判断する。パケットの廃棄処理では、優先度判定回路21にて判断された優先度を参照して廃棄対象パケットを決定する。 The priority determination circuit 21 a determines the priority of the packet from the packet information of a fixed length in the cell (service-type field, etc.). In discard processing of the packet determines the discarded packet with reference to the priorities determined by the priority determination circuit 21 a.

次に、以上のように構成される実施の形態3によるパケット処理装置20で実施されるパケットの廃棄処理について説明する。   Next, a packet discarding process performed by the packet processing apparatus 20 according to the third embodiment configured as described above will be described.

実施の形態2にて説明したように、並列配置されたパケット処理モジュール7(1〜x)のトータルの固定長セル処理速度よりも、ディストリビュータ21に入力される固定長セル速度が大きい場合は、バッファ21b(1〜x)にて待ち合わせが実施され、パケット処理モジュール7(1〜x)の輻輳に対応する。   As described in the second embodiment, when the fixed-length cell rate input to the distributor 21 is larger than the total fixed-length cell processing rate of the packet processing modules 7 (1 to x) arranged in parallel, Waiting is performed in the buffer 21b (1-x), which corresponds to the congestion of the packet processing module 7 (1-x).

この実施の形態3では、ディストリビュータ21は、バッファ21b(1〜x)にて待ち合わせを実施する際に、バッファ21b(1〜x)の蓄積量が、閾値22を超えた場合は、優先度判定回路21aにて低優先と判断された固定長セルはバッファ21b(1〜x)への分配を行わずに廃棄する。   In the third embodiment, when the distributor 21 waits in the buffer 21b (1-x), if the accumulated amount of the buffer 21b (1-x) exceeds the threshold 22, the priority determination The fixed-length cell determined to be low priority by the circuit 21a is discarded without being distributed to the buffer 21b (1-x).

そして、ディストリビュータ21は、対応する入力パケットを廃棄するため、パケット情報抽出部11に対しパケット廃棄指示信号13を発行する。パケット情報抽出部11では、パケット廃棄指示信号13にて指定された入力パケットを、ハケット遅延回路3bのFIFOに書き込まず廃棄する。   Then, the distributor 21 issues a packet discard instruction signal 13 to the packet information extraction unit 11 in order to discard the corresponding input packet. The packet information extraction unit 11 discards the input packet specified by the packet discard instruction signal 13 without writing it into the FIFO of the hacket delay circuit 3b.

このとき、低優先の廃棄を実施してもさらに、バッファ21b(1〜x)にてバッファ溢れが発生する場合は、溢れた固定長セルは廃棄するとともに、対応するパケットを廃棄するため、パケット情報抽出部11に対してパケット廃棄指示信号13を発行し、同様に対応したパケットはハケット遅延回路3bのFIFOに書き込まず廃棄する。   At this time, if a buffer overflow occurs in the buffer 21b (1-x) even if the low-priority discarding is performed, the overflowing fixed-length cell is discarded and the corresponding packet is discarded. A packet discard instruction signal 13 is issued to the information extraction unit 11, and the corresponding packet is discarded without being written in the FIFO of the hacket delay circuit 3b.

なお、バッファ21b(1〜x)に設ける閾値は、図4では、1つのみとしているが、閾値を複数用意し、優先度判定回路21aにて複数優先度を判定し、優先度毎に廃棄制御を実施してもよい。   Although only one threshold is provided in the buffer 21b (1 to x) in FIG. 4, a plurality of thresholds are prepared, the plurality of priorities are determined by the priority determination circuit 21a, and discarded for each priority. Control may be implemented.

以上のように、実施の形態3によれば、ディストリビュータ内のバッファに閾値を用意し、優先度判定回路にてパケットの優先度を判断し、低優先のパケットから優先的に廃棄するようにしたので、高優先パケットの廃棄数を削減することができる。   As described above, according to the third embodiment, a threshold value is prepared in the buffer in the distributor, the priority of the packet is determined by the priority determination circuit, and the low priority packet is discarded preferentially. As a result, the number of high-priority packets discarded can be reduced.

実施の形態4.
図5は、この発明の実施の形態4によるパケット処理装置の構成を示すブロック図である。なお、図5では、図4(実施の形態3)に示した構成要素と同一ないしは同等である構成要素には同一の符号が付されている。ここでは、実施の形態4に関わる部分を中心に説明する。
Embodiment 4 FIG.
FIG. 5 is a block diagram showing a configuration of a packet processing apparatus according to Embodiment 4 of the present invention. In FIG. 5, the same or similar components as those shown in FIG. 4 (Embodiment 3) are denoted by the same reference numerals. Here, the description will be focused on the portion related to the fourth embodiment.

実施の形態3では、パケットヘッダのサービスタイプフィールド等に、明示的に優先度が表示されていることを前提として、優先度判定をディストリビュータ内で実施する場合を説明したが、この実施の形態4では、それらの表示がない場合に、パケット処理モジュールでのパケット処理結果による優先度判定を利用して同様のパケット廃棄処理を実施する構成例を示す。   In the third embodiment, a case has been described in which priority determination is performed in the distributor on the assumption that the priority is explicitly displayed in the service type field or the like of the packet header. Then, when there is no such display, the example of a structure which implements the same packet discard process using priority determination by the packet processing result in a packet processing module is shown.

すなわち、図5に示す実施の形態4によるパケット処理装置30は、図4(実施の形態3)に示した構成において、ディストリビュータ12に代えてディストリビュータ31が設けられ、また、パケット処理モジュール7(1〜x)に代えてパケット処理モジュール32(1〜x)が設けられている。   That is, the packet processing device 30 according to the fourth embodiment shown in FIG. 5 is provided with a distributor 31 instead of the distributor 12 in the configuration shown in FIG. 4 (third embodiment), and the packet processing module 7 (1 ˜x), packet processing modules 32 (1˜x) are provided.

ディストリビュータ31では、ディストリビュータ12において、圧縮コード挿入回路31aと優先度判定テーブル31bとが追加されている。   In the distributor 31, a compressed code insertion circuit 31 a and a priority determination table 31 b are added to the distributor 12.

圧縮コード挿入回路31aは、固定長セル化されたセルに格納されているパケット情報をハッシュ等によって圧縮コード化し、それを固定長セルのオーバーヘッド領域に挿入する。   The compression code insertion circuit 31a compresses the packet information stored in the fixed-length cell into a compression code using a hash or the like, and inserts it into the overhead area of the fixed-length cell.

したがって、パケット処理モジュール32(1〜x)は、圧縮コード化されたパケット情報を元に転送先判定等を行ってパケット情報挿入部4bに出力するが、この実施の形態4では、転送先判定等に加えて、パケットの優先度判定も実施し、その判定した優先度を圧縮コードと対応する形で固定長セルのオーバーヘッド領域に格納し、それをディストリビュータ31に設けた優先度判定テーブル31bに出力する。   Therefore, the packet processing module 32 (1 to x) performs transfer destination determination and the like based on the compression-coded packet information and outputs the packet information to the packet information insertion unit 4b. In addition, the priority of the packet is also determined, the determined priority is stored in the overhead area of the fixed-length cell in a form corresponding to the compression code, and the priority is stored in the priority determination table 31b provided in the distributor 31. Output.

優先度判定テーブル31bは、パケット処理モジュール32(1〜x)から送られてくる圧縮コードと優先度とを対応付けて格納し、圧縮コード挿入回路31aから受け取る圧縮コードをキーとして検索を実施し、優先度判定を行うようになっている。   The priority determination table 31b stores the compressed code sent from the packet processing module 32 (1-x) and the priority in association with each other, and performs a search using the compressed code received from the compressed code insertion circuit 31a as a key. The priority determination is performed.

すなわち、ディストリビュータ31では、バッファ21b(1〜x)の蓄積量が、閾値22を超えた場合は、優先度判定テーブル31bでの判定結果、低優先と判断された固定長セルは、実施の形態3と同様に、バッファ21b(1〜x)への分配を行わずに廃棄し、パケット情報抽出部11にも対応する入力パケットをケット遅延回路3bのFIFOに書き込まずに廃棄させる。 That is, in the distributor 31, when the accumulated amount of the buffer 21b (1 to x) exceeds the threshold 22, the fixed-length cell determined as low priority as a result of the determination in the priority determination table 31b is Similarly to embodiment 3, and discarded without distribution to the buffer 21b (1 to x), is discarded input packet corresponding to the packet information extraction unit 11 without writing into the FIFO of the packet delay circuit 3b.

そして、ディストリビュータ31では、低優先の廃棄を実施してもさらに、バッファ21b(1〜x)にてバッファ溢れが発生する場合も、実施の形態3と同様に、溢れた固定長セルは廃棄するとともに、対応するパケットをパケット情報抽出部11に廃棄させる。   In the distributor 31, even if the low priority discarding is performed and the buffer overflow occurs in the buffer 21b (1-x), the overflowing fixed-length cell is discarded as in the third embodiment. At the same time, the packet information extraction unit 11 discards the corresponding packet.

なお、バッファ21b(1〜x)に設ける閾値は、図5では、1つのみとしているが、閾値を複数用意し、優先度判定テーブル31bにて複数優先度を判定し、優先度毎に廃棄制御を実施してもよい。   Although only one threshold is provided in the buffer 21b (1 to x) in FIG. 5, a plurality of thresholds are prepared, a plurality of priorities are determined by the priority determination table 31b, and discarded for each priority. Control may be implemented.

以上のように、実施の形態4によれば、パケット処理モジュールにて実施したパケットの優先度判定結果をディストリビュータ内の優先度判定テーブルに格納するようにしたので、パケットヘッダのサービスタイプフィールド等に明示的に優先度が表示されていない場合でも、優先度判定が実施可能となり、低優先のパケットから優先的に廃棄することができ、高優先パケットの廃棄数を削減することができる。   As described above, according to the fourth embodiment, the priority determination result of the packet executed by the packet processing module is stored in the priority determination table in the distributor. Even when the priority is not explicitly displayed, the priority determination can be performed, the low-priority packets can be preferentially discarded, and the number of high-priority packets discarded can be reduced.

以上のように、この発明にかかるパケット処理装置は、可変長パケットの転送先判定等のパケット処理を並列の実施する場合に、一連番号付与手段や順序補正手段等の特別な手段を設けることなく並列パケット処理を実現するのに有用である。   As described above, the packet processing apparatus according to the present invention does not include special means such as a serial number assigning means and an order correcting means when performing packet processing such as determination of a transfer destination of a variable length packet in parallel. Useful for implementing parallel packet processing.

また、この発明にかかるパケット処理装置は、可変長パケットの転送先判定等のパケット処理を並列の実施する場合に、一連番号付与手段や順序補正手段等の特別な設けることなく並列パケット処理を実現するとともに、パケット処理モジュールの並列配置数を削減するのに有用である。   The packet processing apparatus according to the present invention realizes parallel packet processing without special provision of a serial number assigning means or an order correcting means when performing packet processing such as determination of a transfer destination of a variable length packet in parallel. In addition, it is useful for reducing the number of packet processing modules arranged in parallel.

この発明の実施の形態1によるパケット処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the packet processing apparatus by Embodiment 1 of this invention. 図1に示すパケット処理装置の動作を説明するタイムチャートである。It is a time chart explaining operation | movement of the packet processing apparatus shown in FIG. この発明の実施の形態2によるパケット処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the packet processing apparatus by Embodiment 2 of this invention. この発明の実施の形態3によるパケット処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the packet processing apparatus by Embodiment 3 of this invention. この発明の実施の形態4によるパケット処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the packet processing apparatus by Embodiment 4 of this invention.

符号の説明Explanation of symbols

1,10,20,30 パケット処理装置
2,11 パケット情報抽出部
3a パケット遅延回路(固定遅延型)
3b パケット遅延回路(可変遅延型)
4a,4b パケット情報挿入部
5 固定長セル化部
6,12,21,31 ディストリビュータ(分配手段)
6a 分配回路
6b1〜6bx 速度変換回路
7−1〜7−x,32−1〜32−x パケット処理モジュール
12a1〜12ax バッファ
13 パケット廃棄指示信号
21a 優先度判定回路
21b1〜21bx バッファ
22 閾値
31a 圧縮コード挿入部
31b 優先度判定テーブル
1, 10, 20, 30 Packet processing device 2,11 Packet information extraction unit 3a Packet delay circuit (fixed delay type)
3b Packet delay circuit (variable delay type)
4a, 4b Packet information insertion unit 5 Fixed-length cell unit 6, 12, 21, 31 Distributor (distribution means)
6a Distribution circuit 6b1 to 6bx Speed conversion circuit 7-1 to 7-x, 32-1 to 32-x Packet processing module 12a1 to 12ax buffer 13 Packet discard instruction signal 21a Priority determination circuit 21b1 to 21bx buffer 22 Threshold value 31a Compression code Insertion unit 31b Priority determination table

Claims (4)

可変長パケットの転送先判定を含むパケット処理を実施するパケット処理モジュールの複数個を並列に配置するパケット処理装置において、
入力されるパケット流の転送過程で前記各可変長パケットから前記パケット処理を実施するために必要とされるパケット情報を抽出するパケット情報抽出手段と、
前記パケット情報抽出手段にて抽出された前記パケット情報にオーバーヘッドを付加して固定長セルを生成する固定長セル化手段と、
前記固定長セル化手段にて生成された固定長セルを並列に配置される前記パケット処理モジュールの複数個に順番にそれぞれの入力速度に調整して分配する分配手段と、
前記パケット情報抽出手段から入力されるパケット流に、前記固定長セル化手段から前記パケット処理モジュールまでの処理時間を考慮した遅延処理を施す固定遅延手段と、
前記パケット処理モジュールの複数個にて判定された転送先の情報を前記固定遅延手段から入力する対応するパケットに挿入するパケット情報挿入手段と、
を備え、
各パケット処理モジュールは、パケット処理の結果である前記転送先の情報を前記固定長セルに含まれるオーバーヘッドに設定し、前記転送先の情報がオーバーヘッドに設定された固定長セルを前記パケット情報挿入手段に出力する、
ことを特徴とするパケット処理装置。
In a packet processing device in which a plurality of packet processing modules that perform packet processing including determination of a transfer destination of a variable-length packet are arranged in parallel,
Packet information extracting means for extracting packet information required for performing the packet processing from the variable-length packets in the transfer process of the input packet stream;
Fixed-length cell forming means for generating a fixed-length cell by adding overhead to the packet information extracted by the packet information extracting means;
Distributing means for adjusting and distributing the fixed length cells generated by the fixed length cell converting means in order to the respective input speeds to a plurality of the packet processing modules arranged in parallel;
Fixed delay means for performing a delay process in consideration of a processing time from the fixed length cell converting means to the packet processing module to the packet stream input from the packet information extracting means;
Packet information insertion means for inserting information on transfer destinations determined by a plurality of the packet processing modules into corresponding packets input from the fixed delay means;
With
Each packet processing module sets the transfer destination information as a result of packet processing in the overhead included in the fixed-length cell, and sets the fixed-length cell in which the transfer destination information is set as the overhead to the packet information insertion unit Output to
A packet processing apparatus.
可変長パケットの転送先判定を含むパケット処理を実施するパケット処理モジュールの複数個を並列に配置するパケット処理装置において、
入力されるパケット流の転送過程で前記各可変長パケットから前記パケット処理を実施するために必要とされるパケット情報を抽出するとともに、パケット廃棄指示を受けて対応するパケットを転送せずに廃棄するパケット情報抽出手段と、
前記パケット情報抽出手段にて抽出された前記パケット情報にオーバーヘッドを付加して固定長セルを生成する固定長セル化手段と、
前記固定長セル化手段にて生成された固定長セルを並列に配置される前記パケット処理モジュールの複数個と1対1の関係で配置されるバッファに順番に分配し、前記バッファから対応する前記パケット処理モジュールにそれぞれの入力速度に調整して出力するとともに、当該パケット処理モジュールでの前記固定長セルの処理で生ずる一時的輻輳に対する待ち合わせ制御を行い、バッファ溢れが生じたとき前記パケット廃棄指示を発行する分配手段と、
前記パケット情報抽出手段から入力される各パケットを読み出しがあるまで入力順に保持する可変遅延手段と、
前記パケット処理モジュールの複数個から判定された転送先の情報の入力を受けて前記可変遅延手段から対応するパケットを読み出して前記転送先の情報を挿入するパケット情報挿入手段と、
を備え、
各パケット処理モジュールは、パケット処理の結果である前記転送先の情報を前記固定長セルに含まれるオーバーヘッドに設定し、前記転送先の情報がオーバーヘッドに設定された固定長セルを前記パケット情報挿入手段に出力する、
ことを特徴とするパケット処理装置。
In a packet processing device in which a plurality of packet processing modules that perform packet processing including determination of a transfer destination of a variable-length packet are arranged in parallel,
Extracts packet information required for performing the packet processing from each variable-length packet during the transfer process of the input packet stream, and discards the corresponding packet without transferring it in response to a packet discard instruction Packet information extraction means;
Fixed-length cell forming means for generating a fixed-length cell by adding overhead to the packet information extracted by the packet information extracting means;
The fixed-length cells generated by the fixed-length cell forming means are sequentially distributed to a plurality of buffers arranged in parallel with the plurality of packet processing modules arranged in a one-to-one relationship, and the corresponding buffers The packet processing module adjusts and outputs to each input speed, and controls waiting for temporary congestion caused by the processing of the fixed-length cell in the packet processing module. When a buffer overflow occurs, the packet discard instruction is issued. Distribution means to issue;
Variable delay means for holding each packet input from the packet information extraction means in the order of input until read out;
Packet information insertion means for receiving input of transfer destination information determined from a plurality of the packet processing modules and reading the corresponding packet from the variable delay means and inserting the transfer destination information;
With
Each packet processing module sets the transfer destination information as a result of packet processing in the overhead included in the fixed-length cell, and sets the fixed-length cell in which the transfer destination information is set as the overhead to the packet information insertion unit Output to
A packet processing apparatus.
前記分配手段は、前記固定長セルに含まれる前記パケット情報における所定の表示から優先度を判定する手段と、前記各バッファに定めた閾値と蓄積量との関係を監視する手段とを備え、蓄積量が閾値を超えるときは低優先度のパケットを選択して前記パケット廃棄指示を発行することを特徴とする請求項2に記載のパケット処理装置。   The distribution means includes means for determining a priority from a predetermined display in the packet information included in the fixed-length cell, and means for monitoring a relationship between a threshold value determined in each buffer and an accumulation amount. 3. The packet processing apparatus according to claim 2, wherein when the amount exceeds a threshold, the packet discard instruction is issued by selecting a low priority packet. 並列に配置される前記パケット処理モジュールの複数個は、それぞれ、処理する固定長セルから当該パケットの優先度を判定し、それを当該固定長セルと関連付けて出力する手段を備え、
前記分配手段は、前記パケット処理モジュールの複数個が出力する優先度と固定長セルとを関連付けて記憶する記憶手段と、前記各バッファに定めた閾値と蓄積量との関係を監視する手段とを備え、蓄積量が閾値を超えるときは前記固定長セル化手段にて生成された固定長セルに基づき前記記憶手段を検索し、低優先度のパケットを選択して前記パケット廃棄指示を発行することを特徴とする請求項2に記載のパケット処理装置。
Each of the plurality of packet processing modules arranged in parallel comprises means for determining the priority of the packet from the fixed-length cell to be processed and outputting it in association with the fixed-length cell,
The distribution means includes storage means for associating and storing priorities output by a plurality of the packet processing modules and fixed-length cells, and means for monitoring a relationship between a threshold value and an accumulation amount set for each buffer. When the accumulated amount exceeds a threshold value, the storage unit is searched based on the fixed-length cell generated by the fixed-length cell unit, the low-priority packet is selected, and the packet discard instruction is issued The packet processing device according to claim 2.
JP2005362276A 2005-12-15 2005-12-15 Packet processing device Expired - Fee Related JP4607003B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005362276A JP4607003B2 (en) 2005-12-15 2005-12-15 Packet processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005362276A JP4607003B2 (en) 2005-12-15 2005-12-15 Packet processing device

Publications (2)

Publication Number Publication Date
JP2007166421A JP2007166421A (en) 2007-06-28
JP4607003B2 true JP4607003B2 (en) 2011-01-05

Family

ID=38248781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005362276A Expired - Fee Related JP4607003B2 (en) 2005-12-15 2005-12-15 Packet processing device

Country Status (1)

Country Link
JP (1) JP4607003B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5727633B2 (en) * 2012-02-13 2015-06-03 日本電信電話株式会社 Frame search processing apparatus and method
JP2015050479A (en) * 2013-08-29 2015-03-16 株式会社オー・エフ・ネットワークス Packet switch, packet switching method and band control program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001211203A (en) * 2000-01-26 2001-08-03 Hitachi Ltd Network router
JP2003037615A (en) * 2001-07-24 2003-02-07 Nec Eng Ltd Packet switch

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001211203A (en) * 2000-01-26 2001-08-03 Hitachi Ltd Network router
JP2003037615A (en) * 2001-07-24 2003-02-07 Nec Eng Ltd Packet switch

Also Published As

Publication number Publication date
JP2007166421A (en) 2007-06-28

Similar Documents

Publication Publication Date Title
JP4547339B2 (en) Packet relay device having transmission control function
US7613114B2 (en) Packet scheduling apparatus
JP3438651B2 (en) Packet multiplexer
CA2375397C (en) Packet processing unit
US6765905B2 (en) Method for reducing packet data delay variation in an internet protocol network
KR100823785B1 (en) Method and system for open-loop congestion control in a system fabric
US7145904B2 (en) Switch queue predictive protocol (SQPP) based packet switching technique
US7221647B2 (en) Packet communication apparatus and controlling method thereof
US7602809B2 (en) Reducing transmission time for data packets controlled by a link layer protocol comprising a fragmenting/defragmenting capability
US20050129020A1 (en) Method and system for providing data communications over a multi-link channel
JP5011308B2 (en) Split data stream
WO2006040903A1 (en) Exchange node and exchange node control method
JP2007013654A (en) Packet repeater and packet relaying method
EP3032785A1 (en) Timing transport method in a communication network
JP5768289B2 (en) Network node and packet management method
JP4607003B2 (en) Packet processing device
US8184649B2 (en) Method for transmitting data available in the form of data packets
JP2007288491A (en) Dividing circuit of frame, and transmission system and method using dividing circuit
JP2002223202A (en) Method of transmitting data and transmitter using it
US8031723B2 (en) Centralized switching and routing packet handling device
JP2009171157A (en) Utilization method of ring buffer, and switching device
US8179887B1 (en) Method and apparatus for improving performance of TDM sequencing for packet processing engines using a delay line
JPH07283813A (en) Output buffer type atm switch
JP4302014B2 (en) Ethernet frame transfer apparatus and method
JP2009260888A (en) Communication apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080530

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100511

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100708

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100727

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100917

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131015

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees