JPS63213020A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPS63213020A
JPS63213020A JP62045946A JP4594687A JPS63213020A JP S63213020 A JPS63213020 A JP S63213020A JP 62045946 A JP62045946 A JP 62045946A JP 4594687 A JP4594687 A JP 4594687A JP S63213020 A JPS63213020 A JP S63213020A
Authority
JP
Japan
Prior art keywords
data
memory
magnetic disk
circuit
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62045946A
Other languages
Japanese (ja)
Inventor
Masanori Fujimura
藤村 正典
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 JP62045946A priority Critical patent/JPS63213020A/en
Publication of JPS63213020A publication Critical patent/JPS63213020A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To reduce the load on a host device against a double writing state by providing a memory circuit to a magnetic disk device. CONSTITUTION:A disk control part 4 supplies a command via an interface part 1 to perform a writing operation to a magnetic disk 5 from a host device. Then the part 4 sets the value of an address counter in a memory circuit 2 at 0 via a memory control signal 56 and at the same time sets a memory under a writable state. Furthermore the part 4 functions to deliver the write data A52 to the write data B54 by a switch signal 55. Then the write data is delivered to the data A52 from the host device and then sent to the part 4 via a switch circuit 3. Thus this data is written into the disk 5 as well as the circuit 2.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、磁気ディスクのデータの信頼性に関し、特に
、二重帯によるデータ保障に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to the reliability of data on magnetic disks, and more particularly to data security by double banding.

従来の技術 従来、磁気ディスクに二重帯を行う場合には、上位族@
(一般的に磁気ディスク処理装置)が磁気ディスク装置
に2度書込指示を出す方法がとられており、磁気ディス
ク装置自体が1度の書込指示のみで二重帯を行う方法は
取られていなかった。
Conventional technology Conventionally, when performing double banding on a magnetic disk, the upper group @
A method is used in which the magnetic disk processing unit (generally a magnetic disk processing unit) issues a write instruction to the magnetic disk unit twice, and a method in which the magnetic disk unit itself performs double banding with only one write instruction is not used. It wasn't.

発明が解決しようとする問題点 上述した従来の磁気ディスク装置は、上位装置からの1
度の書込指示で二重帯が行われないので、上位装置が2
度書込指示を出さなければならないために上位装置の負
担が大きく、処理速度が遅くなるという欠点と、上位装
置からの書込データが遅れた場合には、通常オーバーラ
ンエラーが発生し、処理を再度実行しなければならなく
なったり、上位装置の性能面において高速性能のものが
要求されたりする欠点があった。
Problems to be Solved by the Invention The conventional magnetic disk device described above is
Since double banding is not performed by the second write instruction, the host device
The disadvantage is that the host device has to issue write instructions every time, which puts a heavy burden on the host device and slows down the processing speed.If the write data from the host device is delayed, an overrun error usually occurs and the processing The disadvantages are that the process has to be executed again, and that high-speed performance is required in terms of the performance of the host device.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記諸欠
点を解消することを可能とした新規な磁気ディスク装置
を提供することにある。
The present invention has been made in view of the above-mentioned conventional situation,
Accordingly, an object of the present invention is to provide a novel magnetic disk device that makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.

問題点を解決するための手段 上記目的を達成する為に1本発明に係る磁気ディスク装
置は、上位装置とのインタフェースを司るインタフェー
ス部と、該インタフェース部から出力されるストローブ
及びデータを入力してメモリにデータを書込む機能を持
ちかつアドレスカウンタを内蔵したメモリ回路と、該メ
モリ回路及び前記インタフェース部から出力されるそれ
ぞれのデータ及びストローブを入力しどちらか一方のデ
ータ及びストローブを出力する切換回路と、該切換回路
への切換指示を行う切換信号及び前記メモリ回路へのア
ドレス制御、読出、書込指示を行うメモリ制御信号及び
前記インタフェース部へ続出データを出力しかつ前記切
換回路から出力されるデータ、ストローブ及び前記イン
タフェース部から出力されるコマンド信号を入力し磁気
ディスクを制御するディスクコントロール部とを具備し
て構成される。
Means for Solving the Problems In order to achieve the above objects, a magnetic disk device according to the present invention includes an interface unit that controls an interface with a host device, and a strobe and data output from the interface unit. A memory circuit that has a function of writing data into memory and has a built-in address counter, and a switching circuit that inputs each data and strobe output from the memory circuit and the interface section and outputs either one of the data and strobe. and a switching signal for instructing switching to the switching circuit, a memory control signal for instructing address control, reading, and writing to the memory circuit, and successive data to be output to the interface section, and output from the switching circuit. The disk controller is configured to include data, a strobe, and a disk control section that inputs command signals output from the interface section and controls the magnetic disk.

実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第1図は本発、明の一実施例を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

第1図を参照するに、参照番号1は上位装置とのインタ
フェースを司るインタフェース部である。
Referring to FIG. 1, reference number 1 is an interface section that controls the interface with a host device.

2はインタフェース部2から出力されるデータ及びスト
ローブを入力しメモリに順次書込んでいくメモリ回路で
あり、アドレスカウンタを内蔵している。3はメモリ回
路2から出力されるデータ及びストローブと、インタフ
ェース部1から出力されるデータ及びストローブのどち
らが一方のデータ及びストローブを切換信号55の指示
によりディスクコントロール部4に出力する切換回路で
ある。
Reference numeral 2 denotes a memory circuit which inputs the data and strobe output from the interface section 2 and sequentially writes them into the memory, and has a built-in address counter. Reference numeral 3 designates a switching circuit which outputs one of the data and strobe output from the memory circuit 2 and the data and strobe output from the interface section 1 to the disk control section 4 in accordance with the instruction of the switching signal 55.

4は、インタフェース部1からのコマンド信号51の指
示にしたがい、切換回路3への切換信号55の出力、あ
るいはメモリ回路2へのメモリ制御信号56の出力、又
は磁気ディスク5がら読出した続出データ57の出力、
又は切換回路3から出力されるデータを磁気ディスク5
に書込動作を行うディスクコントロール部であり、配下
に磁気ディスク5が1スピンドル接続されている。
4 outputs a switching signal 55 to the switching circuit 3 , outputs a memory control signal 56 to the memory circuit 2 , or outputs successive data 57 read from the magnetic disk 5 in accordance with the command signal 51 from the interface section 1 . The output of
Or the data output from the switching circuit 3 is transferred to the magnetic disk 5.
This is a disk control unit that performs writing operations, and one magnetic disk 5 is connected under it by one spindle.

信号線51はインタフェース部1からディスクコントロ
ール部4へ送られるコマンド信号であり、信号線52は
インタフェース部1からメモリ回路2及び切換回路3に
送られるストローブ信号を含んだ書込みデータAであり
、信号線53はメモリ回路2から切換回路3に送られる
メモリ出力データであり、信号線54は切換回路3から
ディスクコントロール部4に送られる書込みデータBで
ある。
The signal line 51 is a command signal sent from the interface section 1 to the disk control section 4, and the signal line 52 is write data A including a strobe signal sent from the interface section 1 to the memory circuit 2 and switching circuit 3. A line 53 is memory output data sent from the memory circuit 2 to the switching circuit 3, and a signal line 54 is write data B sent from the switching circuit 3 to the disk control section 4.

また、信号線55はディスクコントロール部4から切換
回路3に出力される切換信号であり、信号線56はディ
スクコントロール部4からメモリ回路3に対してアドレ
ス設定メモリ書込許可及びメモリ読出指示制御等を行う
メモリ制御信号であり、信号線57は磁気ディスク5か
ら読出したデータをインタフェース部1に送る読出デー
タである。
Further, a signal line 55 is a switching signal outputted from the disk control unit 4 to the switching circuit 3, and a signal line 56 is a switching signal output from the disk control unit 4 to the memory circuit 3 for controlling address setting memory write permission, memory read instruction, etc. The signal line 57 is a read data signal that sends data read from the magnetic disk 5 to the interface unit 1.

次に動作について説明する。Next, the operation will be explained.

上位装置から磁気ディスク5に書込を行うというコマン
ドをインタフェース部1を通してディスクコントロール
部4が入力すると、ディスクコントロール部4は、メモ
リ制御信号56によりメモリ回路2内部のアドレスカウ
ンタの値を0に設定し、かつメモリを書込可の状態にす
る。又、ディスクコントロール部4は切換信号55によ
り書込データB54には書込データA52が出力される
ように設定する。その後上位装置より書込データがスト
ローブ信号と共にインタフェース部1を通して書込デー
タA52に出力されると、そのデータは切換回路3を通
してディスクコントロール部4に送られ、磁気ディスク
5に書込れる。と同時に、メモリ回路2にも同じデータ
が書込れる。
When the disk control unit 4 receives a command to write to the magnetic disk 5 from the host device through the interface unit 1, the disk control unit 4 sets the value of the address counter inside the memory circuit 2 to 0 using the memory control signal 56. and make the memory writable. Further, the disk control section 4 sets the write data A52 to be outputted as the write data B54 using the switching signal 55. Thereafter, when the write data is output from the host device as write data A52 through the interface section 1 along with the strobe signal, the data is sent to the disk control section 4 through the switching circuit 3 and written onto the magnetic disk 5. At the same time, the same data is written to the memory circuit 2 as well.

そして、書込動作が終了すると、ディスクコントロール
部4は、切換信号55により書込データB54にはメモ
リ出力データ53が出力されるように設定し、又、メモ
リ制御信号56によりメモリ回路2のアドレスカウンタ
を再びOに設定してメモリを6一 書込不可の状態にした後で先に書込れたデータを順にメ
モリ出力データ53に出力するように制御する。そして
順次読出したデータを磁気ディスク5に先に書込んだ位
置とは別の位置に再び書込む。
When the write operation is completed, the disk control section 4 sets the memory output data 53 to be outputted to the write data B54 using the switching signal 55, and also sets the address of the memory circuit 2 using the memory control signal 56. After setting the counter to O again and putting the memory in a write-inhibited state, control is performed so that the data written first is sequentially outputted to the memory output data 53. Then, the sequentially read data is written again on the magnetic disk 5 at a different position from the position where it was previously written.

ここで、別の位置とは特に規定はしないが、ここではデ
ータの管理上ヘッド番号が偶数のときには、直接書込む
ときの領域でその+1のヘッド番号が2度目にメモリか
ら書込むときの領域と仮に設定し説明する。
Here, there is no particular stipulation for another location, but for data management purposes, when the head number is an even number, the area for direct writing is the area where the head number +1 is the area for writing from memory for the second time. Let's temporarily set and explain.

従って、この場合には磁気ディスク2回目に書込むとき
の磁気ディスク側の制御はヘッド番号を+1するだけで
良い。
Therefore, in this case, the control on the magnetic disk side when writing data for the second time to the magnetic disk only requires adding 1 to the head number.

また、上位装置からの書込データが遅れてしまった場合
には、ディスクコントロール部4の内部でオーバーラン
のフラグをセットし、処理を続ける。そして書込動作が
終了すると前記動作と同じくメモリからのデータをヘッ
ド番号を+1した領域に書込むが、その後オーバーラン
のフラグがセットされていた場合に再びメモリからのデ
ータをヘッド番号を−1した領域(つまり直接書込領域
)に書込む。この場合、上位装置に対してはオーバラン
が起こったことは報告してもしなくても良いが、上位装
置はこの報告に対しては再試行を行わなくても良くなる
Furthermore, if the write data from the host device is delayed, an overrun flag is set within the disk control unit 4 and processing continues. When the write operation is completed, the data from the memory is written to the area with the head number +1 as in the previous operation, but after that, if the overrun flag is set, the data from the memory is written again with the head number -1. write to the specified area (that is, the direct write area). In this case, the occurrence of an overrun may or may not be reported to the higher-level device, but the higher-level device does not need to retry in response to this report.

発明の詳細 な説明したように、本発明によれば、磁気ディスク装置
にメモリ回路を持たせ、それを制御する手段を不可する
ことにより、上位装置の二重帯に対する負荷を軽減させ
るだけでなく磁気ディスク装置に多い書込時のオーバー
ランエラーをなくすことができる効果が得られる。
As described in detail, according to the present invention, by providing a magnetic disk device with a memory circuit and disabling means for controlling it, it is possible to not only reduce the load on the dual band of the host device, but also to reduce the load on the dual band of the host device. This has the effect of eliminating overrun errors during writing, which are common in magnetic disk drives.

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

第1図は本発明の一実施例を示すブロック構成図である
。 100.インタフェース部、200.メ干り回路、31
0.切換回路、410.ディスクコントロール部、50
6.磁気ディスク、51. 、 、コマンド信号、52
. 、 、書込データA、53. 、 、メモリ出力デ
ータ、 54. 、 、書込データB、55. 、 。 切換信号、56. 、 、メモリ制御信号、57. 、
’ 、読出データ
FIG. 1 is a block diagram showing one embodiment of the present invention. 100. Interface section, 200. Meboshi circuit, 31
0. switching circuit, 410. Disc control section, 50
6. magnetic disk, 51. , ,command signal, 52
.. , ,Write data A, 53. , , memory output data, 54. , ,Write data B, 55. , . switching signal, 56. , , memory control signal, 57. ,
' , read data

Claims (1)

【特許請求の範囲】[Claims] 上位装置とのインタフェースを司るインタフェース部と
、該インタフェース部から出力されるストローブ及びデ
ータを入力してメモリにデータを書込む機能を持ちかつ
アドレスカウンタを内臓したメモリ回路と、該メモリ回
路及び前記インタフェース部から出力されるそれぞれの
データ及びストローブを入力しどちらか一方のデータ及
びストローブを出力する切換回路と、該切換回路へ切換
指示を行う切換信号及び前記メモリ回路へアドレス制御
、読出、書込指示を行うメモリ制御信号及び前記インタ
フェース部へ読出しデータを出力しかつ前記切換回路か
ら出力されるデータ、ストローブ及び前記インタフェー
ス部から出力されるコマンド信号を入力し磁気ディスク
を制御するディスクコントロール部とを有することを特
徴とする磁気ディスク装置。
an interface unit that controls an interface with a host device; a memory circuit that has a function of inputting the strobe and data output from the interface unit and writing data into the memory and has a built-in address counter; the memory circuit and the interface; a switching circuit that inputs each data and strobe output from the section and outputs one of the data and strobe, a switching signal that instructs the switching circuit to switch, and an address control, read, and write instruction to the memory circuit; and a disk control section that outputs read data to the interface section and a memory control signal for controlling the magnetic disk by inputting data output from the switching circuit, a strobe, and a command signal output from the interface section. A magnetic disk device characterized by:
JP62045946A 1987-02-28 1987-02-28 Magnetic disk device Pending JPS63213020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62045946A JPS63213020A (en) 1987-02-28 1987-02-28 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62045946A JPS63213020A (en) 1987-02-28 1987-02-28 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPS63213020A true JPS63213020A (en) 1988-09-05

Family

ID=12733442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62045946A Pending JPS63213020A (en) 1987-02-28 1987-02-28 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPS63213020A (en)

Similar Documents

Publication Publication Date Title
US4723223A (en) Direct memory access controller for reducing access time to transfer information from a disk
JPS627572B2 (en)
JPS63279318A (en) Magnetic disk device
JPS63213020A (en) Magnetic disk device
JPS6331806B2 (en)
JPS59167873A (en) Device for protecting data of magnetic disc device
JP2570137B2 (en) Programmable array logic
JPS63126050A (en) Memory backup system
JP2957380B2 (en) Head positioning controller for magnetic disk
JPS6041146A (en) Data transfer control system
JPH01180620A (en) Disk controller
JPH03252838A (en) Write protection processing method
JPS6236781A (en) Control method for magnetic disk
JPH0375952B2 (en)
JPS58171724A (en) Copy controller of magnetic disc tape
JPS6232496B2 (en)
JPS63216157A (en) External storage controller
JPS6286425A (en) Magnetic disc control device
JPS59157758A (en) Common control system of magnetic storage device
JPS62167677A (en) Actuator control method of magnetic disc sub system
JPS602697B2 (en) Information processing system switching method
JPH04359312A (en) Electronic disk subsystem
JPS61127025A (en) Optical disk controller
JPH02270163A (en) Magnetic disk device
JPS61100827A (en) Method for writing data on disk