JPH0339351B2 - - Google Patents

Info

Publication number
JPH0339351B2
JPH0339351B2 JP58153626A JP15362683A JPH0339351B2 JP H0339351 B2 JPH0339351 B2 JP H0339351B2 JP 58153626 A JP58153626 A JP 58153626A JP 15362683 A JP15362683 A JP 15362683A JP H0339351 B2 JPH0339351 B2 JP H0339351B2
Authority
JP
Japan
Prior art keywords
disk
data
record
seek
controller
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
JP58153626A
Other languages
Japanese (ja)
Other versions
JPS6045972A (en
Inventor
Kenichi Naka
Seiji Wada
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP58153626A priority Critical patent/JPS6045972A/en
Publication of JPS6045972A publication Critical patent/JPS6045972A/en
Publication of JPH0339351B2 publication Critical patent/JPH0339351B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • G11B19/12Control of operating function, e.g. switching from recording to reproducing by sensing distinguishing features of or on records, e.g. diameter end mark
    • G11B19/122Control of operating function, e.g. switching from recording to reproducing by sensing distinguishing features of or on records, e.g. diameter end mark involving the detection of an identification or authentication mark
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/002Programmed access in sequence to a plurality of record carriers or indexed parts, e.g. tracks, thereof, e.g. for editing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/40Combinations of multiple record carriers
    • G11B2220/41Flat as opposed to hierarchical combination, e.g. library of tapes or discs, CD changer, or groups of record carriers that together store one title

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)

Description

【発明の詳細な説明】 (a) 本発明の技術分野 本発明は、同一のコントローラで、複数の種類
の異なるデイスク装置を制御する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a system for controlling a plurality of different types of disk devices using the same controller.

(b) 技術の背景 デイスク装置は、その容量の違いによりシリン
ダ数、ヘツド数及びシーク動作シーケンスが異な
るが、リード、ライトに関連する制御方法は殆ど
変わらないことが多い。
(b) Background of the Technology Disk devices differ in the number of cylinders, number of heads, and seek operation sequences depending on their capacity, but the control methods related to reading and writing are often almost the same.

従つて、上記各デイスク装置のシリンダ数、ヘ
ツド数、シーク動作シーケンスを検索できれば、
一つのコントローラで種類の異なるデイスク装置
を制御することができる。
Therefore, if the number of cylinders, number of heads, and seek operation sequence of each disk device mentioned above can be searched,
One controller can control different types of disk devices.

本発明は、このような種類の異なる複数のデイ
スク装置を制御する上での特徴に着目して考えだ
されたものである。
The present invention has been devised by focusing on the characteristics of controlling a plurality of disk devices of different types.

(c) 従来技術と問題点 従来、デイスク装置を制御する場合、デイス
ク装置が変わる毎に、デイスクコントローラにあ
る設定を変更したり、デイスクコントローラを、
接続されるデイスク装置に合わせて新設計してい
た為、コントローラの種類が多くなつたり、設定
が複雑になつたり、運用・保守上の効率を悪くす
る問題があつた。他の方法は、デイスク装置に
機種情報を設定・保持する回路を設け、コントロ
ーラからの要求(例えば、センスコマンドの発行
等)により、その応答情報として上記機種情報を
報告する方法を採つていた。
(c) Prior art and problems Conventionally, when controlling a disk device, each time the disk device changes, the settings on the disk controller must be changed or the disk controller must be changed.
Because it was newly designed to match the connected disk devices, there were problems such as an increase in the number of controller types, complicated settings, and reduced operational and maintenance efficiency. Another method is to install a circuit to set and hold model information in the disk device, and to report the above model information as response information in response to a request from the controller (for example, issuing a sense command). .

この場合、余分な回路や、センスコマンドで機
種情報を報告する為の特別なインタフエースが必
要となり、価格が高くなる問題があつた。他の
方法はシステムプログラムの中に、例えばテーブ
ルを設け、そこにデイスクコントローラに接続さ
れるデイスク装置の機種情報を設定していた為、
デイスクコントローラに接続されるデイスク装置
の種別、数が変わる毎に、システムプログラムを
変更する必要があつた。
In this case, an extra circuit and a special interface for reporting model information using sense commands are required, resulting in an increase in price. The other method is to create a table in the system program and set the model information of the disk device connected to the disk controller.
It was necessary to change the system program every time the type or number of disk devices connected to the disk controller changed.

(d) 発明の目的 本発明は上記従来の欠点に鑑み、一つのデイス
クコントローラで、ソフトウエア(システムプロ
グラム上のテーブル設定)やハードウエア上の端
子設定(フラグの設定)以外の手段で、種類の異
なるデイスク装置を制御することを可能にする方
法を提供することを目的とするものである。
(d) Purpose of the Invention In view of the above-mentioned drawbacks of the conventional technology, the present invention provides a single disk controller that allows the user to set the type of disk by means other than software (table settings on the system program) or terminal settings (flag settings) on the hardware. The object of the present invention is to provide a method that makes it possible to control different disk devices.

(e) 発明の構成 そしてこの目的は、本発明によれば、複数の種
類の異なるデイスク装置を制御するデイスクコン
トローラにおいて、デイスク記憶媒体の特定レコ
ードに、デバイス識別データを書く手紙と、該デ
ータを読み取り、その内容によつて、上記デイス
ク記憶媒体を制御する動作モードを決定する手段
と、該データをソフトウエアに通知する手段と、
該データを記録している上記レコードをプロテク
トする手段と、上記レコードをシリンダー上の対
角線上に2重化して記憶し、一方のデータが異常
な場合はもう一方のデータを使用するデバイス識
別データを保護する手段とを設け、上記設定レコ
ードの内容によつて上記デイスク装置を制御する
方法を提供することによつて達成され、デイスク
記憶媒体と特定レコードに記憶されているデバイ
ス識別データを、コントローラが読み取り、保持
し、各コマンド実行時に参照することにより、該
コントローラに接続されている任意のデイスク装
置を制御できる利点がある。
(e) Structure of the Invention According to the present invention, in a disk controller that controls a plurality of different types of disk devices, a letter in which device identification data is written in a specific record of a disk storage medium, and the data is means for reading and determining an operation mode for controlling the disk storage medium based on the data; and means for notifying software of the data;
Means for protecting the record recording the data, and device identification data for storing the record in duplicate on a cylinder diagonally, and when one data is abnormal, the other data is used. This is achieved by providing a method for controlling the disk device according to the contents of the configuration record, and a controller protects the disk storage medium and the device identification data stored in the specific record. By reading, retaining, and referring to the information when executing each command, there is an advantage that any disk device connected to the controller can be controlled.

(f) 発明の実施例 先ず、デイスク装置を制御する場合の一般的の
動作を説明する。
(f) Embodiments of the Invention First, the general operation when controlling a disk device will be explained.

中央処理装置(図示せず)において、シークコ
マンド或いはリード、ライトコマンド等が実行さ
れる。
In the central processing unit (not shown), seek commands, read commands, write commands, etc. are executed.

シークコマンドの時は、該コマンドの実行によ
つて次に実行されるリード、ライトコマンド時の
データのリード、ライト位置の決定が行われる。
然し、リード、ライトコマンドによつて、直接に
ヘツドの位置、レコードの位置を指定してリー
ド、ライトを行うこともできる。
In the case of a seek command, the execution of the command determines the next read to be executed, the data read in the write command, and the write position.
However, it is also possible to read and write by directly specifying the head position and record position using read and write commands.

本発明は、リード、ライトすべき、あるレコー
ドの位置を計算する処理、その結果としてのシー
ク動作を行うタイミングを知る為に、ヘツドHe
数、シリンダCy数、シークモードを得る方法で
ある。
The present invention calculates the position of a certain record to be read or written, and calculates the timing for performing a seek operation as a result.
This is a method to obtain the number, cylinder Cy number, and seek mode.

以下本発明の実施例を図面によつて詳述する。
第1図は本発明を実施したデイスクコントローラ
と各種デイスク装置(以下ユニツトという)との
接続例を説明する図であつて、1はデイスクコン
トローラ、11は本発明の実施に必要なデバイス
タイプ識別レジスタ(DTRR)、2はユニツトで
ある。第2図は各ユニツト番号毎のデバイスの違
いを示す図であつて、ユニツト毎にヘツドの数、
シリンダ数、シークモードが異なることが理解さ
れる。ここでシークモードがノーマルというの
は、ヘツドを一つのシリンダから次のシリンダに
移動させるのに必要な時間に従つて、パルスを出
しシーク動作を行わせるモードである。又SU/
SD付きというモードは、ヘツドを大きく移動さ
せる時に、最初は上記ノーマルな速度で移動さ
せ、中間においては高速に移動させ、最後は又ノ
ーマルな速度に落として移動させ、全体的に見て
効率的なシーク動作をおこなわせようとするもの
である。
Embodiments of the present invention will be described in detail below with reference to the drawings.
FIG. 1 is a diagram illustrating an example of connection between a disk controller embodying the present invention and various disk devices (hereinafter referred to as units), in which 1 is a disk controller, and 11 is a device type identification register necessary for implementing the present invention. (DTRR), 2 is the unit. Figure 2 is a diagram showing the differences in devices for each unit number, and shows the number of heads and
It is understood that the number of cylinders and seek mode are different. Here, the normal seek mode is a mode in which pulses are issued to perform a seek operation in accordance with the time required to move the head from one cylinder to the next. Also SU/
In the mode with SD, when moving the head over a large distance, it is first moved at the above normal speed, then moved at high speed in the middle, and finally reduced to normal speed, making it more efficient overall. The purpose of this is to perform a seek operation.

このような、ヘツドHe数、シリンダCy数、シ
ークモードの違いによつて、例えば中央処理装置
でアドレスを計算する時の処理、その結果として
シーク動作の制御方法が変わつてくる。
Depending on the number of heads He, the number of cylinders Cy, and the seek mode, for example, the processing when calculating an address in the central processing unit and, as a result, the control method of the seek operation will change.

第3図は、本発明の主眼となる、各ユニツトの
デイスク記憶媒体上に設けられたデバイス識別デ
ータの一例を示した図であつて、どのユニツトで
も共通に制御可能なように、シリンダ0、ヘツド
0、セクタ0及びその対角線上のセクタに設けら
れている。
FIG. 3 is a diagram showing an example of device identification data provided on the disk storage medium of each unit, which is the main focus of the present invention. They are provided in head 0, sector 0, and sectors on the diagonal line thereof.

ここで、イはあるユニツトのデイスク記憶媒体
を示し、0〜15はレコードSec番号である。ロは
シリンダCy0、ヘツドHe0、の各レコードを平面
に展開して示したもので、ハが上記デバイス識別
データの格納例を示した図であり、この例ではレ
コードSec0、又は対面のレコードSec8に格納さ
れている。
Here, A indicates a disk storage medium of a certain unit, and 0 to 15 are record Sec numbers. B is a diagram showing each record of cylinder Cy0 and head He0 expanded on a plane, and C is a diagram showing an example of storing the above device identification data. In this example, record Sec0 or facing record Sec8 Stored.

そして、Heには最大のヘツド番号が格納され、
Cyには最大のシリンダ番号が格納され、Seekに
はシーク動作モードが格納されている。
Then, the maximum head number is stored in He,
The maximum cylinder number is stored in Cy, and the seek operation mode is stored in Seek.

以下第1図〜第3図によつて、本発明を実施し
た場合の動作を説明する。
The operation of the present invention will be described below with reference to FIGS. 1 to 3.

先ず、例えば中央処理装置が始めて、そのユ
ニツト2を使用する時、特殊なコマンドを用い
て、第3図に示すように、各ユニツト2のシリ
ンダCy0、ヘツドHe0、レコードSec0、及びそ
の対角線上のレコードSecにデバイス識別デー
タ(He,Cy,Seek)を書いておく。この特殊
コマンドで書き込む動作が、該デバイス識別デ
ータに対するプロテクト機構として機能する。
又、本書き込み動作は、該ユニツト2自体に設
けられている操作卓等を用いて書き込む方法も
考えられる。
First, for example, when the central processing unit uses the unit 2 for the first time, it uses a special command to change the cylinder Cy0, head He0, record Sec0, and diagonal line of each unit 2, as shown in Figure 3. Write the device identification data (He, Cy, Seek) in record Sec. The operation of writing with this special command functions as a protection mechanism for the device identification data.
Further, for the main write operation, a method of writing using an operation console or the like provided in the unit 2 itself may be considered.

新しいユニツトで、未だフオーマツトが行わ
れていないような時は、フオーマツト処理完了
後、上記手段によりデバイス識別データを書き
込んでおくようにする。
If the unit is new and has not been formatted yet, the device identification data should be written using the above method after the formatting process is completed.

デバイス識別データをトラツク0(シリンダ
0、ヘツド0)の他に、対角線上にも設けて2
重化するのは、電源投入、切断時にヘツドがデ
イスク記憶媒体に接触すること等による媒体の
損傷に起因する誤動作を最小限にする為のもの
で、対角線上に記録するのが、媒体の構造から
考えて最も効果的である為である。
In addition to track 0 (cylinder 0, head 0), device identification data is also provided on the diagonal line.
The diagonal line is used to minimize malfunctions caused by damage to the disk storage medium caused by the head touching the disk storage medium when the power is turned on or off. This is because it is the most effective considering the following.

システムの電源投入時、ユニツト2はトラツ
ク0へ自動シークする。
When the system is powered on, unit 2 automatically seeks to track 0.

自動シークのないユニツト2に対しては、デ
イスクコントローラ1がシークさせる。
For units 2 that do not have automatic seek, the disk controller 1 causes them to seek.

但し、シーク速度は、1シリンダ毎にトラツ
ク0Cy0信号を検出、チエツクしながらシーク
動作が行われる為、ユニツトによつて異なるこ
とはない。
However, the seek speed does not differ depending on the unit because the seek operation is performed while detecting and checking the track 0Cy0 signal for each cylinder.

システムの中央処理装置からセンスコマンド
が送られてくると、デイスクコントローラ1は
上記デバイス識別データを読み取り、ユニツト
毎にレジスタ11に保持すると共に、中央処理
装置に報告するように動作する。
When a sense command is sent from the central processing unit of the system, the disk controller 1 reads the device identification data, holds it in the register 11 for each unit, and operates to report it to the central processing unit.

中央処理装置は、その内容に従つて、処理す
べきデータに関するアドレス計算、コマンドの
作成等を行う。
The central processing unit calculates addresses, creates commands, etc. regarding the data to be processed according to the contents.

デイスクコントローラ1に保持されたデバイ
ス識別データは、中央処理装置から、あるユニ
ツトをアクセスするコマンドが送出されてくる
毎に参照され、該ユニツトを制御する動作シー
ケンス{例えば、レコード、ヘツド、シリンダ
をアクセスする順番とか、シーク速度(ノーマ
ル、SU/SD付き)}が決定され、その動作シ
ーケンスに従つて、各ユニツトに対する制御が
行われる。
The device identification data held in the disk controller 1 is referenced every time a command to access a certain unit is sent from the central processing unit, and is referenced every time a command is sent from the central processing unit to access a certain unit. and the seek speed (normal, with SU/SD) are determined, and each unit is controlled according to the operation sequence.

(g) 発明の効果 以上、詳細に説明したように、本発明のデイス
ク制御方式は、予めデイスク記憶媒体の特定レコ
ードに、デバイス識別データ(He,Cy,Seek)
を書き込んでおくことにより、該データをデイス
クコントローラが読み取り、保持すると共に、中
央処理装置に報告するように制御されるので、デ
イスクコントローラにおいては、ユニツト番号毎
のデイスクの違いにより、制御方法を変えること
ができる。
(g) Effects of the Invention As explained above in detail, the disk control method of the present invention stores device identification data (He, Cy, Seek) in a specific record of a disk storage medium in advance.
By writing this data, the disk controller reads and retains the data, and is controlled to report it to the central processing unit. Therefore, the disk controller changes the control method depending on the disk difference for each unit number. be able to.

従つて、1台のコントローラで、ユニツト番号
毎にデイスクの違うデイスク装置を安価に制御で
きるという効果がある。
Therefore, it is possible to inexpensively control disk devices with different disks for each unit number using one controller.

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

第1図は、本発明を実施したデイスクコントロ
ーラと各種デイスク装置との接続例を説明する
図、第2図は各デイスク装置番号毎の機種の違い
を示す図、第3図はデイスク記憶媒体上に設けら
れたデバイス識別データの一例を示した図であ
る。 図面において、1はデイスクコントローラ、1
1はデイスクタイプ識別レジスタ、2はデイスク
装置(ユニツト)、Heは最大ヘツド番号、Cyは
最大シリンダ番号、Seekはシーク動作シーケン
ス、をそれぞれ示す。
FIG. 1 is a diagram illustrating an example of the connection between a disk controller embodying the present invention and various disk devices, FIG. 2 is a diagram showing the differences in models for each disk device number, and FIG. FIG. 3 is a diagram showing an example of device identification data provided in FIG. In the drawing, 1 is a disk controller;
1 indicates a disk type identification register, 2 indicates a disk device (unit), He indicates the maximum head number, Cy indicates the maximum cylinder number, and Seek indicates the seek operation sequence.

Claims (1)

【特許請求の範囲】[Claims] 1 複数の種類の異なるデイスク装置を制御する
デイスクコントローラにおいて、デイスク記憶媒
体の特定レコードに、デバイス識別データを書く
手段と、該データを読み取り、その内容によつ
て、上記デイスク記憶媒体を制御する動作モード
を決定する手段と、該デーダをソフトウエアに通
知する手段と、該データを記憶している上記レコ
ードをプロテクトする手段と、上記レコードをシ
リンダー上の対角線上に2重化して記憶し、一方
のデータが異常な場合はもう一方のデータを使用
するデバイス識別データを保護する手段とを設
け、上記特定レコードの内容によつて上記デイス
ク装置を制御することを特徴とするデイスク制御
方式。
1. In a disk controller that controls a plurality of different types of disk devices, means for writing device identification data in a specific record of a disk storage medium, and an operation for reading the data and controlling the disk storage medium based on the contents. means for determining a mode; means for notifying software of the data; means for protecting the record storing the data; storing the record in duplicate on a diagonal on a cylinder; and means for protecting device identification data that uses the other data if the data of the specific record is abnormal, and the disk device is controlled according to the contents of the specific record.
JP58153626A 1983-08-23 1983-08-23 Disc control system Granted JPS6045972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58153626A JPS6045972A (en) 1983-08-23 1983-08-23 Disc control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58153626A JPS6045972A (en) 1983-08-23 1983-08-23 Disc control system

Publications (2)

Publication Number Publication Date
JPS6045972A JPS6045972A (en) 1985-03-12
JPH0339351B2 true JPH0339351B2 (en) 1991-06-13

Family

ID=15566607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58153626A Granted JPS6045972A (en) 1983-08-23 1983-08-23 Disc control system

Country Status (1)

Country Link
JP (1) JPS6045972A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5528610A (en) * 1978-08-21 1980-02-29 Toshiba Corp Video and audio recording and reproducing unit

Also Published As

Publication number Publication date
JPS6045972A (en) 1985-03-12

Similar Documents

Publication Publication Date Title
US6104555A (en) Method and device for duplicating an initial program of a hard disk drive
JPH07182792A (en) Information sector defect handling method
JPH0339351B2 (en)
JPH0542071B2 (en)
JP3457602B2 (en) Disk unit
JPH0750428B2 (en) Disk double writing controller
JP3034826B2 (en) Hard disk drive device and method
JP2737555B2 (en) Disk controller
JPS59157813A (en) Controller for magnetic memory of rotor
JPH0628779A (en) Method for recording and controlling data in disk device
JPS592962B2 (en) Recording device control system
JPH0514353Y2 (en)
KR100419394B1 (en) How to record an error management program for defect analysis and repair of magnetic disc recording devices
JPH02113467A (en) Disk control method
JPH04223520A (en) Magnetic disk device backup method
JP2562605B2 (en) Magnetic disk controller
JPH06187735A (en) Management device for alternative area of disk recording / reproducing device
JPH09161415A (en) Control method for magnetic tape device
JPS59112353A (en) Data reading method from recording medium
JPH02280221A (en) System for controlling disk
JPS63276118A (en) Access system for magnetic disk device
JPH103359A (en) Format information recording system
JPH0421021A (en) Data backup system for semiconductor disk device
JPH08292841A (en) Seek time reducing method
JPH06325512A (en) Head positioning control device for magnetic disk