JPS6034128B2 - magnetic disk controller - Google Patents

magnetic disk controller

Info

Publication number
JPS6034128B2
JPS6034128B2 JP2497480A JP2497480A JPS6034128B2 JP S6034128 B2 JPS6034128 B2 JP S6034128B2 JP 2497480 A JP2497480 A JP 2497480A JP 2497480 A JP2497480 A JP 2497480A JP S6034128 B2 JPS6034128 B2 JP S6034128B2
Authority
JP
Japan
Prior art keywords
magnetic disk
record
read
search operation
search
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
Application number
JP2497480A
Other languages
Japanese (ja)
Other versions
JPS56121164A (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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2497480A priority Critical patent/JPS6034128B2/en
Publication of JPS56121164A publication Critical patent/JPS56121164A/en
Publication of JPS6034128B2 publication Critical patent/JPS6034128B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Description

【発明の詳細な説明】 本発明は、磁気ディスクに関する。[Detailed description of the invention] The present invention relates to a magnetic disk.

特に、レコードのサーチ動作の制御方式に関するもので
ある。従来、この種の磁気ディスク制御装置は書込まれ
たレコードのサーチ動作において、読込んレコードの識
別部を目的のレコードの識別部の内容をもつサーチ情報
と比較し、一致しなかったときは続くレコードの識別部
を論込み比較をつづける。
In particular, it relates to a control method for record search operations. Conventionally, in a search operation for a written record, this type of magnetic disk control device compares the identification part of the read record with the search information containing the contents of the identification part of the target record, and if they do not match, the process continues. Continuing the comparison by including the identification part of the record.

しかし、この間は、磁気ディスク制御装置がサーチ動作
処理のために専有された状態となる。特に、比較の一致
しなかったレコードのデータ部が長いときは磁気ディス
ク制御装置の使用効率が低下する欠点がある。本発明は
この点を改良するもので、サーチ動作中のータ部が読出
される間に他の磁気ディスクの処理を併行することがで
き、装置の使用効率を向上することができる磁気ディス
ク制御装置を提供することを目的とする。
However, during this time, the magnetic disk control device is in a state where it is exclusively used for search operation processing. In particular, when the data portion of records that do not match is long, the efficiency of using the magnetic disk control device is reduced. The present invention improves on this point, and allows processing of other magnetic disks to be performed in parallel while the data section is being read during a search operation, thereby improving the efficiency of use of the device. The purpose is to provide equipment.

本発明は、磁気ディスク記録媒体上に記録されたレコー
ドのレコード識別部を読込み、サーチ情報と比較してサ
ーチ動作を行うように制御される磁気ディスク制御装置
において、上記論込んだレコード識別部が上記サーチ情
報と不一致のときにこの不一致のレコードのレコード長
があらかじめ定めた基準値より長いか否かを出する第一
の手段と、この第一の手段により長いことが検出された
とき次のレコードの存在すべき回転角位置を算出する第
二の手段と、この第二の手段により算出された結果と上
記サーチ情報とを磁気ディスク対応の記憶エリアに記憶
する第三の手段アとを備え、上記磁気ディスク装置の読
出書込ヘッドが上記第三の手段に記憶された回転角位置
付近に達するまでこの磁気ディスク装置へのサーチ動作
を中断して他の磁気ディスク装置への処理を可能とし、
上記読出書込ヘッドが上記第三の手段に記憶された回転
角位置付近に達したときは上記磁気ディスク装置へのサ
ーチ動作を再開するように構成されたことを特徴とする
The present invention provides a magnetic disk control device that is controlled to read a record identification section of a record recorded on a magnetic disk recording medium and perform a search operation by comparing it with search information. A first means of determining whether the record length of the mismatched record is longer than a predetermined reference value when there is a mismatch with the above search information, and a second means of determining whether the record length of the mismatched record is longer than a predetermined reference value. A second means for calculating the rotation angle position at which the record should exist, and a third means for storing the result calculated by the second means and the search information in a storage area corresponding to the magnetic disk. , suspending the search operation for the magnetic disk device until the read/write head of the magnetic disk device reaches around the rotation angle position stored in the third means to enable processing to other magnetic disk devices; ,
The present invention is characterized in that when the read/write head reaches near the rotation angle position stored in the third means, the search operation for the magnetic disk device is resumed.

本発明は、レコード識別部に対するサーチ動作不成功時
に、このレコードのデータ長をあらかじめ設定した基準
と比較し、この基準を越えている場合には、現在の回転
角位置とこのレコードのデータ長により次のレコードの
存在すべき回転角位置を算出し、磁気ディスク装置の読
出書込ヘッドが次のレコード位置にくるまで、前記算出
回転角位置およびサ−チ情報を一時記憶しておき、この
間は他の磁気ディスク装置に対する処理を併行するよう
に構成されたことを特徴とする。
In the present invention, when a search operation for a record identification section is unsuccessful, the data length of this record is compared with a preset standard, and if the data length exceeds this standard, the data length of this record is determined based on the current rotational angle position and the data length of this record. The rotation angle position where the next record should exist is calculated, and the calculated rotation angle position and search information are temporarily stored until the read/write head of the magnetic disk device reaches the next record position. It is characterized in that it is configured to concurrently perform processing on other magnetic disk devices.

これにより、サーチ動作中にも他の磁気ディスク装置に
対する処理を行わせることができる。本発明一実施例を
図面に基づいて説明する。
This allows other magnetic disk devices to perform processing even during a search operation. An embodiment of the present invention will be described based on the drawings.

図は、本発明一実施例の要部ブロック構成図である。図
は、大きく分けて中央処理装置1と磁気ディスク制御装
置2と磁気ディスク装置3とから構成されている。すな
わち、磁気ディスク制御装置2内の制御部5には、マイ
クロプログラムを格納した記憶部6が接続されてる。
The figure is a block diagram of main parts of an embodiment of the present invention. In the figure, the system is roughly divided into a central processing unit 1, a magnetic disk control device 2, and a magnetic disk device 3. That is, the control section 5 in the magnetic disk control device 2 is connected to a storage section 6 that stores a microprogram.

また、この制御部5には、磁気ディスク装置3毎に回転
角位置および目的レコード識別部の内容を示すサーチ情
報を格納する記憶部7が接続されている。さらに、この
制御部5には、中央処理装置1と接続されたデータ転送
部8が接続されている。これらのデータ転送部8および
制御部5には、アダプタ部9が接続されている。このア
ダプタ部9には、磁気ディスク装置3が接続されている
。このような構成で、記憶部6に格納されたマイクロプ
ログラムは制御部5により読出され、制御部5を通して
データ転送部8を制御することにより、アダプタ部9を
介して磁気ディスク装置3と中央処理装置1との間のデ
ータの転送制御を行つ。
Also connected to this control section 5 is a storage section 7 that stores search information indicating the rotational angular position and the contents of the target record identification section for each magnetic disk device 3. Further, a data transfer section 8 connected to the central processing unit 1 is connected to the control section 5. An adapter section 9 is connected to these data transfer section 8 and control section 5. A magnetic disk device 3 is connected to this adapter section 9 . With such a configuration, the microprogram stored in the storage unit 6 is read by the control unit 5, and by controlling the data transfer unit 8 through the control unit 5, it is connected to the magnetic disk device 3 and the central processing unit via the adapter unit 9. Controls data transfer to and from the device 1.

いま、磁気ディスク記録媒体上のレコードのサーチ動作
指令を、サーチ情報とともに中央処理装置1から制御部
5が受取ると、磁気ディスク装置3よりレコードの識別
部を謙込み、サーチ情報と比較する。
Now, when the control unit 5 receives a search operation command for a record on a magnetic disk recording medium together with search information from the central processing unit 1, the identification section of the record is read from the magnetic disk device 3 and compared with the search information.

これが不一致のとき、制御部5は読込んだレコード識別
部に示されるデータ長があらかじめ設定した基準値を越
えているか否かを調べる。データ長がこの基準値を越え
ているきには、現在の回転角位置を読込みこれと、上記
データ長よりのレコードが存在すべき回転角位置を次式
により算出する。8=Q十舎ここで、汎ま次のレコード
の存在すべき回転角位置、Q‘ま現在の回転角位置、d
はデータ長、Dは1回転分のデータ長をそれぞれ示す。
If they do not match, the control section 5 checks whether the data length indicated in the read record identification section exceeds a preset reference value. When the data length exceeds this reference value, the current rotational angular position is read and the rotational angular position where a record based on the above data length should exist is calculated using the following equation. 8=Q, where the rotation angle position where the next record should exist, Q', the current rotation angle position, d
represents the data length, and D represents the data length for one rotation.

次に、算出した回転角位置8から接続されるすべての磁
気ディスク装置の状態を走査するに充分な時間およびこ
の算出上の誤差に相当する回転角を減じ、これをサーチ
情報とともに記憶部7の実行中の磁気ディスク装置に対
応するエリアに格納する。
Next, from the calculated rotational angle position 8, sufficient time to scan the states of all the connected magnetic disk drives and the rotational angle corresponding to the error in this calculation are subtracted, and this is stored in the storage unit 7 along with the search information. Store in the area corresponding to the magnetic disk device that is being executed.

次に、記憶部1のマイクロプログラムにより、制御部5
は実行中のサーチ動作を中断して、他の磁気ディスク装
置3の処理に切換える。
Next, the microprogram in the storage unit 1 causes the control unit 5 to
interrupts the search operation in progress and switches to processing of another magnetic disk device 3.

再び元の磁気ディスク装置3に処理をつなぎ込んだ時に
、その時の回転角位置を磁気ディスク装置3から論込み
、以前に記憶部7に格納した回転角位置と比較し、一致
またはその差がサーチ動作再開範囲内にあると判断した
ときは、記憶部6よりサーチ情報を議出しサーチ動作を
再開し、次のレコードの識別部を探す。なお、前記デー
タ長が設定基準を越えていないときは、そのままサーチ
動作を続行する。本発明は以上説明したように、磁気デ
ィスク装置のサーチ動作が不成功のとき、そのデータ長
と現在の回転角位置とから次のレコードの存在すべき回
転角位置を算出し、この算出結果とサーチ情報とを磁気
ディスク装置対応の記憶エリアに格納し、サーチ動作を
中断する。
When the process is connected to the original magnetic disk device 3 again, the current rotation angle position is read from the magnetic disk device 3, compared with the rotation angle position previously stored in the storage unit 7, and a match or difference is searched. When it is determined that the operation is within the operation restart range, search information is retrieved from the storage unit 6, the search operation is restarted, and the identification section of the next record is searched. Note that if the data length does not exceed the set standard, the search operation continues as is. As explained above, when the search operation of a magnetic disk device is unsuccessful, the rotation angle position where the next record should exist is calculated from the data length and the current rotation angle position, and this calculation result is The search information is stored in a storage area corresponding to the magnetic disk device, and the search operation is interrupted.

その後は、他の磁気ディスク装置の処理を行う。この制
御装置が、サーチ動作を中断した磁気ディスク装置に再
び接続されたときに、上記記憶内容と現在の回転角位置
とも比較し、これがサーチ動作再開範囲と判断されたと
きには、再びサーチ動作を行い次のレコードの識別部を
サーチすることにした。したがって、従来装置のように
1個の磁気ディスク装置のサーチ動作中は、たとえばサ
ーチ動作が不成功であっても、そのサーチ動作が完了す
るまで制御装置が専有されることがなく、他の磁気ディ
スク装置の処理を併行させることができる。このため、
磁気ディスク制御装置の使用効率を著しく向上すること
ができる。さらに、システム全体の処理効率を向上する
こができる等の効果を有する。
After that, processing of other magnetic disk devices is performed. When this control device is reconnected to the magnetic disk device where the search operation was interrupted, it also compares the above stored contents with the current rotational angle position, and if this is determined to be within the search operation restart range, it performs the search operation again. I decided to search for the identification part of the next record. Therefore, during the search operation of one magnetic disk device as in the conventional device, even if the search operation is unsuccessful, the control device is not monopolized until the search operation is completed, and other magnetic disk devices are Disk device processing can be performed in parallel. For this reason,
The usage efficiency of the magnetic disk control device can be significantly improved. Furthermore, it has the effect of improving the processing efficiency of the entire system.

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

図は本発明一実施例の要部ブロック構成図。 1…・・・中央処理装置、2・・・…磁気ディスク制御
装置、3・・・・・・磁気ディスク装置、5・・・・・
・制御部、6,7・・・・・・記憶部、8・・・・・・
転送部、9・・・・・・アダプタ部。
The figure is a block diagram of main parts of an embodiment of the present invention. 1... Central processing unit, 2... Magnetic disk control device, 3... Magnetic disk device, 5...
・Control unit, 6, 7... Storage unit, 8...
Transfer section, 9...adapter section.

Claims (1)

【特許請求の範囲】[Claims] 1 磁気デイスク記録媒体上に記録されたレコードのレ
コード識別部を読込み、サーチ情報と比較してサーチ動
作をうように制御される磁気デイスク制御装置において
、上記読込んだレコード識別部が上記サーチ情報と不一
致のときにこの不一致のレコードのレコード長があらか
じめ定めた基準値より長いか否かを検出する第一の手段
と、この第一の手段により長いことが検出されたとき次
のレコードの存在すべき回転角位置を算出する第二の手
段と、この第二の手段により算出された結果と上記サー
チ情報とを磁気デイスク対応の記憶エリアに記憶する第
三の手段とを備え、上記磁気デイスク装置の読出書込ヘ
ツドが上記第三の手段に記憶された回転角位置付近に達
するまでこの磁気デイスク装置へのサーチ動作を中断し
て他の磁気デイスク装置への処理を可能とし、上記読出
書込ヘツドが上記第三の手段に記憶された回転角位置付
近に達したときは上記磁気デイスク装置へのサーチ動作
を再開するよう構成されたこを特徴とする磁気デイスク
制御装置。
1. In a magnetic disk control device that is controlled to read a record identification section of a record recorded on a magnetic disk recording medium and perform a search operation by comparing it with search information, the read record identification section reads the above search information. a first means for detecting whether the record length of the mismatched record is longer than a predetermined reference value when the record length is longer than a predetermined reference value; and a third means for storing the result calculated by the second means and the search information in a storage area corresponding to the magnetic disk. The search operation for this magnetic disk device is interrupted until the read/write head of the device reaches around the rotation angle position stored in the third means, and processing for another magnetic disk device is enabled, and the read/write operation is performed. A magnetic disk control device characterized in that the magnetic disk control device is configured to restart the search operation for the magnetic disk device when the loaded head reaches around the rotation angle position stored in the third means.
JP2497480A 1980-02-28 1980-02-28 magnetic disk controller Expired JPS6034128B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2497480A JPS6034128B2 (en) 1980-02-28 1980-02-28 magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2497480A JPS6034128B2 (en) 1980-02-28 1980-02-28 magnetic disk controller

Publications (2)

Publication Number Publication Date
JPS56121164A JPS56121164A (en) 1981-09-22
JPS6034128B2 true JPS6034128B2 (en) 1985-08-07

Family

ID=12152935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2497480A Expired JPS6034128B2 (en) 1980-02-28 1980-02-28 magnetic disk controller

Country Status (1)

Country Link
JP (1) JPS6034128B2 (en)

Also Published As

Publication number Publication date
JPS56121164A (en) 1981-09-22

Similar Documents

Publication Publication Date Title
US7797478B2 (en) Data storage apparatus that appropriately revises FDCB information during background formatting
JPH01128266A (en) Method for controlling drive device for writable disk
JPH0646488B2 (en) Storage medium auto changer device
JPH04325923A (en) Access control system for optical disk device
JP6481492B2 (en) Tape device, control device, and control program
JPS5860410A (en) Magnetic disk control system
US6862150B1 (en) Information storage device and defect information management method
WO2002029540A2 (en) System and method for transferring data between recording devices
JPS6034128B2 (en) magnetic disk controller
US5875453A (en) Apparatus for and method of information processing
JP2931749B2 (en) Data recording / reproducing device and servo processing method
JPH1011878A (en) Disk device, and monitor value keeping and controlling method in the device
JP2566132B2 (en) Mass storage device using magnetic disk
KR0176615B1 (en) Hard disk drive control device and method thereof
JP2684717B2 (en) Disk controller bad track control method
JPS61196323A (en) Rotary disk control system
JP2719975B2 (en) Data recording method in magnetic recording / reproducing device
JP2563615B2 (en) Digital data recorder
JPS63127479A (en) Index servo system
JPH10133867A (en) Data reproducing device and data recording medium
JP2001084712A (en) Magnetic disk apparatus and error rewrite control method therefor
JPH0258768A (en) Disk controller
JPH0659820A (en) Control method for magnetic disk device of duplicate recording system
JPH02178825A (en) Data transfer control system
JPH09185805A (en) Tape check method for data recording device