JP2013247556A - Buffer device - Google Patents
Buffer device Download PDFInfo
- Publication number
- JP2013247556A JP2013247556A JP2012120766A JP2012120766A JP2013247556A JP 2013247556 A JP2013247556 A JP 2013247556A JP 2012120766 A JP2012120766 A JP 2012120766A JP 2012120766 A JP2012120766 A JP 2012120766A JP 2013247556 A JP2013247556 A JP 2013247556A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- unit
- data
- memory
- storage 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.)
- Granted
Links
Images
Abstract
Description
この発明は、パケット等のデータのメモリに対する格納状態を記録した格納情報の誤り訂正を可能とするバッファ装置に関するものである。 The present invention relates to a buffer device that enables error correction of stored information that records the storage state of data such as packets in a memory.
近年、インターネットの急速な普及に伴って、通信ネットワークは飛躍的に発展しており、特にIP(Internet Protocol)パケットに代表されるデータ通信は、通信ネットワーク全体のトラヒックの主流となりつつある。また、通信サービスに対する需要の高まりや通信速度の高速化による装置の大容量化などが顕著になってきている。 In recent years, with the rapid spread of the Internet, communication networks have been dramatically developed. In particular, data communication represented by IP (Internet Protocol) packets is becoming the mainstream of traffic of the entire communication network. In addition, an increase in the capacity of devices due to an increase in demand for communication services and an increase in communication speed have become prominent.
このような通信ネットワーク上には、パケット転送を行うためのルータやスイッチが配置されているが、パケットの転送処理を行う際、転送元と転送先の通信ネットワークのデータ転送レートが同一とは限らない。また、転送先の通信ネットワークに輻輳が発生している場合は、その通信ネットワークにパケットを転送することができない。 On such communication networks, routers and switches for packet transfer are arranged, but when performing packet transfer processing, the data transfer rates of the transfer source and transfer destination communication networks are not always the same. Absent. Further, when congestion occurs in the transfer destination communication network, the packet cannot be transferred to the communication network.
このような場合には、パケットの転送が開始可能となるまでパケットを一時的に蓄えておくための機能が必要である。この機能のことをパケットバッファと呼び、一般にメモリとメモリ制御装置から構成される。パケットバッファは、大容量かつ高データ転送レートが要求されるデータ通信に対応する必要があるため、メモリには、安価で大容量のDRAMを使用することが多い。DRAMは、バースト転送を行うことにより高データ転送レートを得ることができるメモリである。 In such a case, a function for temporarily storing packets until packet transfer can be started is necessary. This function is called a packet buffer and is generally composed of a memory and a memory control device. Since the packet buffer needs to support data communication requiring a large capacity and a high data transfer rate, an inexpensive and large capacity DRAM is often used for the memory. The DRAM is a memory that can obtain a high data transfer rate by performing burst transfer.
パケットバッファ装置の構築方法として、従来方式である特許文献1では、受信したパケットサイズに応じてメモリへのパケット格納方法を変えることで、メモリを効率的に利用する方式を示している。また、特許文献2では、メモリへの書き込みに適したデータサイズとなるように受信したパケットを分割・統合することで、メモリへの高速アクセスを実現する方式を示している。 As a method of constructing a packet buffer device, Patent Document 1 as a conventional method shows a method of efficiently using a memory by changing a packet storage method in the memory according to a received packet size. Japanese Patent Application Laid-Open No. 2004-228561 shows a method for realizing high-speed access to a memory by dividing and integrating received packets so as to have a data size suitable for writing to the memory.
前掲の先行特許は、メモリの効率的な使用やメモリへの高速アクセスを実現するために、受信したパケットをメモリへと格納する際、メモリへのパケット格納状態を記録したパケット格納情報を作成している。特許文献1においてはショート用バッファテーブルやロング用バッファテーブルが、特許文献2においてはアドレス管理テーブルが、パケット格納情報に該当する。そのため、メモリが実装された基板周囲のノイズやメモリのソフトエラー等により、このパケット格納情報に誤りが生じると、メモリへのパケット格納状態を正しく認識できなくなるため、そのパケット格納情報が管理するメモリ領域に含まれる全てのパケットが正しく再構成できなくなるという課題があった。その結果、正しく再構成できなかったパケットは廃棄されるが、廃棄されたパケットの再送制御が行われることで、通信ネットワークのトラヒックが増加してしまい、実効帯域の圧迫につながる。
The above-mentioned prior patents create packet storage information that records the packet storage state in the memory when storing received packets in the memory in order to achieve efficient use of the memory and high-speed access to the memory. ing. In Patent Document 1, a short buffer table and a long buffer table correspond to packet storage information, and in
この発明は、上記のような課題を解決するためになされたもので、パケット等のデータのメモリに対する格納状態を記録した格納情報に誤りが生じても、その格納情報が管理するメモリ領域に含まれる全てのデータが正しく再構成できるバッファ装置を提供することを目的としている。 The present invention has been made in order to solve the above-described problems, and even if an error occurs in the storage information recording the storage state of data such as a packet in the memory, it is included in the memory area managed by the storage information. An object of the present invention is to provide a buffer device capable of correctly reconstructing all data to be reconstructed.
この発明に係るバッファ装置は、受信したデータごとに、当該データのメモリに対する格納情報を生成する格納情報生成部と、格納情報生成部により生成された格納情報ごとに、誤り訂正符号を生成する誤り訂正符号生成部と、データをメモリへのアクセスに適したサイズとなるまで集積した集積データと、格納情報生成部により生成された格納情報および誤り訂正符号生成部により生成された誤り訂正符号を含む管理データとを対応付けたデータブロックをメモリに書き込むメモリ書き込み部と、メモリに蓄積されているデータブロックを読み出すメモリ読み出し部と、メモリ読み出し部により読み出されたデータブロックに含まれる管理データを格納する管理データ一時格納部と、管理データ一時格納部に格納された管理データに含まれる誤り訂正符号を用いて格納情報の誤りを訂正する誤り訂正部と、メモリ読み出し部により読み出されたデータブロックに含まれる集積データ、および、管理データ一時格納部に格納されている管理データに含まれる格納情報に基づいて、データの再構成を行う再構成部と、誤り訂正部により格納情報に対する誤り訂正が終了した後に、再構成部に対してデータの再構成を指示する再構成制御部とを備えたものである。 The buffer device according to the present invention includes, for each received data, a storage information generation unit that generates storage information in the memory of the data, and an error that generates an error correction code for each storage information generated by the storage information generation unit Including a correction code generation unit, integrated data in which data is collected to a size suitable for accessing the memory, storage information generated by the storage information generation unit, and an error correction code generated by the error correction code generation unit A memory writing unit for writing a data block associated with management data to the memory, a memory reading unit for reading the data block stored in the memory, and management data included in the data block read by the memory reading unit are stored. Included in the management data temporary storage section and the management data stored in the management data temporary storage section. Included in error correction unit that corrects error in stored information using error correction code, integrated data included in data block read by memory reading unit, and management data stored in management data temporary storage unit A reconfiguration unit that reconfigures data based on the stored information, a reconfiguration control unit that instructs the reconfiguration unit to reconfigure data after the error correction unit completes error correction for the stored information, and It is equipped with.
この発明によれば、上記のように構成したので、パケット等のデータのメモリに対する格納状態を記録した格納情報に誤りが生じても、その格納情報が管理するメモリ領域に含まれる全てのデータが正しく再構成でき、格納情報が誤ることに起因したデータの廃棄を低減できる。 According to this invention, since it is configured as described above, even if an error occurs in the storage information that records the storage state of data such as a packet in the memory, all the data included in the memory area managed by the storage information is stored. Data can be correctly reconstructed, and data discard due to incorrect stored information can be reduced.
以下、この発明の実施の形態について図面を参照しながら詳細に説明する。なお以下では、バッファ装置として、パケットを一時的に蓄えるパケットバッファ装置5を用いて説明を行う。
実施の形態1.
まず、本発明のパケットバッファ装置5が適用されたパケット転送装置1の構成例について、図1を参照しながら説明する。
インターネットのような通信ネットワーク上には、例としてルータやスイッチのようなパケット転送装置1が配置されている。パケット転送装置1は、複数の通信ネットワークを相互に接続しており、終端から終端へとパケットを転送する役割がある。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the following description, a
Embodiment 1 FIG.
First, a configuration example of a packet transfer device 1 to which the
On a communication network such as the Internet, a packet transfer device 1 such as a router or a switch is arranged as an example. The packet transfer apparatus 1 connects a plurality of communication networks to each other, and has a role of transferring packets from end to end.
このパケット転送装置1は、図1に示すように、制御装置4およびパケットバッファ装置5から構成されている。そして、通常時では、パケット送信元2側のポートで受信したパケットを、パケット送信先3側のポートに直接転送する。一方、パケット送信先3の輻輳を検出した場合は、パケット送信元2に対して、パケットを送信しないように制御を行う。しかし、この制御と実際にパケットの送信が停止するまでには時間差があるため、パケット送信元2から既に送信されているパケットは、パケット送信元2側のポートに受信され続ける。そのため、このパケットを廃棄しないように、パケット送信先3側のポートに転送できないパケットを一時的に保存する必要がある。
そこで、制御装置4では、パケット送信先3の輻輳を検出すると、パケット送信元2側のポートに到着したパケットをパケットバッファ装置5に保存する。その後、パケット送信先3の輻輳が解消され、パケットを転送できるようになると、パケットバッファ装置5に格納されたパケットを読み出し、パケット送信先3側のポートに出力する。
As shown in FIG. 1, the packet transfer apparatus 1 includes a control device 4 and a
Therefore, when detecting the congestion of the
次に、パケットバッファ装置5の全体構成について、図2を参照しながら説明する。
パケットバッファ装置5は、図2に示すように、パケット格納情報生成部(格納情報生成部)501、誤り訂正符号生成部502、メモリ制御部503、メモリ書き込み部504、メモリ505、メモリ読み出し部506、パケット管理データ一時格納部(管理データ一時格納部)507、誤り訂正部508、パケット再構成制御部(再構成制御部)509およびパケット再構成部(再構成部)510から構成されている。
Next, the overall configuration of the
As shown in FIG. 2, the
パケット格納情報生成部501は、パケット送信元2から受信したパケットごとに、当該パケットのメモリ505に対する格納情報を記録したパケット格納情報(格納情報)を生成するものである。このパケット格納情報生成部501により生成されたパケット格納情報は誤り訂正符号生成部502およびメモリ書き込み部504に出力される。
The packet storage
誤り訂正符号生成部502は、パケット格納情報生成部501からのパケット格納情報ごとに、誤り訂正符号を生成するものである。この誤り訂正符号生成部502により生成された誤り訂正符号はメモリ書き込み部504に出力される。
The error correction
メモリ制御部503は、制御装置4からの指示に従い、メモリ書き込み部504およびメモリ読み出し部506に対するメモリ505への読み書きを制御するものである。
The
メモリ書き込み部504は、パケット送信元2から受信したパケットを集積してパケットデータ(集積データ)を作成するとともに、パケット格納情報生成部501および誤り訂正符号生成部502からのデータを対応付けてパケット管理データ(管理データ)を作成し、これらをデータブロックとして、メモリ制御部503による制御に従い、メモリ505に書き込むものである。
The
メモリ505は、メモリ書き込み部504からのデータブロックを格納するためのバースト転送を特徴とするメモリである。なお、メモリ505は、バースト転送を行うことにより、高データ転送レートが得られるため、受信したパケットはメモリ505への書き込みに適するように整形し、読み出し時には整形前のパケットの状態に戻す必要がある。したがって、バースト転送を特徴とするメモリを使用する際には、パケット格納情報が必要となる。
The
メモリ読み出し部506は、メモリ制御部503の制御に従い、メモリ505に格納されたデータブロックを読み出すものである。このメモリ読み出し部506により読み出されたデータブロックのうち、パケット管理データはパケット管理データ一時格納部507に出力され、パケットデータはパケット再構成部510に出力される。
The
パケット管理データ一時格納部507は、メモリ読み出し部506からのパケット管理データを格納するものである。
誤り訂正部508は、パケット管理データ一時格納部507に格納されたパケット管理データに含まれる誤り訂正符号を用いてパケット格納情報の誤りを訂正するものである。
The packet management data
The
パケット再構成制御部509は、パケット管理データ一時格納部507を参照し、パケット再構成部510を制御するものである。
パケット再構成部510は、パケット再構成制御部509の制御に従い、パケット管理データ一時格納部507に格納されたパケット管理データおよびメモリ読み出し部506からのパケットデータに基づいて、パケットを再構成するものである。
The packet
The
次に、上記のように構成されたパケットバッファ装置5の動作について説明する。まず、パケットを受信後、メモリ505に書き込むまでの動作について、図3を参照しながら説明する。
パケットバッファ装置5のパケット書き込み動作では、図3に示すように、まず、パケット格納情報生成部501は、受信したパケットごとにパケット格納情報を生成し、その結果を誤り訂正符号生成部502およびメモリ書き込み部504に出力する(ステップST31)。ここで、パケット格納情報は、受信したパケットのパケットサイズ情報を格納することを想定しており、データブロックの先頭を基準位置としたときのパケット格納位置を記録するために用いる。
次いで、誤り訂正符号生成部502は、パケット格納情報生成部501により生成されたパケット格納情報ごとに誤り訂正符号を生成し、メモリ書き込み部504に出力する(ステップST32)。
Next, the operation of the
In the packet writing operation of the
Next, error correction
次いで、メモリ書き込み部504は、入力されたデータを基に、パケットデータの作成、パケット管理データの作成、および、データブロックの作成とメモリ505への書き込みという3つの処理を行う(ステップST33)。ここで、パケットデータは、順次入力されるパケットをメモリ505のアクセスに適したサイズとなるまで溜めることで作成する。また、パケット管理データは、パケットデータに格納した全てのパケットに対して、パケット格納情報生成部501からのパケット格納情報と誤り訂正符号生成部502からの誤り訂正符号とを格納することで作成する。また、データブロックは、パケットデータとそれに対応するパケット管理データとを一対にして格納することで作成する。そして、作成完了したデータブロックをメモリ制御部503からの制御に従ってメモリ505に書き込むことで、受信したパケットのメモリ505への格納動作が完了する。
Next, the
ここで、図4はメモリ505の内部構成例を示す図である。この図4に示すように、メモリ505には一定サイズのデータブロック11が格納され、データブロック11にはパケット管理データ12およびパケットデータ13が格納されている。
また、図5はパケット管理データ12の内部構成例を示す図である。この図5に示すように、パケット管理データ12には、受信したパケットごとに、パケット格納情報14と当該パケット格納情報14の誤り訂正符号15とが格納されている。
さらに、図6はパケットデータ13の内部構成例を示す図である。この図6に示すように、パケットデータ13には受信したパケットが格納されている。
Here, FIG. 4 is a diagram illustrating an internal configuration example of the
FIG. 5 is a diagram showing an example of the internal configuration of the
FIG. 6 is a diagram showing an example of the internal configuration of the
次に、図4に示すデータブロック11をメモリ505から読み出し、再びパケットとして再構成して出力するまでの動作について、図7を参照しながら説明する。
パケットバッファ装置5のパケット読み出し・再構成動作では、図7に示すように、まず、メモリ読み出し部506は、メモリ制御部503からの制御に従って、メモリ505からデータブロック11を読み出し、データブロック11に含まれているパケット管理データ12をパケット管理データ一時格納部507に出力する(ステップST71)。また、データブロック11に含まれているパケットデータ13をパケット再構成部510に出力する。
ここで、図8はパケット管理データ一時格納部507の内部構成例を示す図である。この図8に示すように、パケット管理データ一時格納部507には、パケット管理データ12が格納され、パケット格納情報14に対する誤り訂正処理の状態を記録する処理状態表示部16が設けられている。この処理状態表示部16には、パケット格納情報14ごとの誤り訂正処理の状態を記録できる。なお、処理状態表示部16の初期値では、誤り訂正未完了が記録されている。
Next, the operation from reading out the data block 11 shown in FIG. 4 from the
In the packet read / reconstruction operation of the
Here, FIG. 8 is a diagram illustrating an internal configuration example of the packet management data
次いで、誤り訂正部508は、パケット管理データ一時格納部507に入力されるパケット管理データ12に含まれる個々のパケット格納情報14について、誤り訂正符号15を用いて、誤り訂正を行う。そして、処理状態表示部16に誤り訂正完了を書き込む(ステップST72)。
Next, the
また、誤り訂正部508の動作と独立して、パケット再構成制御部509は、処理状態表示部16を監視し、パケット再構成部510の制御を行う(ステップST73)。ここで、処理状態表示部16が誤り訂正完了を示している場合にはパケット再構成部510に対してパケットの再構成を指示し、誤り訂正完了を示していない場合にはパケット再構成の一時停止を指示する。そして、パケット再構成の再開指示は、誤り訂正部508によって誤り訂正が実行され、処理状態表示部16に誤り訂正完了が表示されたとき行う。
次いで、パケット再構成部510は、パケット再構成制御部509の指示に従って、誤り訂正が完了したパケット格納情報およびメモリ読み出し部506からのパケットデータ13に基づいて、パケットを再構成する(ステップST74)。なお、データブロック11が読み出された後のメモリ領域は、新たなデータブロックの書き込みが可能な状態となる。
Independent of the operation of
Next,
以上のように、この実施の形態1によれば、パケット管理データ12に含まれる個々のパケット格納情報14に誤り訂正符号15を付加するように構成したので、パケットの再構成前にパケット格納情報14の誤り訂正を可能とすることができ、パケット格納情報14が誤ることに起因したパケット廃棄を低減可能なパケットバッファ装置5を構築できる。
As described above, according to the first embodiment, since the
なお、実施の形態1では、パケット管理データに格納される符号化された出力に、元のデータ(パケット格納情報)がそのまま含まれるような符号化形式を想定して説明を行ったが、元データがそのまま含まれないような符号化形式であってもよい。すなわち、実施の形態1では、図9に示すように、誤り訂正符号生成部502にてパケット格納情報を基に誤り訂正符号を生成し、パケット格納情報に誤り訂正符号を付加することでパケット管理データを生成している。それに対して、図10に示すように、誤り訂正符号生成部502にてパケット格納情報を基に誤り訂正符号化後のパケット格納情報を生成し、この誤り訂正符号化後のパケット格納情報を用いてパケット管理データを生成するようにしてもよい。
In the first embodiment, the description has been made on the assumption that the encoded data stored in the packet management data includes the original data (packet storage information) as it is. The encoding format may not include data as it is. That is, in the first embodiment, as shown in FIG. 9, the error correction
実施の形態2.
図11はこの発明の実施の形態2に係るパケットバッファ装置5の構成を示す図である。図11に示す実施の形態2に係るパケットバッファ装置5は、図2に示す実施の形態1に係るパケットバッファ装置5に誤り検出符号生成部511および誤り検出部512を追加したものである。その他の構成は同様であり、同一の符号を付してその説明を省略する。
FIG. 11 is a diagram showing the configuration of the
誤り検出符号生成部511は、パケット格納情報生成部501からのパケット格納情報ごとに、誤り検出符号を生成するものである。この誤り検出符号生成部511により生成された誤り検出符号はメモリ書き込み部504に出力される。
なお、メモリ書き込み部504は、パケット管理データを作成する際に、パケット格納情報生成部501および誤り訂正符号生成部502からのデータに加えて、誤り検出符号生成部511からのデータも格納する。
The error detection
Note that the
誤り検出部512は、誤り検出符号生成部511に格納されたパケット管理データに含まれる誤り検出符号を用いて誤りがあるパケット格納情報を検出するものである。
なお、誤り訂正部508は、誤り検出部512により誤りが検出されたパケット格納情報に対してのみ誤りを訂正する。
The
The
パケット管理データに格納された個々のパケット格納情報の誤り耐性をさらに強くする場合、誤り訂正能力の高い誤り訂正符号を用いることも可能であるが、誤り訂正に多くの時間を要する。一般に、1ビットの誤り訂正が可能なハミング符号を用い、データ長15ビット、符号化率11/15の場合では、誤り訂正に1クロック要するが、複数ビットの誤り訂正が可能な差集合巡回符号を用い、データ長21ビット、符号化率11/21の場合では、誤り訂正に32クロック要する。一方、誤り検出に要する時間は、例えばパリティビットを用いた1ビットの誤り検出や、ハミング符号を用いた2ビットの誤り検出では、ともに1クロックで済む。
そこで、パケット格納情報に誤り訂正符号だけでなく、誤り検出符号も付加し、誤り訂正を行う前に誤り検出を行う。そして、パケット格納情報に誤りが生じていない場合には誤り訂正を行わず、誤りが生じたパケット格納情報に対してのみ誤り訂正を実施する。これにより、処理遅延を削減できるため、誤り訂正能力の高い誤り訂正符号を用いることが可能となる。
In order to further increase the error resistance of individual packet storage information stored in the packet management data, it is possible to use an error correction code having a high error correction capability, but it takes a lot of time for error correction. In general, when a Hamming code capable of 1-bit error correction is used, and when the data length is 15 bits and the coding rate is 11/15, one clock is required for error correction, but a differential cyclic code capable of error correction of multiple bits. When the data length is 21 bits and the coding rate is 11/21, 32 clocks are required for error correction. On the other hand, the time required for error detection is one clock for both 1-bit error detection using a parity bit and 2-bit error detection using a Hamming code.
Therefore, not only an error correction code but also an error detection code is added to the packet storage information, and error detection is performed before error correction. If no error has occurred in the packet storage information, error correction is not performed, and error correction is performed only on the packet storage information in which an error has occurred. Thereby, since processing delay can be reduced, it is possible to use an error correction code having high error correction capability.
なお、受信したパケットをメモリ505に書き込むまでの動作のうち、実施の形態1と異なるのは、誤り検出符号生成部511とメモリ書き込み部504の動作である。
すなわち、誤り検出符号生成部511は、パケット格納情報生成部501により生成されたパケット格納情報ごとに誤り検出符号を生成し、メモリ書き込み部504に出力する。そして、メモリ書き込み部504は、パケット管理データの作成において、パケットデータに格納した全てのパケットについて、パケット格納情報生成部501により生成されたパケット格納情報と、誤り訂正符号生成部502により生成された誤り訂正符号に加えて、誤り検出符号生成部511により生成された誤り検出符号も格納する。
Of the operations until the received packet is written in the
That is, the error detection
図12はパケット管理データ12の内部構成例を示す図である。この図12に示すように、パケット管理データ12には、受信したパケットごとに、パケット格納情報14と、パケット格納情報の誤り訂正符号15と、パケット格納情報14の誤り検出符号17とが格納されている。
FIG. 12 is a diagram illustrating an internal configuration example of the
次に図4に示すデータブロック11をメモリ505から読み出し、再びパケットとして再構成して出力するまでの動作を以下に記す。
パケット管理データ12がパケット管理データ一時格納部507に格納されると、誤り検出部512は、パケット格納情報14に対して誤り検出符号17を用いて誤り検出を行い、誤りの有無を処理状態表示部16に表示する。ここで、誤り訂正部508は、誤り検出部512の動作とは独立して処理状態表示部16を監視し、処理状態表示部16に誤り有りと記録されている箇所のパケット格納情報14について誤り訂正符号15を用いて誤り訂正し、処理状態表示部16に誤り訂正完了を記録する。
Next, the operation until the data block 11 shown in FIG. 4 is read from the
When the
また、誤り検出部512と誤り訂正部508の動作と独立して、パケット再構成制御部509は、処理状態表示部16を参照し、処理状態表示部16が誤り無しまたは誤り訂正完了を示している場合は、パケット再構成部510に対してパケットの再構成を指示する。一方、処理状態表示部16が誤り有りを示している箇所を検出した場合は、パケット再構成部510に対してパケット再構成の一時停止を指示する。そして、パケット再構成の再開指示は、処理状態表示部16に誤り訂正完了と表示されたとき行う。
そして、パケット再構成部510は、パケット再構成制御部509の指示に従って、パケット格納情報14とメモリ読み出し部506からのパケットデータ13に基づいて、パケットを再構成する。
Independent of the operations of the
The
以上のように、この実施の形態2によれば、パケット管理データ12に含まれる個々のパケット格納情報14に誤り検出符号17を付加するように構成したので、パケット格納情報14の誤り訂正を行う前に、誤り検出を実施することができる。これにより、パケット管理データ内のパケット格納情報14のうち、誤りの生じたパケット格納情報14にのみ誤り訂正を行うことができ、処理遅延の増加を抑えることができる。したがって、誤り訂正能力の高い誤り訂正符号を用いて、パケット格納情報14の誤り耐性を強くすることが可能となる。
As described above, according to the second embodiment, since the
なお、実施の形態1,2では、バッファ装置としてパケットバッファ装置5を用いた場合について説明したが、これに限るものではなく、フレームを一時的に蓄えるフレームバッファ装置に対しても同様に適用可能である。
In the first and second embodiments, the case where the
また、本願発明はその発明の範囲内において、各実施の形態の自由な組み合わせ、あるいは各実施の形態の任意の構成要素の変形、もしくは各実施の形態において任意の構成要素の省略が可能である。 Further, within the scope of the present invention, the invention of the present application can be freely combined with each embodiment, modified with any component in each embodiment, or omitted with any component in each embodiment. .
1 パケット転送装置、2 パケット送信元、3 パケット送信先、4 制御装置、5 パケットバッファ装置(バッファ装置)、11 データブロック、12 パケット管理データ(管理データ)、13 パケットデータ(集積データ)、14 パケット格納情報(格納情報)、15 誤り訂正符号、16 処理状態表示部、17 誤り検出符号、501 パケット格納情報生成部(格納情報生成部)、502 誤り訂正符号生成部、503 メモリ制御部、504 メモリ書き込み部、505 メモリ、506 メモリ読み出し部、507 パケット管理データ一時格納部(管理データ一時格納部)、508 誤り訂正部、509 パケット再構成制御部(再構成制御部)、510 パケット再構成部(再構成部)、511 誤り検出符号生成部、512 誤り検出部。
1 packet transfer device, 2 packet transmission source, 3 packet transmission destination, 4 control device, 5 packet buffer device (buffer device), 11 data block, 12 packet management data (management data), 13 packet data (integrated data), 14 Packet storage information (storage information), 15 error correction code, 16 processing status display unit, 17 error detection code, 501 packet storage information generation unit (storage information generation unit), 502 error correction code generation unit, 503 memory control unit, 504 Memory writing unit, 505 memory, 506 memory reading unit, 507 packet management data temporary storage unit (management data temporary storage unit), 508 error correction unit, 509 packet reconfiguration control unit (reconfiguration control unit), 510 packet reconfiguration unit (Reconstruction unit) 511 Error detection
Claims (2)
受信したデータごとに、当該データの前記メモリに対する格納情報を生成する格納情報生成部と、
前記格納情報生成部により生成された格納情報ごとに、誤り訂正符号を生成する誤り訂正符号生成部と、
前記データを前記メモリへのアクセスに適したサイズとなるまで集積した集積データと、前記格納情報生成部により生成された格納情報および前記誤り訂正符号生成部により生成された誤り訂正符号を含む管理データとを対応付けたデータブロックを前記メモリに書き込むメモリ書き込み部と、
前記メモリに蓄積されているデータブロックを読み出すメモリ読み出し部と、
前記メモリ読み出し部により読み出されたデータブロックに含まれる管理データを格納する管理データ一時格納部と、
前記管理データ一時格納部に格納された管理データに含まれる誤り訂正符号を用いて格納情報の誤りを訂正する誤り訂正部と、
前記メモリ読み出し部により読み出されたデータブロックに含まれる集積データ、および、前記管理データ一時格納部に格納されている管理データに含まれる格納情報に基づいて、前記データの再構成を行う再構成部と、
前記誤り訂正部により格納情報に対する誤り訂正が終了した後に、前記再構成部に対して前記データの再構成を指示する再構成制御部とを備えた
ことを特徴とするバッファ装置。 In a buffer device using a memory that performs burst transfer,
For each received data, a storage information generation unit that generates storage information of the data in the memory;
An error correction code generation unit that generates an error correction code for each piece of storage information generated by the storage information generation unit;
Management data including integrated data in which the data is collected to a size suitable for access to the memory, storage information generated by the storage information generation unit, and error correction code generated by the error correction code generation unit A memory writing unit for writing a data block in association with the memory into the memory;
A memory reading unit for reading out data blocks stored in the memory;
A management data temporary storage unit for storing management data included in the data block read by the memory reading unit;
An error correction unit for correcting an error in stored information using an error correction code included in the management data stored in the management data temporary storage unit;
Reconfiguration for reconfiguring the data based on the integrated data included in the data block read by the memory reading unit and the storage information included in the management data stored in the management data temporary storage unit And
A buffer device comprising: a reconstruction control unit that instructs the reconstruction unit to reconstruct the data after error correction of stored information is completed by the error correction unit.
前記誤り検出符号生成部により生成された誤り検出符号を用いて、前記管理データ一時格納部に格納された管理データに含まれる格納情報の誤りを検出する誤り検出部とを備え、
前記誤り訂正部は、前記誤り検出部により誤りが検出された格納情報に対して、誤りを訂正する
ことを特徴とする請求項1記載のバッファ装置。 An error detection code generation unit that generates an error detection code for each piece of storage information generated by the storage information generation unit;
Using an error detection code generated by the error detection code generation unit, and an error detection unit for detecting an error in storage information included in the management data stored in the management data temporary storage unit,
The buffer device according to claim 1, wherein the error correction unit corrects an error with respect to storage information in which an error is detected by the error detection unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012120766A JP6037661B2 (en) | 2012-05-28 | 2012-05-28 | Buffer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012120766A JP6037661B2 (en) | 2012-05-28 | 2012-05-28 | Buffer device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013247556A true JP2013247556A (en) | 2013-12-09 |
JP6037661B2 JP6037661B2 (en) | 2016-12-07 |
Family
ID=49847010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012120766A Active JP6037661B2 (en) | 2012-05-28 | 2012-05-28 | Buffer device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6037661B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000122843A (en) * | 1998-10-14 | 2000-04-28 | Oki Electric Ind Co Ltd | Communication controller |
JP2002300203A (en) * | 2001-03-29 | 2002-10-11 | Fujitsu Ltd | Packet buffer device |
JP2003058431A (en) * | 2001-08-09 | 2003-02-28 | Hitachi Ltd | Memory card and memory controller |
JP2005267676A (en) * | 2004-03-16 | 2005-09-29 | Matsushita Electric Ind Co Ltd | Nonvolatile storage device |
WO2009069297A1 (en) * | 2007-11-27 | 2009-06-04 | Panasonic Corporation | Buffer management device, buffer management method, and integrated circuit for buffer management |
-
2012
- 2012-05-28 JP JP2012120766A patent/JP6037661B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000122843A (en) * | 1998-10-14 | 2000-04-28 | Oki Electric Ind Co Ltd | Communication controller |
JP2002300203A (en) * | 2001-03-29 | 2002-10-11 | Fujitsu Ltd | Packet buffer device |
JP2003058431A (en) * | 2001-08-09 | 2003-02-28 | Hitachi Ltd | Memory card and memory controller |
JP2005267676A (en) * | 2004-03-16 | 2005-09-29 | Matsushita Electric Ind Co Ltd | Nonvolatile storage device |
WO2009069297A1 (en) * | 2007-11-27 | 2009-06-04 | Panasonic Corporation | Buffer management device, buffer management method, and integrated circuit for buffer management |
Also Published As
Publication number | Publication date |
---|---|
JP6037661B2 (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018095303A1 (en) | Transmission method and apparatus for operation, management and maintenance of oam data | |
EP3160073A1 (en) | Method and optical switching node for transmitting data packets in an optical transmission network | |
JP5409032B2 (en) | Transmitting apparatus, method, and program | |
EP1261186A1 (en) | System and method for TCP connection protection switching | |
JP2010141413A (en) | Communication apparatus, communication method and program | |
EP4072043A1 (en) | Flexible ethernet overhead multiframe receiving method, apparatus, device, and medium | |
CN113114526B (en) | Data transmission method and device based on sub-packet interference prevention | |
KR20140075014A (en) | Method and apparatus for in the middle primary backup replication | |
CN101977092B (en) | Forward error correction mapping and de-mapping techniques | |
EP2201740B1 (en) | High speed packet processing in a wireless network | |
JP6037661B2 (en) | Buffer device | |
EP2395727A1 (en) | Data transport container, source device, destination device and method for transferring different types of data | |
CN103312577A (en) | Method and device for processing MAC data | |
CN115167776A (en) | Method and system for migrating distributed storage data | |
US9553686B2 (en) | Compression method for TDM frames in a packet network | |
JP4401910B2 (en) | Data communication apparatus and data communication method | |
JP5320571B2 (en) | Internode data response system | |
JP5588468B2 (en) | Switch device | |
WO2020182177A1 (en) | Routing information management method and device, and computer storage medium | |
JP2007208740A (en) | Packet recording and reproducing device | |
JP2001167007A (en) | File sending method | |
JP2007335926A (en) | Method of generating parity for fec, and transmitter | |
JP2006319463A (en) | Packet transmitting method and packet receiving device | |
JP2008228069A (en) | Auxiliary repeater | |
JP6111545B2 (en) | Receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150325 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160127 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160209 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160408 |
|
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: 20161004 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161101 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6037661 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |