JP2786061B2 - Control device for disk storage device - Google Patents

Control device for disk storage device

Info

Publication number
JP2786061B2
JP2786061B2 JP4193504A JP19350492A JP2786061B2 JP 2786061 B2 JP2786061 B2 JP 2786061B2 JP 4193504 A JP4193504 A JP 4193504A JP 19350492 A JP19350492 A JP 19350492A JP 2786061 B2 JP2786061 B2 JP 2786061B2
Authority
JP
Japan
Prior art keywords
sector number
transfer
sector
data
address
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
JP4193504A
Other languages
Japanese (ja)
Other versions
JPH0635611A (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.)
Niigata Fuji Xerox Manufacturing Co Ltd
Original Assignee
Niigata Fuji Xerox Manufacturing 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 Niigata Fuji Xerox Manufacturing Co Ltd filed Critical Niigata Fuji Xerox Manufacturing Co Ltd
Priority to JP4193504A priority Critical patent/JP2786061B2/en
Publication of JPH0635611A publication Critical patent/JPH0635611A/en
Application granted granted Critical
Publication of JP2786061B2 publication Critical patent/JP2786061B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、磁気記憶装置等のディ
スク型記憶装置に記憶してあるデータを、バッファメモ
リを介して上位装置に転送するためのディスク型記憶装
置の制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control apparatus for a disk-type storage device for transferring data stored in a disk-type storage device such as a magnetic storage device to a host device via a buffer memory.

【0002】[0002]

【従来の技術】図4は従来のディスク型記憶装置の制御
装置の一例を示すブロック図、図5は図4の例の動作を
示すフローチャート、図6は図4の例において、ディス
ク型記憶装置をアクセスするときにデータを転送するセ
クタ数と、転送完了までにヘッドが通過するセクタ数と
の関係を示す特性図である。
2. Description of the Related Art FIG. 4 is a block diagram showing an example of a conventional control device for a disk-type storage device, FIG. 5 is a flowchart showing the operation of the example of FIG. 4, and FIG. FIG. 7 is a characteristic diagram showing a relationship between the number of sectors to which data is transferred when accessing the data and the number of sectors through which the head passes until the transfer is completed.

【0003】磁気記憶装置等のディスク型記憶装置に記
憶してあるデータを、バッファメモリを介して上位装置
に転送するためのディスク型記憶装置の従来の制御装置
は、図4に示すように、ディスク型記憶装置10をアク
セスするとき、あらかじめディスク制御装置41にディ
スク型記憶媒体の転送開始セクタ番号42と転送終了セ
クタ番号43とをセットしておき、ヘッドがその転送開
始セクタ番号42の位置に来たときにデータの転送を開
始し、ヘッドが転送終了セクタ番号43の位置に来たと
きにデータの転送を終了する。ディスク型記憶装置10
とのデータの授受は、バッファメモリ11を利用して行
うが、そのためのバッファメモリ11のアドレスは、ダ
イレクトメモリコントローラ(DMAC)51から発生
する。このアドレスは、DMAC51にセットした転送
開始アドレス54から転送終了アドレス55まで、順番
に生成する。
[0003] A conventional control device of a disk storage device for transferring data stored in a disk storage device such as a magnetic storage device to a host device via a buffer memory, as shown in FIG. When accessing the disk-type storage device 10, the transfer start sector number 42 and the transfer end sector number 43 of the disk-type storage medium are set in the disk control device 41 in advance, and the head is moved to the position of the transfer start sector number 42. When the head comes, the data transfer is started, and when the head comes to the position of the transfer end sector number 43, the data transfer ends. Disk storage device 10
The transfer of data with the buffer memory 11 is performed using the buffer memory 11, and the address of the buffer memory 11 is generated from the direct memory controller (DMAC) 51. This address is generated in order from the transfer start address 54 set in the DMAC 51 to the transfer end address 55.

【0004】このように構成したディスク制御装置41
の動作は、図5に示すように、まず転送を開始するセク
タ番号S1と転送を終了するセクタ番号S2とをディス
ク制御装置41にセットし(ステップ61)、アクセス
対象のトラック(目的トラック)までヘッドをシークさ
せる(ステップ62)。シーク動作が終ると、ディスク
制御装置41は、その時点においてヘッドが存在してい
るセクタの番号を現在セクタ番号センス46によって検
出し、ディスクが回転してセクタ番号S1がヘッドの位
置にくるまで待つ(ステップ63)。セクタ番号S1が
ヘッドの位置にくると、直にデータの読出し動作を開始
してセクタ番号S1からセクタ番号S2までのデータを
データフォーマット変更回路48を介してバッファメモ
リ11に転送する(ステップ64)。ディスク型記憶装
置10に対してデータを書込む場合も同様に行う。
[0004] The disk control device 41 constructed as described above.
As shown in FIG. 5, first, the sector number S1 for starting the transfer and the sector number S2 for ending the transfer are set in the disk controller 41 (step 61), and the access target track (target track) is set. The head is sought (step 62). When the seek operation is completed, the disk controller 41 detects the number of the sector where the head is present at that time by the current sector number sense 46, and waits until the disk rotates and the sector number S1 comes to the position of the head. (Step 63). When the sector number S1 reaches the position of the head, the data reading operation is started immediately, and the data from the sector number S1 to the sector number S2 is transferred to the buffer memory 11 via the data format change circuit 48 (step 64). . The same is true for writing data to the disk storage device 10.

【0005】このような動作は、ヘッドを目的トラック
までシークさせてからデータの転送を開始するまでに、
ディスクが回転して、転送開始セクタがヘッドの位置に
くるまでの待時間が必要である。すなわち、図6に示す
ように、1本のトラックがN個のセクタに分割されてい
るとき、単位時間内にヘッドを通過するセクタ数は一定
であるため、縦軸に示した「シーク完了後ヘッドを通過
するセクタ数」は、データの転送時間と比例する。ただ
し、シーク完了時点において、ヘッドと転送開始セクタ
との相対的な位置関係が不定であるため、転送が終了す
るまでにヘッドを通過するセクタ数も一定値とはなら
ず、ある範囲内の最大値(最大セクタ数73)と最小値
(最小セクタ数71)との間の値となる。そしてその統
計的な平均値は、最大値と最小値との平均値(平均セク
タ数72)となる。
[0005] Such an operation is performed after a head seeks to a target track and before data transfer is started.
It is necessary to wait for the disk to rotate and the transfer start sector to reach the head position. That is, as shown in FIG. 6, when one track is divided into N sectors, the number of sectors that pass through the head in a unit time is constant, and thus the “after completion of seek” shown on the vertical axis The "number of sectors passing through the head" is proportional to the data transfer time. However, since the relative positional relationship between the head and the transfer start sector is uncertain at the time of the seek completion, the number of sectors passing through the head before the transfer ends is not constant, and the maximum number of sectors within a certain range is not reached. It is a value between the value (maximum sector number 73) and the minimum value (minimum sector number 71). Then, the statistical average value is the average value of the maximum value and the minimum value (average number of sectors 72).

【0006】このように、転送を開始するセクタ番号S
1から転送を終了するセクタ番号S2まで一括してデー
タの転送を行うため、ヘッドをアクセスするとき、目的
トラックまでヘッドをシークさせてからデータの転送を
開始するまでの待時間は、最小で0セクタ、最大でNセ
クタとなり、平均して(0.5N+1)セクタの待時間
となる。一方、データの転送を行うセクタ数は、最小で
1セクタ、最大でNセクタであり、平均値は0.5Nセ
クタである。従って待時間と実際のデータ転送時間とを
合計したデータ転送のための所要時間は、最小で1セク
タ、最大で(2N+1)セクタ、平均として(N+1)
セクタの回転時間が必要である。
As described above, the sector number S at which transfer is started
Since the data transfer is performed from 1 to the sector number S2 at which the transfer is completed, the waiting time from the seek of the head to the target track to the start of the data transfer when accessing the head is 0 at the minimum. The sectors are N sectors at the maximum, and the waiting time is (0.5N + 1) sectors on average. On the other hand, the number of sectors for data transfer is 1 sector at minimum and N sectors at maximum, and the average value is 0.5N sectors. Therefore, the required time for data transfer, which is the sum of the waiting time and the actual data transfer time, is 1 sector at minimum, (2N + 1) sectors at maximum, and (N + 1) on average.
The rotation time of the sector is required.

【0007】[0007]

【発明が解決しようとする課題】上述したように、従来
のディスク型記憶装置の制御装置は、ヘッドを目的トラ
ックまでシークさせてからデータの転送を開始するまで
に、平均的に(0.5N+1)セクタ分の待時間が必要
であり、全体的にデータ転送時間が長くかかると欠点を
有している。
As described above, the control device of the conventional disk-type storage device averages (0.5N + 1) from the time when the head seeks to the target track to the time when data transfer is started. A) There is a drawback in that a waiting time for a sector is required, and a long data transfer time is required as a whole.

【0008】[0008]

【課題を解決するための手段】本発明のディスク型記憶
装置の制御装置は、ディスク型記憶装置の記憶媒体の転
送を開始するトラックのセクタ番号をセットする転送開
始セクタ番号部と、前記記憶媒体の転送を終了するセク
タ番号または転送すべきセクタ数をセットする転送終了
セクタ指定部と、バッファメモリの転送を開始するメモ
リアドレスをセットする転送開始メモリアドレス部と、
転送を終了メモリアドレスまたは転送するデータ数をセ
ットする転送終了メモリ指定部と、バッファメモリのデ
ータの転送を行うアドレスを自動的に生成するアドレス
生成回路とを設け、シーク動作が終了した時点において
ヘッドが存在していることを検出したセクタ番号の次の
番号のセクタからデータの転送を開始するようにしたも
のである。
According to the present invention, there is provided a control apparatus for a disk storage device, comprising: a transfer start sector number portion for setting a sector number of a track for starting transfer of a storage medium of the disk storage device; A transfer end sector designating section for setting a sector number for ending the transfer or a number of sectors to be transferred; a transfer start memory address section for setting a memory address for starting transfer of the buffer memory;
A transfer end memory designator for setting a transfer end memory address or the number of data to be transferred and an address generation circuit for automatically generating an address for transferring data in the buffer memory are provided. The data transfer is started from the sector next to the sector number in which it is detected that the data exists.

【0009】[0009]

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

【0010】図1は本発明の一実施例を示すブロック
図、図2は図1の実施例の動作を示すフローチャート、
図3は図1の実施例において、ディスク型記憶装置をア
クセスするときにデータの転送するセクタ数と、転送完
了までにヘッドが通過するセクタ数との関係を示す特性
図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the embodiment of FIG. 1,
FIG. 3 is a characteristic diagram showing the relationship between the number of sectors to which data is transferred when accessing the disk-type storage device and the number of sectors through which the head passes until the transfer is completed in the embodiment of FIG.

【0011】図1のディスク制御装置1において、転送
開始セクタ番号2は、ディスク型記憶装置10の記憶媒
体の転送対象となっている複数のセクタの中の最初のセ
クタの番号を保持している。このセクタ番号は、データ
の転送を開始する前に、あらかじめ外部からセットして
おく。ただし、最初のセクタとは、データ転送対象のセ
クタの中で、論理的に最初のセクタを意味し、これは、
従来は実際にデータの転送を開始する物理的な最初のセ
クタと一致していたが、本実施例においては、実際にデ
ータの転送を開始する物理的な最初のセクタと一致する
とは限らない。転送終了セクタ番号3は、ディスク型記
憶装置10の記憶媒体の転送対象となっている複数のセ
クタの中の最後のセクタの番号を保持している。このセ
クタ番号も、データの転送を開始する前に、あらかじめ
外部からセットしておく。最後のセクタとは、最初のセ
クタと同様に、データ転送対象のセクタの中で、論理的
に最後のセクタを意味し、これは、従来は実際にデータ
の転送を行うときの物理的な最後のセクタと一致してい
たが、本実施例においては、実際にデータの転送を行う
ときの物理的な最後のセクタと一致するとは限らない。
In the disk controller 1 of FIG. 1, the transfer start sector number 2 holds the number of the first sector among a plurality of sectors to be transferred on the storage medium of the disk storage device 10. . This sector number is externally set before data transfer is started. However, the first sector means the logically first sector among the data transfer target sectors.
In the prior art, this coincides with the physical first sector where data transfer actually starts, but in this embodiment, it does not always coincide with the physical first sector where data transfer actually starts. The transfer end sector number 3 holds the number of the last sector among a plurality of sectors to be transferred on the storage medium of the disk storage device 10. This sector number is also set from the outside before starting the data transfer. The last sector, like the first sector, means the logically last sector in the data transfer target sector, which is conventionally the physical last sector when data is actually transferred. However, in the present embodiment, it does not always coincide with the last physical sector when data is actually transferred.

【0012】転送開始メモリアドレス4は、バッファメ
モリ11中の転送データを格納しておくメモリ領域の最
初のアドレスを格納している。このアドレスは、データ
の転送を開始する前に、あらかじめ外部からセットして
おく。最初のアドレスとは、データを格納するメモリ領
域の中の論理的に最初のアドレスを意味し、これは、従
来は実際にデータを格納するメモリ領域の中の物理的な
最初のアドレスと一致していたが、本実施例において
は、実際にデータを格納するメモリ領域の中の物理的な
最初のアドレスと一致するとは限らない。転送終了メモ
リアドレス5は、バッファメモリ11中の転送データを
格納しておくメモリ領域の最後のアドレスを格納してい
る。このアドレスも、データの転送を開始する前に、あ
らかじめ外部からセットしておく。最後のアドレスと
は、最初のアドレスと同様に、データを格納するメモリ
領域の中の論理的に最後のアドレスを意味し、これは、
従来は実際にデータを格納するメモリ領域の中の物理的
な最後のアドレスと一致していたが、本実施例において
は、実際にデータを格納するメモリ領域の中の物理的な
最後のアドレスと一致するとは限らない。
The transfer start memory address 4 stores the first address of a memory area in the buffer memory 11 for storing transfer data. This address is set from the outside before starting the data transfer. The first address means the logically first address in the memory area for storing data, which conventionally corresponds to the physical first address in the memory area for actually storing data. However, in this embodiment, the address does not always match the physical first address in the memory area where data is actually stored. The transfer end memory address 5 stores the last address of a memory area in the buffer memory 11 for storing transfer data. This address is also set from outside before starting the data transfer. The last address, like the first address, means the logically last address in the memory area where data is stored, and
Conventionally, the address matches the physical last address in the memory area where data is actually stored. However, in the present embodiment, the address matches the physical last address in the memory area where data is actually stored. They do not always match.

【0013】現在セクタ番号センス6は、ディスク型記
憶装置10の記憶媒体に対してヘッドが位置しているセ
クタの番号を検出する。ただし、実際の記憶媒体におい
ては、セクタの番号は各セクタの全領域のうちの最初の
部分の狭い領域に設けられているため、シーク動作によ
ってヘッドが当該セクタに到着しても、直に当該セクタ
の番号を検出することはできず、記憶媒体が少し回転し
て次のセクタの最初の部分のセクタの番号を書込んであ
る部分を通過したとき、始めてセクタの番号を検出する
ことができる。
The current sector number sense 6 detects the number of the sector where the head is located with respect to the storage medium of the disk storage device 10. However, in an actual storage medium, since the sector number is provided in a narrow area of the first part of the entire area of each sector, even if the head arrives at the sector by a seek operation, the sector number is immediately set. The sector number cannot be detected, and the sector number can be detected only when the storage medium rotates slightly and passes through the portion where the sector number of the first portion of the next sector is written. .

【0014】アドレス生成回路7は、バッファメモリ1
1のアドレスを生成し、それをアドレス信号18のして
バッファメモリ11に対して送出する。バッファメモリ
11とディスク型記憶装置10の記憶媒体との間でデー
タの転送を行うとき、記憶媒体のセクタの番号とバッフ
ァメモリ11のアドレスとは、1:1の対応がある。本
実施例においては、まず、アドレス生成回路7によって
現行セクタ番号に対応するアドレスを生成し、それを次
々に更新することによって該当するセクタに対応するバ
ッファメモリ11のアドレスを生成する。1セクタ分の
データの転送が終了すると、再び次ぎに現行セクタ番号
センス6が検出するセクタ番号に対応するバッファメモ
リ11のアドレスを生成する。この動作の繰返えしによ
り、当該トラックに存在する全てのセクタと、バッファ
メモリ11との間におけるデータの転送を行う。転送開
始の時のセクタに対応するバッファメモリ11のメモリ
アドレスと転送終了の時のセクタに対応するバッファメ
モリ11のメモリアドレスはあらかじめセットされてい
るが、その間のセクタに対応するバッファメモリ11の
メモリアドレスはセットされていないため、アドレス生
成回路7によって自動的に生成する。アドレス生成回路
7は、データの転送を行うバッファメモリ11の任意の
アドレスを生成することができる。
The address generation circuit 7 includes a buffer memory 1
1 is generated and transmitted to the buffer memory 11 as an address signal 18. When data is transferred between the buffer memory 11 and the storage medium of the disk storage device 10, there is a one-to-one correspondence between the sector number of the storage medium and the address of the buffer memory 11. In the present embodiment, first, an address corresponding to the current sector number is generated by the address generation circuit 7, and is updated one after another to generate an address of the buffer memory 11 corresponding to the corresponding sector. When the transfer of data for one sector is completed, the address of the buffer memory 11 corresponding to the sector number detected by the current sector number sense 6 is generated again next. By repeating this operation, data transfer between the buffer memory 11 and all the sectors existing on the track is performed. The memory address of the buffer memory 11 corresponding to the sector at the start of the transfer and the memory address of the buffer memory 11 corresponding to the sector at the end of the transfer are set in advance. Since the address has not been set, it is automatically generated by the address generation circuit 7. The address generation circuit 7 can generate an arbitrary address of the buffer memory 11 for transferring data.

【0015】データフォーマット変更回路8は、一般
に、ディスク型記憶装置10の記憶媒体に記憶するとき
のデータのフォーマットと、バッファメモリ11に格納
するときのデータのフォーマットとが異なるフォーマッ
トとなっているため、フォーマット変更を行うための回
路である。
The data format change circuit 8 generally has a format different from the format of data stored in the storage medium of the disk storage device 10 and the format of data stored in the buffer memory 11. , A circuit for changing the format.

【0016】制御信号生成回路9は、ディスク型記憶装
置10に対する制御信号とバッファメモリ11に対する
制御信号のうち、アドレスを除いた制御信号を生成す
る。制御信号生成回路9は、アクセスを行うディスク型
記憶装置10の記憶媒体の複数のセクタのうちの任意の
セクタに対してアクセスを行うことができる。
The control signal generation circuit 9 generates a control signal excluding an address from a control signal for the disk storage device 10 and a control signal for the buffer memory 11. The control signal generation circuit 9 can access an arbitrary sector among a plurality of sectors of the storage medium of the disk storage device 10 to be accessed.

【0017】ディスク型記憶装置10は、ディスク型の
記憶媒体を有し、データを記憶して保存する。
The disk-type storage device 10 has a disk-type storage medium, and stores and stores data.

【0018】バッファメモリ11は、ディスク型記憶装
置10との間でデータの授受を行うときに利用し、一般
に、CPUからランダムにアクセスすることができる半
導体メモリを使用する。
The buffer memory 11 is used when data is exchanged with the disk storage device 10, and generally uses a semiconductor memory that can be randomly accessed from the CPU.

【0019】次に上述のように構成したディスク制御装
置の動作について、図2を参照して説明する。
Next, the operation of the disk control device configured as described above will be described with reference to FIG.

【0020】まず、ディスク型記憶装置10の記憶媒体
のアクセスを行うセクタ群の開始セクタ番号S1と終了
セクタ番号S2とを、それぞれ転送開始セクタ番号2お
よび転送終了セクタ番号3にセットする(ステップ2
1)。続いてアクセス対象のトラック(目的トラック)
までヘッドをシークさせる(ステップ22)。シーク動
作が終ると、ディスク制御装置1は、その時点において
ヘッドが存在しているセクタの番号S3を現在セクタ番
号センス6によって検出する(ステップ23)。セクタ
番号S3が開始セクタ番号S1と終了セクタ番号S2と
の間にあれば(ステップ24)ステップ25に移行し、
開始セクタ番号S1と終了セクタ番号S2との間になけ
れば、ステップ26に移行する。ステップ25において
は、セクタ番号S3の次のセクタ番号(S3+1)から
終了セクタ番号S2までデータの転送を行いステップ2
6に移行する。ステップ26においては、記憶媒体が回
転して開始セクタ番号S1がヘッドの位置までくるまで
待ち、開始セクタ番号S1がヘッドの位置までくると、
まだデータの転送を行っていないセクタに対してデータ
の転送を行う(ステップ27)。このように、ヘッドの
シーク動作が終了した時点においてヘッドが存在してい
るセクタの番号の次の番号のセクタから、データの転送
を開始することができるようにすることにより、データ
転送開始までの待時間を短縮することが可能となる。
First, the start sector number S1 and the end sector number S2 of the sector group for accessing the storage medium of the disk storage device 10 are set to the transfer start sector number 2 and the transfer end sector number 3, respectively (step 2).
1). Next, the track to be accessed (target track)
The head is sought until (step 22). When the seek operation is completed, the disk controller 1 detects the number S3 of the sector where the head is present at that time by the current sector number sense 6 (step 23). If the sector number S3 is between the start sector number S1 and the end sector number S2 (step 24), the process proceeds to step 25,
If it is not between the start sector number S1 and the end sector number S2, the process proceeds to step 26. In step 25, data is transferred from the sector number ( S3 + 1) following the sector number S3 to the end sector number S2, and step 2 is executed.
Move to 6. In step 26, the system waits until the storage medium rotates and the start sector number S1 reaches the position of the head, and when the start sector number S1 reaches the position of the head,
Data is transferred to a sector to which data has not been transferred yet (step 27). As described above, when the seek operation of the head is completed, the data transfer can be started from the sector having the next number of the sector where the head is located, so that the data transfer until the start of the data transfer can be performed. The waiting time can be reduced.

【0021】図3は、このことをグラフとして示した特
性図である。
FIG. 3 is a characteristic diagram showing this as a graph.

【0022】図3において、図6と同様に1本のトラッ
クがN個のセクタに分割されているとすると、ヘッドの
シーク動作終了時点からデータ転送開始までの待時間
は、最小で0セクタ、最大でNセクタ、平均で(0.5
N)セクタ分の待時間となる。従って待時間と実際のデ
ータ転送時間とを合計したデータ転送のための所要時間
は、最小で1セクタ(最小セクタ数31)、最大で(N
+1)セクタ(最大セクタ数33)、平均で(0.75
N+1)セクタ(平均セクタ数32)分の回転時間とな
る。
In FIG. 3, assuming that one track is divided into N sectors as in FIG. 6, the minimum waiting time from the end of the seek operation of the head to the start of data transfer is 0 sectors. At most N sectors, on average (0.5
N) It is the waiting time for the sector. Therefore, the required time for data transfer, which is the sum of the waiting time and the actual data transfer time, is one sector at minimum (the minimum number of sectors is 31) and at most (N
+1) sectors (maximum number of sectors 33), on average (0.75
The rotation time is equivalent to (N + 1) sectors (the average number of sectors is 32).

【0023】なお、図1の実施例は、データ転送の終了
時点を検出するための転送終了セクタ番号3と、データ
転送の最終のアドレスをセットするための転送終了メモ
リアドレス5とを設けているが、転送終了セクタ番号の
代りに転送すべきセクタ数をセットするものとしてもよ
い。また、転送終了メモリアドレスの代りに、転送する
データ数をセットするものとしてもよい。
In the embodiment of FIG. 1, a transfer end sector number 3 for detecting the end point of the data transfer and a transfer end memory address 5 for setting the last address of the data transfer are provided. However, the number of sectors to be transferred may be set instead of the transfer end sector number. Further, instead of the transfer end memory address, the number of data to be transferred may be set.

【0024】[0024]

【発明の効果】以上説明したように、本発明のディスク
型記憶装置の制御装置は、転送開始セクタ番号をセット
する転送開始セクタ番号部と、転送終了セクタ番号また
は転送すべきセクタ数をセットする転送終了セクタ指定
部と、転送開始メモリアドレスをセットする転送開始メ
モリアドレス部と、転送終了メモリアドレスまたは転送
するデータ数をセットする転送終了メモリ指定部と、デ
ータの転送を行うバッファメモリのアドレスを自動的に
生成するアドレス生成回路とを設け、シーク動作が終了
した時点においてヘッドが存在していることを検出した
セクタ番号の次の番号のセクタからデータ転送を開始す
るように構成することにより、データ転送開始までの待
時間を短縮することができるという効果がある。
As described above, the control apparatus for a disk-type storage device according to the present invention sets the transfer start sector number for setting the transfer start sector number, and sets the transfer end sector number or the number of sectors to be transferred. A transfer end sector designation section, a transfer start memory address section for setting a transfer start memory address, a transfer end memory designation section for setting a transfer end memory address or the number of data to be transferred, and an address of a buffer memory for data transfer. By automatically generating an address generation circuit, and starting data transfer from the sector next to the sector number that has detected that the head is present at the time when the seek operation is completed, There is an effect that the waiting time until the start of data transfer can be reduced.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】図1の実施例の動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing the operation of the embodiment of FIG.

【図3】図1の実施例において、ディスク型記憶装置を
アクセスするときにデータを転送するセクタ数と、転送
完了までにヘッドが通過するセクタ数との関係を示す特
性図である。
FIG. 3 is a characteristic diagram showing a relationship between the number of sectors to which data is transferred when accessing the disk-type storage device and the number of sectors through which a head passes before the transfer is completed in the embodiment of FIG. 1;

【図4】従来のディスク型記憶装置の制御装置の一例を
示すブロック図である。
FIG. 4 is a block diagram illustrating an example of a conventional control device for a disk storage device.

【図5】図4の例の動作を示すフローチャートである。FIG. 5 is a flowchart illustrating an operation of the example of FIG. 4;

【図6】図4の例において、ディスク型記憶装置をアク
セスするときにデータを転送するセクタ数と、転送完了
までにヘッドが通過するセクタ数との関係を示す特性図
である。
FIG. 6 is a characteristic diagram showing a relationship between the number of sectors to which data is transferred when accessing the disk-type storage device and the number of sectors through which the head passes until the transfer is completed in the example of FIG.

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

1・41 ディスク制御装置 2・42 転送開始セクタ番号 3・43 転送終了セクタ番号 4 転送開始メモリアドレス 5 転送終了メモリアドレス 6・46 現在セクタ番号センス 7 アドレス生成回路 8・48 データフォーマット変更回路 9 制御信号生成回路 10 ディスク型記憶装置 11 バッファメモリ 18 アドレス信号 31・71 最小セクタ数 32・72 平均セクタ数 33・73 最大セクタ数 21〜27・61〜64 ステップ 51 ダイレクトメモリコントローラ(DMAC) 54 転送開始アドレス 55 転送終了アドレス 1.41 Disk controller 2.42 Transfer start sector number 3.43 Transfer end sector number 4 Transfer start memory address 5 Transfer end memory address 6.46 Current sector number sense 7 Address generation circuit 8.48 Data format change circuit 9 Control Signal generation circuit 10 Disk type storage device 11 Buffer memory 18 Address signal 31.71 Minimum sector number 32.72 Average sector number 33.73 Maximum sector number 21 to 27.61 to 64 Step 51 Direct memory controller (DMAC) 54 Start transfer Address 55 Transfer end address

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ディスク型記憶装置の記憶媒体の転送を
開始するトラックのセクタ番号をセットする転送開始セ
クタ番号部と、前記記憶媒体の転送を終了するトラック
セクタ番号または転送するセクタ数をセットする転送
終了セクタ指定部と、バッファメモリの転送を開始する
メモリアドレスをセットする転送開始メモリアドレス部
と、前記バッファメモリの転送を終了するメモリアドレ
スまたは転送するデータ数をセットする転送終了メモリ
指定部と、前記バッファメモリのデータの転送を行うア
ドレスを自動的に生成するアドレス生成回路とを設け、
シーク動作が終了した時点においてヘッドが存在してい
現在セクタ番号を検出し、前記現在セクタ番号が前記
転送開始セクタ番号部にセットしてある開始セクタ番号
と前記転送終了セクタ指定部から得られる終了セクタ番
号との間の番号であるときは、前記現在セクタ番号の次
の番号のセクタから前記終了セクタ番号までのデータを
前記バッファメモリに転送して前記記憶媒体が回転して
前記開始セクタ番号が前記ヘッドの位置に到達するのを
待って前記開始セクタ番号から前記現在セクタ番号まで
のデータを前記バッファメモリに転送し、前記現在セク
タ番号が前記開始セクタ番号と前記終了セクタ番号との
間の番号でないときは、前記記憶媒体が回転して前記開
始セクタ番号が前記ヘッドの位置に到達するのを待って
前記開始セクタ番号から前記終了セクタ番号までのデー
タを前記バッファメモリに転送することを含むことを特
徴とするディスク型記憶装置の制御装置。
1. A transfer start sector number section for setting a sector number of a track for starting transfer of a storage medium of a disk storage device, and a track for ending transfer of the storage medium.
A transfer end sector designating section for setting a sector number or the number of sectors to be transferred, a transfer start memory address section for setting a memory address for starting transfer of the buffer memory, and a memory address for ending transfer of the buffer memory or transferring. a transfer end memory designation unit that sets the number of data, and an address generation circuit for automatically generating an address for transferring data in the buffer memory is provided,
When the seek operation is completed, the current sector number where the head is present is detected, and the current sector number is
Start sector number set in the transfer start sector number part
And the end sector number obtained from the transfer end sector designation section
If it is a number between the current sector number and the next sector number, the data from the sector next to the current sector number to the end sector number is
Transfer to the buffer memory and rotate the storage medium
Check that the starting sector number reaches the position of the head.
Wait from the start sector number to the current sector number
The data of the current section is transferred to the buffer memory.
Is the start sector number and the end sector number.
If not, the storage medium rotates to open the
Wait for the start sector number to reach the head position
Data from the start sector number to the end sector number
A controller for transferring data to the buffer memory .
JP4193504A 1992-07-21 1992-07-21 Control device for disk storage device Expired - Lifetime JP2786061B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4193504A JP2786061B2 (en) 1992-07-21 1992-07-21 Control device for disk storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4193504A JP2786061B2 (en) 1992-07-21 1992-07-21 Control device for disk storage device

Publications (2)

Publication Number Publication Date
JPH0635611A JPH0635611A (en) 1994-02-10
JP2786061B2 true JP2786061B2 (en) 1998-08-13

Family

ID=16309154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4193504A Expired - Lifetime JP2786061B2 (en) 1992-07-21 1992-07-21 Control device for disk storage device

Country Status (1)

Country Link
JP (1) JP2786061B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02231621A (en) * 1989-03-06 1990-09-13 Hitachi Ltd Information transfer system for rotary memory device
JPH04102916A (en) * 1990-08-22 1992-04-03 Nec Corp Magnetic disk device

Also Published As

Publication number Publication date
JPH0635611A (en) 1994-02-10

Similar Documents

Publication Publication Date Title
US4598357A (en) Cache/disk subsystem with file number for recovery of cached data
US4558446A (en) Memory system
US4910614A (en) Disk controller for a plurality of magnetic disk drives
JP3103258B2 (en) Disk unit
JPS5843777B2 (en) Rotating magnetic storage device
US4480277A (en) Information processing system
JP2786061B2 (en) Control device for disk storage device
US4575774A (en) Disk subsystem read write control
US6795893B2 (en) Recordable disk recording controller with batch register controller
US6603621B1 (en) System and method for storing disk sector information
JPH01171044A (en) Method for positioning block of memory
JPS6013360A (en) Storage device
JPH0562360A (en) System for processing defective sector of rotary type storage device
JP2001014219A (en) Method and device for controlling cache
JPS597147B2 (en) magnetic bubble storage device
JPH04351764A (en) Magnetic disk device
JPH0628779A (en) Method for recording and controlling data in disk device
JPH10177786A (en) Semiconductor memory
US20050015542A1 (en) Multiple write storage device
JPH04241296A (en) Memory initialization system
JPS61196323A (en) Rotary disk control system
JPH0635620A (en) System for controlling storage device
JPS5840271B2 (en) memory device
JPH05274088A (en) Buffer memory controller for data recording and reproducing device
JPS6149229A (en) Information processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980421