JPS583115A - Final recording confirming system - Google Patents

Final recording confirming system

Info

Publication number
JPS583115A
JPS583115A JP10191481A JP10191481A JPS583115A JP S583115 A JPS583115 A JP S583115A JP 10191481 A JP10191481 A JP 10191481A JP 10191481 A JP10191481 A JP 10191481A JP S583115 A JPS583115 A JP S583115A
Authority
JP
Japan
Prior art keywords
record
command
count
data
circuit
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
JP10191481A
Other languages
Japanese (ja)
Inventor
Hajime Sugiura
一 杉浦
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10191481A priority Critical patent/JPS583115A/en
Publication of JPS583115A publication Critical patent/JPS583115A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1816Testing

Abstract

PURPOSE:To prevent missing of recording and data, by comparing the contents of the final recording with that of verification written at the recording in advance, in confirming the final recording. CONSTITUTION:A modulation and demodulation circuit 14 has functions that byte conversion of bit serial from a signal line 100 is performed and the signal is shifted to a buffer register 15 at reading and a data in byte unit from a channel 2 is inputted from the register 15 and written in a disc device 3 with bit serial conversion at writing. An AM detection and forming circuit 13 detects and forms the AM based on a command 101. The said detection and forming are made on signal lines 102 and 103. Count buffers 16 and 17 writes and stores the count field based on a command 104 at each reading of the recording of a track at reading and at each forming of record at write. The data in the count buffers 16 and 17 are inputted to a comparison circuit 18.

Description

【発明の詳細な説明】 本発明は、可変長レコード型式の磁気ディスク磁気ドラ
ム等の回転型外部記憶装置の最終レコード確認方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a final record confirmation method for a rotating external storage device such as a variable length record type magnetic disk or magnetic drum.

以下回転型外部記憶装置の一例として、磁気ディスク装
置について説明する。
A magnetic disk device will be described below as an example of a rotating external storage device.

第1図乃至第3図は、通常の磁気ディスク装置における
トラック・フォーマットを示している〇ことで、トラッ
クはインデクスマースIを起点、終点とし、ホームアド
レス(HA)、レコード(Ro = Rn )が1″か
れる。HAとRoは他のレコードと異なり、この部分へ
の書き込みは一定の制限下で行なわれる。HAと各レコ
ードはギャップで区分され、特にインデクスエからHA
までを91ギヤツプ、最終レコードからインデクスエま
でをの領域を持っているため前記G4ギャップの定義に
ついては特定化されていないが、本発明におけるG4ギ
ャップは溌終レコード終端からインデクスエの立上がシ
を経て、その立下がりまでの領域をいうO の三つのフィールドからなる。(第2図)キー。
Figures 1 to 3 show the track format in a normal magnetic disk drive, where the track starts and ends at index Mars I, and the home address (HA) and record (Ro = Rn). 1" is written. HA and Ro are different from other records, and writing to these parts is done under certain restrictions. HA and each record are separated by gaps, especially when writing from index to HA.
The definition of the G4 gap is not specified because it has 91 gaps from the end of the last record to the index row, but the G4 gap in the present invention is defined as the start of the index row from the end of the last record to the index row. It consists of three fields, 0, which is the area from 1 to 0 to the trailing edge. (Figure 2) Key.

データフィールドには、ユーザのデータが書かれる。又
、カウントフィールドには、レコードの特性が、記述さ
れる。
User data is written in the data field. Further, the characteristics of the record are described in the count field.

又、レコードの三つのフィールドは、G2ギャップで区
分される。
The three fields of the record are also separated by a G2 gap.

カウントフィールドは、さらに第3図のように機能を持
つ。AMに続いて12バイト固足長のカウントフィール
ドがある。ここには、当該レコードが書かれているシリ
ンダ番号、トラック番号(ヘッド番号)、トラック内の
レコード番号、さらに当該レコードのキー長、レコード
長が書かれるOAMの形式、カウントフィールドのバイ
ト数、ギャップ長はディスク装置固有のものが決められ
ている。
The count field further has a function as shown in FIG. Following AM is a count field with a fixed length of 12 bytes. This includes the cylinder number where the record is written, the track number (head number), the record number within the track, the key length of the record, the OAM format in which the record length is written, the number of bytes in the count field, and the gap. The length is determined unique to the disk device.

次にレコードの処理について説明する0レコードの作成
には、WRITE  CKDコマンドフィールドが、f
−IAに対して5EARCH系コマンドを実行した後に
チェインする。 5EARCH系コマンドは、ソフトが
用意したカウントフィールドの内容と媒体上のカウント
フィールドの内容とを順次比較し、一致したレコード全
見つけると、そのコマンドのスティタスバイトでその旨
を報告する機能を有する。
To create a 0 record, which will be explained next about record processing, the WRITE CKD command field is
-Chain after executing 5EARCH commands for IA. The 5EARCH series command has a function of sequentially comparing the contents of the count field prepared by the software with the contents of the count field on the medium and, when all matching records are found, reporting the fact in the status byte of the command.

レコードのよみとシには二つの方法がある0ひとつは一
度インデクスに位置付けるコマンド(READIIA 
 5EARCT(−T(A)を発行してから、目的レコ
ードのカウントフィールドに5EARCI(系コマンド
を実行するものである0 他の方法は、いきなり5EARCf(系コマンドを発行
し、まず一番近くにあったレコードから5EARCH処
理を行なうものである0この方法ではAM−8EARC
Hが行なわれ、最初に検出されたAMに続くカウントフ
ィールドが処理される0ひとたびレコードのカウントフ
ィールドが処理サレるト、次のレコードのカウントフィ
ールドの3− 先頭までの長さくバイト数)は−意に決まるのでAM 
5EARCHは行なわれない。
There are two ways to read and write records.One is to use the command (READIIA) that positions the record once.
After issuing 5EARCT(-T(A), execute the 5EARCI(type command) in the count field of the target record.Other method is to immediately issue the 5EARCf(type command, and first execute the nearest This method performs 5EARCH processing from the recorded records.
H is performed and the count field following the first detected AM is processed. It's up to you, so it's AM
5EARCH is not performed.

上記従来のレコード処理方法においては、最終レコード
の備品方法に問題がありた〇 即ち、従来は所定のレコードを処理し、更にその後のレ
コードを処理しようとして、そこにレコードが存在しな
いことを検出すると、直前に処理したレコードが最終レ
コードであったことを認識するO 最終レコードでありたことを認識すると、無条件にイン
デクスマークに位置づけて、その後の処理を行なう。
In the conventional record processing method described above, there was a problem in the way the final record was stored. In other words, in the past, when a predetermined record was processed, and when trying to process subsequent records, it was detected that no record existed there, , Recognizes that the last processed record was the last record.O When it is recognized that the last record is the last record, it is unconditionally positioned at the index mark and the subsequent processing is performed.

ここでデバイス(磁気ディスク装置、磁気ドラム装置等
)の変復調回路の特性劣化記録媒体のキズ等によシレコ
ード検出能力が低下していると誤りて最終レコードの認
識を行ない、給米として、レコード抜け、データ抜は等
が発生する。
At this point, the device (magnetic disk unit, magnetic drum unit, etc.) has degraded characteristics of the modulation/demodulation circuit, and the record detection ability has deteriorated due to scratches on the recording medium. Omissions, data omissions, etc. occur.

本発明の目的は、前述した最終レコードの誤認絨を検出
することで、レコード抜け、データ抜は等を防止するこ
とにある。
An object of the present invention is to prevent record omissions, data omissions, etc. by detecting the aforementioned erroneous recognition of the final record.

Q 4− 又、上記本発明の目的は、可変長レコード型式の回転型
外部記憶装置のレコード作成時に最終レコード終端から
インデクスの立下がりまでの所定領域上に該最終レコー
ドのカウントフィールドの内容からなるベリフアイ・レ
コードを省き込み、読み出し時に、最後に読み出したレ
コードのカウント・フィールドの内容と前記ベリファイ
・レコードとの内容を比較する最終レコード確認方式に
より達成される。
Q4- Also, the object of the present invention is to store the contents of the count field of the last record in a predetermined area from the end of the last record to the falling edge of the index when creating a record in a variable-length record-type rotating external storage device. This is achieved by a final record confirmation method in which the verify record is omitted and the contents of the count field of the last read record are compared with the contents of the verify record at the time of reading.

即ち、本発明では、最終レコードの確認を、あらかじめ
レコード作成時に書き込んだベリファイレコードの内容
との比較において行なうもので、両者が不一致の場合は
エラー報告をし、そのセンストη報に最終レコード認識
したレコードのカウント・フィールドの内容と、前記ベ
リフアイ・レコードの内容を騙県することで、レコード
の読み落としの発生と、実際に書かれている最終レコー
ドと、読み落とした最初のレコードとを通知するもので
ある。
That is, in the present invention, the final record is verified by comparing it with the contents of the verify record written in advance at the time of record creation, and if the two do not match, an error is reported, and the final record is recognized in the sensest η report. By deceiving the contents of the count field of the record and the contents of the verification record, the occurrence of record reading, the last record actually written, and the first record that was read are notified. It is something.

のレコード(RV)は、前述した最終レコード確認用の
レコード(ベリファイ・レコード)である◎第5図は、
ベリファイ・レコードのフォーマットを示すが、ここで
ベリ71イ・レコードは、■カウントフィールドのみで
構成される、■インデクス・マークからの絶対位置が定
まっておシ、必す書き込まれ存在する、■ソフトからア
クセスできないようにする六め、例えばフラグバイト「
)に特殊コードが記述されるという特徴がある〇又、前
述の如くインデクスマークは、そのマーク領域内にEC
Cバイトを含めても20バイトに足らないベリファイ・
レコードを書き込むことが可能である。
The record (RV) is the record (verify record) for confirming the final record mentioned above. ◎Figure 5 shows
The format of the Verify record is shown below. A Verify record consists of only a count field, has a fixed absolute position from the index mark, must be written and exists, and is a soft record. Sixth bit to prevent access from, for example the flag byte '
) is characterized in that a special code is written in it.Also, as mentioned above, the index mark has an EC code in its mark area.
The verification time is less than 20 bytes even including the C byte.
Records can be written.

そこでは、インデクスの立上がシをペリ7アイレコード
の書き込み開始のためのタイミングとして用いることが
できるため有用である〇以下、図面を参照して、本発明
による最終ディスク確認方式を実現するためのディスク
制御装置の一実施例と、その動作を説明する。
In this case, it is useful because the start of the index can be used as the timing to start writing the peripheral 7 eye record. Hereinafter, with reference to the drawings, to realize the final disk confirmation method according to the present invention An embodiment of the disk control device and its operation will be described.

第す凶に、−1的なディスク制御装置に、本発明による
機能を付加したものの主要回路構成を示す。図中、1は
ディスク制御装置、2紘チヤネル、3はディスク装置(
デバイス)である◎制御装置1はチャネルインタフェー
ス制御部11を経てチャネル2と接続される。
Firstly, the main circuit configuration of a -1 type disk control device to which functions according to the present invention are added is shown. In the figure, 1 is a disk control device, 2 is a Hiro channel, and 3 is a disk device (
◎The control device 1, which is a device), is connected to the channel 2 via the channel interface control section 11.

制御装置1は、マイクロプログラム制御部2の制御の下
にチャネルコマンドを実行し、ディスク装置3との接続
、リードライト、切シはなしを行なう。
The control device 1 executes channel commands under the control of the microprogram control section 2, and performs connection, read/write, and disconnection with the disk device 3.

以下、本発明に係る主たる回路の動作のみについて説明
をする。
Hereinafter, only the operation of the main circuit according to the present invention will be explained.

変復調回路14は、リード動作では信号線100を経て
送られるビットシリアルのデータをバイト変換してバッ
ファレジスタ15へ移動したり、又ライト動作ではチャ
ネル2から送られるバイト単位のデータを一バッファレ
ジスタ15から入力し、これをビットシリアルに変換し
てディスク装[3へ書き込む機能を持つ。
In a read operation, the modulation/demodulation circuit 14 converts the bit serial data sent via the signal line 100 into bytes and moves it to the buffer register 15, and in a write operation, it converts the byte unit data sent from channel 2 into one buffer register 15. It has the function of converting the input into bit serial data and writing it to the disk drive [3].

AM検出作成回路13ti、マイクロプログラム7− の指令101にもとすいてAM(アドレス・マーク)を
検出したシ、作成したシする。ここで、上記検出と、作
成は信号線102,103によって行なう。
The AM detection and creation circuit 13ti detects and creates an AM (address mark) based on the command 101 of the microprogram 7-. Here, the above detection and creation are performed by signal lines 102 and 103.

カウントバッファ16,17は、マイクロプログラムの
指令104にもとすいて、リード時にはトラックのレコ
ードを読み取る毎にそのカウントフィールドを上書きし
て配憶する0ライト時には、レコードを作成する毎にそ
のカウントフィールドを上書きして記憶する。
The count buffers 16 and 17 are based on the microprogram command 104, and when reading, the count field is overwritten and stored every time a track record is read.When writing 0, the count field is overwritten and stored every time a record is created. overwrite and store.

又、二つのカウントバッフ716.17は比較回路18
へ入力してい゛る■ 以下に、これら本発明特有の回路構成の動作原理に併せ
て本発明による最終レコード確認方式の夾施例を、レコ
ードの作成時、リード時に分けて説明する。
In addition, the two count buffers 716 and 17 are connected to the comparison circuit 18.
In the following, examples of the final record confirmation method according to the present invention will be explained separately for the time of record creation and the time of read, along with the operating principle of the circuit configuration unique to the present invention.

(1)  レコードの作成時 ■ チャネルインタフェース制御部11はチャネルより
コマンドを受領すると、それを信号線105にてコマン
ド・デコード部20に通8− 知する0 ■ コマンドデコード部20はWRI TE CKDコ
マンドをデコードするとその旨をマイクロプログラム制
御部12に通知する。
(1) When creating a record ■ When the channel interface control unit 11 receives a command from the channel, it notifies it to the command decoding unit 20 via the signal line 105. ■ The command decoding unit 20 issues the WRI TE CKD command. When decoded, the microprogram control unit 12 is notified of this fact.

■ マイクロプログラム(マイクシプログラム制御部1
2の制御の下で活性状態にある)はWRITE CKD
コマンド受領の通知を受けると一%信号線106を介し
てタイミング回路19に対し、新しいレコード作成のた
めのギャッ、 プ書i1を指令する0 タイミング回路19は第1図乃至第3図で述べたレコー
ド・フォーマットに関する1ギヤツプの作成、フィール
ドの作成等をマイク−プログラムの制御の下で行なう。
■ Micro program (Micro program control section 1
2) is active under the control of WRITE CKD
Upon receiving the notification of command reception, it instructs the timing circuit 19 via the 1% signal line 106 to write a gap write i1 for creating a new record.The timing circuit 19 is as described in FIGS. Creation of one gap, creation of fields, etc. related to the record format are performed under the control of the microphone program.

■ 続いてマイクロブ冑グラムld信号線101を介し
てA M検出、作成回路13に対してAM(アドレスマ
ーク)作成を指示する0■ AMM検出作成回路13は
タイミング回路19からのタイミング信号と歩調をとυ
ながら、変復調回路14と連動してAMを作成し、をマ
イクロプログラムに通知する。
■ Next, the AM detection and creation circuit 13 is instructed to create an AM (address mark) via the microbogram LD signal line 101. ■ The AMM detection and creation circuit 13 synchronizes with the timing signal from the timing circuit 19. and υ
At the same time, it creates an AM in conjunction with the modulation/demodulation circuit 14 and notifies the microprogram.

■ マイクロプログラムはAM作成終了を通知されると
チャネルインタフェース制御部11に対し、ライトモー
ドのデータ転送の開始を指示するとともにデータ転送制
御部21及びタイミング回路19に対し、カウント部の
書き込みを指示する◇ ■ チャネルから送られるデータ(この場合カウントフ
ィールドの内容)はチャネルインタフェース制御部11
−データ転送制御部21−バッファレジスタ15→変復
調回路14及びリード・ライト線100を経由してディ
スク装置13まで転送されるが、同時に1バツフアレジ
スタ15からカウントバッファ17に退避される。
■ When the microprogram is notified of the completion of AM creation, it instructs the channel interface control section 11 to start data transfer in write mode, and also instructs the data transfer control section 21 and timing circuit 19 to write in the count section. ◇ ■ Data sent from the channel (in this case, the contents of the count field) is sent to the channel interface control unit 11.
The data is transferred to the disk device 13 via the data transfer control unit 21 - buffer register 15 → modulation/demodulation circuit 14 and read/write line 100, but is simultaneously saved from the one buffer register 15 to the count buffer 17.

■ カウントフィールドの書き込み終了の通知をタイミ
ング回路19よ・シ信号線106を介して受けると、続
いてキーフィルド・データフィ→ドの沓き込みを行なう
。これらの書き込みげ、カウントフィールドの青さ込務
と同様にマイクロプログラムから、チャネルインタフェ
ース制御部11、データ転送制御部21およびタイミン
グ回路19に対し、指示が与えられ実行される0 キー、データフィールドの沓き込み時には、バッファレ
ジスタカラカウントバッファ17へのデータの退避は行
なわれない0 ■ マイクロプログラムはタイミング回路19よりデー
タフィールド書き込み終了の通知を受領すると、チャネ
ルインタフェース制御部11に対し、コマンドを終了す
べく、終了スティタス報告を指示する0 ■ チャネルインタフェース制御部11け終了スティタ
スを報告し、続いてコマンドチェインがあるかどうかを
判定し、その旨をマイクロプログラムに通知する。
(2) When the timing circuit 19 receives notification of completion of writing of the count field via the signal line 106, the key field and data feed are subsequently read. Similarly to these write operations, the microprogram gives instructions to the channel interface control unit 11, data transfer control unit 21, and timing circuit 19, and executes the 0 key and data field input operations. At the time of writing, the data is not saved to the buffer register empty count buffer 170. When the microprogram receives the notification of completion of data field writing from the timing circuit 19, it instructs the channel interface control unit 11 to end the command. 0) Channel interface control unit 11 reports the completion status, then determines whether there is a command chain, and notifies the microprogram to that effect.

■ マイク四ツ−グラムは、コマンドチェイン通知を受
領すると1そのコマンドが再びWRITE  CKDコ
マンドへ判定し、そうなら11− ば、■へもどってレコードの作成をくシ返す00 マイ
クロプログラムハ、コマンドチェインなしの通知か、W
RITE  CKDコマンド以外のコマンドのチプイン
を検出するとタイミング回路19および変復調回路14
に対してイレーズ動作開始を指示する◇イレーズ動作は
インデクス検出回路22によってインデクスの立上りが
検出されそれが信号線107で通知されるまで続けら斤
る。
■ When the microphone four-gram receives the command chain notification, it determines that the command is the WRITE CKD command again, and if so, it returns to step ■ and returns the record creation.00 Microprogram, command chain No notification, W
When a chip-in of a command other than the RITE CKD command is detected, the timing circuit 19 and the modulation/demodulation circuit 14
The erase operation continues until the rising edge of the index is detected by the index detection circuit 22 and notified via the signal line 107.

■ マイクロプログラムは、インデクス検出回路22よ
)インデクスの立よりを通知されると前記■、■の工程
に示すものと同じ手続によってベリファイレコードのA
Mを作成する〇[相] ベリファイレコードのAMを作
成し終えるとタイミング回路19に対してカウントフィ
ールドの省き込みを指示する0この場合書き込むデータ
はカウントバッフ117に格納されている内容(最後に
作成したレコードのカウントフィールドの内容)である
■ When the microprogram is notified of the start of the index by the index detection circuit 22, it checks the A of the verify record using the same procedure as shown in steps (■) and (■) above.
Create M〇 [Phase] After creating the AM of the verify record, instruct the timing circuit 19 to omit the count field 0 In this case, the data to be written is the content stored in the count buffer 117 (last created (contents of the count field of the recorded record).

■ ベリファイレコードのカウント部の書・込み12− 終了の通知をタイミング回路19より信号線106を介
して受領すると、マイクロプログラムは、インデクス検
出回路26からのインデクス立下シ信号108を待つ。
(1) Writing/Writing of Verify Record Count Section 12 - Upon receiving a notification of completion from the timing circuit 19 via the signal line 106, the microprogram waits for an index fall signal 108 from the index detection circuit 26.

インデクス立下りが通知され、コマンドチェインがあれ
ばそれを実行するが、なければ全ての処理を終了する。
When the index falls, if there is a command chain, it is executed, but if there is not, all processing ends.

(2)  リード時 ■ レコードのリード処理は、全てAM検出から開始さ
れる。
(2) When reading ■ All record read processing starts from AM detection.

■ マイクロプログラムはレコードリード系コマンドの
受領をコマンドデコード部よシ通知されるとAM検出作
成回路13に対してAM探索を指示する。
(2) When the microprogram is notified by the command decoder of the receipt of a record read command, it instructs the AM detection and creation circuit 13 to search for an AM.

■ AM検出作成回路13は変復調回路14と連動して
、AM検出を行なう@ ■ AMを検出すると信号線102を介してそれがマイ
クロプログラムに通知される。
(2) The AM detection and creation circuit 13 performs AM detection in conjunction with the modulation/demodulation circuit 14. (2) When AM is detected, the microprogram is notified of it via the signal line 102.

■ マイクロプログラムはAM検出の通知を受けるとタ
イミング回路19とデータ転送制御部21に対してカウ
ントフィールドの読み込みを指示するとともに、チャネ
ルインタフェース制御部に対して、リード、モードのデ
ータ転送の開始を指示する。
■ When the microprogram receives the AM detection notification, it instructs the timing circuit 19 and data transfer control unit 21 to read the count field, and also instructs the channel interface control unit to start data transfer in read mode. do.

■ ディスクから読み込まれるデータは、変復調回路1
4→バツフアレジスタ15→デ一タ転送制御部21→チ
ャネルインタフェース制御部11を経由してチャネル2
へ転送されるが、同時にバッファレジスタ15からカウ
ントバッファ17に退避される。
■ The data read from the disk is sent to the modulation/demodulation circuit 1.
4 → buffer register 15 → data transfer control unit 21 → channel 2 via channel interface control unit 11
However, at the same time, it is saved from the buffer register 15 to the count buffer 17.

■ カウントフィールドの読み込み終了の通知をタイミ
ング回路19よシ信号線106を介して受けとると、続
いてキーフィールド、データフィールドの読み込みを行
なう。これらの読み込みは、カウントフィールドの読み
込みと同様にマイクロプログラムから、チャネルイ・ン
タフエース制御s11、データ転送制御部およびタイミ
ング回路19に対して指示が与えられ実行される。
(2) When the timing circuit 19 receives a notification of completion of reading the count field via the signal line 106, the key field and data field are subsequently read. These readings are executed by giving instructions from the microprogram to the channel interface control s11, the data transfer control section, and the timing circuit 19 in the same way as reading the count field.

キー、データフィールドの読み込み時には1バツフアレ
ジスタ15からカウントバッファ17への退避は行なわ
ねない。
When reading the key and data fields, the data cannot be saved from the 1-buffer register 15 to the count buffer 17.

■ マイクロプログラムはタイミング回路19よりデー
タフィールド読み込み終了の通知を受領すると、チャネ
ルインタフェース制御部に対してコマンドを終了すべく
終了スティタス報告を指示する。
(2) When the microprogram receives a notification from the timing circuit 19 that reading of the data field has ended, it instructs the channel interface control section to report an end status to end the command.

■ 最初に実行されるAM探索は、時間制限なしで行な
われ、最初に見つかるAIVIの属するレコードが処理
の対象となるが、一度カウントフィールドを処理した後
、続いて発行されるコマンドによるAM探索は時間制限
付で行なわれる〇 このような場合、マイクUプログラムdW検出作成回路
に対してAM探索開始を指示した後一定時間(通常前の
レコードのデータフィールドの後端から゛当該レコード
のキーフィールドの前端までの長さに相幽する時間)内
にAM検出の通知がないと、次のレコード無しとみなす
■ The first AM search executed is performed without a time limit, and the first record to which AIVI is found is the target of processing, but once the count field has been processed, AM searches by subsequent commands are This is done with a time limit. In such a case, after instructing the microphone U program dW detection creation circuit to start AM search, a certain period of time (usually from the end of the data field of the previous record to the key field of the record) If there is no notification of AM detection within the time required to reach the front end, it is assumed that there is no next record.

15− ■ 次のレコード無しと判断すると(本当にレコードが
無い場合と、誤りてレコードを見落し、ている場合とが
ある)、マイクロプログラムはインデクス検出回路22
Vr?tLインデクス立上シ検出を指示すZ、。
15- ■ When it is determined that there is no next record (there are cases where there really is no record, and cases where the record is overlooked by mistake), the microprogram detects the index detection circuit 22.
Vr? Z, which instructs to detect the rise of the tL index.

■ インデクス立上シをインデクス検出回路より通知さ
れると、カウントバッファ17の内容(最後に読みとっ
たレコードのカライトフィールドの内容)をカウントバ
ッファ16へ退避し、続いて前記■〜■と同様の手続に
よってベリファイレコードのカウントフィールドを読み
込む、ただしこのレコードの内容はチャネルには転送さ
れず、バッファレジスタ15を経由してカウントバッフ
ァ17に退避される〇 ■ ベリファイレコードのカウント部読込み終了の通知
をタイミング回路19よシ信号線1106を介して通知
されると、マイクロプログラムは比較回路18によりて
カウントバッファ1とカウントバッファ17の内容を比
較す16− るO ■ 一致信号104が通知されるときは、最後に処理し
たレコードがそのトラックの最終レコードであったこと
を゛意味しルコードの見落しは々かりたものとし、処理
を続行する。
■ When the index detection circuit notifies the index start-up, the contents of the count buffer 17 (the contents of the Karaite field of the record read last) are saved to the count buffer 16, and then The count field of the verify record is read by the procedure, but the contents of this record are not transferred to the channel, but are saved to the count buffer 17 via the buffer register 15. When the circuit 19 is notified via the signal line 1106, the microprogram compares the contents of the count buffer 1 and the count buffer 17 by the comparison circuit 18. This means that the last processed record was the final record of that track, so it is assumed that the code was overlooked, and processing continues.

■ 不一致信号109が通知されるときは、レコードの
見落しがありたとし・・・チャネルインタフェース制御
部に対し、コマンドを異常終了させるべく、終了スティ
タス報告を指示するO 以上の実施例からも明らかになったように、本発明では
レコード作成時において各レコードのカウントフィール
ドの内容を遂次記憶し、最終レコードの該カウントフィ
ールドの内容のみを、ベリファイ・レコードと[7でイ
ンデクスの立上シをきっかけとする手段により書き込み
、父、読み出し時において各レコードのカウントフィー
ルドの内容を遂次記憶シ2、最終レコードと認識された
レコードのカウントフィールドの内容のみを、ベリファ
イ・レコードに書き込゛まれたカウントフィールドの内
容と比較し、正確な最終レコードの確認を行彦うもので
ある。従って、本発明によれば、誤った最終レコードの
確認によるレコード抜け、データ抜は等を防止すること
が可能であり、より優れた記憶装備の制御回路を提供で
きる。
■ When the discrepancy signal 109 is notified, it is assumed that a record has been overlooked...The channel interface control unit is instructed to report the termination status in order to terminate the command abnormally.O It is clear from the above embodiments. As shown above, in the present invention, the contents of the count field of each record are sequentially stored when creating a record, and only the contents of the count field of the last record are stored in the verify record and [when the index is set up in step 7]. During writing and reading, the contents of the count field of each record are sequentially stored by means of triggering. 2. Only the contents of the count field of the record recognized as the final record are written to the verify record. This is to compare the contents of the count field and confirm the correct final record. Therefore, according to the present invention, it is possible to prevent record omission, data omission, etc. due to incorrect confirmation of the final record, and it is possible to provide a more excellent control circuit for storage equipment.

又1上記実施例においては、ベリファイ・レコードの書
き込みをインダクタの立ち上がりによ)行なう方法につ
いて示したが、本発明の適用はこれに限られるものでは
ない。即ち、最終レコードからインダクタの立ち下がh
lでの所定領域(本発明でいうG4キャップ)であれば
、ベリファイレコードの書き込み並びに読み出しは可能
である。
Furthermore, in the above embodiment, a method was shown in which the verify record was written by the rise of the inductor; however, the application of the present invention is not limited to this. In other words, the fall of the inductor from the last record is h
Writing and reading of the verify record is possible in a predetermined area (G4 cap in the present invention) in 1.

加えて、実施例においては磁気ディスク装置についての
み説明をしたが、本発明の機能から考えても明らかであ
るように、本発明の適用は、可変長レコード型式の回転
型外S記憶装量の全てに有効である。
In addition, although only a magnetic disk device has been described in the embodiments, as is clear from the functions of the present invention, the present invention is applicable to variable-length record type non-rotating S storage capacity. Valid for all.

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

第1図乃至第3図は、通常の磁気ディスク装置における
トラック・フォーマツhを1第4図は本発明による磁気
ディスク装置におけるトラック・フォーマットを、第5
図は、本発明のベリファイ・レコードのフォーマットを
、第6図は、本発明を実現する磁気ディスク制御装置の
主要回路部を、それぞれ表わしている。図中、■はレン
デクス、01〜G4はトラック上のギャップ、AMはア
ドレス・マーク、1はディスク制御装億、2はチャネル
S3はディスク製筒、11はチャネル・インタフ状−ス
制御部、12はマイクロプログラム制御部、13はAM
検出作成回路、14は変復調回路、15はバッファ・レ
ジスタ、16.17はカウント・バッフ1.18は止転
回路、19はタイミング回路、20はコマンド−デコー
ド部、21はデータ転送制御部、22社インデクス検出
回路、23はデバイスインタフェース制御部である。 代理人 弁理士 検量 宏四部
1 to 3 show the track format h in a conventional magnetic disk device; FIG. 4 shows the track format h in a magnetic disk device according to the present invention;
The figure shows the format of the verify record of the present invention, and FIG. 6 shows the main circuitry of a magnetic disk control device that implements the present invention. In the figure, ■ is a rendex, 01 to G4 are gaps on the track, AM is an address mark, 1 is a disk control unit, 2 is a channel S3 is a disk manufacturing cylinder, 11 is a channel interface control unit, 12 is the microprogram control section, 13 is the AM
Detection and creation circuit, 14 is a modulation/demodulation circuit, 15 is a buffer register, 16.17 is a count buffer 1. 18 is a stop-turn circuit, 19 is a timing circuit, 20 is a command-decode section, 21 is a data transfer control section, 22 23 is a device interface control section. Agent Patent Attorney Calculator Hiroshibu

Claims (2)

【特許請求の範囲】[Claims] (1)可変長レコード型式の回転型外部記憶装置のレコ
ード作成時に、最終レコード終端からインデクスの立下
ψKF)までの所定領域上に該最終レコードのカウント
・フィールドの内容から成るベリファイ・レコードを書
き込み、読み出し時に、最後に読み出したレコードのカ
ウント・フィールドの内容と前記ベリファイ・レコード
との内容を比較することを特徴とする最終レコード確認
方式。
(1) When creating a record in a variable-length record-type rotating external storage device, write a verify record consisting of the contents of the count field of the last record in a predetermined area from the end of the last record to the falling edge of the index ψKF). . A final record confirmation method, characterized in that, at the time of reading, the contents of a count field of the last read record are compared with the contents of the verify record.
(2)  前記ベリファイ・レコードの書き込みを、最
終レコード作成後のイレーズ処理におけるインデクスの
立上がシ後に開始することを特徴とする特許請求の範囲
第1項記載の最終レコード確認方式。
(2) The final record confirmation method according to claim 1, wherein writing of the verify record is started after an index is started up in an erase process after the final record is created.
JP10191481A 1981-06-30 1981-06-30 Final recording confirming system Pending JPS583115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10191481A JPS583115A (en) 1981-06-30 1981-06-30 Final recording confirming system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10191481A JPS583115A (en) 1981-06-30 1981-06-30 Final recording confirming system

Publications (1)

Publication Number Publication Date
JPS583115A true JPS583115A (en) 1983-01-08

Family

ID=14313171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10191481A Pending JPS583115A (en) 1981-06-30 1981-06-30 Final recording confirming system

Country Status (1)

Country Link
JP (1) JPS583115A (en)

Similar Documents

Publication Publication Date Title
JP2854391B2 (en) Method for assembling data groups on DAT tape
US6895500B1 (en) Disk drive for receiving setup data in a self monitoring analysis and reporting technology (SMART) command
US8086938B2 (en) Method for processing noise interference
JPS60142418A (en) Input/output error recovery system
US7146494B2 (en) High speed data transfer between mainframe storage systems
EP0689208A1 (en) Method for block oriented addressing
KR20000071178A (en) File storage method, data storage apparatus, storage medium management method, file management method, method of writing received data in storage media, and program storage media
WO2018113322A1 (en) Method and device for reading data
US5986843A (en) Writing and reading high density magnetic tapes
US20080184090A1 (en) Storage apparatus
US20080077753A1 (en) Stored data processing apparatus, storage apparatus, and stored data processing program
KR100391740B1 (en) A management method for reproducing error and a disk drive making use of the management method
US6833970B2 (en) Data storage
US7984236B2 (en) Data transfer
US5157670A (en) Error correction code interruption system
JPS583115A (en) Final recording confirming system
US20070177293A1 (en) Method for recording data freshness degrees by tape drive
EP1198891B1 (en) Data integrity management for data storage systems
JP2000155737A (en) Data packet receiving device
JP3305667B2 (en) How to write firmware data
US20050174914A1 (en) Recording/reproducing apparatus
JP2011192137A (en) Memory card control system, memory card control device and memory card control method
JP2805780B2 (en) Magnetic disk drive
EP1797561B1 (en) Host device, medium access device, and data storage system
JPS5994244A (en) Optical disk device