JPS58171724A - Copy controller of magnetic disc tape - Google Patents

Copy controller of magnetic disc tape

Info

Publication number
JPS58171724A
JPS58171724A JP5384782A JP5384782A JPS58171724A JP S58171724 A JPS58171724 A JP S58171724A JP 5384782 A JP5384782 A JP 5384782A JP 5384782 A JP5384782 A JP 5384782A JP S58171724 A JPS58171724 A JP S58171724A
Authority
JP
Japan
Prior art keywords
buffer
command
copy
issued
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
JP5384782A
Other languages
Japanese (ja)
Inventor
Hisaharu Takeuchi
久治 竹内
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5384782A priority Critical patent/JPS58171724A/en
Publication of JPS58171724A publication Critical patent/JPS58171724A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B5/00Recording by magnetisation or demagnetisation of a record carrier; Reproducing by magnetic means; Record carriers therefor
    • G11B5/86Re-recording, i.e. transcribing information from one magnetisable record carrier on to one or more similar or dissimilar record carriers

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To make continuous read/write possible only with a buffer having 2-track capacity. CONSTITUTION:When a copy instruction is issued from a CPU10 to a copy controller 11, the CPU connects two disc devices 16 and 17 through disc controllers 12 and 13 and disc connecting devices 14 and 15 on a basis of copy control information. A read instruction is issued to one device; and when data is inputted to a buffer of the CPU, a write instruction is issued to the other device. As the result, the copy processing is executed without a disc latency time and is completed in the about half time of the conventional processing time.

Description

【発明の詳細な説明】 発明の対象 本発明は、計算機システムの磁気ディスク及びテープの
コピー動作を従来以上に高速に行なうことを可能とする
制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention The present invention relates to a control device that makes it possible to copy magnetic disks and tapes in a computer system at a higher speed than ever before.

従来技術 従来のコピーは、CPUからコピーされるデバイスに対
して1トラック単位のREAD命令を発行し、CPUの
メモリを読込む。通常、メモリエリアは、2トラツクの
容量だけ設定されておシデータが1トラツクの容量以上
入った時点で、コピーするデバイスへWRITE命令を
発行し、データをはき出す。この処理においてI10命
令は1トラック単位でしか発行していない為、(2トラ
ツク以上連続したIloを発行する場合は、トラック数
に応じたバッファが必要)次のI10命令は、ディスク
が1回転した後実行されることになり、連続したREA
D/WRITIができない。
Prior Art In conventional copying, the CPU issues a READ command for each track to the device to be copied, and reads the memory of the CPU. Normally, the memory area is set to have a capacity of two tracks, and when the data has entered the capacity of one track or more, a WRITE command is issued to the copying device to output the data. In this process, the I10 command is issued only in units of one track, so (when issuing Ilo for two or more consecutive tracks, a buffer corresponding to the number of tracks is required), the next I10 command is issued once the disk has rotated once. will be executed after consecutive REA
D/WRITI is not possible.

発明の目的 本発明の目的は、2トラツク容量のバッファのみを使用
して、連続したREAD/WRITEを可能とする装置
を提供することにある。
OBJECTS OF THE INVENTION It is an object of the present invention to provide a device that allows continuous READ/WRITE using only a 2-track capacity buffer.

従来シネテムにおいて、I10命令は1つのまとまった
単位で発行し、メモリの読出し書込み完了の認識は、I
loの終了報告により行なうという方式の問題であり、
この対策としてバッファ (メモリを使用)内のデータ
の状況により、直接デバイスの制御装置に対してREA
D/WRITEコマンドを発行し、これを連続して行な
い(全トラ、りのコピーをI10命令で行なうことに相
当する)、かつバッファに対するデータの制御を行なう
機能を持った装置を発明することによシ目的達成が可能
である。
In conventional Cinesystems, the I10 instruction is issued in one unit, and recognition of completion of memory read/write is performed by I10 instructions.
This is a problem with the method of reporting the completion of LO.
As a countermeasure for this, depending on the status of the data in the buffer (memory is used), REA can be sent directly to the device control unit.
To invent a device that has the function of issuing a D/WRITE command, performing this command continuously (equivalent to copying all data using the I10 command), and controlling data in a buffer. It is possible to achieve your goals.

発明の実施例 本発明の一実施例を図1.2により説明する。。Examples of the invention An embodiment of the present invention will be explained with reference to FIG. 1.2. .

図1は、本発明を持ちいたシステム構成図である。CP
 Uloからコピー命令がコピー制御装置11(以下C
PCと略す)に発行されると、CPCはコピー制御情報
により、2台のディスク装置(以下DKUと略す)16
.17をディスク制御装置(以下DKCと略す)12.
15及びディスク接続装置(以下DSCと略す)14.
15を介して接続し、片方のデバイスに対しては、RE
AD命令を発行しCPC内のバッファにデータが入れば
、他方のデバイスに対してWRITE命令を発行する。
FIG. 1 is a system configuration diagram having the present invention. C.P.
A copy command is sent from Ulo to the copy control device 11 (hereinafter referred to as C).
When the CPC is issued to a PC (abbreviated as PC), the CPC uses copy control information to copy two disk units (hereinafter abbreviated as DKU) 16.
.. 17 is a disk control device (hereinafter abbreviated as DKC) 12.
15 and disk connection device (hereinafter abbreviated as DSC) 14.
15, and for one device, RE
When the AD command is issued and the data is stored in the buffer within the CPC, a WRITE command is issued to the other device.

図2は、CPC内部のバッファ構成図であるっコピー動
作を行なう時の初期値として、フラグレジスタ22.2
3.24.27.28.29及びバッファポイン425
.26を0にクリアする。コピーされるデバイスαに対
して1トラツクをREADする命令を発行し、そのRE
ADデータは、フラグ23の値により0であればバッフ
ァ20.1であればバッファ21へ振り分けて入れる。
FIG. 2 is a diagram showing the configuration of a buffer inside the CPC.
3.24.27.28.29 and buffer point 425
.. Clear 26 to 0. Issue a command to read one track to the device α to be copied, and
If the value of the flag 23 is 0, the AD data is distributed to the buffer 20.1 and is input into the buffer 21.

データの入力が始まった時、各バッファに対応しフラグ
22または24を1とし、1 トラ、りのR,EADが
終了すると、同様に、フラグ27tたは29を1とし、
次の動作の為フラグ25の値を反転し、バ。
When inputting data starts, the flag 22 or 24 corresponding to each buffer is set to 1, and when the R and EAD of 1 tiger is completed, the flag 27t or 29 is similarly set to 1,
Invert the value of flag 25 for the next operation.

ファ入カポインタ25をクリアする。コピーするデバイ
スβに対しては、フラグ28の値に対応して、0であれ
ばフラグ22.1であればフラグ24の値を判定し、1
となっていれば、バッファの入力動作が始まっていると
認識し、WRITE命令を発行し、フラグに対応したバ
ッファからデータ転送を行なう。1トラ、りWRITE
終了時は、各バッファに対応したフラグ27マたは29
が1となっていることを確認した後(バッファのデータ
が正常に入っていることを示す)、フラグ22または2
4、フラグ27または29を各々0にリセッ′トシ、次
の動作の為フラグ28の値を反転し、バッファ出カポイ
ンタをクリアする。
The input pointer 25 is cleared. For the device β to be copied, depending on the value of the flag 28, if it is 0, the flag 22. If it is 1, the value of the flag 24 is determined.
If so, it is recognized that the buffer input operation has started, and a WRITE command is issued to transfer data from the buffer corresponding to the flag. 1 tiger, ri WRITE
When finished, set flag 27 or 29 corresponding to each buffer.
After confirming that the flag is set to 1 (indicating that the data in the buffer is correctly entered), set the flag to 22 or 2.
4. Reset each flag 27 or 29 to 0, invert the value of flag 28 for the next operation, and clear the buffer output pointer.

尚、バッファの書込みに対し読出しが追い越されない様
、入力ポインタ25と出力ポイン426の値を比較し、
出力ポインタが同値以上になった場合はWRITEのデ
ータ転送をスト、プし、再度トラ、りの先頭よりWRI
TEを行なう。
Furthermore, in order to prevent the reading from overtaking the writing to the buffer, the values of the input pointer 25 and the output point 426 are compared,
If the output pointer becomes the same value or higher, WRITE data transfer is stopped, and the WRITE is restarted from the beginning of the transfer.
Perform TE.

以下、READ系はフラグ25と22マたは24の値に
より、バッファの空き状態を見てREAD命令を連続的
に発行し、WRITE系ではフラグ28と22または2
4の値により、バッファへの入力状態を見てWRITE
命令を連続的に発行する。
Hereinafter, the READ system continuously issues READ commands based on the values of flags 25, 22, or 24, while checking the buffer free status, and the WRITE system issues flags 28, 22, or 24.
With the value of 4, check the input status to the buffer and write
Issue instructions sequentially.

READ系のDKCに対するコマンド動作は、初めに目
的のトラックに対する5EEKコマンドを発行し、次に
そのトラックの先頭のボームアドレスへ位置付けるコマ
ンドを発行し、その後レコード1以降の全てを読み取る
コマンドを発行する。1トラツクREAD後は次ノドラ
ックの先頭、のホームアドレスに位置付けるコマンドを
発行し、以下同様にシリンダの最後まで、READ動作
をコマンドチェインで行りう。
The command operation for the READ system DKC is to first issue a 5EEK command to the target track, then issue a command to position to the Baum address at the beginning of that track, and then issue a command to read everything from record 1 onwards. After one track is read, a command is issued to locate the home address at the beginning of the next track, and the READ operation is similarly performed in a command chain until the end of the cylinder.

1シリンダ終了すれば、5EEKコマンドにょシ、次の
シリンダの先頭へヘッドを移動し、以下同様に繰返す。
When one cylinder is completed, the head is moved to the beginning of the next cylinder using the 5EEK command, and the same process is repeated.

WRITE、系のコマンド動作はヘッドの位置付けはR
EAD系と同様であシ、レコード1以降のWRITEに
於いては、バッファのデータによシ、各々のレコードに
対するWRITEコマンドを作成して発行する。
For WRITE and related command operations, the head position is R.
Similar to the EAD system, when writing from record 1 onward, a WRITE command for each record is created and issued based on the data in the buffer.

上記コマンドの実行がコマンドチェインにより行なわれ
るので、回転待ちロスを無すことが可能とにる。
Since the above commands are executed by a command chain, it is possible to eliminate rotation waiting losses.

尚、バッファの状態により、RE A D/WRITE
コマンドの発行が遅れた場合は、従来機能のコマンド再
試行により、オリエンデータ。
Depending on the buffer status, RE A D/WRITE
If there is a delay in issuing a command, the original command retry function will return the orientation data.

ンを再確立する。reestablish the connection.

発明の効果 コピー処理が、ディスク回転待ち遅れなしに実行可嘴で
あり、従来の約1/2の時間で処理が完了する。
Effects of the Invention Copy processing can be executed without delay in waiting for disk rotation, and the processing is completed in about half the time of the conventional method.

従来システムへの組込みに際しては、プログラムのコピ
ーコマンドサポートを必要とするのみでその他の装置に
対しては、改造は全く必要としない。
When incorporating into a conventional system, only program copy command support is required, and no modification is required to other devices.

CPUに於いては、メモリをバッファとする必要がなく
なり、他の処理に使用できる。
In the CPU, there is no need to use memory as a buffer, and it can be used for other processing.

チャネルでは、データ転送がなくなり、負荷はほぼゼロ
となる。
There is no data transfer on the channel and the load is almost zero.

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

第1図は、コピー制御装置を含んだシステム構成図、第
2図はコピー制御装置内のバッファ構成図である。 10・・・中央処理装置、 11・・・コピー制御装置、 12.13・・・ディスク制御装置、 14.15・・・ディスク接続装置、 1本17・・・ディスク装置、 20.21・・・バッファ、 22.23.24.27.2本29・・・フラグ、25
・・・ハ、ファ入カポインタ、 26・・・バッファ出力ポインタ。
FIG. 1 is a system configuration diagram including a copy control device, and FIG. 2 is a buffer configuration diagram within the copy control device. 10...Central processing unit, 11...Copy control device, 12.13...Disk control device, 14.15...Disk connection device, one 17...Disk device, 20.21...・Buffer, 22.23.24.27.2 29...Flag, 25
...c, buffer input pointer, 26...buffer output pointer.

Claims (1)

【特許請求の範囲】[Claims] 1、 磁気ディスク、テープを使用した計算機システム
に於いて、ディスクとディスク及びディスクとテープ間
の高速コピーの為、CPUからのコピー命令をチャネル
インタフェースを介して受は取り、コピーされるデバイ
スの制御装置には、前記チャネルインタフェースヲ介し
てREAD命令を発行し、読込んだデータをバッファに
入れ、またコピーするデバイスの制御装置に対しては、
前記チャネルインタフェースを介してバッファのデータ
をWRITEする命令を発行することを特徴とする磁気
ディスク、テープにおけるコピー制御装置。
1. In computer systems using magnetic disks and tapes, for high-speed copying between disks and between disks and tapes, it receives copy commands from the CPU via a channel interface and controls the device being copied. A control device of a device that issues a READ command to the device via the channel interface, stores the read data in a buffer, and copies the data.
A copy control device for magnetic disks and tapes, characterized in that it issues a command to write data in a buffer via the channel interface.
JP5384782A 1982-04-02 1982-04-02 Copy controller of magnetic disc tape Pending JPS58171724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5384782A JPS58171724A (en) 1982-04-02 1982-04-02 Copy controller of magnetic disc tape

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5384782A JPS58171724A (en) 1982-04-02 1982-04-02 Copy controller of magnetic disc tape

Publications (1)

Publication Number Publication Date
JPS58171724A true JPS58171724A (en) 1983-10-08

Family

ID=12954158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5384782A Pending JPS58171724A (en) 1982-04-02 1982-04-02 Copy controller of magnetic disc tape

Country Status (1)

Country Link
JP (1) JPS58171724A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0234709A2 (en) * 1986-01-21 1987-09-02 Matsushita Electric Industrial Co., Ltd. Optical disk duplicating apparatus and duplicated optical disk
US4774600A (en) * 1985-05-06 1988-09-27 Eastman Kodak Company Video tape editing technique

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4774600A (en) * 1985-05-06 1988-09-27 Eastman Kodak Company Video tape editing technique
EP0234709A2 (en) * 1986-01-21 1987-09-02 Matsushita Electric Industrial Co., Ltd. Optical disk duplicating apparatus and duplicated optical disk

Similar Documents

Publication Publication Date Title
JP2855019B2 (en) External storage device data guarantee method and external storage device
JPH06110617A (en) Disk control method
JPS627572B2 (en)
JPS58171724A (en) Copy controller of magnetic disc tape
JPH0535415A (en) Information storage device
JPH04111113A (en) Hard disk emulator
JPH0793101A (en) Data backup device
JP3147575B2 (en) Data writing device and data block writing method
JPH05181613A (en) Information processor
JPS5940309A (en) Memory controller
JPH0440794B2 (en)
JPS61208119A (en) Disk controller
JPS6381661A (en) Optical disk input/output system
JPH0743634B2 (en) Split volume control method
JPH0684283A (en) Transfer method for magneto-optical disk data
JP3226047B2 (en) I / O device
JPS6198436A (en) Input/output control system
JPS62128322A (en) Input/output control system
JPH04322341A (en) Disk cache controller
JPH05217286A (en) Magnetic disk controller
JPH035954A (en) Disk device
JPS6041123A (en) Magnetic disc control device
JPH0520791A (en) Magnetic disk device
JPS6247735A (en) Controller for external memory device
JPS59157813A (en) Controller for magnetic memory of rotor