JP2000122843A - Communication controller - Google Patents

Communication controller

Info

Publication number
JP2000122843A
JP2000122843A JP10291747A JP29174798A JP2000122843A JP 2000122843 A JP2000122843 A JP 2000122843A JP 10291747 A JP10291747 A JP 10291747A JP 29174798 A JP29174798 A JP 29174798A JP 2000122843 A JP2000122843 A JP 2000122843A
Authority
JP
Japan
Prior art keywords
management information
area
information area
management
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10291747A
Other languages
Japanese (ja)
Inventor
Hiroshi Takenoshita
博士 竹之下
Naoya Hashimoto
直也 橋本
Shinsaku Matsushita
辰作 松下
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP10291747A priority Critical patent/JP2000122843A/en
Publication of JP2000122843A publication Critical patent/JP2000122843A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To perform smooth communication control without breaking a chain by repairing management information that chains buffer areas by correction by means of error detection and correction codes even when an error occurs. SOLUTION: Transmission and reception data are divided and stored in buffer areas 2a to 2z of a memory 1. Respective buffer areas 2a to 2z are provided with a management information area 4 and a main information area 3. The management information area 4 has information that chains each buffer area. The area 4 includes error detection and correction codes 5 and is accessed at the same time with management information.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、バッファ用のメモ
リに送受信データを一時的に格納し、これを順に読み出
してデータ通信制御を行う通信制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control device for temporarily storing transmission / reception data in a buffer memory, sequentially reading out the data, and controlling data communication.

【0002】[0002]

【従来の技術】通信制御装置は、ネットワーク等を通じ
てデータの送受信をする場合に、バッファ用のメモリに
一時的に送受信データを格納し、所定のタイミングでそ
のデータ読み出して転送制御を行う。このようなバッフ
ァ用のメモリには、先入れ先出し(FIFO)タイプの
ものと、読み出しアドレスと書き込みアドレスを供給し
てデータの読み書きを行うタイプのものがある。
2. Description of the Related Art When transmitting and receiving data through a network or the like, a communication control device temporarily stores transmission and reception data in a buffer memory, reads out the data at a predetermined timing, and performs transfer control. Such a buffer memory includes a first-in first-out (FIFO) type memory and a type in which data is read and written by supplying a read address and a write address.

【0003】FIFOタイプのメモリの場合には、先に
書き込まれたデータが先に読み出されるため、自動的に
データの転送順序が決まる。後者の場合には、メモリ中
の複数のバッファ領域に送受信データを分割して格納す
る。各バッファ領域は、データの転送順にチェーンによ
ってつなぎ合わされる。
In the case of a FIFO type memory, the data transfer order is automatically determined because previously written data is read first. In the latter case, the transmission / reception data is divided and stored in a plurality of buffer areas in the memory. Each buffer area is connected by a chain in the order of data transfer.

【0004】こうした制御を行うために、各バッファ領
域には、送受信データを格納する主情報領域と、各バッ
ファ領域をチェーンするための管理情報を格納する管理
情報領域とが設けられる。管理情報領域には、次にチェ
ーンされるバッファ領域の相対アドレスが格納される。
この管理情報領域を参照しながら、順に主情報領域をア
クセスし、メモリから、送受信データを転送順に読み出
すことができる。
In order to perform such control, each buffer area is provided with a main information area for storing transmission / reception data and a management information area for storing management information for chaining the buffer areas. The management information area stores the relative address of the buffer area to be chained next.
While referring to the management information area, the main information area is accessed in order, and the transmission / reception data can be read from the memory in the order of transfer.

【0005】[0005]

【発明が解決しようとする課題】ところで、上記のよう
な従来の技術には次のような解決すべき課題があった。
メモリへの送受信データリードライトの際に、様々な原
因で書き込みあるいは読み出しエラーが発生することが
ある。こうしたエラーを検出し、データ誤りを防止する
ために、パリティビットが採用される。例えば16ビッ
ト幅のデータの場合、最後の16番目のビットがパリテ
ィビットとなり、残りの15ビット中に1が偶数含まれ
る場合は“0”、奇数含まれる場合は“1”といった情
報を表示する。これによって、読み出したデータのエラ
ーを検出し、メモリから再度読み出しを行ったり、ある
いは読み出したデータを無効にするといった制御が行わ
れる。
However, the above-mentioned prior art has the following problems to be solved.
When reading / writing data from / to a memory, a write or read error may occur for various reasons. Parity bits are employed to detect such errors and prevent data errors. For example, in the case of 16-bit data, the last 16th bit is a parity bit, and information such as "0" is displayed when 1 is included in the remaining 15 bits, and "1" is displayed when an odd number is included. . As a result, control is performed such as detecting an error in the read data and reading the data from the memory again, or invalidating the read data.

【0006】ところが、バッファ領域を相互にチェーン
するための管理情報に誤りがあって、再読み出しをして
もその誤りがなくならないことがある。このような場
合、次のバッファ領域へのチェーンが途切れるため、チ
ェーン管理が不能になる。従って、一旦システム全体を
停止し、初期化しなければならないという問題があっ
た。即ち、そのバッファ領域以降のチェーンが切れてし
まうため、既にメモリに格納されている送受信データを
全て廃棄し、改めてその書き込みを行わなければならな
いといった問題がある。
However, there is a case where there is an error in the management information for chaining the buffer areas to each other, and the error does not disappear even when the data is re-read. In such a case, the chain to the next buffer area is interrupted, so that chain management becomes impossible. Therefore, there is a problem that the entire system must be temporarily stopped and initialized. That is, since the chain after the buffer area is broken, there is a problem that all the transmission / reception data already stored in the memory must be discarded and the writing must be performed again.

【0007】更に、パリティチェックは、誤りが偶数ビ
ットある場合には誤りがない場合と区別できない。従っ
て、主情報領域に偶数ビットの誤りがあると、その誤り
に気付かず、処理を進めてしまう。このため、チェーン
されるべきバッファ領域と全く異なるバッファ領域の内
容を送受信データとして読み込んでしまう恐れがある。
Further, in the parity check, when an error has an even number of bits, it cannot be distinguished from the case where there is no error. Therefore, if there is an even-bit error in the main information area, the processing proceeds without noticing the error. For this reason, the contents of a buffer area completely different from the buffer area to be chained may be read as transmission / reception data.

【0008】しかも、送受信用のバッファとしてメモリ
を使用する場合、一旦データを読み込むと、その部分は
別のデータを書き込むためのバッファ領域に利用され
る。従って、誤って読み出したデータが別のチェーンに
つながる有効なデータであった場合に、該当するバッフ
ァ領域に新たなデータが上書きされて、その有効なデー
タが消滅してしまうという問題もある。通信制御装置に
おいては、データアクセスの高速性を妨げることなく、
これらの問題を解決する必要がある。
Moreover, when a memory is used as a buffer for transmission and reception, once data is read, that portion is used as a buffer area for writing another data. Therefore, when the erroneously read data is valid data connected to another chain, there is also a problem that new data is overwritten in the corresponding buffer area and the valid data is lost. In the communication control device, without hindering high-speed data access,
These problems need to be solved.

【0009】[0009]

【課題を解決するための手段】本発明は以上の点を解決
するため次の構成を採用する。 〈構成1〉メモリ中に、分割された送受信データを格納
する複数のバッファ領域を設け、上記各バッファ領域に
は、それぞれ、上記分割された送受信データを格納する
主情報領域と、上記バッファ領域を相互にチェーンする
ための管理情報を格納した管理情報領域とを設け、この
管理情報領域には、上記管理情報と同時にアクセスされ
る未使用ビット部分に、管理情報の誤り検出及び訂正符
号を含めたことを特徴とする通信制御装置。
The present invention employs the following structure to solve the above problems. <Structure 1> A plurality of buffer areas for storing divided transmission / reception data are provided in a memory. Each of the buffer areas includes a main information area for storing the divided transmission / reception data and the buffer area. And a management information area storing management information for mutual chaining. The management information area includes an error detection and correction code of the management information in an unused bit portion accessed simultaneously with the management information. A communication control device characterized by the above-mentioned.

【0010】〈構成2〉構成1に記載の通信制御装置に
おいて、管理情報領域には、上記管理情報と同時にアク
セスされる未使用ビット部分に、管理情報の誤り検出用
パリティビットと、管理情報の誤り検出及び訂正符号を
含めたことを特徴とする通信制御装置。
<Structure 2> In the communication control apparatus according to structure 1, the management information area includes, in an unused bit portion accessed simultaneously with the management information, a parity bit for error detection of the management information and a parity bit for the management information. A communication control device including an error detection and correction code.

【0011】〈構成3〉メモリ中に、分割された送受信
データを格納する複数のバッファ領域を設け、上記各バ
ッファ領域には、それぞれ、上記分割された送受信デー
タを格納する主情報領域と、上記バッファ領域を相互に
チェーンするための管理情報を格納した管理情報領域と
を設け、この管理情報領域には、主情報領域のアドレス
を指定する主情報領域相対アドレスと、次にチェーンさ
れるバッファ領域の管理情報領域のアドレスを指定する
次チェーン管理領域相対アドレスを備え、少なくとも次
チェーン管理領域相対アドレスには、誤り検出及び訂正
符号を付加したことを特徴とする通信制御装置。
<Structure 3> A plurality of buffer areas for storing divided transmission / reception data are provided in a memory. Each of the buffer areas has a main information area for storing the divided transmission / reception data, A management information area storing management information for mutually chaining buffer areas is provided. The management information area includes a main information area relative address for specifying an address of the main information area, and a buffer area to be chained next. A communication control device, comprising: a next chain management area relative address for specifying an address of the management information area of (1), wherein an error detection and correction code is added to at least the next chain management area relative address.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態を具体
例を用いて説明する。 〈具体例1〉図1は、本発明の通信制御装置主要部を示
すブロック図である。図のメモリ1は、通信制御装置の
バッファ用として設けられたものである。ここには、送
受信データが適当な単位で分割されて格納される。分割
された送受信データは、図に示すように、バッファ領域
2a〜2zに順に格納される。各バッファ領域2a〜2
zは、図の右側に示すように、それぞれ主情報領域3と
管理情報領域4を備える。更に、管理情報領域4には、
誤り検出及び訂正符号5が付加されている。このような
メモリ空間の構成を具体的に説明する前に、まず通信制
御部全体の機能とメモリ1の動作を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below using specific examples. <Example 1> FIG. 1 is a block diagram showing a main part of a communication control apparatus according to the present invention. The memory 1 shown is provided for a buffer of a communication control device. Here, transmission / reception data is divided and stored in appropriate units. The divided transmission / reception data is sequentially stored in buffer areas 2a to 2z as shown in the figure. Each buffer area 2a-2
z has a main information area 3 and a management information area 4 as shown on the right side of the figure. Further, in the management information area 4,
An error detection and correction code 5 is added. Before specifically describing the configuration of such a memory space, first, the function of the entire communication control unit and the operation of the memory 1 will be described.

【0013】図2に、通信制御部のメモリの動作説明図
を示す。この図のシステムでは、データ生成部11で生
成された送受信データが通信制御装置12を介して伝送
線路13に送り込まれる。伝送線路13には、受信側の
通信制御装置14が接続されている。この通信制御装置
14の受信した送受信データは、データ受信部15に転
送されて利用される。こうしたシステムの通信制御装置
12や通信制御装置14には、それぞれ送受信データを
一時的に格納し、転送するためのメモリ16が設けられ
る。
FIG. 2 is a diagram for explaining the operation of the memory of the communication control unit. In the system shown in this figure, transmission / reception data generated by the data generation unit 11 is sent to the transmission line 13 via the communication control device 12. A communication control device 14 on the receiving side is connected to the transmission line 13. The transmission / reception data received by the communication control device 14 is transferred to the data receiving unit 15 and used. The communication control device 12 and the communication control device 14 of such a system are provided with a memory 16 for temporarily storing and transferring transmission / reception data.

【0014】パケット通信の場合、図に示すように、送
信パケットが一旦メモリ16に格納され、再びメモリ1
6から読み出されて転送される。また、受信パケットが
メモリ16に一時的に格納され、再びその受信パケット
が読み出されて装置内部に取り込まれる。このような送
受信データをメモリ16に書き込む場合に、図1に示し
たように、送受信データ全体を格納するためのメモリ空
間を予め複数に分割し、分割された送受信データをメモ
リ1中の各バッファ領域2a〜2zに格納する。
In the case of packet communication, a transmission packet is temporarily stored in a memory 16 as shown in FIG.
6 and transferred. Further, the received packet is temporarily stored in the memory 16, and the received packet is read out again and taken into the apparatus. When writing such transmission / reception data to the memory 16, as shown in FIG. 1, a memory space for storing the entire transmission / reception data is divided into a plurality of parts in advance, and the divided transmission / reception data is stored in each buffer in the memory 1. It is stored in the areas 2a to 2z.

【0015】主情報領域3は、分割された送受信データ
を格納するための記憶領域である。また、管理情報領域
4は、各バッファ領域2a〜2zをチェーンするための
管理情報を格納する。
The main information area 3 is a storage area for storing divided transmission / reception data. The management information area 4 stores management information for chaining the buffer areas 2a to 2z.

【0016】図3には、このようなメモリ空間のチェー
ン説明図を示す。図に示すように、管理情報領域4aに
は、主情報領域相対アドレス6と次チェーン管理領域相
対アドレス7とが格納されている。主情報領域相対アド
レス6によって、主情報領域3aの先頭部分のアドレス
が指定され、主情報が読み出される。主情報というの
は、分割された送受信データのことである。
FIG. 3 is an explanatory diagram of a chain of such a memory space. As shown in the figure, a main information area relative address 6 and a next chain management area relative address 7 are stored in the management information area 4a. The main information area relative address 6 specifies the address of the head of the main information area 3a, and the main information is read. The main information is divided transmission / reception data.

【0017】次チェーン管理領域相対アドレス7によっ
て、このバッファ領域の次にチェーンされるべきバッフ
ァ領域の管理情報領域4bの先頭アドレスが指定され
る。従って、例えばこの図の場合、まず管理情報領域4
aの主情報領域相対アドレス6が参照され、主情報領域
3aの主情報が読み出されると、今度は次チェーン管理
領域相対アドレス7が参照される。
The next address of the management information area 4b of the buffer area to be chained next to this buffer area is designated by the next chain management area relative address 7. Therefore, for example, in the case of FIG.
When the main information area relative address 6a is referred to and the main information of the main information area 3a is read, the next chain management area relative address 7 is referred to this time.

【0018】これによって、管理情報領域4bの主情報
領域相対アドレス6が参照され、主情報領域3bの主情
報が読み出される。その後、次チェーン管理領域相対ア
ドレス7が参照され、管理情報領域4cの主情報領域相
対アドレス6が参照される。このような要領で、主情報
領域3a,3b,3c,3dが順に読み出される。
As a result, the main information area relative address 6 in the management information area 4b is referred to, and the main information in the main information area 3b is read. Thereafter, the next chain management area relative address 7 is referred to, and the main information area relative address 6 of the management information area 4c is referred to. In this manner, the main information areas 3a, 3b, 3c, 3d are sequentially read.

【0019】図4に、管理情報エラーの説明図(その
1)を示す。ここで、例えば図4の管理情報領域4aに
含まれる主情報領域相対アドレス6に誤りが発生した場
合を考える。この場合、主情報領域3aの参照ができな
くなる。従って、この部分の送受信データを破棄し、次
チェーン管理領域相対アドレス7によって管理情報領域
4bの主情報領域相対アドレス6を参照する。そして、
次の主情報領域3bを読み取る。
FIG. 4 is an explanatory diagram (part 1) of a management information error. Here, for example, consider a case where an error occurs in the main information area relative address 6 included in the management information area 4a in FIG. In this case, the main information area 3a cannot be referred to. Therefore, the transmission / reception data of this part is discarded, and the main information area relative address 6 of the management information area 4b is referred to by the next chain management area relative address 7. And
The next main information area 3b is read.

【0020】このような処理を行えば、主情報領域3a
に格納された通信データが廃棄され、残りの通信データ
は順に読み出される。通信データの一部が欠落した場合
でも、通信データ自体は様々なエラー修復機能等によっ
て正常な通信を維持できる場合が少なくない。一方、同
じ管理情報であっても、次チェーン管理領域相対アドレ
ス7に誤りが発生すると、次のような問題が生じる。
By performing such processing, the main information area 3a
Are discarded, and the remaining communication data are sequentially read. Even if a part of the communication data is lost, the communication data itself can often maintain normal communication by various error recovery functions or the like. On the other hand, even if the management information is the same, if an error occurs in the next chain management area relative address 7, the following problem occurs.

【0021】図5に、管理情報エラーの説明図(その
2)を示す。図に示す管理情報領域4aの次チェーン管
理領域相対アドレス7に誤りが発生したとする。この場
合、次の管理情報領域4bを参照することができない。
従って、ここでチェーンは途切れ、以下の主情報領域3
b,3c,3dを読み取ることができなくなる。また、
万一、次チェーン管理領域相対アドレス7の誤りが検出
できず、誤った場所を次のバッファ領域の管理情報領域
と判断した場合、全く無効なデータが読み出されてしま
うこともある。
FIG. 5 is a diagram (part 2) for explaining a management information error. Assume that an error has occurred in the next chain management area relative address 7 of the management information area 4a shown in the figure. In this case, the next management information area 4b cannot be referred to.
Therefore, the chain is interrupted here, and the following main information area 3
b, 3c and 3d cannot be read. Also,
If an error in the next chain management area relative address 7 cannot be detected and the erroneous location is determined as the management information area of the next buffer area, completely invalid data may be read.

【0022】本発明では、この問題を解決するために、
図1に示したように、管理情報領域4中の管理情報と同
時にアクセスされる未使用ビット部分に、管理情報の誤
り検出及び訂正符号5を含める。例えば、管理情報領域
4が16ビット1ワードで読み出されるものとする。こ
の場合に、上位8ビットに主情報領域相対アドレスを格
納し、下位8ビットにその誤り検出及び訂正符号を含め
る。また、次に読み出される16ビットのデータの上位
8ビットには、次チェーン管理領域相対アドレスを格納
し、下位8ビットにはその誤り検出及び訂正符号を含め
る。
In the present invention, in order to solve this problem,
As shown in FIG. 1, an error detection and correction code 5 of the management information is included in an unused bit portion accessed simultaneously with the management information in the management information area 4. For example, it is assumed that the management information area 4 is read with 16 bits and 1 word. In this case, the main information area relative address is stored in the upper 8 bits, and the error detection and correction code is included in the lower 8 bits. The next 8 bits of the 16-bit data to be read next store the next chain management area relative address, and the lower 8 bits contain the error detection and correction code.

【0023】16ビットが同時に読み出されるため、読
み出された主情報領域相対アドレスや次チェーン管理領
域相対アドレスは、それぞれ付加された誤り検出及び訂
正符号によって誤りが検出され、同時に誤りがあればこ
れを訂正することができる。この誤り検出及び訂正符号
5としては、従来、情報処理分野でしばしば使われるC
RC(cyclic redundancy check 巡回冗長検査)符号を
用いる。
Since 16 bits are simultaneously read, the read relative address of the main information area and the relative address of the next chain management area are detected by the added error detection and correction codes, respectively. Can be corrected. The error detection and correction code 5 is a C code often used in the information processing field.
An RC (cyclic redundancy check) code is used.

【0024】このCRC符号を用いると、対象となるデ
ータの1ビット誤りを検出し、訂正することが可能であ
る。また、対象となるデータ中に2ビット以上の誤りが
ある場合には、その誤りを検出する機能を持つ。従っ
て、万一、主情報領域相対アドレスあるいは次チェーン
管理領域相対アドレスに1ビット誤りが発生しても、メ
モリアクセスを実行中にこれを自動的に訂正し、送受信
データのアクセスをすることが可能になる。
By using this CRC code, it is possible to detect and correct a one-bit error in the target data. Further, when there is an error of two bits or more in the target data, it has a function of detecting the error. Therefore, even if a 1-bit error occurs in the relative address of the main information area or the relative address of the next chain management area, this can be automatically corrected during the memory access and the transmitted / received data can be accessed. become.

【0025】また、2ビット以上の誤りが存在した場
合、その誤りを検出して、再読み出しを行ったり、ある
いはメモリの初期化等を行うことができるため、偶数ビ
ットの誤りにより無効なアドレスをアクセスし、他の有
効なデータを破壊してしまうといった問題が防止でき
る。
Further, when an error of 2 bits or more is present, the error can be detected and re-reading or initialization of the memory can be performed. The problem of accessing and destroying other valid data can be prevented.

【0026】なお、上記の例では、主情報領域相対アド
レスについても、次チェーン管理領域相対アドレスにつ
いても、共に誤り検出及び訂正符号を付加するようにし
た。しかしながら、図4と図5を用いて説明したよう
に、次チェーン管理領域相対アドレスの誤りが最も重大
な結果を及ぼすことから、次チェーン管理領域相対アド
レスに誤り検出及び訂正符号を付加し、主情報領域相対
アドレスには、従来通り、パリティビットのみを付加す
るといった方法を採用しても良い。
In the above example, the error detection and correction codes are added to both the main information area relative address and the next chain management area relative address. However, as described with reference to FIGS. 4 and 5, since an error in the next chain management area relative address has the most serious effect, an error detection and correction code is added to the next chain management area relative address, and the As in the past, a method of adding only parity bits to the information area relative address may be employed.

【0027】管理情報領域の、管理情報と同時にアクセ
スされる未使用ビット部分に誤り検出及び訂正符号を含
めたのは、パリティビットと同様にして、同時アクセ
ス、同時参照及び訂正処理を実現するためである。ま
た、通信制御におけるこの種のデータ処理の高速性を確
保するためである。同時というのは、間隔を空けずと言
う意味で、管理情報を複数回に分けて読み出す場合に、
管理情報と誤り検出及び訂正符号とを、2回に分けて連
続的にメモリから読み出しても、ここでいう同時に読み
出す処理に該当することはいうまでもない。
The error detection and correction code is included in the unused bit portion of the management information area which is accessed simultaneously with the management information, in order to realize simultaneous access, simultaneous reference and correction processing in the same manner as the parity bit. It is. Another reason is to ensure the high speed of this type of data processing in communication control. Simultaneous means that there is no interval, and when the management information is read in multiple times,
Needless to say, even if the management information and the error detection and correction codes are read twice from the memory continuously, the process corresponds to the simultaneous reading here.

【0028】また、上記の例では、誤り検出及び訂正符
号を管理情報の未使用ビット部分に含めた。バッファ領
域チェーンのために使用される主情報領域相対アドレス
や次チェーン管理領域相対アドレスのビット数は比較的
少なくて足りるから、管理情報の未使用ビット部分にこ
うした情報を含めることによって、従来のデータ形式を
変更することなく、装置の信頼性を高めることができ
る。
In the above example, the error detection and correction code is included in the unused bit portion of the management information. Since the number of bits of the relative address of the main information area and the relative address of the next chain management area used for the buffer area chain is relatively small, the conventional data can be obtained by including such information in the unused bit portion of the management information. The reliability of the device can be improved without changing the format.

【0029】〈具体例1の効果〉上記のように、管理情
報と同時にアクセスされる未使用ビット部分に管理情報
の誤り検出及び訂正符号を含めることによって、訂正可
能な誤りがあればこれを訂正し、正常なチェーンを確保
できる。また、訂正不可能なエラーでもこれを確実に検
出し、誤ったチェーンのアクセスを防止できる。これに
よって、チェーンが途切れることによるメモリの初期化
処理を減少させ、誤動作を防止し、通信制御の高速性を
確保できる。
<Effect of Specific Example 1> As described above, by including an error detection and correction code of the management information in an unused bit portion accessed simultaneously with the management information, if there is an error that can be corrected, this is corrected. And a normal chain can be secured. Further, even an uncorrectable error can be reliably detected, and access to an incorrect chain can be prevented. Thereby, the initialization processing of the memory due to the interruption of the chain can be reduced, malfunction can be prevented, and high-speed communication control can be ensured.

【0030】〈具体例2〉図6には、具体例2によるメ
モリ空間の変形例ブロック図を示す。この図の例では、
各バッファ領域2a〜2zは、それぞれ主情報領域3、
管理情報領域4を備え、管理情報領域4には、誤り検出
及び訂正符号5と、パリティビット8とが含められてい
る。即ち、この例では、具体例1の管理情報領域に更に
パリティビットを追加した。具体的な組み合わせとして
は、次のようなケースが考えられる。
<Embodiment 2> FIG. 6 is a block diagram showing a modification of the memory space according to Embodiment 2. In the example in this figure,
Each of the buffer areas 2a to 2z includes a main information area 3,
The management information area 4 includes an error detection and correction code 5 and a parity bit 8. That is, in this example, a parity bit is further added to the management information area of the specific example 1. The following cases can be considered as specific combinations.

【0031】例えば、図4に示した管理情報領域4aの
主情報領域相対アドレス6と次チェーン管理領域相対ア
ドレス7に、それぞれ誤り検出及び訂正符号5とパリテ
ィビット8とを付加する方法がある。また、主情報領域
相対アドレスについては、単にパリティビットのみを付
加し、次チェーン管理領域相対アドレス7には誤り検出
及び訂正符号を付加するといった方法がある。
For example, there is a method of adding an error detection and correction code 5 and a parity bit 8 to the main information area relative address 6 and the next chain management area relative address 7 of the management information area 4a shown in FIG. Also, there is a method in which only a parity bit is simply added to the main information area relative address, and an error detection and correction code is added to the next chain management area relative address 7.

【0032】主情報領域相対アドレス6は、誤りを検出
した場合に、これを無視してもチェーンが途切れること
はないからである。また、主情報領域相対アドレス6に
は、誤り検出及び訂正符号5のみを含め、次チェーン管
理領域相対アドレス7には、誤り検出及び訂正符号5と
パリティビット8とを付加する。
This is because, if an error is detected in the main information area relative address 6, even if the error is ignored, the chain will not be interrupted. Further, only the error detection and correction code 5 is included in the main information area relative address 6, and the error detection and correction code 5 and the parity bit 8 are added to the next chain management area relative address 7.

【0033】このように誤り検出及び訂正符号5とパリ
ティビット8との両方を用いて管理情報をチェックすれ
ば、チェックの信頼性が高まり、誤りを確実に検出で
き、誤った領域のアクセスを確実に防止できる。従っ
て、特に高い信頼性を要求されかつデータ転送の高速性
を要求される通信制御部において、要求される性能を十
分に維持することが可能になる。
As described above, if the management information is checked using both the error detection and correction code 5 and the parity bit 8, the reliability of the check is increased, the error can be detected reliably, and the access to the erroneous area can be reliably performed. Can be prevented. Therefore, it is possible to sufficiently maintain the required performance particularly in the communication control unit which is required to have high reliability and high speed data transfer.

【0034】なお、上記の例では、管理情報領域につい
てのみ誤り検出及び訂正符号を付加したが、必要に応じ
て主情報領域やその他のメモリ管理用データ領域にも適
応することが可能である。
In the above example, the error detection and correction codes are added only to the management information area. However, if necessary, the present invention can be applied to the main information area and other memory management data areas.

【0035】〈具体例2の効果〉管理情報領域に誤り検
出及び訂正符号と共にパリティビットを含めることによ
って誤り検出能力を高め、信頼性の高いメモリアクセス
が可能になる。
<Effect of Specific Example 2> By including a parity bit together with an error detection and correction code in the management information area, the error detection capability is enhanced, and a highly reliable memory access is enabled.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の通信制御装置主要部ブロック図であ
る。
FIG. 1 is a block diagram of a main part of a communication control device according to the present invention.

【図2】通信制御部のメモリ動作説明図である。FIG. 2 is an explanatory diagram of a memory operation of a communication control unit.

【図3】メモリ空間のチェーン説明図である。FIG. 3 is an explanatory diagram of a chain of a memory space.

【図4】管理情報エラーの説明図(その1)である。FIG. 4 is an explanatory diagram (part 1) of a management information error.

【図5】管理情報エラーの説明図(その2)である。FIG. 5 is an explanatory diagram (part 2) of a management information error.

【図6】メモリ空間の変形例ブロック図である。FIG. 6 is a block diagram showing a modified example of a memory space.

【符号の説明】[Explanation of symbols]

1 メモリ 2a〜2z バッファ領域 3 主情報領域 4 管理情報領域 5 誤り検出及び訂正符号 DESCRIPTION OF SYMBOLS 1 memory 2a-2z buffer area 3 main information area 4 management information area 5 error detection and correction code

───────────────────────────────────────────────────── フロントページの続き (72)発明者 松下 辰作 東京都港区虎ノ門1丁目7番12号 沖電気 工業株式会社内 Fターム(参考) 5B089 GA04 KA12 KD01 KD04 KD06 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Tatsusaku Matsushita 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. F-term (reference) 5B089 GA04 KA12 KD01 KD04 KD06

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 メモリ中に、分割された送受信データを
格納する複数のバッファ領域を設け、前記各バッファ領
域には、 それぞれ、前記分割された送受信データを格納する主情
報領域と、前記バッファ領域を相互にチェーンするため
の管理情報を格納した管理情報領域とを設け、 この管理情報領域には、前記管理情報と同時にアクセス
される未使用ビット部分に、管理情報の誤り検出及び訂
正符号を含めたことを特徴とする通信制御装置。
A plurality of buffer areas for storing divided transmission / reception data are provided in a memory, wherein each of the buffer areas has a main information area for storing the divided transmission / reception data, and a buffer area. And a management information area storing management information for mutually chaining the management information. The management information area includes an error detection and correction code of the management information in an unused bit portion accessed simultaneously with the management information. A communication control device.
【請求項2】 請求項1に記載の通信制御装置におい
て、 管理情報領域には、前記管理情報と同時にアクセスされ
る未使用ビット部分に、管理情報の誤り検出用パリティ
ビットと、管理情報の誤り検出及び訂正符号を含めたこ
とを特徴とする通信制御装置。
2. The communication control device according to claim 1, wherein in the management information area, an unused bit portion accessed simultaneously with the management information includes a parity bit for detecting an error in the management information, and an error in the management information. A communication control device including detection and correction codes.
【請求項3】 メモリ中に、分割された送受信データを
格納する複数のバッファ領域を設け、前記各バッファ領
域には、 それぞれ、前記分割された送受信データを格納する主情
報領域と、前記バッファ領域を相互にチェーンするため
の管理情報を格納した管理情報領域とを設け、 この管理情報領域には、主情報領域のアドレスを指定す
る主情報領域相対アドレスと、次にチェーンされるバッ
ファ領域の管理情報領域のアドレスを指定する次チェー
ン管理領域相対アドレスを備え、少なくとも次チェーン
管理領域相対アドレスには、誤り検出及び訂正符号を付
加したことを特徴とする通信制御装置。
3. A plurality of buffer areas for storing divided transmission / reception data in a memory, wherein each of the buffer areas includes a main information area for storing the divided transmission / reception data, and a buffer area. A management information area storing management information for mutually chaining, a management information area includes a main information area relative address for specifying an address of the main information area, and a management of a buffer area to be chained next. A communication control device comprising: a next chain management area relative address for specifying an address of an information area; and an error detection and correction code added to at least the next chain management area relative address.
JP10291747A 1998-10-14 1998-10-14 Communication controller Pending JP2000122843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10291747A JP2000122843A (en) 1998-10-14 1998-10-14 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10291747A JP2000122843A (en) 1998-10-14 1998-10-14 Communication controller

Publications (1)

Publication Number Publication Date
JP2000122843A true JP2000122843A (en) 2000-04-28

Family

ID=17772896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10291747A Pending JP2000122843A (en) 1998-10-14 1998-10-14 Communication controller

Country Status (1)

Country Link
JP (1) JP2000122843A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013247556A (en) * 2012-05-28 2013-12-09 Mitsubishi Electric Corp Buffer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013247556A (en) * 2012-05-28 2013-12-09 Mitsubishi Electric Corp Buffer device

Similar Documents

Publication Publication Date Title
US5191326A (en) Communications protocol for digital telemetry system
US7036066B2 (en) Error detection using data block mapping
US5696775A (en) Method and apparatus for detecting the transfer of a wrong sector
KR100290944B1 (en) An apparatus and method for providing an interface to a compound universal serial bus controller
JP2854391B2 (en) Method for assembling data groups on DAT tape
EP2297641B1 (en) Efficient in-band reliability with separate cyclic redundancy code frames
US20230307079A1 (en) Memory system with error detection
KR20010080966A (en) Signal processor for correcting and detecting errors
JP2003132037A (en) System and method for low overhead message passing between domains in partitioned server
EP0930718A2 (en) Tandem operation of input/output data compression modules
CN111930676A (en) Method, device, system and storage medium for communication among multiple processors
US5687393A (en) System for controlling responses to requests over a data bus between a plurality of master controllers and a slave storage controller by inserting control characters
US20060149866A1 (en) Method and apparatus for transferring data
US3582880A (en) Data error correction by inversion storage
JP2005202956A (en) Method for processing broken data
US6742146B2 (en) Techniques for providing data within a data storage system
US6105160A (en) Packet error detecting device in a DMA transfer
US20050144339A1 (en) Speculative processing of transaction layer packets
US6157651A (en) Rogue data packet removal method and apparatus
JP2000122843A (en) Communication controller
KR101086599B1 (en) Uncertain data arrival time
JP2000155737A (en) Data packet receiving device
JPH01213774A (en) Portable storage medium processor
EP1198891B1 (en) Data integrity management for data storage systems
JP2008252426A (en) Transmission equipment, transmission system, and data transmission method