JPS6198436A - Input/output control system - Google Patents

Input/output control system

Info

Publication number
JPS6198436A
JPS6198436A JP59219861A JP21986184A JPS6198436A JP S6198436 A JPS6198436 A JP S6198436A JP 59219861 A JP59219861 A JP 59219861A JP 21986184 A JP21986184 A JP 21986184A JP S6198436 A JPS6198436 A JP S6198436A
Authority
JP
Japan
Prior art keywords
data
main memory
magnetic tape
control device
input
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
JP59219861A
Other languages
Japanese (ja)
Inventor
Akira Tamaki
玉木 晃
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP59219861A priority Critical patent/JPS6198436A/en
Publication of JPS6198436A publication Critical patent/JPS6198436A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the number of interruptions to a CPU and at the same time to attain the logical copying job of a file at a high speed, by storing the control information in a table. CONSTITUTION:A CPU1 transfers successively the files to be copied to a main memory from a DKU5. A table is produced on the main memory to give the start to an MTU after a proper number of blocks are read out of the DKU5. When the production of said table is through, the VT flag is set at '1' in the control information area of the table. Then the head address of the table is designated and started to an MTC2. The MTC2 receives the head address of the table and extracts data out of the value of the head address to store it in a RAM106. An MTU3 gives a request for data to a control circuit 205 when the MTU3 is ready for reception of data. With reception of said request, a route is formed as a main memory a data register 102 a data buffer 202 the circuit 205 the MTU3. Then the transfer of data is started.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、入出力制御方式、特許、中央処理装置から出
力された指令に従って、磁気テープ制御装置に記憶され
ているマイクロプログラムを動作させ、主記憶を介して
の磁気ディスク装置とストリーミング機能を有する磁気
テープ装置間での7アイルの論理的コピー動作を制御す
る入出力制御 。
Detailed Description of the Invention (Field of Industrial Application) The present invention operates a microprogram stored in a magnetic tape control device according to an input/output control method, a patent, and instructions output from a central processing unit. Input/output control that controls 7-aisle logical copy operations between a magnetic disk device and a magnetic tape device with a streaming function via the main memory.

方式に関する。Regarding the method.

(従来技術) 一般に、マイクロプログラム制御の入出力制御方式は、
中央処理装置(以下CPUと記す)から出力される指令
に応答して動作する。この指令としてはライト命令やリ
ード命令がある。従来、入出力装置(以下I10装置と
記す)とCPU間でデータ転送を行う場合、CPUから
入出力制御装置に指令を出すと、入出力制御装置はこの
指令を解読し、I10装置に対して必要なコマンドを送
出し、ダイレクトメモリアクセス(以下J)MAと鳶 1      記す)データ転送の制御を行いデータ転
送を行う。
(Prior art) In general, the input/output control method of microprogram control is
It operates in response to commands output from a central processing unit (hereinafter referred to as CPU). These commands include write commands and read commands. Conventionally, when transferring data between an input/output device (hereinafter referred to as I10 device) and a CPU, when the CPU issues a command to the input/output control device, the input/output control device decodes this command and sends a command to the I10 device. It sends necessary commands and controls direct memory access (hereinafter referred to as MA) data transfer to perform data transfer.

データ転送が終了すると入出力制御装置は動作が終了し
た旨をCPUに対して割込みによシ通知する。
When the data transfer is completed, the input/output control device notifies the CPU of the completion of the operation via an interrupt.

次に図面を参照してさらに詳細に説明する。Next, a more detailed explanation will be given with reference to the drawings.

第1図は本発明および従来の入出力制御方式に共通して
適用されるデータ処理システムのシステム構成図である
。第2図は従来の入出力制御方式に於いて磁気ディスク
装置(以下D K Uと記す)からデータ(ファイル)
をリードし、磁気テープ装置(以下MTUと記す)ヘラ
イトする動作を示した概念図である。
FIG. 1 is a system configuration diagram of a data processing system commonly applied to the present invention and a conventional input/output control method. Figure 2 shows data (files) from a magnetic disk unit (hereinafter referred to as DKU) in the conventional input/output control method.
FIG. 2 is a conceptual diagram showing the operation of reading and writing to a magnetic tape unit (hereinafter referred to as MTU).

従来のDKUとM T U liでのファイルの論理的
コピーを、DKUからMT[Jへのコピーを例として、
第1丙および第2図を参照して説明する。
The logical copying of files between the conventional DKU and M T U li is taken as an example of copying from DKU to MT[J.
This will be explained with reference to Fig. 1C and Fig. 2.

CPU1からDKU5に対するリード指令が出力される
と、磁気ディスク制御装置(以下DKCと記す)4はD
KU5 に対して必要な情報(7アイル)か、格納され
ている位置までヘッドを動かすためのシークコマンドを
送出する。DKU5のシーク動作が完了すると、DKC
4はデータのリードコ      )マントをDKU5
へ送出する。DKU5は指示された情報(ファイル)の
先頭を見つけると、DKC4に情報を転送す−る。DK
C4はDKU5から送られて来た情報をDMAによ[C
PU1内の主記憶(図示せず)K転送する。DKC4は
必要な情報を転送し終えるとCPUIに対して割込みを
発生し、リード動作の終了を通知する。
When a read command is output from the CPU 1 to the DKU 5, the magnetic disk control device (hereinafter referred to as DKC) 4
Sends the necessary information (7 isles) to KU5 or a seek command to move the head to the stored position. When the seek operation of DKU5 is completed, DKC
4 is Data's lead command) Cloak is DKU5
Send to. When the DKU5 finds the beginning of the specified information (file), it transfers the information to the DKC4. D.K.
C4 uses DMA to send the information sent from DKU5 [C
The main memory (not shown) in PU1 is transferred. When the DKC 4 finishes transferring the necessary information, it generates an interrupt to the CPUI and notifies the CPU of the end of the read operation.

CPUIはDKU5のリード動作終了通知を受取ると、
MTU3 K対するライト指令を実行する。
When the CPUI receives the DKU5 read operation completion notification,
Executes a write command for MTU3K.

磁気テープ制御装fi’e(以下MTCと記す)2はM
TU3 に対してライトコマンドを送出すると井に、C
PUIから情報をDMAによシ受取る。
The magnetic tape controller fi'e (hereinafter referred to as MTC) 2 is M
When a write command is sent to TU3, C
Receives information from PUI via DMA.

MTU3は磁気テープの送行を開始し、MTC2よ多情
報を受取シライトする。MTC2は必要な情報を転送し
終えるとCPU1に対して割込みを発生し、ライトit
作の終了を通知する。
MTU3 starts feeding the magnetic tape, receives and writes more information than MTC2. When MTC2 finishes transferring the necessary information, it generates an interrupt to CPU1 and writes it.
Notify the end of the work.

CPU1は以上の一連の動作を必要な回数だけ繰返し行
う。
The CPU 1 repeats the above series of operations as many times as necessary.

ところで、一般に、データ処理システムで使用されるD
KU5 の構成は、周知のように、第3図(a)、 (
b)に示すようIC,複数のディスク板と複数のへ、ド
を有しており、ディスク板上のデータの記録部分は複数
の円周(以下トラックと記す)に分割されておシ、また
、同一トラック上は複数のセクタに分割されている。ソ
フトウェアで取扱われるデータは、第3図(C)、 (
d)、 (e)で示す様に、最小記録単位をレコードと
し、レコードの複数の集会をブロック、ブロックの複数
の集合をファイルとして取扱い、DKU5上に記録され
るファイルは、第3図および第4図に示す様に、物理的
には連続していたり、或は不連続の位置に記録されてい
る(論理的に継がっている)。また、一般的にDKU5
のシーク時間は平均的に約3 Q m Sを要し、MT
U3  をアクセスする場合、伝気テーグを停止状態か
ら走行させるのに平均的にFi500msを要する。
By the way, in general, D used in data processing systems
As is well known, the configuration of KU5 is shown in Figure 3(a), (
As shown in b), the IC has multiple disk plates and multiple tracks, and the data recording portion on the disk plate is divided into multiple circumferences (hereinafter referred to as tracks). , the same track is divided into multiple sectors. The data handled by the software is shown in Figure 3 (C), (
As shown in d) and (e), the minimum recording unit is a record, a collection of records is treated as a block, and a collection of blocks is treated as a file, and the files recorded on the DKU5 are as shown in Figures 3 and 5. As shown in Figure 4, they are recorded in physically continuous or discontinuous positions (logically continuous). Also, generally DKU5
The average seek time for MT
When accessing U3, it takes Fi 500ms on average to move the air transmission tag from a stopped state.

(発明が暦法しようとする問題点) このような従来方式においては、DKLIからMTUへ
のファイルの論理的コピーの動作は、シーク動作、DK
UからCPUへのDMAデータ転送、割込処理、磁気チ
ー7走行、CPUからM ’1’ UへのDMAデータ
転送および割込処理がこの順序に繰返し行なわれるため
に、磁気テープの走行に多くの時間を必要とするし、C
PUの負荷が割込処理等の為に非常に重くなるという問
題点がちる。
(Problems that the invention attempts to solve with the calendar method) In such a conventional method, the operation of logically copying a file from the DKLI to the MTU is a seek operation, a DK
DMA data transfer from U to CPU, interrupt processing, magnetic chip 7 running, DMA data transfer from CPU to M '1' U, and interrupt processing are repeated in this order, so it takes a lot of time to run the magnetic tape. It requires time of C.
There is a problem that the load on the PU becomes extremely heavy due to interrupt processing and the like.

その結果、CPUの処理速度が遅くなることと、磁気テ
ープの停止と起動の緑返しによる動作のために、論理的
コピー動作に非常に多くの時間を必要とする問題点があ
る。
As a result, there are problems in that the processing speed of the CPU becomes slow and the logical copy operation requires a very long time due to the operation of stopping and starting the magnetic tape.

また、MTUへのアクセスに於いてエラーが発缶した場
合には、磁気テープを逆矩行させてDMAデータ転送を
・r h直すことに伴い、割込み回数が多くなるのと、
エラーブロックの%=込みの為の処理によシ、さらにC
PUの負荷が重くなるという問題点がある。
In addition, if an error occurs when accessing the MTU, the number of interrupts increases as the magnetic tape is reversed and the DMA data transfer is corrected.
% of error blocks = processing for inclusion, and C
There is a problem that the load on the PU becomes heavy.

したかつで、本発明の目的は、CPUの負荷を軽減でき
るとともに、主記憶を介してのD K UとMTU間で
の7アイルの@理的コピーを高速に実行できかつMTU
のエラー発生時にMTCにおけ1      る制御の
みによって再試行できるような入出力制)1     
 御方式を提供することにある。
In addition, it is an object of the present invention to be able to reduce the load on the CPU, to perform a 7-aisle physical copy between the DKU and MTU via the main memory at high speed, and to reduce the load on the CPU.
An input/output system that allows retrying only by control in MTC when an error occurs (input/output system)1
Our goal is to provide a method for you.

(問題点を解決するための手段) そのために、本発明の方式は、ストリーミング機能を有
する磁気テープ装置と磁気ディスク装置間で行なわれる
主記憶を介しての論理的複写動作を制御するための入出
力制御方式において、前記主記憶には、 それぞれが1ブロック分の転送データを格納する複数個
のデータバッファと、 それぞれが有効テーブル長、テーブルの使用可否指定、
次テーブルの参照可否指定、ブロック数、カレントブロ
ック番号、次テーブルのテーブル長、ブロック情報、次
テーブルアドレスおよびエラ一時の再試行用オフセット
値を格納する少なくとも1つのテーブルとを設け、 また、前記磁気テープ制御装置には、前記主記憶におけ
るテーブルの一つの写しを格納するための副テーブルを
設け、 中央処理装置は前記磁気ディスク装置から複数ブロック
のデータを前記データノくソファに読出すごとい前、。
(Means for Solving the Problems) For this purpose, the system of the present invention provides an input method for controlling logical copying operations via main memory performed between a magnetic tape device having a streaming function and a magnetic disk device. In the output control method, the main memory includes a plurality of data buffers each storing one block of transfer data, each buffer having an effective table length, table usability designation,
At least one table is provided for storing a next table referability designation, the number of blocks, the current block number, the table length of the next table, block information, the next table address, and an offset value for retrying in case of an error; The tape control device is provided with a sub-table for storing a copy of one of the tables in the main memory, and before the central processing unit reads a plurality of blocks of data from the magnetic disk device to the data storage.

f −7” # K前、8内容を書いれ−Cヶ−7・!
ルをチェーン化し前記磁気ディスク装置からの読出を続
行するとともに前記磁気テープ制御装置に書込指令を出
し、 前記磁気テープ制御装置は前記書込指令に応答して前記
主記憶のテーブルの内容を前記副テーブルに書込み該副
テーブルの内容に基づいて前記磁気テープ装置に前記デ
ータバッファの内容を書込むl ことによって、磁気テープの走行を停止させることなく
、かつエラー発生時に前記磁気テープ制御装置における
制御のみで再試行できるようにしたことを特徴とする。
f -7''# Before K, write 8 contents - C - 7・!
chaining the files and continuing reading from the magnetic disk device and issuing a write command to the magnetic tape control device, and the magnetic tape control device responds to the write command by writing the contents of the table in the main memory to the By writing the contents of the data buffer to the magnetic tape device based on the contents of the sub-table, the control in the magnetic tape control device can be performed without stopping the running of the magnetic tape and when an error occurs. The feature is that it is possible to retry only by

(実施例) 次に本発明の実施例について図面を参照して詳細に説明
する。第1図と第5図とで本発明の一実施例を示す。第
1図に於て、1はCPU、2はMTC,3はMTU14
はDKC,5はDKU。
(Example) Next, an example of the present invention will be described in detail with reference to the drawings. An embodiment of the present invention is shown in FIGS. 1 and 5. FIG. In Figure 1, 1 is the CPU, 2 is the MTC, and 3 is the MTU14.
is DKC, 5 is DKU.

101はアドレスレジスタ、102はデータレジスタ、
103はバス制御回路、104はマイクロプロセッサ、
105はROM、106はRAM。
101 is an address register, 102 is a data register,
103 is a bus control circuit, 104 is a microprocessor,
105 is a ROM, and 106 is a RAM.

107はデバイス制御回路−をそれぞれ示す。第5図に
於て、201はアドレスカウンタ、202ハテータバツ
フア、203はデータカラ/り、204は先入先出制御
方式のバッファ(以下EIFOと記す)、205は制御
回路をそれぞれ示す。
Reference numeral 107 indicates a device control circuit. In FIG. 5, 201 is an address counter, 202 is a data buffer, 203 is a data color buffer, 204 is a first-in first-out control buffer (hereinafter referred to as EIFO), and 205 is a control circuit.

第6図はCPUI上の主記憶に展開されるn個のテーブ
ル相互間の関係を示し、第7図はこのテーブルの構成を
示す図である。第7図において、SPMダンプエリアポ
インタはエラ一時におけるRAM106の内容を主記憶
に転送する時の主記憶の先頭アドレスを示し、有効テー
ブル長はテーブル自身のサイズを示し、制御情報エリア
はテーブル自身の制御状態を示し、ブロック数はテーブ
ル内に含まれているブロックの数を示し、オフセット値
はブロック1から動作をスキップする数を示し、カレン
トブロック番号はMTC2が処理中のブロック番号を示
し、次のテーブルアドレスは1つのテーブルの処理終了
時、次に参照すべきテーブルアドレスを示し、次のテー
ブルのテーブル長は次に参照すべきテーブルのサイズを
示し、/(ソファアドレスはそのブロックでのアクセス
すべき主記憶の開始アドレスを示し、レンジはそのプロ
ックでの転送すべきデータ数を示し、残シレンジはその
ブロックの動作終了時の残シのレンジを示し、ステータ
スはそのブロックの動作終了時のステータスを格納する
FIG. 6 shows the relationship between n tables developed in the main memory on the CPUI, and FIG. 7 shows the structure of this table. In FIG. 7, the SPM dump area pointer indicates the start address of the main memory when the contents of the RAM 106 at the time of an error are transferred to the main memory, the effective table length indicates the size of the table itself, and the control information area indicates the size of the table itself. Indicates the control state, the block number indicates the number of blocks included in the table, the offset value indicates the number to skip the operation from block 1, the current block number indicates the block number that MTC2 is processing, and the next The table address of indicates the next table address to be referenced when the processing of one table is completed, the table length of the next table indicates the size of the next table to be referenced, and the /(sofa address is The range indicates the number of data to be transferred in that block, the remaining range indicates the remaining range at the end of the block's operation, and the status indicates the number of data to be transferred at the block's end. Store status.

第8図は、テーブルにおける制御情報エリアの詳細の一
例を示した図であり、第9図はマイクロプロセッサ−0
4によってFIFO204に書込まれたテーブルのブロ
ック情報を示す。第8図において、参照記号VTが”1
#のときにはこのテーブルが使用可能でありパ0”のと
きKは使用不可であることを示し、参照記号TMが1”
のときにはテーブルチェインがこのテーブルで終)でち
ることを示し、参照記号CPが′1#のときにはこのテ
ーブルが正常に処理終了したことを示し、参照記号ER
が1#のときにはこのテーブルを処理中にエラーが発生
したことを示し、参照記号(工Tが1”のときにはこの
テーブルに設定されふ− t       た値が不適当であることを示す。
FIG. 8 is a diagram showing an example of details of the control information area in the table, and FIG. 9 is a diagram showing an example of details of the control information area in the table, and FIG.
4 shows the block information of the table written to the FIFO 204. In FIG. 8, the reference symbol VT is “1”.
# indicates that this table can be used, and K indicates that it cannot be used when it is 0'', and the reference symbol TM is 1''.
When , it indicates that the table chain ends at this table), and when the reference symbol CP is '1#, it indicates that this table has been processed normally, and the reference symbol ER
When is 1#, it indicates that an error occurred while processing this table, and when the reference symbol (T) is 1'', it indicates that the value set in this table is inappropriate.

以下、第5図、第6図、第7図、第8図および第9図を
参照して、DKU5からMTU3へのファイルの論理的
コピー動作について説明する。
The logical copy operation of files from the DKU 5 to the MTU 3 will be described below with reference to FIGS. 5, 6, 7, 8, and 9.

先ず、CPU1はDKU5からコピーしたい7アイルを
順次に主記憶に転送する。適轟なブロック数をDKU5
から読み出したら、MTU起動をかける為のテーブルを
主記憶上に生成する。テーブル生成が完了すると、この
テーブルにおける制御情報エリアのVT7.Fグを(1
1#にセットして、MT02に対してテーブルの先頭ア
ドレス(第6図のX××)を指定し起動を行う。
First, the CPU 1 sequentially transfers the seven files to be copied from the DKU 5 to the main memory. DKU5 for a suitable number of blocks
After reading from , a table for starting MTU is generated in the main memory. When table generation is completed, VT7. in the control information area of this table. F (1)
1#, and specifies the start address of the table (XXX in FIG. 6) to MT02 to start it.

MT02は、テーブルの先頭アドレスX××を受取ると
、マイクロプロセッサ104によ)先頭アドレスxxx
で指定されるテーブルを主記憶よシ引取、9.RAM1
06に格納する。次にこのテーブル内のVT7ラグが“
1″であることを確認した後、RAM106内のテーブ
ルのカレントブロック番号エリアと主記憶上のテーブル
のカレントブロック番号エリアにブロック番号″1″を
書込む     1が、この時にテーブルにオフセット
値が指定されていれば、ブロック番号はオフセラトイ匠
となる。
When the MT02 receives the start address XXX of the table, the microprocessor 104 returns the start address
9. Retrieve the table specified by from main memory. RAM1
Store in 06. Next, the VT7 lag in this table is “
1", then write block number "1" to the current block number area of the table in RAM 106 and the current block number area of the table in main memory. 1, at this time, the offset value is specified in the table. If so, the block number will be Offseratoy Takumi.

次に、マイクロプロセッサ104は、第9図に示すよう
なブロック情報をFIFO204に格納し、制御回路2
05に対して転送開始の指示を与える。
Next, the microprocessor 104 stores block information as shown in FIG.
05 is given an instruction to start the transfer.

制御回路205はFIFO204よシバソファアドレス
とレンジをib出し、それぞれをアドレスカウンタ20
1とデータカウンタ203にセットし、MTU3  K
対してライトコマンドを送出する。
The control circuit 205 outputs the Shibasofa address and range from the FIFO 204, and inputs each to the address counter 20.
1 and data counter 203, MTU3 K
Send a write command to.

MTU3 は磁気テープの走行を開始し、データを受取
れる状態になると、制御回路205に対してデータ要求
を行う。制御回路205はこのデータ要求を受は取ると
、アドレスカウンタ201からのアドレスを保持するア
ドレスレジスタ101と、パス制御回路103との補助
によりて、主記憶→データレジスタ102→データバッ
ファ202→制御回路205→M T U 3の経路を
作)、データ転送を行う。このとき、アドレスカウンタ
201は1バイト転送されるごとに+1され、データカ
ウンタ203は−1される。
The MTU3 starts running the magnetic tape, and when it becomes ready to receive data, makes a data request to the control circuit 205. When the control circuit 205 receives this data request, the address register 101 that holds the address from the address counter 201 and the path control circuit 103 assist the control circuit 205 from main memory → data register 102 → data buffer 202 → control circuit. 205→MTU 3 route) to perform data transfer. At this time, the address counter 201 is incremented by 1 every time one byte is transferred, and the data counter 203 is incremented by -1.

データカウンタ203が′0″になると制御回路205
はマイクロプロセッサ104に1ブロツク転送終了の割
込みを発生しくデータカウンタ203が←0でも、エラ
ーが発生すればマイクロプロゲラJ、に割込む)、エラ
ーが無ければ、PIFO204より次のブロックのバッ
ファアドレスとレンジを取シ出しアドレスカウンタ20
1、データカウンタ203にセットし、次のブロックの
転送を開始する。エラーが有れば行なわない。
When the data counter 203 becomes '0'', the control circuit 205
generates an interrupt to the microprocessor 104 to indicate the end of one block transfer (even if the data counter 203 is ←0, if an error occurs, an interrupt is generated to the microprocessor J), and if there is no error, the buffer address of the next block is sent from the PIFO 204. Take out the microwave and take out the address counter 20.
1. Set the data counter 203 and start transferring the next block. If there is an error, do not proceed.

一方、マイクロプロセッサ104はブロック終了の割込
みを受取ると、終了のステーメスを制御回路205よシ
引取シ、主記憶上のテーブルのブロックのステータスエ
リアに書込む。また、ステータスにエラーが7裾ければ
、RA八へ106と主式己+X上のテーブルのカレント
ブロック番号エリアを+1する。ステータスにエラーが
あれば、カレントブロック番号は+1し〃λない。制御
回路205は、エラーが発生するか、すべてのブロック
?転送し終えるまで上記の動作を繰返す。
On the other hand, when the microprocessor 104 receives an interrupt indicating the end of the block, it receives the end status from the control circuit 205 and writes it into the block status area of the table in the main memory. Also, if there are 7 errors in the status, 106 is added to RA8 and the current block number area of the table on the main formula +X is increased by +1. If there is an error in the status, the current block number is +1 and there is no λ. The control circuit 205 determines whether an error occurs or all blocks? Repeat the above operation until the transfer is completed.

MTU3 Fi、、iつのブロックのライト後は、ブロ
ック間のギャップであるIRQを書いているので、この
IRQを柊いている間に次のライトコマンドを受取ると
磁気テープの走行を止めることなく連続走行し、データ
を書込む。マイクロプロセ、す104は、テーブルのす
べてのブロックを処理し終えると、主記憶上のテーブル
の制御情報エリアのCP7ラグをセットして(エラーが
発生した場合はERフラグ、またはE′ELフラグとI
T7ラグをセットする。)CPUIに割込む。
MTU3 Fi... After writing i blocks, the IRQ which is the gap between the blocks is written, so if the next write command is received while writing this IRQ, the magnetic tape will continue to run without stopping. and write the data. When the microprocessor 104 finishes processing all blocks of the table, it sets the CP7 lag in the control information area of the table in the main memory (if an error occurs, it sets the ER flag or E'EL flag). I
Set the T7 lug. ) interrupts the CPUI.

次にRAM106の次のテーブルアドレスエリアと次の
テーブルのテーブル長を参照して、次のテーブルを主記
憶よシ引取、QRAM106に格納しくエラーが発生し
た場合、または、制御情報エリアのTMフラグが1にセ
ットされている場合は次のテーブルの参照は行なわない
。)同様の動作を繰返す。
Next, referring to the next table address area and table length of the next table in RAM 106, the next table is transferred to the main memory and stored in QRAM 106. If an error occurs or the TM flag in the control information area is If set to 1, the next table will not be referenced. ) Repeat the same operation.

一方、CPUIは、MTC’2から割込みが入ると、既
テーブルの制御情報エリアのER,フラグとCPフラグ
をチェ、りし、ERフラグ=″′0#でCPフラグ=1
のときは既テーブルの更新(又は削除)を行う。ER7
ラグ=61”のときは、既テーブルのカレントブロック
番号を既テーブルのオフセット値にセットし、カレント
ブロック番号、ERフラグ、ITフラグを′0”にして
、既テーブルの主記憶上の先頭アドレスをMTC2に指
示し起動をかけるだけで、リトライ処理が行える。
On the other hand, when the CPUI receives an interrupt from MTC'2, it checks the ER, flag and CP flag in the control information area of the existing table, and ER flag = ''0# and CP flag = 1.
In this case, update (or delete) the existing table. ER7
When lag = 61'', set the current block number of the existing table to the offset value of the existing table, set the current block number, ER flag, and IT flag to ``0'', and set the starting address on the main memory of the existing table. Retry processing can be performed simply by instructing the MTC2 and activating it.

M T C2は、エラーが発生した場合、MTU3に対
してエラーが発生したブロックよシ2ブロックのパック
指令を出し、次に1ブロツク前進のコマンドを出して、
エラーブロックの先頭に磁気テープを位置決めし、CP
UIからのコマンドを待つ。
When an error occurs, MTC2 issues a command to MTU3 to pack two blocks from the block where the error occurred, and then issues a command to move forward one block.
Position the magnetic tape at the beginning of the error block, and
Wait for command from UI.

また、CPUIはテーブルの処理状態を、テーブルのカ
レントブロック番号エリアを見れば判別できるので、必
要が有れば、DKU5からのファイルのリードとMTU
3へのライトの速度の調整をそれ以降のチェインするテ
ーブルのサイズ、テーブル数を変更することによシ可能
となる。以上説明したことは、DKU5からMTU3へ
の7アイルの論理的コピー動作の概念図である第10図
と、CPUI−MTC2−MT03間0処40−例を村
     !フロー図である第11図と、MTC2内の
処理の一例を示すフロー図である第12図とを参照する
ことによって、更に理解が深まるであろう。
In addition, the CPU can determine the processing status of the table by looking at the current block number area of the table, so if necessary, read the file from DKU5 and set the MTU
The speed of writing to 3 can be adjusted by changing the size and number of tables to be chained thereafter. What has been explained above is based on FIG. 10, which is a conceptual diagram of a 7-isle logical copy operation from DKU5 to MTU3, and an example of 040 between CPUI-MTC2-MT03. The understanding will be further deepened by referring to FIG. 11, which is a flow diagram, and FIG. 12, which is a flow diagram showing an example of processing within the MTC 2.

(発明の効果) 本発明によれば、以上に説明したような構成の採用によ
って、CPUへの割込みをテーブル内に設定したブロッ
ク数分だけ減らすことができるのでCPUの負荷を軽減
すると共K、7アイルの論理的コピーを高速に行なえ、
かつ、エラ一時テーブルの再編成をすることなく再試行
が行なえるという効果がある。
(Effects of the Invention) According to the present invention, by employing the configuration described above, it is possible to reduce the number of interrupts to the CPU by the number of blocks set in the table, thereby reducing the load on the CPU. Perform logical copying of 7 isles at high speed,
Moreover, there is an effect that retry can be performed without reorganizing the error temporary table.

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

第1図は従来技術と本発明とに共通なシステム構成図、
第2図は従来技術に於けるファイルの論理コピーを示し
た概念図、第3図(a)(b)はDKUのヘッド、トラ
ック、セクタの概念図、第3図(C)(d)(e)はフ
ァイルの構成例、第4図はDKUからMTへの論理コピ
ーを示す図、第5図は本発明の一実施例を示すブロック
図、第6図、第7図、第8図は本発明の一実施例におけ
るテーブルの構成図、第9図はFIFOに格納されるブ
ロック情報の概念図、第10図、第11図、第12図は
本発明の一実施例の動作の概念図である。 1・・・・・・CPU、2・・・・・・MTC,3・・
・・・・MTU14・・・・・・DKC,5・・・・・
・DKU、101・・・・・・アドレスレジスタ、10
2・・・・・・データレジスタ、103・・・・・・バ
ス制allDDK、 104・・・・・・マイクロプロ
セッサ、105−・−・・ROM1106.旧、、RA
M、107・・・・・・デバイス制御回路、201・・
・・・・アドレスカウンタ、202・・・・・・データ
バッファ、2o3・・団・データカラン’、204・・
・・・・FIFOl 205・・曲・制御回路。 代理人 弁理士  内 原   晋 脣45 Z 纂6 習 ず 第9 図
FIG. 1 is a system configuration diagram common to the prior art and the present invention.
Figure 2 is a conceptual diagram showing a logical copy of a file in the prior art, Figures 3 (a) and (b) are conceptual diagrams of the DKU head, track, and sector, and Figures 3 (C), (d) ( e) is a file configuration example, FIG. 4 is a diagram showing logical copying from DKU to MT, FIG. 5 is a block diagram showing an embodiment of the present invention, and FIGS. 6, 7, and 8 are FIG. 9 is a conceptual diagram of block information stored in FIFO; FIG. 10, FIG. 11, and FIG. 12 are conceptual diagrams of the operation of an embodiment of the present invention. It is. 1...CPU, 2...MTC, 3...
...MTU14...DKC,5...
・DKU, 101...Address register, 10
2...Data register, 103...Bus-based all DDK, 104...Microprocessor, 105--ROM1106. Old,,RA
M, 107...Device control circuit, 201...
...address counter, 202...data buffer, 2o3...group data callan', 204...
...FIFOl 205...music/control circuit. Agent Patent Attorney Shinso Uchihara 45 Z 纂6 Lessons Figure 9

Claims (1)

【特許請求の範囲】 ストリーミング機能を有する磁気テープ装置と磁気ディ
スク装置間で行なわれる主記憶を介しての論理的複写動
作を制御するための入出力制御方式において、前記主記
憶には、 それぞれが1ブロック分の転送データを格納する複数個
のデータバッファと、 それぞれが有効テーブル長、テーブルの使用可否指定、
次テーブルの参照可否指定、ブロック数、カレントブロ
ック番号、次テーブルのテーブル長、ブロック情報、次
テーブルアドレスおよびエラー時の再試行用オフセット
値を格納する少なくとも1つのテーブルとを設け、 また、前記磁気テープ制御装置には、前記主記憶におけ
るテーブルの一つの写しを格納するための副テーブルを
設け、 中央処理装置は前記磁気ディスク装置から複数ブロック
のデータを前記データバッファに読出すごとに前記テー
ブルに前記内容を書入れてテーブルをチェーン化し前記
磁気ディスク装置からの読出を続行するとともに前記磁
気テープ制御装置に書込指令を出し、 前記磁気テープ制御装置は前記書込指令に応答して前記
主記憶のテーブルの内容を前記副テーブルに書込み該副
テーブルの内容に基づいて前記磁気テープ装置に前記デ
ータバッファの内容を書込む ことによって、磁気テープの走行を停止させることなく
、かつエラー発生時に前記磁気テープ制御装置における
制御のみで再試行できるようにしたことを特徴とする入
出力制御方式。
[Claims] In an input/output control method for controlling a logical copying operation via a main memory performed between a magnetic tape device and a magnetic disk device having a streaming function, each of the main memories includes: Multiple data buffers that store one block of transfer data, each with an effective table length, table usability specification,
At least one table is provided that stores a next table referenceability designation, the number of blocks, the current block number, the table length of the next table, block information, the next table address, and an offset value for retrying in the event of an error; The tape control device is provided with a sub-table for storing a copy of one of the tables in the main memory, and the central processing unit updates the table each time a plurality of blocks of data are read from the magnetic disk device into the data buffer. Writing the contents to chain the table and continuing reading from the magnetic disk device, and issuing a write command to the magnetic tape control device, and the magnetic tape control device writes the main memory in response to the write command. By writing the contents of the data buffer to the magnetic tape device based on the contents of the sub-table, it is possible to prevent the magnetic tape from stopping when an error occurs without stopping the running of the magnetic tape. An input/output control method characterized by being able to perform retrials only by controlling the tape control device.
JP59219861A 1984-10-19 1984-10-19 Input/output control system Pending JPS6198436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59219861A JPS6198436A (en) 1984-10-19 1984-10-19 Input/output control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59219861A JPS6198436A (en) 1984-10-19 1984-10-19 Input/output control system

Publications (1)

Publication Number Publication Date
JPS6198436A true JPS6198436A (en) 1986-05-16

Family

ID=16742203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59219861A Pending JPS6198436A (en) 1984-10-19 1984-10-19 Input/output control system

Country Status (1)

Country Link
JP (1) JPS6198436A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63200229A (en) * 1987-02-14 1988-08-18 Chugoku Nippon Denki Software Kk Maintenance control system for memory medium
JP2002323958A (en) * 2001-04-25 2002-11-08 Sony Corp Recording / reproducing apparatus and recording / reproducing control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63200229A (en) * 1987-02-14 1988-08-18 Chugoku Nippon Denki Software Kk Maintenance control system for memory medium
JP2002323958A (en) * 2001-04-25 2002-11-08 Sony Corp Recording / reproducing apparatus and recording / reproducing control method

Similar Documents

Publication Publication Date Title
US8151014B2 (en) RAID performance using command descriptor block pointer forwarding technique
WO1995006284B1 (en) Ata interface architecture employing state machines
JPS6433770A (en) Disk controller
JPS6198436A (en) Input/output control system
JPS6232494B2 (en)
US5581458A (en) Bufered intelligent digital tape controller with onboard ECC and featuring global control variables
JPH04311219A (en) Data backup system
KR20020019437A (en) Systems and Methods for a Disk Controller Memory Architecture
JPS6198437A (en) Input/output control system
JPS62128322A (en) Input/output control system
JPH0793101A (en) Data backup device
JPS6158032A (en) Input and output control system
JPS58171724A (en) Copy controller of magnetic disc tape
JPS6027014A (en) Magnetic disk controller
JPS61208119A (en) Disk controller
JPH054693B2 (en)
JPS58125128A (en) Computer system
JPH11338644A (en) Disk control device and storage device
JPS59172186A (en) Cache memory control system
JPH01501661A (en) Improved high-speed tag transfer
JPH04358243A (en) Semiconductor disk device
JPH01255918A (en) Control system for disk system with mixed sector length
JPS6398722A (en) Magnetic disk controller
JP2000112669A (en) File control unit
JPS61217827A (en) Data transfer controller