JPS61224111A - Magnetic disc device - Google Patents

Magnetic disc device

Info

Publication number
JPS61224111A
JPS61224111A JP6596585A JP6596585A JPS61224111A JP S61224111 A JPS61224111 A JP S61224111A JP 6596585 A JP6596585 A JP 6596585A JP 6596585 A JP6596585 A JP 6596585A JP S61224111 A JPS61224111 A JP S61224111A
Authority
JP
Japan
Prior art keywords
execution request
execution
read
request
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
JP6596585A
Other languages
Japanese (ja)
Inventor
Hideto Sakanishi
坂西 秀人
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP6596585A priority Critical patent/JPS61224111A/en
Publication of JPS61224111A publication Critical patent/JPS61224111A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To improve the data transfer efficiency between a CPU and a magnetic disc by selecting an execution request with the nearest corresponding track position so as to control a disc thereby eliminating useless movement of a magnetic head. CONSTITUTION:When only one read/write execution request is held, a control signal is formed based on the read/write execution request held in a holding means 31 and the signal is outputted to a magnetic disc 2. When >=2 read/write execution requests are held, whether or not execution requests kept awaited for m-time or over exists is discriminated. If such request exists, the execution request kept waited for m-time is selected, the control signal is formed based on the said execution request and the result is outputted to a magnetic disc 2. When no such request exists, an execution request having the nearest track location from the present magnetic head position is selected out of the plural execution requests stored in the holding means 31, the control signal is formed based on the selected execution request and the result is outputted to the disc 2.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、中央処理装置と磁気ディスク部とのデータ転
送の効率をあげるようにした磁気ディスク装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a magnetic disk device that improves the efficiency of data transfer between a central processing unit and a magnetic disk unit.

(従来の技術) 第3図は、磁気ディスク装置を持つコンピュータシステ
ムの構成ブロック図である。図において、lは中央処理
装置(以下CPUと略す)、2はディスク部、3はCP
UIと磁気ディスク部2との間に設けられたディスク制
御装置で、磁気ディスク部2をCPUIからの信号に基
づいて制御する。このディスク制御装置3は、CPUI
から、磁気ディスク部2に、リード/ライトの要求が順
次比されると、その要求順に、アクセスすべきデータの
アドレスを、装置番号、トラック番号、ヘッド番号、セ
クタ番号等に変換処理する。磁気ディスク部2は、高速
で回転する円板の記録媒体と、この記録媒体に対して微
小間隙で対向する磁気ヘッドとからなシ、CPUIから
のデータを書き込む時又は、CPUIにデータを読み出
す時、まず、磁気ヘッドを、リード/ライトするデータ
のあるトラックに移動(ボジシ呂グ)させ、次に先頭ア
ドレスが来るまで円板が回転するのを待ち、実際のリー
ド/ライト動作(データ転送)を行なうようになってい
る。
(Prior Art) FIG. 3 is a block diagram of a computer system having a magnetic disk device. In the figure, l is the central processing unit (hereinafter abbreviated as CPU), 2 is the disk unit, and 3 is the CPU.
A disk control device provided between the UI and the magnetic disk section 2 controls the magnetic disk section 2 based on signals from the CPUI. This disk control device 3 has a CPU
When read/write requests are sequentially sent to the magnetic disk unit 2, the address of the data to be accessed is converted into a device number, track number, head number, sector number, etc. in the order of the requests. The magnetic disk unit 2 consists of a disc recording medium that rotates at high speed and a magnetic head that faces the recording medium with a minute gap. First, move the magnetic head to the track containing the data to be read/written (position log), then wait for the disk to rotate until the first address arrives, and then perform the actual read/write operation (data transfer). It is now possible to do this.

ここで、ボジシ璽二ング時間1回転待時間、データ転送
速度は、装置の大きさにもよるが、−例を示せば次の通
シである。
Here, the registration time, the waiting time for one rotation, and the data transfer rate depend on the size of the device, but the following is an example.

(a)  ボジシ雪二ング時間 最小5ms平均20m
5最大40m5 伽)回転待時間 平均8.3m5 (C)  データ転送速度 1.3MB /秒ボジシ嘗
二ング時間の最小と最大の時間差35m5は、磁気ヘッ
ドが近くのトラックに移動する場合と、遠くに移動する
場合との差である。
(a) Bojishi snow two time Minimum 5ms Average 20m
5 Maximum 40m5 (C) Rotation waiting time Average 8.3m5 (C) Data transfer rate 1.3MB/sec There is a difference of 35m5 between the minimum and maximum positioning time when the magnetic head moves to a nearby track and when it moves to a far away track. This is the difference when moving to .

(発明が解決しようとする問題点) このために、従来技術においては、CPUIからディス
ク部2に、リード/ライトの要求が順次複数用され、デ
ータのあるトラック位置が遠く離れた所に位置する場合
、磁気ヘッドを移動させ、所定の先頭アドレスが来るま
で待つ時間が長くかがシデータ転送効率が低下するとい
う問題点がある。
(Problem to be Solved by the Invention) For this reason, in the prior art, multiple read/write requests are made sequentially from the CPU to the disk unit 2, and the track position where data is located is located far away. In this case, the longer it takes to move the magnetic head and wait until a predetermined leading address arrives, the more the data transfer efficiency deteriorates.

本発明は、従来技術におけるこのような問題点に鑑みて
なされたもので、その目的は、磁気ヘッドの無駄な移動
を除外し、CPUIと磁気ディスク部2とのデータ転送
効率を向上させることのできる磁気ディスク装置を実現
しようとすゐものである。
The present invention has been made in view of such problems in the prior art, and its purpose is to eliminate unnecessary movement of the magnetic head and improve data transfer efficiency between the CPUI and the magnetic disk unit 2. We are trying to realize a magnetic disk device that can.

(問題点を解決するための手段) 前記した問題点を解決する本発明は、中央処理装置と、
この中央処理装置に結合するディスク制御装置と、この
ディスク制御装置からの信号に基づいて制御されるディ
スク部とを備えた装置において、前記ディスク制御装置
に、前記中央処理装置からのリード/ライン実行要求を
複数個保持する保持手段と、ディスク部の現在の磁気ヘ
ッド位置から判断し前記保持手段に保持された複数個の
実行要求のなかで対応するトラック位置が最も近い実行
要求を選択する選択手段とを設け、前記ディスク制御装
置は、選択手段によって選択された実行要求に基づいて
前記ディスク部を制御することを特徴としている。
(Means for Solving the Problems) The present invention for solving the above-mentioned problems includes a central processing unit,
In an apparatus comprising a disk control device coupled to this central processing unit and a disk section controlled based on signals from this disk control device, read/line execution from the central processing unit is provided to the disk control device. holding means for holding a plurality of requests; and selection means for selecting an execution request whose corresponding track position is closest from among the plurality of execution requests held by the holding means based on the current magnetic head position of the disk unit. The disk control device is characterized in that it controls the disk unit based on the execution request selected by the selection means.

(実施例) 第1図は、本発明に係る装置の構成ブロック図である。(Example) FIG. 1 is a block diagram of the configuration of an apparatus according to the present invention.

図において、lはCPU、2は磁気ディスク部、3は磁
気ディスク部2を制御するディスク制御装置である。こ
の構成は第3図のものと同様である。ディスク制御装置
3において、31はCPU 1からのリード/ライト実
行要求を複数個(最大n個)保持する保持手段で、例え
ば謔が用いられている。ここでnは、所定時間の間に実
行要求が出される最大数を特定して決められる。32は
ディスク部2の磁気ヘッドの現在の位置(トラック位置
)に関する信号を出力する磁気ヘッド位置信号出力手段
、33は磁気ヘッド位置信号出力手段32からの信号を
入力し、現在の磁気ヘッド位置から判断し、保持手段3
1に保持された複数個のリード/ライト実行要求のなか
で、シークすべきトラック位置が現在の磁気ヘッド位置
から最も近い実行要求を選択する選択手段、34は選択
手段33で選択されたリード/ライト実行要求に基づい
て、制御信号を磁気ディスク部2に出力する出力手段で
ある。
In the figure, 1 is a CPU, 2 is a magnetic disk unit, and 3 is a disk control device that controls the magnetic disk unit 2. This configuration is similar to that in FIG. In the disk control device 3, 31 is a holding means for holding a plurality of read/write execution requests (maximum n pieces) from the CPU 1, and for example, a song is used. Here, n is determined by specifying the maximum number of execution requests issued during a predetermined period of time. 32 is a magnetic head position signal output means for outputting a signal regarding the current position (track position) of the magnetic head of the disk unit 2; 33 is a signal input from the magnetic head position signal output means 32, and outputs a signal from the current magnetic head position. Judging and holding means 3
Selection means 34 selects the execution request whose track position to seek is closest to the current magnetic head position among the plurality of read/write execution requests held in 1; It is an output means for outputting a control signal to the magnetic disk unit 2 based on a write execution request.

選択手段33.出力手段34は、いずれもマイクロプロ
セッサを用いて構成される。
Selection means 33. The output means 34 is configured using a microprocessor.

とのように構成された装置の動作を次に第2図を参照し
ながら説明する。
The operation of the apparatus constructed as above will now be explained with reference to FIG.

第2図は、ディスク制御装置3の動作の一例を示すフロ
ーチャートである。ディスク制御装置3は、はじめK、
ディスク装置が要求を処理中かどうか判断しくステップ
l)、処理中でない場合、保持手段31に!!求がある
かどうか判断しくステップ2)、ここであると判断され
ると、ステップ3に移る。ここでは、保持手段31に2
以上のリード/ライト実行要求が保持されているかどう
か判断する(ステップ3)、ここで、1つのリード/ラ
イト実行要求しか保持されていない場合(anolの場
合)、ステップ2に移シ、保持手段31に保持されてい
るリード/ライト実行要求に基づき、制御信号をつ〈シ
、これを磁気ディスク部2に出力する。ステップ3にお
いて、2以上のリード/ライト実行要求が保持されてい
る場合(# ye s lの場合)。
FIG. 2 is a flowchart showing an example of the operation of the disk control device 3. The disk control device 3 initially has K,
It is determined whether the disk device is processing the request or not in step l), and if it is not processing the request, the holding means 31! ! If it is determined that there is a request, the process moves to step 3. Here, the holding means 31 has two
Determine whether or not the above read/write execution requests are held (step 3). If only one read/write execution request is held (in the case of anol), proceed to step 2. Holding means Based on the read/write execution request held in 31, a control signal is generated and output to the magnetic disk unit 2. In step 3, if two or more read/write execution requests are held (#yes l).

ステップ5に移り、ここで、2以上のリード/ライト実
行要求のうち1m回以上待たされている実行要求がある
かどうか判断する@ことで、もし、そのような実行要求
がある場合(@ y e s @の場合)ステップ6に
移シ、ここでm回待たされている実行要求を選択し、こ
の実行要求に基づき制御信号をつくシ、これを磁気ディ
スク部2に出力する。
Proceeding to step 5, here, it is determined whether there is an execution request that has been waited for 1m or more times among the two or more read/write execution requests, and if there is such an execution request (@y In the case of es @), the process moves to step 6, where the execution request that has been awaited m times is selected, a control signal is generated based on this execution request, and this is output to the magnetic disk unit 2.

また、ステップ5において、m回以上待たされてれてい
る複数個の実行要求のなかで、対応するトラック位置が
現在の磁気ヘッド位置から最も近い実行要求を選択し、
選択した実行要求に基づいて制御信号をつ〈シ、これを
ディスク部2に出力する。
In step 5, the execution request whose corresponding track position is closest to the current magnetic head position is selected among the plurality of execution requests that have been waited for m or more times;
Based on the selected execution request, a control signal is generated and output to the disk unit 2.

このような動作によって、複数の実行要求があった場合
、磁気ディスク部2における磁気ヘッドのボジシ1エン
グ時間が常に最少となシ、データ転送の実効速度を向上
させることができる。第2図のフローは、CPUIがリ
ード/ライトの要求を出した時で、かつディスク装置が
データ転送を完了し何もしていない場合、ディスク装置
がリード/ライトの動作を完了した時のタイミングで起
動される。
By such an operation, even when there are multiple execution requests, the time required for one position of the magnetic head in the magnetic disk unit 2 is always minimized, and the effective speed of data transfer can be improved. The flow in Figure 2 is when the CPUI issues a read/write request, and if the disk device has completed data transfer and is not doing anything, the timing is when the disk device has completed the read/write operation. will be activated.

(発明の効果) 以上説明したように1本発明によれは、磁気ヘッドの無
駄な移動がなくなるので、データ転送効率を向上させる
ことができる磁気ディスク装置が実現できる。
(Effects of the Invention) As described above, according to the present invention, unnecessary movement of the magnetic head is eliminated, so a magnetic disk device that can improve data transfer efficiency can be realized.

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

第1図は、本発明装置の構成ブロック図、IJ2図は第
1図におけるディスク制御装置の動作の一例を示す7a
−チャート、第3図は磁気ディスク装置を持つコンピュ
ータシステムの構成ブロック図である。 l・・・CPU%2・・・ディスク部、3・・・ディス
ク制御装置、31・・・保持手段、32・・・磁気ヘッ
ド位置信号出力手段、33・・・選択手段、34・・・
出力手段。 代理人  弁理士  小 沢 信 助 第1図 第3図 第2図
FIG. 1 is a block diagram of the configuration of the device of the present invention, and FIG. 7a shows an example of the operation of the disk control device in FIG. 1.
-Chart, FIG. 3 is a block diagram of the configuration of a computer system having a magnetic disk device. 1...CPU%2...Disk unit, 3...Disk control device, 31...Holding means, 32...Magnetic head position signal output means, 33...Selecting means, 34...
Output means. Agent Patent Attorney Shinsuke OzawaFigure 1Figure 3Figure 2

Claims (1)

【特許請求の範囲】  中央処理装置と、この中央処理装置に結合するディス
ク制御装置と、このディスク制御装置からの信号に基づ
いて制御されるディスク部とを備えた装置において、 前記ディスク制御装置に、前記中央処理装置からのリー
ド/ライト実行要求を複数個保持する保持手段と、ディ
スク部の現在の磁気ヘッド位置から判断し前記保持手段
に保持された複数個の実行要求のなかで対応するトラッ
ク位置が最も近い実行要求を選択する選択手段とを設け
、前記ディスク制御装置は、選択手段によって選択され
た実行要求に基づいて前記ディスク部を制御することを
特徴とする磁気ディスク装置。
[Scope of Claims] A device comprising a central processing unit, a disk control device coupled to the central processing unit, and a disk unit controlled based on a signal from the disk control device, wherein the disk control device includes: , a holding means for holding a plurality of read/write execution requests from the central processing unit, and a corresponding track among the plurality of execution requests held in the holding means as judged from the current position of the magnetic head of the disk unit. a selection means for selecting the execution request closest in position; and the disk control apparatus controls the disk unit based on the execution request selected by the selection means.
JP6596585A 1985-03-29 1985-03-29 Magnetic disc device Pending JPS61224111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6596585A JPS61224111A (en) 1985-03-29 1985-03-29 Magnetic disc device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6596585A JPS61224111A (en) 1985-03-29 1985-03-29 Magnetic disc device

Publications (1)

Publication Number Publication Date
JPS61224111A true JPS61224111A (en) 1986-10-04

Family

ID=13302213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6596585A Pending JPS61224111A (en) 1985-03-29 1985-03-29 Magnetic disc device

Country Status (1)

Country Link
JP (1) JPS61224111A (en)

Similar Documents

Publication Publication Date Title
JP2007273074A (en) Multiarm disk drive system for performing interleaved read/write operation, and method of controlling thereof
JP2770901B2 (en) Disk control method
JP2001307410A (en) Magnetic disk device, data recording method and data reproducing method
JPH10269027A (en) Disk device and buffer management control method in the same
JP3103258B2 (en) Disk unit
JPS61224111A (en) Magnetic disc device
KR100523183B1 (en) Reading data from a storage medium
JPH05274089A (en) Access controller for data recording and reproducing device
JPH1027069A (en) Storage device
JP3549744B2 (en) Information storage device and control method thereof
JP3579395B2 (en) Disk storage device and access method
JP2605588B2 (en) CD-ROM device with high-speed access mechanism
JPH0749664Y2 (en) Audio file device
JPH0542071B2 (en)
JPH08297917A (en) Data copying system
JPH02280221A (en) System for controlling disk
JPH05274088A (en) Buffer memory controller for data recording and reproducing device
JPH1092101A (en) Magnetic disc apparatus and its driving method
JPH05135483A (en) Information recording and reproducing device
JPH11273242A (en) Magnetic disk device
JP4440834B2 (en) Magnetic disk device and magnetic disk medium
JPS61251927A (en) Magnetic disc controller
JPS63193388A (en) Disk driving system
JPH06103510A (en) Method for processing data of recording and reproducing device
JPH07334311A (en) Magnetic disk device and method for transferring data to buffer memory of same