JP2844960B2 - Digital data recording / reproducing device - Google Patents

Digital data recording / reproducing device

Info

Publication number
JP2844960B2
JP2844960B2 JP12918891A JP12918891A JP2844960B2 JP 2844960 B2 JP2844960 B2 JP 2844960B2 JP 12918891 A JP12918891 A JP 12918891A JP 12918891 A JP12918891 A JP 12918891A JP 2844960 B2 JP2844960 B2 JP 2844960B2
Authority
JP
Japan
Prior art keywords
recording
data
data group
reproducing
control information
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 - Fee Related
Application number
JP12918891A
Other languages
Japanese (ja)
Other versions
JPH04353920A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP12918891A priority Critical patent/JP2844960B2/en
Publication of JPH04353920A publication Critical patent/JPH04353920A/en
Application granted granted Critical
Publication of JP2844960B2 publication Critical patent/JP2844960B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はコンピュータの外部記憶
装置などに用いられる磁気テープを記録媒体とするディ
ジタルデータ記録再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital data recording / reproducing apparatus using a magnetic tape as a recording medium for an external storage device of a computer.

【0002】[0002]

【従来の技術】近年、ハードディスクのバックアップ用
途などのために、磁気テープによるディジタルデータ記
録装置の大容量化が進んでいる。これらの装置ではバッ
クアップ容量の増大に伴い、ホストコンピュータの占有
時間を短縮するため内蔵するバッファメモリの大容量化
や、記録再生するデータの信頼性を向上させるための誤
り訂正符号が採用されるようになってきた。
2. Description of the Related Art In recent years, the capacity of digital data recording devices using magnetic tapes has been increasing for backup use of hard disks and the like. In these devices, as the backup capacity increases, the capacity of a built-in buffer memory is increased to reduce the occupation time of the host computer, and an error correction code is employed to improve the reliability of data to be recorded and reproduced. It has become

【0003】以下に、従来のディジタルデータ記録再生
装置を説明する。図17はこの従来のディジタルデータ
記録再生装置の構成図である。図17において、インタ
フェース制御部101は先頭アドレスメモリ102と終
端アドレスメモリ103を有し、ホストコンピュータと
バッファメモリ104との間のデータ転送を制御する制
御部、データグループ処理部105はデータグループメ
モリ106を作業エリアとする誤り訂正符号の処理部、
磁気記録再生部107は記録媒体である磁気テープに直
接録再制御する装置である。
A conventional digital data recording / reproducing apparatus will be described below. FIG. 17 is a block diagram of this conventional digital data recording / reproducing apparatus. 17, an interface control unit 101 includes a start address memory 102 and an end address memory 103, and a control unit that controls data transfer between a host computer and a buffer memory 104. A data group processing unit 105 includes a data group memory 106. Error correction code processing unit with a work area,
The magnetic recording / reproducing unit 107 is a device for directly controlling recording / reproduction on a magnetic tape as a recording medium.

【0004】上記ディジタルデータ記録再生装置の動作
には記録動作と再生動作があり、まず記録動作について
説明する。
The operation of the digital data recording / reproducing apparatus includes a recording operation and a reproducing operation. First, the recording operation will be described.

【0005】ホストコンピュータはディジタルデータ記
録再生装置に対してあらかじめ設定された固定容量のデ
ータブロックであるレコードを記録容量の指定単位とし
て記録動作指示のコマンドを発行する。インタフェース
制御部101は記録動作指示のコマンドを受信すると、
指定されたレコード数の容量のデータ転送制御を開始す
る。インタフェース制御部101が実行するデータ転送
制御方法はバッファメモリ104を用いたリングバッフ
ァ方式である。インタフェース制御部101は先頭アド
レスメモリ102の記憶する先端アドレスが終端アドレ
スメモリ103の記憶する終端アドレスと一致しない限
り先頭アドレスが示すバッファメモリ104の位置にホ
ストコンピュータから受信したデータを記憶させ、先頭
アドレスをインクリメントさせる。また、先頭アドレス
が終端アドレスに一致する場合にはインタフェース制御
部101は受信データを保持して次のデータ受信に進ま
ず、バッファメモリ104にも書き込まない。バッファ
メモリ104からデータグループメモリ106へのデー
タ転送によって終端アドレスが移動し、先頭アドレスと
不一致となればインタフェース制御部101は再び先頭
アドレスが示す位置に保持していた受信データを書き込
み、ホストコンピュータからのデータ受信を再開する。
[0005] The host computer issues a recording operation command to the digital data recording / reproducing apparatus using a record, which is a data block having a fixed capacity set in advance, as a unit for specifying the recording capacity. Upon receiving the recording operation instruction command, the interface control unit 101
Starts data transfer control for the specified number of records. The data transfer control method executed by the interface control unit 101 is a ring buffer method using the buffer memory 104. The interface control unit 101 stores the data received from the host computer at the position of the buffer memory 104 indicated by the start address unless the start address stored in the start address memory 102 matches the end address stored in the end address memory 103. Is incremented. When the start address matches the end address, the interface control unit 101 holds the received data, does not proceed to the next data reception, and does not write the data in the buffer memory 104. When the end address moves due to the data transfer from the buffer memory 104 to the data group memory 106 and does not match the start address, the interface control unit 101 writes the received data again at the position indicated by the start address, and sends the received data from the host computer. Resumes data reception.

【0006】一方、データグループ処理部105はイン
タフェース制御部101を介してホストコンピュータか
らの動作指示を受けるとインタフェース制御部101に
バッファメモリ104からデータグループメモリ106
へのデータ転送を要求し、磁気テープへの記録再生の最
小単位であるデータグループの生成処理を開始する。図
3はデータグループメモリ106上に生成されるデータ
グループの論理構造を示す構造図である。図3におい
て、データグループは論理的に2次元配列を有し、矢印
Cの方向がデータグループメモリ106の物理アドレス
の方向と一致する。インタフェース制御部101はバッ
ファメモリ104からレコードを2次元配列の列方向、
すなわち矢印A方向に2次元配列の論理アドレスを物理
アドレスに変換しながら転送し、記憶させる。データグ
ループ処理部105は処理中のデータグループに含まれ
るレコードの転送が完了するとレコードを情報語とし、
矢印Aを符号化の方向とする誤り訂正符号の符号化処理
を実行し、生成した符号パリティを図3のBに示す領域
に記憶させ、データグループメモリ106上でデータグ
ループを完成させる。データグループ処理データグルー
プ105はデータグループ完成すると磁気記録再生部1
07に動作指示を発行するとともにデータグループメモ
リ106から磁気記録再生部107へ、データグループ
の2次元配列の行方向、すなわち図3の矢印Cに示す方
向の順にデータを転送する。磁気記録再生部107は転
送されたデータを記録媒体である磁気テープに記録する
ことでデータグループを最小単位とする磁気記録を実行
する。図2は磁気テープ上に記録されたデータグループ
の状態を示す状態図である。図3の矢印Aと矢印Cに示
すように誤り訂正符号の方向と磁気テープへの記録方向
を直交させるインタリーブを掛けることで一つの符号系
列は磁気テープ上Dに示すように点在することになり、
磁気テープの損傷などによる発生するデータエラーの影
響を最小限にとどめることとなる。
On the other hand, when the data group processing unit 105 receives an operation instruction from the host computer via the interface control unit 101, the data control unit 105 sends the data group memory 106 from the buffer memory 104 to the interface control unit 101.
Request for data transfer to a magnetic tape, and start a process of generating a data group, which is the minimum unit for recording and reproduction on the magnetic tape. FIG. 3 is a structural diagram showing a logical structure of a data group generated on the data group memory 106. In FIG. 3, the data group has a logical two-dimensional array, and the direction of the arrow C matches the direction of the physical address of the data group memory 106. The interface control unit 101 records the record from the buffer memory 104 in the column direction of the two-dimensional array,
That is, the logical addresses in the two-dimensional array are transferred while being converted into physical addresses in the direction of arrow A, and are stored. When the transfer of the record included in the data group being processed is completed, the data group processing unit 105 sets the record as an information word,
An error correction code encoding process with the arrow A as the encoding direction is executed, the generated code parity is stored in the area shown in FIG. 3B, and the data group is completed on the data group memory 106. Data Group Processing The data group 105 is completed when the data group is completed.
At the same time, an operation instruction is issued to the data group 07 and the data is transferred from the data group memory 106 to the magnetic recording / reproducing unit 107 in the row direction of the two-dimensional array of the data group, that is, in the direction indicated by the arrow C in FIG. The magnetic recording / reproducing unit 107 records the transferred data on a magnetic tape, which is a recording medium, to execute magnetic recording with a data group as a minimum unit. FIG. 2 is a state diagram showing the state of a data group recorded on a magnetic tape. By interleaving the direction of the error correction code and the recording direction on the magnetic tape orthogonally as shown by arrows A and C in FIG. 3, one code sequence is scattered on the magnetic tape as shown by D. Become
The effect of a data error caused by damage to the magnetic tape or the like is minimized.

【0007】次に、再生動作を説明する。インタフェー
ス制御部101はホストコンピュータから再生動作指示
のコマンドを受信するとコマンドをデータグループ処理
部105に伝達し、データグループ処理部105はコマ
ンドが指定するレコードを含むデータグループを特定
し、磁気記録再生部107にそのデータグループの再生
動作を指示する。磁気記録再生部107は磁気テープ上
で指定されたデータグループを検索し、再生動作を開始
し、再生したデータをグループデータ処理部105に転
送する。グループデータ処理部105は図3に示すデー
タグループメモリ106の論理的な2次元配列上に、転
送され再生データを矢印Cの順に記憶させる。データグ
ループ処理部105は指定したデータグループの再生が
終了し、図3の2次元配列がデータグループメモリ10
6上で完成すると、再生動作中に発生したデータ誤りを
矢印Aの方向に掛けられた誤り訂正符号の復合化処理で
誤り訂正する。誤り訂正が終了するとデータグループ処
理部105はデータグループの2次元配列上でホストコ
ンピュータが指定したレコードの位置を算出し、そのレ
コードを矢印Aの示す順にインタフェース制御部101
に転送要求する。再生動作においてインタフェース制御
部101が実行するデータ転送制御方法も記録動作の場
合と同様にバッファメモリ104を用いたリングバッフ
ァ方式である。インタフェース制御部101は先頭アド
レスメモリ102の記憶する先頭アドレスが終端アドレ
スメモリ103の記憶する終端アドレスと一致しない限
り先頭アドレスが示すバッファメモリ104の位置にデ
ータグループ処理部105から転送されたデータを記憶
させ、先頭アドレスをインクリメントさせる。一方イン
タフェース制御部101はホストコンピュータにデータ
受信を要求し、ホストコンピュータ側のデータ受信準備
が完了するとホストコンピュータの受信可能転送速度に
合わせてバッファメモリ104に一時記憶されたデータ
を転送し、転送量に合わせて終端アドレスメモリ103
に記憶された終端アドレスを移動させる。またインタフ
ェース制御部101はホストコンピュータの受信準備が
遅れ、先頭アドレスが終端アドレスに一致する状態とな
った場合にはデータグループ処理部105からのデータ
転送を進めず、バッファメモリ104にも書き込まな
い。この場合、バッファメモリ104からホストコンピ
ュータへのデータ転送が再開されることによって終端ア
ドレスが移動し、先頭アドレスと不一致となれば再びデ
ータグループ処理部105からのデータ受信を再開し、
先頭アドレスが示す位置に受信データを書き込む。
Next, the reproducing operation will be described. When the interface control unit 101 receives the command of the reproducing operation instruction from the host computer, it transmits the command to the data group processing unit 105. The data group processing unit 105 specifies the data group including the record specified by the command, and 107 is instructed to reproduce the data group. The magnetic recording / reproducing unit 107 searches the specified data group on the magnetic tape, starts a reproducing operation, and transfers the reproduced data to the group data processing unit 105. The group data processing unit 105 stores the transferred and transferred data on the logical two-dimensional array of the data group memory 106 shown in FIG. The data group processing unit 105 finishes the reproduction of the specified data group, and stores the two-dimensional array of FIG.
When completed on step 6, the data error generated during the reproducing operation is corrected by the decoding process of the error correction code multiplied in the direction of arrow A. When the error correction is completed, the data group processing unit 105 calculates the position of the record specified by the host computer on the two-dimensional array of the data group, and sorts the records in the order indicated by the arrow A in the interface control unit 101.
Request transfer to The data transfer control method executed by the interface control unit 101 in the reproducing operation is also a ring buffer method using the buffer memory 104 as in the case of the recording operation. The interface control unit 101 stores the data transferred from the data group processing unit 105 at the position of the buffer memory 104 indicated by the start address unless the start address stored in the start address memory 102 matches the end address stored in the end address memory 103. And the start address is incremented. On the other hand, the interface control unit 101 requests the host computer to receive data. When the host computer is ready to receive data, the interface control unit 101 transfers the data temporarily stored in the buffer memory 104 according to the receivable transfer speed of the host computer. End address memory 103 according to
Is moved to the end address stored in. If the host computer delays preparation for reception and the start address matches the end address, the interface control unit 101 does not proceed with data transfer from the data group processing unit 105 and does not write the data into the buffer memory 104. In this case, when the data transfer from the buffer memory 104 to the host computer is restarted, the end address moves, and when the end address does not match, the data reception from the data group processing unit 105 is restarted again.
Write the received data to the position indicated by the start address.

【0008】以上のように従来例の記録動作および再生
動作では、誤り訂正符号の付加とインタリーブによる高
いデータ信頼性を確保するデータグループ処理を採用し
ながら、その処理とは並行してバッファメモリ104を
用いたホストコンピュータとのデータ転送制御を実行す
るから、バッファメモリ104を大容量メモリとするこ
とで磁気記録再生部107の記録速度やデータグループ
処理部105の処理時間の影響を最小限に抑え、ホスト
コンピュータのデータ転送に要する拘束時間を最小化す
る高速転送を実現している。
As described above, in the conventional recording operation and reproducing operation, while the data group processing for securing high data reliability by adding an error correction code and interleaving is adopted, the buffer memory 104 is executed in parallel with the processing. Since the data transfer control with the host computer is performed by using the buffer, the influence of the recording speed of the magnetic recording / reproducing unit 107 and the processing time of the data group processing unit 105 is minimized by using the buffer memory 104 as a large-capacity memory. This realizes high-speed transfer that minimizes the binding time required for data transfer by the host computer.

【0009】[0009]

【発明が解決しようとする課題】しかしながら上記の従
来の構成では、データグループが論理的な2次元配列を
持つのに対してインタフェース制御部1がリングバッフ
ァ方式の転送制御を実行するためバッファメモリ104
とデータグループメモリ106の2つの大容量メモリが
必要であるという問題点と、いくつかの記録動作や再生
動作の実行後、再度再生動作を要求された場合に、ホス
トコンピュータが指定したレコードがバッファメモリ4
に一時記憶されたまま残っていたとしてもインタフェー
ス制御部101はそのレコードの記憶アドレスを求める
ことができないため再度磁気テープから再生しなければ
ならず、応答が遅いという問題点とを有していた。
However, in the above-mentioned conventional configuration, the data group has a logical two-dimensional array, whereas the interface control unit 1 executes the transfer control of the ring buffer system, so that the buffer memory 104 is used.
And the need for two large-capacity memories of the data group memory 106 and the record specified by the host computer being buffered when a reproducing operation is requested again after executing some recording and reproducing operations. Memory 4
The interface control unit 101 cannot obtain the storage address of the record even if the record is temporarily stored, and must reproduce the record from the magnetic tape again, resulting in a slow response. .

【0010】また、ハードディスクのバックアップ処理
など大容量データの連続記録動作において、ホストコン
ピュータからのデータ転送が磁気テープへのデータ記録
速度を下回る場合、データグループの2次元配列が完成
しなければ磁気テープへの記録動作を開始できないた
め、磁気テープへの記録動作が随時記録,停止を繰り返
す間欠的動作となるが、一般に磁気記録再生部7は磁気
テープへの記録動作開始からの実際のデータ書き込み開
始までに検索動作やトラッキング引き込み制御などに長
い時間を必要とするため、ホストコンピュータからのデ
ータ転送時間よりも総合的に大幅にバックアップ処理時
間が増大するという問題点を有していた。
In a continuous recording operation of large-capacity data such as a backup process of a hard disk, if data transfer from a host computer is lower than a data recording speed on a magnetic tape, a two-dimensional array of data groups is not completed unless a magnetic tape is completed. Since the recording operation on the magnetic tape cannot be started, the recording operation on the magnetic tape is an intermittent operation in which recording and stop are repeated as needed, but the magnetic recording / reproducing unit 7 generally starts the actual data writing from the start of the recording operation on the magnetic tape. By this time, a long time is required for the search operation, the tracking pull-in control, and the like, so that there has been a problem that the backup processing time is greatly increased overall in comparison with the data transfer time from the host computer.

【0011】本発明は上記従来の問題点を解決するもの
で、1つのバッファメモリでデータグループ処理と転送
制御処理を実現し、また、バッファメモリ上にホストコ
ンピュータから指定されたデータが一時記憶されている
場合には高速に応答し、更にホストコンピュータのデー
タ転送速度が磁気テープへのデータ記録速度を下回る場
合においても総合的な処理時間が増大しないディジタル
データ記録再生装置を提供することを目的とする。
The present invention solves the above-mentioned conventional problems, and realizes data group processing and transfer control processing with one buffer memory, and temporarily stores data specified by a host computer in the buffer memory. The object of the present invention is to provide a digital data recording / reproducing device which responds at high speed when the data transfer speed of the host computer is lower than the data recording speed on the magnetic tape, and does not increase the overall processing time. I do.

【0012】[0012]

【課題を解決するための手段】この目的を達成するため
に本発明のディジタルデータ記録再生装置は、磁気テー
プ上にデータグループを最小単位として記録再生する磁
気テープ記録再生手段と、論理的に複数の領域に分割し
て1つの領域に1つのデータグループを一時的に記憶す
るバッファメモリと、一時記憶したデータグループの処
理状態を示す制御情報を記憶する制御情報メモリと、一
時記憶したデータグループを区別する識別情報を記憶す
る識別情報メモリと、識別情報と制御情報とを参照しそ
の状態に応じて磁気テープ記録再生手段に動作開始指示
を与え、ホストコンピュータに指定されたレコードを転
送制御するインタフェース制御手段と、識別情報と制御
情報とを参照しその状態に応じてデータグループの管理
処理を実行するとともに磁気テープ記録再生手段に再生
動作停止指示を与える再生動作制御手段と、識別情報と
制御情報とを参照しその状態に応じてデータグループの
管理処理および保護処理を実行するとともに、磁気テー
プ記録再生手段に記録動作終了指示を与える記録動作制
御手段と備えた構成を有する。
In order to achieve this object, a digital data recording / reproducing apparatus according to the present invention comprises: a magnetic tape recording / reproducing means for recording / reproducing a data group on a magnetic tape in a minimum unit; A buffer memory for temporarily storing one data group in one area after being divided into areas, a control information memory for storing control information indicating a processing state of the temporarily stored data group, and a temporarily stored data group. An identification information memory for storing identification information to be distinguished, and an interface for referring to the identification information and the control information, giving an operation start instruction to the magnetic tape recording / reproducing means according to the state, and controlling transfer of a record specified to the host computer When the control unit, referring to the identification information and the control information and executing the data group management process according to the state, A reproducing operation control unit for giving a reproduction operation stop instruction to the magnetic tape recording / reproducing unit; and a data group management process and a protection process are executed by referring to the identification information and the control information and according to the state thereof, and It has a configuration provided with recording operation control means for giving a recording operation end instruction to the reproducing means.

【0013】[0013]

【作用】本発明は上記した構成により、論理的な2次元
配列構成を持つ領域を複数有するバッファメモリに対
し、各領域の処理状態を各領域に1対1対応する制御情
報が管理するから領域単位のバッファリングが可能とな
り、バッファリングのためのメモリとグループ処理の作
業用のメモリを共用化して、1つのバッファメモリで動
作させることができる。
According to the present invention, the buffer memory having a plurality of regions having a logical two-dimensional array configuration manages the processing state of each region by the control information corresponding to each region on a one-to-one basis. Buffering can be performed in units, and a memory for buffering and a memory for work in group processing can be shared and operated with one buffer memory.

【0014】また、記録動作であれ、再生動作であれ、
バッファメモリの各領域に一時記憶されているデータグ
ループの領域は各領域と1対1に対応する識別情報が一
義的に管理しているから常にホストコンピュータが要求
するレコードがバッファメモリ上に記憶されているかど
うか、記憶されている場合その記憶位置を直ちに判断,
算出し、転送開始することができ、高速な応答を実現す
る。
In addition, whether the operation is a recording operation or a reproducing operation,
In the data group area temporarily stored in each area of the buffer memory, identification information corresponding to each area in a one-to-one correspondence is uniquely managed, so that a record requested by the host computer is always stored in the buffer memory. Immediately determine if it is stored, and if so, its location.
Calculation and transfer can be started, realizing a high-speed response.

【0015】また、ハードディスクのバックアップ処理
など大容量データの連続記録動作において、ホストコン
ピュータからのデータ転送が磁気テープへのデータ記録
速度より下回る場合、記録動作処理手段は保護処理を実
行し、すべてゼロのデータで構成された特殊なデータグ
ループを磁気テープ記録再生手段に記録させることでホ
ストコンピュータからのデータ転送を完了させる転送時
間を確保するから磁気テープに対する記録動作を中断す
る間欠動作とする必要がなく、総合的に最短の処理時間
で連続記録動作完了を実現する。
In a continuous recording operation of large-capacity data such as a backup process of a hard disk, if the data transfer from the host computer is lower than the data recording speed on the magnetic tape, the recording operation processing means executes a protection process, and all the data are transferred to zero. By recording a special data group composed of the above data on the magnetic tape recording / reproducing means to secure the transfer time for completing the data transfer from the host computer, it is necessary to perform an intermittent operation for interrupting the recording operation on the magnetic tape. Instead, the continuous recording operation is completed in the shortest processing time overall.

【0016】[0016]

【実施例】以下、本発明の一実施例について、図面を参
照しながら説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0017】図1は本発明の実施例におけるディジタル
データ記録再生装置の構成図である。図1においてバッ
ファメモリ1はランダムアクセスメモリ2(以下RAM
2と略す)と、仮想的な論理アドレスとRAM2の物理
アドレスに変換する論理アドレス変換器3と、論理バス
4aと論理バス4bからなり、論理アドレス変換器3を
介して仮想的に複数の2次元空間に分割してアクセス可
能なメモリ装置であり、インタフェース制御部5は論理
バス4aを介してバッファメモリ1に接続され、また外
部装置であるホストコンピュータと接続されたデータ転
送の制御部,符号処理部6は論理バス4aを介してバッ
ファメモリ1に接続され、バッファメモリ1に記憶され
たデータに対し誤り訂正符号の符号化処理と誤り訂正処
理を実行する符号処理部である。磁気記録再生部7は磁
気テープを記録媒体としディジタルデータを直接記録再
生する装置、記録動作制御部8と再生動作制御部9は共
に物理バス4bを介してバッファメモリ1と接続され、
記録動作制御部8はディジタル伝送回路10を介して磁
気記録制御部7に記録データを出力し、再生動作制御部
9は磁気記録再生部7から再生データを入力する制御部
である。制御情報メモリ11と識別情報メモリ12は、
それぞれバッファメモリ1の仮想的な2次元空間の数と
同数の制御情報と識別情報とを記憶するメモリであっ
て、インタフェース制御部5と記録動作制御部8と再生
動作制御部9とから参照,書き込み可能に接続されてい
る。磁気テープ動作フラグレジスタ13は記録動作制御
部8と再生動作制御部9とから参照および書き込み可能
に接続されており、連続アンプルカウンタ14は記録動
作制御部8に接続されているカウンタである。
FIG. 1 is a block diagram of a digital data recording / reproducing apparatus according to an embodiment of the present invention. In FIG. 1, a buffer memory 1 is a random access memory 2 (hereinafter referred to as a RAM).
2), a logical address converter 3 for converting a virtual logical address and a physical address of the RAM 2, and a logical bus 4 a and a logical bus 4 b. A memory device that can be accessed by being divided into a dimensional space; an interface control unit 5 is connected to the buffer memory 1 via a logical bus 4a and is connected to a host computer as an external device; The processing unit 6 is connected to the buffer memory 1 via the logical bus 4a, and is a code processing unit that executes an error correction code encoding process and an error correction process on the data stored in the buffer memory 1. The magnetic recording / reproducing unit 7 is a device for directly recording / reproducing digital data using a magnetic tape as a recording medium. The recording operation control unit 8 and the reproduction operation control unit 9 are both connected to the buffer memory 1 via the physical bus 4b.
The recording operation control unit 8 outputs recording data to the magnetic recording control unit 7 via the digital transmission circuit 10, and the reproduction operation control unit 9 is a control unit that inputs reproduction data from the magnetic recording / reproduction unit 7. The control information memory 11 and the identification information memory 12
These are memories for storing the same number of control information and identification information as the number of virtual two-dimensional spaces in the buffer memory 1, respectively, which are referred to by the interface control unit 5, the recording operation control unit 8, and the reproduction operation control unit 9, Connected writable. The magnetic tape operation flag register 13 is connected to the recording operation control unit 8 and the reproduction operation control unit 9 so as to be referred to and writable. The continuous ampule counter 14 is a counter connected to the recording operation control unit 8.

【0018】上記ディジタルデータ記録再生装置につい
て、まず記録媒体である磁気テープ上でのデータの記録
形態と、バッファメモリ1上でのデータの記憶形態につ
いて説明し、次いで記録動作と、記録動作における保護
処理と、再生動作について順次説明する。
With respect to the digital data recording / reproducing apparatus, a description will first be made of a data recording form on a magnetic tape as a recording medium and a data storage form on a buffer memory 1, and then a recording operation and a protection in the recording operation will be described. The processing and the reproducing operation will be sequentially described.

【0019】まず、図2,図3を参照しながら磁気テー
プ上の記録形態について説明する。図2は磁気テープ上
野記録形態を示す状態図である。図2で、磁気テープに
は固定容量のデータのブロックであるデータグループが
連続して形成され、また、データグループの内部はヘリ
キャルスキャン方式により形成される連続した複数のト
ラックによって構成されている。各データグループには
互いに他のデータグループと識別するための情報として
グループ番号が連番で付されており、磁気記録再生部7
はデータグループを記録再生の最小の区切りとして動作
し、グループ番号で指定されたデータグループに対して
記録再生動作を実行する。図3は図2のデータグループ
に記録再生されるデータの論理構造を示す論理構造図で
ある。図3でデータグループは仮想的な2次元配列構造
をもち、ホストコンピュータから授受される複数の固定
容量のレコードと、矢印Aに示す方向すなわち列方向に
構成される誤り訂正符号のパリティ部を含んでいる。誤
り訂正符号は一例を一符号系列として構成される。ま
た、この2次元配列は磁気テープに対して矢印Cに示す
方向すなわち行方向の順に記録再生されるため、一つの
誤り訂正符号系列は図2で矢印Dに示すように磁気テー
プ上で分散して配置されるインタリーブが実現されてお
り、磁気テープの欠損等で発生するデータエラーに対し
て高い誤り訂正能力を有する。
First, a recording form on a magnetic tape will be described with reference to FIGS. FIG. 2 is a state diagram showing a magnetic tape Ueno recording mode. In FIG. 2, a data group, which is a block of fixed-capacity data, is continuously formed on a magnetic tape, and the inside of the data group is constituted by a plurality of continuous tracks formed by a helical scan method. . Each data group is sequentially numbered with a group number as information for identifying the data group from other data groups.
Operates with the data group as the minimum delimiter for recording / reproducing, and performs recording / reproducing operation on the data group specified by the group number. FIG. 3 is a logical structure diagram showing a logical structure of data recorded and reproduced in the data group of FIG. In FIG. 3, the data group has a virtual two-dimensional array structure, and includes a plurality of fixed-capacity records transmitted and received from the host computer and a parity part of an error correction code configured in the direction indicated by arrow A, that is, the column direction. In. An example of the error correction code is configured as one code sequence. Since this two-dimensional array is recorded and reproduced on the magnetic tape in the direction indicated by arrow C, that is, in the row direction, one error correction code sequence is dispersed on the magnetic tape as indicated by arrow D in FIG. Interleaving is realized, and has a high error correction capability with respect to a data error caused by a loss of a magnetic tape or the like.

【0020】また、以下の説明では図3の2次元配列を
38行4096列とし、第0行から第31行までをレコ
ード領域、第32行から第37行までをパリティ領域と
する。また、レコードの容量を512バイト固定、すな
わち1レコード16列とし、あるグループに含まれる先
頭レコードの仮想2次元空間上の論理アドレスを第0行
第0列と定義するものとする。図4はバッファメモリ1
のデータ記憶形式を示すマモリマップである。バッファ
メモリ1は論理バス4aからアクセスされる場合、図4
に示す複数の領域であるページに分割され、各ページは
図3に示すデータグループの仮想2次元配列と同一の構
造を持ち、1ページに1つのデータグループを一時記憶
する。ページ番号をP、仮想2次元配列の論理アドレス
を第N行第M列とするとき論理アドレス変換器3は論理
アドレスから対応する物理アドレスAdrにAdr=P
*4096*38+M*38+Nに基づいて変換してR
AM2をアクセスする。図4で、識別情報メモリ12は
ページの総数と同数であり、各ページと1対1に対応す
る識別情報を記憶するメモリだり、各ページに一時記憶
されたデータグループのグループ番号を識別情報として
記憶する。制御情報メモリ11も同じく各ページと1対
1に対応し、各ページに一時記憶されたデータグループ
の処理状態を示す制御情報を記憶するメモリである。本
実施例では前記ページ総数を第0ページから第5ページ
までの6ページとする。
In the following description, the two-dimensional array shown in FIG. 3 has 38 rows and 4096 columns, the 0th to 31st rows are record areas, and the 32nd to 37th rows are parity areas. It is also assumed that the record capacity is fixed to 512 bytes, that is, 16 columns per record, and the logical address of the first record included in a certain group in the virtual two-dimensional space is defined as the 0th row and the 0th column. FIG. 4 shows the buffer memory 1
8 is a memory map showing a data storage format of the memory. When the buffer memory 1 is accessed from the logical bus 4a, FIG.
Each page has the same structure as the virtual two-dimensional array of the data groups shown in FIG. 3, and one page temporarily stores one data group. When the page number is P and the logical address of the virtual two-dimensional array is the Nth row and the Mth column, the logical address converter 3 converts the logical address to the corresponding physical address Adr by Adr = P
* 4096 * 38 + M * 38 + N
Access AM2. In FIG. 4, the identification information memory 12 has the same number as the total number of pages, and is a memory for storing identification information corresponding to each page on a one-to-one basis, or a group number of a data group temporarily stored in each page as identification information. Remember. Similarly, the control information memory 11 is a memory that corresponds to each page one-to-one and stores control information indicating the processing state of the data group temporarily stored in each page. In this embodiment, the total number of pages is six pages from the 0th page to the 5th page.

【0021】次に記録動作を説明する。本実施例の記録
動作にはホストコンピュータからシーケンシャルアクセ
スされるものと仮定する。図5,図6,図7はそれぞれ
本実施例の記録動作におけるインタフェース制御部5
と、記録動作制御部8と、符号処理部6の処理手順を示
すフローチャートである。ホストコンピュータはディジ
タルデータ記録再生装置に対して固定大量のレコードを
記録位置と記録量の指定単位として記録動作指示のコマ
ンドを発行する。まず、インタフェース制御部1は記録
動作指示のコマンドを受信すると、図5のステップ50
1でホストコンピュータから指示された処理対象である
目標レコードを含むデータグループのグループ番号とそ
のグループ内における目標レコードの論理アドレスを算
出し、ステップ502で識別情報メモリ12に記憶され
たすべてのページのグループ番号を検査することによっ
て該当するデータグループがバッファメモリ1に一時記
憶されているかどうかを判断し、記憶されている場合は
そのページ番号を取得してステップ503に進み、制御
情報メモリ11の該当するページ番号の制御情報に整数
値7を書き込み、ページ番号と目標レコードの論理アド
レスによって示される仮想2次元配列上のアドレスに対
して論理バス4aを介してホストコンピュータから記録
すべきレコードのデータを転送させる。(表1)は制御
情報の定義を示すものである。制御情報は記録動作の場
合整数値7から整数値4までが定義されており、バッフ
ァメモリ1の対応するページの処理状態が進行するに合
わせてその値が減少する。また再生動作の場合は整数値
1から整数値4が処理状態の進行に合わせて増加するよ
うに定義され、更に整数値0は電源投入直後などのバッ
ファメモリ1が使用されていないことを示す未使用状態
に定義されている。
Next, the recording operation will be described. It is assumed that the recording operation of this embodiment is sequentially accessed from the host computer. FIGS. 5, 6, and 7 show the interface control unit 5 in the recording operation of this embodiment.
7 is a flowchart showing a processing procedure of a recording operation control unit 8 and a code processing unit 6. The host computer issues a recording operation instruction command to the digital data recording / reproducing device with a fixed large amount of records as a unit for designating a recording position and a recording amount. First, when the interface control unit 1 receives the command of the recording operation instruction, the interface control unit 1 executes step 50 in FIG.
In step 1, the group number of the data group including the target record to be processed specified by the host computer and the logical address of the target record in the group are calculated. By checking the group number, it is determined whether or not the corresponding data group is temporarily stored in the buffer memory 1. If the data group is stored, the page number is obtained, and the process proceeds to step 503. An integer value 7 is written in the control information of the page number to be written, and the data of the record to be recorded from the host computer via the logical bus 4a is written to the address on the virtual two-dimensional array indicated by the page number and the logical address of the target record. Transfer. (Table 1) shows the definition of the control information. In the case of the recording operation, the control information defines an integer value from 7 to 4, and the value decreases as the processing state of the corresponding page in the buffer memory 1 progresses. In the case of the reproducing operation, the integer value 1 to the integer value 4 are defined so as to increase as the processing state progresses, and the integer value 0 indicates that the buffer memory 1 is not used immediately after the power is turned on. Defined for use.

【0022】[0022]

【表1】 [Table 1]

【0023】インタフェース制御部5はホストコンピュ
ータからのデータ転送が終了すると図5のステップ50
4で、今転送終了したレコードが該当するデータグルー
プを構成するレコードの最終レコードであるかどうかを
判断し、最終レコードでなければ直接ステップ506
へ、最終レコードであればステップ505で該当するデ
ータグループの制御情報にホストコンピュータからのデ
ータ転送完了を意味する整数値6を記憶させた後ステッ
プ506に進み、ホストコンピュータからコマンドで記
録要求されたレコードがすべてバッファメモリ1へ転送
終了したのかどうかを判断し、すべての転送終了したの
であれば処理をいったん終了し次のコマンド待ちとなる
が、未転送レコードが残っているのであればステップ5
01へ戻り転送レコードの転送処理を継続する。
When the data transfer from the host computer is completed, the interface control unit 5 proceeds to step 50 in FIG.
In step 4, it is determined whether or not the record that has just been transferred is the last record of the records constituting the corresponding data group.
If the record is the last record, the control information of the corresponding data group is stored with an integer value 6 indicating the completion of data transfer from the host computer in step 505, and then the process proceeds to step 506. It is determined whether or not all the records have been transferred to the buffer memory 1. If all the transfers have been completed, the process is terminated and the next command is awaited.
Returning to 01, the transfer processing of the transfer record is continued.

【0024】一方符号処理部6は上述したインタフェー
ス制御部5の処理に平行して図7に示すデータグループ
の誤り訂正符号の符号化処理を実行する。図7のステッ
プ701で符号処理部6は制御情報メモリ11のすべて
の制御情報を検査し制御情報が整数値6、すなわち符号
化処理開始可能なグループがバッファメモリ1上に一時
記憶されているのか検査を繰り返す。インタフェース制
御部5がステップ505で制御情報に整数値6を書き込
むと、符号処理部6はその整数値6を発見し、その制御
情報に対応するバッファメモリ1のページ番号を取得し
てステップ702に進み、バッファメモリ1の該当する
ページに記憶されたデータグループに対し論理バス4a
を介して図3に示すように誤り訂正符号の符号化処理を
開始し、生成したパリティを図3のBの領域に転送す
る。符号化処理が完了すると符号処理部6はステップ7
03で今符号化処理が完了したページの制御情報に符号
化処理完了を意味する整数値5を記憶させ、ステップ7
01に戻り符号化処理可能なデータグループの検索を再
開する。
On the other hand, the code processing section 6 executes the coding processing of the error correction code of the data group shown in FIG. 7 in parallel with the processing of the interface control section 5 described above. In step 701 of FIG. 7, the code processing unit 6 checks all control information in the control information memory 11, and determines whether the control information is an integer 6, that is, whether a group in which coding processing can be started is temporarily stored in the buffer memory 1. Repeat inspection. When the interface control unit 5 writes the integer value 6 in the control information in step 505, the code processing unit 6 finds the integer value 6, obtains the page number of the buffer memory 1 corresponding to the control information, and proceeds to step 702. To go to the logical bus 4a for the data group stored in the corresponding page of the buffer memory 1.
The encoding process of the error correction code is started as shown in FIG. 3 via the, and the generated parity is transferred to the area B in FIG. When the encoding process is completed, the encoding processing unit 6 proceeds to step 7
In step 03, an integer value 5 indicating the completion of the encoding process is stored in the control information of the page for which the encoding process has been completed.
Returning to 01, the search for the data group that can be encoded is restarted.

【0025】またインタフェース制御部5は、ステップ
502で目標レコードを含むデータグループがバッファ
メモリ1に一時記憶されていないことを検知した場合
は、ステップ507で制御情報メモリ11の記憶するす
べての制御情報を検査し、整数値4以下すなわち新たな
データグループの一時記憶用のページとして再利用可能
なページを検索する。再利用可能ページが存在すればそ
のページ番号を取得し、ステップ508でそのページ番
号に対応する識別情報に該当するグループ番号を記憶さ
せた後、ステップ503以降の一連の処理を実行し、バ
ッファメモリ1の新たなページにホストコンピュータか
らのデータ転送を実行させる。例えば、バッファメモリ
1が図4の状態であるときホストコンピュータからグル
ープ番号9のデータグループの先頭レコードに相当する
位置から2048レコードの記憶動作を指示された場
合、インタフェース制御部5は第1ページの制御情報を
整数値7として先頭から256レコードのデータ転送を
実行し、制御情報を整数値6に進める。次に転送するレ
コードはグループ番号10に記憶させるものであるがバ
ッファメモリ1上にグループ番号10を一時記憶したペ
ージが存在しないからステップ507の処理で再利用可
能なページから1ページ選択する。ここでは第0ページ
を選択したとすると、インタフェース制御部は第0ペー
ジの識別情報にグループ番号10を、制御情報に整数値
7を書き込み、ホストコンピュータから256レコード
転送させ、転送終了制御情報を整数値6に進める。以下
順次第2ページ,第3ページと転送バッファとして使用
していく。以上のように図5に示したインタフェース処
理部5の処理によりホストコンピュータからのレコード
の転送がバッファメモリ1にバッファリングされていく
に伴い、バッファメモリ1上に制御情報の整数値6以下
すなわちホストコンピュータからの転送完了以上に処理
が進んだデータグループが増加していく。いま、バッフ
ァメモリ1上の6つのページすべてがホストコンピュー
タからの転送完了以上すなわち整数値6または整数値5
に進んだとする。このときインタフェース制御部5は図
5のステップ507で制御情報が整数値4以下のページ
が存在せず、新たなデータグループをバッファメモリ1
上に一時記憶させることが可能であると判断して、ステ
ップ509で磁気テープ動作フラグレジスタ13を参照
し、磁気テープに対する記録動作が開始されていないこ
とを検知すると、ステップ510で記録動作制御部8に
記録動作開始要求を発行し、ステップ507に戻る。ま
た、既に磁気テープに対する記録動作中であればステッ
プ507に戻り、磁気記録再生部7と記録動作制御部8
の処理が進行してバッファメモリ1上のいずれかのペー
ジが再使用可能となるのを待つことになる。
If the interface control unit 5 detects in step 502 that the data group including the target record is not temporarily stored in the buffer memory 1, it proceeds to step 507 to delete all the control information stored in the control information memory 11. Is searched for a page that can be reused as an integer value 4 or less, that is, a page for temporary storage of a new data group. If there is a reusable page, the page number is obtained, the group number corresponding to the identification information corresponding to the page number is stored in step 508, and a series of processes from step 503 onward are executed. The data transfer from the host computer is executed to one new page. For example, when the host computer instructs the storage operation of 2048 records from the position corresponding to the first record of the data group of group number 9 when the buffer memory 1 is in the state of FIG. The control information is set to an integer value of 7, data transfer is performed for the first 256 records, and the control information is advanced to an integer value of 6. The next record to be transferred is to be stored in the group number 10, but since there is no page in the buffer memory 1 in which the group number 10 is temporarily stored, one page is selected from the reusable pages in the process of step 507. Here, assuming that page 0 is selected, the interface control unit writes the group number 10 in the identification information of page 0 and the integer value 7 in the control information, causes the host computer to transfer 256 records, and adjusts the transfer end control information. Proceed to Numerical Value 6. Hereinafter, the second page, the third page and the transfer buffer are sequentially used. As described above, as the transfer of the record from the host computer is buffered in the buffer memory 1 by the processing of the interface processing unit 5 shown in FIG. The number of data groups processed further than the completion of transfer from the computer increases. Now, all of the six pages in the buffer memory 1 are equal to or greater than the transfer completion from the host computer, that is, the integer value 6 or the integer value 5
Let's say you went to At this time, the interface control unit 5 determines in step 507 of FIG.
If it is determined that the magnetic tape can be temporarily stored, and the magnetic tape operation flag register 13 is referred to in step 509 and it is detected that the recording operation on the magnetic tape has not been started, the recording operation control unit 8, a recording operation start request is issued, and the process returns to step 507. If the recording operation is already being performed on the magnetic tape, the process returns to step 507, and the magnetic recording / reproducing unit 7 and the recording operation control unit 8
The process waits until any page on the buffer memory 1 becomes reusable.

【0026】記録動作制御部8は記録動作開始要求を受
理すると、図6のステップ601で記録動作を開始すべ
き最初のデータグループの制御情報を参照してその値が
整数値5、すなわち符号化処理完了となるのを待ち、完
了となればステップ602で磁気テープ動作フラグレジ
スタ13をセットし磁気記録再生部7に記録動作開始を
指示する。磁気記録再生部7は記録動作開始するデータ
グループの位置まで磁気テープを移動させ記録動作制御
部8から与えられる記録データをもって磁気テープに記
録を開始する。記録動作制御部8は磁気記録開始時点で
ステップ603の連続アンブルカウント14をクリア
し、ステップ604で物理バス4bを介してバッファメ
モリ1の該当するページから図3の矢印C方向すなわち
物理アドレス順に記録データを磁気記録再生部7に転送
する。1グループ分の転送が完了すると、記録動作制御
部8はステップ605でいま磁気記録再生部7へ転送完
了したページの制御情報に記録動作完了を意味する整数
値4を書き込み、ステップ606で引き続き磁気記録再
生部7へ転送継続するデータグループの制御情報が符号
化完了を意味しているか調べ、符号化完了しておればス
テップ603以降の記録データ転送処理を継続する。
When the recording operation control section 8 receives the recording operation start request, the recording operation control section 8 refers to the control information of the first data group in which the recording operation is to be started in step 601 in FIG. Wait for the processing to be completed, and when completed, set the magnetic tape operation flag register 13 in step 602 and instruct the magnetic recording / reproducing unit 7 to start the recording operation. The magnetic recording / reproducing unit 7 moves the magnetic tape to the position of the data group where the recording operation starts, and starts recording on the magnetic tape with the recording data given from the recording operation control unit 8. At the start of magnetic recording, the recording operation control unit 8 clears the continuous amble count 14 in step 603, and in step 604 records from the corresponding page of the buffer memory 1 via the physical bus 4b in the direction of arrow C in FIG. The data is transferred to the magnetic recording / reproducing unit 7. When the transfer for one group is completed, the recording operation control unit 8 writes the integer value 4 indicating the completion of the recording operation to the control information of the page that has been transferred to the magnetic recording / reproducing unit 7 in step 605, and continues the magnetic processing in step 606. It is checked whether the control information of the data group to be continuously transferred to the recording / reproducing unit 7 indicates that the encoding has been completed, and if the encoding has been completed, the recording data transfer processing after step 603 is continued.

【0027】一方インタフェース制御部5は、記録動作
制御部8がステップ605で制御情報に整数値4を書き
込んだことをステップ507で検出し、そのページを再
利用して次のレコードのバッファメモリ1への転送を開
始する。図8は磁気テープへの記録動作開始後のバッフ
ァメモリ1の状態を示す一例である。第0ページのグル
ープ番号10のデータグループは磁気テープに記録完了
で再利用可能状態であり、第2ページのグループ番号1
1のデータグループが磁気テープに記録中、第3,第4
ページのグループ番号12,13は符号化処理完了で磁
気テープへの記録開始待ち状態、第5ページのグループ
番号14は符号化処理中、第1ページは図4でグループ
番号9であった磁気テープへの記録を完了し図8ではグ
ループ番号15のバッファに再利用されホストコンピュ
ータからのデータ転送中になっている。
On the other hand, the interface control unit 5 detects in step 507 that the recording operation control unit 8 has written the integer value 4 in the control information in step 605, and reuses the page to rewrite the buffer memory 1 of the next record. Start transfer to. FIG. 8 is an example showing the state of the buffer memory 1 after the start of the recording operation on the magnetic tape. The data group of group number 10 on page 0 is in a reusable state upon completion of recording on the magnetic tape, and the group number 1 on page 2 is
The third and fourth data groups are being recorded on the magnetic tape.
The group numbers 12 and 13 of the pages are in a state of waiting for the start of recording on the magnetic tape after the completion of the encoding process, the group number 14 of the fifth page is in the encoding process, and the first page is the magnetic tape whose group number is 9 in FIG. In FIG. 8, the data is re-used in the buffer of the group number 15 and the data is being transferred from the host computer.

【0028】以上のようにインタフェース制御部5の図
5に示すホストコンピュータからバッファメモリ1への
データ転送処理と、符号処理部6の図7に示す符号化処
理と、記録動作制御部8の図6に示すバッファメモリ1
から磁気記録再生部7へのデータ転送処理とが、バッフ
ァメモリ1の複数のページに対して各ページの制御情報
と識別情報とを手がかりとして互いに平行して処理実行
することにより、各ページをホストコンピュータからの
転送制御用バッファメモリとデータグループ処理用の作
業メモリとに兼用させることができるから、2つのバッ
ファメモリを独立に持つ必要がなく、1つのバッファメ
モリ1でページを単位とする記録動作のバッファリング
を効率的に実現しているものである。
As described above, the data transfer process from the host computer shown in FIG. 5 to the buffer memory 1 by the interface control unit 5, the coding process shown in FIG. Buffer memory 1 shown in 6
The data transfer process from the CPU to the magnetic recording / reproducing unit 7 performs the processes in parallel with each other on the plurality of pages of the buffer memory 1 using the control information and the identification information of each page as clues, thereby hosting each page. Since the buffer memory for transfer control from the computer and the work memory for data group processing can be used in common, there is no need to have two buffer memories independently, and a recording operation in units of pages in one buffer memory 1 Buffering is efficiently realized.

【0029】次に記録動作における保護処理の動作を説
明する。上述した記録動作のバッファリングでは磁気記
録再生部7の記録速度に対してホストコンピュータの転
送速度が速い場合にその速度差を効果的に吸収する動作
になっている。一方では、ホストコンピュータの転送速
度が遅い場合あるいはホスココンピュータの転送が一時
的に中断した場合のため、記録に要する時間の増大を最
小限に抑える保護処理が必要になる。以下、この保護処
理について説明する。
Next, the operation of the protection processing in the recording operation will be described. In the above-described buffering of the recording operation, when the transfer speed of the host computer is higher than the recording speed of the magnetic recording / reproducing unit 7, the difference in the speed is effectively absorbed. On the other hand, when the transfer speed of the host computer is low or the transfer of the host computer is temporarily interrupted, a protection process for minimizing an increase in the time required for recording is required. Hereinafter, this protection processing will be described.

【0030】ホストコンピュータの転送速度が遅い場
合、あるいは転送が一時的に中断した場合、記録動作制
御部8のステップ602からステップ606の磁気テー
プへの記録制御処理の繰り返しによってバッファメモリ
1上の符号化完了ページが減少していき、やがて、次に
磁気記録再生部7に記録継続させるべきデータグループ
がまだ符号化未完了である状態に至る。記録動作制御部
8はステップ606でこのことを検出すると、記録デー
タがすべてゼロで構成される特殊な仮のデータグループ
であるアンブルグループを磁気テープ上に形成すること
で本来記録すべきデータグループの転送,符号化処理時
間を作り出す保護処理を開始する。まず、ステップ60
7で連続アンブルカウンタ14を参照してその値があら
かじめ設定されている限界値以下であることを検知する
とステップ608に進みディジタル伝送回路10の切断
信号に真を出力する。ディジタル伝送回路10は切断信
号に真が出力されると1データグループに相当する容量
のゼロデータをハードウェア的に発生させ磁気記録再生
部7に転送し、磁気記録再生部はゼロデータを磁気テー
プ上に記録することでアンブルグループを形成する。一
方、記録動作制御部8はステップ609で識別情報メモ
リ12のすべての識別情報を検査し、記録中のアンブル
グループのグループ番号以上のグループ番号を有するす
べてのデータグループに対しそのグループ番号に1を加
算し、ステップ610で連続アンブルカウント14をイ
ンクリメントさせる。ディジタル伝送回路10のゼロデ
ータ転送が終了すると記録動作制御部8はステップ61
1で前記切断信号に偽を出力し、ステップ606に戻
る。アンブルグループを磁気テープ上に形成している記
録時間でインタフェース制御部5および符号処理部6の
処理が進み、次に磁気記録再生部7に記録継続させるべ
きデータグループが符号化完了となっていれば、記録動
作制御部8はステップ603に進んで記録データ転送処
理を開始し、符号化完了となっていなければステップ6
07に進んでば再度保護処理を実行する。図9に保護処
理が2回連続して実行させ、2つのアンブルグループが
形成された磁気テープの状態を示す。図9で、グループ
番号15と16がアンブルグループである。グループ番
号17のデータグループは符号化完了が磁気記録再生部
7への記録データ転送開始に間に合わなかったため、本
来グループ番号15として記録されるべきものがグルー
プ番号17にシフトされて記録されている。図10には
図9のグループ番号16のアンブルグループを記録中で
あるときのバッファメモリ1の状態を示している。図1
0で、第1ページのグループ番号17のデータグループ
は図8ではグループ番号15であったが符号化処理中で
あるため磁気テープには記録開始されておらず、保護処
理によってグループ番号がシフトされている。
When the transfer speed of the host computer is low or the transfer is temporarily interrupted, the code in the buffer memory 1 is repeated by repeating the recording control processing on the magnetic tape from step 602 to step 606 of the recording operation control unit 8. The number of encoded pages decreases, and eventually, the data group to be continuously recorded by the magnetic recording / reproducing unit 7 reaches a state in which encoding is not completed. When the recording operation control unit 8 detects this in step 606, the recording operation control unit 8 forms an amble group, which is a special temporary data group in which the recording data is all zeros, on the magnetic tape to thereby determine the data group to be originally recorded. The protection processing for creating the transfer and encoding processing time is started. First, step 60
In step 7, if it is detected by referring to the continuous amble counter 14 that the value is equal to or smaller than a preset limit value, the process proceeds to step 608, and the disconnection signal of the digital transmission circuit 10 is output as true. When true is output to the disconnection signal, the digital transmission circuit 10 generates zero data of a capacity corresponding to one data group by hardware and transfers it to the magnetic recording / reproducing unit 7. The magnetic recording / reproducing unit transmits the zero data to a magnetic tape. By recording above, an amble group is formed. On the other hand, the recording operation control unit 8 checks all the identification information in the identification information memory 12 in step 609, and assigns 1 to all data groups having a group number equal to or greater than the group number of the amble group being recorded. In step 610, the continuous amble count 14 is incremented. When the zero data transfer of the digital transmission circuit 10 is completed, the recording operation control section 8 proceeds to step 61.
In step 1, false is output to the disconnection signal, and the process returns to step 606. The processing of the interface control unit 5 and the code processing unit 6 proceeds according to the recording time during which the amble group is formed on the magnetic tape, and the data group for which the magnetic recording / reproducing unit 7 is to continue recording is completed. If so, the recording operation control unit 8 proceeds to step 603 to start the recording data transfer process, and if the encoding is not completed, the recording operation control unit 8 proceeds to step 6.
If the process proceeds to 07, the protection process is executed again. FIG. 9 shows a state of the magnetic tape in which the protection processing is executed twice consecutively and two amble groups are formed. In FIG. 9, group numbers 15 and 16 are amble groups. In the data group of the group number 17, since the completion of the encoding was not in time for the start of the transfer of the recording data to the magnetic recording / reproducing unit 7, the data to be recorded as the group number 15 is shifted to the group number 17 and recorded. FIG. 10 shows the state of the buffer memory 1 when the amble group of the group number 16 in FIG. 9 is being recorded. FIG.
At 0, the data group of the group number 17 of the first page was the group number 15 in FIG. 8, but the recording process is not started on the magnetic tape because the encoding process is being performed, and the group number is shifted by the protection process. ing.

【0031】以上のように記録動作制御部8の保護処理
によってホストコンピュータからのデータ転送が遅れた
場合も、アンブルグループを記録することによって磁気
テープへの記録動作をいったん停止させることなくホス
トコンピュータからの転送時間と符号処理部6の処理時
間を作り出すことができる。一般に磁気記録再生部7は
いったん記録動作を停止すると、次に記録動作を再開す
るときにグループ番号を基に記録位置をテープ上で検索
して移動させなければならず、更にトラッキングが安定
するまでの走行時間も必要であるから、記録時間まで多
大の時間を要する。しかしながら、記録動作制御部8の
ステップ607からステップ611の保護処理によって
アンブルグループを形成することによって記録再生制御
部7の記録動作を不用意に中断すること無く、ホストコ
ンピュータからのデータ転送と不当化処理が完了すれば
直ちに磁気テープに記録開始することができるものであ
るから、ほぼホストコンピュータからのデータ転送時間
で記録動作が完了することとなり、記録に要する時間の
増大を最小限に抑えることができるものである。しかも
図10に示すようにアンブルグループ用の専用バッファ
を必要としないからバッファメモリ1の高い利用効率を
確保することができるものである。
As described above, even when data transfer from the host computer is delayed due to the protection processing of the recording operation control unit 8, the recording operation on the magnetic tape can be performed without stopping the recording operation on the magnetic tape by temporarily recording the amble group. And the processing time of the code processing unit 6 can be created. Generally, once the recording operation is stopped, the magnetic recording / reproducing unit 7 must search and move the recording position on the tape based on the group number when resuming the recording operation next, and further until the tracking is stabilized. , It takes a lot of time until the recording time. However, by forming an amble group by the protection processing of Steps 607 to 611 of the recording operation control unit 8, data transfer from the host computer and improper operation can be performed without inadvertently interrupting the recording operation of the recording / reproduction control unit 7. Since the recording can be started immediately on the magnetic tape when the processing is completed, the recording operation is completed almost in the data transfer time from the host computer, and the increase in the time required for recording can be minimized. You can do it. Moreover, as shown in FIG. 10, a dedicated buffer for the amble group is not required, so that high utilization efficiency of the buffer memory 1 can be ensured.

【0032】また、記録動作制御部8は保護処理におい
て図6のステップ607で連続アンブルカウント14の
値があらかじめ設定された限界値に達したことを検知す
ると、ホストコンピュータからのデータ転送がいったん
中断したものと判断し、ステップ12に進んで磁気記録
再生部7に記録動作停止指示を発行し磁気テープ動作フ
ラグレジスタ13をリセットし、図6の一連の記録動作
制御処理を終了する。磁気記録再生部7は記録動作停止
指示を受理すると磁気テープに対する記録動作を終了す
る。記録動作制御部8が記録動作制御処理終了後もイン
タフェース制御部5は図5のインタフェース制御処理を
継続し、ホストコンピュータからのデータ転送が再開さ
れバッファメモリ1上にホストコンピュータからのデー
タ転送完了したデータグループが蓄積されると再びステ
ップ507およびステップ509,ステップ510の処
理で記録動作制御部8に記録動作再開を要求することに
なる。つまり、ホストコンピュータからの長時間のデー
タ転送中断が発生する場合には磁気記録再生部7の記録
動作を停止させるから、磁気テープ上の大容量の領域が
アンブルグループとして消費されてしまう危険性を防止
することができるものである。またホストコンピュータ
からのデータ転送が再開されると必要に応じ自動的に磁
気テープへの記録動作を再開することになるから、ホス
トコンピュータにデータ転送中断も何ら特別の処理を要
求しないものであり、極めて汎用性が高いものである。
When the recording operation control unit 8 detects in the protection processing that the value of the continuous amble count 14 has reached the preset limit value in step 607 of FIG. 6, data transfer from the host computer is temporarily interrupted. It is determined that the recording has been performed, and the process proceeds to step 12 to issue a recording operation stop instruction to the magnetic recording / reproducing unit 7, reset the magnetic tape operation flag register 13, and end the series of recording operation control processing of FIG. Upon receiving the recording operation stop instruction, the magnetic recording / reproducing unit 7 ends the recording operation on the magnetic tape. Even after the recording operation control unit 8 finishes the recording operation control process, the interface control unit 5 continues the interface control process of FIG. 5, the data transfer from the host computer is resumed, and the data transfer from the host computer to the buffer memory 1 is completed. When the data group is accumulated, the recording operation control unit 8 is requested to restart the recording operation in the processing of steps 507, 509, and 510 again. That is, when the data transfer from the host computer is interrupted for a long time, the recording operation of the magnetic recording / reproducing unit 7 is stopped, so that there is a danger that a large capacity area on the magnetic tape is consumed as an amble group. Can be prevented. Also, when the data transfer from the host computer is restarted, the recording operation on the magnetic tape is automatically restarted as necessary, so that the host computer does not require any special processing to interrupt the data transfer, It is extremely versatile.

【0033】次に再生動作を説明する。本実施例の再生
動作では記録動作と同じくホストコンピュータからシー
ケンシャルアクセスされるものと仮定する。図11,図
12,図13はそれぞれ本実施例の再生動作におけるイ
ンタフェース制御部5と、再生動作制御部9と、符号処
理部6の処理手順を示すフローチャートである。ホスト
コンピュータは本実施例であるディジタルデータ記録再
生装置に対してレコードを再生位置と再生量の指定単位
として再生動作指示のコマンドを発行する。まず、イン
タフェース制御部1は再生動作指示のコマンドを受信す
ると、図11のステップ1101でホストコンピュータ
から指示された目標レコードを含むデータグループのグ
ループ番号を算出し、ステップ1102で識別情報メモ
リ12に記憶されたグループ番号を検査することによっ
て該当するデータグループがバッファメモリに一時記憶
されているかどうかを判断し、記憶されていない場合に
はステップ1103で磁気テープ動作フラグレジスタ1
3を参照して磁気テープに対する再生動作が開始されて
いないことを確認すると、ステップ1104で再生動作
制御部9に再生動作開始要求を発行し、ステップ110
2に戻る。また、既に磁気テープからの再生動作が開始
されておればステップ1102に戻り、磁気記録再生部
7と再生動作制御部9の処理が進行してバッファメモリ
1上に該当するデータグループが転送されるのを待つこ
とになる。
Next, the reproducing operation will be described. In the reproducing operation of the present embodiment, it is assumed that sequential access is made from the host computer as in the recording operation. FIGS. 11, 12, and 13 are flowcharts showing the processing procedure of the interface control unit 5, the reproduction operation control unit 9, and the code processing unit 6 in the reproduction operation of this embodiment. The host computer issues a reproduction operation instruction command to the digital data recording / reproducing apparatus according to the present embodiment, using the record as a specified unit of a reproduction position and a reproduction amount. First, when the interface control unit 1 receives the command of the reproduction operation instruction, the interface control unit 1 calculates the group number of the data group including the target record specified by the host computer in step 1101 of FIG. 11 and stores it in the identification information memory 12 in step 1102. It is determined whether the corresponding data group is temporarily stored in the buffer memory by inspecting the group number that has been set. If not, it is determined in step 1103 that the magnetic tape operation flag register 1
When it is confirmed that the reproducing operation for the magnetic tape has not been started with reference to Step 3, a reproducing operation start request is issued to the reproducing operation control unit 9 in Step 1104, and Step 110 is performed.
Return to 2. If the reproducing operation from the magnetic tape has already been started, the process returns to step 1102, and the processing of the magnetic recording / reproducing unit 7 and the reproducing operation control unit 9 proceeds to transfer the corresponding data group to the buffer memory 1. Will wait for

【0034】再生動作制御部9は再生動作開始要求を受
理すると、図12のステップ1201で制御情報記憶メ
モリ11のすべての制御情報を検査し、その値が整数値
3以下であるものは磁気記録再生部7からの再生データ
を一時記憶するバッファとして使用可能であるから整数
値4に変更する。次にステップ1202で再度すべての
制御情報を検査し、その値が整数値4であるページの中
から最初にバッファとして使用するページを決定する。
次にステップ1203に進み、決定したページに対応す
る識別情報に再生するデータグループのグループ番号を
記憶させ、ステップ1204で同じく対応する制御情報
に再生動作開始を意味する整数値1を記憶させ、ステッ
プ1205で磁気テープ動作フラグレジスタ13をセッ
トし磁気記録再生部7に再生動作開始を指示する。磁気
記録再生部7は再生動作開始する位置まで磁気テープを
移動させた後、再生動作を開始し再生動作制御部9に再
生データを転送開始する。再生動作制御部9は磁気再生
開始時点からステップ1206で物理バス4bを介して
バッファメモリ1の該当するページに図3の矢印C方向
すなわち物理アドレス順に磁気記録再生部7から転送さ
れる再生データを一時記憶させていく。1グループ分の
転送が完了すると、再生動作制御部9はステップ120
7でいま磁気記録再生部7から再生データの転送完了し
たページの制御情報に再生動作完了を意味する整数値2
を書き込み、ステップ1202で引き続き磁気記録再生
部7で再生継続するデータグループの再生データを一時
記憶させるバッファメモリ1のページの決定処理に戻
り、決定することができればステップ1203以降の再
生データ転送処理を継続し、磁気記録再生部7が連続し
て再生するデータグループを順にバッファメモリ1に一
時記憶させていく。
When the reproduction operation control unit 9 receives the reproduction operation start request, it checks all the control information in the control information storage memory 11 in step 1201 in FIG. Since it can be used as a buffer for temporarily storing the reproduction data from the reproduction unit 7, the value is changed to an integer value 4. Next, in step 1202, all control information is checked again, and a page to be used as a buffer first is determined from pages whose value is the integer value 4.
Next, proceeding to step 1203, the group number of the data group to be reproduced is stored in the identification information corresponding to the determined page, and in step 1204, the integer corresponding to the start of the reproducing operation is stored in the corresponding control information. At 1205, the magnetic tape operation flag register 13 is set, and the magnetic recording / reproducing section 7 is instructed to start the reproducing operation. After moving the magnetic tape to the position where the reproducing operation starts, the magnetic recording / reproducing unit 7 starts the reproducing operation and starts transferring the reproduction data to the reproducing operation control unit 9. In step 1206, the reproducing operation control unit 9 transfers the reproduced data transferred from the magnetic recording / reproducing unit 7 to the corresponding page of the buffer memory 1 via the physical bus 4b in the direction of arrow C in FIG. I will store it temporarily. When the transfer for one group is completed, the reproduction operation control unit 9 proceeds to step 120.
7, the control information of the page to which the transfer of the reproduction data has been completed from the magnetic recording / reproduction unit 7 has an integer value 2 indicating the completion of the reproduction operation.
Then, in step 1202, the process returns to the process of determining the page of the buffer memory 1 for temporarily storing the reproduced data of the data group to be continuously reproduced by the magnetic recording / reproducing unit 7. Subsequently, the data groups to be continuously reproduced by the magnetic recording / reproducing unit 7 are temporarily stored in the buffer memory 1 in order.

【0035】一方符号処理部6は上述した再生動作制御
部9の処理に平行して図13に示す再生したデータグル
ープの誤り訂正処理を実行する。符号処理部6は再生動
作にあっては、図13のステップ1301で制御情報記
憶メモリ11のすべての制御情報を検査し制御情報が整
数値2、すなわち誤り訂正処理開始可能なグループがバ
ッファメモリ1上に一時記憶されているか検査を繰り返
している。再生動作制御部9がステップ1207で制御
情報に整数値2を記憶させると、符号処理部6はその整
数値2を発見し、その制御情報に対応するバッファメモ
リ1のページ番号を得てステップ1302に進み、該当
するページのデータグループに対し論理バス4aを介し
て図3に示すように構成されている誤り訂正符号のパリ
ティを用いて誤り訂正処理を実行し、再生動作において
発生したデータ誤りを訂正する。誤り訂正処理が完了す
ると符号処理部6はステップ1303で今処理が完了し
たページの制御情報に誤り訂正処理完了を意味する整数
値3を記憶させ、ステップ1301に戻り、誤り訂正処
理可能なデータグループの検索を再開する。
On the other hand, the code processing section 6 executes the error correction processing of the reproduced data group shown in FIG. 13 in parallel with the processing of the reproduction operation control section 9 described above. In the reproducing operation, the code processing unit 6 checks all control information in the control information storage memory 11 at step 1301 in FIG. Repeated inspections are temporarily stored above. When the reproducing operation control unit 9 stores the integer value 2 in the control information in step 1207, the code processing unit 6 finds out the integer value 2 and obtains the page number of the buffer memory 1 corresponding to the control information, and obtains the step 1302 To perform error correction processing on the data group of the corresponding page via the logical bus 4a using the parity of the error correction code configured as shown in FIG. correct. When the error correction processing is completed, the code processing unit 6 stores the integer value 3 indicating the completion of the error correction processing in the control information of the page for which the processing has been completed in step 1303, returns to step 1301, and returns to the data group in which the error correction processing is possible. Resume search for.

【0036】再生動作制御部9がステップ1203で識
別情報記憶メモリに記憶させたグループ番号は、インタ
フェース制御部5のステップ1102の識別情報検査で
目標レコードを含むデータグループがバッファメモリ1
上のいずれかのページに記憶されていることを発見させ
ることとなり、インタフェース制御部5はそのページ番
号を取得してステップ1105に進み、対応する制御情
報を調べ目標レコードがホストコンピュータへ転送可能
な状態であるかどうかを判断する。(表1)の制御情報
の定義で、再生動作の場合制御情報が整数値3から7の
間の値であれば目標レコードはホストコンピュータから
転送された状態または磁気テープから再生して誤り訂正
処理が完了した状態で、バッファメモリ1に誤りを含ま
ず一時記憶されていることになる。しがたって、インタ
フェース制御部5は制御情報が整数値3以上であるとき
に転送可能であると判断する。次にステップ1106に
進み目標レコードの該当データグループ内での論理アド
レスを算出し、更にステップ1107でページ番号と目
標レコードの論理アドレスによって示される仮想2次元
配列上のアドレスに対して論理バス1aを介してホスト
コンピュータに指示されたレコードのデータを転送す
る。インタフェース制御部5はホストコンピュータへの
データ転送が終了するとステップ1108で、今転送完
了したレコードが該当するグループに含まれる最終レコ
ードであったかどうかを判断し、最終レコードでありか
つ制御情報が整数値3以下つまり再生動作のバッファと
して使われたページであった場合はステップ1109で
対応する制御情報に該当データグループでホストコンピ
ュータへのデータ転送完了グループであることを意味す
る整数値4を記憶させる。次にステップ1110でホス
トコンピュータからコマンドで再生要求されたレコード
がすべてホストコンピュータへ転送終了したのであるか
どうかを判断し、全レコード転送終了であれば処理をい
ったん終了し次のコマンド待ちとなるが、未転送レコー
ドが残っているのであればステップ1101へ戻り前記
未転送レコードの転送処理を継続することとなる。図1
4に上記再生動作継続中の場合のバッファメモリ1の状
態の一例を示す。図14で、第0ページのグループ番号
12が磁気記録再生部7からの再生データを記憶中のバ
ッファであり、第5ページのグループ番号11が誤り訂
正処理中、第3,4ページのグループ番号9,10は誤
り訂正処理完了であって、第1,2ページのグループ番
号7,8はホストコンピュータへのデータ転送も完了
し、再生動作のバッファとして再利用可能状態になって
いる。インタフェース制御部5は第3ページをホストコ
ンピュータへデータ転送中であり、その転送が完了すれ
ば第3ページの制御情報を整数値4とし、引き続き第4
ページを転送開始する。また再生動作制御部9は第0ペ
ージへの磁気記録再生部7からの再生データ転送を完了
すればその制御情報を整数値2に進め、引き続き第1ペ
ージをグループ番号13の再生用のバッファとして使用
する。
The group number stored in the identification information storage memory by the reproduction operation control section 9 in step 1203 is the data group including the target record in the identification information check in step 1102 of the interface control section 5.
Then, the interface control unit 5 obtains the page number and proceeds to step 1105 to check the corresponding control information and transfer the target record to the host computer. Determine if it is in a state. According to the definition of the control information in Table 1, if the control information is a value between integers 3 and 7 in the case of a reproducing operation, the target record is transferred from the host computer or reproduced from the magnetic tape and subjected to error correction processing. Is completed, and is temporarily stored in the buffer memory 1 without any error. Therefore, the interface control unit 5 determines that the transfer is possible when the control information has the integer value 3 or more. Next, in step 1106, the logical address of the target record in the corresponding data group is calculated. In step 1107, the logical bus 1a is assigned to the address on the virtual two-dimensional array indicated by the page number and the logical address of the target record. The data of the designated record is transferred to the host computer via the host computer. When the data transfer to the host computer is completed, the interface control unit 5 determines in step 1108 whether or not the record that has just been transferred is the last record included in the corresponding group. In the following, that is, in the case of a page used as a buffer for the reproducing operation, in step 1109, the corresponding control information is stored with an integer value 4 indicating that the data group is a data transfer completed group to the host computer in the corresponding data group. Next, in step 1110, it is determined whether or not all the records requested to be reproduced by the command from the host computer have been transferred to the host computer. If the transfer of all records has been completed, the process ends once and the next command is waited. If any untransferred records remain, the process returns to step 1101 to continue the transfer processing of the untransferred records. FIG.
FIG. 4 shows an example of the state of the buffer memory 1 when the reproduction operation is being continued. In FIG. 14, the group number 12 of the 0th page is a buffer storing the reproduction data from the magnetic recording / reproducing unit 7, the group number 11 of the 5th page is in error correction processing, and the group number of the 3rd and 4th pages. 9 and 10 indicate the completion of the error correction processing, and the group numbers 7 and 8 of the first and second pages have also completed the data transfer to the host computer and are in a reusable state as a buffer for the reproducing operation. The interface controller 5 is transferring data of the third page to the host computer. When the transfer is completed, the interface controller 5 sets the control information of the third page to the integer value 4, and continues the fourth page.
Start transferring the page. When the reproduction data transfer from the magnetic recording / reproduction unit 7 to the 0th page is completed, the reproduction operation control unit 9 advances the control information to an integer value of 2 and continues to use the first page as a reproduction buffer of the group number 13. use.

【0037】以上のようにインタフェース制御部5の図
11に示すバッファメモリ1からホストコンピュータへ
のデータ転送処理と、符号処理部6の図13に示す誤り
訂正処理と、再生動作制御部9の図12に示す磁気記録
再生部7からバッファメモリ1へのデータ転送処理と
が、バッファメモリ1の複数のページに対して各ページ
の制御情報と識別情報とを手がかりとして互いに平行し
て処理実行することにより、記録動作の場合と同じくホ
ストコンピュータからの転送制御よいバッファメモリと
データグループ処理用の作業メモリを共用化することが
できるから、2つのバッファメモリを独立に持つ必要が
なく、1つのバッファメモリ1でページを単位とする記
録動作のバッファリングを効率的に実現しているもので
ある。更に既にバッファメモリ1上に一時記憶されてい
るデータグループがホストコンピュータから指定された
目標レコードを含んでおれば磁気テープからの再生動作
を開始せず直ちに転送開始するのであるから、バッファ
メモリ1はキャッシュメモリとしての効果をも発生し、
高速な動作を実現するものである。
As described above, the data transfer process from the buffer memory 1 shown in FIG. 11 to the host computer by the interface control unit 5, the error correction process shown in FIG. The process of transferring data from the magnetic recording / reproducing unit 7 to the buffer memory 1 shown in FIG. 12 is performed in parallel with respect to a plurality of pages of the buffer memory 1 using the control information and identification information of each page as clues. As in the case of the recording operation, the buffer memory with good transfer control from the host computer and the working memory for data group processing can be shared, so that it is not necessary to have two independent buffer memories and one buffer memory 1 efficiently realizes buffering of the recording operation in units of pages. Further, if the data group already temporarily stored in the buffer memory 1 includes the target record specified by the host computer, the transfer operation is started immediately without starting the reproducing operation from the magnetic tape. Also produces the effect as a cache memory,
This realizes high-speed operation.

【0038】以上の動作では磁気記録再生部7の再生速
度に対してホストコンピュータの転送速度が早い場合に
その速度差を吸収するバッファリング動作になってい
る。次にホストコンピュータの転送速度が遅い場合ある
いはホストコンピュータの転送が一時的に中断した場合
の動作について説明する。この場合、再生動作制御部9
のステップ1202からステップ1207の再生データ
のバッファメモリ1への一時記憶処理の繰り返しによっ
てバッファメモリ1上の誤り訂正処理完了ページが増加
していき、やがて次に再生継続されるデータグループを
一時記憶させることができるページが存在しない状態に
至る。このときをステップ1202で検知ステップする
と再生動作制御部9はホストコンピュータからのデータ
転送がいったん中断したものと判断し、ステップ120
8に進んで磁気記録再生部7に再生動作停止指示を発行
し磁気テープ動作フラグレジスタ13をリセットし、図
12の一連の再生動作制御処理を終了する。磁気記録再
生部7は再生動作停止指示を受理すると磁気テープから
の再生動作を終了する。再生動作制御部9が再生動作制
御処理終了後もインタフェース制御部5は図1のインタ
フェース制御処理を継続しているから、ホストコンピュ
ータのデータ受信が再開されるとステップ1101,ス
テップ1102,ステップ1105からステップ111
0の処理が進み、バッファメモリ1上に蓄積されている
磁気テープから再生されたデータグループが減少する。
やがて、ホストコンピュータから指定されたレコードを
含むデータグループがバッファメモリ上に存在しなくな
ると再びステップ1103およびステップ1104が処
理で再生動作制御部9に再生動作再開を要求することに
なる。つまり、ホストコンピュータからの長時間のデー
タ転送中断が発生した場合には磁気記録再生部7の再生
動作を停止させるが、ホストコンピュータのデータ受信
が再開されると必要に応じて自動的に磁気テープからの
再生動作を再開することができるものであり、更にホス
トコンピュータにデータ転送中断後も何ら特別の処理を
要求しない。汎用性の高いものである。
In the above operation, when the transfer speed of the host computer is higher than the reproduction speed of the magnetic recording / reproducing unit 7, the buffering operation absorbs the speed difference. Next, the operation when the transfer speed of the host computer is low or the transfer of the host computer is temporarily interrupted will be described. In this case, the reproduction operation control unit 9
By repeating the temporary storage processing of the reproduced data in the buffer memory 1 in steps 1202 to 1207, the number of error correction processing completed pages in the buffer memory 1 increases, and the data group to be reproduced next is temporarily stored. There is no page that can be reached. When this time is detected in step 1202, the reproduction operation control unit 9 determines that the data transfer from the host computer has been temporarily interrupted, and
In step 8, the reproduction operation stop instruction is issued to the magnetic recording / reproduction unit 7, the magnetic tape operation flag register 13 is reset, and the series of reproduction operation control processing of FIG. Upon receiving the reproduction operation stop instruction, the magnetic recording / reproduction unit 7 ends the reproduction operation from the magnetic tape. Since the interface control unit 5 continues the interface control process of FIG. 1 even after the reproduction operation control unit 9 ends the reproduction operation control process, when the data reception of the host computer is resumed, steps 1101, 1102, and 1105 are performed. Step 111
The process of 0 proceeds, and the number of data groups reproduced from the magnetic tape stored in the buffer memory 1 decreases.
Eventually, when the data group including the record specified by the host computer no longer exists in the buffer memory, the processing in steps 1103 and 1104 again requests the reproduction operation control unit 9 to resume the reproduction operation. In other words, when the data transfer from the host computer is interrupted for a long time, the reproducing operation of the magnetic recording / reproducing unit 7 is stopped. The reproduction operation from the server can be resumed, and no special processing is required of the host computer even after the data transfer is interrupted. It is highly versatile.

【0039】次に(表1)に示した制御情報の定義と、
図5のステップ507図11のステップ1105、図1
2のステップ1202などの判断処理と、バッファメモ
リ1上の各ページの状態との関係を説明し、これらの判
断でバッファリングに問題を発生すること無くバッファ
メモリ1が効率的に使用されることを示す。
Next, the definition of the control information shown in (Table 1)
Step 507 in FIG. 5, step 1105 in FIG.
2. The relationship between the judgment processing such as step 1202 of No. 2 and the state of each page on the buffer memory 1 will be described, and the buffer memory 1 will be used efficiently without any problem in buffering in these judgments. Is shown.

【0040】今、ホストコンピュータから指示を受けた
記録動作を終了したとし、そのときのバッファメモリ1
の各ページが図15に示す状態であったとする。このと
き制御情報は、第0ページに一時記憶されたグループ番
号15のデータグループは符号化処理まで完了している
がまだ磁気テープに記録されておらず、第1ページのグ
ループ番号16のデータグループはホストコンピュータ
からのレコードを記憶する余裕が残っており同じく磁気
テープに記録されていないが、その他のページに記憶さ
れているデータグループは既に磁気テープに記録完了し
ていることを示している。この状態で次にホストコンピ
ュータから再度記録動作が指示された場合、インタフェ
ース制御部5はグループ番号16データグループの余裕
部分へのレコード転送から転送を開始するが、余裕部分
への転送を完了するとステップ505で制御情報を7か
ら6に書き換え、次にバッファとして使用するページを
ステップ507で選択する。ステップ507の処理では
インタフェース制御部5は制御情報が4以下であれば新
たなバッファとして使用可能とはんだんするが図15の
例では第2ページから第5ページの4ページが使用可能
と判断されそのいずれかが選択されてグループ番号17
のバッファとして使用されることとなる。すなわち第0
ページ,第1ページの磁気テープへの未記録データグル
ープを記憶しているページは誤って新たなバッファとし
て使用することがなく、次に磁気テープへの記録動作が
開始されるまで確実に保存されるものである。
Now, it is assumed that the recording operation instructed by the host computer has been completed, and the buffer memory 1 at that time is terminated.
Are in the state shown in FIG. At this time, the control information indicates that the data group of the group number 15 temporarily stored in the 0th page has been completed up to the encoding process but has not yet been recorded on the magnetic tape, and the data group of the group number 16 on the first page has Indicates that there is room for storing records from the host computer and the data is not recorded on the magnetic tape, but the data groups stored on other pages have already been recorded on the magnetic tape. In this state, when the host computer instructs the recording operation again, the interface control unit 5 starts the transfer from the record transfer to the spare portion of the group number 16 data group. At step 505, the control information is rewritten from 7 to 6, and a page to be used as a buffer is selected at step 507. In the process of step 507, if the control information is 4 or less, the interface control unit 5 solders that it can be used as a new buffer, but in the example of FIG. 15, it is determined that four pages from the second page to the fifth page can be used. One of them is selected and the group number 17
Will be used as a buffer. That is, the 0th
The page storing the page and the first page of the unrecorded data group on the magnetic tape are not erroneously used as a new buffer, but are securely stored until the next recording operation on the magnetic tape is started. Things.

【0041】次にバッファメモリ1が図15に示す状態
であるときに、ホストコンピュータから再生動作が指示
された場合について説明する。インタフェース制御部5
は指定された目標レコードを含むデータグループの番号
をステップ1101の処理で算出するが、その値が15
であったとすると第0ページが処理対象となる。ステッ
プ1105で制御情報が整数値3以上であればホストコ
ンピュータへ転送可能と判断するので第0ページからホ
ストコンピュータへ目標レコードが転送される。この場
合以前にホストコンピュータから記録用として転送さ
れ、バッファメモリ1に記憶されていたレコードが改め
てそのままホストコンピュータに転送されることにな
る。また、制御情報が整数値5であるから転送終了時に
ステップ1108の判断で整数値3以下ではないからス
テップ1109には進まず整数値5が保持されることに
なり、磁気テープに未記録の第0ページの記憶内容は次
回の磁気テープへの記録動作まで保持され、未記録ペー
ジが不用意に破壊されることがない。次に、ホストコン
ピュータから再生要求された目標レコードがグループ番
号5のデータグループに含まれる場合を考える。この場
合はバッファメモリ1上に記憶されていないデータグル
ープであるから磁気テープからの再生動作を開始するこ
ととになる。再生動作制御部9はステップ1202の処
理で制御情報が整数値4であるページを磁気記録再生部
7からの再生データの一時記憶バッファとして使用可能
と判断するが図15の例では第2ページから第5ページ
までの4ページが使用可能と判断され、そのいずれかが
グループ番号5のデータグループのバッファとして使用
されるが、第0ページ,第1ページを誤って新たなバッ
ファとして使用することがない。この場合も磁気テープ
への未記録データグループを記憶しているページは使用
されること無く保存される。
Next, a case where a reproducing operation is instructed from the host computer when the buffer memory 1 is in the state shown in FIG. 15 will be described. Interface control unit 5
Calculates the number of the data group including the specified target record in the process of step 1101, and the value is 15
, The 0th page is to be processed. If the control information is equal to or larger than the integer value 3 in step 1105, it is determined that transfer to the host computer is possible, and the target record is transferred from page 0 to the host computer. In this case, the record previously transferred from the host computer for recording and stored in the buffer memory 1 is transferred again to the host computer as it is. Further, since the control information is the integer value 5, the transfer is not completed at the end of the transfer in the judgment of step 1108, and therefore the integer value 5 is held without proceeding to step 1109. The stored contents of page 0 are retained until the next recording operation on the magnetic tape, and unrecorded pages are not inadvertently destroyed. Next, consider a case where the target record requested to be reproduced by the host computer is included in the data group of group number 5. In this case, since the data group is not stored in the buffer memory 1, the reproducing operation from the magnetic tape is started. In the processing of step 1202, the reproduction operation control unit 9 determines that the page whose control information is the integer value 4 can be used as a temporary storage buffer for the reproduction data from the magnetic recording / reproduction unit 7, but in the example of FIG. It is determined that four pages up to the fifth page are usable, and any one of them is used as a buffer for the data group of group number 5, but the zeroth page and the first page may be erroneously used as new buffers. Absent. Also in this case, the page storing the unrecorded data group on the magnetic tape is stored without being used.

【0042】次に、再生動作完了時点からの動作につい
て説明する。今、ホストコンピュータから指示を受けた
再生動作を完了したとし、そのときのバッファメモリ1
の各ページが図16に示す状態であったとする。このと
き制御情報は、第0ページと第1ページのデータグルー
プは磁気テープに記録されていないものであり、その他
のページのデータグループは磁気テープから再生された
ものであることを示している。この状態で次にホストコ
ンピュータから記録動作が指示された場合、インタフェ
ース制御部5はグループ番号16データグループの余裕
部分からレコード転送を開始するが、余裕部分への転送
を完了するとステップ505で制御情報を7から6に書
き換え、次にバッファとして使用するページをステップ
507で選択する。ステップ507の処理ではインタフ
ェース制御部5は制御情報が4以下であれば新たなバッ
ファとして使用可能と判断するが図16の例では第2ペ
ージから第5ページの4ページが使用可能と判断されそ
のいずれかが選択されてグループ番号17のバッファと
して使用されることとなり、第0ページ,第1ページの
磁気テープへの未記録データグループを記憶しているペ
ージはやはり保存される。
Next, the operation from the completion of the reproducing operation will be described. Now, it is assumed that the reproduction operation instructed by the host computer has been completed, and the buffer memory 1 at that time has been completed.
Are in the state shown in FIG. At this time, the control information indicates that the data groups of the 0th page and the 1st page are not recorded on the magnetic tape, and the data groups of the other pages are reproduced from the magnetic tape. In this state, when a recording operation is next instructed from the host computer, the interface control unit 5 starts record transfer from the spare portion of the group number 16 data group. Is rewritten from 7 to 6, and a page to be used next as a buffer is selected in step 507. In the process of step 507, if the control information is 4 or less, the interface control unit 5 determines that it can be used as a new buffer. In the example of FIG. 16, however, it is determined that four pages from the second page to the fifth page can be used, and Either one is selected and used as the buffer of the group number 17, and the page storing the 0th page and the 1st page of the unrecorded data group on the magnetic tape is also stored.

【0043】次にバッファメモリ1が図16に示す状態
であるとき、ホストコンピュータから再生動作が指示さ
れた場合について説明する。インタフェース制御部5は
指定された目標レコードを含むデータグループの番号を
ステップ1101の処理で算出するが、その値が15あ
るいは16であったとき直ちにバッファメモリ1からホ
ストコンピュータへ目標レコードが転送されるが、転送
終了後これら磁気テープに未記録のページはやはり上述
した記録動作に続く再生動作の場合と同様に保存され
る。また、ホストコンピュータから再生要求された目標
レコードがグループ番号5,6,7あるいは8のデータ
グループに含まれる場合、これらの制御情報が整数値3
であるから誤り訂正処理完了であり、そのままホストコ
ンピュータへ転送開始される。また、目標レコードがグ
ループ番号11のデータレコードに含まれる場合、バッ
ファメモリ1上に記憶されていないデータグループであ
るから磁気テープからの再生動作を開始することにな
る。再生動作制御部9はステップ1201の処理で制御
情報が整数値3以下のものを整数値4に初期化するから
第2ページから第5ページが整数値4に初期化される。
その後ステップ1202の処理で制御情報が整数値4で
あるページを磁気記録再生部7からの再生データの一時
記憶バッファとして使用可能と判断するから第2ページ
から第5ページまでの4ページのいずれかがグループ番
号11のデータグループのバッファとして使用されるこ
ととなる。この場合も第0ページ,第1ページの磁気テ
ープへの未記録データグループのページを誤って使用さ
れること無く確実に保存される。
Next, a case where a reproduction operation is instructed from the host computer when the buffer memory 1 is in the state shown in FIG. 16 will be described. The interface control unit 5 calculates the number of the data group including the specified target record in the process of step 1101. When the value is 15 or 16, the target record is immediately transferred from the buffer memory 1 to the host computer. However, after the transfer is completed, the unrecorded pages on the magnetic tape are stored in the same manner as in the case of the reproducing operation following the recording operation. When the target record requested to be reproduced by the host computer is included in the data group of the group number 5, 6, 7, or 8, the control information is set to the integer value 3
Therefore, the error correction processing is completed, and the transfer to the host computer is started as it is. When the target record is included in the data record of the group number 11, the reproduction operation from the magnetic tape is started because the data record is not stored in the buffer memory 1. The reproduction operation control unit 9 initializes the control information having the integer value of 3 or less to the integer value 4 in the process of step 1201, so that the second to fifth pages are initialized to the integer value 4.
Thereafter, in the process of step 1202, it is determined that the page whose control information is the integer value 4 can be used as a temporary storage buffer of the reproduction data from the magnetic recording / reproducing unit 7, so that any one of the four pages from the second page to the fifth page is used. Is used as a buffer for the data group of group number 11. Also in this case, the pages of the 0th page and the 1st page of the unrecorded data group on the magnetic tape are securely stored without being used erroneously.

【0044】以上のように、本発明の実施例のディジタ
ルデータ記録再生装置によれば、(表1)示すように制
御情報を記録動作では処理の進行順に減少する整数値
を、再生動作では処理の進行順に増加する整数値を、記
録動作の完了と再生動作の完了に同一整数値をそれぞれ
定義したことにより、記録動作においても再生動作にお
いてもその直前の動作の種類が記録動作であったか再生
動作であったかにかかわらず常に同じ判断処理で保存す
べきページは正しく保存し、新たなバッファとして使用
可能なページのみ新たなバッファとして使用するから、
信頼性高くかつ効率の良いバッファリングが実現されて
いる。しかも、各判断処理は制御情報を特定の基準値と
の大小比較で的確に判断できるから、処理が簡単で容易
に実現できまた短時間で判断できるものである。
As described above, according to the digital data recording / reproducing apparatus of the embodiment of the present invention, as shown in (Table 1), in the recording operation, the integer value decreasing in the progress of the processing in the recording operation, and the processing value in the reproducing operation, The same integer value is defined for the completion of the recording operation and the completion of the reproduction operation, respectively, so that whether the type of operation immediately before the recording operation or the reproduction operation is the recording operation or not is determined. Regardless of whether or not the page that should always be saved by the same judgment processing is correctly saved, and only the page that can be used as a new buffer will be used as a new buffer,
Reliable and efficient buffering is realized. In addition, since each determination process can accurately determine the control information by comparing the control information with a specific reference value, the process can be simply and easily realized, and the determination can be made in a short time.

【0045】なお、本実施例においてインタフェース制
御部5,記録動作制御部8,再生動作制御部9はそれぞ
れ独立した制御部としたが、これらは1つのマイクロプ
ロセッサで置き換え、それぞれの処理はマルチタスクま
たはそれに準じる実行方式を採る構成としてもよい。
In this embodiment, the interface control unit 5, the recording operation control unit 8, and the reproduction operation control unit 9 are independent control units. However, these units are replaced by a single microprocessor, and each processing is performed by multitasking. Alternatively, a configuration may be adopted in which an execution method corresponding thereto is adopted.

【0046】[0046]

【発明の効果】以上の実施例から明らかなように本発明
のディジタルデータ記録再生装置は、磁気テープ上にデ
ータグループを最小単位として記録再生する磁気テープ
記録再生手段と、論理的に複数の領域に分割して1つの
領域に1つの前記データグループを一時的に記憶するバ
ッファメモリと、一時記憶したデータグループの処理状
態を示す制御情報を記憶する制御情報メモリと、一時記
憶したデータグループを区別する識別情報を記憶する識
別記憶メモリと、識別情報と制御情報とを参照しその状
態に応じて磁気テープ記録再生手段に動作開始し指示を
与え、ホストコンピュータに指定されたレコードを転送
制御するインタフェース制御手段と、識別情報と制御情
報とを参照しその状態に応じてデータグループの管理処
理を実行するとともに磁気テープ記録再生手段に再生動
作停止指示を与える再生動作制御手段と、識別情報と制
御情報とを参照しその状態に応じてデータグループの管
理処理および保護処理を実行するとともに、磁気テープ
記録再生手段に記録動作終了指示を与える記録動作制御
手段とを設けることにより、論理的な2次元配列構成を
持つ領域を複数有するバッファメモリに対し、各領域の
処理状態を各領域に1対1に対応する制御情報が管理す
るから領域単位のバッファメモリが可能となり、バッフ
ァリングのためのメモリとグループ処理の作業用メモリ
を共用化して、1つのバッファメモリで動作させること
ができる。
As is apparent from the above embodiments, the digital data recording / reproducing apparatus of the present invention comprises a magnetic tape recording / reproducing means for recording / reproducing a data group as a minimum unit on a magnetic tape, and a plurality of logical areas. A buffer memory for temporarily storing one data group in one area, a control information memory for storing control information indicating a processing state of the temporarily stored data group, and a temporarily stored data group. An identification storage memory for storing identification information to be processed, and an interface for referring to the identification information and the control information to start and give an instruction to the magnetic tape recording / reproducing means in accordance with the state thereof, and to transfer a designated record to the host computer The control means, referring to the identification information and the control information, and executing the data group management process according to the state. Operation control means for instructing the magnetic tape recording / reproduction means to perform a reproduction operation, and executing the data group management processing and the protection processing according to the state with reference to the identification information and the control information. By providing a recording operation control means for giving a recording operation end instruction to the means, a buffer memory having a plurality of regions having a logical two-dimensional array configuration has a one-to-one correspondence between the processing state of each region and each region. Since the control information to be managed is managed, a buffer memory for each area can be provided, and the memory for buffering and the working memory for group processing can be shared and operated with one buffer memory.

【0047】また、記録動作であれ、再生動作であれ、
バッファメモリの各領域に一時記憶されているデータグ
ループの識別の各領域と1対1に対応する識別情報が一
義的に管理っしているからホストコンピュータが要求す
るレコードがバッファメモリ上に記憶されているかどう
か、記憶されている場合その記憶位置を直ちに判断,算
出し、転送開始することができるから、バッファメモリ
にキャッシュメモリとしての効果を発生させることがで
き、高速な応答が実現できるものである。
In addition, whether it is a recording operation or a reproducing operation,
Since the identification information corresponding to each area of the data group identification temporarily stored in each area of the buffer memory has a one-to-one correspondence, a record requested by the host computer is stored in the buffer memory. If the data is stored, the storage position can be immediately determined, calculated, and the transfer can be started. Therefore, the effect as a cache memory can be generated in the buffer memory, and a high-speed response can be realized. is there.

【0048】更に、大容量データの連続記録動作におい
て、ホストコンピュータからのデータ転送が磁気テープ
へのデータ記録速度より下回る場合、記録動作処理手段
は保護処理を実行し、すべてゼロのデータで構成された
特殊なデータグループを磁気テープ記録再生手段に記録
させることでホストコンピュータからのデータ転送を完
了させる転送時間を確保するから磁気テープに対する記
録動作を中断する間欠動作とする必要がなく、また、何
らかの原因によりオーブントースタとの転送が中断した
場合もその中断時間に応じて自動的に磁気テープへの記
録再生動作を停止、あるいは再開するから、総合的に最
短の処理時間で連続記録動作を実現することができる。
Further, in the continuous recording operation of large-capacity data, when the data transfer from the host computer is lower than the data recording speed on the magnetic tape, the recording operation processing means executes the protection processing, and is composed of all zero data. By recording the special data group on the magnetic tape recording / reproducing means, a transfer time for completing the data transfer from the host computer is secured, so that there is no need to perform an intermittent operation for interrupting the recording operation on the magnetic tape. Even if the transfer with the oven toaster is interrupted due to the cause, the recording / reproducing operation on the magnetic tape is automatically stopped or restarted according to the interruption time, so continuous recording operation is realized with the shortest overall processing time be able to.

【0049】しかも、制御情報を記録動作と再生動作と
で総合的に定義しているため、記録動作においても再生
動作においてもその直前の動作にかかわらず常に同じ判
断処理で保存すべきページは正しく保存する制御が実行
されるから、信頼性高くかつ効率の良いバッファリング
を実現することができる。これらの制御は、制御情報を
特定の基準値との大小比較で簡単にかつ的確に判断でき
るから、処理が簡単で極めて容易に実現できる。
Moreover, since the control information is comprehensively defined by the recording operation and the reproducing operation, the page to be always stored by the same judgment processing in the recording operation and the reproducing operation is always correct regardless of the immediately preceding operation. Since the control for saving is executed, highly reliable and efficient buffering can be realized. These controls can be easily and accurately determined by comparing the control information with a specific reference value, so that the processing is simple and can be realized very easily.

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

【図1】本発明の一実施例におけるディジタルデータ記
録再生装置の構成図
FIG. 1 is a configuration diagram of a digital data recording / reproducing apparatus according to an embodiment of the present invention.

【図2】磁気テープの記録状態を示す状態図FIG. 2 is a state diagram showing a recording state of a magnetic tape.

【図3】データグループの論理構造図FIG. 3 is a logical structure diagram of a data group.

【図4】本発明の一実施例におけるバッファメモリ1の
メモリマップ
FIG. 4 is a memory map of a buffer memory 1 according to an embodiment of the present invention.

【図5】同実施例のインタフェース制御部5の記録動作
における処理のフローチャート
FIG. 5 is a flowchart of a process in a recording operation of the interface control unit 5 of the embodiment.

【図6】同実施例の記録動作制御部8の記録動作におけ
る処理のフローチャート
FIG. 6 is a flowchart of a process in a recording operation of a recording operation control unit 8 of the embodiment.

【図7】同実施例の符号処理部6の記録動作における処
理のフローチャート
FIG. 7 is a flowchart of a process in a recording operation of the code processing unit 6 of the embodiment.

【図8】同実施例の記録動作中のバッファメモリ1のメ
モリマップ
FIG. 8 is a memory map of the buffer memory 1 during a recording operation of the embodiment.

【図9】同実施例の保護処理実行後の磁気テープの記録
状態を示す状態図
FIG. 9 is a state diagram showing the recording state of the magnetic tape after execution of the protection processing of the embodiment.

【図10】同実施例の保護処理実行中のバッファメモリ
1のメモリマップ
FIG. 10 is a memory map of the buffer memory 1 during execution of the protection processing of the embodiment.

【図11】同実施例のインタフェース制御部5の再生動
作における処理のフローチャート
FIG. 11 is a flowchart of a process in a reproduction operation of the interface control unit 5 of the embodiment.

【図12】同実施例の再生動作制御部9の再生動作にお
ける処理のフローチャート
FIG. 12 is a flowchart of a process in a reproduction operation of the reproduction operation control unit 9 of the embodiment.

【図13】同実施例の符号処理部6の再生動作における
処理のフローチャート
FIG. 13 is a flowchart of a process in a reproduction operation of the code processing unit 6 of the embodiment.

【図14】同実施例の再生動作中のバッファメモリ1の
メモリマップ
FIG. 14 is a memory map of the buffer memory 1 during a reproducing operation of the embodiment.

【図15】同実施例の記録動作後のバッファメモリ1の
メモリマップ
FIG. 15 is a memory map of the buffer memory 1 after the recording operation of the embodiment.

【図16】同実施例の再生動作後のバッファメモリ1の
マモリマップ
FIG. 16 is a memory map of the buffer memory 1 after the reproducing operation of the embodiment.

【図17】従来例におけるディジタルデータ記録再生装
置の構成図
FIG. 17 is a block diagram of a conventional digital data recording / reproducing apparatus.

【符号の説明】[Explanation of symbols]

1 バッファメモリ 2 RAM 3 論理アドレス変換器 4a 論理バス 4b 物理バス 5 インタフェース制御部 6 符号処理部 7 磁気記録再生部 8 記録動作制御部 9 再生動作制御部 10 ディジタル伝送回路 11 制御情報記憶メモリ 12 識別情報記憶メモリ 13 磁気テープ動作フラグレジスタ 14 連続アンブルカウンタ DESCRIPTION OF SYMBOLS 1 Buffer memory 2 RAM 3 Logical address converter 4a Logical bus 4b Physical bus 5 Interface control unit 6 Code processing unit 7 Magnetic recording / reproducing unit 8 Recording operation control unit 9 Reproduction operation control unit 10 Digital transmission circuit 11 Control information storage memory 12 Identification Information storage memory 13 Magnetic tape operation flag register 14 Continuous amble counter

Claims (11)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 磁気テープ上に固定容量のデータである
データグループを最小単位として記録再生する磁気テー
プ記録再生手段と、論理的に複数の領域に分割し、1つ
の領域に1つの前記データグループを一時的に記憶する
バッファメモリと、前記複数の領域の各々1対1に対応
し、前記データグループの処理状態を示す制御情報を記
憶する制御情報メモリと、前記複数の領域の各々と1対
1に対応し、前記データグループを区別する識別情報を
記憶する識別情報メモリと、前記識別情報が外部装置か
ら読み出しを指定されてレコードを含むデータグループ
の識別情報と一致し、かつ前記制御情報が前記外部装置
へのデータ転送可能であることを示しているとき、前記
レコードを外部装置へ転送し、前記転送したレコードが
そのレコードを含むデータグループの最終レコードであ
れば対応する制御情報メモリに再生動作完了を意味する
第1の制御コードを記憶させるインターフェース制御手
段と、前記制御情報メモリを検査し新たなデータグルー
プの一時記憶領域として使用可能を意味する制御コード
を発見すれば、その制御情報メモリに対応する前記識別
情報メモリに前記新たなデータグループの識別情報を記
憶させ、前記識別情報メモリに対応する前記バッファメ
モリの領域に前記磁気テープ記録再生手段が再生したデ
ータグループを転送し、前記制御情報メモリに前記磁気
テープ記録再生手段からの再生データ転送完了を意味す
る第2の制御コードを記憶させる再生動作制御手段とを
備えたディジタルデータ記録再生装置。
1. A magnetic tape recording / reproducing means for recording / reproducing a data group, which is data of a fixed capacity, on a magnetic tape as a minimum unit, and logically dividing the data group into a plurality of areas, one data group per area. A buffer memory for temporarily storing a plurality of areas, a control information memory corresponding to each of the plurality of areas and storing control information indicating a processing state of the data group, and a one-to-one correspondence with each of the plurality of areas. 1, an identification information memory for storing identification information for distinguishing the data group, wherein the identification information matches the identification information of a data group including a record specified to be read from an external device, and the control information When indicating that data transfer to the external device is possible, the record is transferred to an external device, and the transferred record includes the record. If the last record of the data group, an interface control means for storing a first control code indicating the completion of the reproducing operation in the corresponding control information memory, and the control information memory is inspected and used as a temporary storage area of a new data group. If a control code meaning possible is found, the identification information of the new data group is stored in the identification information memory corresponding to the control information memory, and the magnetic information is stored in the buffer memory area corresponding to the identification information memory. A reproducing operation control means for transferring a data group reproduced by the tape recording / reproducing means and storing a second control code in the control information memory indicating completion of transfer of reproduction data from the magnetic tape recording / reproducing means. Data recording and playback device.
【請求項2】 再生動作制御手段はすべての制御情報メ
モリの制御情報が新たなデータグループの一時記憶領域
として使用可能を意味する制御コードではないことを検
知すると磁気テープ記録再生手段の再生動作を停止させ
る制御手段を備え、インターフェース制御手段はすべて
の識別情報メモリの示す識別情報が外部装置から指定さ
れたレコードを含むデータグループの識別情報と一致し
ないことを検出すると再生動作制御手段に該当するデー
タグループの再生開始を指示する制御手順を備えた請求
項1記載のディジタルデータ記憶再生装置。
2. The reproducing operation control means, when detecting that the control information of all the control information memories is not a control code indicating that the control information can be used as a temporary storage area of a new data group, performs the reproducing operation of the magnetic tape recording / reproducing means. When the interface control means detects that the identification information indicated by all of the identification information memories does not match the identification information of the data group including the record specified by the external device, the interface control means controls the data corresponding to the reproduction operation control means. 2. The digital data storage / playback apparatus according to claim 1, further comprising a control procedure for instructing start of playback of a group.
【請求項3】 第2の制御コードと一致する制御情報メ
モリの制御情報を発見すると、前記制御情報メモリに対
応するバッファメモリの領域に対して誤り訂正符号の復
合化処理を実行し、前記復合化処理が完了すれば前記制
御情報メモリに外部装置へデータ転送可能であることを
意味する第3の制御コードを記憶させる復合化処理手段
を備えた請求項1記載のディジタルデータ記録再生装
置。
3. When the control information in the control information memory that matches the second control code is found, a decoding process of an error correction code is executed for an area of the buffer memory corresponding to the control information memory, and the decoding is performed. 2. The digital data recording / reproducing apparatus according to claim 1, further comprising a decryption processing means for storing a third control code in the control information memory, which means that data can be transferred to an external device when the decryption processing is completed.
【請求項4】 磁気テープ上に固定容量のデータである
データグループを最小単位として記録再生する磁気テー
プ記録再生手段と、論理的に複数の領域に分割し、1つ
の領域に1つの前記データグループを一時的に記憶する
バッファメモリと、前記複数の領域の各々と1対1に対
応し、前記データグループの処理状態を示す制御情報を
記憶する制御情報メモリと、前記複数の領域の各々と1
対1に対応し、前記データグループを区別する識別情報
を記憶する識別情報メモリと、前記すべての識別情報が
外部装置から記録を指定されたレコードを含むデータグ
ループの識別情報と一致しないことを検出すると前記制
御情報メモリを検査し、新たなデータグループの一時記
憶情報として使用可能な領域を発見すると、その領域に
前記レコードを外部装置から転送し、前記転送したレコ
ードがそのレコードを含むデータグループの最終レコー
ドであれば対応する制御情報メモリに前記外部装置から
のデータ転送完了を意味する第4の制御コードを記憶さ
せるインタフェース制御手段と、前記磁気テープ記録再
生手段に記録動作させるべき前記データグループを一時
記憶した領域の前記制御情報が記録動作可能状態を示す
ことを検知すると前記データグループを前記磁気テープ
記録再生手段に転送し、前記転送終了を持って前記制御
情報メモリに記録動作完了を意味する第5の制御コード
を記憶させる記録動作制御手段とを備えたディジタルデ
ータ記録再生装置。
4. A magnetic tape recording / reproducing means for recording / reproducing a data group which is data of a fixed capacity on a magnetic tape as a minimum unit, and logically dividing the data group into a plurality of areas, one data group per area. A buffer memory for temporarily storing data, a control information memory for storing control information indicating a processing state of the data group in one-to-one correspondence with each of the plurality of areas, and a buffer memory for storing each of the plurality of areas.
An identification information memory that stores identification information for identifying the data group corresponding to the pair, and detecting that all the identification information do not match the identification information of the data group including the record whose record is designated by the external device. Then, the control information memory is inspected, and when an area usable as temporary storage information of a new data group is found, the record is transferred to the area from an external device, and the transferred record is a data group of the data group including the record. If the last record, a corresponding control information memory stores a fourth control code indicating the completion of data transfer from the external device, an interface control unit, and the data group to be recorded by the magnetic tape recording / reproducing unit. When it is detected that the control information in the temporarily stored area indicates a recording operable state, Recording operation control means for transferring the data group to the magnetic tape recording / reproducing means, and storing a fifth control code indicating completion of the recording operation in the control information memory upon completion of the transfer. Playback device.
【請求項5】 第4の制御コードと一致する制御情報メ
モリの制御情報を発見すると、前記制御情報メモリに対
応するバッファメモリの領域に対して誤り訂正符号の符
号化処理を実行し、前記符号化処理が完了すれば前記制
御情報メモリに磁気テープ記録再生手段へデータ転送可
能であることを意味する第6の制御コードを記憶させる
符号化処理手段を備えた請求項4記載のディジタルデー
タ記録再生装置。
5. When the control information of the control information memory that matches the fourth control code is found, encoding processing of an error correction code is executed for a region of a buffer memory corresponding to the control information memory, and 5. The digital data recording / reproducing apparatus according to claim 4, further comprising an encoding processing means for storing a sixth control code in the control information memory, which means that data can be transferred to the magnetic tape recording / reproducing means when the encoding processing is completed. apparatus.
【請求項6】 記録動作制御手段は磁気テープ記録再生
手段に記録動作させるべきデータグループを一時記憶し
た領域の前記制御情報が記録動作可能状態を示していな
いことを検知すると、すべてゼロのデータで構成された
特殊なデータグループを前記磁気テープ記録再生手段に
転送する保護処理を備えた請求項4記載のディジタルデ
ータ記録再生装置。
6. The recording operation control means, upon detecting that the control information of the area where the data group to be recorded by the magnetic tape recording / reproduction means is temporarily stored does not indicate a recording operable state, sets all data to zero. 5. The digital data recording / reproducing apparatus according to claim 4, further comprising a protection process for transferring the constructed special data group to said magnetic tape recording / reproducing means.
【請求項7】 記録動作制御手段はすべてゼロのデータ
で構成された特殊なデータグループを前記磁気テープ記
録再生手段に転送する保護処理をあらかじめ設定された
回数連続して実行したことを検知すれば前記磁気テープ
記録再生手段に記録動作を停止させる自動停止処理を備
えた請求項6記載のディジタルデータ記録再生装置。
7. The recording operation control means, if detecting that the protection processing for transferring a special data group composed of all zero data to the magnetic tape recording / reproduction means has been continuously performed a preset number of times. 7. The digital data recording / reproducing apparatus according to claim 6, further comprising an automatic stop process for stopping the recording operation in said magnetic tape recording / reproducing means.
【請求項8】 記録動作制御手段は、バッファメモリの
出力を磁気テープ記録再生手段に伝達する第1の状態と
常に固定データを前記磁気テープ記録再生手段に伝達す
る第2の状態とを選択可能なディジタル伝送回路を備え
た請求項6記載のディジタルデータ記録再生装置。
8. The recording operation control means can select between a first state in which the output of the buffer memory is transmitted to the magnetic tape recording / reproducing means and a second state in which fixed data is always transmitted to the magnetic tape recording / reproducing means. 7. The digital data recording / reproducing apparatus according to claim 6, further comprising a digital transmission circuit.
【請求項9】 インタフェース制御手段は、識別情報記
憶メモリのすべての識別情報が外部装置から記録を指定
されたレコードを含むデータグループの識別情報と一致
せず、かつ制御情報メモリのすべての制御情報が新たな
データグループの一時記憶領域として使用可能状態を示
していないことを検知すると、記録動作制御手段に記録
動作の開始を要求する自動再開処理を備えた請求項4記
載のディジタルデータ記録再生装置。
9. The interface control means according to claim 1, wherein all the identification information in the identification information storage memory does not match the identification information of the data group including the record designated to be recorded by the external device, and all the control information in the control information memory is 5. The digital data recording / reproducing apparatus according to claim 4, further comprising an automatic restart process for requesting the recording operation control means to start a recording operation when detecting that the recording operation is not available as a temporary storage area of a new data group. .
【請求項10】 制御情報はバッファメモリの領域の処
理状態と1対1に対応する整数値であって、再生動作で
は前記バッファメモリの領域の処理状態の進行順に増加
または減少する整数値が定義され、記録動作では前記バ
ッファメモリの領域の処理状態の進行順に前記再生動作
の場合とは逆に減少または増加する整数値が定義され、
再生動作の完了状態と記録動作の完了状態とに同一の整
数値が定義されている請求項1または請求項4記載のデ
ィジタルデータ記録再生装置。
10. The control information is an integer value corresponding to the processing state of the area of the buffer memory on a one-to-one basis. In the reproducing operation, an integer value which increases or decreases in the progressing order of the processing state of the area of the buffer memory is defined. In the recording operation, an integer value that decreases or increases in the reverse order as in the case of the reproduction operation is defined in the order of progress of the processing state of the area of the buffer memory,
5. The digital data recording / reproducing apparatus according to claim 1, wherein the same integer value is defined for the completion state of the reproduction operation and the completion state of the recording operation.
【請求項11】 インタフェース制御手段と、記録動作
制御手段と、再生動作制御手段は、前記制御情報メモリ
の示す制御情報の整数値とあらかじめ設定された基準値
との大小比較の結果によりデータ転送可能であるかどう
かを判断する請求項10記載のディジタルデータ記録再
生装置。
11. An interface control unit, a recording operation control unit, and a reproduction operation control unit can transfer data based on a result of a magnitude comparison between an integer value of control information indicated by the control information memory and a preset reference value. 11. The digital data recording / reproducing apparatus according to claim 10, wherein it is determined whether or not the digital data is recorded.
JP12918891A 1991-05-31 1991-05-31 Digital data recording / reproducing device Expired - Fee Related JP2844960B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12918891A JP2844960B2 (en) 1991-05-31 1991-05-31 Digital data recording / reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12918891A JP2844960B2 (en) 1991-05-31 1991-05-31 Digital data recording / reproducing device

Publications (2)

Publication Number Publication Date
JPH04353920A JPH04353920A (en) 1992-12-08
JP2844960B2 true JP2844960B2 (en) 1999-01-13

Family

ID=15003322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12918891A Expired - Fee Related JP2844960B2 (en) 1991-05-31 1991-05-31 Digital data recording / reproducing device

Country Status (1)

Country Link
JP (1) JP2844960B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10302389A (en) * 1997-04-22 1998-11-13 Ricoh Co Ltd Data processing circuit

Also Published As

Publication number Publication date
JPH04353920A (en) 1992-12-08

Similar Documents

Publication Publication Date Title
US5983309A (en) Autonomous high speed address translation with defect management for hard disc drives
US20100208385A1 (en) Storage device with read-ahead function
US6895468B2 (en) Log-structured block system and method
US20030236943A1 (en) Method and systems for flyby raid parity generation
US20030056141A1 (en) Control method used in and-gate type system to increase efficiency and lengthen lifetime of use
JP2844960B2 (en) Digital data recording / reproducing device
US6535953B1 (en) Magnetic disk, method of accessing magnetic disk device, and recording medium storing disk access control program for magnetic disk device
US6499082B1 (en) Method of transferring data from large capacity data storage device
JP3030949B2 (en) Digital data recording / reproducing device
JP2622959B2 (en) Optical disk controller
JPH01171044A (en) Method for positioning block of memory
JPH0421021A (en) Data backup system for semiconductor disk device
JP3615250B2 (en) Disk array device
JPH04341977A (en) Data reproducing control system
JP2004185709A (en) Disk controller and alternation processing method
JPH08263389A (en) Data backup method
JPS6013360A (en) Storage device
WO1994022134A1 (en) Buffer control for data transfer within hard disk during idle periods
JPH0438514A (en) Sector read processing system for storage device
JP3009168B2 (en) Data processing device
JPS6118032A (en) External memory controller
JPH0235542A (en) Transfer control system for disk cache data
JPH09258909A (en) Recorder
JPS62140135A (en) Access controller for disk memory device
JPH01113844A (en) Disk cache device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20081030

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091030

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees