JPH02280221A - System for controlling disk - Google Patents

System for controlling disk

Info

Publication number
JPH02280221A
JPH02280221A JP10273989A JP10273989A JPH02280221A JP H02280221 A JPH02280221 A JP H02280221A JP 10273989 A JP10273989 A JP 10273989A JP 10273989 A JP10273989 A JP 10273989A JP H02280221 A JPH02280221 A JP H02280221A
Authority
JP
Japan
Prior art keywords
disk
address
recording medium
access time
data
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
JP10273989A
Other languages
Japanese (ja)
Inventor
Shinya Watanabe
信也 渡辺
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP10273989A priority Critical patent/JPH02280221A/en
Publication of JPH02280221A publication Critical patent/JPH02280221A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve a data processing speed by obtaining a time necessary for accessing the sector of an object and reading data from a disk device to take the shortest access time. CONSTITUTION:A cylinder address holding means 100 (registers 41 and 42) reads and holds the cylinder address of a recording medium 10 of disk devices 21 and 22 in which a magnetic head 13 is positioned at present. A rotary posi tion address detecting means 101 (interfaces 91 and 92) detects the rotary moving address of the recording medium 10 of the disk devices 21 and 22. An access time arithmetic means (access time arithmetic part 7) calculates a time necessary for accessing a sector 12 of the object on the recording medium from the cylin der address and rotary position address, and the data of the object are read form the disk device corresponding to the device having the shortest time calcu lated by the access time arithmetic means 7. Thus, the access time in the data read from the disk device can be shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は複数のディスク装置のいずれかを選択して制
御するディスク制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a disk control method for selecting and controlling one of a plurality of disk devices.

〔従来の技術〕[Conventional technology]

従来から、計算機システムにおいてディスク装置が故障
した場合、そのディスク装置を使用できなくなるので、
同一のデータを記録した複数のディスク装置が備えられ
ている。したがって、以降の処理は故障したディスク装
置に代わる他のディスク装置からのデータにより処理が
行われる。
Traditionally, when a disk device fails in a computer system, the disk device becomes unusable.
A plurality of disk devices are provided that record the same data. Therefore, subsequent processing is performed using data from another disk device that replaces the failed disk device.

第4図は従来のディスク制御装置を説明するためのブロ
ック図である0図において、1はディスク装置21.2
2を制御するディスク制御装置、3はディスク制御装置
lに備えられるコマンド処理部、41.42は同じくデ
ィスク制御装置Iに備えられるレジスタ、5はディスク
制御装置1とディスク装置21.22とを接続するディ
スク装置インタフェースバス、6はディスク制御装置1
と例えばホストコンピュータとを接続するホストインタ
フェースバスである。上記レジスタ41゜42はそれぞ
れの磁気ヘッド(図示せず)が位置するディスク装置2
1.22の各記録媒体(磁気ディスク円板)のシリンダ
アドレスを保持するものである。上記コマンド処理部3
はホストコンピュータからのコマンドを処理して所定の
8制御を行われるものである。
FIG. 4 is a block diagram for explaining a conventional disk control device. In FIG. 0, 1 is a disk device 21.2.
3 is a command processing unit provided in the disk control device I, 41.42 is a register also provided in the disk control device I, and 5 connects the disk control device 1 and the disk devices 21.22. a disk device interface bus, 6 is a disk control device 1;
and, for example, a host computer. The registers 41 and 42 correspond to the disk drives 2 in which respective magnetic heads (not shown) are located.
1.22 cylinder addresses of each recording medium (magnetic disk disk) are held. The above command processing section 3
The controller processes commands from the host computer to perform eight predetermined controls.

次に動作について説明する。ディスク装置21゜22は
マスタ、サブマスタの関係で用いられており、したがっ
て前提条件として両方の記録媒体には同一データが記録
されているものとする。まず、ホストインタフェースバ
ス6を介してホストコンピュータからディスク装置21
又は22からデータを読み込むためのデイスクリード命
令がディスク制御装置1に指示されると、コマンド処理
部3は2つのレジスタ41.42の内容であるシリンダ
アドレス(現在磁気ヘッドが位置するシリンダアドレス
)を参照して、記録媒体上の目的のセクタがあるシリン
ダに近い所に現在位置する磁気ヘッドを有するディスク
装置を選択する0例えば、レジスタ42の値の方がレジ
スタ41の値よりも目的のシリンダアドレスの値に近け
れば、ディスク装置22が選択され、ディスク装置イン
タフェースバス5を介して目的のデータのシーク処理、
記録媒体の回転待、データの読み出し処理が実行される
Next, the operation will be explained. The disk devices 21 and 22 are used in a master and submaster relationship, so it is assumed that the same data is recorded on both recording media as a prerequisite. First, the disk device 21 is connected from the host computer via the host interface bus 6.
Or, when a disk read command to read data from 22 is issued to the disk controller 1, the command processing unit 3 reads the cylinder address (the cylinder address where the magnetic head is currently located) that is the contents of the two registers 41 and 42. 0. For example, the value of register 42 is higher than the value of register 41. If the value is close to , the disk device 22 is selected, and the target data is sought through the disk device interface bus 5.
Waiting for the recording medium to rotate and data reading processing are executed.

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

従来のディスク制御装置は上述したように構成されてい
るので、2台のディスク装置がマスク、サブマスクの関
係で使われるような場合には記録媒体の回転待時間が考
慮されておらず、どちらのディスク装置からデータを読
み出すのが早いかが判定できない、したがって、このよ
うな従来のディスク制御装置ではディスク装置からのデ
ータ読出しにおけるアクセス時間を短縮するのが難しい
という問題点があった。
Conventional disk control devices are configured as described above, so when two disk devices are used in a mask and submask relationship, the rotational waiting time of the recording medium is not taken into account, and either There is a problem in that it is difficult to determine whether it is fast to read data from a disk device, and therefore it is difficult to shorten the access time when reading data from a disk device in such a conventional disk control device.

この発明は上記のような問題点を解決するためになされ
たもので、ディスク装置からのデータ読出しにおけるア
クセス時間の短縮化を図ることができるディスク制御方
式を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a disk control method that can shorten the access time when reading data from a disk device.

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

この発明に係るディスク制御方式は、現在磁気ヘッド1
3が位置するディスク装置21.22の記録媒体10の
シリンダアドレスを読み取り保持するシリンダアドレス
保持手段100 (レジスタ41.42)と、ディスク
装置21.22’の記録媒体10の回転位置アドレスを
検出する回転位置アドレス検出手段101  (インタ
フェース91゜92)と、このシリンダアドレス保持手
段100に保持されたシリンダアドレスと回転位置アド
レス検出手段101で検出された回転位置アドレスとか
ら記録媒体10上の目的のセクタ12をアクセスするの
に要する時間を計算するアクセス時間演算手段(アクセ
ス時間演算部7)とを備え、このアクセス時間演算手段
で計算された時間が最も短いものに対応するディスク装
置からデータを読み出すことを特徴とするものである。
The disk control method according to the present invention currently has a magnetic head 1
The cylinder address holding means 100 (register 41.42) reads and holds the cylinder address of the recording medium 10 of the disk drive 21.22 where the disk drive 3 is located, and detects the rotational position address of the recording medium 10 of the disk drive 21.22'. The rotational position address detection means 101 (interfaces 91 and 92) determines the target sector on the recording medium 10 from the cylinder address held in the cylinder address holding means 100 and the rotational position address detected by the rotational position address detection means 101. 12, and reads data from the disk device corresponding to the shortest time calculated by the access time calculation means. It is characterized by:

〔作用〕[Effect]

シリンダアドレス保持手段100  (レジスタ41.
42)は現在磁気ヘッド13が位置するディスク装置2
1.22の記録媒体10のシリンダアドレスを読み取り
保持する。回転位置アドレス検出手段101 (インタ
フェース91.92>はディスク装置21.22の記録
媒体10の回転位置アドレスを検出する。アクセス時間
演算手段(アクセス時間演算部7)は、上記シリンダア
ドレスと上記回転位置アドレスとから記録媒体lO上の
目的のセクタ12をアクセスするのに要する時間を計算
する。したがって、目的のデータはアクセス時間演算手
段(アクセス時間演算部7)で計算された時間が最も短
いものに対応するディスク装置から読み出される。
Cylinder address holding means 100 (register 41.
42) is the disk device 2 where the magnetic head 13 is currently located.
The cylinder address of the recording medium 10 of 1.22 is read and held. The rotational position address detection means 101 (interfaces 91.92) detects the rotational position address of the recording medium 10 of the disk device 21.22.The access time calculation means (access time calculation unit 7) detects the rotational position address of the recording medium 10 of the disk device 21.22. The time required to access the target sector 12 on the recording medium IO is calculated from the address. Therefore, the target data is stored in the data whose time is the shortest as calculated by the access time calculation means (access time calculation unit 7). Read from the corresponding disk device.

〔発明の実施例〕[Embodiments of the invention]

第1図はこの発明の一実施例に係るディスク制御方式の
構成を説明するためのブロック図である。
FIG. 1 is a block diagram for explaining the configuration of a disk control system according to an embodiment of the present invention.

第1図において、第4図に対応する構成要素には同一の
符号を付し、その説明を省略する。第1図において、7
はシリンダアドレス保持手段100としてのレジスタ4
1.42に保持されたシリンダアドレスと下記回転位置
アドレスとからディスク装置21.22の各記録媒体上
の目的のセクタをアクセスするの要する時間を計算する
アクセス時間演算手段としてのアクセス時間演算部であ
る。
In FIG. 1, components corresponding to those in FIG. 4 are designated by the same reference numerals, and their explanations will be omitted. In Figure 1, 7
is the register 4 as the cylinder address holding means 100
1. An access time calculation unit as an access time calculation means that calculates the time required to access a target sector on each recording medium of the disk device 21.22 from the cylinder address held in 1.42 and the rotational position address below. be.

81はディスク装置21の記録媒体の回転位置アドレス
をアクセス時間演算部7に伝えるための回転位置アドレ
スバス、82はディスク装置22の記録媒体の回転位置
アドレスをアクセス時間演算部7に伝えるための回転位
置アドレスバスである。
81 is a rotational position address bus for transmitting the rotational position address of the recording medium of the disk device 21 to the access time calculation section 7; 82 is a rotational position address bus for transmitting the rotational position address of the recording medium of the disk device 22 to the access time calculation section 7. It is a location address bus.

91.92はディスク装置21.22の記録媒体の回転
位置アドレスをそれぞれ検出する回転位置アドレス検出
手段101としてのインタフェースである。第2図はデ
ィスク装置21.22に備えられる記録媒体(磁気ディ
スク)の構成図であり、10は記録媒体、11はシリン
ダ、12はセクタ、13は磁気ヘッドを示す。
Reference numerals 91 and 92 designate interfaces as rotational position address detection means 101 for detecting the rotational position addresses of the recording media of the disk devices 21 and 22, respectively. FIG. 2 is a block diagram of a recording medium (magnetic disk) provided in the disk device 21, 22, where 10 is a recording medium, 11 is a cylinder, 12 is a sector, and 13 is a magnetic head.

次に第1図および第2図を参照してこの実施例の動作に
ついて説明する。ホストインタフェースバス6を介して
図示しないホストコンピュータからディスク制御装置1
にディスク装置21又は22のデータを読み取るための
デイスクリード命令が指示されると、コマンド処理部3
はアクセス時間演算部7に対して2台のディスク装置2
1゜22の各記録媒体10の目的セクタ12までのアク
セス時間を計算するように要求する。これにより、アク
セス時間演算部7は、インタフェース91.92から回
転位置アドレスバス81.82を通して送られてくる各
ディスク装置21.22の回転位置アドレスと、レジス
タ21.22の内容であるシリンダアドレスとを用いて
、磁気へラド13による目的セクタ12までのアクセス
時間を計算して、その結果をコマンド処理部3に返す。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2. The disk controller 1 is connected from a host computer (not shown) via a host interface bus 6.
When a disk read command is issued to read data from the disk device 21 or 22, the command processing unit 3
The two disk devices 2 are connected to the access time calculation unit 7.
1. A request is made to calculate the access time to the target sector 12 of each recording medium 10 of 1.22 degrees. As a result, the access time calculation section 7 receives the rotational position address of each disk device 21.22 sent from the interface 91.92 through the rotational position address bus 81.82, and the cylinder address that is the content of the register 21.22. is used to calculate the access time to the target sector 12 by the magnetic herad 13, and the result is returned to the command processing section 3.

したがって、コマンド処理部3は目的セクタ12までの
アクセス時間が短い方のディスク装置を選択し、データ
のシーク処理、記録媒体10の回転待ち、およびデータ
の読み出し処理を実行する。
Therefore, the command processing unit 3 selects the disk device with the shorter access time to the target sector 12, and executes data seek processing, waiting for rotation of the recording medium 10, and data reading processing.

なお、上記実施例ではディスク装置を2台接続したもの
を示したが、第3図に示すようにディスク装置を3台接
続してもよいし、更に4台以上接続してもよい。
In the above embodiment, two disk devices are connected, but as shown in FIG. 3, three disk devices or four or more disk devices may be connected.

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

以上のように本発明によれば、複数のディスク装置から
記録媒体の回転位置アドレスを読み取り、この回転位置
アドレスと現在磁気ヘッドが位置するシリンダアドレス
とから目的のセクタにアクセスするのに要する時間を求
め、最も短いアクセス時間で済むディスク装置からデー
タを読み出すように構成したので、ディスク装置からの
データ読出しにおけるアクセス時間が短縮化され、デー
タ処理速度の向上を図れるという効果が得られる。
As described above, according to the present invention, the rotational position address of the recording medium is read from a plurality of disk devices, and the time required to access the target sector is determined based on the rotational position address and the cylinder address where the magnetic head is currently located. Since the data is read from the disk device that requires the shortest access time, the access time for reading data from the disk device can be shortened and the data processing speed can be improved.

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

第1図はこの発明の一実施例に係るディスク制御方式の
構成を説明するためのブロック図、第2図はこの実施例
においてディスク装置の記録媒体の構成を説明するため
の図、第3図は他の実施例に係るディスク制御装置の構
成を説明するためのブロック図、第4図は従来のディス
ク制御装置の構成を説明するためのブロック図である。 1・・・ディスク制御装置、7・・・アクセス時間演算
部(アクセス時間演算手段)、1o・・・記録媒体、1
1・・・シリンダ、12・・・セクタ、13・・・磁気
ヘッド、21,22.23・・・ディスク装置、41,
42.43・・・レジスタ(シリンダアドレス保持手段
)、9192.93・・・インタフェース(回転位置ア
ドレス検出手段)、100・・・シリンダアドレス保持
手段、101・・・回転位置アドレス検出手段。
FIG. 1 is a block diagram for explaining the configuration of a disk control system according to an embodiment of the present invention, FIG. 2 is a diagram for explaining the configuration of a recording medium of a disk device in this embodiment, and FIG. 3 4 is a block diagram for explaining the configuration of a disk control device according to another embodiment, and FIG. 4 is a block diagram for explaining the configuration of a conventional disk control device. DESCRIPTION OF SYMBOLS 1... Disk control device, 7... Access time calculation part (access time calculation means), 1o... Recording medium, 1
1... Cylinder, 12... Sector, 13... Magnetic head, 21, 22. 23... Disk device, 41,
42.43...Register (cylinder address holding means), 9192.93...Interface (rotational position address detection means), 100...Cylinder address holding means, 101...Rotational position address detection means.

Claims (1)

【特許請求の範囲】[Claims] 同一のデータが記録された複数のディスク装置を選択し
、その選択したディスク装置からデータを読み出すよう
に制御するディスク制御装置において、現在磁気ヘッド
が位置するディスク装置の記録媒体上のシリンダアドレ
スを読み取り保持するシリンダアドレス保持手段と、上
記ディスク装置の記録媒体の回転位置アドレスを検出す
る回転位置アドレス検出手段と、上記シリンダアドレス
保持手段に保持されたシリンダアドレスと回転位置アド
レス検出手段で検出された回転位置アドレスとから記録
媒体上の目的のセクタをアクセスするのに要する時間を
計算するアクセス時間演算手段とを設け、このアクセス
時間演算手段で計算された時間が最も短いものに対応す
るディスク装置からデータを読み出すことを特徴とする
ディスク制御方式。
In a disk control device that selects multiple disk drives that record the same data and controls the reading of data from the selected disk drives, reads the cylinder address on the recording medium of the disk drive where the magnetic head is currently located. a cylinder address holding means for holding a rotational position address, a rotational position address detection means for detecting a rotational position address of a recording medium of the disk device, and a cylinder address held in the cylinder address holding means and the rotation detected by the rotational position address detection means. access time calculation means for calculating the time required to access a target sector on the recording medium from the position address, and data from the disk device corresponding to the shortest time calculated by the access time calculation means. A disk control method characterized by reading.
JP10273989A 1989-04-21 1989-04-21 System for controlling disk Pending JPH02280221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10273989A JPH02280221A (en) 1989-04-21 1989-04-21 System for controlling disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10273989A JPH02280221A (en) 1989-04-21 1989-04-21 System for controlling disk

Publications (1)

Publication Number Publication Date
JPH02280221A true JPH02280221A (en) 1990-11-16

Family

ID=14335610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10273989A Pending JPH02280221A (en) 1989-04-21 1989-04-21 System for controlling disk

Country Status (1)

Country Link
JP (1) JPH02280221A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764870A (en) * 1993-08-23 1995-03-10 Internatl Business Mach Corp <Ibm> Method for storage of data block of digital information and disk storage apparatus for it
JP2011192303A (en) * 2011-05-31 2011-09-29 Nec Infrontia Corp Control device and control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764870A (en) * 1993-08-23 1995-03-10 Internatl Business Mach Corp <Ibm> Method for storage of data block of digital information and disk storage apparatus for it
JP2011192303A (en) * 2011-05-31 2011-09-29 Nec Infrontia Corp Control device and control method

Similar Documents

Publication Publication Date Title
JP2759920B2 (en) Method and apparatus for operating a DASD peripheral data storage subsystem
JPH02280221A (en) System for controlling disk
JPH11175261A (en) Control method for disk
JP3341094B2 (en) Recording medium reading device
JPH0542071B2 (en)
JPS6325876A (en) Optical disk controller
JP2794839B2 (en) Recording and playback device
JPS5969856A (en) Method for controlling built-in magnetic disc
JP3104288B2 (en) Disk control system
JPH08255414A (en) External memory
JPH0452548B2 (en)
JP2605588B2 (en) CD-ROM device with high-speed access mechanism
JPS6095762A (en) Magnetic disc controller
JPH03273428A (en) Optical disk processor
JPS61251927A (en) Magnetic disc controller
JPH0765509A (en) Disk apparatus and alternative processing method
JPS63276118A (en) Access system for magnetic disk device
JPH03194766A (en) Disk access control system
JPS6286425A (en) Magnetic disc control device
JPH03164843A (en) Optical disk processing device
JPH05217286A (en) Magnetic disk controller
JPH02189768A (en) Medium defect processing method for disk device
JPS59157813A (en) Controller for magnetic memory of rotor
JPS6149229A (en) Information processor
JPH0683542A (en) Control method for floppy disk controller