JP2003316663A - Method, system and program for data processing and for error detection and correction - Google Patents

Method, system and program for data processing and for error detection and correction

Info

Publication number
JP2003316663A
JP2003316663A JP2002119649A JP2002119649A JP2003316663A JP 2003316663 A JP2003316663 A JP 2003316663A JP 2002119649 A JP2002119649 A JP 2002119649A JP 2002119649 A JP2002119649 A JP 2002119649A JP 2003316663 A JP2003316663 A JP 2003316663A
Authority
JP
Japan
Prior art keywords
data
correction
error detection
storage area
read
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.)
Withdrawn
Application number
JP2002119649A
Other languages
Japanese (ja)
Inventor
Tomohiro Hori
智博 堀
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 JP2002119649A priority Critical patent/JP2003316663A/en
Publication of JP2003316663A publication Critical patent/JP2003316663A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a device scale and a processing scale, to improve reliability without causing overquality, to improve the degree of freedom of a configuration and processing, and to reduce the cost of an internal configuration by simplifying the internal configuration in a data processing error detection and correction system. <P>SOLUTION: A W/R and ECC (error correcting code) controller 20 selectively designates a storage region for detecting and correcting errors of a plurality of optional data amounts and a storage region not for detecting and correcting the errors in a memory device 50 on the basis of an instruction of a central control unit 10 and writes input data (write data). The written data are read, data for error detection and correction generated from the read data and the input data are associated with the written data, and designation for securing the storage region for detecting and correcting errors is performed to store the associated data. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、情報記憶媒体(適
宜、メモリ装置又は単にメモリと記載する)でのデータ
読み出し、書き込みの処理で発生する誤りの検出と訂正
の方法及びそのシステム並びにプログラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting and correcting an error occurring in a data reading / writing process on an information storage medium (which will be appropriately referred to as a memory device or simply a memory), a system thereof, and a program. .

【0002】[0002]

【従来の技術】従来、この種のメモリなどの内容が書き
替えられた場合に、そのビット誤りを検出するととも
に、ビット誤りを正しい値に補正する処理(適宜、ビッ
ト誤り検出訂正処理と略記する)としては、コンピュー
タやサーバに搭載されるECC方式(Error Check and
Correct/ECCメモリ及びメモリサポート用メモリコ
ントローラによる構成)が既知である。
2. Description of the Related Art Conventionally, when the contents of a memory of this type are rewritten, the bit error is detected and the bit error is corrected to a correct value (abbreviated as bit error detection / correction process). ) Is an ECC method (Error Check and
Correct / ECC memory and memory support memory controller) are known.

【0003】このECC方式によるデータ処理と、ビッ
ト誤り検出及びその訂正を行うシステム(以下、「デー
タ処理誤り検出訂正システム」と記載する)では、処理
データやプログラムコードデータ(適宜、この二つのデ
ータを「通常データ」と表記する)と、ビット誤り検出
訂正用データとを個別のメモリに分けて記憶している。
そして、処理データやプログラムコードデータととも
に、ビット誤り検出訂正用データを同時に読み出して、
ビット誤り検出やその訂正処理を行っている。
In this system for performing data processing by the ECC method and bit error detection and correction (hereinafter referred to as "data processing error detection and correction system"), processing data and program code data (appropriately, these two data Is described as "normal data") and bit error detection / correction data are stored separately in separate memories.
Then, together with the processed data and the program code data, the bit error detection / correction data is read at the same time,
Bit error detection and correction processing are performed.

【0004】このビット誤り検出やその訂正処理では、
ビット誤りが無い場合や、予め定めたビット誤り率が小
さい場合は、その訂正は行なわれない。
In this bit error detection and its correction processing,
If there is no bit error or the predetermined bit error rate is small, the correction is not performed.

【0005】なお、この明細書の説明において、「ビッ
ト誤り検出訂正処理」の表記には、「訂正は行なわれな
い場合」を含むものであるが、説明の煩瑣を避けるた
め、特に必要なところ以外は、その表記を省略してあ
る。
In the description of this specification, the expression "bit error detection / correction processing" includes "when no correction is performed". However, in order to avoid complication of the description, except where necessary. , The notation is omitted.

【0006】[0006]

【発明が解決しようとする課題】このような、従来のデ
ータ処理誤り検出訂正システムでは、次の(1)(2)
及び(3)の不都合があった。 (1)ビット誤りが許容される処理データや、ビット誤
り内容に対する重視度の低いデータ及びプログラムコー
ドデータに対してまで、ビット誤り内容に対する重視度
の高い処理データ及びプログラムコードデータと同等の
ビット誤り検出訂正が可能な機能を備えている。換言す
れば、従来のデータ処理誤り検出訂正システムは、必要
以上の信頼性を提供しており、コスト上昇の要因になっ
ていた。すなわち、過剰品質であった。 (2)処理データやプログラムコードデータの記憶と、
ビット誤り検出訂正用データを別々のメモリに記憶して
おり、このため二つのメモリをプリント回路基板などに
実装している。換言すれば、結線などが複雑化する二つ
のメモリの実装による障害発生によって、その製品の信
頼性が損なわれるものであった。 (3)二つのメモリをプリント回路基板などに実装して
いるため、製造コストが上昇し、低価格の製品に採用す
るのは困難であった。
In such a conventional data processing error detection and correction system as described above, the following (1) and (2)
There was the inconvenience of (3). (1) Even for processed data in which bit errors are tolerated, or data and program code data with low importance on bit error content, bit errors equivalent to those of processed data and program code data with high importance on bit error content Equipped with a function capable of detection and correction. In other words, the conventional data processing error detection / correction system provides unnecessarily high reliability, which causes a cost increase. That is, the quality was excessive. (2) Storage of processing data and program code data,
The bit error detection / correction data is stored in separate memories, so that the two memories are mounted on a printed circuit board or the like. In other words, the reliability of the product is impaired due to the occurrence of a failure due to the mounting of the two memories in which the wiring is complicated. (3) Since the two memories are mounted on the printed circuit board or the like, the manufacturing cost is increased, and it is difficult to adopt the low cost product.

【0007】本発明は、上記課題を解決するために、装
置規模及び処理規模が縮小されるとともに、過剰品質と
ならず、かつ、信頼性が向上し、さらに、構成及び処理
の自由度が向上し、そのコスト削減が可能になるデータ
処理と誤り検出訂正の方法及びそのシステム並びにプロ
グラムの提供を目的とする。
In order to solve the above problems, the present invention reduces the device scale and processing scale, does not cause excessive quality, improves reliability, and improves the degree of freedom in configuration and processing. However, it is an object of the present invention to provide a data processing and error detection / correction method, a system thereof, and a program that can reduce the cost.

【0008】さらに、本発明は、内部構成が、より簡素
化されて、さらにコスト低減が可能になるデータ処理と
誤り検出訂正の方法及びそのシステム並びにプログラム
の提供を他の目的とする。
Still another object of the present invention is to provide a data processing and error detection / correction method, a system thereof, and a program, the internal structure of which is further simplified and the cost can be further reduced.

【0009】[0009]

【課題を解決するための手段】上記目的を達成する本発
明の第1のデータ処理と誤り検出訂正の方法は、入力デ
ータの書き込みのみと、この書き込まれたデータに対す
る誤り検出訂正用データの生成とを選択的に行う装置で
の方法にあって、実質的な一つの記憶手段における、複
数の任意データ量の誤り検出訂正を行う記憶領域と誤り
検出訂正を行わない記憶領域とに対する選択的な指定に
よって入力データを書き込む工程と、書き込まれたデー
タを記憶領域を指定して読み出す工程とを有し、この読
み出しが、誤り検出訂正を行う記憶領域からのデータの
場合に、このデータと入力データとから誤り検出訂正用
データを生成する工程と、この生成された誤り検出訂正
用データを、誤り検出訂正を行う記憶領域から読み出し
たデータに対応付け、かつ、任意データ量の誤り検出訂
正を行う記憶領域を確保する指定を行って記憶する工程
とからなる。
A first data processing and error detection / correction method of the present invention that achieves the above object is to write only input data and generate error detection / correction data for the written data. In a method of an apparatus for selectively performing and, in a substantially single storage means, a storage area that performs error detection and correction of a plurality of arbitrary data amounts and a storage area that does not perform error detection and correction are selected selectively. The method includes the step of writing input data by designation and the step of reading the written data by designating a storage area. When this reading is data from a storage area for error detection and correction, this data and the input data are read. And the step of generating the error detection and correction data from the above, and the generated error detection and correction data is associated with the data read from the storage area for performing the error detection and correction. And, and a step of storing performing designated to secure a storage area for error detection and correction of any amount of data.

【0010】さらに、読み出されたデータに対する誤り
検出訂正又は非誤り検出訂正を選択的に行う装置での方
法にあって、実質的な一つの記憶手段における、複数の
任意データ量の誤り検出訂正を行う記憶領域と誤り検出
訂正を行わない記憶領域に対する選択的な指定によって
データを読み出す工程と、読み出されたデータに対応付
けて記憶されている誤り検出訂正用データを読み出す工
程と、読み出したデータを、読み出した誤り検出訂正用
データに基づいて訂正する工程とを有している。
Further, in a method in an apparatus for selectively performing error detection correction or non-error detection correction on read data, error detection and correction of a plurality of arbitrary data amounts in substantially one storage means. Read out the data by selectively specifying the storage area that performs the error detection and the storage area that does not perform the error detection and correction, and the step of reading the error detection and correction data stored in association with the read data. And correcting the data based on the read error detection and correction data.

【0011】上記発明では、一つの記憶装置における任
意データ量の記憶領域に対して、通常データ(処理デー
タ、プログラムコードデータ)や、ビット誤り検出訂正
を行い、又は非ビット誤り検出訂正のデータ記憶領域を
割り当てることが出来る。
In the above invention, normal data (process data, program code data), bit error detection and correction, or non-bit error detection and correction data storage is performed for a storage area having an arbitrary data amount in one storage device. Areas can be allocated.

【0012】この結果、(1)従来例のように、通常デ
ータ用とビット誤り検出訂正データ用の別々の記憶装置
を設ける必要がなくなり、構成が簡素化されて、その装
置規模及び処理規模が縮小される。 (2)ビット誤り内容に対する重視度(信頼性要求)の
高い処理データやプログラムコードデータのみに対する
ビット誤り検出訂正が可能になる。換言すれば、ビット
誤り内容に対する重視度が低い処理データやプログラム
コードデータに対するビット誤り検出訂正処理を行わな
いため、過剰品質を避けることが出来る。すなわち、非
ビット誤り検出訂正のデータ記憶領域を設けてある。 (3)一つの記憶装置を設ける、その簡素化される実装
によって、従来例のように別々の記憶装置を実装した場
合に比較して、ハードウェア(実装構成)障害からの影
響が軽減されて、その信頼性が向上する。 (4)ビット誤り検出訂正、非ビット誤り検出訂正の記
憶領域を記憶装置に割り当てることが出来るため、構成
及び処理(換言すれば、設計)の自由度が向上する。
As a result, (1) there is no need to provide separate storage devices for normal data and for bit error detection and correction data as in the conventional example, the configuration is simplified, and the device scale and processing scale are increased. It is reduced. (2) Bit error detection and correction can be performed only on process data and program code data that have a high degree of importance (reliability requirement) on the content of bit errors. In other words, since the bit error detection / correction process is not performed on the process data or the program code data having a low degree of importance on the bit error content, excessive quality can be avoided. That is, a data storage area for non-bit error detection and correction is provided. (3) By providing one storage device and simplifying the implementation, the influence from hardware (implementation configuration) failure is reduced as compared with the case where different storage devices are implemented as in the conventional example. , Its reliability is improved. (4) Since a storage area for bit error detection and correction and a storage area for non-bit error detection and correction can be assigned to the storage device, the degree of freedom in configuration and processing (in other words, design) is improved.

【0013】上記目的を達成する本発明の第2のデータ
処理と誤り検出訂正の方法は、入力データの書き込みの
みと、この書き込まれたデータに対する誤り検出訂正用
データの生成を選択的に行う装置における方法にあっ
て、実質的な一つの記憶手段における、予め設定された
複数の固定データ量の誤り検出訂正を行う記憶領域と誤
り検出訂正を行わない記憶領域に対する選択的な指定に
よって入力データを書き込む工程と、書き込まれたデー
タを記憶領域を指定して読み出す工程と、この読み出し
において誤り検出訂正を行う記憶領域からのデータと入
力データとから誤り検出訂正用データを生成する工程
と、この生成された誤り検出訂正用データを、誤り検出
訂正を行う記憶領域から読み出したデータに対応付け、
かつ、誤り検出訂正を行う固定データ量の記憶領域に記
憶する工程とを有している。
A second data processing and error detection / correction method of the present invention that achieves the above object is an apparatus for selectively writing input data and selectively generating error detection / correction data for the written data. In the method of (1), the input data is selected by substantially designating a storage area in which a plurality of preset fixed data amounts are subjected to error detection / correction and a storage area not subjected to error detection / correction in substantially one storage means. A step of writing, a step of reading the written data by designating a storage area, a step of generating error detection and correction data from the input data and the data from the storage area in which error detection and correction are performed, and this generation The error detection / correction data thus obtained is associated with the data read from the storage area for error detection / correction,
And a step of storing in a fixed data amount storage area for error detection and correction.

【0014】さらに、読み出されたデータに対する誤り
検出訂正又は非誤り検出訂正を選択的に行う装置での方
法にあって、実質的な一つの記憶手段における、予め設
定された複数の固定データ量の誤り検出訂正を行う記憶
領域と誤り検出訂正を行わない記憶領域に対する選択的
な指定によってデータを読み出す工程と、記憶されたデ
ータに対応付けて記憶されている誤り検出訂正用データ
を読み出す工程と、読み出したデータを、読み出した誤
り検出訂正用データに基づいて誤り訂正する工程とを有
している。
Furthermore, in a method in a device for selectively performing error detection correction or non-error detection correction on read data, a plurality of preset fixed data amounts in substantially one storage means are provided. And a step of reading data by selectively designating a storage area in which error detection and correction are performed and a storage area in which error detection and correction are not performed, and a step of reading out error detection and correction data stored in association with the stored data. Error correction is performed on the read data based on the read error detection and correction data.

【0015】上記した発明では、一つの記憶装置にn個
の固定データ量の記憶領域に対して、通常データ(処理
データ、プログラムコードデータ)や、ビット誤り検出
訂正、又は非ビット誤り検出訂正のための記憶領域を割
り当てることが出来る。したがって、内部構成が、より
簡素化されて、コスト低減が可能になる。
In the above-described invention, normal data (processing data, program code data), bit error detection and correction, or non-bit error detection and correction are applied to a storage area having a fixed data amount of n in one storage device. Storage area can be allocated. Therefore, the internal structure is further simplified and the cost can be reduced.

【0016】この詳細は、n個の固定データ量の記憶領
域に対する書き込み及び読み出しの処理が簡単なる。例
えば、任意の記憶領域ごとに変化する記憶領域の始まり
と終わりの数値を含む情報(例えば、アドレス番号)を
指定する場合のように、その構成及び処理が複雑化しな
くなる。換言すれば、n個の固定データ量の記憶領域ご
とに予め付与された一つの情報(例えば、フラグ番号)
の指定のみで良くなる。このため、記憶領域を指定する
構成及び信号処理が簡単になる。すなわち、内部構成
が、より簡素化されて、コスト低減が可能になり、特に
低価格の製品への採用が容易になる。
This detail simplifies the writing and reading processes for the n fixed data amount storage areas. For example, unlike the case of specifying information (for example, an address number) including numerical values at the beginning and end of a storage area that changes for each arbitrary storage area, the configuration and processing do not become complicated. In other words, one piece of information (for example, a flag number) given in advance for each of n fixed data amount storage areas.
It only needs to be specified. Therefore, the configuration for specifying the storage area and the signal processing are simplified. That is, the internal structure is further simplified, the cost can be reduced, and it is easy to adopt it in a low-priced product.

【0017】上記目的を達成する本発明の第3のデータ
処理誤り検出訂正システムは、入力データの書き込みの
みと、この書き込まれたデータに対する誤り検出訂正用
データの生成とを選択的に行うものであり、書き込みの
ためのデータを出力し、かつ、読み出しデータを受け取
り、この書き込み又は読み出しを指示する制御装置と、
実質的に一つで構成され、複数の任意データ量の誤り検
出訂正を行う記憶領域と誤り検出訂正を行わない記憶領
域を有する記憶装置と、制御装置の指示に基づいて、記
憶装置に対し、次の(a)(b)の一方又は両方を行な
う書き込み又は読み出し(W/R)誤り検出訂正装置と
を備えている。(a)複数の任意データ量の誤り検出訂
正を行う記憶領域と誤り検出訂正を行わない記憶領域に
対し、選択的に指定して制御装置からの書き込みのため
のデータである入力データを書き込み、かつ、読み出し
たデータと入力データとから生成した誤り検出訂正用デ
ータを、書き込まれたデータと対応付けて誤り検出訂正
を行う記憶領域を確保する指定を行って記憶する。
(b)複数の任意固定データ量の誤り検出訂正を行う記
憶領域と誤り検出訂正を行わない記憶領域に対し選択的
に指定して、記憶されているデータ及び、このデータに
対応付けて記憶されている誤り検出訂正用データを読み
出して誤り訂正する。
The third data processing error detection / correction system of the present invention which achieves the above object selectively writes only input data and selectively generates error detection / correction data for the written data. A control device that outputs data for writing, receives read data, and instructs writing or reading,
Substantially one, a storage device having a storage area that performs error detection and correction of a plurality of arbitrary data amounts and a storage area that does not perform error detection and correction, and to the storage device based on an instruction from the control device, A write or read (W / R) error detection / correction device that performs one or both of the following (a) and (b) is provided. (A) Input data, which is data for writing from the control device, is selectively designated and written into a storage area that performs error detection and correction of a plurality of arbitrary data amounts and a storage area that does not perform error detection and correction, In addition, the error detection / correction data generated from the read data and the input data is stored in association with the written data by designating a storage area for error detection / correction.
(B) A plurality of arbitrary fixed data amounts are selectively designated for a storage area in which error detection and correction are performed and a storage area in which error detection and correction is not performed, and stored data and stored in association with this data The error detection / correction data that has been read is read out and the error is corrected.

【0018】さらに、入力データの書き込みのみと、こ
の書き込まれたデータに対する誤り検出訂正用データの
生成を選択的に行うデータ処理誤り検出訂正システムに
あって、書き込みのためのデータを出力し、かつ、読み
出しデータを受け取り、この書き込み又は読み出しを指
示する制御装置と、複数の固定データ量の誤り検出訂正
を行う記憶領域と、誤り検出訂正を行わない記憶領域と
を有する実質的に一つの記憶装置と、制御装置の指示に
基づいて、記憶装置に対し、次の(a)(b)の一方又
は両方を行なう書き込み又は読み出し(W/R)誤り検
出訂正装置とを備えている。(a)記憶装置における、
予め設定された複数の固定データ量の誤り検出訂正を行
う記憶領域と誤り検出訂正を行わない記憶領域に対する
選択的な指定によって制御装置からの書き込みのための
データである入力データを書き込み、この書き込まれた
データを記憶領域を指定して読み出し、この読み出し
が、誤り検出訂正を行う記憶領域からの場合のデータと
入力データとから誤り検出訂正用データを生成して、誤
り検出訂正を行う記憶領域から読み出したデータに対応
付け、かつ、誤り検出訂正を行う記憶領域に記憶する。
(b)記憶装置における、予め設定された複数の固定デ
ータ量の誤り検出訂正を行う記憶領域と誤り検出訂正を
行わない記憶領域に対する選択的な指定によって、デー
タ、及びこのデータに対応付けて記憶されている誤り検
出訂正用データを読み出し、読み出したデータを、読み
出した誤り検出訂正用データに基づいて誤りを訂正す
る。
Further, in a data processing error detection and correction system which selectively writes input data and selectively generates error detection and correction data for the written data, the data for writing is output, and , A storage device having a control device for receiving read data and instructing this writing or reading, a storage region for performing error detection and correction of a plurality of fixed data amounts, and a storage region for not performing error detection and correction And a writing or reading (W / R) error detection / correction device for performing one or both of the following (a) and (b) in the storage device based on an instruction from the control device. (A) In the storage device,
Input data, which is data for writing from the control device, is written by selectively designating a storage area for error detection and correction of a plurality of preset fixed data amounts and a storage area for which error detection and correction is not performed, and this writing is performed. The specified storage area is read and the read data is read, and the error detection and correction data is generated from the input data and the data from the storage area where the error detection and correction are performed. It is associated with the data read from and is stored in the storage area for error detection and correction.
(B) In the storage device, the data and the data are stored in association with the data by selectively designating a storage area in which a plurality of preset fixed data amounts are subjected to error detection and correction and a storage area in which the error detection and correction are not performed. The error detection and correction data that has been read is read, and the read data is corrected for errors based on the read error detection and correction data.

【0019】上記した発明のシステムでは、した発明の
方法と同様に、装置規模及び処理規模が縮小されるとと
もに、過剰品質とならず、かつ、信頼性が向上し、さら
に、構成及び処理の自由度が向上し、そのコスト削減が
可能になる。さらに、内部構成が、より簡素化されて、
コスト低減が可能になる。
In the system of the above-mentioned invention, as in the method of the above-mentioned invention, the apparatus scale and the processing scale are reduced, the quality is not excessive, the reliability is improved, and the configuration and the processing are free. And the cost can be reduced. In addition, the internal structure is more simplified,
Cost reduction is possible.

【0020】上記目的を達成する本発明のプログラム
は、下記(a)(b)の一方又は両方をコンピュータに
実行させるためのものである。 (a)複数の任意データ量の誤り検出訂正を行う記憶領
域と誤り検出訂正を行わない記憶領域に対し選択的に指
定する手順と、この指定された記憶領域に入力データを
書き込む手順と、書き込まれたデータを読み出す手順
と、この読み出したデータと入力データとから生成した
誤り検出訂正用データを、書き込まれたデータと対応付
け、かつ、誤り検出訂正を行う記憶領域を確保する指定
を行って記憶する手順。(b)複数の任意固定データ量
の誤り検出訂正を行う記憶領域と誤り検出訂正を行わな
い記憶領域に対し選択的に指定する手順と、この指定
で、記憶されているデータ及び、このデータに対応付け
て記憶されている誤り検出訂正用データを読み出す手順
と、読み出したデータを誤り検出訂正用データに基づい
て誤り訂正を行う手順。
A program of the present invention for achieving the above object is for causing a computer to execute one or both of the following (a) and (b). (A) A procedure of selectively designating a storage area in which a plurality of arbitrary data amounts are subjected to error detection / correction and a storage area in which no error detection / correction is performed, a procedure of writing input data in the designated storage area, and a writing The procedure for reading the read data and the error detection and correction data generated from the read data and the input data are associated with the written data, and the storage area for error detection and correction is specified. Procedure to remember. (B) A procedure for selectively designating a storage area in which a plurality of arbitrary fixed data amounts are subjected to error detection / correction and a storage area not subjected to error detection / correction, and the data stored by this designation and the data A procedure for reading the error detection and correction data stored in association with each other, and a procedure for performing error correction on the read data based on the error detection and correction data.

【0021】さらに、本発明のプログラムは、下記
(a)(b)の一方又は両方をコンピュータに実行させ
るものである。 (a)予め設定された複数の固定データ量の誤り検出訂
正を行う記憶領域と誤り検出訂正を行わない記憶領域に
対する選択的な指定を行なう手順と、この指定による記
憶領域に入力データを書き込む手順と、この書き込まれ
たデータを記憶領域を指定して読み出す手順と、この読
み出が誤り検出訂正を行う記憶領域からの場合のデータ
と入力データとから誤り検出訂正用データを生成する手
順と、この生成した誤り検出訂正用データを、誤り検出
訂正を行う記憶領域から読み出したデータに対応付け、
かつ、誤り検出訂正を行う記憶領域に記憶する手順。 (b)予め設定された複数の固定データ量の誤り検出訂
正を行う記憶領域と誤り検出訂正を行わない記憶領域の
選択的な指定を行なう手順と、この指定によるデータ、
及びこのデータに対応付けて記憶されている誤り検出訂
正用データを読み出す手順と、読み出したデータを、読
み出した誤り検出訂正用データに基づいて誤り訂正する
手順。
Further, the program of the present invention causes a computer to execute one or both of the following (a) and (b). (A) A procedure of selectively designating a storage area in which error detection and correction of a plurality of preset fixed data amounts are performed and a storage area in which error detection and correction is not performed, and a procedure of writing input data to the storage area according to this designation And a procedure for reading the written data by designating a storage area, and a procedure for generating error detection and correction data from the input data and the data in the case where the reading is from the storage area where error detection and correction are performed, The generated error detection / correction data is associated with the data read from the storage area for error detection / correction,
And the procedure of storing in the storage area for error detection and correction. (B) A procedure for selectively designating a storage area in which a plurality of preset fixed data amounts are subjected to error detection / correction and a storage area not subjected to error detection / correction, and data by this designation,
And a procedure for reading the error detection and correction data stored in association with this data, and a procedure for performing error correction on the read data based on the read error detection and correction data.

【0022】本発明のプログラムは、情報記録媒体(パ
ッケージソフトウェアなど)や通信ネットワーク上から
のダウンロード及びインストールを通じた市場流通によ
る提供が可能になる。したがって、当該発明を、種々の
装置に搭載されるマイクロコンピュータなどによって容
易に実施できるようになり、その汎用性が向上する。
The program of the present invention can be provided by market distribution through downloading and installation from an information recording medium (package software or the like) or a communication network. Therefore, the present invention can be easily implemented by a microcomputer installed in various devices, and the versatility thereof is improved.

【0023】[0023]

【発明の実施の形態】以下、本発明のデータ処理と誤り
検出訂正の方法及びそのシステム並びにプログラムの実
施形態を図参照の上で説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the data processing and error detection / correction method, its system and program of the present invention will be described below with reference to the drawings.

【0024】なお、以下の構成及び配置関係については
本発明を理解できる程度に概略的に示したものにすぎな
い。また、以下、本発明の好適な構成例につき説明する
が、各構成の組成などは、単なる好適例にすぎない。し
たがって、本発明は以下の実施形態に限定されず、本発
明(特に、特許請求範囲の記載)に基づく様々な形態に
適用可能である。
It should be noted that the following configurations and arrangements are merely schematic ones so that the present invention can be understood. In addition, although preferred constitutional examples of the present invention will be described below, the composition of each constitution is merely a preferable example. Therefore, the present invention is not limited to the following embodiments and can be applied to various forms based on the present invention (in particular, the description of the claims).

【0025】(第1実施形態の構成及び各部の動作)図
1は本発明の第1実施形態の構成を示すブロック図であ
る。
(Structure of First Embodiment and Operation of Each Part) FIG. 1 is a block diagram showing the structure of the first embodiment of the present invention.

【0026】図1を参照すると、この第1実施形態は、
中央制御装置(本発明の制御装置に対応する)10と、
書き込み/読み出し・誤り検出訂正(以下、W/R・E
CCと略記する。本発明のW/R誤り検出訂正装置に対
応する)制御装置20と、固体記憶装置を用いたメモリ
装置(本発明の記憶装置に対応する)50とを有してい
る。
Referring to FIG. 1, this first embodiment
A central controller (corresponding to the controller of the invention) 10;
Writing / reading, error detection and correction (hereinafter W / R / E
Abbreviated as CC. It has a control device 20 (corresponding to the W / R error detection and correction device of the present invention) and a memory device (corresponding to the storage device of the present invention) 50 using a solid-state storage device.

【0027】中央制御装置10(CPU)とW/R・E
CC制御装置20との間、及びW/R・ECC制御装置
20とメモリ装置50との間は、バスラインBUS1及
びバスラインBUS2で接続されている。
Central controller 10 (CPU) and W / R · E
The CC control device 20 and the W / R / ECC control device 20 and the memory device 50 are connected by a bus line BUS1 and a bus line BUS2.

【0028】中央制御装置10は、例えば、この中央制
御装置10を搭載したコンピュータにおけるシステム制
御用であり、W/R・ECC制御装置20を通じてメモ
リ装置50へのデータの書き込み及びメモリ装置50に
書き込まれているデータの読み出しの制御を実行してい
る。
The central control unit 10 is, for example, for system control in a computer equipped with the central control unit 10, and writes data in the memory unit 50 and writes data in the memory unit 50 through the W / R / ECC control unit 20. The control to read the data is being executed.

【0029】W/R・ECC制御装置20は、中央制御
装置10の制御を通じて、第1実施形態に関する制御
(図3に示す概略動作(A)(B)(C)及び(D))
を実行する。
The W / R / ECC controller 20 controls the central controller 10 to control the first embodiment (schematic operations (A) (B) (C) and (D) shown in FIG. 3).
To execute.

【0030】この中央制御装置10及びW/R・ECC
制御装置20の制御によって、中央制御装置10からの
データがメモリ装置50に書き込まれ、また、中央制御
装置10及びW/R・ECC制御装置20の制御によっ
て、メモリ装置50に書き込まれているデータが読み出
される。
This central control unit 10 and W / R / ECC
The data from the central control unit 10 is written in the memory unit 50 under the control of the control unit 20, and the data written in the memory unit 50 under the control of the central control unit 10 and the W / R / ECC control unit 20. Is read.

【0031】W/R・ECC制御装置20は、レジスタ
(1…n)(本発明の複数の記憶手段に対応する)21
と、比較器(1…n)(本発明の複数の比較手段に対応
する)22と、MPU(Microprocessing Unit)などを
用いた制御部23と、アドレス生成部24と、セレクタ
(1)25と、レジスタD−R26と、ビット誤り検出
訂正用データ生成部27と、セレクタ(2)28と、レ
ジスタD−W29と、ビット誤り検出訂正部30と、セ
レクタ(3)40とを有している。
The W / R / ECC control device 20 includes a register (1 ... n) (corresponding to a plurality of storage means of the present invention) 21.
A comparator (1 ... n) (corresponding to a plurality of comparison means of the present invention) 22, a control unit 23 using an MPU (Microprocessing Unit), an address generation unit 24, and a selector (1) 25. , A register D-R26, a bit error detection / correction data generation unit 27, a selector (2) 28, a register D-W29, a bit error detection / correction unit 30, and a selector (3) 40. .

【0032】レジスタ(1…n)21は、メモリ装置5
0へのデータ処理(書き込み、読み出し)とビット誤り
検出訂正対象記憶領域に関する情報(図3中の(A)
(B)(C)及び(D))が予め設定されている。
The registers (1 ... n) 21 are used for the memory device 5.
Data processing (writing, reading) to 0 and information on the bit error detection and correction target storage area ((A) in FIG. 3)
(B) (C) and (D)) are preset.

【0033】比較器(1…n)22は、中央制御装置1
0からのアドレスデータとレジスタ(1…n)21それ
ぞれからのデータとを比較(この比較については以降で
詳細に説明する)した比較結果信号を出力する。
The comparators (1 ... n) 22 are connected to the central controller 1
It outputs a comparison result signal obtained by comparing the address data from 0 and the data from each of the registers (1 ... N) 21 (this comparison will be described in detail later).

【0034】制御部23は、当該W/R・ECC制御装
置20の各部を制御して、第1実施形態の動作(図3中
の(A)(B)(C)及び(D)に対応する情報)を実
行するものであり、このための制御プログラム(本発明
のプログラムに対応する)を予め格納している。
The control section 23 controls each section of the W / R / ECC control device 20 to correspond to the operation of the first embodiment (corresponding to (A) (B) (C) and (D) in FIG. Control information (corresponding to the program of the present invention) for this purpose is stored in advance.

【0035】アドレス生成部24は、メモリ装置50に
書き込みが行われたアドレスデータの隣接アドレスデー
タを生成して出力する。この隣接アドレスデータについ
ては、以降で説明する。
The address generator 24 generates and outputs adjacent address data of the address data written in the memory device 50. The adjacent address data will be described later.

【0036】セレクタ(1)25は、中央制御装置10
からのアドレスデータ又はアドレス生成部24からの隣
接アドレスデータを選択して出力する。
The selector (1) 25 is the central control unit 10.
Address data from or from adjacent address data from the address generator 24 is selected and output.

【0037】レジスタD−R26は、中央制御装置10
からの入力データを一時的に保持して出力する。
The register D-R26 is the central control unit 10.
Input data from is temporarily stored and output.

【0038】ビット誤り検出訂正用データ生成部27
は、レジスタD−R26からのデータ(中央制御装置1
0からの入力データ)とレジスタD−W29が出力する
メモリ装置50からの読出データとに基づいて、ビット
誤り検出訂正用データを生成して出力する。
Bit error detection / correction data generator 27
Is data from the register D-R26 (central controller 1
(Input data from 0) and read data from the memory device 50 output from the register D-W29, bit error detection / correction data is generated and output.

【0039】セレクタ(2)28は、中央制御装置10
からの入力データ又はビット誤り検出訂正用データ生成
部27からのビット誤り検出訂正用データを選択的に出
力する。
The selector (2) 28 is the central controller 10
Or the bit error detection / correction data from the bit error detection / correction data generator 27 is selectively output.

【0040】レジスタD−W29は、メモリ装置50か
ら読み出したデータを一時的に保持する。
The register D-W29 temporarily holds the data read from the memory device 50.

【0041】ビット誤り検出訂正部30は、ビット誤り
検出訂正処理を行い、そのデータを出力する。
The bit error detection / correction unit 30 performs a bit error detection / correction process and outputs the data.

【0042】セレクタ(3)40は、メモリ装置50か
らの読出データ又はビット誤り検出訂正部30からのビ
ット誤り検出訂正処理データを出力する。
The selector (3) 40 outputs the read data from the memory device 50 or the bit error detection / correction processing data from the bit error detection / correction unit 30.

【0043】図2は、第1実施形態におけるメモリ装置
50の記憶領域を説明するための図である。
FIG. 2 is a diagram for explaining the storage area of the memory device 50 in the first embodiment.

【0044】図2を参照すると、このメモリ装置50
は、その内部が(a)に示すように、異なる任意のデー
タ量である、「ビット誤り検出訂正対象記憶領域」M1…
Mnと、「ビット誤り検出訂正を行わないデータを対象
とする記憶領域(以下、非ビット誤り検出訂正対象記憶
領域と記載する)」m1,m2…mnに分割されてい
る。
Referring to FIG. 2, this memory device 50
Is a "bit error detection / correction target storage area" M1, ..., Which has a different arbitrary data amount as shown in (a).
Mn and "a storage area targeted for data not subjected to bit error detection and correction (hereinafter referred to as a non-bit error detection and correction target storage area)" m1, m2 ... mn.

【0045】ビット誤り検出訂正対象記憶領域M1…M
nは、例えば、ビット誤り内容に対する重視度(信頼性
要求)の高い処理データやプログラムコードデータの記
憶領域であり、非ビット誤り検出訂正対象記憶領域m
1,m2…mnは、ビット誤り内容に対する重視度が低
い処理データやプログラムコードデータの記憶領域であ
る。すなわち、ビット誤り検出訂正処理を行わないデー
タを記憶するものであり、この二種類の記憶領域を設
け、かつ、選択することによって、過剰品質を避けるこ
とが出来る。
Bit error detection / correction target storage area M1 ... M
For example, n is a storage area for processing data or program code data having a high degree of importance (reliability requirement) on the content of bit errors, and a non-bit error detection and correction target storage area m.
1, m2 ... mn are storage areas for processing data and program code data with a low degree of importance on bit error content. That is, it stores data that is not subjected to bit error detection and correction processing, and by providing and selecting these two types of storage areas, excessive quality can be avoided.

【0046】このビット誤り検出訂正対象記憶領域M1
…Mnそれぞれの、次の(1)(2)及び(3)のデー
タが、レジスタ(1…n)21のそれぞれに、予め設定
されている。 (1)書き込み又は読み出し対象の記憶領域の開始アド
レスデータ(アドレス番号)、なお、終了アドレスは、
次に説明する書き込み対象記憶領域のデータ量を確保す
るためアドレスデータによって決定されるため、ここで
は設定しない。 (2)特に書き込み対象記憶領域のデータ量を確保する
ためのアドレスデータ(アドレス値) (3)データ処理誤り検出のみか又は訂正処理を行う場
合は、訂正処理のレベルを設定した情報 この訂正処理レベルは、訂正処理の段階、例えば、いく
つの誤りビット数まで、その訂正を行うかなどのレベル
である。なお、この訂正レベルについては、以降の「誤
り訂正符号」の説明中で詳細に説明する。
This bit error detection / correction target storage area M1
The following data (1), (2) and (3) of each Mn are preset in the registers (1 ... n) 21. (1) The start address data (address number) of the storage area to be written or read, and the end address are
It is not set here because it is determined by the address data in order to secure the data amount of the write target storage area described below. (2) In particular, address data (address value) for securing the data amount of the write target storage area (3) Data processing If only error detection or correction processing is performed, information that sets the level of correction processing This correction processing The level is a level of the correction process, for example, up to how many error bits are to be corrected. It should be noted that this correction level will be described in detail in the following description of the “error correction code”.

【0047】この(1)(2)及び(3)のデータによ
って、中央制御装置10がW/R・ECC制御装置20
を通じて、メモリ装置50内における、異なるデータ量
である、ビット誤り検出訂正対象記憶領域M1…Mnそ
れぞれにおける書き込みと読み出しが個別的に設定でき
るようになる。
Based on the data of (1), (2) and (3), the central control unit 10 controls the W / R / ECC control unit 20.
Through this, it becomes possible to individually set writing and reading in the bit error detection and correction target storage areas M1 ... Mn, which are different data amounts in the memory device 50.

【0048】このレジスタ(1…n)21に設定されて
いないメモリ装置50の記憶領域は、非ビット誤り検出
訂正対象記憶領域m1,m2…mnである。
The storage areas of the memory device 50 not set in the registers (1 ... n) 21 are non-bit error detection / correction target storage areas m1, m2 ... mn.

【0049】ビット誤り検出訂正対象記憶領域M1…M
nは、図2(b)に示すように通常データ(図1中の入
力データS15a)が格納される通常データ域Daとビ
ット誤り検出訂正用データが格納されるビット誤り検出
訂正用データ域Dbの二つの記憶領域に区分けされてい
る。
Bit error detection / correction target storage area M1 ... M
As shown in FIG. 2B, n is a normal data area Da in which normal data (input data S15a in FIG. 1) is stored and a bit error detection / correction data area Db in which bit error detection / correction data is stored. It is divided into two storage areas.

【0050】なお、ここでの通常データとは、例えば、
ワードプロセッサ処理における処理データやプログラム
コードデータであり、ビット誤り検出訂正用データと区
別されるものである。
The normal data here is, for example,
It is processing data or program code data in word processing and is distinguished from bit error detection / correction data.

【0051】なお、このデータ処理誤り検出訂正システ
ムにおいて、通常データ域Daは中央制御装置10によ
る直接(W/R・ECC制御装置20のスルー制御のみ
で)のデータ(例えば、入力データ15a,出力データ
16a)の読み出し及び書き込みが可能である。また、
ビット誤り検出訂正用データ域Dbに対しては、中央制
御装置10は、直接データ書き込み(アクセス)ができ
ず、W/R・ECC制御装置20の制御を通じたアクセ
スによるデータ書き込みが可能になっている。
In this data processing error detection and correction system, the normal data area Da is the direct data (only through control of the W / R / ECC controller 20) by the central controller 10 (for example, the input data 15a, the output). The data 16a) can be read and written. Also,
The central controller 10 cannot directly write (access) data to the bit error detection / correction data area Db, but can write data by access through the control of the W / R / ECC controller 20. There is.

【0052】(第1実施形態の全体動作)図3は第1実
施形態の概略動作を示すブロック図である。
(Overall Operation of First Embodiment) FIG. 3 is a block diagram showing a schematic operation of the first embodiment.

【0053】図3を参照すると、この第1実施形態で
は、次の概略動作を行う。 (A)メモリ装置50における任意データ量のビット誤
り検出訂正対象記憶領域M1…Mnの通常データ域Da
への(a)通常データの書き込み処理と、(b)通常デ
ータ域Daへの通常データの書き込みに対するビット誤
り検出訂正処理において、この(a)(b)の一方又は
両方、さらに、(c)ビット誤り検出と訂正処理とにお
ける一方又は両方 (B)メモリ装置50における任意データ量の通常デー
タ域Daからの(a)通常データの読み出し処理と、
(b)通常データ域Daからの通常データの読み出しに
対するビット誤り検出訂正処理において、この(a)
(b)の一方又は両方、さらに、(c)ビット誤り検出
と訂正処理とにおける一方又は両方 (C)非ビット誤り検出訂正対象記憶領域m1,m2…
mnへのデータ書き込み処理 (D)非ビット誤り検出訂正対象記憶領域m1,m2…
mnからのデータ読み出し処理 以下、この概略動作に対応する制御部23の制御を中心
とした詳細な処理について説明する。
Referring to FIG. 3, in the first embodiment, the following general operation is performed. (A) Ordinary data area Da of bit error detection / correction target storage areas M1 ... Mn of arbitrary data amount in the memory device 50
One or both of (a) and (b), and (c) in the bit error detection and correction processing for (a) normal data writing processing to (a) normal data writing to (b) normal data area Da. One or both of the bit error detection and correction processing (B) (a) normal data read processing from the normal data area Da of an arbitrary data amount in the memory device 50,
(B) In the bit error detection / correction process for reading the normal data from the normal data area Da,
(B) One or both, further (c) One or both in bit error detection and correction processing (C) Non-bit error detection and correction target storage areas m1, m2 ...
Data writing process to mn (D) Non-bit error detection and correction target storage areas m1, m2 ...
Data reading process from mn Hereinafter, a detailed process centering on the control of the control unit 23 corresponding to the general operation will be described.

【0054】まず、図3に示した(A)概略動作に対応
する処理手順について説明する。
First, a processing procedure corresponding to the general operation (A) shown in FIG. 3 will be described.

【0055】図4は,第1実施形態のメモリ装置50へ
の通常データの書き込み処理手順(図3の(A)概略動
作に対応する)を示すフローチャートである。
FIG. 4 is a flow chart showing a procedure for writing normal data to the memory device 50 of the first embodiment (corresponding to the general operation of FIG. 3A).

【0056】図1、図2及び図4を参照すると、まず、
W/R・ECC制御装置20が、メモリ装置50のビッ
ト誤り検出訂正対象記憶領域M1…Mnのいずれか(こ
の「いずれか」の表記は以下省略する)における通常デー
タ域Daへ、中央制御装置10からの入力データ(通常
データ)S15aを書き込む処理に、中央制御装置10
からの制御データS17aを取り込んで設定される(図
4中のステップS1,S2、以後、「図4」の表記は省略
する)。
Referring to FIGS. 1, 2 and 4, first,
The W / R / ECC control device 20 sends the central control device to the normal data area Da in any one of the bit error detection / correction target storage areas M1 ... Mn of the memory device 50 (the notation of "any" is omitted below). In the process of writing the input data (normal data) S15a from the central controller 10,
The control data S17a from step S1 is fetched and set (steps S1 and S2 in FIG. 4, hereafter, the notation of “FIG. 4” is omitted).

【0057】次に、中央制御装置10から出力されたア
ドレスデータS14aとレジスタ(1…nのいずれか
(この「いずれか」の表記は以下省略する))21から
の、ビット誤り検出訂正対象記憶領域M1…Mn及び、
その通常データ域Daに関する設定情報(図3の(A)
概略動作に対応した情報)が比較器(1…nのいずれか
(この「いずれか」の表記は以下省略する))22で比較
される。
Next, the bit error detection and correction target storage from the address data S14a output from the central controller 10 and the register (any one of 1 ... n (the notation of "any one" is omitted below)) 21 Regions M1 ... Mn and
Setting information related to the normal data area Da ((A) in FIG. 3)
Information corresponding to the rough operation) is compared by a comparator (any one of 1 ... n (the notation of “any” is omitted below)) 22.

【0058】この比較では、中央制御装置10からのア
ドレスデータS14aが、メモリ装置50における図2
に示す通常データ域Daのアドレスデータ(アドレス
値)を示している場合、比較器(1…n)22から、そ
の比較結果信号が出力され、この比較結果信号を制御部
23が取り込む(ステップS3、S4:YeS)。
In this comparison, the address data S14a from the central control unit 10 is stored in the memory device 50 shown in FIG.
In the case where the address data (address value) of the normal data area Da shown in is shown, the comparison result signal is output from the comparator (1 ... N) 22, and the comparison result signal is fetched by the control unit 23 (step S3). , S4: YeS).

【0059】なお、ステップS4でアドレスデータS1
4aがビット誤り検出訂正対象記憶領域M1…Mnの通
常データ域Daに対応するアドレスデータ(アドレス
値)でない場合(No)、処理終了となる。
In step S4, the address data S1
When 4a is not the address data (address value) corresponding to the normal data area Da of the bit error detection / correction target storage areas M1 ... Mn (No), the processing ends.

【0060】ステップS4における判断と中央制御装置
10からの制御データS17aによって、制御部23は
メモリ装置50の通常データ域Daへのデータ書き込み
処理であることを認識して、以降の制御を実行する(ス
テップS5)。
Based on the determination in step S4 and the control data S17a from the central control unit 10, the control unit 23 recognizes that it is the data writing process to the normal data area Da of the memory device 50 and executes the subsequent control. (Step S5).

【0061】次に、中央制御装置10からの出力データ
が、バスラインBUS1を通じて、W/R・ECC制御
装置20における入カデータS15aとして、中央制御
装置10からの制御データS17bを取り込んだ制御部
23からの制御信号によってレジスタD−R26で保持
される(ステップS6)。
Next, the output data from the central control unit 10 is input through the bus line BUS1 as the input data S15a in the W / R / ECC control unit 20 to the control unit 23 which takes in the control data S17b from the central control unit 10. It is held in the register D-R26 by the control signal from (step S6).

【0062】なお、以下にあって、「バスラインBUS
1」の表記かつその動作説明は省略する。また、以下に
おいて「バスラインBUS2」も同様に、その表記かつそ
の動作説明を省略する。
In the following, "Bus line BUS
The description of "1" and its operation description are omitted. Similarly, in the following description, the "bus line BUS2" will not be described and its operation will be omitted.

【0063】ステップS6の処理後に、制御部23から
の制御信号によって、セレクタ(1)25が、中央制御
装置10からのアドレスデータS14aをメモリ装置5
0にアドレスデータS18aとして出力する(ステップ
S7)。
After the processing of step S6, the selector (1) 25 receives the address data S14a from the central control unit 10 in response to the control signal from the control unit 23 and stores it in the memory unit 5.
It is output to 0 as address data S18a (step S7).

【0064】さらに、中央制御装置10からの出力デー
タ(W/R・ECC制御装置20における入力データS
15a)がセレクタ(2)28に入力される。入力デー
タS15aをセレクタ(2)28が、制御部23からの
制御信号によって、書込データS19aとしてメモリ装
置50に出力する(ステップ S8)。
Further, output data from the central control unit 10 (input data S in the W / R / ECC control unit 20)
15a) is input to the selector (2) 28. The selector (2) 28 outputs the input data S15a to the memory device 50 as the write data S19a according to the control signal from the control unit 23 (step S8).

【0065】次に、制御部23は、メモリ装置50に制
御データS21aを出力する。この制御データS21a
によって、メモリ装置50では、書込データS19a
(入力データS15aに同じ)が、図2に示すビット誤
り検出訂正対象記憶領域M1…Mnにおける通常データ
域Daに通常データとして書き込まれる(ステップS
9)。
Next, the control section 23 outputs the control data S21a to the memory device 50. This control data S21a
In the memory device 50, the write data S19a
(The same as the input data S15a) is written as normal data in the normal data area Da in the bit error detection / correction target storage areas M1 ... Mn shown in FIG. 2 (step S
9).

【0066】この後、制御部23からの制御信号によっ
て、アドレス生成部24が、メモリ装置50に書き込み
が行われたアドレスデータS18a(S14a)の隣接
アドレスデータを生成してセレクタ(1)25に出力
し、この隣接アドレスデータS18bを、制御部23か
らの制御信号によってセレクタ(1)25がメモリ装置
50に出力する(ステップS10)。
Thereafter, in response to a control signal from the control unit 23, the address generation unit 24 generates adjacent address data of the address data S18a (S14a) written in the memory device 50 and outputs it to the selector (1) 25. The adjacent address data S18b is output and the selector (1) 25 outputs the adjacent address data S18b to the memory device 50 in response to a control signal from the controller 23 (step S10).

【0067】なお、この隣接アドレスデータS18b
は、通常データ域Daでの記憶処理の後で、ビット誤り
検出訂正用データ域Dbの処理を連続して行うために指
定(この後で説明するビット誤り検出訂正用データの書
き込みを行うこと)するものである。なお、隣接アドレ
スデータS18bは、中央制御装置10からセレクタ
(1)25を通じてメモリ装置50に出力するようにし
ても良い。
The adjacent address data S18b
Is specified to continuously perform the processing of the bit error detection / correction data area Db after the storage processing in the normal data area Da (write the bit error detection / correction data described below). To do. The adjacent address data S18b may be output from the central controller 10 to the memory device 50 through the selector (1) 25.

【0068】次に、W/R・ECC制御装置20でのビ
ット誤り検出訂正処理となる(ステップS11:Ye
S)。この処理では、まず、制御部23からの制御デー
タS21bによって、メモリ装置50から、図2に示す
ビット誤り検出訂正対象記憶領域M1…Mnにおける通
常データ域Daからの通常データの読み出しが行われる
(ステップS12)。
Next, the bit error detection / correction processing in the W / R / ECC control device 20 is performed (step S11: Yes).
S). In this process, first, the control data S21b from the control unit 23 reads the normal data from the normal data area Da in the bit error detection and correction target storage areas M1 ... Mn shown in FIG. 2 from the memory device 50.
(Step S12).

【0069】このメモリ装置50から読み出された通常
データが、読出データS20aとしてW/R・ECC制
御装置20に出力され、この読出データS20aを、レ
ジスタD−W29が、制御部23からの制御信号によっ
て保持する(ステップS13)。
The normal data read from the memory device 50 is output to the W / R / ECC control device 20 as read data S20a, and the read data S20a is controlled by the register D-W29 from the control unit 23. The signal is held (step S13).

【0070】そして、ビット誤り検出訂正用データ生成
部27は、制御部23からの制御信号によって、レジス
タD−R26が出力する中央制御装置10からの入力デ
ータS15aとレジスタD−W29が出力するメモリ装
置50からの読出データS20aとに基づいて、メモリ
装置50に今回書き込まれた書込データS19a(通常
データ)に対するビット誤りを検出し、かつ、その訂正
要のビット誤り検出訂正用データを生成する(ステップ
S14)。
Then, the bit error detection / correction data generation section 27 is responsive to a control signal from the control section 23 to input data S15a from the central control unit 10 output from the register D-R26 and a memory output from the register D-W29. Based on the read data S20a from the device 50, a bit error with respect to the write data S19a (normal data) written this time in the memory device 50 is detected, and bit error detection / correction data for that correction is generated. (Step S14).

【0071】このビット誤り検出訂正用データの生成
は、既知の誤り訂正符号によって行なわれる。例えば、
入力データS15a(書込データS19a、通常デー
タ)の書き込みでは、そのビット誤りを自動訂正するた
めの、冗長符号を入力データS15aに付加する方式が
一般的である。この誤り訂正符号としては、元の入力デ
ータS15aを一定のデータ量のブロックに分割して誤
り訂正を行うブロック符号や、元の入力データS15a
を連続的に誤り訂正を行う畳み込み符号が既知であり、
訂正可能な誤りビット数が異なるため、設計条件によっ
て選択的に採用する。
Generation of this bit error detection / correction data is performed by a known error correction code. For example,
In writing the input data S15a (write data S19a, normal data), a method of adding a redundant code for automatically correcting the bit error to the input data S15a is generally used. As the error correction code, the original input data S15a is divided into blocks having a constant data amount to perform error correction, or the original input data S15a.
A convolutional code for continuously performing error correction is known,
Since the number of correctable error bits is different, it is selectively adopted depending on the design conditions.

【0072】なお、この訂正可能な誤りビット数は、前
記した「(3)ビット誤り検出のみか又は訂正処理を行
う場合は、訂正処理のレベルを設定する情報」をもって
説明した、「訂正処理の段階、例えば、いくつの誤りビ
ット数まで、その訂正を行うかなどのレベル」に対応す
るものである。
The number of error bits that can be corrected is described in "(3) Information for setting the level of correction processing when only bit error detection or correction processing is performed" described above. Stage, for example, the level of up to how many error bits are to be corrected ".

【0073】一方、アドレス生成部24が、制御部23
からの制御信号によってメモリ装置50への書き込みに
対応したビット誤り検出訂正用データ格納用のアドレス
データ28cを生成して、セレクタ(1)25に出力
し、このセレクタ(1)25が制御部23からの制御信
号によってアドレスデータ28cをメモリ装置50に出
力する(ステップS15)。
On the other hand, the address generator 24 is controlled by the controller 23.
Address signal 28c for storing the bit error detection and correction data corresponding to the writing to the memory device 50 is generated by the control signal from the memory device 50, and is output to the selector (1) 25. The address data 28c is output to the memory device 50 in response to the control signal from (step S15).

【0074】そして、ビット誤り検出訂正用データ生成
部27が、制御部23からの制御信号によって生成した
ビット誤り検出訂正用データを、書込データS19bと
してセレクタ(2)28に出力し、このセレクタ(2)
28が制御部23からの制御信号で、メモリ装置50に
出力して、ビット誤り検出訂正用データ域Dbに書き込
む(ステップS16)。
Then, the bit error detection / correction data generator 27 outputs the bit error detection / correction data generated by the control signal from the controller 23 to the selector (2) 28 as the write data S19b, and this selector (2)
28 is a control signal from the control unit 23, which is output to the memory device 50 and written in the bit error detection / correction data area Db (step S16).

【0075】この書き込み完了後、制御部23は、メモ
リ装置50から書き込み完了通知を制御データS21c
として受け取り(ステップS17)、中央制御装置10
に、このメモリ装置50でのビット誤り検出訂正用デー
タの書き込み完了を制御データS17cによって通知す
る(ステップS18)。
After the writing is completed, the control section 23 sends a writing completion notification from the memory device 50 to the control data S21c.
(Step S17), the central controller 10
Then, the completion of writing the bit error detection and correction data in the memory device 50 is notified by the control data S17c (step S18).

【0076】次に、図3に示した(B)概略動作に対応
する処理手順について説明する。
Next, a processing procedure corresponding to the schematic operation (B) shown in FIG. 3 will be described.

【0077】図5は,第1実施形態のメモリ装置50か
らの通常データの読み出しの処理手順(図3の(B)に
対応)を示すフローチャートである。
FIG. 5 is a flowchart showing a processing procedure (corresponding to (B) of FIG. 3) of reading normal data from the memory device 50 of the first embodiment.

【0078】図1、図2及び図5を参照すると、まず、
W/R・ECC制御装置20が、メモリ装置50のビッ
ト誤り検出訂正対象記憶領域M1…Mnの通常データ域
Daから、通常データを読み出す処理に、中央制御装置
10からの制御データS17dを取り込んで設定される
(図5中のステップS21,S22、以後、「図5」の表
記は省略する)。
Referring to FIGS. 1, 2 and 5, first,
The W / R / ECC control device 20 fetches the control data S17d from the central control device 10 in the process of reading normal data from the normal data area Da of the bit error detection / correction target storage areas M1 ... Mn of the memory device 50. It is set (steps S21 and S22 in FIG. 5, hereafter, the notation of “FIG. 5” is omitted).

【0079】次に、中央制御装置10からのアドレスデ
ータS14bとレジスタ(1…n)21に記憶されてい
るビット誤り検出訂正対象記憶領域M1…Mnにおける
通常データ域Daに関する情報(図3の(B)概略動作
に対応した情報)が比較器(1…n)22で比較され、
この比較結果信号を制御部23が取り込む(ステップS
23)。
Next, the address data S14b from the central control unit 10 and the information on the normal data area Da in the bit error detection / correction target storage areas M1 ... Mn stored in the registers (1 ... N) 21 ((in FIG. 3). B) information corresponding to the general operation) is compared by the comparator (1 ... n) 22,
The control unit 23 takes in this comparison result signal (step S
23).

【0080】この場合、その比較でアドレス値が通常デ
ータ域Daを示している場合(ステップS24:Ye
S)、対応した種別の比較結果信号を比較器(1…n)
22が制御部23に出力する。この比較結果信号と中央
制御装置10からの制御データS17eによって、制御
部23は、通常データ域Daに対するデータ読み出しで
あることを認識して、以降の制御処理を実行する(ステ
ップS25)。
In this case, if the address value indicates the normal data area Da in the comparison (step S24: Ye
S), the comparison result signal of the corresponding type is sent to the comparator (1 ... n).
22 outputs to the control unit 23. Based on the comparison result signal and the control data S17e from the central controller 10, the control unit 23 recognizes that the data is read from the normal data area Da and executes the subsequent control processing (step S25).

【0081】制御部23は、制御信号によってセレクタ
(1)25から、中央制御装置10からのアドレスデー
タ14bをメモリ装置50にアドレスデータS18dと
して出力させ、次に、制御部23からの制御データS2
1dによって、メモリ装置50から、図2に示すビット
誤り検出訂正対象記憶領域M1…Mnの通常データ域D
aに記憶している通常データの読み出しが行われる(ス
テップS26,S27)。
The control unit 23 causes the selector (1) 25 to output the address data 14b from the central control unit 10 to the memory unit 50 as the address data S18d by the control signal, and then the control data S2 from the control unit 23.
1d allows the normal data area D of the bit error detection / correction target storage areas M1 ... Mn shown in FIG.
The normal data stored in a is read (steps S26 and S27).

【0082】このメモリ装置50から読み出された通常
データが、読出データS20bとしてW/R・ECC制
御装置20に送出され、この読出データS20bを、レ
ジスタD−W29が制御部23からの制御信号によって
保持する(ステップS28)。
Normal data read from the memory device 50 is sent to the W / R / ECC control device 20 as read data S20b, and the read data S20b is sent to the control signal from the control unit 23 by the register D-W29. It holds by (step S28).

【0083】さらに、アドレス生成部24は、制御部2
3からの制御信号によってメモリ装置50から読み出さ
れた通常データに対応付けて記憶する、ビット誤り検出
訂正用データ域DbのアドレスデータS18eを生成し
て、セレクタ(1)25に出力し、このセレクタ(1)
25が制御部23からの制御信号によってメモリ装置5
0に出力する(ステップS29)。
Further, the address generation unit 24 has the control unit 2
Address data S18e of the bit error detection / correction data area Db, which is stored in association with the normal data read from the memory device 50 by the control signal from 3, is generated and output to the selector (1) 25. Selector (1)
25 is a memory device 5 according to a control signal from the control unit 23.
It is output to 0 (step S29).

【0084】また、制御部23からの制御信号によっ
て、メモリ装置50が、ビット誤り検出訂正用データ域
Dbのビット誤り検出訂正用データを読み出してレジス
タD−W29に読出データS20cとして出力し、ここ
で制御部23からの制御信号によって保持する(ステッ
プS30,S31)。
In response to a control signal from the control unit 23, the memory device 50 reads out the bit error detection / correction data in the bit error detection / correction data area Db and outputs it to the register D-W29 as the read data S20c. It is held by the control signal from the controller 23 (steps S30 and S31).

【0085】この後、ビット誤り検出訂正部30は、制
御部23からの制御信号によって、ビット誤り検出訂正
処理を行い、このビット誤り検出訂正処理データをセレ
クタ(3)40に出力し、セレクタ(3)40が、制御
部23からの制御信号によって、出力データS16bと
して、中央制御装置10に出力する(ステップS3
2)。
Thereafter, the bit error detection / correction unit 30 performs the bit error detection / correction process in accordance with the control signal from the control unit 23, outputs the bit error detection / correction process data to the selector (3) 40, and the selector (3) 3) 40 outputs to the central controller 10 as output data S16b in response to the control signal from the control unit 23 (step S3).
2).

【0086】この後で、中央制御装置10に、通常デー
タの読み出し完了を制御部23から制御データS17f
によって通知する(ステップS33)。
Thereafter, the central control unit 10 is informed by the control unit 23 that the normal data has been read out from the control data S17f.
Is notified by (step S33).

【0087】次に、図3に示した(C)概略動作に対応
する処理手順について説明する。
Next, a processing procedure corresponding to the general operation (C) shown in FIG. 3 will be described.

【0088】図6は第1実施形態にあって非ビット誤り
検出訂正対象記憶領域m1,m2…mnへのデータ書き
込み処理手順(図3の(C)概略動作に対応)を示すフ
ローチャートである。
FIG. 6 is a flow chart showing a data write processing procedure (corresponding to the general operation of FIG. 3C) in the non-bit error detection / correction target storage areas m1, m2 ... mn in the first embodiment.

【0089】図1、図2及び図6を参照すると、まず、
W/R・ECC制御装置20が、非ビット誤り検出訂正
対象記憶領域m1,m2…mnのいずれか(以下、この
「いずれか」の表記は省略する)へのデータ書き込み処
理(図3の(C)概略動作に対応)に、中央制御装置1
0からの制御信号17gを取り込んで設定される(図6
中のステップS41,S42、以後、「図6」の表記は省
略する)。
Referring to FIGS. 1, 2 and 6, first,
The W / R / ECC control device 20 writes data to any of the non-bit error detection / correction target storage areas m1, m2 ... mn (hereinafter, the notation of “any” is omitted) ((of FIG. 3). C) Corresponding to the general operation), the central controller 1
It is set by taking in the control signal 17g from 0 (FIG. 6).
Steps S41 and S42 in the middle, and the description of "FIG. 6" will be omitted hereinafter).

【0090】この書き込み処理では、まず、中央制御装
置10からのアドレスデータS14cとレジスタ(1…
n)21に記憶されている非ビット誤り検出訂正対象記
憶領域m1,m2…mnに関する情報(図3の(C)概
略動作に対応した情報)が比較器(1…n)22で比較
される(ステップS43)。
In this writing process, first, the address data S14c and the register (1 ...
n) the information about the non-bit error detection / correction target storage areas m1, m2 ... mn stored in (n) 21 (information corresponding to the general operation of (C) of FIG. 3) is compared by the comparator (1 ... N) 22. (Step S43).

【0091】この比較で、アドレスデータ14cがビッ
ト誤り検出訂正対象記憶領域M1…Mnを示していない
場合(ステップS44:No)、換言すれば、非ビット
誤り検出訂正対象記憶領域m1,m2…mnを示してい
る場合、比較器(1…n)22が制御部23に、その比
較結果信号を出力する。この比較結果信号と中央制御装
置10からの制御データS17hによって、制御部23
は、非ビット誤り検出訂正対象記憶領域m1,m2…m
nへの書き込みであることを認識する(ステップS4
5)。
In this comparison, when the address data 14c does not indicate the bit error detection / correction target storage areas M1 ... Mn (step S44: No), in other words, the non-bit error detection / correction storage areas m1, m2 ... mn. , The comparator (1 ... N) 22 outputs the comparison result signal to the control unit 23. Based on this comparison result signal and the control data S17h from the central control unit 10, the control unit 23
Are non-bit error detection / correction target storage areas m1, m2 ...
Recognize that writing to n (step S4
5).

【0092】制御部23は、制御信号によってセレクタ
(1)25からアドレスデータS14cをアドレスデー
タ18fとしてメモリ装置50に出力させる(ステップ
S46)。
The control section 23 causes the selector (1) 25 to output the address data S14c as the address data 18f to the memory device 50 in response to the control signal (step S46).

【0093】また、中央制御装置10からの入カデータ
15bがセレクタ(2)28に入力され、セレクタ
(2)28が、制御部23からの制御信号によってメモ
リ装置50に書込データ19cとして出力する(ステッ
プS47)。メモリ装置50では、制御部23からの制
御データS21eによって、書込データ19cが非ビッ
ト誤り検出訂正対象記憶領域m1,m2…mnに書き込
まれる(ステップS48)。
Further, the input data 15b from the central controller 10 is input to the selector (2) 28, and the selector (2) 28 outputs it as the write data 19c to the memory device 50 according to the control signal from the controller 23. (Step S47). In the memory device 50, the write data 19c is written in the non-bit error detection / correction target storage areas m1, m2 ... mn by the control data S21e from the control unit 23 (step S48).

【0094】この書き込み完了後、制御部23から制御
データS17iによって中央制御装置10に対し、入力
データ15bの書き込み完了を通知する(ステップS4
9)。
After this writing is completed, the control unit 23 notifies the central controller 10 of the writing of the input data 15b by the control data S17i (step S4).
9).

【0095】次に、図3に示した(D)概略動作に対応
する処理手順について説明する。
Next, a processing procedure corresponding to the general operation (D) shown in FIG. 3 will be described.

【0096】図7は第1実施形態にあって、非ビット誤
り検出訂正対象記憶領域m1,m2…mnからのデータ
読み出し処理手順(図3の(D)概略動作に対応)を示
すフローチャートである。
FIG. 7 is a flow chart showing a data read processing procedure (corresponding to the general operation of FIG. 3D) from the non-bit error detection / correction target storage areas m1, m2 ... mn in the first embodiment. .

【0097】図1、図2及び図7を参照すると、まず、
W/R・ECC制御装置20が、非ビット誤り検出訂正
対象記憶領域m1,m2…mnへのデータ読み出し処理
(図3の(D)概略動作に対応)に、中央制御装置10
からの制御データS17jを取り込んで設定される(図
7中のステップS61,S62、以後、「図7」の表記は
省略する)。
Referring to FIGS. 1, 2 and 7, first,
The W / R / ECC controller 20 performs a data read process to the non-bit error detection / correction target storage areas m1, m2, ... mn (corresponding to the schematic operation of FIG.
The control data S17j from step S21 is fetched and set (steps S61 and S62 in FIG. 7, hereafter, the notation of “FIG. 7” is omitted).

【0098】この読み出し処理では、中央制御装置10
からのアドレスデータ14dとレジスタ(1…n)21
に記憶されている非ビット誤り検出訂正対象記憶領域m
1,m2…mnに関する情報(図3の(D)概略動作に
対応した情報)が比較器(1…n)22で比較される
(ステップS63)。
In this reading process, the central controller 10
From the address data 14d and the register (1 ... n) 21
Non-bit error detection and correction target storage area m stored in
Information about 1, m2 ... mn (information corresponding to the general operation of (D) in FIG. 3) is compared by the comparator (1 ... N) 22 (step S63).

【0099】この比較で、アドレスデータ14dがビッ
ト誤り検出訂正対象記憶領域M1…Mnを示していない
場合(ステップS64:No)、換言すれば、非ビット
誤り検出訂正対象記憶領域m1,m2…mnを示してい
る場合、比較器(1…n)22が制御部23に、その比
較結果信号を出力する。この比較結果信号と中央制御装
置10からの制御データS17kによって、制御部23
は、非ビット誤り検出訂正対象記憶領域m1,m2…m
nから読み出しが行なわれていることを認識して、以降
の制御を実行する(ステップS65)。
In this comparison, if the address data 14d does not indicate the bit error detection / correction target storage areas M1 ... Mn (step S64: No), in other words, the non-bit error detection / correction storage areas m1, m2 ... mn. , The comparator (1 ... N) 22 outputs the comparison result signal to the control unit 23. By the comparison result signal and the control data S17k from the central controller 10, the control unit 23
Are non-bit error detection / correction target storage areas m1, m2 ...
Recognizing that reading is being performed from n, the subsequent control is executed (step S65).

【0100】制御部23は、制御信号によってセレクタ
(1)25からアドレスデータ14dをメモリ装置50
にアドレスデータS18gとして出力させる(ステップ
66)。
The control section 23 transfers the address data 14d from the selector (1) 25 to the memory device 50 according to the control signal.
To output as address data S18g (step 66).

【0101】また、中央制御装置10からの入カデータ
S15dがセレクタ(2)28に入力され、セレクタ
(2)28が、制御部23からの制御信号によってこの
入カデータS15dを書込データS19dとしてメモリ
装置50に出力する(ステップS67)。
Further, the input data S15d from the central control unit 10 is inputted to the selector (2) 28, and the selector (2) 28 stores this input data S15d as the write data S19d in response to the control signal from the control section 23. The data is output to the device 50 (step S67).

【0102】メモリ装置50では、制御部23からの制
御データS21fによって、非ビット誤り検出訂正対象
記憶領域m1,m2…mnからデータが読み出される
(ステップS68)。
In the memory device 50, the control data S21f from the controller 23 reads the data from the non-bit error detection / correction target storage areas m1, m2 ... mn (step S68).

【0103】この読み出し完了後、制御部23から制御
データS17lを通じて中央制御装置10に対し、メモ
リ装置50からのデータの読み出し完了を通知する(ス
テップS69)。
After the completion of the reading, the control unit 23 notifies the central controller 10 of the completion of reading the data from the memory device 50 through the control data S17l (step S69).

【0104】(第1実施形態の利点)この第1実施形態
によれば、一つのメモリ装置50に任意のデータ量のビ
ット誤り検出訂正対象記憶領域M1…Mn(図2参照)
に対して、通常データ(処理データ、プログラムコード
データ)や、ビット誤り検出訂正、又は非ビット誤り検
出訂正のための記憶領域を区分けして割り当てることが
出来る。すなわち、通常データ域Daとビット誤り検出
訂正用データ域Dbを設けている。
(Advantages of First Embodiment) According to the first embodiment, one memory device 50 has bit error detection / correction target storage areas M1 ... Mn of arbitrary data amount (see FIG. 2).
In contrast, normal data (process data, program code data) and a storage area for bit error detection / correction or non-bit error detection / correction can be divided and assigned. That is, the normal data area Da and the bit error detection / correction data area Db are provided.

【0105】したがって、従来例のように、通常データ
用とビット誤り検出訂正用の別々のメモリ(例えば、二
つのメモリ装置50)を設ける必要がなくなり、構成が
簡素化されて、その装置規模及び処理規模が縮小され
る。また、ビット誤り内容に対する重視度(信頼性要
求)の高い処理データやプログラムコードデータのみに
対するビット誤り検出訂正処理が可能になる。換言すれ
ば、ビット誤り内容に対する重視度が低い処理データや
プログラムコードデータに対するビット誤り検出訂正処
理を行わないため、過剰品質を避けることが出来る。す
なわち、図2における非ビット誤り検出訂正対象記憶領
域m1,m2…mnを設けている。
Therefore, it is not necessary to provide separate memories (for example, two memory devices 50) for normal data and for bit error detection and correction as in the conventional example, and the configuration is simplified and the device scale and The processing scale is reduced. Further, it becomes possible to perform the bit error detection and correction process only on the process data or the program code data having a high degree of importance (reliability requirement) on the bit error content. In other words, since the bit error detection / correction process is not performed on the process data or the program code data having a low degree of importance on the bit error content, excessive quality can be avoided. That is, the non-bit error detection / correction target storage areas m1, m2 ... mn in FIG. 2 are provided.

【0106】さらに、一つのメモリ装置50による簡素
化された実装によって、従来例のように別々のメモリを
実装した場合に比較して、ハードウェア(実装構成)障
害からの影響が軽減されて、その信頼性が向上する。ま
た、データ処理と誤り検出訂正、非ビット誤り検出訂正
の記憶領域を、メモリ装置50に割り当てることが出来
るため、構成及び処理(換言すれば、設計)の自由度が
向上する。
Furthermore, the simplified implementation by one memory device 50 reduces the influence from hardware (implementation configuration) failures as compared with the case where different memories are implemented as in the conventional example, Its reliability is improved. In addition, since the storage areas for data processing, error detection and correction, and non-bit error detection and correction can be assigned to the memory device 50, the degree of freedom in configuration and processing (in other words, design) is improved.

【0107】(第2実施形態の構成及び各部の動作)次
に、第2実施形態について説明する。以下の第2実施形
態の説明において、第1実施形態と同一の構成要素に
は、同一の参照符号を付し、かつ、類似の構成要素には
類似した参照符号を付した。
(Structure of Second Embodiment and Operation of Each Part) Next, a second embodiment will be described. In the following description of the second embodiment, the same components as those of the first embodiment are designated by the same reference numerals, and similar components are designated by similar reference numerals.

【0108】図8は本発明の第2実施形態の構成を示す
ブロック図である。
FIG. 8 is a block diagram showing the configuration of the second embodiment of the present invention.

【0109】図8を参照すると、この第2実施形態は、
中央制御装置10と、W/R・ECC制御装置20A
と、メモリ装置50Aとを有している。
Referring to FIG. 8, this second embodiment is
Central controller 10 and W / R / ECC controller 20A
And a memory device 50A.

【0110】中央制御装置10とW/R・ECC制御装
置20Aとの間、及びW/R・ECC制御装置20Aと
メモリ装置50Aとの間は、第1実施形態と同様にバス
ラインBUS1及びバスラインBUS2で接続されてい
る。
Between the central control unit 10 and the W / R / ECC control unit 20A, and between the W / R / ECC control unit 20A and the memory unit 50A, the bus line BUS1 and the bus line BUS1 are provided as in the first embodiment. It is connected by the line BUS2.

【0111】中央制御装置10は、第1実施形態と同様
にデータの書き込み・読み出しの制御を実行する。
The central controller 10 controls the writing / reading of data as in the first embodiment.

【0112】W/R・ECC制御装置20Aは、中央制
御装置10の制御を通じて、第2実施形態の動作(図1
0の概略動作(1)(2)(3)及び(4)参照)を実
行する。
The W / R / ECC control device 20A operates under the control of the central control device 10 according to the second embodiment (see FIG.
0 (see (1), (2), (3) and (4)).

【0113】メモリ装置50Aは、以降の図9をもって
説明するようにn個の固定データ量に分割(例えば、均
等なデータ量に分割)されており、ここでの各種データ
の書き込み及び読み出しの処理は第1実施形態と同様に
行なわれる。
The memory device 50A is divided into n fixed data amounts (for example, divided into equal data amounts) as described with reference to FIG. 9 below, and various data writing and reading processes are performed here. Is performed as in the first embodiment.

【0114】W/R・ECC制御装置20Aには、この
第2実施形態に対応して配置されたレジスタ31(本発
明の一つの記憶手段に対応する)と比較器32(本発明
の一つの比較手段に対応する)及び制御部23Aが設け
られている。さらに、第1実施形態と同様に動作するア
ドレス生成部24と、セレクタ(1)25と、レジスタ
D−R26と、ビット誤り検出訂正用データ生成部27
と、セレクタ(2)28と、レジスタD−W29と、ビ
ット誤り検出訂正部30と、セレクタ(3)40とが設
けられている。
In the W / R / ECC control device 20A, a register 31 (corresponding to one storage means of the present invention) and a comparator 32 (one of the present invention) arranged corresponding to the second embodiment are provided. (Corresponding to comparison means) and a control unit 23A are provided. Furthermore, an address generation unit 24 that operates in the same manner as in the first embodiment, a selector (1) 25, a register D-R 26, and a bit error detection and correction data generation unit 27.
, A selector (2) 28, a register D-W 29, a bit error detection / correction unit 30, and a selector (3) 40.

【0115】レジスタ31は、メモリ装置50Aのn個
の固定データ量に分割されたビット誤り検出訂正対象記
憶領域及び非ビット誤り検出訂正対象記憶領域の情報
(図9及び図10の(1)から(4)の情報)が予め設
定されている。
The register 31 stores information on the bit error detection and correction target storage area and the non-bit error detection and correction target storage area divided into n fixed data amounts of the memory device 50A (from (1) in FIGS. 9 and 10). (Information of (4)) is set in advance.

【0116】比較器32は、中央制御装置10からのア
ドレスデータとレジスタ31それぞれからのデータとを
比較した比較結果信号を出力する。
The comparator 32 outputs a comparison result signal obtained by comparing the address data from the central controller 10 with the data from the register 31 respectively.

【0117】制御部23Aは、当該W/R・ECC制御
装置20Aの各部を制御して、第2実施形態の動作(図
10の概略動作(1)(2)(3)及び(4)参照)を
実行するものであり、このための制御プログラム(本発
明プログラムに対応する)が格納されている。
The control section 23A controls each section of the W / R / ECC control device 20A to perform the operation of the second embodiment (see the schematic operations (1), (2), (3) and (4) in FIG. 10). ) Is executed and a control program therefor (corresponding to the program of the present invention) is stored.

【0118】これ以外のアドレス生成部24からセレク
タ(3)40までは、それぞれ第1実施形態と同様に動
作する。その重複する説明は省略する。
The other parts from the address generator 24 to the selector (3) 40 operate similarly to the first embodiment. The overlapping description will be omitted.

【0119】図9は、第2実施形態のメモリ装置50A
内の記憶領域を説明するための図である。
FIG. 9 shows a memory device 50A of the second embodiment.
FIG. 3 is a diagram for explaining an internal storage area.

【0120】図9(a)を参照すると、メモリ装置50
A内を複数の固定データ量の記憶領域に分割(この例で
は、n個の均等なデータ量に分割)されている。この複
数の固定データ量の記憶領域それぞれを第1実施形態同
様に「ビット誤り検出訂正対象記憶領域」、又は「非ビッ
ト誤り検出訂正対象記憶領域」の領域0から領域nに区
分けしている。この領域0から領域nに対する指定は、
本発明における「記憶領域ごとに予め付与された一つの
情報で指定」に対応し、例えば、フラグ番号のような簡
単な情報で指定するのが好ましい。
Referring to FIG. 9A, the memory device 50
The inside of A is divided into a plurality of fixed data amount storage areas (in this example, divided into n uniform data amounts). As in the first embodiment, each of the storage areas having a plurality of fixed data amounts is divided into a “bit error detection and correction target storage area” or a “non-bit error detection and correction target storage area” from area 0 to area n. The designation for this region 0 to region n is
It is preferable to specify by simple information such as a flag number, which corresponds to “specified by one piece of information given in advance for each storage area” in the present invention.

【0121】さらに、図9(b)に示すようにビット誤
り検出訂正対象記憶領域1,2…は、図9(b)示すよ
うに処理データやプログラムコードデータが格納される
通常データ域D1とビット誤り検出訂正用データが格納
されるビット誤り検出訂正用データ域D2の二つの記憶
領域に区分けされている。
Further, as shown in FIG. 9 (b), the bit error detection / correction target storage areas 1, 2, ... Are the normal data area D1 in which the processing data and program code data are stored, as shown in FIG. 9 (b). It is divided into two storage areas of a bit error detection / correction data area D2 in which the bit error detection / correction data is stored.

【0122】なお、当該データ処理誤り検出訂正システ
ムにおいて、通常データ域D1は、中央制御装置10に
よる直接(W/R・ECC制御装置20Aのスルー制御
のみで)のデータの読み出し及び書き込みが可能であ
る。また、ビット誤り検出訂正用データ域D2に対して
は、中央制御装置10は、直接データ書き込み(アクセ
ス)ができず、W/R・ECC制御装置20Aの制御を
通じたアクセスによるデータ書き込みが可能になってい
る。
In the data processing error detection and correction system, the normal data area D1 can be directly read and written by the central controller 10 (only through control of the W / R / ECC controller 20A). is there. Further, the central controller 10 cannot directly write (access) data to the bit error detection / correction data area D2, and data can be written by access through the control of the W / R / ECC controller 20A. Has become.

【0123】(第2実施形態の全体動作)図10は第2
実施形態の概略動作を説明するための示すブロック図で
ある。
(Overall Operation of Second Embodiment) FIG. 10 shows the second operation.
It is a block diagram shown for explaining a schematic operation of an embodiment.

【0124】図10を参照すると、この第2実施形態で
は、メモリ装置50Aの複数の固定データ量記憶領域0
〜n(n個の均等データ量の記憶領域に分割)に対する、
以下の概略動作(1)(2)(3)及び(4)を行う。 (1)メモリ装置50Aにおける複数固定データ量の非
ビット誤り検出訂正対象記憶領域0〜nいずれかへの
(a)通常データの書き込み処理と、(b)通常データ
の書き込みに対するビット誤り検出訂正処理において、
この(a)(b)の一方又は両方、さらに、(c)ビッ
ト誤り検出と訂正処理とにおける一方又は両方 (2)メモリ装置50Aの複数固定データ量の非ビット
誤り検出訂正対象記憶領域0〜nいずれかからの(a)
通常データの読み出し処理と、(b)通常データの読み
出しに対するビット誤り検出訂正処理において、この
(a)(b)の一方又は両方、さらに、(c)ビット誤
り検出と訂正処理とにおける一方又は両方 (3)非ビット誤り検出訂正対象記憶領域0〜nいずれ
かへのデータ書き込み処理 (4)非ビット誤り検出訂正対象記憶領域0〜nいずれ
かからのデータ読み出し処理 以下、この概略動作に対応する制御部23Aの制御を中
心とした詳細な処理について説明する。
Referring to FIG. 10, in the second embodiment, a plurality of fixed data amount storage areas 0 of the memory device 50A are used.
~ N (divided into n storage areas of equal data amount),
The following general operations (1), (2), (3) and (4) are performed. (1) (a) Normal data write processing to any of the non-bit error detection and correction target storage areas 0 to n having a plurality of fixed data amounts in the memory device 50A, and (b) Bit error detection and correction processing for writing normal data At
One or both of (a) and (b), and one or both of (c) bit error detection and correction processing (2) Non-bit error detection and correction target storage areas 0 of a plurality of fixed data amounts of the memory device 50A (a) from either n
In the normal data read processing and (b) bit error detection and correction processing for normal data read, one or both of (a) and (b), and (c) one or both of the bit error detection and correction processing. (3) Data write processing to any of the non-bit error detection / correction target storage areas 0 to n (4) Data read processing from any of the non-bit error detection and correction target storage areas 0 to n Detailed processing focusing on the control of the control unit 23A will be described.

【0125】なお、この第2実施形態では、図10の
(1)から(4)までにそれぞれ対応する処理手順の説
明を、第1実施形態の図4、図5、図6及び図7を再度
参照して説明する。
In the second embodiment, the processing procedure corresponding to (1) to (4) in FIG. 10 will be described with reference to FIGS. 4, 5, 6, and 7 of the first embodiment. The description will be given with reference again.

【0126】図8及び図9を参照すると、この第2実施
形態では、まず、図10の(1)概略動作として、メモ
リ装置50Aにおける通常データ域D1に中央制御装置
10からW/R・ECC制御装置20を介してデータ
(入力データS25a)を書き込むときは、中央制御装
置10からのアドレスデータS24a(これは領域0か
ら領域nそれぞれ対応するフラグ番号でも良い)と、レ
ジスタ31に記憶されている固定データ量の領域0から
領域nいずれか(以下、この「いずれか」の表記は省略
する)におけるビット誤り検出訂正処理に関する情報
(図10の(1)概略動作)が比較器32で比較され
る。
Referring to FIGS. 8 and 9, in the second embodiment, first, as a general operation (1) of FIG. 10, the W / R / ECC from the central control unit 10 to the normal data area D1 in the memory device 50A. When writing the data (input data S25a) via the control device 20, the address data S24a from the central control device 10 (this may be the flag numbers corresponding to the respective areas 0 to n) and stored in the register 31. The comparator 32 compares the information (bit (1) schematic operation in FIG. 10) regarding the bit error detection and correction processing in any one of the areas 0 to n of the fixed data amount (hereinafter, the description of “any” is omitted). To be done.

【0127】この比較でアドレスデータS24aが、ビ
ット誤り検出訂正対象記憶領域1,2…を示している場
合は、比較器32から比較結果信号によって制御部23
Aが、ビット誤り検出訂正対象記憶領域1,2…への書
き込み処理であることを認識する(第1実施形態の図4
中、ステップS1〜S5参照)。
If the address data S24a indicates the bit error detection / correction target storage areas 1, 2, ... In this comparison, the control unit 23 is informed by the comparison result signal from the comparator 32.
It is recognized that A is a writing process to the bit error detection / correction target storage areas 1, 2, ... (FIG. 4 of the first embodiment).
(See steps S1 to S5).

【0128】これ以降は、第1実施形態と基本的に同様
の処理となる。すなわち、入力データS25aがレジス
タD−R26で保持され、さらに、アドレスデータS2
8a及び書込データS29aがメモリ装置50Aに出力
される。この後で、メモリ装置50Aが、制御データS
31aによって、書込データS29a(入力データS2
5aに同じ)が、通常データ域D1に書き込まれ、そし
て、隣接アドレスデータS28bが、メモリ装置50A
に出力される(第1実施形態の図4中、ステップS6〜
S10参照)。
After that, the processing is basically the same as that of the first embodiment. That is, the input data S25a is held in the register D-R26, and further the address data S2 is stored.
8a and write data S29a are output to the memory device 50A. After this, the memory device 50A changes the control data S
31a allows the write data S29a (input data S2
5a) is written to the normal data area D1 and the adjacent address data S28b is written to the memory device 50A.
Is output to (in step S6 of FIG. 4 of the first embodiment).
See S10).

【0129】この後、W/R・ECC制御装置20での
ビット誤り検出訂正処理となり、メモリ装置50Aから
データが制御データS31bで読み出され、この読み出
されたデータを読出データS30aとしてレジスタD−
W29で保持される。そして、入力データS25aと読
出データS30aとに基づいて、ビット誤り検出訂正用
データを生成し、かつ、この記憶のためのアドレスデー
タ28c及び書込データS29bをメモリ装置50Aに
出力し、この書き込み完了通知を、制御データS31
c,制御データS27aとして通知する(第1実施形態
の図4中、ステップS11〜18参照)。
After that, the bit error detection and correction processing is performed in the W / R / ECC control device 20, the data is read from the memory device 50A as the control data S31b, and the read data is set as the read data S30a in the register D. −
It is held at W29. Then, bit error detection / correction data is generated based on the input data S25a and the read data S30a, and the address data 28c and the write data S29b for this storage are output to the memory device 50A to complete the writing. Notify the control data S31
c, control data S27a is notified (see steps S11 to 18 in FIG. 4 of the first embodiment).

【0130】次に、図10の(2)概略動作に対応する
処理手順について説明する。
Next, a processing procedure corresponding to the general operation (2) of FIG. 10 will be described.

【0131】図8及び図9を参照すると、図10の
(2)概略動作として、中央制御装置10がW/R・E
CC制御装置20Aのビット誤り検出訂正対象記憶領域
1,2…からデータ(入力データS25a)を読み出す
ときは、アドレスレスデータ24bとレジスタ31から
のビット誤り検出訂正対象記憶領域1,2…に関する情
報(図10の(2)概略動作)の比較による比較結果信
号を比較器32から出力する。この比較結果信号と制御
データS27bによって、ビット誤り検出訂正対象記憶
領域1,2…への読み出しが行われていることを制御部
23Aが認識する(第1実施形態の図5中、ステップS
21〜S25)。
Referring to FIG. 8 and FIG. 9, the central control unit 10 performs W / R · E as a general operation (2) of FIG.
When reading data (input data S25a) from the bit error detection / correction target storage areas 1, 2, ... Of the CC control device 20A, information on the bit error detection / correction target storage areas 1, 2 ... From the addressless data 24b and the register 31. The comparison result signal obtained by the comparison of ((2) schematic operation of FIG. 10) is output from the comparator 32. Based on the comparison result signal and the control data S27b, the control unit 23A recognizes that the bit error detection / correction target storage areas 1, 2, ... Are being read (step S in FIG. 5 of the first embodiment).
21-S25).

【0132】この後は、第1実施形態と基本的に同様の
処理となる。すなわち、アドレスデータ28dがメモリ
装置50Aに出力される。さらに、制御データS31d
によって、メモリ装置50Aから通常データの読み出し
が行われ、また、この読出データS30bを、レジスタ
D−W29が保持する。通常データに対応したビット誤
り検出訂正用データ格納用のアドレスデータ28eがメ
モリ装置50Aに出力される。また、メモリ装置50A
からのビット誤り検出訂正用データをレジスタD−W2
9が保持する(第1実施形態の図5中、ステップS26
〜S31)。
After that, the processing is basically the same as that of the first embodiment. That is, the address data 28d is output to the memory device 50A. Furthermore, the control data S31d
By this, normal data is read from the memory device 50A, and the read data S30b is held in the register D-W29. Address data 28e for storing bit error detection and correction data corresponding to normal data is output to the memory device 50A. In addition, the memory device 50A
Data for bit error detection and correction from the register D-W2
9 holds (step S26 in FIG. 5 of the first embodiment).
~ S31).

【0133】この後、ビット誤り検出訂正処理が行なわ
れ、この出力データS26aを中央制御装置10に出力
する。この後で、通常データの読み出し完了を中央制御
装置10に制御データS31e,制御データS27cと
して通知する(第1実施形態の図5中、ステップS31
及びS32)。
Thereafter, bit error detection and correction processing is performed, and the output data S26a is output to the central controller 10. After this, the completion of reading the normal data is notified to the central controller 10 as control data S31e and control data S27c (step S31 in FIG. 5 of the first embodiment).
And S32).

【0134】さらに、図10の(3)概略動作に対応す
る処理手順について説明する。
Further, a processing procedure corresponding to the general operation (3) of FIG. 10 will be described.

【0135】図8及び図9を参照すると、この書き込み
処理では、まず、アドレスデータ24cとレジスタ31
に記憶されているビット誤り検出訂正対象記憶領域1,
2…に関する情報(図10の(3)概略動作)が比較さ
れ、この比較結果信号と制御データS27dによって、
ビット誤り検出訂正対象記憶領域1,2…の情報でない
非ビット誤り検出訂正対象記憶領域0,…nのいずれか
(以下、この「いずれか」の表記は省略する)への書き
込みであることを認識する(第1実施形態の図6中、ス
テップS41〜S45)。
Referring to FIGS. 8 and 9, in this writing process, first, the address data 24c and the register 31 are written.
Bit error detection and correction target storage area 1 stored in
Information regarding 2 ... (Schematic operation of (3) in FIG. 10) is compared, and by this comparison result signal and control data S27d,
Write to any of the non-bit error detection / correction target storage areas 0, ... N which is not the information of the bit error detection / correction storage area 1, 2, ... (Hereinafter, this “any” is omitted) Recognize (steps S41 to S45 in FIG. 6 of the first embodiment).

【0136】これ以降は、第1実施形態と基本的に同様
の処理となる。すなわち、アドレスデータ28f、及び
入力データ25bをメモリ装置50Aに出力し、制御デ
ータS31fによって入力データ29cが非ビット誤り
検出訂正対象記憶領域0,…nに書き込まれる。この書
き込み完了後、制御データS27eを通じて中央制御装
置10に対し、書き込み完了を通知する(第1実施形態
の図6中、ステップS46〜S49)。
After that, the processing is basically the same as that of the first embodiment. That is, the address data 28f and the input data 25b are output to the memory device 50A, and the input data 29c is written in the non-bit error detection and correction target storage areas 0, ... N by the control data S31f. After this writing is completed, the central controller 10 is notified of the completion of writing through the control data S27e (steps S46 to S49 in FIG. 6 of the first embodiment).

【0137】次に、図10の(4)概略動作に対応する
処理手順について説明する。
Next, a processing procedure corresponding to the general operation (4) of FIG. 10 will be described.

【0138】図8及び図9を参照すると、このデータ読
み出し処理では、まず、アドレスデータ24dとレジス
タ31のビット誤り検出訂正対象記憶領域1,2…に関
する情報(図10の(4)概略動作)が比較され、ビッ
ト誤り検出訂正対象記憶領域1,2…でない場合の比較
結果信号と中央制御装置10からの制御データS27f
よって、制御部23が非ビット誤り検出訂正対象記憶領
域0,…nからの読み出しであること認識する(第1実
施形態の図7中、ステップS61〜S65)。
With reference to FIGS. 8 and 9, in this data read processing, first, information regarding the address data 24d and the bit error detection and correction target storage areas 1, 2, ... Of the register 31 ((4) schematic operation in FIG. 10). Are compared, and the comparison result signal and the control data S27f from the central control unit 10 when the bit error detection and correction target storage areas 1, 2, ...
Therefore, the control unit 23 recognizes that the reading is from the non-bit error detection and correction target storage areas 0, ... N (steps S61 to S65 in FIG. 7 of the first embodiment).

【0139】これ以降は、第1実施形態と基本的に同様
の処理となる。すなわち、アドレスデータ28g及び、
制御データS31gによって、メモリ装置50Aからデ
ータが読み出される。この読み出し完了後、制御部23
から制御データS27gを通じて中央制御装置10に対
して読み出し完了を通知する(第1実施形態の図7中、
ステップS66〜S69)。
After that, the processing is basically the same as that of the first embodiment. That is, the address data 28g and
Data is read from the memory device 50A by the control data S31g. After this reading is completed, the control unit 23
From the control data S27g to notify the central control unit 10 of the completion of reading (in FIG. 7 of the first embodiment,
Steps S66 to S69).

【0140】この第2実施形態によれば、一つのメモリ
装置50Aにおけるn個の固定データ量の記憶領域(図
9参照)に対して、通常データ(処理データ、プログラ
ムコードデータなど)とともに、ビット誤り検出訂正又
は非ビット誤り検出訂正のための記憶領域を割り当てる
ことが出来る。
According to the second embodiment, normal data (process data, program code data, etc.) and bit data are stored in n memory areas of a fixed data amount (see FIG. 9) in one memory device 50A. Storage areas can be allocated for error detection and correction or non-bit error detection and correction.

【0141】この場合、n個の固定データ量の記憶領域
に対する書き込み及び読み出しの処理が簡単になる。例
えば、第1実施形態のように任意データ量の記憶領域に
対する、変化するアドレス番号指定を行わないため、そ
の処理が複雑化しない。換言すれば、n個の固定データ
量の記憶領域をフラグ番号の指定のみで良くなる。この
ため内部構成が、より簡素化されて、コスト低減が可能
になり、特に低価格の製品への採用が容易になる。
In this case, the writing and reading processes for the n fixed data amount storage areas are simplified. For example, unlike the first embodiment, since the changing address number is not specified for the storage area having the arbitrary data amount, the processing is not complicated. In other words, it suffices to specify the storage area of the fixed data amount of n by only specifying the flag number. For this reason, the internal structure is further simplified, the cost can be reduced, and it is particularly easy to adopt in low-priced products.

【0142】(第3実施形態の構成及び各部の動作)次
に、第3実施形態について説明する。図11は第3実施
形態の要部構成を示すブロック図である。
(Structure of Third Embodiment and Operation of Each Part) Next, a third embodiment will be described. FIG. 11 is a block diagram showing the main configuration of the third embodiment.

【0143】図11を参照すると、この第3実施形態
は、第1又は第2実施形態のメモリ装置50又は50A
に対応する情報記録装置70を、有線・無線通信ネット
ワーク71上に配置している。さらに、有線・無線通信
ネットワーク71の有線・無線区間による回線接続を行
なう通信装置72をW/R・ECC制御装置20,20
Aに接続し、さらに、有線・無線通信ネットワーク71
にも通信装置72との回線接続を行なうための通信装置
73を設けている。
Referring to FIG. 11, this third embodiment is a memory device 50 or 50A of the first or second embodiment.
The information recording device 70 corresponding to the above is arranged on the wired / wireless communication network 71. Further, the communication device 72 for connecting the line in the wired / wireless section of the wired / wireless communication network 71 is provided as the W / R / ECC control device 20, 20.
Connected to A and further wired / wireless communication network 71
Also, a communication device 73 for establishing a line connection with the communication device 72 is provided.

【0144】通信装置72,73は、例えば、有線区間
の場合、通信制御装置/モデム、デジタル終端装置/タ
ーミナルアダプタなどであり、また、無線区間の場合、
無線送受信端末である。
The communication devices 72 and 73 are, for example, a communication control device / modem, a digital termination device / terminal adapter, etc. in the case of a wired section, and in the case of a wireless section.
It is a wireless transmission / reception terminal.

【0145】なお、有線・無線通信ネットワーク71の
伝送方式(通信プロトコル)としては、TCP/IP
(Transmission Control Protocol/Internet Protoco
l)が汎用性の視点から好ましい。
The transmission method (communication protocol) of the wired / wireless communication network 71 is TCP / IP.
(Transmission Control Protocol / Internet Protoco
l) is preferable from the viewpoint of versatility.

【0146】(第3実施形態の全体動作)第1及び第2
実施形態のメモリ装置50及び50Aに対応する情報記
録装置70と、有線・無線通信ネットワーク71の通信
装置73とW/R・ECC制御装置20,20Aの通信
装置72と、その双方向通信によって第1及び第2実施
形態と同様の処理が行なわれる。
(Overall Operation of Third Embodiment) First and Second
The information recording device 70 corresponding to the memory devices 50 and 50A of the embodiment, the communication device 73 of the wired / wireless communication network 71, the communication device 72 of the W / R / ECC control devices 20 and 20A, and the two-way communication thereof Processing similar to that of the first and second embodiments is performed.

【0147】なお、この第3実施形態では有線・無線通
信ネットワーク71での伝送エラーによるビット誤りに
対しても、その訂正が可能である。 (第3実施形態の利点)このように第3実施形態では、
情報記録装置70とW/R・ECC制御装置20,20
Aとを有線・無線通信ネットワーク71で接続してお
り、例えば、1台の情報記録装置70が、多数のW/R
・ECC制御装置20,20Aを収容できるようにな
り、構成及び処理の自由度の向上、及びシステム大規模
化に対応可能になる。
In the third embodiment, it is possible to correct a bit error caused by a transmission error in the wired / wireless communication network 71. (Advantages of Third Embodiment) As described above, in the third embodiment,
Information recording device 70 and W / R / ECC control device 20, 20
A is connected to A via a wired / wireless communication network 71. For example, one information recording device 70 has a large number of W / Rs.
-The ECC control devices 20 and 20A can be accommodated, and the degree of freedom of configuration and processing can be improved and the system scale can be increased.

【0148】(第4実施形態の構成及び各部の動作)以
下、第4実施形態について説明する。図12は第4実施
形態の要部構成を示すブロック図である。
(Structure of Fourth Embodiment and Operation of Each Part) The fourth embodiment will be described below. FIG. 12 is a block diagram showing the main configuration of the fourth embodiment.

【0149】図12を参照すると、この第4実施形態
は、第1又は第2実施形態を、分散コンピュータシステ
ム、例えば、イーサネット(登録商標)などのローカル
エリアネットワーク(LAN)に適用したものであり、
中央制御装置10に対応するLANサーバ80と、第1
又は第2実施形態のW/R・ECC制御装置20又は2
0Aに対応するW/R・ECC制御装置81と、第1又
は第2実施形態のメモリ装置50又は50Aに対応する
メモリ装置82とがLAN伝送路83に接続されてい
る。
Referring to FIG. 12, the fourth embodiment is an application of the first or second embodiment to a distributed computer system, for example, a local area network (LAN) such as Ethernet (registered trademark). ,
A LAN server 80 corresponding to the central control unit 10;
Alternatively, the W / R / ECC control device 20 or 2 of the second embodiment
The W / R / ECC control device 81 corresponding to 0A and the memory device 50 corresponding to the memory device 50 or 50A of the first or second embodiment are connected to the LAN transmission line 83.

【0150】なお、LANサーバ80,W/R・ECC
制御装置81、及びメモリ装置82それぞれにおけるL
ANインターフェース装置は、その図示を省略した。
LAN server 80, W / R / ECC
L in each of the control device 81 and the memory device 82
The AN interface device is not shown.

【0151】(第4実施形態の全体動作)この第4実施
形態では、LANサーバ80が、第1又は第2実施形態
の中央制御装置10と同様に、その処理を実行する。例
えば、遠隔手続き呼び出し制御(RPC:Remote Proce
dure Call)によって第1又は第2実施形態と同様の処
理を行なう。
(Overall Operation of Fourth Embodiment) In the fourth embodiment, the LAN server 80 executes the same processing as the central controller 10 of the first or second embodiment. For example, Remote Procedure Call Control (RPC)
dure Call) performs the same processing as in the first or second embodiment.

【0152】(第4実施形態の利点)この第4実施形態
では、LANサーバ80を、第1又は第2実施形態にお
ける中央制御装置10と兼用できるようになり、その構
成が簡素化されるとともに、構成及び処理(構成設計)
の自由度が向上する。
(Advantages of Fourth Embodiment) In the fourth embodiment, the LAN server 80 can be used also as the central control unit 10 in the first or second embodiment, and the configuration thereof is simplified. , Configuration and processing (configuration design)
The degree of freedom of is improved.

【0153】(実施形態における変形例の説明)上記し
た第1及び第2実施形態では、二つのバスラインBUS
1,BUS2を配置した構成をもって説明したが、この
バスラインBUS1,BUS2は、この二つを統合した
一つのバスラインで構成しても良い。
(Explanation of Modifications of Embodiment) In the first and second embodiments described above, two bus lines BUS are used.
1 and BUS2 are arranged, the bus lines BUS1 and BUS2 may be integrated into one bus line.

【0154】さらに、上記した第1と第2及び第4実施
形態では、一つのメモリ装置50,50Aをもって説明
しているが、ここでの「一つ」は、通常データと、ビッ
ト誤り検出訂正又は非ビット誤り検出訂正のためのデー
タごとを記憶する個別の情報記憶媒体を配置しないとい
う意味である。すなわち、メモリ装置50,50Aとし
て、単に記憶データ量を大きくするために、複数の情報
記憶媒体を接続した構成も、一つのメモリ装置50,5
0Aを用いることに含まれる。
Further, in the above-mentioned first, second and fourth embodiments, description is made using one memory device 50, 50A, but "one" here is normal data and bit error detection and correction. Alternatively, it means that no separate information storage medium for storing each data for non-bit error detection and correction is arranged. That is, as the memory devices 50 and 50A, a configuration in which a plurality of information storage media are connected in order to simply increase the amount of stored data is also a single memory device 50 or 50.
Included in using 0A.

【0155】また、上記した第1から第4実施形態にお
いて、制御部23,23Aには、それぞれの実施形態の
制御を実行するためのプログラムを格納している。この
プログラムは、制御部23,23AがMPUで構成され
る場合、ROM,CD−ROMなどの情報記録媒体によ
って提供されるとともに、有線・無線通信ネットワーク
上からダウンロード及びインストールによって当該デー
タ処理誤り検出訂正システム及び、周辺装置(例えば、
図12に示したローカルエリアネットワーク(LAN)
サーバ)において実装するようにも出来る。
Further, in the above-described first to fourth embodiments, the control units 23 and 23A store programs for executing the control of the respective embodiments. This program is provided by an information recording medium such as a ROM or a CD-ROM when the control units 23 and 23A are configured by MPU, and the data processing error detection and correction is performed by downloading and installing from the wired / wireless communication network. System and peripherals (eg,
The local area network (LAN) shown in FIG.
It can also be implemented in the server).

【0156】また、第1と第2及び第4実施形態におい
て、メモリ装置50及びメモリ装置50Aとして、半導
体記憶装置をもって説明したが、他の種類の情報記録媒
体でも良い。例えば、ハードデスク装置(HDD)でも
第1及び第2実施形態の動作は実現可能である。この場
合、半導体記憶装置に比較して、大データ量の処理が可
能になる。
In the first, second, and fourth embodiments, the semiconductor memory device has been described as the memory device 50 and the memory device 50A, but other types of information recording media may be used. For example, the operations of the first and second embodiments can be realized even with a hard disk device (HDD). In this case, a large amount of data can be processed as compared with the semiconductor memory device.

【0157】なお、第1から第4実施形態では、当該デ
ータ処理誤り検出訂正システムをコンピュータに適応し
た例をもって説明したが、コンピュータシステム以外の
データ処理誤り検出訂正システムを必要とする装置(例
えば、通信ネットワーク上の通信プロトコル変換装置な
どのノード)にも適用可能である。
In the first to fourth embodiments, an example in which the data processing error detection and correction system is applied to a computer has been described, but an apparatus requiring a data processing error detection and correction system other than the computer system (for example, It is also applicable to a node such as a communication protocol converter on a communication network).

【0158】上記した変形例及び、さらなる変更は、当
業者にとって容易に創達できる設計的な事項であり全て
本発明に含まれる。
The above-described modifications and further modifications are design matters that can be easily created by those skilled in the art, and are all included in the present invention.

【0159】[0159]

【発明の効果】以上の説明で明らかなように、本発明の
データ処理と誤り検出訂正の方法及びそのシステム並び
にプログラムによれば、装置規模及び処理規模が縮小さ
れるとともに、過剰品質とならず、かつ、信頼性が向上
し、さらに、構成及び処理の自由度が向上し、そのコス
ト削減が可能になるという効果を有している。
As is apparent from the above description, according to the data processing and error detection / correction method, system and program thereof of the present invention, the device scale and the processing scale are reduced and excessive quality is prevented. In addition, the reliability is improved, the flexibility of the configuration and the processing is improved, and the cost can be reduced.

【0160】さらに、本発明によれば、内部構成が、よ
り簡素化されて、コスト低減が可能になるという効果を
有している。
Further, according to the present invention, there is an effect that the internal structure is further simplified and the cost can be reduced.

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

【図1】本発明の第1実施形態における構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a configuration in a first embodiment of the present invention.

【図2】第1実施形態におけるメモリ装置の記憶領域を
説明するための図である。
FIG. 2 is a diagram for explaining a storage area of the memory device according to the first embodiment.

【図3】第1実施形態の概略動作を説明するためのブロ
ック図である。
FIG. 3 is a block diagram for explaining a schematic operation of the first embodiment.

【図4】第1実施形態のメモリ装置への通常データの書
き込み処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing a procedure of processing for writing normal data in the memory device according to the first embodiment.

【図5】第1実施形態のメモリ装置からの通常データの
読み出しの処理手順を示すフローチャートである。
FIG. 5 is a flowchart showing a processing procedure of reading normal data from the memory device of the first embodiment.

【図6】第1実施形態の非ビット誤り検出訂正対象記憶
領域へのデータ書き込み処理手順を示すフローチャート
である。
FIG. 6 is a flowchart showing a data write processing procedure to a non-bit error detection and correction target storage area of the first embodiment.

【図7】第1実施形態の非ビット誤り検出訂正対象記憶
領域からのデータ読み出し処理手順を示すフローチャー
トである。
FIG. 7 is a flowchart showing a data read processing procedure from a non-bit error detection / correction target storage area of the first embodiment.

【図8】第2実施形態の構成を示すブロック図である。FIG. 8 is a block diagram showing a configuration of a second embodiment.

【図9】第2実施形態のメモリ装置の記憶領域を説明す
るための図である。
FIG. 9 is a diagram for explaining a storage area of the memory device according to the second embodiment.

【図10】第2実施形態の概略動作を説明するためのブ
ロック図である。
FIG. 10 is a block diagram for explaining a schematic operation of the second embodiment.

【図11】第3実施形態の要部構成を示すブロック図で
ある
FIG. 11 is a block diagram showing a main configuration of a third embodiment.

【図12】第4実施形態の要部構成を示すブロック図で
ある
FIG. 12 is a block diagram showing a main configuration of a fourth embodiment.

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

10 中央制御装置 20,20A,81 W/R・ECC制御装置 21,26,29,31 レジスタ 22,32 比較器 23,23A 制御部 24 アドレス生成部 27 ビット誤り検出訂正用データ生成部 25,28,40 セレクタ 30 ビット誤り検出訂正部 50,50A,82 メモリ装置 70 情報記録装置 71 有線・無線通信ネットワーク 72,73 通信装置 80 LANサーバ 10 Central control unit 20, 20A, 81 W / R ECC controller 21,26,29,31 registers 22, 32 comparator 23, 23A control unit 24 Address generator 27-bit error detection / correction data generator 25, 28, 40 selector 30-bit error detection and correction unit 50,50A, 82 memory device 70 Information recording device 71 Wired / Wireless communication network 72,73 Communication device 80 LAN server

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 入力データの書き込みのみと、この書き
込まれたデータに対する誤り検出訂正用データの生成と
を選択的に行う装置における方法にあって、 実質的な一つの記憶手段における、複数の任意データ量
の誤り検出訂正を行う記憶領域と誤り検出訂正を行わな
い記憶領域とに対する選択的な指定によって入力データ
を書き込む工程と、 前記書き込まれたデータを、前記記憶領域を指定して読
み出す工程と、 この読み出しが、前記誤り検出訂正を行う記憶領域から
のデータの場合に、このデータと前記入力データとから
誤り検出訂正用データを生成する工程と、 この生成された誤り検出訂正用データを、前記誤り検出
訂正を行う記憶領域から読み出したデータに対応付け、
かつ、前記任意データ量の誤り検出訂正を行う記憶領域
を確保する指定を行って記憶する工程と、 を有することを特徴とするデータ処理と誤り検出訂正の
方法。
1. A method in an apparatus for selectively writing only input data and generating error detection / correction data for the written data, wherein a plurality of arbitrary storage units in one storage means are substantially used. A step of writing input data by selectively specifying a storage area in which error detection and correction of a data amount is performed and a storage area in which error detection and correction is not performed; and a step of reading the written data by designating the storage area. When the read is data from a storage area for performing the error detection and correction, a step of generating error detection and correction data from this data and the input data, and the generated error detection and correction data, Corresponding to the data read from the storage area for performing the error detection and correction,
A method of data processing and error detection and correction, further comprising the step of: specifying and storing a storage area for performing error detection and correction of the arbitrary data amount.
【請求項2】 読み出されたデータに対する誤り検出訂
正又は非誤り検出訂正を選択的に行う装置での方法にあ
って、 実質的な一つの記憶手段における、複数の任意データ量
の誤り検出訂正を行う記憶領域と誤り検出訂正を行わな
い記憶領域に対する選択的な指定によってデータを読み
出す工程と、 前記読み出されたデータに対応付けて記憶されている誤
り検出訂正用データを読み出す工程と、 前記読み出したデータを、前記読み出した誤り検出訂正
用データに基づいて訂正する工程と、 を有することを特徴とするデータ処理と誤り検出訂正の
方法。
2. A method in an apparatus for selectively performing error detection / correction or non-error detection / correction on read data, comprising: error detection / correction of a plurality of arbitrary data amounts in substantially one storage means. A step of reading data by selectively specifying a storage area for performing the error detection and a storage area for which the error detection and correction are not performed; and a step of reading error detection and correction data stored in association with the read data, And a step of correcting the read data based on the read data for error detection and correction, and a method of data processing and error detection and correction.
【請求項3】 前記複数の任意データ量の誤り検出訂正
を行う記憶領域と誤り検出訂正を行わない記憶領域に対
する選択的な指定として、 記憶領域の始まりと終わりの数値を含む情報をもって指
定することを特徴とする請求項1又は2に記載のデータ
処理と誤り検出訂正の方法。
3. As a selective designation for the storage area in which the error detection and correction of the plurality of arbitrary data amounts are performed and the storage area in which the error detection and correction is not performed, designation is made by information including numerical values of the start and end of the storage area. The data processing and error detection / correction method according to claim 1 or 2.
【請求項4】 入力データの書き込みのみと、この書き
込まれたデータに対する誤り検出訂正用データの生成を
選択的に行う装置における方法にあって、 実質的な一つの記憶手段における、予め設定された複数
の固定データ量の誤り検出訂正を行う記憶領域と誤り検
出訂正を行わない記憶領域に対する選択的な指定によっ
て入力データを書き込む工程と、 前記書き込まれたデータを前記記憶領域を指定して読み
出す工程と、 この読み出しにおいて前記誤り検出訂正を行う記憶領域
からのデータと前記入力データとから誤り検出訂正用デ
ータを生成する工程と、 この生成された誤り検出訂正用データを、前記誤り検出
訂正を行う記憶領域から読み出したデータに対応付け、
かつ、前記誤り検出訂正を行う固定データ量の記憶領域
に記憶する工程と、 を有することを特徴とするデータ処理と誤り検出訂正の
方法。
4. A method in an apparatus for selectively writing input data and selectively generating error detection and correction data for the written data, which is preset in substantially one storage means. Writing input data by selectively designating a storage area that performs error detection and correction of a plurality of fixed data amounts and a storage area that does not perform error detection and correction; and a step of reading the written data by designating the storage area And a step of generating error detection and correction data from the input data and data from a storage area in which the error detection and correction are performed, and the generated error detection and correction data is subjected to the error detection and correction. Corresponding to the data read from the storage area,
And a step of storing in a fixed data amount storage area for performing the error detection and correction, and a method of data processing and error detection and correction.
【請求項5】 読み出されたデータに対する誤り検出訂
正又は非誤り検出訂正を選択的に行う装置での方法にあ
って、 実質的な一つの記憶手段における、予め設定された複数
の固定データ量の誤り検出訂正を行う記憶領域と誤り検
出訂正を行わない記憶領域に対する選択的な指定によっ
てデータを読み出す工程と、 前記記憶されたデータに対応付けて記憶されている誤り
検出訂正用データを読み出す工程と、 前記読み出したデータを、前記読み出した誤り検出訂正
用データに基づいて誤り訂正する工程と、 を有することを特徴とするデータ処理と誤り検出訂正の
方法。
5. A method in an apparatus for selectively performing error detection / correction or non-error detection / correction on read data, comprising a plurality of preset fixed data amounts in substantially one storage means. Reading data by selectively specifying a storage area for performing error detection and correction and a storage area for not performing error detection and correction; and reading out error detection and correction data stored in association with the stored data And a step of performing error correction on the read data based on the read data for error detection and correction, and a method of data processing and error detection and correction.
【請求項6】 前記予め設定された複数の固定データ量
の誤り検出訂正を行う記憶領域と誤り検出訂正を行わな
い記憶領域に対する選択的な指定として、 記憶領域ごとに予め付与された実質的に一つの情報によ
って指定すること特徴とする請求項4又は請求項5に記
載のデータ処理と誤り検出訂正の方法。
6. As a selective designation for a storage area that performs error detection and correction of a plurality of preset fixed data amounts and a storage area that does not perform error detection and correction, the storage area is substantially assigned in advance for each storage area. 6. The method of data processing and error detection and correction according to claim 4 or 5, wherein the method is specified by one piece of information.
【請求項7】 前記工程の終了を通知する工程を、さら
に有することを特徴とする請求項1から6のいずれか1
項に記載のデータ処理と誤り検出訂正の方法。
7. The method according to claim 1, further comprising a step of notifying the end of the step.
Method of data processing and error detection and correction described in paragraph.
【請求項8】 入力データの書き込みのみと、この書き
込まれたデータに対する誤り検出訂正用データの生成と
を選択的に行うデータ処理誤り検出訂正システムにあっ
て、 書き込みのためのデータを出力し、かつ、読み出しデー
タを受け取り、この書き込み又は読み出しを指示する制
御装置と、 実質的に一つで構成され、複数の任意データ量の誤り検
出訂正を行う記憶領域と誤り検出訂正を行わない記憶領
域を有する記憶装置と、 前記制御装置の指示に基づいて、前記記憶装置に対し、
次の(a)(b)の一方又は両方を行なう書き込み又は
読み出し(W/R)誤り検出訂正装置と、 を備えることを特徴とするデータ処理誤り検出訂正シス
テム。(a)複数の任意データ量の誤り検出訂正を行う
記憶領域と誤り検出訂正を行わない記憶領域に対し、選
択的に指定して前記制御装置からの書き込みのためのデ
ータである入力データを書き込み、かつ、読み出したデ
ータと前記入力データとから生成した誤り検出訂正用デ
ータを、前記書き込まれたデータと対応付けて前記誤り
検出訂正を行う記憶領域を確保する指定を行って記憶す
る。(b)複数の任意固定データ量の誤り検出訂正を行
う記憶領域と誤り検出訂正を行わない記憶領域に対し選
択的に指定して、記憶されているデータ及び、このデー
タに対応付けて記憶されている誤り検出訂正用データを
読み出して誤り訂正する。
8. A data processing error detection and correction system that selectively writes only input data and generates error detection and correction data for the written data, and outputs data for writing, In addition, a control device that receives read data and instructs writing or reading, and a storage area that is substantially composed of one and that performs error detection and correction of a plurality of arbitrary data amounts and a storage area that does not perform error detection and correction are provided. A storage device having, and based on an instruction from the control device, with respect to the storage device,
A data processing error detection and correction system comprising: a write or read (W / R) error detection and correction device that performs one or both of the following (a) and (b): (A) Input data, which is data for writing from the control device, is selectively designated and written into a storage area in which a plurality of arbitrary data amounts are subjected to error detection / correction and a storage area in which error detection / correction is not performed. Further, the error detection / correction data generated from the read data and the input data is stored in association with the written data by designating a storage area for performing the error detection / correction. (B) A plurality of arbitrary fixed data amounts are selectively designated for a storage area in which error detection and correction are performed and a storage area in which error detection and correction is not performed, and stored data and stored in association with this data The error detection / correction data that has been read is read out and the error is corrected.
【請求項9】 入力データの書き込みのみと、この書き
込まれたデータに対する誤り検出訂正用データの生成を
選択的に行うデータ処理誤り検出訂正システムにあっ
て、 書き込みのためのデータを出力し、かつ、読み出しデー
タを受け取り、この書き込み又は読み出しを指示する制
御装置と、 複数の固定データ量の誤り検出訂正を行う記憶領域と、
誤り検出訂正を行わない記憶領域とを有する実質的に一
つの記憶装置と、 前記制御装置の指示に基づいて、前記記憶装置に対し、
次の(a)(b)の一方又は両方を行なう書き込み又は
読み出し(W/R)誤り検出訂正装置と、 を備えることを特徴とするデータ処理誤り検出訂正シス
テム。(a)前記記憶装置における、予め設定された複
数の固定データ量の誤り検出訂正を行う記憶領域と誤り
検出訂正を行わない記憶領域に対する選択的な指定によ
って前記制御装置からの書き込みのためのデータである
入力データを書き込み、この書き込まれたデータを前記
記憶領域を指定して読み出し、この読み出しが、前記誤
り検出訂正を行う記憶領域からの場合のデータと前記入
力データとから誤り検出訂正用データを生成して、前記
誤り検出訂正を行う記憶領域から読み出したデータに対
応付け、かつ、前記誤り検出訂正を行う記憶領域に記憶
する。(b)前記記憶装置における、予め設定された複
数の固定データ量の誤り検出訂正を行う記憶領域と誤り
検出訂正を行わない記憶領域に対する選択的な指定によ
って、データ、及びこのデータに対応付けて記憶されて
いる誤り検出訂正用データを読み出し、前記読み出した
データを、前記読み出した誤り検出訂正用データに基づ
いて誤り訂正する。
9. A data processing error detection and correction system which selectively writes only input data and selectively generates error detection and correction data for the written data, and outputs data for writing, and A controller for receiving read data and instructing the writing or reading, and a storage area for performing error detection and correction of a plurality of fixed data amounts,
Substantially one storage device having a storage area that does not perform error detection and correction, based on an instruction of the control device, to the storage device,
A data processing error detection and correction system comprising: a write or read (W / R) error detection and correction device that performs one or both of the following (a) and (b): (A) Data to be written from the control device by selectively designating a plurality of preset fixed data amounts in the storage device that perform error detection and correction and storage regions that do not perform error detection and correction The input data is written, the written data is read by designating the storage area, and the data is read from the storage area where the error detection and correction is performed and the input data is used for error detection and correction. Is generated, is associated with the data read from the storage area for performing the error detection and correction, and is stored in the storage area for performing the error detection and correction. (B) In the storage device, the data and the data are associated with each other by selectively designating a storage area that performs error detection and correction of a plurality of preset fixed data amounts and a storage area that does not perform error detection and correction. The stored error detection / correction data is read, and the read data is error-corrected based on the read error detection / correction data.
【請求項10】 前記W/R誤り検出訂正装置に、 前記記憶装置における、複数の任意データ量の誤り検出
訂正を行う記憶領域と誤り検出訂正を行わない記憶領域
と、かつ、誤り検出訂正を行う記憶領域におけるデータ
域と誤り検出訂正用データ域とを個別的に指定するため
の記憶領域の始まりと終わりの数値を含む情報を記憶す
る複数の記憶手段と、 前記複数の記憶手段それぞれからの情報と制御装置から
の指示とを比較して、前記個別的な指定がいずれの記憶
領域であるかを示し、かつ、このデータ量を判別した比
較結果信号を出力する複数の比較手段と、 を備えることを特徴とする請求項8記載のデータ処理誤
り検出訂正システム。
10. The W / R error detection / correction device is provided with a storage area in the storage device that performs error detection / correction of a plurality of arbitrary data amounts, a storage area that does not perform error detection / correction, and error detection / correction. A plurality of storage means for storing information including numerical values at the beginning and end of the storage area for individually specifying the data area and the error detection and correction data area in the storage area to be performed; A plurality of comparing means for comparing the information and the instruction from the control device to indicate which storage area the individual designation is, and outputting a comparison result signal for discriminating the data amount; The data processing error detection and correction system according to claim 8, further comprising:
【請求項11】 前記W/R誤り検出訂正装置に、 複数の固定データ量の誤り検出訂正を行う記憶領域と誤
り検出訂正を行わない記憶領域と、かつ、誤り検出訂正
を行う記憶領域におけるデータ域と誤り検出訂正用デー
タ域ごとに予め付与された実質的に一つの情報を記憶し
た一つの記憶手段と、 前記記憶手段からの情報と制御装置からの指示とを比較
して、前記個別的な指定がいずれの記憶領域であるかを
判別した比較結果信号を出力する一つの比較手段と、 を備えることを特徴とする請求項9記載のデータ処理誤
り検出訂正システム。
11. The W / R error detection / correction device includes a storage area for performing error detection / correction of a plurality of fixed data amounts, a storage area for not performing error detection / correction, and data in a storage area for performing error detection / correction. Area and error detection / correction data area, one storage means for storing substantially one information given in advance, and the information from the storage means and the instruction from the control device are compared, and the individual 10. The data processing error detection and correction system according to claim 9, further comprising: one comparison unit that outputs a comparison result signal that determines which storage area is specified.
【請求項12】 前記制御装置と、記憶装置と、W/R
誤り検出訂正装置との間がバスラインで接続される構成
であることを特徴とする請求項8又は請求項9記載のデ
ータ処理誤り検出訂正システム。
12. The control device, a storage device, and a W / R
10. The data processing error detection and correction system according to claim 8 or 9, wherein a bus line is connected to the error detection and correction device.
【請求項13】 前記記憶装置とW/R誤り検出訂正装
置との間を、有線区間又は無線区間で回線接続する通信
手段を、前記記憶装置及びW/R誤り検出訂正装置に備
えることを特徴とする請求項8又は請求項9記載のデー
タ処理誤り検出訂正システム。
13. The storage device and the W / R error detection / correction device are provided with communication means for connecting a line between the storage device and the W / R error detection / correction device in a wired section or a wireless section. The data processing error detection and correction system according to claim 8 or 9.
【請求項14】 (a)前記制御装置とW/R誤り検出
訂正装置、(b)W/R誤り検出訂正装置と記憶装置に
おいて、この(a)(b)の一方又は両方の間がローカ
ルエリアネットワークを含む伝送手段で構成され、か
つ、 前記制御装置が、前記伝送手段における通信制御装置で
あることを特徴とする請求項8又は請求項9記載のデー
タ処理誤り検出訂正システム。
14. In (a) the control device and the W / R error detection / correction device, and (b) in the W / R error detection / correction device and the storage device, one or both of the (a) and (b) is local. 10. The data processing error detection and correction system according to claim 8 or 9, wherein the data processing error detection and correction system comprises a transmission unit including an area network, and the control unit is a communication control unit in the transmission unit.
【請求項15】 前記記憶装置が、 半導体記憶素子又は、情報記録媒体を有する装置である
ことを特徴とする請求項8又は請求項9記載のデータ処
理誤り検出訂正システム。
15. The data processing error detection and correction system according to claim 8, wherein the storage device is a device having a semiconductor storage element or an information recording medium.
【請求項16】 下記(a)(b)の一方又は両方をコ
ンピュータに実行させるためのプログラム。 (a)複数の任意データ量の誤り検出訂正を行う記憶領
域と誤り検出訂正を行わない記憶領域に対し選択的に指
定する手順と、 この指定された記憶領域に入力データを書き込む手順
と、 書き込まれたデータを読み出す手順と、 この読み出したデータと前記入力データとから生成した
誤り検出訂正用データを、前記書き込まれたデータと対
応付け、かつ、前記誤り検出訂正を行う記憶領域を確保
する指定を行って記憶する手順。 (b)複数の任意固定データ量の誤り検出訂正を行う記
憶領域と誤り検出訂正を行わない記憶領域に対し選択的
に指定する手順と、 この指定で、記憶されているデータ及び、このデータに
対応付けて記憶されている誤り検出訂正用データを読み
出す手順と、 読み出したデータを誤り検出訂正用データに基づいて誤
り訂正を行う手順。
16. A program for causing a computer to execute one or both of the following (a) and (b). (A) A procedure for selectively designating a storage area in which a plurality of arbitrary data amounts are subjected to error detection / correction and a storage area in which no error detection / correction is performed, and a procedure for writing input data in the designated storage area, A procedure for reading the read data, and specifying the data for error detection and correction generated from the read data and the input data to be associated with the written data and to secure a storage area for performing the error detection and correction. Procedure to go and memorize. (B) A procedure of selectively designating a storage area in which a plurality of arbitrary fixed data amounts are subjected to error detection / correction and a storage area in which no error detection / correction is performed, and by this designation, the stored data and the data A procedure for reading the error detection and correction data stored in association with each other, and a procedure for performing error correction on the read data based on the error detection and correction data.
【請求項17】 下記(a)(b)の一方又は両方をコ
ンピュータに実行させるためのプログラム。 (a)予め設定された複数の固定データ量の誤り検出訂
正を行う記憶領域と誤り検出訂正を行わない記憶領域に
対する選択的な指定を行なう手順と、 この指定による記憶領域に入力データを書き込む手順
と、 この書き込まれたデータを前記記憶領域を指定して読み
出す手順と、 この読み出が前記誤り検出訂正を行う記憶領域からの場
合のデータと前記入力データとから誤り検出訂正用デー
タを生成する手順と、 この生成した誤り検出訂正用データを、前記誤り検出訂
正を行う記憶領域から読み出したデータに対応付け、か
つ、前記誤り検出訂正を行う記憶領域に記憶する手順。 (b)予め設定された複数の固定データ量の誤り検出訂
正を行う記憶領域と誤り検出訂正を行わない記憶領域の
選択的な指定を行なう手順と、 この指定によるデータ、及びこのデータに対応付けて記
憶されている誤り検出訂正用データを読み出す手順と、 前記読み出したデータを、前記読み出した誤り検出訂正
用データに基づいて誤り訂正する手順。
17. A program for causing a computer to execute one or both of the following (a) and (b): (A) A procedure for selectively designating a storage area for error detection and correction of a plurality of preset fixed data amounts and a storage area for which error detection and correction is not performed, and a procedure for writing input data to the storage area by this designation And a procedure of reading the written data by designating the storage area, and generating error detection and correction data from the input data and the data when the reading is from the storage area for performing the error detection and correction. A procedure and a procedure of associating the generated error detection and correction data with the data read from the storage area for performing the error detection and correction, and storing the data in the storage area for performing the error detection and correction. (B) A procedure for selectively designating a storage area in which a plurality of preset fixed data amounts are subjected to error detection / correction and a storage area in which error detection / correction is not performed, data by this designation, and correspondence with this data And a procedure for reading the stored error detection and correction data and correcting the read data based on the read error detection and correction data.
JP2002119649A 2002-04-22 2002-04-22 Method, system and program for data processing and for error detection and correction Withdrawn JP2003316663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002119649A JP2003316663A (en) 2002-04-22 2002-04-22 Method, system and program for data processing and for error detection and correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002119649A JP2003316663A (en) 2002-04-22 2002-04-22 Method, system and program for data processing and for error detection and correction

Publications (1)

Publication Number Publication Date
JP2003316663A true JP2003316663A (en) 2003-11-07

Family

ID=29536150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002119649A Withdrawn JP2003316663A (en) 2002-04-22 2002-04-22 Method, system and program for data processing and for error detection and correction

Country Status (1)

Country Link
JP (1) JP2003316663A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8235466B2 (en) 2005-11-16 2012-08-07 Toyota Jidosha Kabushiki Kaisha Seat structure and vehicle
WO2024069880A1 (en) * 2022-09-29 2024-04-04 ファナック株式会社 Mobile operation device, machine system, and memory control program for mobile operation device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8235466B2 (en) 2005-11-16 2012-08-07 Toyota Jidosha Kabushiki Kaisha Seat structure and vehicle
US8608242B2 (en) 2005-11-16 2013-12-17 Toyota Jidosha Kabushiki Kaisha Seat structure and vehicle
US8616624B2 (en) 2005-11-16 2013-12-31 Toyota Jidosha Kabushiki Kaisha Seat structure and vehicle
WO2024069880A1 (en) * 2022-09-29 2024-04-04 ファナック株式会社 Mobile operation device, machine system, and memory control program for mobile operation device

Similar Documents

Publication Publication Date Title
US20040120173A1 (en) Error detection and correction in a CAM
JP2000148704A (en) Memory fault processing method of cluster computer and cluster computer
JP4820095B2 (en) Method and system for programming a hypertransport routing table in a multiprocessor system
CN115129519A (en) Method and system for realizing multiple write operations of chip with efuse structure and SOC (system on chip)
JP2003316663A (en) Method, system and program for data processing and for error detection and correction
JPH0237600A (en) Testing of read-only-memory and device for executing the same
US5469451A (en) Error detection and correction of a semiconductor memory device
JPH07200419A (en) Bus interface device
US20030135702A1 (en) Microcomputer for accessing a replacing block area preset in a nonvolatile memory in place of a replaced block area accessed in the nonvolatile memory
JPH04115340A (en) Duplex storage circuit
US7831797B2 (en) Memory system and method for transferring data therein
JP3482999B2 (en) Memory chip degeneration control device
KR100329642B1 (en) Error Correcting Method of Call Process Processor in the Mobile Communication System
JP2004126911A (en) Control unit
JPH06230990A (en) Method and apparatus for discrimination and correction of error of code
JP3232301B2 (en) Data processing device
JP2858816B2 (en) Initial setting method of EEPROM
JP2600021B2 (en) Time slot indication check processing method
JPH0863406A (en) Memory access controller
US6904487B2 (en) Apparatus and method for generating distributed traffic
JPH04336643A (en) Information processor
JPH0588992A (en) Memory control system
JPH05158809A (en) Automatic memory error correcting and writing system
JPS61110247A (en) Storage device
JPS6142304B2 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050705