JP2012070425A - Protocol conversion apparatus and protocol conversion method used for the same - Google Patents
Protocol conversion apparatus and protocol conversion method used for the same Download PDFInfo
- Publication number
- JP2012070425A JP2012070425A JP2011255661A JP2011255661A JP2012070425A JP 2012070425 A JP2012070425 A JP 2012070425A JP 2011255661 A JP2011255661 A JP 2011255661A JP 2011255661 A JP2011255661 A JP 2011255661A JP 2012070425 A JP2012070425 A JP 2012070425A
- Authority
- JP
- Japan
- Prior art keywords
- data
- frame
- header
- conversion
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明はプロトコル変換装置及びそれに用いるプロトコル変換方法に関し、特にIPv4(Internet Protocol version 4)、IPv6(Internet Protocol version 6)のプロトコル変換に関する。 The present invention relates to a protocol conversion apparatus and a protocol conversion method used therefor, and more particularly to protocol conversion of IPv4 (Internet Protocol version 4) and IPv6 (Internet Protocol version 6).
現在、IPv6を使ったネットワークが広がりつつあるが、IPv4のネットワークがすでに、普及しているため、IPv4網とIPv6網とが共存している。IPv4とIPv6とは互換性がないため、IPv4網とIPv6網との間でデータ通信を行うには、プロトコル変換が必要になる。一般に、このようなプロトコル変換を行う装置をトランスレータという。 Currently, networks using IPv6 are spreading, but since IPv4 networks are already widespread, IPv4 networks and IPv6 networks coexist. Since IPv4 and IPv6 are not compatible, protocol conversion is required to perform data communication between the IPv4 network and the IPv6 network. In general, a device that performs such protocol conversion is called a translator.
一般的に、トランスレータの構成としては、受信したフレームをソフトウェアで解析してプロトコル変換も行うものがあり(例えば、特許文献1参照)、この場合、CPU(中央処理装置)にかかる負担が大きくなっている。 In general, there is a translator configuration in which a received frame is analyzed by software and protocol conversion is performed (see, for example, Patent Document 1). In this case, a burden on a CPU (central processing unit) increases. ing.
さらに、近年、Ethernet(登録商標)の通信では、高速化が進み、1Gbpsを超える通信が行われており、CPUでの負荷が高い。また、各インタフェースにおいても、高速化しているため、Ethernet(登録商標)に関わらず、CPUに高い処理能力が要求されることになる。 Furthermore, in recent years, Ethernet (registered trademark) communication has been speeded up, and communication exceeding 1 Gbps has been performed, and the load on the CPU is high. In addition, since each interface is also speeded up, high processing capability is required of the CPU regardless of Ethernet (registered trademark).
そこで、本発明の目的は上記の問題点を解消し、CPUの介在をなくし、CPUの処理負荷を下げることができるプロトコル変換装置及びそれに用いるプロトコル変換方法を提供することにある。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a protocol conversion apparatus and a protocol conversion method used therefor that can solve the above problems, eliminate the intervention of the CPU, and reduce the processing load on the CPU.
本発明によるプロトコル変換装置は、受信したフレームの種類を特定するために当該フレームの特定の部分を抜き出す比較データ抜き出し回路と、
前記受信したフレームの特性を前記予め登録されたデータとして格納するエントリテーブルと、
前記比較データ抜き出し回路で抜き出したデータと前記エントリテーブルに予め登録されたデータとを比較する比較判定回路と、
前記比較データ抜き出し回路で抜き出したデータから前記フレームのIP(Internet Protocol)ヘッダの変換処理に必要なデータを計算する変換データ計算回路と、
前記比較判定回路の比較結果に応じて前記変換データ計算回路の計算結果と変換後のIPヘッダのデータを格納する変換データテーブルのデータとを基に前記フレームのIPヘッダの変換を行うコプロセッサと、
前記コプロセッサで前記IPヘッダの変換を行ったデータを格納するメモリと、
前記メモリに格納されたフレームのステータスを監視して送信可能なステータスの場合に当該フレームを送信するよう制御するメモリ監視回路とを有し、
前記受信したフレームを一時的に保持するFIFO(First In First Out)を含み、
前記コプロセッサは、前記FIFOに格納されているフレームのIPv4(Internet Protocol version 4)ヘッダとIPv6(Internet Protocol version 6)ヘッダとの置き換えを行い、
前記IPv4と前記IPv6との間のプロトコル変換において、フレーム情報の管理及び変換処理をすべて上記の各回路によるハードウェアで行っている。
The protocol conversion apparatus according to the present invention includes a comparison data extraction circuit that extracts a specific portion of the frame in order to specify the type of the received frame;
An entry table for storing the characteristics of the received frame as the pre-registered data;
A comparison determination circuit that compares the data extracted by the comparison data extraction circuit with data registered in advance in the entry table;
A conversion data calculation circuit for calculating data necessary for conversion processing of an IP (Internet Protocol) header of the frame from data extracted by the comparison data extraction circuit;
A coprocessor for converting the IP header of the frame based on the calculation result of the conversion data calculation circuit and the data of the conversion data table storing the converted IP header data according to the comparison result of the comparison determination circuit; ,
A memory for storing data obtained by converting the IP header by the coprocessor;
A memory monitoring circuit that monitors the status of the frame stored in the memory and controls to transmit the frame in the case of a transmittable status;
A FIFO (First In First Out) for temporarily holding the received frame;
The coprocessor replaces an IPv4 (Internet Protocol version 4) header and an IPv6 (Internet Protocol version 6) header of the frame stored in the FIFO,
In protocol conversion between IPv4 and IPv6, all frame information management and conversion processes are performed by hardware using the above-described circuits.
本発明によるプロトコル変換方法は、比較データ抜き出し回路にて、受信したフレームの種類を特定するために当該フレームの特定の部分を抜き出し、
前記受信したフレームの特性をエントリテーブルに予め登録しておき、
比較判定回路にて、前記比較データ抜き出し回路で抜き出したデータと前記エントリテーブルに予め登録されたデータとを比較し、
変換データ計算回路にて、前記比較データ抜き出し回路で抜き出したデータから前記フレームのIP(Internet Protocol)ヘッダの変換処理に必要なデータを計算し、
コプロセッサにて、前記比較判定回路の比較結果に応じて前記変換データ計算回路の計算結果と変換後のIPヘッダのデータを格納する変換データテーブルのデータとを基に前記フレームのIPヘッダの変換を行い、
前記コプロセッサで前記IPヘッダの変換を行ったデータをメモリに格納し、
メモリ監視回路にて、前記メモリに格納されたフレームのステータスを監視して送信可能なステータスの場合に当該フレームを送信するよう制御し、
前記受信したフレームを一時的に保持するFIFO(First In Fi
rst Out)を設け、
前記コプロセッサが、前記FIFOに格納されているフレームのIPv4(Internet Protocol version 4)ヘッダとIPv6(Internet Protocol version 6)ヘッダとの置き換えを行い、
前記IPv4と前記IPv6との間のプロトコル変換において、フレーム情報の管理及び変換処理をすべて上記の各回路によるハードウェアで行っている。
In the protocol conversion method according to the present invention, the comparison data extraction circuit extracts a specific part of the frame in order to specify the type of the received frame.
The characteristics of the received frame are registered in the entry table in advance,
In the comparison determination circuit, the data extracted by the comparison data extraction circuit is compared with the data registered in advance in the entry table,
The conversion data calculation circuit calculates data necessary for the IP (Internet Protocol) header conversion processing of the frame from the data extracted by the comparison data extraction circuit.
In the coprocessor, the conversion of the IP header of the frame based on the calculation result of the conversion data calculation circuit and the data of the conversion data table storing the data of the converted IP header according to the comparison result of the comparison determination circuit And
Storing the data obtained by converting the IP header by the coprocessor in a memory;
In the memory monitoring circuit, the status of the frame stored in the memory is monitored and controlled to transmit the frame in the case of a status that can be transmitted,
A FIFO (First In Fi) that temporarily holds the received frame.
rst Out)
The coprocessor replaces an IPv4 (Internet Protocol version 4) header and an IPv6 (Internet Protocol version 6) header of the frame stored in the FIFO;
In protocol conversion between IPv4 and IPv6, all frame information management and conversion processes are performed by hardware using the above-described circuits.
本発明は、上記のような構成及び動作とすることで、CPUの介在をなくし、CPUの処理負荷を下げることができるという効果が得られる。 By adopting the configuration and operation as described above, the present invention can eliminate the CPU and reduce the processing load on the CPU.
次に、本発明の実施の形態について図面を参照して説明する。まず、本発明によるプロトコル変換装置の概要について説明する。本発明によるプロトコル変換装置は、IPv4(Internet Protocol version 4)とIPv6(Internet Protocol version 6)との間のプロトコル変換において、フレーム情報の管理や変換処理をすべてハードウェアで行えるような回路を備えることによって、CPUの介在をなくし、CPUの処理負荷を下げることができる。 Next, embodiments of the present invention will be described with reference to the drawings. First, the outline of the protocol conversion apparatus according to the present invention will be described. The protocol conversion apparatus according to the present invention includes a circuit that can perform all frame information management and conversion processing by hardware in protocol conversion between IPv4 (Internet Protocol version 4) and IPv6 (Internet Protocol version 6). Thus, the CPU can be removed and the processing load on the CPU can be reduced.
図1は本発明の第1の実施の形態によるプロトコル変換装置の構成例を示すブロック図である。図1において、プロトコル変換装置1は、LAN(Local Area Network)受信部11と、FIFO(First In First Out)12と、比較データ抜き出し回路13と、比較判定回路14と、変換データ計算部15と、エントリテーブルレジスタ16と、変換データテーブルレジスタ17と、コプロセッサ18と、メモリ19と、メモリ監視回路20と、LAN送信部21とから構成されている。
FIG. 1 is a block diagram showing a configuration example of a protocol conversion apparatus according to the first embodiment of the present invention. In FIG. 1, the
LAN受信部11は、Ethernet(登録商標)回線からEthernet(登録商標)フレームを受信する。FIFO12は、LAN受信部11で受信したフレームを一時的に保持する。 The LAN receiving unit 11 receives an Ethernet (registered trademark) frame from an Ethernet (registered trademark) line. The FIFO 12 temporarily holds the frame received by the LAN receiving unit 11.
比較データ抜き出し回路13は、受信したフレームの種類を特定するために、受信したフレームの特定の部分を抜き出す。比較判定回路14は、比較データ抜き出し回路13で抜き出したデータとエントリテーブルレジスタ16のデータとを比較する。
The comparison data extraction circuit 13 extracts a specific part of the received frame in order to specify the type of the received frame. The
変換データ計算部15は、比較データ抜き出し回路13で抜き出したデータから、変換処理に必要なデータを計算する。エントリテーブルレジスタ16は、LAN受信部11で受信したフレームの特性、例えばIP(Internet Protocol)バージョンやIPアドレス等の比較データを格納しておく。変換データテーブルレジスタ17は、変換後のIPヘッダのデータを格納しておく。
The conversion
コプロセッサ18は、フレームのIPヘッダの変換を行う。メモリ19は、コプロセッサ18で変換後のデータを格納する。メモリ監視回路20は、メモリ9に格納されたフレームのステータスを監視し、送信可能なステータスであればLAN送信部21を通してEthernet(登録商標)回線にフレームを送信する。LAN送信部21は、コプロセッサ18で変換後のデータをEthernet(登録商標)回線に送信する。
The
図2は本発明の第1の実施の形態によるプロトコル変換処理を示すフローチャートであり、図3は本発明の第1の実施の形態で用いるIPv4ヘッダの構成例を示す図であり、図4は本発明の第1の実施の形態で用いるIPv6ヘッダの構成例を示す図である。 FIG. 2 is a flowchart showing the protocol conversion processing according to the first embodiment of the present invention, FIG. 3 is a diagram showing a configuration example of the IPv4 header used in the first embodiment of the present invention, and FIG. It is a figure which shows the structural example of the IPv6 header used in the 1st Embodiment of this invention.
図5は本発明の第1の実施の形態で用いるディスクリプタの構成例を示すブロック図である。これら図1〜図5を参照して本発明の第1の実施の形態によるプロトコル変換処理について説明する。 FIG. 5 is a block diagram showing a configuration example of the descriptor used in the first embodiment of the present invention. The protocol conversion processing according to the first embodiment of the present invention will be described with reference to FIGS.
本発明の特徴を持つプロトコル変換装置1がIPv4フレームを受信してIPv6フレームに変換して送信する場合、またはIPv6フレームを受信してIPv4フレームに変換して送信するまでの動作について図1に沿って説明する。
The operation of the
フレームは、LAN受信部11を通して受信される。受信されたフレームは、FIFO12に格納されるが、同時に、比較データ抜き出し回路13を通してフレームの判定部分(IPバージョンを含む)を抜き出し、IPv4、IPv6、それ以外かを判定する。判定部分はEthernet(登録商標)フレームの先頭からオフセットを指定することで、ハードウェアで判別できるものとする。
The frame is received through the LAN receiver 11. The received frame is stored in the
受信したフレームの判定部分がIPv4であり、かつその他のエントリテーブルレジスタ16の条件に一致した場合は、コプロセッサ18でFIFO12に格納されているフレームのIPv4ヘッダの部分をIPv6ヘッダに付け替える。付け替えるヘッダの情報は、変換データテーブルレジスタ17に設定する。ヘッダが付け替えられたフレームは、DMA(Direct Memory Access)によってメモリ19に格納され、LAN送信部21を通してEthernet(登録商標)回線に送信される。
When the determination part of the received frame is IPv4 and the conditions of the other
受信したフレームの判定部分がIPv6であり、かつその他のエントリテーブルレジスタ16の条件に一致した場合は、コプロセッサ18でFIFO12に格納されているフレームのIPv6ヘッダの部分をIPv4ヘッダに付け替える。付け替えるヘッダの情報は、変換データテーブルレジスタ17に設定する。ヘッダが付け替えられたフレームは、DMAによってメモリ19に格納され、LAN部21を通してEthernet(登録商標)回線に送信される。
When the determination part of the received frame is IPv6 and the conditions of the other
メモリ19に格納されたフレームについては、図5に示すように、ディスクリプタ#1〜#Nで管理される。メモリ監視回路20は、ディスクリプタ#1〜#Nのステータスを監視し、送信可能なステータスであれば、LAN送信部21を通してEthernet(登録商標)回線にフレームを送信する。
As shown in FIG. 5, the frames stored in the
このように、本実施の形態では、CPUの介在をなくして、すべてハードウェアでIPv4とIPv6との間のプロトコル変換を実現することができるので、CPUの処理負荷を下げることができる。 As described above, in this embodiment, it is possible to realize protocol conversion between IPv4 and IPv6 by using hardware without any CPU intervention, so that the processing load on the CPU can be reduced.
図2に示すフローチャートに沿って本実施の形態によるプロトコル変換処理について説明する。 The protocol conversion process according to this embodiment will be described with reference to the flowchart shown in FIG.
プロトコル変換装置1は、Ethernet(登録商標)フレームを回線から受信すると(図2ステップS1)、受信したフレームをFIFO12に格納する(図2ステップS2)。フレームの受信について、プロトコル変換装置1では、一般的なEthernet(登録商標)フレームの受信動作に必要な機能(図示せず)を用いて受信を行う。
When receiving the Ethernet (registered trademark) frame from the line (step S1 in FIG. 2), the
同時に、プロトコル変換装置1は、フレームの種別等を判別するための比較部分を比較データ抜き出し回路13にて抜き出す(図2ステップS3)。一般的に、IPフレームは、図3及び図4に示すような構成であるが、MAC(Media Access Control)ヘッダ内のEtherTypeか、IPヘッダ内のIPバージョンの部分を抜き出して、エントリデータを比較する。
At the same time, the
バージョン以外についても、MACアドレス、IPアドレスやIPプロトコル、NEXTヘッダ等、変換を行いたいフレームとして判別したい部分をエントリテーブルレジスタ16に登録しておき、抜き出した比較部分のデータとエントリテーブルレジスタ16に登録してあるデータとの比較を行う。
Other than the version, the MAC address, the IP address, the IP protocol, the NEXT header, and the like are registered in the
フレームには、PPPoE[Point to Point Protocol over Ethernet(登録商標)]ヘッダ等が付加されているものもあるので、比較データ抜き出し回路13は、MACヘッダのEtherTypeを先に見ることによって、フレームの種別によって必要な比較部分を抜き出す機能を有している。 Since some frames have a PPPoE [Point to Point Protocol over Ethernet (registered trademark)] header or the like added thereto, the comparison data extraction circuit 13 first looks at the EtherType of the MAC header to determine the type of the frame. Has a function of extracting a necessary comparison portion.
プロトコル変換装置1は、比較データ抜き出し回路13で抜き出した比較データと、エントリテーブルレジスタ16の値とを比較し(図2ステップS4)、それらのデータが一致すれば(図2ステップS5)、IPヘッダ変換対象のフレームであり、バージョンの判定でバージョンがIPv4であると判定された場合(図2ステップS6)、変換データ計算部15で計算した値や変換データテーブルレジスタ17に格納されているデータを用いて、コプロセッサ18が、FIFO12に格納されているフレームのIPv4ヘッダをIPv6ヘッダに置き換える(図2ステップS7)。
The
IPv4ヘッダからIPv6ヘッダへの置き換えは、以下のようにすることによって実現することができる。 The replacement from the IPv4 header to the IPv6 header can be realized as follows.
「IPバージョン」は、IPv6に固定で変換する。「TraficClass」については、受信データのIPv4ヘッダのTOS(Type Of Service)値をコピーして「TrafficClass」の値とする。「FlowLabel」については、変換データテーブルレジスタ17に予め設定しておいた値を「FlowLabel」の値とする。
“IP version” is fixedly converted to IPv6. As for “TrafficClass”, the TOS (Type Of Service) value of the IPv4 header of the received data is copied and set as the value of “TrafficClass”. As for “FlowLabel”, a value set in advance in the conversion
「PayloadLength」については、受信フレームのIPヘッダ内のIP LEN(length)とIP HLEN(header length)との値からペイロード長を変換データ計算部15で計算した値を「PayloadLength」の値とする。「NextHeader」については、受信データの「IP PROTO(protocol)」の値をコピーして「NextHeader」の値とする。
For “PayloadLength”, the value calculated by the conversion
「HopLimit」に関しては、変換データ計算部15で受信データの「IP TTL(Time To Live)」の値から1減算した値を「HopLimit」の値とする。「IPv6 SRC(Source Address)」と「IPv6 DST(Destination Address)」については、エントリテーブルレジスタ16に予め設定しておいた値を使う。
As for “HopLimit”, a value obtained by subtracting 1 from the value of “IP TTL (Time To Live)” of the received data by the conversion
以上で、変換のための図4に示すIPv6ヘッダ部分のデータがそろうので、プロトコル変換装置1では、これらの値を使用して、コプロセッサ18でIPv4ヘッダからIPv6ヘッダへの変換を行う。
As described above, the IPv6 header data shown in FIG. 4 for conversion is aligned. In the
プロトコル変換装置1は、IPv6に変換されたデータをメモリ19にDMA転送する(図2ステップS8)。メモリ19内では、図5に示すように、データとディスクリプタとを1対1で管理する。ディスクリプタには、データのアドレス、レングス、制御情報が使われる。制御情報については、送信データがあるかどうかのフラグを有し、フレームがメモリ19上にDMAされた時にフラグを立て、メモリ監視回路20がそのフラグを監視する。
The
メモリ監視回路20は、フラグが立っていれば、プロトコル変換後の送信フレームがあると認識し、そのフレームをDMAして、LAN送信部21を通して送信する(図2ステップS9)。メモリ監視回路20は、フレームを送信したら、ディスクリプタのフラグをディセーブルにする。
If the flag is set, the
メモリ監視回路20は、ディスクリプタ#1を処理したら、ディスクリプタ#2を監視するというような動作で、順番にディスクリプタを監視し、フレームを送信していく。図5では、ディスクリプタをN個でリング管理している。
When processing the
プロトコル変換装置1は、バージョンの判定でバージョンがIPv6であると判定された場合(図2ステップS6,S10)、変換データ計算部15で計算した値や変換データテーブルレジスタ17に格納されているデータを用いて、コプロセッサ18がFIFO12に格納されているフレームのIPv6ヘッダをIPv4ヘッダに置き換える(図2ステップS11)。
When it is determined that the version is IPv6 in the version determination (steps S6 and S10 in FIG. 2), the
IPv6ヘッダからIPv4ヘッダへの置き換えは、以下のようにすることによって実現することができる。 The replacement from the IPv6 header to the IPv4 header can be realized as follows.
「IPバージョン」は、IPv4に固定で変換する。「IP HLEN」については、通常のIPv4ヘッダ長の20(d)を「IP HLEN」として使用する。「IPv4オプション」等が付加する場合は、ヘッダ長が20(d)にならないので、対象としない。 “IP version” is fixedly converted to IPv4. For “IP HLEN”, the normal IPv4 header length 20 (d) is used as “IP HLEN”. When “IPv4 option” or the like is added, the header length does not become 20 (d), so it is not targeted.
比較判定回路14で受信フレームのIPヘッダ長が20(d)でない場合は、受信フレームを変換せずに、メモリ19にDMAし、その後、ソフトウェアで処理するようにしても良い。
When the IP header length of the received frame is not 20 (d) in the comparison /
「TOS」については、受信フレームの「TrafficClass」の値を「TOS」として使用する。「IP LEN」については、受信フレームの「PayloadLength」と、IPv4ヘッダの「IP LEN(固定値20)」とから変換データ計算部15でIPv4パケット長を計算した値を「PayloadLength」とする。
For “TOS”, the “TrafficClass” value of the received frame is used as “TOS”. For “IP LEN”, a value obtained by calculating the IPv4 packet length by the conversion
「ID(Identification)」については、フレーム毎に値が変わるように、変換データ計算部15で、受信フレーム毎にある数から順に値をインクリメントした値を計算し、ID値とする。
As for “ID (Identification)”, the converted
「FLAG」については、エントリテーブルレジスタ16に設定した値をFLAG値に使う。FLAGMENTフレームについては、対象とせず、0固定とする。「IP TTL」については、変換データ計算部15で、受信フレームの「HopLimit」から1減算した値を「IP TTL」とする。
For “FLAG”, the value set in the
「IP PROTO」については、受信フレームの「NextHeader」の値をコピーして「IP PROTO」とする。「IP CKSUM(checksum)」については、変換後のIPヘッダのチェックサムを変換データ計算部15で計算し、その値を使う。
For “IP PROTO”, the value of “NextHeader” in the received frame is copied to “IP PROTO”. As for “IP CKSUM (checksum)”, the check sum of the IP header after conversion is calculated by the conversion
以上で、変換のための図3に示すIPv4ヘッダ部分のデータがそろうので、プロトコル変換装置1では、これらの値を使用して、コプロセッサ18でIPv6ヘッダからIPv4ヘッダへの変換を行う。
As described above, the IPv4 header data shown in FIG. 3 for the conversion is prepared. In the
IPv4に変換されたデータは、メモリ19にDMA転送される(図2ステップS12)。メモリ19内では、図5に示すように、データとディスクリプタとを1対1で管理する。ディスクリプタには、データのアドレス、レングス、制御情報が使われる。制御情報については、送信データがあるかどうかのフラグを有し、フレームがメモリ19上にDMAされた時にフラグを立て、メモリ監視回路20がそのフラグを監視する。
The data converted into IPv4 is DMA-transferred to the memory 19 (step S12 in FIG. 2). In the
メモリ監視回路20は、フラグが立っていれば、プロトコル変換後の送信フレームがあると認識し、そのフレームをDMAして、LAN送信部21を通して送信する(図2ステップS13)。メモリ監視回路20は、フレームを送信したら、ディスクリプタのフラグをディセーブルにする。
If the flag is set, the
メモリ監視回路20は、ディスクリプタ#1を処理したら、ディスクリプタ#2を監視するというような動作で、順番にディスクリプタを監視し、フレームを送信していく。図5では、ディスクリプタをN個でリング管理している。
When processing the
プロトコル変換装置1は、受信フレームから抜き出した比較データがエントリテーブルレジスタ16の設定値と一致しない場合(図2ステップS5)、FIFO12のデータをそのままメモリ19にDMA転送する(図2ステップS14)。このフレームは、プロトコル変換の対象ではないので、ソフトウェアで適当に処理する(図2ステップS15)。
When the comparison data extracted from the received frame does not match the set value of the entry table register 16 (step S5 in FIG. 2), the
尚、本発明は、上記の実施の形態において、図5に示すように、ディスクリプタをリングで管理しているが、ディスクリプタ内にリンクポインタを設けて、リンクで管理しても良い。 In the above embodiment, the descriptor is managed by a ring in the above embodiment as shown in FIG. 5, but a link pointer may be provided in the descriptor and managed by a link.
1 プロトコル変換装置
11 LAN受信部
12 FIFO
13 比較データ抜き出し回路
14 比較判定回路
15 変換データ計算部
16 エントリテーブルレジスタ
17 変換データテーブルレジスタ
18 コプロセッサ
19 メモリ
20 メモリ監視回路
21 LAN送信部
1 Protocol converter 11
DESCRIPTION OF SYMBOLS 13 Comparison
Claims (6)
前記受信したフレームの特性を前記予め登録されたデータとして格納するエントリテーブルと、
前記比較データ抜き出し回路で抜き出したデータと前記エントリテーブルに予め登録されたデータとを比較する比較判定回路と、
前記比較データ抜き出し回路で抜き出したデータから前記フレームのIP(Internet Protocol)ヘッダの変換処理に必要なデータを計算する変換データ計算回路と、
前記比較判定回路の比較結果に応じて前記変換データ計算回路の計算結果と変換後のIPヘッダのデータを格納する変換データテーブルのデータとを基に前記フレームのIPヘッダの変換を行うコプロセッサと、
前記コプロセッサで前記IPヘッダの変換を行ったデータを格納するメモリと、
前記メモリに格納されたフレームのステータスを監視して送信可能なステータスの場合に当該フレームを送信するよう制御するメモリ監視回路とを有し、
前記受信したフレームを一時的に保持するFIFO(First In First Out)を含み、
前記コプロセッサは、前記FIFOに格納されているフレームのIPv4(Internet Protocol version 4)ヘッダとIPv6(Internet Protocol version 6)ヘッダとの置き換えを行い、
前記IPv4と前記IPv6との間のプロトコル変換において、フレーム情報の管理及び変換処理をすべて上記の各回路によるハードウェアで行うことを特徴とするプロトコル変換装置。 A comparison data extraction circuit for extracting a specific part of the frame in order to specify the type of the received frame;
An entry table for storing the characteristics of the received frame as the pre-registered data;
A comparison determination circuit that compares the data extracted by the comparison data extraction circuit with data registered in advance in the entry table;
A conversion data calculation circuit for calculating data necessary for conversion processing of an IP (Internet Protocol) header of the frame from data extracted by the comparison data extraction circuit;
A coprocessor for converting the IP header of the frame based on the calculation result of the conversion data calculation circuit and the data of the conversion data table storing the converted IP header data according to the comparison result of the comparison determination circuit; ,
A memory for storing data obtained by converting the IP header by the coprocessor;
A memory monitoring circuit that monitors the status of the frame stored in the memory and controls to transmit the frame in the case of a transmittable status;
A FIFO (First In First Out) for temporarily holding the received frame;
The coprocessor replaces an IPv4 (Internet Protocol version 4) header and an IPv6 (Internet Protocol version 6) header of the frame stored in the FIFO,
In the protocol conversion between the IPv4 and the IPv6, all the frame information management and conversion processing are performed by hardware using the above-described circuits.
レームの特性として格納することを特徴とする請求項1記載のプロトコル変換装置。 2. The protocol conversion apparatus according to claim 1, wherein the entry table stores an IP version and an IP address as characteristics of the received frame.
前記受信したフレームの特性をエントリテーブルに予め登録しておき、
比較判定回路にて、前記比較データ抜き出し回路で抜き出したデータと前記エントリテーブルに予め登録されたデータとを比較し、
変換データ計算回路にて、前記比較データ抜き出し回路で抜き出したデータから前記フレームのIP(Internet Protocol)ヘッダの変換処理に必要なデータを計算し、
コプロセッサにて、前記比較判定回路の比較結果に応じて前記変換データ計算回路の計算結果と変換後のIPヘッダのデータを格納する変換データテーブルのデータとを基に前記フレームのIPヘッダの変換を行い、
前記コプロセッサで前記IPヘッダの変換を行ったデータをメモリに格納し、
メモリ監視回路にて、前記メモリに格納されたフレームのステータスを監視して送信可能なステータスの場合に当該フレームを送信するよう制御し、
前記受信したフレームを一時的に保持するFIFO(First In Fi
rst Out)を設け、
前記コプロセッサが、前記FIFOに格納されているフレームのIPv4(Internet Protocol version 4)ヘッダとIPv6(Internet Protocol version 6)ヘッダとの置き換えを行い、
前記IPv4と前記IPv6との間のプロトコル変換において、フレーム情報の管理及び変換処理をすべて上記の各回路によるハードウェアで行うことを特徴とするプロトコル変換方法。 In the comparison data extraction circuit, a specific part of the frame is extracted in order to specify the type of the received frame,
The characteristics of the received frame are registered in the entry table in advance,
In the comparison determination circuit, the data extracted by the comparison data extraction circuit is compared with the data registered in advance in the entry table,
The conversion data calculation circuit calculates data necessary for the IP (Internet Protocol) header conversion processing of the frame from the data extracted by the comparison data extraction circuit.
In the coprocessor, the conversion of the IP header of the frame based on the calculation result of the conversion data calculation circuit and the data of the conversion data table storing the data of the converted IP header according to the comparison result of the comparison determination circuit And
Storing the data obtained by converting the IP header by the coprocessor in a memory;
In the memory monitoring circuit, the status of the frame stored in the memory is monitored and controlled to transmit the frame in the case of a status that can be transmitted,
A FIFO (First In Fi) that temporarily holds the received frame.
rst Out)
The coprocessor replaces an IPv4 (Internet Protocol version 4) header and an IPv6 (Internet Protocol version 6) header of the frame stored in the FIFO;
A protocol conversion method characterized in that in protocol conversion between the IPv4 and the IPv6, all frame information management and conversion processes are performed by hardware using the above-described circuits.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011255661A JP2012070425A (en) | 2011-11-24 | 2011-11-24 | Protocol conversion apparatus and protocol conversion method used for the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011255661A JP2012070425A (en) | 2011-11-24 | 2011-11-24 | Protocol conversion apparatus and protocol conversion method used for the same |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008320368A Division JP2010147617A (en) | 2008-12-17 | 2008-12-17 | Protocol conversion apparatus, and protocol conversion method used for same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012070425A true JP2012070425A (en) | 2012-04-05 |
Family
ID=46167065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011255661A Pending JP2012070425A (en) | 2011-11-24 | 2011-11-24 | Protocol conversion apparatus and protocol conversion method used for the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012070425A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002281039A (en) * | 2001-03-21 | 2002-09-27 | Ricoh Co Ltd | Packet transmitter-receiver |
JP2005117503A (en) * | 2003-10-09 | 2005-04-28 | Fujitsu Ltd | Address conversion program, and conversion apparatus |
-
2011
- 2011-11-24 JP JP2011255661A patent/JP2012070425A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002281039A (en) * | 2001-03-21 | 2002-09-27 | Ricoh Co Ltd | Packet transmitter-receiver |
JP2005117503A (en) * | 2003-10-09 | 2005-04-28 | Fujitsu Ltd | Address conversion program, and conversion apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9112780B2 (en) | Techniques for processing incoming failure detection protocol packets | |
JP5660198B2 (en) | Network system and switching method | |
JP2015111902A (en) | Network system, controller, switch and traffic monitoring method | |
US9001650B2 (en) | TCP relay apparatus | |
JP5093160B2 (en) | Communication device | |
US20210306362A1 (en) | Communication control system, network controller and computer program | |
EP3678333B1 (en) | Data processing method and device, and computer | |
CN106899419B (en) | Method, device and request terminal for realizing exception handling | |
JP2018511282A (en) | WIPS sensor and terminal blocking method using the same | |
CN107547561B (en) | Method and device for carrying out DDOS attack protection processing | |
JP2016019031A (en) | Filtering device and filtering method | |
KR101284584B1 (en) | System and method for managing signaling traffic | |
WO2012013003A1 (en) | Method and system for processing data message | |
CN109167774B (en) | Data message and data stream safety mutual access method on firewall | |
JP2010147617A (en) | Protocol conversion apparatus, and protocol conversion method used for same | |
JP2012070425A (en) | Protocol conversion apparatus and protocol conversion method used for the same | |
CN108024291B (en) | Method and device for detecting shared internet access in mobile network | |
CN104320634A (en) | Method for rapidly transmitting electric transmission line remote intelligent line patrolling data | |
US8902756B2 (en) | Packet transfer processing device, packet transfer processing method, and packet transfer processing program | |
JP2007266933A (en) | Wide area network system | |
KR20120012354A (en) | device for reducing load of TCP/IP Offload Engine | |
US20100166011A1 (en) | Method, apparatus and system for realizing dynamic correlation of control plane traffic rate | |
CN107508757B (en) | Multi-process load balancing method and device | |
US20130133060A1 (en) | Communication system, control device and control program | |
US9742699B2 (en) | Network apparatus and selective information monitoring method using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120508 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120611 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120717 |