JPH02307117A - Storage controller - Google Patents

Storage controller

Info

Publication number
JPH02307117A
JPH02307117A JP1129109A JP12910989A JPH02307117A JP H02307117 A JPH02307117 A JP H02307117A JP 1129109 A JP1129109 A JP 1129109A JP 12910989 A JP12910989 A JP 12910989A JP H02307117 A JPH02307117 A JP H02307117A
Authority
JP
Japan
Prior art keywords
data
circuit
updated
error
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1129109A
Other languages
Japanese (ja)
Other versions
JPH0833803B2 (en
Inventor
Toshiaki Takagi
敏彰 高木
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

Abstract

PURPOSE:To update the partial data contained in the physical record without correcting the data error produced in the logical record which is updated when the data is read out of a storage medium by updating the record within a storage circuit after deciding the presence/absence of an error included in the logical record to be updated. CONSTITUTION:A microprogram control circuit 10 is prepared together with a channel adaptor circuit 20, a storage circuit 30, an error position detecting circuit 40, and a device adaptor circuit 50. Then the partial data of the physical record including a data error in the physical record to be updated on a recording medium is updated when the updated data stored in the circuit 30 is written again to the recording medium. As a result, the partial data included in the physical record can be updated without correcting the read error produced in the logical record to be updated.

Description

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

〔従来の技術〕[Conventional technology]

従来、記録媒体上の物理レコード内の一部のデータを更
新することを可能にした記憶制御装置は存在していた。
Conventionally, there have been storage control devices that make it possible to update some data in a physical record on a recording medium.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、従来の記憶制御装置においては物理レコ
ードの読取り時に更新すべき論理レコード内においてデ
ータ誤りが発生すると、誤りを訂正しなければ物理レコ
ード内の一部のデータを更新することができないという
欠点があった。
However, in conventional storage control devices, if a data error occurs in a logical record that should be updated when reading a physical record, some data in the physical record cannot be updated unless the error is corrected. there were.

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

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

すなわち本発明は、記録媒体から読取ったデータを一時
的に記憶する記憶回路と、記録媒体とから読取り時に記
憶回路内に格納されているデータの更新すべき論理レコ
ード内に誤りが含まれているか否かを判定するための誤
り位置検出回路と、記憶回路内のデータの一部をチャネ
ルから転送されたデータで更新するチャネルアダプタ回
路とを含み、更新された記憶回路内のデータを再び記録
媒体上に書戻すことにより記録媒体上の更新すべき論理
レコード内にデータ誤りを含む物理レコードの一部のデ
ータを更新することを特徴とする。
In other words, the present invention provides a memory circuit that temporarily stores data read from a recording medium, and a memory circuit that temporarily stores data read from a recording medium, and detects whether an error is included in a logical record to be updated of data stored in the memory circuit when reading from the recording medium. an error position detection circuit for determining whether the The method is characterized in that a portion of data in a physical record containing a data error in the logical record to be updated on the recording medium is updated by writing back.

〔実施例〕〔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 in block form one 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, which temporarily stores data read from a recording medium or data transferred from a channel. A channel adapter circuit 20 that transfers data to and from the channel and loads the data into the storage circuit 30. A device adapter circuit 50 that transfers data to and from a recording medium (device), reads data into the storage circuit 30, and takes out data in the storage circuit 30 and transfers it to the device. It is comprised of an error position detection circuit 40 that detects a data error when reading data from a recording medium and creates error position information.

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

誤り位置検出回路40は記録媒体から読取ったデータに
誤りがあることを検出すると、信号線140を通してマ
イクロプログラム制御回路10に通知すると共に誤り位
置情報を作成する。マイクロプログラム制御回路10は
誤り位置検出回路40でデータ誤りが検出されたことを
知ると信号線140を通して誤り位置検出回路40から
誤り位置情報を受取り、コマンドより指定された更新す
べき論理レコード内に誤りがあるか否かを判定し、更新
すべき論理レコード内に誤りがある場合には、記憶回路
30内のデータを更新するためのマイクロ命令を実行し
、信号線120を通してチャネルアダプタ回路20を起
動する。チャネルアダプタ回路20はチャネルから更新
すべきデータを受取り信号線230を通して記憶回路3
0内のデータの更新すべき論理レコード部を更新する。
When the error position detection circuit 40 detects that there is an error in the data read from the recording medium, it notifies the microprogram control circuit 10 through the signal line 140 and creates error position information. When the microprogram control circuit 10 learns that a data error has been detected by the error position detection circuit 40, it receives the error position information from the error position detection circuit 40 through the signal line 140, and updates the data in the logical record specified by the command to be updated. It is determined whether there is an error or not, and if there is an error in the logical record to be updated, a microinstruction for updating the data in the storage circuit 30 is executed, and the channel adapter circuit 20 is sent through the signal line 120. to start. The channel adapter circuit 20 receives data to be updated from the channel and sends it to the storage circuit 3 through a signal line 230.
Update the logical record part of the data in 0 to be updated.

データ更新が終了するとマイクロプログラム制御回路l
Oは再び記録媒体上に書戻すマイクロ命令を実行し、信
号線150を通してデバイスアダプタ回路50を起動し
デバイスコマンドを送る。デバイスアダプタ回路50は
受取ったデバイスコマンドを信号線500を通してデバ
イスに送り、信号線350を通して記憶回路30から前
記更新したデータを読出し、信号線500を通してデバ
イスに送り記録媒体上に書戻すことにより読取り時にデ
ータ誤りが発生したとき更新する論理レコード内にデー
タ誤りがある場合、物理レコード内の一部の論理レコー
ドの更新が可能となる。
When the data update is completed, the microprogram control circuit l
O executes the microinstruction to write back onto the recording medium again, 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 it to the device through the signal line 500, and writes it back onto the recording medium. If there is a data error in the logical record that is updated when a data error occurs, it is possible to update some of the logical records in the physical record.

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

〔発明の効果〕〔Effect of the invention〕

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

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

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

Claims (1)

【特許請求の範囲】[Claims] 記録媒体から読取ったデータを一時的に記憶する記憶回
路と、記録媒体から読取り時に該記憶回路内に格納され
ているデータの更新すべき論理レコード内に誤りが含ま
れているか否かを判定するための誤り位置検出回路と、
前記記憶回路内のデータの一部をチャネルから転送され
たデータで更新するチャネルアダプタ回路とを含み、更
新された前記記憶回路内のデータを再び記録媒体上に書
き戻すことにより記録媒体上の更新すべき論理レコード
内にデータ誤りを含む物理レコードの一部のデータを更
新することを特徴とする記憶制御装置。
A storage circuit that temporarily stores data read from a recording medium and a logical record to be updated of data stored in the storage circuit when reading from the recording medium to determine whether an error is included. an error position detection circuit for
a channel adapter circuit that updates part of the data in the storage circuit with data transferred from the channel, and updates the data on the recording medium by writing the updated data in the storage circuit back onto the recording medium. 1. A storage control device that updates part of data in a physical record that includes a data error in a logical record.
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 true JPH02307117A (en) 1990-12-20
JPH0833803B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6727306B2 (en) 2000-12-15 2004-04-27 Wellman, Inc. Polymer resins having reduced frictional properties

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6727306B2 (en) 2000-12-15 2004-04-27 Wellman, Inc. Polymer resins having reduced frictional properties

Also Published As

Publication number Publication date
JPH0833803B2 (en) 1996-03-29

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
JPH01231150A (en) Method and device for controlling backup data dump
JPH02307117A (en) Storage controller
JP3264528B2 (en) Information replacement processing method for write-protected information recording medium
JPH0793101A (en) Data backup device
JPH05181613A (en) Information processor
JPS6161273A (en) Control system of memory device
JP2684717B2 (en) Disk controller bad track control method
JPH02304618A (en) Storage controller
JPH06124174A (en) Defective magnetic disk substitution system
JP2604360B2 (en) Magnetic disk controller
JPH04102274A (en) Control system for magnetic memory
JPS5928247A (en) Optical disk processor
JPS6180564A (en) Alternate track write control circuit
JPH0117172B2 (en)
JPH10133867A (en) Data reproducing device and data recording medium
JPS61283074A (en) Optical system information device
JPH04361320A (en) Computer system
JPH0191375A (en) Magnetic disk controller
JPH0236414A (en) Magnetic disk device
JPH01122073A (en) Control system for magnetic disk device
JPH02312068A (en) Recording control method
JPH01158677A (en) Writing error judgement method
JPS61226855A (en) Defect processing system for information recording medium
JPH02161515A (en) Magnetic disk device

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