JPH0258768A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPH0258768A
JPH0258768A JP63208831A JP20883188A JPH0258768A JP H0258768 A JPH0258768 A JP H0258768A JP 63208831 A JP63208831 A JP 63208831A JP 20883188 A JP20883188 A JP 20883188A JP H0258768 A JPH0258768 A JP H0258768A
Authority
JP
Japan
Prior art keywords
data
disk device
section
writing
disk
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
JP63208831A
Other languages
Japanese (ja)
Inventor
Yoshio Fujioka
藤岡 芳夫
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63208831A priority Critical patent/JPH0258768A/en
Publication of JPH0258768A publication Critical patent/JPH0258768A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To prevent occurrence of waiting time for rotation caused by an ID section reading-out error by not performing data writing in a disk device, but saving the data to a memory means when positional collation is unsuccessful and writing the data saved to the memory means in the disk device after completing a series of writing operations. CONSTITUTION:At the time of writing data in a disk device 2, writing operations are started after a position detecting means 3 detects that a recording and reproducing means reaches a prescribed position on a recording medium, and when collation of an ID section is unsuccessful, the data writing in the disk device 2 is stopped, but the data are written in a memory means 6 for preservation. The data saved to the memory device 6 are transferred to the disk device 2 after a series of writing operations are completed. Because of the above-mentioned operations, a host device can write data in the disk device 2 at the same transferring speed as that exerted when ID section collation is successful even when the ID section collation is unsuccessful. Therefore, waiting time for rotation caused by an ID section reading-out error does not occur.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、ディジタルデータの記録に用いられるディス
ク装置の動作制御を行うディスク制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a disk control device that controls the operation of a disk device used for recording digital data.

(従来の技術) ディジタルデータ処理において、ディスク状の記憶媒体
を用いるディスク装置は高速、大容量に加えてランダム
アクセスが可能であり、ビットコストも小さいのでバラ
ンスのとれた記録装置として多用されている。ディスク
装置にデータを読み書きする場合、何らかのフォーマツ
ティングが必要であり、通常は第4図に示す様なフォー
マットが用いられる。記憶媒体上に設けられたトラック
Tと呼ばれる記録域は複数のセクタSに分割され、各々
のセクタSはさらにID部aとデータ部すに分割される
。ID部aは記録・再生手段(例えば磁気ディスク装置
における磁気ヘッド)によってセクタの開始とアドレス
とを示す情報を記録する領域であり、またデータ部すは
そのアドレスに対応したデータを記録する領域である。
(Prior art) In digital data processing, disk drives that use disk-shaped storage media are often used as well-balanced recording devices because they have high speed, large capacity, random access, and low bit cost. . When reading and writing data to and from a disk device, some formatting is required, and the format shown in FIG. 4 is usually used. A recording area called a track T provided on the storage medium is divided into a plurality of sectors S, and each sector S is further divided into an ID section a and a data section S. The ID section a is an area in which information indicating the start and address of a sector is recorded by a recording/reproducing means (for example, a magnetic head in a magnetic disk device), and the data section is an area in which data corresponding to the address is recorded. be.

このようなディスク装置には現状として不可避なデータ
の読み出しエラーが存在し、前記記録・再生手段が記録
媒体上の所定の位置にあるにもかがわら覆、ID部に対
する位置照合かできないことかある。TD部照合かでき
ないとディスクか一回転するのを待って(回転待ら)、
再度ID部の確認を行うことになる。
Currently, such disk devices have unavoidable data read errors, and even though the recording/reproducing means is located at a predetermined position on the recording medium, it may not be possible to perform position verification with respect to the ID section. . If the TD section cannot be verified, wait for the disk to rotate once (wait for rotation),
The ID section will need to be checked again.

(発明か解決しようとする課題) ところで連続的に発生する大量のデータを連続的に実時
間で記録覆るデータ記録装置とじてディスク装置を使う
場合には、このID部読み出しエラーによる回転待ちは
、−時的にディスク装置の転送速度低下をひぎ起こすと
いう問題かある。
(Problem to be solved by the invention) By the way, when using a disk device as a data recording device that continuously records a large amount of data that is generated continuously in real time, the rotation wait due to an error in reading the ID section is - There is a problem that the transfer speed of the disk device may sometimes decrease.

そのためディスク装置のボス1〜側が回転待ち分の大容
量のバッファメモリを持たねばならないことになる。
Therefore, the boss 1 side of the disk device must have a large capacity buffer memory for waiting for rotation.

そこで、本発明は上記の欠点を除去するためなされたも
ので、ID部読み出しエラーによりID部照合か失敗し
ても、ホスト装置としてはID部照合が常に成功してい
るものとして一定の転送速度でデータをディスク装置に
送り出せるア゛イスク装置を提供することにある。
Therefore, the present invention has been made to eliminate the above-mentioned drawbacks. Even if the ID part verification fails due to an ID part reading error, the host device assumes that the ID part verification is always successful and maintains a constant transfer speed. The object of the present invention is to provide an disk device that can send data to a disk device.

[発明の構成] (課題を解決するための手段) 上記問題点を解決するために本発明に係るディスク制御
装置では、データを記録媒体に読み占きする記録・再生
手段か記録媒体上のどの位置にあるかの検出を行う位置
検出手段と、データ書き込みの際の位置照合不成功時に
データを退避させるメモリ手段と、位置照合不成功時に
はディスク装置へのデータ書き込みを行わずに前記メモ
リ手段にデータを退避し、一連の書き込み動作終了後に
前記メモリ手段に退避したデータをディスク装置に書き
込む書き込み制御手段とを備えている。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above-mentioned problems, the disk control device according to the present invention has a recording/reproducing means for reading data onto a recording medium, a position detecting means for detecting whether the data is in a certain position; a memory means for evacuating data when position verification fails during data writing; A write control means for saving data and writing the data saved in the memory means to the disk device after a series of write operations is completed.

(作 用) ディスク装置へのデータ書き込みの際、位置検出手段に
より前記記録・再生手段が記録媒体上の所定の位置にき
たことを判断した上で書き込み動作が開始され、ID部
照合か失敗したときは、ディスク装置へのデータ書き込
みを中止して替わりに前記メモリ手段にデータを書き込
んで保存する。前記メモリ手段に退避したデータは一連
の書き込み動作終了後に前記ディスク装置に移される。
(Function) When writing data to a disk device, the writing operation is started after the position detecting means determines that the recording/reproducing means is at a predetermined position on the recording medium, and if the ID section verification fails. At this time, data writing to the disk device is stopped and data is written and stored in the memory means instead. The data saved in the memory means is transferred to the disk device after a series of write operations are completed.

以上の動作により、ディスク装置ではID部不照合が起
こっているにもかかわらず、ホスト装置からはID部不
照合が起こらない時と同じ一定の転送速度でデータの書
き込みを行うことが可能である。これによってID部読
み出しエラーによる回転待ちは生じない。
Through the above operations, even though an ID section mismatch occurs in the disk device, it is possible for the host device to write data at the same constant transfer speed as when the ID section mismatch does not occur. . This eliminates the need for a rotation wait due to an ID section read error.

(実施例) 以下、図面を参照して本発明実施例を説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明に係るディスク制御装置の一実施例を示
すもので、制御部1はμ−CPUを内蔵しており、本実
施例装置全体の動作とディスク装置2の動作を制御する
ものでおる。ディスクコントロール部3はディスク装置
2内の記録・再生手段(図示せず)の位置制御、位置検
出を行い、ディスク装置2への書き込みデータを予め設
定したフォーマットに変換し、読み出しデータをID部
aとデータ部すに分離する等の各種の制御動作を行うも
のである。メモリコントロール部4は本実前例装置内の
第1のメモリ手段5と第2のメモリ手段6の動作を制御
するものである。第1のメモリ手段5は図示しないホス
ト側装置とディスク装置2との間でデータ転送する際に
必要となるブタバッファの動作を行う。第2のメモリ手
段6はID部不照合時にデータを退避するためのもので
ある。第1.第2のメモリ手段5,6としては例えば半
導体ICメモリを適用することができる。
FIG. 1 shows an embodiment of a disk control device according to the present invention, in which a control section 1 has a built-in μ-CPU, and controls the operation of the entire device and the disk device 2 of this embodiment. I'll go. The disk control section 3 controls and detects the position of the recording/reproducing means (not shown) in the disk device 2, converts the data written to the disk device 2 into a preset format, and stores the read data in the ID section a. It performs various control operations such as separating the data section and the data section. The memory control unit 4 controls the operations of the first memory means 5 and the second memory means 6 in the present example device. The first memory means 5 operates as a pig buffer necessary for data transfer between a host side device (not shown) and the disk device 2. The second memory means 6 is for saving data when the ID section does not match. 1st. As the second memory means 5 and 6, for example, a semiconductor IC memory can be applied.

ここでこの第2のメモリ手段6が、本発明におけるメモ
リ手段に相当する。また、前記制御部1とディスクコン
トロール部3とメモリコントロール部4とにより、本発
明における書き込み制御手段が構成される。Sl乃至S
8は信号バス、Dl乃至D5はデータ線である。
Here, this second memory means 6 corresponds to the memory means in the present invention. Further, the control section 1, disk control section 3, and memory control section 4 constitute a write control means in the present invention. Sl to S
8 is a signal bus, and Dl to D5 are data lines.

次に、上記のように構成された実施例装置の作用につい
て第2図に示すデータ書き込み時のタイミンク図を使っ
て説明する。
Next, the operation of the embodiment device configured as described above will be explained using the timing diagram at the time of data writing shown in FIG.

制御部1はホスト側装置からの転送要求(Sl)をホス
トインターフェイス部7を介して受取り(S2)、制御
動作を開始する。まず、制御部1はディスク装置2に対
して前記記録・再生手段の位置制御に関するアドレス情
報を送り動作を確認しくS3)、引続きディスクコント
ロール部3とメモリコントロール部4に対してデータ転
送を指示する(S2)。メモリコントロール部4はホス
トインターフェイス部7を介してホスト装置に転送許可
信@(34,35)を出力し、またホスト装置からデー
タが送られてくる(31.Dl>と第1のメモリ手段5
に書き込む(D2)制御(S5)を行う。ディスクコン
トロール部3はディスクの回転位置を検出する。ディス
ク装置2からは前記記録・再生手段が記録媒体上のどの
位置にあるかを示すインデックス信号(第2図(a))
とセクタ信号(第2図(b))が出力される(S3)。
The control unit 1 receives a transfer request (Sl) from the host device via the host interface unit 7 (S2) and starts a control operation. First, the control section 1 sends address information related to position control of the recording/reproducing means to the disk device 2 to confirm operation (S3), and then instructs the disk control section 3 and memory control section 4 to transfer data. (S2). The memory control section 4 outputs a transfer permission signal @(34, 35) to the host device via the host interface section 7, and data is sent from the host device (31.Dl> and the first memory means 5).
(D2) control (S5) is performed. The disk control section 3 detects the rotational position of the disk. An index signal (FIG. 2(a)) indicating the position of the recording/reproducing means on the recording medium is sent from the disk device 2.
and a sector signal (FIG. 2(b)) are output (S3).

第2図(a)に示ずインデックス信号は回転基準を示す
パルス信号でおり、記録媒体が1回転する毎に1発出力
される。セクタ信号は第2図(b)に示すように前記し
たセクタの開始を知らせるパルス信号である。前記記録
・再生手段が記録媒体上でデータを書き込むべき所定の
位置にくるとディスクコントロール部3はID部をディ
スク装置2から読み出し位置を確認する(第2図(C)
)。ID部照合に成功すると、ディスクコントロール部
3はメモリコントロール部4と連動(36)L、て第1
のメモリ手段5に格納しておいたデータを読み出しくD
3)、ディスク装置2に書き込む(第1図D4.第2図
(d))。ID部の不照合が起こると、ディスクコント
ロール部3はその旨をメモリコントロール部4に知らせ
(S3)、ディスク装置2へのデータ書き込みを中断す
る。メモリコントロール部4は本来ディスク装置2に書
くべきデータを第2のメモリ手段6に書< (D5)制
御をする(第1図37.第2図(e))。一連のデータ
書き込みを終了した時点で制御部1は第2メモリ手段6
への退避データの有無を調べ、退避データが有る場合に
は改めて退避データをディスク装置2に書き込む様ディ
スクコントロール部3とメモリコントロール部4に指示
する。第3図は以上の動作をまとめて示す流れ図でおる
The index signal, not shown in FIG. 2(a), is a pulse signal indicating a rotation reference, and is output once every time the recording medium rotates once. The sector signal is a pulse signal indicating the start of the sector as shown in FIG. 2(b). When the recording/reproducing means reaches a predetermined position on the recording medium where data should be written, the disc control unit 3 reads the ID part from the disc device 2 and confirms the position (FIG. 2(C)).
). When the ID section verification is successful, the disk control section 3 interlocks with the memory control section 4 (36) L, and the first
Read out the data stored in the memory means 5 of
3), write to the disk device 2 (D4 in FIG. 1 and (d) in FIG. 2). When a mismatch occurs in the ID section, the disk control section 3 notifies the memory control section 4 of this fact (S3), and interrupts data writing to the disk device 2. The memory control unit 4 performs control to write data that should originally be written in the disk device 2 to the second memory means 6 (D5) (FIG. 1, 37, and FIG. 2, (e)). At the point when a series of data writing is completed, the control section 1 writes the second memory means 6.
The existence of saved data is checked, and if there is saved data, the disk control unit 3 and memory control unit 4 are instructed to write the saved data to the disk device 2 again. FIG. 3 is a flowchart summarizing the above operations.

先ず、ステップへにおいて制御部(μmcpu>1はデ
ィスクコントロール部3に対して1トラック分のセクタ
情報とID情報を送り、これに基きディスクコントロー
ル部3はステップBのように回転タイミング信号から書
き込みセクタを決める。
First, in step B, the controller (μmcpu>1) sends the sector information and ID information for one track to the disk controller 3, and based on this, the disk controller 3 selects the write sector from the rotation timing signal as in step B. decide.

次にステップCにおいてID部照合が行われ、正常時(
成功時〉は流れはステップDに進むと共に異常時(不成
功時)は流れはステップEに進む。
Next, in step C, ID part verification is performed, and when normal (
If successful, the process proceeds to step D, and if abnormal (unsuccessful), the process proceeds to step E.

ステップDにおいてディスクコントロール部3によって
ディスク装置2にデータの書き込みが行ねれると共に、
ステップFにおいてはメモリコントロール部4によって
データは第2のメモリ6に退避される。
In step D, data is written to the disk device 2 by the disk control unit 3, and at the same time,
In step F, the memory control unit 4 saves the data to the second memory 6.

続いてステップFにおいて、最終セクタか否かの確認が
行われ、最終の場合はステップGに進むと共に最終でな
い場合は再びステップBへと戻る。
Subsequently, in step F, it is confirmed whether or not it is the final sector. If it is the final sector, the process advances to step G, and if it is not the final sector, the process returns to step B again.

ステップGにおいて結果か制御部1に送られ、ステップ
Hにおいて制御部1により入力終了か否かの確認か行わ
れ、終了の場合はステップ■に進むと共に未修了の場合
は再びステップAへと戻る。
In step G, the result is sent to the control unit 1, and in step H, the control unit 1 confirms whether or not the input has been completed. If the input is completed, proceed to step ■, and if not completed, return to step A again. .

次にステップIにおいて退避データの有無の確認が行わ
れ、有の場合はステップJに進むと共に無の場合は後の
ステップにへとジャンプする。ステップJにおいて制御
部1の制御の基にディスクコントロール部3とメモリコ
ントロール部4によって、第2のメモリ6に退避されて
いたデータが取り出されてディスク装置2に書き込まれ
ることにより、ステップにのように一連の動作は終了す
る。
Next, in step I, the presence or absence of saved data is confirmed, and if there is, the process advances to step J, and if there is no data, the process jumps to the next step. In step J, the data saved in the second memory 6 is retrieved by the disk control unit 3 and the memory control unit 4 under the control of the control unit 1 and written to the disk device 2, as in step J. The series of operations ends.

このように本実施例によれば、ID部不照合が生じても
第2のメモリ手段6への退避が可能であり、ホスト装置
はID部照合の成功、不成功にかかわらず一定の転送速
度でディスク装置2にデータ書き込みを行うことができ
る。
As described above, according to this embodiment, even if an ID section mismatch occurs, it can be saved to the second memory means 6, and the host device can maintain a constant transfer rate regardless of whether the ID section matching is successful or not. Data can be written to the disk device 2 using the following steps.

以上本発明の一実施例について説明したか、上記実施例
に限定されるものではなく、種々の変形実施が可能であ
ることはいうまでもない。
Although one embodiment of the present invention has been described above, it goes without saying that the present invention is not limited to the above embodiment, and that various modifications can be made.

例えば、上記実施例ではディスク装置2が出力する回転
位置信号をもとにデータ書き込み位置を検出したが、複
数の記録、再生手段を並列同時に駆動できる並列転送方
式のディスク装置においてはID部照合が各々のチャネ
ルで可能であり、ID部情報を調べることで位置検出が
可能である。
For example, in the above embodiment, the data writing position was detected based on the rotational position signal output by the disk device 2, but in a disk device using a parallel transfer method that can simultaneously drive multiple recording and reproducing means in parallel, ID section verification is required. This is possible for each channel, and position detection is possible by checking the ID part information.

その際、ID部不照合が生じたチャネルのデータ、ある
いは全チャネルデータをディスク装置2に書き込まず第
2のメモリ手段6に退避すればよい。
At this time, the data of the channel in which the ID part mismatch has occurred, or the data of all channels, may be saved in the second memory means 6 without being written to the disk device 2.

[発明の効果] 以上詳述したように本発明によれば、ID部照合の成功
、不成功にかかわらずホスト装置側から一定の転送速度
でディスク装置にデータを書込めるので、ID部読み出
しエラーによる回転待ちは生じない。
[Effects of the Invention] As described in detail above, according to the present invention, data can be written from the host device to the disk device at a constant transfer speed regardless of whether the ID section verification is successful or not, so errors in reading the ID section can be avoided. There is no waiting time for rotation.

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

第1図は本発明に係るディスク制御装置の一実施例を示
すブロック図、第2図(a)乃至(e)は本実施例の制
御を示すタイミング図、第3図は本実施例の作用を示す
流れ図、第4図はディスク装置のフォーマット例を示す
図である。 1・・・制御部、 2・・・ディスク装置、3・・・デ
ィスクコントロール部、 4・・・メモリコントロール部、 5・・・第1のメモリ手段、 6・・・第2のメモリ手段、 7・・・ホストインターフェイス部。
FIG. 1 is a block diagram showing one embodiment of a disk control device according to the present invention, FIGS. 2(a) to (e) are timing diagrams showing control of this embodiment, and FIG. 3 is an operation of this embodiment. FIG. 4 is a flowchart showing an example of the format of a disk device. DESCRIPTION OF SYMBOLS 1... Control part, 2... Disk device, 3... Disk control part, 4... Memory control part, 5... First memory means, 6... Second memory means, 7...Host interface section.

Claims (1)

【特許請求の範囲】[Claims] ディスク状の記憶媒体に対してデータの記録・再生を行
うディスク制御装置において、データを記録媒体に読み
書きする記録・再生手段が記録媒体上のどの位置にある
かの検出を行う位置検出手段と、データ書き込みの際の
位置照合不成功時にデータを退避させるメモリ手段と、
位置照合不成功時にはディスク装置へのデータ書き込み
を行わずに前記メモリ手段にデータを退避し、一連の書
き込み動作終了後に前記メモリ手段に退避したデータを
ディスク装置に書き込む書き込み制御手段とを具備する
ことを特徴とするディスク制御装置。
In a disk control device that records and reproduces data on a disk-shaped storage medium, a position detection means that detects the position on the recording medium of a recording and reproduction means that reads and writes data to and from the recording medium; a memory means for saving data when position matching fails during data writing;
and write control means for saving data in the memory means without writing data to the disk device when position verification is unsuccessful, and writing the data saved in the memory means to the disk device after a series of write operations are completed. A disk control device characterized by:
JP63208831A 1988-08-23 1988-08-23 Disk controller Pending JPH0258768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63208831A JPH0258768A (en) 1988-08-23 1988-08-23 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63208831A JPH0258768A (en) 1988-08-23 1988-08-23 Disk controller

Publications (1)

Publication Number Publication Date
JPH0258768A true JPH0258768A (en) 1990-02-27

Family

ID=16562831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63208831A Pending JPH0258768A (en) 1988-08-23 1988-08-23 Disk controller

Country Status (1)

Country Link
JP (1) JPH0258768A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02216668A (en) * 1989-02-15 1990-08-29 Sony Corp Data recorder
WO2011099099A1 (en) * 2010-02-10 2011-08-18 日本電気株式会社 Storage device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02216668A (en) * 1989-02-15 1990-08-29 Sony Corp Data recorder
WO2011099099A1 (en) * 2010-02-10 2011-08-18 日本電気株式会社 Storage device
JPWO2011099099A1 (en) * 2010-02-10 2013-06-13 日本電気株式会社 Storage device
JP5533888B2 (en) * 2010-02-10 2014-06-25 日本電気株式会社 Storage device
US9021230B2 (en) 2010-02-10 2015-04-28 Nec Corporation Storage device

Similar Documents

Publication Publication Date Title
JP2002170342A (en) Method for recording write-once type optical disk
US5161072A (en) Information recording/reproducing apparatus for recording information and verifying recorded information
EP0437202B1 (en) Information recording/reproducing apparatus for recording information and verifying recorded information
JPH0258768A (en) Disk controller
JP2623238B2 (en) Information playback method
JP2000137584A (en) Controller for external storage device, method for substituting defective block and storage medium storing defective block substitution control program
JPH0520789A (en) Recording and reproducing device
JP2639520B2 (en) Information recording method
KR20050079611A (en) Recording and reproducing apparatus
JPH0520792A (en) Floppy disk
JPS63195877A (en) Data recording and reproducing system
JPH0628779A (en) Method for recording and controlling data in disk device
JPS63316371A (en) Write once type storage device
JP2578846B2 (en) Recording control method
JPH08106722A (en) Information recording/reproducing apparatus
JPH0793912A (en) Optical disk recording/reproducing apparatus
JPH02205914A (en) Optical disk processor
JPH04341977A (en) Data reproducing control system
JPH04326420A (en) Magnetic tape storage and its control system
JPH05182254A (en) Inspection device for disk shaped information recording medium
JPS60247728A (en) Disk control system
JPH0528660A (en) Information storage device with self-diagnostic function
JPH025274A (en) Optical disk processor
JPH0676490A (en) Optical disk recorder and reproducer
JPS59112353A (en) Data reading out system from recording medium