JPH0833803B2 - Storage controller - Google Patents

Storage controller

Info

Publication number
JPH0833803B2
JPH0833803B2 JP1129109A JP12910989A JPH0833803B2 JP H0833803 B2 JPH0833803 B2 JP H0833803B2 JP 1129109 A JP1129109 A JP 1129109A JP 12910989 A JP12910989 A JP 12910989A JP H0833803 B2 JPH0833803 B2 JP H0833803B2
Authority
JP
Japan
Prior art keywords
data
circuit
error
updated
recording medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1129109A
Other languages
Japanese (ja)
Other versions
JPH02307117A (en
Inventor
敏彰 高木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1129109A priority Critical patent/JPH0833803B2/en
Publication of JPH02307117A publication Critical patent/JPH02307117A/en
Publication of JPH0833803B2 publication Critical patent/JPH0833803B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は記憶制御装置に関する。The present invention relates to a storage control device.

〔従来の技術〕[Conventional technology]

従来、記録媒体上の物理レコード内の一部のデータを
更新することを可能にした記憶制御装置は存在してい
た。
Conventionally, there has been a storage control device capable of updating a part of data in a physical record on a recording medium.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

しかしながら、従来の記憶制御装置においては、複数
の論理レコードから構成される物理レコードの読取り時
に、更新すべき論理レコード内においてデータ誤りが発
生すると、どの論理レコード内に誤りがあるのか位置確
認ができないため、それが更新すべきデータであるか否
かにかかわらず、その誤りを訂正していた。そのため、
必要なデータの更新処理が遅れるという欠点があった。
However, in the conventional storage control device, when a data error occurs in a logical record to be updated when reading a physical record composed of a plurality of logical records, it is impossible to confirm which logical record contains the error. Therefore, the error was corrected regardless of whether or not it was the data to be updated. for that reason,
There was a drawback that the necessary data update processing was delayed.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は、記録媒体から読取ったデータを一時的に記
憶回路に格納し、誤り位置検出回路で誤りの位置を検出
し、誤りが更新すべき論理レコード内に存在するとき
は、チャネルアダプタ回路により記憶回路内のデータの
一部をチャネルから転送されたデータで更新した後、再
び記憶回路内のデータを記録媒体に書戻すことにより上
記欠点を解決し、更新すべき論理レコード内に読取り誤
りが検出された場合誤りを訂正することなく物理レコー
ド内の一部のデータを更新することができるようにした
装置を提供するものである。
According to the present invention, data read from a recording medium is temporarily stored in a storage circuit, an error position detection circuit detects an error position, and when an error exists in a logical record to be updated, a channel adapter circuit is used. The above drawbacks are solved by updating a part of the data in the memory circuit with the data transferred from the channel and then writing the data in the memory circuit back to the recording medium, and a read error occurs in the logical record to be updated. It is an object of the present invention to provide an apparatus capable of updating some data in a physical record without correcting an error when detected.

すなわち本発明は、記録媒体から読取ったデータを一
時的に記憶する記憶回路と、記録媒体とから読取り時に
記憶回路内に格納されているデータの誤りを検出すると
誤り位置情報を作成する誤り位置検出回路と、誤り位置
情報によりデータの誤りが更新すべき論理レコード内の
データ誤りであるときは更新命令を出す制御回路と、こ
の制御回路から更新命令を受け誤り位置情報を基に記憶
回路内のデータの該当箇所をチャネルから転送されたデ
ータで更新するチャネルアダプタ回路とを含み、更新さ
れた記憶回路内のデータを再び記録媒体上に書戻すこと
により、記録媒体上の更新すべき論理レコード内にデー
タ誤りを含む物理レコードの一部のデータを更新するこ
とを特徴とする。
That is, the present invention is directed to a storage circuit that temporarily stores data read from a recording medium, and an error position detection device that creates error position information when an error in the data stored in the storage circuit is detected during reading from the recording medium. A circuit, a control circuit that issues an update command when the data error is a data error in the logical record to be updated by the error position information, and a update circuit that receives the update command from this control circuit In a logical record to be updated on the recording medium by writing back the data in the updated storage circuit to the recording medium again, including a channel adapter circuit that updates the corresponding portion of the data with the data transferred from the channel. It is characterized in that a part of the data of the physical record including the data error is updated.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例をブロック的に示した回
路図である。第1図を参照すると、本発明の記憶制御装
置は、マイクロプログラム制御回路10,記録媒体より読
取ったデータ又はチャネルから転送されたデータを一時
的に格納する記憶回路30,チャネルとの間でデータ転送
を行ない該記憶回路30にデータを取込むチャネルアダプ
タ回路20,記録媒体(デバイス)との間でデータ転送を
行ない前記記憶回路30にデータを取込み、かつ記憶回路
30内のデータを取出しデバイスに転送するデバイスアダ
プタ回路50,記録媒体からデータ読取り時にデータ誤り
があることを検出し、誤り位置情報を作成する誤り位置
検出回路40から構成される。
FIG. 1 is a circuit diagram showing a block diagram of an embodiment of the present invention. Referring to FIG. 1, the storage control device of the present invention includes a microprogram control circuit 10, a storage circuit 30 for temporarily storing data read from a recording medium or data transferred from a channel, and data to and from the channel. Channel adapter circuit 20 for transferring data into the memory circuit 30 and transferring data between the recording medium (device) and transferring data into the memory circuit 30 and storing circuit
It is composed of a device adapter circuit 50 for taking out the data in 30 and transferring it to a device, and an error position detecting circuit 40 for detecting the presence of a data error when reading the data from the recording medium and creating error position information.

次に、上記実施例の構成要素の作用及び動作について
具体的に説明する。マイクロプログラム制御回路10は、
複数個の論理レコードから構成される1つの物理レコー
ドに対して1つの誤り検出訂正コードが付加されて記録
されている物理レコード内の一部の論理レコードを更新
するコマンドを受取ると、コマンドにより指定された物
理レコードを記録媒体から読取るマイクロ命令を実行
し、信号線150を通してデバイスアダプタ回路50を起動
し、デバイスコマンドを送出する。デバイスアダプタ回
路50は、受取ったデバイスコマンドを信号線500を通し
てデバイスに対して出し、デバイスから転送されてきた
データを信号線350を通して記憶回路30に格納し、同時
に信号線450を通して誤り位置検出回路40に送る。
Next, the operation and operation of the constituent elements of the above embodiment will be specifically described. The micro program control circuit 10
When a command to update a part of logical records in a physical record recorded by adding one error detection and correction code to one physical record composed of a plurality of logical records is specified by the command A microinstruction for reading the generated physical record from the recording medium is executed, the device adapter circuit 50 is activated through the signal line 150, and the device command is sent. The device adapter circuit 50 outputs the received device command to the device through the signal line 500, stores the data transferred from the device in the memory circuit 30 through the signal line 350, and at the same time, the error position detection circuit 40 through the signal line 450. Send to.

このとき、誤り位置検出回路40は、記録媒体から読取
ったデータに誤りがあることを検出すると、信号線140
を通してマイクロプログラム制御回路10に通知すると共
に誤り位置情報を作成する。マイクロプログラム制御回
路10は、誤り位置検出回路40でデータ誤りが検出された
ことを知ると、信号線140を通して誤り位置検出回路40
から誤り位置情報を受取り、コマンドより指定された更
新すべき論理レコード内に誤りがあるか否かを判定す
る。そして、更新すべき論理レコード内に誤りがある場
合には、記憶回路30内のデータを更新するためのマイク
ロ命令を実行し、信号線120を通してチャネルアダプタ
回路20を起動する。チャネルアダプタ回路20は、チャネ
ルから信号線200を通して更新すべきデータを受取り、
さらに信号線230を通して記憶回路30内のデータの更新
すべき論理レコード部を更新する。データ更新が終了す
ると、マイクロプログラム制御回路10は再び記録媒体上
に書戻すマイクロ命令を実行し、信号線150を通してデ
バイスアダプタ回路50を起動しデバイスコマンドを送
る。デバイスアダプタ回路50は、受取ったデバイスコマ
ンドを信号線500を通してデバイスに送り、信号線350を
通して記憶回路30から前記更新したデータを読出し、信
号線500を通してデバイスに送り記録媒体上に書戻す。
これにより、読取り時にデータ誤りが発生したときに更
新する論理レコード内にデータ誤りがある場合、物理レ
コード内の一部の論理レコードの更新が可能となる。
At this time, when the error position detection circuit 40 detects that the data read from the recording medium has an error, the error line detection circuit 40 outputs the signal line 140
The error position information is created while notifying the micro program control circuit 10 through. When the micro-program control circuit 10 knows that the error position detection circuit 40 has detected a data error, the micro-program control circuit 10 sends the error position detection circuit 40 through the signal line 140.
The error position information is received from and it is determined whether there is an error in the logical record to be updated specified by the command. Then, when there is an error in the logical record to be updated, the microinstruction for updating the data in the memory circuit 30 is executed, and the channel adapter circuit 20 is activated through the signal line 120. The channel adapter circuit 20 receives the data to be updated from the channel through the signal line 200,
Further, the logical record portion of the data in the memory circuit 30 to be updated is updated through the signal line 230. When the data update is completed, the micro program control circuit 10 again executes a micro instruction to write back on the recording medium, activates the device adapter circuit 50 through the signal line 150, and sends a device command. The device adapter circuit 50 sends the received device command to the device through the signal line 500, reads the updated data from the storage circuit 30 through the signal line 350, sends the updated data to the device through the signal line 500, and writes it back on the recording medium.
Thus, when there is a data error in the logical record that is updated when a data error occurs during reading, some of the logical records in the physical record can be updated.

第2図は、他の実施例を示す回路図であって、データ
読取り時に誤りが検出されると訂正情報を作成する誤り
訂正回路60を第1図の回路に付加したものである。誤り
訂正回路60を付加することにより更新すべき論理レコー
ド外に誤りが存在するとき、訂正可能なデータ誤りの場
合には、誤りを訂正した後で更新すべき論理レコード部
を更新し、記録媒体上に書戻すことにより、更新する論
理レコード外でも訂正可能なデータ誤りが発生した場合
には、物理レコード内の一部の論理レコードの更新が可
能となる。
FIG. 2 is a circuit diagram showing another embodiment, in which an error correction circuit 60 which creates correction information when an error is detected during data reading is added to the circuit of FIG. When an error exists outside the logical record to be updated by adding the error correction circuit 60, in the case of a correctable data error, the logical record section to be updated is updated after the error is corrected, and the recording medium By writing back to the above, if a data error that can be corrected occurs even outside the logical record to be updated, some of the logical records in the physical record can be updated.

〔発明の効果〕〔The invention's effect〕

本発明は以上説明したように、更新すべき論理レコー
ド内に誤りがあるか否かを判定し、記憶回路内で更新す
るように構成することにより、記録媒体からデータ読取
り時に更新すべき論理レコード内にデータ誤りが発生し
たときは、更新しない論理レコードに関しては、その誤
りを訂正することなく更新できるという効果がある。
As described above, according to the present invention, it is determined whether or not there is an error in the logical record to be updated, and by updating in the memory circuit, the logical record to be updated when reading data from the recording medium. When a data error occurs within the logical record, the logical record that is not updated can be updated without correcting the error.

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

第1図は本発明の一実施例をブロック的に示した回路
図、第2図は本発明の他の実施例を示す回路図である。 10……マイクロプログラム制御回路、20……チャネルア
ダプタ回路、30……記憶回路、40……誤り位置検出回
路、50……デバイスアダプタ回路、60……語り訂正回
路。
FIG. 1 is a circuit diagram showing a block diagram of an embodiment of the present invention, and FIG. 2 is a circuit diagram showing another embodiment of the present invention. 10: Micro program control circuit, 20: Channel adapter circuit, 30: Memory circuit, 40: Error position detection circuit, 50: Device adapter circuit, 60: Narrative correction circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】記録媒体上の更新すべき論理レコード内に
データ誤りを含む物理レコードの一部のデータを更新す
る記憶制御装置であって、 前記記録媒体から読取ったデータを一時的に記憶する記
憶回路と、前記記録媒体から読取り時に前記記憶回路内
に格納されるデータの誤りを検出すると誤り位置情報を
作成する誤り位置検出回路と、前記誤り位置情報により
前記データの誤りが更新すべき論理レコード内のデータ
誤りであるときは更新命令を出す制御回路と、この制御
回路から更新命令を受け前記誤り位置情報を基に前記記
憶回路内のデータの該当箇所をチャネルから転送された
データで更新するチャネルアダプタ回路とを含み、更新
された前記記憶回路内のデータを再び前記記録媒体上に
書き戻すようにしたことを特徴とする記憶制御装置。
1. A storage control device for updating a part of data of a physical record including a data error in a logical record to be updated on a recording medium, wherein the data read from the recording medium is temporarily stored. A storage circuit, an error position detection circuit that creates error position information when an error in the data stored in the storage circuit is detected when reading from the recording medium, and a logic for updating the error of the data by the error position information. When there is a data error in the record, a control circuit that issues an update command, and an update command from this control circuit is received, and the corresponding part of the data in the memory circuit is updated with the data transferred from the channel based on the error position information. And a channel adapter circuit for performing the storage control, and the updated data in the storage circuit is written back onto the recording medium again. apparatus.
JP1129109A 1989-05-22 1989-05-22 Storage controller Expired - Lifetime JPH0833803B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1129109A JPH0833803B2 (en) 1989-05-22 1989-05-22 Storage controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1129109A JPH0833803B2 (en) 1989-05-22 1989-05-22 Storage controller

Publications (2)

Publication Number Publication Date
JPH02307117A JPH02307117A (en) 1990-12-20
JPH0833803B2 true JPH0833803B2 (en) 1996-03-29

Family

ID=15001288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1129109A Expired - Lifetime JPH0833803B2 (en) 1989-05-22 1989-05-22 Storage controller

Country Status (1)

Country Link
JP (1) JPH0833803B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6500890B2 (en) 2000-12-15 2002-12-31 Wellman, Inc. Polyester bottle resins having reduced frictional properties and methods for making the same

Also Published As

Publication number Publication date
JPH02307117A (en) 1990-12-20

Similar Documents

Publication Publication Date Title
US6625096B1 (en) Optical disk recording and reproduction method and apparatus as well as medium on which optical disk recording and reproduction program is recorded
US4688221A (en) Error recovery method and apparatus
JPH01231150A (en) Method and device for controlling backup data dump
US4525801A (en) Disk storage controller
JP2000048496A (en) Optical disk recording/reproducing method, device and medium recording optical disk recording/reproducing program
EP0490400B1 (en) Information storage apparatus
US5774742A (en) Peripheral device using two microprocessors and two buses for automatically updating program after judging that update data is stored in a portable recording medium
US5428755A (en) Method for automatically modifying program in a flash memory of a magnetic tape unit
JPH0833803B2 (en) Storage controller
JPH04245072A (en) Disk device with data management information area on medium
JPH0782708B2 (en) Additional data writing method
JP3264528B2 (en) Information replacement processing method for write-protected information recording medium
JPS6161273A (en) Control system of memory device
JP2001160268A (en) Substitution processing method for recording medium and device
JPH05181613A (en) Information processor
JPS6050672A (en) Read control system of rotary memory
JPS5928246A (en) Optical disk processor
JPH02304618A (en) Storage controller
JP2614130B2 (en) Magnetic tape unit
JPS6113259B2 (en)
US20050015542A1 (en) Multiple write storage device
JPH06124173A (en) Disk controller
JPS6180564A (en) Alternate track write control circuit
JPS5928247A (en) Optical disk processor
JPH04102274A (en) Control system for magnetic memory

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080329

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090329

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20090329

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100329

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100329

Year of fee payment: 14