[go: up one dir, main page]

JPH04242424A - Data compression controller and data restoration controller - Google Patents

Data compression controller and data restoration controller

Info

Publication number
JPH04242424A
JPH04242424A JP3003196A JP319691A JPH04242424A JP H04242424 A JPH04242424 A JP H04242424A JP 3003196 A JP3003196 A JP 3003196A JP 319691 A JP319691 A JP 319691A JP H04242424 A JPH04242424 A JP H04242424A
Authority
JP
Japan
Prior art keywords
data
compression
buffer memory
file
data compression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3003196A
Other languages
Japanese (ja)
Inventor
Takanao Nakanishi
中西 隆尚
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 JP3003196A priority Critical patent/JPH04242424A/en
Publication of JPH04242424A publication Critical patent/JPH04242424A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To offer a data compression controller which increases compression efficiency by automatically judging the data compression effect and performing data compression selectively and a compressed data-recording and -reproducing device which records and controls data compression ON/OFF information. CONSTITUTION:Input data from an input/output part 1 are fetched in a buffer memory 3, whose output is compressed by a data compression part 4 and fetched in a buffer memory 5. The data lengths of the buffer memories 3 and 5 are counted by counters 15 and 16 respectively and their output values are compared by a comparison part 17 to find the compressibility, which is sent to a data compression ON/OFF switching part 18 to control the data compression part 4 so that only data which has compression effect. A tape control information control part 19 sends attribute information indicating whether or not the data are compressed to a buffer memory 14, whose output is recorded and reproduced by a recording and reproduction part 6. The reproduced data are restored according to the attribute information.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、バックアップ用やデー
タ交換用などのデータ記録再生装置およびこれに接続ま
たは含まれるデータ圧縮・復元制御装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data recording/reproducing apparatus for backup or data exchange, and a data compression/reconstruction control apparatus connected to or included therein.

【0002】0002

【従来の技術】現在、ホストコンピュータからのデータ
を記録再生するテープドライブ装置が市販されており、
コンピュータデータのバックアップやデータ交換などに
利用されている。近年、ホストコンピュータ側のハード
ディスクの容量が大きくなるにつれ外部記憶装置の大容
量化が望まれてきている。そこで大容量の記憶装置とし
てディジタルオーディオテープレコーダ(DAT)など
を応用したヘリカルスキャン回転ヘッド方式のテープド
ライブが提案されているが、大容量化への要求はとどま
るところがないのが現状である。
[Prior Art] Currently, tape drive devices for recording and reproducing data from a host computer are commercially available.
It is used for computer data backup and data exchange. In recent years, as the capacity of hard disks on host computers has increased, there has been a desire for larger capacity external storage devices. Therefore, a helical scan rotary head type tape drive using a digital audio tape recorder (DAT) or the like has been proposed as a large capacity storage device, but at present there is no end to the demand for increased capacity.

【0003】一方、見かけ上の大容量化が図れるものと
してデータ圧縮技術が注目されてきている。データ圧縮
アルゴリズムとしてはレンペル(Lempel)とジヴ
(Ziv)の方法をはじめいくつかのアルゴリズムが提
案されおり、ホストコンピュータ側でデータ圧縮を行う
ものや外部記憶装置の側でデータ圧縮機能を持つものが
提案されている。ホストコンピュータ側でのデータ圧縮
は、従来必要に応じて人間が指示を出してファイル単位
で行っている。外部記憶装置側でのデータ圧縮は、常に
データ圧縮機能をオンとするか常にオフとするかの選択
しかなく、ファイル単位などでの選択はできない。それ
故、データ圧縮のオン・オフ情報をテープに記録もして
いない。
On the other hand, data compression technology is attracting attention as a technology that can increase the apparent capacity. Several algorithms have been proposed as data compression algorithms, including the method of Lempel and Ziv. Some algorithms perform data compression on the host computer side, while others have a data compression function on the external storage device side. is proposed. Data compression on the host computer side has conventionally been performed on a file-by-file basis by a human who issues instructions as necessary. When compressing data on the external storage device side, the only choice is whether to always turn on the data compression function or always turn it off, and it cannot be selected on a file-by-file basis. Therefore, information on whether data compression is on or off is not recorded on tape.

【0004】0004

【発明が解決しようとする課題】しかしながら、ホスト
側から送られてくるデータにはデータ圧縮されたデータ
およびデータ圧縮されていないデータが混在しており、
ホスト側で既にデータ圧縮されたものをさらに外部記憶
装置側でデータ圧縮をかけるとデータ圧縮を二重にかけ
ることになり、その結果、出力されたデータ量は通常か
えって増大するという問題点がある。また、ただ単にホ
スト側と外部記憶装置側でデータ圧縮機能を備えただけ
ではどちらの方で圧縮を行ったかが分からず、データを
正確に元の状態に戻すことが困難となるという問題点が
ある。
[Problem to be Solved by the Invention] However, the data sent from the host side includes compressed data and uncompressed data.
If data that has already been compressed on the host side is further compressed on the external storage device side, the data compression will be applied twice, and as a result, the amount of output data will usually increase instead. . In addition, simply providing a data compression function on the host side and the external storage device side has the problem that it is impossible to tell which side performed the compression, making it difficult to accurately restore the data to its original state. .

【0005】本発明は上記課題に鑑み、ホストから送ら
れてくるファイルデータが、データ圧縮されたものやそ
うでないものが混在していても、選択的にデータ圧縮を
行い圧縮効果を上げるデータ圧縮制御装置、および、記
録されたデータ圧縮オン・オフ情報から自動的にデータ
復元オン・オフを選択するデータ復元制御装置を提供す
ることを目的とする。
[0005] In view of the above problems, the present invention is a data compression method that selectively compresses data to improve the compression effect even if the file data sent from the host includes compressed data and non-compressed data. It is an object of the present invention to provide a control device and a data restoration control device that automatically selects data restoration on/off from recorded data compression on/off information.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明のデータ圧縮制御装置は、外部からのデータの
受信を行う入力手段と、前記入力手段に入力されたデー
タを一時蓄える第1のバッファメモリ手段と、前記第1
のバッファメモリ手段に蓄えられたデータを圧縮するか
またはそのまま通過させるデータ圧縮手段と、前記デー
タ圧縮手段を制御しデータの圧縮またはそのまま通過さ
せるかを選択するデータ圧縮機能オン・オフ切替手段と
、前記圧縮後のデータを蓄える第2のバッファメモリ手
段と、前記第1のバッファメモリ手段に蓄えられた非圧
縮データの長さを計測する第1のカウンタ手段と、前記
第2のバッファメモリ手段に蓄えられた圧縮後のデータ
の長さを計測する第2のカウンタ手段と、前記第1,第
2のカウンタ手段の結果を比較し、比較結果により前記
データ圧縮機能オン・オフ切替手段を制御する圧縮率判
定手段と、を備えたものである。
[Means for Solving the Problems] In order to achieve the above object, the data compression control device of the present invention includes an input means for receiving data from the outside, and a first input means for temporarily storing data inputted to the input means. buffer memory means, and said first buffer memory means;
data compression means for compressing or passing the data stored in the buffer memory means of the buffer memory means; and data compression function on/off switching means for controlling the data compression means and selecting whether to compress the data or pass it as is; a second buffer memory means for storing the compressed data; a first counter means for measuring the length of the uncompressed data stored in the first buffer memory means; A second counter means for measuring the length of the stored compressed data is compared with the results of the first and second counter means, and the data compression function on/off switching means is controlled based on the comparison result. Compression rate determining means.

【0007】また本発明のデータ圧縮制御装置は、入力
された一連のデータごとにデータ圧縮機能オン・オフ情
報を生成し、ファイル管理情報の一部として登録するフ
ァイル属性情報生成手段を備えたものである。
The data compression control device of the present invention also includes file attribute information generation means for generating data compression function on/off information for each series of input data and registering it as part of file management information. It is.

【0008】また本発明のデータ圧縮制御装置は、入力
手段に入力されたデータを予め定められた長さのブロッ
クに分割し、第1のバッファメモリに出力するファイル
データ分割手段を備えたものである。
The data compression control device of the present invention also includes file data dividing means for dividing data input into the input means into blocks of a predetermined length and outputting the blocks to the first buffer memory. be.

【0009】また本発明のデータ圧縮制御装置は、外部
からのデータの受信を行う入力手段と、前記入力手段に
入力されたデータを予め定められた長さのブロックに分
割するファイルデータ分割手段と、前記分割されたデー
タブロックを一時蓄える第1のバッファメモリ手段と、
前記第1のバッファメモリ手段に蓄えられたデータブロ
ックを圧縮するかまたはそのまま通過させるデータ圧縮
手段と、前記データ圧縮手段を制御しデータの圧縮また
はそのまま通過させるかを選択するデータ圧縮機能オン
・オフ切替手段と、前記圧縮後のデータを蓄える第2の
バッファメモリ手段と、前記第1のバッファメモリ手段
に蓄えられた非圧縮データブロックの長さを計測する第
1のカウンタ手段と、前記第2のバッファメモリ手段に
蓄えられた圧縮後のデータブロックの長さを計測する第
2のカウンタ手段と、前記ファイルデータ分割手段で分
割されたデータブロックごとに、前記第1,第2のカウ
ンタ手段の結果を比較し、比較結果により前記データ圧
縮機能オン・オフ切替手段を制御する圧縮率判定手段と
、前記ファイルデータ分割手段で分割されたデータブロ
ックごとにデータ圧縮機能オン・オフ情報を生成し、ブ
ロック管理情報の一部として登録するブロック属性情報
生成手段と、を備えたものである。
The data compression control device of the present invention also includes an input means for receiving data from the outside, and a file data division means for dividing the data inputted into the input means into blocks of a predetermined length. , first buffer memory means for temporarily storing the divided data blocks;
data compression means for compressing or passing through the data block stored in the first buffer memory means; and data compression function on/off for controlling the data compression means to select whether to compress the data or pass it through as is. a switching means; a second buffer memory means for storing the compressed data; a first counter means for measuring the length of the uncompressed data block stored in the first buffer memory means; a second counter means for measuring the length of the compressed data block stored in the buffer memory means; and a second counter means for measuring the length of the compressed data block stored in the buffer memory means; a compression rate determining means for comparing the results and controlling the data compression function on/off switching means based on the comparison result; generating data compression function on/off information for each data block divided by the file data dividing means; The block attribute information generation means is registered as part of block management information.

【0010】また本発明のデータ復元制御装置は、入力
されたデータを圧縮データとして復元処理をするかまた
はそのまま通過させるデータ復元手段と、前記データ復
元手段を制御しデータの復元またはそのまま通過させる
かを選択するデータ復元機能オン・オフ切替手段と、予
め読み込んだファイル管理情報のデータ圧縮機能オン・
オフ情報により、前記データ復元機能オン・オフ切替手
段を制御するファイル属性情報判定手段と、を備えたも
のである。
Further, the data restoration control device of the present invention includes a data restoration means for restoring input data as compressed data or for passing the data as is, and a data restoration means for controlling the data restoration means to restore the data or for passing the data as is. A data restoration function on/off switching means for selecting, and a data compression function on/off for pre-loaded file management information.
The apparatus further includes a file attribute information determining means for controlling the data restoration function on/off switching means based on off information.

【0011】また本発明のデータ復元制御装置は、入力
されたデータを圧縮データとして復元処理をするかまた
はそのまま通過させるデータ復元手段と、前記データ復
元手段を制御しデータの復元またはそのまま通過させる
かを選択するデータ復元機能オン・オフ切替手段と、予
め読み込んだブロック管理情報のデータ圧縮機能オン・
オフ情報により、ブロックごとに前記データ復元機能オ
ン・オフ切替手段を制御するブロック属性情報判定手段
と、を備えたものである。
Further, the data restoration control device of the present invention includes a data restoration means for restoring input data as compressed data or for passing the input data as is, and a data restoration means for controlling the data restoration means to restore the data or for passing the data as is. A data restoration function on/off switching means for selecting the
The apparatus further includes block attribute information determining means for controlling the data restoration function on/off switching means for each block based on off information.

【0012】0012

【作用】本発明のデータ圧縮制御装置は上記の構成によ
り、ホストから送られてきたファイルデータが既に圧縮
されているかどうか、即ち、さらにデータ圧縮をかける
効果があるかどうかを圧縮率で判定し、圧縮効果のある
ファイルデータのみ圧縮を行うものである。また、記録
するファイルを分割し各ブロックごとにデータ圧縮オン
・オフを自動的に選択する。また、記録媒体上の管理部
に記録データの圧縮機能オン・オフ情報を記録しておけ
るようにファイル属性情報またはブロック属性情報を生
成する。
[Operation] With the above configuration, the data compression control device of the present invention determines based on the compression ratio whether the file data sent from the host has already been compressed, that is, whether there is an effect of further data compression. , only compresses file data that can be compressed. It also divides the recorded file and automatically selects data compression on/off for each block. Furthermore, file attribute information or block attribute information is generated so that information on whether or not the compression function of recorded data can be recorded in the management section on the recording medium.

【0013】また、本発明のデータ復元制御装置は上記
の構成により、読み込んだファイル属性情報またはブロ
ック属性情報に基づきデータ復元機能のオン・オフを切
り替える。
Furthermore, the data restoration control device of the present invention has the above-described configuration and switches the data restoration function on/off based on the read file attribute information or block attribute information.

【0014】[0014]

【実施例】以下に、本発明のデータ圧縮制御装置および
データ復元制御装置について回転ヘッド方式の磁気記録
再生装置に応用した一実施例について、図面を参照しな
がら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the data compression control device and data restoration control device of the present invention are applied to a rotary head type magnetic recording/reproducing device will be described below with reference to the drawings.

【0015】図1は本発明の第1の実施例におけるデー
タ圧縮制御装置およびデータ復元制御装置を含むデータ
記録再生装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a data recording/reproducing device including a data compression control device and a data restoration control device in a first embodiment of the present invention.

【0016】まず、ここで使用するいくつかの用語につ
いて定義をする。「ファイル」とは、一連の関連したデ
ータ群であり、バックアップ時などにホストコンピュー
タから転送されるひとつの単位である。「ブロック」と
は、ファイルを分割した一単位を指す。「ブロックヘッ
ダ」とは、ブロックデータの最初に付加され、そのブロ
ックに関する情報を示すデータである。「レコード」と
は、テープにデータを記録する場合、記録再生部とのデ
ータ転送およびテープ上でのデータ管理の最小単位であ
る。レコードには長さが一定の固定長レコードと長さを
定めない可変長レコードとがある。
First, some terms used here will be defined. A "file" is a series of related data groups, and is a unit transferred from a host computer during backup or the like. A "block" refers to a unit into which a file is divided. A "block header" is data that is added to the beginning of block data and indicates information regarding that block. When recording data on a tape, a "record" is the minimum unit for data transfer with the recording/reproducing section and data management on the tape. There are two types of records: fixed-length records, which have a fixed length, and variable-length records, which have an undefined length.

【0017】図1において、入出力部1はホストコンピ
ュータ(図示せず)からのデータを受け取り、またテー
プより再生されたデータをホストコンピュータに送る。 ファイルデータ分割部2は入出力部1からファイルデー
タを受け取り予め定められた長さのブロックに分割する
。バッファメモリ3はファイルデータ分割部2より受け
取ったデータを一時蓄える。データ圧縮部4はバッファ
メモリ3よりデータを受け取り、データ圧縮を行う。 バッファメモリ5はデータ圧縮部4からの出力されるデ
ータ、またテープ管理情報やブロックヘッダ情報を一時
蓄える。記録再生部6はバッファメモリ5からデータを
受け取りテープに記録し、またテープからデータを再生
する。記録再生部6はメカニズム部7と記録再生制御部
8とで構成されている。メカニズム部7はテープ9を駆
動し、シリンダ10を回転させシリンダ10に取り付け
られたヘッド11にてテープに斜めのトラックを形成し
データを記録し、また再生する機構部である。記録再生
制御部8はバッファメモリ5から受け取ったデータに対
して信号処理を行う。記録時には、誤り訂正符号の付加
などを行いテープ上にトラックを形成すべくヘッド11
に記録電流を供給し、メカニズム部7に動作指示を与え
る。再生時には、ヘッド11より再生された信号に対し
て記録時とは逆の信号処理を行いデータを読み出す。バ
ッファメモリ12はテープから読み出されたデータ、テ
ープ管理情報やヘッダ情報を一時蓄える。データ復元部
13はバッファメモリ12より圧縮データを受け取り、
データの復元を行う。バッファメモリ14はデータ復元
部13からの出力されるデータを一時蓄え入出力部1に
データを出力する。カウンタ15はバッファメモリ3に
蓄えられた圧縮前のデータのデータ長を計測する。同様
に、カウンタ16はバッファメモリ5に蓄えられた圧縮
後のデータのデータ長を計測する。比較部(圧縮率判定
手段)17はカウンタ15およびカウンタ16の出力比
較を行う。データ圧縮オン・オフ切替部18は比較部1
7の比較結果に基づく指示を受け取り、データ圧縮部4
の機能のオン・オフの制御を行う。テープ管理情報管理
部(ファイル属性情報生成・判定手段)19はテープ上
に記録されたファイル群についてのテープ管理情報をテ
ープ上に記録するためのデータをバッファメモリ5上に
形成し、またテープからバッファメモリ12に読み込ん
だテープ管理情報を見てそれぞれのファイルの属性を判
別する。データ復元オン・オフ切替部20はテープ管理
情報管理部19の判別結果により、データ復元部13の
機能のオン・オフの制御を行う。制御部21はホストコ
ンピュータとのコントロール情報の入出力やデータ圧縮
制御装置,データ復元制御装置およびデータ記録再生装
置全体の制御を行う。通常、データ圧縮・復元に際して
は辞書用バッファメモリが必要となるが、ここでは説明
を簡単にするため圧縮・復元のための辞書用バッファメ
モリはデータ圧縮部4およびデータ復元部13内に含ま
れているものとして図示していない。また、バッファメ
モリ3,5,12,14については別々のブロックとし
て示しているが、ひとつにまとめた構成とすることも可
能であり、その一部を共用することもできる。
In FIG. 1, an input/output unit 1 receives data from a host computer (not shown) and also sends data reproduced from a tape to the host computer. The file data dividing section 2 receives file data from the input/output section 1 and divides it into blocks of a predetermined length. The buffer memory 3 temporarily stores the data received from the file data dividing section 2. The data compression unit 4 receives data from the buffer memory 3 and compresses the data. The buffer memory 5 temporarily stores data output from the data compression section 4, as well as tape management information and block header information. A recording/reproducing section 6 receives data from the buffer memory 5, records it on a tape, and reproduces data from the tape. The recording and reproducing section 6 is composed of a mechanism section 7 and a recording and reproducing control section 8. The mechanism section 7 is a mechanism section that drives the tape 9, rotates the cylinder 10, forms diagonal tracks on the tape with the head 11 attached to the cylinder 10, and records and reproduces data. The recording/reproducing control section 8 performs signal processing on the data received from the buffer memory 5. During recording, the head 11 adds error correction codes and forms tracks on the tape.
A recording current is supplied to the mechanism section 7, and an operation instruction is given to the mechanism section 7. During reproduction, the signals reproduced from the head 11 are subjected to signal processing opposite to that during recording, and data is read out. The buffer memory 12 temporarily stores data read from the tape, tape management information, and header information. The data restoration unit 13 receives compressed data from the buffer memory 12,
Perform data restoration. The buffer memory 14 temporarily stores the data output from the data restoration section 13 and outputs the data to the input/output section 1. The counter 15 measures the data length of the uncompressed data stored in the buffer memory 3. Similarly, the counter 16 measures the data length of the compressed data stored in the buffer memory 5. A comparison section (compression ratio determining means) 17 compares the outputs of the counter 15 and the counter 16. The data compression on/off switching section 18 is the comparison section 1
The data compression unit 4 receives an instruction based on the comparison result of 7.
Controls on/off of functions. A tape management information management unit (file attribute information generation/judgment means) 19 forms data for recording tape management information about a group of files recorded on the tape on the tape, and also generates data from the tape. The attributes of each file are determined by looking at the tape management information read into the buffer memory 12. The data restoration on/off switching unit 20 controls on/off of the function of the data restoration unit 13 based on the determination result of the tape management information management unit 19. The control unit 21 inputs and outputs control information to and from the host computer, controls the data compression control device, the data restoration control device, and the entire data recording and reproducing device. Normally, a dictionary buffer memory is required when compressing and restoring data, but here, to simplify the explanation, the dictionary buffer memory for compression and restoration is included in the data compression section 4 and the data restoration section 13. Not shown. Further, although the buffer memories 3, 5, 12, and 14 are shown as separate blocks, they may be configured as one block, and a portion thereof may be shared.

【0018】以上のように構成されたデータ圧縮制御装
置およびデータ復元制御装置における動作を次に説明す
る。
The operations of the data compression control device and data restoration control device configured as described above will now be described.

【0019】まず、ファイルデータをブロックに分割し
ない場合のデータを記録する段階の動作を図4に示すフ
ローチャートを参照して説明する。ホストコンピュータ
から転送されたファイルデータは入出力部1で受け取り
、ファイルデータ分割部2に送られる(ステップ401
)。ファイルデータをブロックに分割しない場合、ファ
イルデータ分割部2では何も処理を行わない。ファイル
データ分割部2で受け取ったデータはそのままバッファ
メモリ3に送られる。ファイルデータはまずバッファメ
モリ3に蓄えられると同時にそのデータ長が何バイトあ
るかをカウンタ15が計測する(ステップ402)。 バッファメモリ3の容量はここでは32キロバイトとし
ている。ファイルデータが全てバッファメモリ3に蓄え
られるか、またはファイルデータがバッファメモリ3の
容量より大きい場合はバッファメモリ3の全てにファイ
ルデータが転送された時点で、バッファメモリ3に蓄え
られたファイルデータがデータ圧縮部4に送られデータ
圧縮処理が行われる。圧縮されたデータはバッファメモ
リ5に蓄えられると同時に、そのデータ長がカウンタ1
6にて計測される(ステップ403)。バッファメモリ
5に蓄えられた圧縮後のデータ長が32キロバイトに達
すれば、それ以上バッファメモリ5にデータを追加しな
い。バッファメモリ5の容量は後述のテープ管理情報用
の16キロバイトを含めて48キロバイトとしている。 圧縮アルゴリズムにについてはレンペルとジヴの方法を
始め種々提案されている。例えば、同じデータが続いた
場合そのデータと長さを示すコードに置き換える方法、
データまたはデータ群の出現頻度の高いものには短いビ
ット長を割り当ててコード変換する方法、繰り返し出現
したデータ群に対し以前のデータ群へのポインタ情報と
データ長のコードに置き換える方法などがある。何れも
入力されたデータ(ビット列)に対して圧縮アルゴリズ
ムによるコード変換を行い圧縮データ(ビット列)を出
力するものである。ここでは圧縮アルゴリズム自体の詳
細な説明は省略する。また、どの圧縮アルゴリズムを採
用するかは問わない。バッファメモリ3に蓄えられたフ
ァイルデータの全てがデータ圧縮部4にて圧縮処理がな
されたなら、比較部17にてカウンタ15,16で計測
された非圧縮データ長および圧縮データ長の大きさが比
較される(ステップ404)。カウンタ15にて計測さ
れた非圧縮データ長の方が大きければ、圧縮効果がある
ことを意味するので、比較部17はデータ圧縮オン・オ
フ切替部18にデータ圧縮オンの指示を出力する(ステ
ップ405)。反対に、カウンタ16にて計測された圧
縮データ長の方が大きいかまたは等しければ、圧縮効果
がないことを意味するので、比較部17はデータ圧縮オ
ン・オフ切替部18にデータ圧縮オフの指示を出力する
(ステップ409)。データ圧縮オン・オフ切替部18
は比較部17からの指示に従いデータ圧縮部4のデータ
圧縮機能オン・オフの制御を行う。また同時に、比較部
17はテープ管理情報管理部19にもデータ圧縮オンま
たはオフの指示を出力し、そのファイルがデータ圧縮さ
れて記録するかどうかを知らせる。テープ管理情報管理
部19はディレクトリ情報内のそのファイルの圧縮属性
情報に圧縮したことを意味する「1」または圧縮してい
ないことを意味する「0」を設定する(ステップ406
,410)。なお、ディレクトリ情報についての詳細は
後述する。データ圧縮オンの指示の場合はバッファメモ
リ5に蓄えられた圧縮データを記録再生部6に送りテー
プに記録を行う(ステップ407)。さらに、ファイル
データの続きがホストコンピュータより転送されて来る
場合は、ファイルデータがバッファメモリ3に取り込ま
れるとデータ圧縮部4にて圧縮処理がなされバッファメ
モリ5に送られ、さらに記録再生部6に送られテープに
記録される(ステップ408)。データ圧縮オフの指示
の場合はバッファメモリ5に蓄えられた圧縮データを破
棄し、バッファメモリ3に蓄えられている圧縮前のデー
タがデータ圧縮部4、バッファメモリ5を経て記録再生
部6に送られテープに記録される(ステップ411)。 データ圧縮オフが指示されているのでデータ圧縮部4を
通過しても圧縮処理はなされず元のままのファイルデー
タが記録再生部6に送られる。さらに、ファイルデータ
の続きがホストコンピュータより転送されて来る場合は
、ファイルデータがバッファメモリ3に取り込まれると
データ圧縮部4、バッファメモリ5を経て記録再生部6
に送られ元のままのファイルデータがテープに記録され
る(ステップ412)。
First, the operation at the stage of recording data when file data is not divided into blocks will be explained with reference to the flowchart shown in FIG. File data transferred from the host computer is received by the input/output section 1 and sent to the file data division section 2 (step 401).
). If the file data is not divided into blocks, the file data dividing section 2 does not perform any processing. The data received by the file data dividing section 2 is sent as is to the buffer memory 3. File data is first stored in the buffer memory 3, and at the same time the counter 15 measures how many bytes the data length is (step 402). The capacity of the buffer memory 3 is here assumed to be 32 kilobytes. When all of the file data is stored in the buffer memory 3, or if the file data is larger than the capacity of the buffer memory 3, the file data stored in the buffer memory 3 is transferred to all of the buffer memory 3. The data is sent to the data compression unit 4 and subjected to data compression processing. The compressed data is stored in the buffer memory 5, and at the same time the data length is stored in the counter 1.
6 (step 403). When the compressed data length stored in the buffer memory 5 reaches 32 kilobytes, no more data is added to the buffer memory 5. The capacity of the buffer memory 5 is 48 kilobytes, including 16 kilobytes for tape management information, which will be described later. Various compression algorithms have been proposed, including the Lempel and Ziv method. For example, if the same data continues, how to replace it with a code indicating the data and length,
There are methods such as assigning a short bit length to data or data groups that appear frequently and converting the code, and replacing repeatedly appearing data groups with pointer information to the previous data group and a code of the data length. In either case, input data (bit string) is subjected to code conversion using a compression algorithm, and compressed data (bit string) is output. A detailed explanation of the compression algorithm itself will be omitted here. Furthermore, it does not matter which compression algorithm is used. When all of the file data stored in the buffer memory 3 has been compressed by the data compression unit 4, the comparator 17 calculates the uncompressed data length and the compressed data length measured by the counters 15 and 16. are compared (step 404). If the uncompressed data length measured by the counter 15 is larger, it means that there is a compression effect, so the comparison unit 17 outputs an instruction to turn on data compression to the data compression on/off switching unit 18 (step 405). On the other hand, if the compressed data length measured by the counter 16 is larger or equal, it means that there is no compression effect, so the comparing unit 17 instructs the data compression on/off switching unit 18 to turn off data compression. is output (step 409). Data compression on/off switching section 18
controls on/off of the data compression function of the data compression section 4 in accordance with instructions from the comparison section 17. At the same time, the comparator 17 also outputs an instruction to turn data compression on or off to the tape management information management section 19, informing it whether or not the file is to be recorded with data compression. The tape management information management unit 19 sets the compression attribute information of the file in the directory information to "1" meaning compressed or "0" meaning not compressed (step 406
, 410). Note that details regarding the directory information will be described later. In the case of an instruction to turn on data compression, the compressed data stored in the buffer memory 5 is sent to the recording/reproducing section 6 and recorded on the tape (step 407). Furthermore, when the continuation of the file data is transferred from the host computer, the file data is taken into the buffer memory 3, compressed by the data compression unit 4, sent to the buffer memory 5, and then transferred to the recording/reproducing unit 6. The data is sent and recorded on tape (step 408). In the case of an instruction to turn off data compression, the compressed data stored in the buffer memory 5 is discarded, and the uncompressed data stored in the buffer memory 3 is sent to the recording/reproducing unit 6 via the data compression unit 4 and buffer memory 5. and recorded on tape (step 411). Since data compression has been instructed to be turned off, even if the data passes through the data compression unit 4, no compression processing is performed and the original file data is sent to the recording/reproducing unit 6. Furthermore, when the continuation of the file data is transferred from the host computer, when the file data is taken into the buffer memory 3, it passes through the data compression section 4 and the buffer memory 5 to the recording/reproducing section 6.
The original file data is recorded on the tape (step 412).

【0020】次に、テープ上のディレクトリの更新段階
の動作について図5に示すフローチャートを参照して説
明する。ファイルデータの転送終了後ホストコンピュー
タよりファイルマーク記録コマンドを制御部21が受け
ると制御部21は記録再生制御部8にファイルマーク記
録指示を出力し、記録再生制御部8はテープ9にファイ
ルマークを記録形成する(ステップ501,502,5
03)。また本実施例ではテープ9の先頭にファイルご
との属性を示すディレクトリ部を設け、テープにファイ
ルが追加記録された場合にはこのディレクトリ部を更新
する構成としている。図2に本実施例におけるデータ記
録再生装置にて記録されたテープ上の構成のひとつのパ
ターンを示す。図2に示すように、テープ9の先頭から
テープの認識のためのID情報(テープフォーマット情
報など)を含むテープヘッダ部201、テープに記録さ
れているファイルごとの属性を示すディレクトリ部20
2、ファイルデータを記録するデータ記録部203、記
録データの終了を示すEOI(End  Of  In
formation)部204、の順で構成されている
。また、各部の間にギャップ部205が設けられており
、データ記録部203はファイルデータの区切りごとに
ファイルマーク206が記録されている。ディレクトリ
部202の内容の一例を図3(a)に示す。ディレクト
リ部202の内容はファイル毎に8バイトの長さを持つ
テーブルとして構成されており、ひとつのファイルの情
報はファイルマーク番号301(3バイト),ファイル
サイズ情報302(4バイト),ファイル属性情報30
3(1バイト)で構成されている。ファイルサイズ情報
302は、そのファイルの長さをバイト単位で表した値
である。ファイル属性情報303は、「1」の場合ファ
イルデータがデータ圧縮されていることを示し、「0」
の場合データ圧縮されていないことを示す。これまでの
ディレクトリ情報は予めテープ9のディレクトリ部20
2から読み出しバッファメモリ12に蓄えてあり、ファ
イルデータの記録時には前述のように今回のファイルの
情報を追加してバッファメモリ12のディレクトリ情報
が更新される。ファイルデータの記録終了後新しいディ
レクトリ情報をバッファメモリ5に設定し、テープ9に
も記録しテープ上のディレクトリ部202も更新してお
く。
Next, the operation at the stage of updating the directory on the tape will be explained with reference to the flowchart shown in FIG. When the control section 21 receives a file mark recording command from the host computer after the transfer of file data is completed, the control section 21 outputs a file mark recording instruction to the recording/playback control section 8 , and the recording/playback control section 8 writes a file mark on the tape 9 . Form a record (steps 501, 502, 5)
03). Further, in this embodiment, a directory section indicating the attributes of each file is provided at the beginning of the tape 9, and this directory section is updated when a file is additionally recorded on the tape. FIG. 2 shows one pattern of the structure on the tape recorded by the data recording/reproducing apparatus in this embodiment. As shown in FIG. 2, from the beginning of the tape 9, there is a tape header section 201 that includes ID information (tape format information, etc.) for recognizing the tape, and a directory section 20 that indicates the attributes of each file recorded on the tape.
2. Data recording unit 203 that records file data, EOI (End Of In) indicating the end of recorded data.
(formation) section 204. Furthermore, a gap portion 205 is provided between each portion, and a file mark 206 is recorded in the data recording portion 203 at each division of file data. An example of the contents of the directory section 202 is shown in FIG. 3(a). The contents of the directory section 202 are configured as a table with a length of 8 bytes for each file, and the information for one file includes a file mark number 301 (3 bytes), file size information 302 (4 bytes), and file attribute information. 30
It consists of 3 (1 byte). File size information 302 is a value representing the length of the file in bytes. When the file attribute information 303 is "1", it indicates that the file data is data compressed, and when it is "0", it indicates that the file data is compressed.
Indicates that the data is not compressed. The previous directory information is stored in the directory section 20 of tape 9 in advance.
2 and stored in the buffer memory 12, and when recording file data, the directory information in the buffer memory 12 is updated by adding information about the current file as described above. After the recording of the file data is completed, new directory information is set in the buffer memory 5, recorded on the tape 9, and the directory section 202 on the tape is also updated.

【0021】いま、ファイル番号2の次にファイル番号
3を追加記録する場合、新しいディレクトリ情報は図3
(a)に示すようなデータとなる。ここでファイル属性
情報は「1」としてあり、ファイルデータの圧縮が行わ
れた場合の例を示す。圧縮が行われなかった場合はファ
イル属性情報は「0」とする。更新されたバッファメモ
リ12のディレクトリ情報がテープに記録するためのデ
ータ並びに変換されバッファメモリ5に設定される(ス
テップ504)。バッファメモリ5に設定されたディレ
クトリ情報は記録再生部6に送られ、制御部21の指示
により記録再生制御部8はテープ9を巻き戻しディレク
トリ部202に新しいディレクトリ情報を記録する(ス
テップ505)。これでファイルデータの記録が終了し
たことになる。
[0021] Now, if file number 3 is to be additionally recorded after file number 2, the new directory information will be as shown in Figure 3.
The data will be as shown in (a). Here, the file attribute information is set to "1", and an example is shown in which file data is compressed. If compression is not performed, the file attribute information is set to "0". The updated directory information in the buffer memory 12 is converted into the data to be recorded on the tape and set in the buffer memory 5 (step 504). The directory information set in the buffer memory 5 is sent to the recording/reproducing section 6, and the recording/reproducing controller 8 rewinds the tape 9 and records new directory information in the directory section 202 according to instructions from the control section 21 (step 505). This means that recording of file data has ended.

【0022】次に、ファイルデータの再生時の動作につ
いて図6に示すフローチャートを参照して説明する。ホ
ストコンピュータからのファイルデータ読み出しコマン
ドを制御部21が受け取ると記録再生制御部8にディレ
クトリ部202の情報の読み出し指示を出力する。これ
に対して記録再生制御部8はメカニズム部7を駆動しテ
ープ9のディレクトリ部202からディレクトリ情報を
読み出しバッファメモリ12に送る。バッファメモリ1
2には図3(a)に示すデータが読み出されることにな
る(ステップ601)。今、ホストコンピュータから3
番目のファイルの読み出し指示があったとすると、テー
プ管理情報管理部19はひとつ前(即ち2番目)のファ
イルデータのファイルマーク位置までテープを進め、そ
こから3番目のファイルマーク位置までのデータを読み
出せという指示を記録再生制御部8に出力し、記録再生
制御部8は読み出したデータをバッファメモリ12に送
る(ステップ602)。またテープ管理情報管理部19
は、3番目のファイルのファイル属性情報303が「1
」となっていることからこのファイルはデータ圧縮処理
がされたものであることを知り、データ復元オン・オフ
切替部20にデータ復元オンの指示を出力する(ステッ
プ604)。データ復元オン・オフ切替部20は、テー
プ管理情報管理部19の指示に従いデータ復元部13の
データ復元機能オン・オフの制御を行う。今回の例では
データ復元機能はオンとなり、バッファメモリ12に読
み込まれた圧縮データはデータ復元部13を通過してデ
ータ復元処理が行われバッファメモリ14に送られる(
ステップ605)。データ復元部13の処理はデータ圧
縮部4の逆の処理を行うものであり、ここではデータ復
元アルゴリズムについての詳細説明は省略する。バッフ
ァメモリ14に蓄えられたデータは入出力部1を経てホ
ストコンピュータに送られる。なお、ファイル属性情報
303が「0」となっていたならこのファイルはデータ
圧縮されたものではないので、テープ管理情報管理部1
9はデータ復元オン・オフ切替部20にデータ復元オフ
の指示を出力する(ステップ606)。データ復元オン
・オフ切替部20はデータ復元部13のデータ復元機能
をオフとするのでデータ復元部13をデータが通過して
もデータ復元部処理はされず、そのままのデータがバッ
ファメモリ14、入出力部1を経てホストコンピュータ
に送られる。(ステップ607)。
Next, the operation when reproducing file data will be explained with reference to the flowchart shown in FIG. When the control section 21 receives a file data read command from the host computer, it outputs an instruction to read the information in the directory section 202 to the recording/reproduction control section 8 . In response, the recording/reproduction control section 8 drives the mechanism section 7 to read directory information from the directory section 202 of the tape 9 and send it to the buffer memory 12. Buffer memory 1
2, the data shown in FIG. 3(a) is read out (step 601). Now from the host computer 3
If there is an instruction to read the 3rd file, the tape management information management unit 19 advances the tape to the file mark position of the previous (i.e. 2nd) file data, and reads the data from there to the 3rd file mark position. An instruction to output the data is output to the recording/reproducing controller 8, and the recording/reproducing controller 8 sends the read data to the buffer memory 12 (step 602). Also, tape management information management section 19
The file attribute information 303 of the third file is “1”.
”, it is known that this file has been subjected to data compression processing, and an instruction to turn on data restoration is output to the data restoration on/off switching unit 20 (step 604). The data restoration on/off switching unit 20 controls on/off of the data restoration function of the data restoration unit 13 according to instructions from the tape management information management unit 19 . In this example, the data restoration function is turned on, and the compressed data read into the buffer memory 12 passes through the data restoration unit 13, undergoes data restoration processing, and is sent to the buffer memory 14 (
Step 605). The processing of the data restoration section 13 is the reverse processing of the data compression section 4, and a detailed explanation of the data restoration algorithm will be omitted here. The data stored in the buffer memory 14 is sent to the host computer via the input/output section 1. Note that if the file attribute information 303 is "0", this file has not been data compressed, so the tape management information management unit 1
9 outputs an instruction to turn off data restoration to the data restoration on/off switching unit 20 (step 606). The data restoration on/off switching unit 20 turns off the data restoration function of the data restoration unit 13, so even if the data passes through the data restoration unit 13, the data restoration unit does not process it, and the data remains as it is in the buffer memory 14. It is sent to the host computer via the output section 1. (Step 607).

【0023】このように、使用者が逐次データ圧縮処理
をすべきかどうかを判断する必要がなく、自動的にデー
タ圧縮効果のあるファイルのみをデータ圧縮するので、
効率よくデータの通信またはデータの記録ができる。
[0023] In this way, the user does not have to judge whether data compression processing should be performed sequentially, and only files that have a data compression effect are automatically compressed.
Data can be communicated or recorded efficiently.

【0024】次に、ファイルデータをブロックに分割す
る場合について前記と同様に図1を用いて説明する。ま
ず、データを記録する段階の動作を図7に示すフローチ
ャートを参照して説明する。
Next, the case of dividing file data into blocks will be explained using FIG. 1 in the same manner as above. First, the operation at the stage of recording data will be explained with reference to the flowchart shown in FIG.

【0025】ホストコンピュータから転送されたファイ
ルデータは入出力部1で受け取り、ファイルデータ分割
部2を経てバッファメモリ3に送られる(ステップ70
1)。ファイルデータ分割部2は、データ長を計測する
カウンタ手段を持ち、ファイルデータをバッファメモリ
3に送ると同時にデータ長を計測し、予め定められた長
さのデータが通過した時点でブロック区切り信号を比較
部17およびテープ管理情報管理部19に出力する(ス
テップ702,703)。前記と同様にファイルデータ
がバッファメモリ3に蓄えられると同時にそのデータ長
が何バイトあるかをカウンタ15が計測する。同時にバ
ッファメモリ3に蓄えられたファイルデータがデータ圧
縮部4に送られデータ圧縮処理が行われる。圧縮された
データはバッファメモリ5に蓄えられると同時にそのデ
ータ長がカウンタ16にて計測される(ステップ704
)。本実施例ではブロック長を16キロバイトとして設
定しているのでホストコンピュータから16キロバイト
のデータを受け取った時点でファイルデータ分割部2は
ブロック区切り信号を出力する。ブロック区切り信号を
受けた比較部17はカウンタ15,16で計測された非
圧縮データ長および圧縮データ長の大きさを比較する(
ステップ705)。カウンタ15にて計測された非圧縮
データ長の方が大きければ、圧縮効果があることを意味
するので、比較部17はデータ圧縮オン・オフ切替部1
8にデータ圧縮オンの指示を出力する(ステップ706
)。反対に、カウンタ16にて計測された圧縮データ長
の方が大きいかまたは等しければ、圧縮効果がないこと
を意味するので、比較部17はデータ圧縮オン・オフ切
替部18にデータ圧縮オフの指示を出力する(ステップ
709)。データ圧縮オン・オフ切替部18は、比較部
17からの指示に従いデータ圧縮部4のデータ圧縮機能
オン・オフの制御を行う。また同時に、比較部17はテ
ープ管理情報管理部19にもデータ圧縮オンまたはオフ
の指示を出力し、そのファイルがデータ圧縮されて記録
するかどうかを知らせる。テープ管理情報管理部19は
ディレクトリ情報内のそのファイルの第1番目のブロッ
クの圧縮属性情報に圧縮したことを意味する「1」また
は圧縮していないことを意味する「0」を設定する(ス
テップ707,710)。ここで、ファイルデータをブ
ロックに分割する場合のディレクトリ情報の構成を図3
(b)に示す。ディレクトリ情報はブロックごとに12
バイトの長さを持つテーブルとして構成されており、ひ
とつのブロックの情報はファイルマーク番号304(3
バイト),ブロック番号305(4バイト),ブロック
サイズ情報306(4バイト),ブロック属性情報30
7(1バイト)で構成されている。ブロック属性情報3
07は、「1」の場合ブロックデータがデータ圧縮され
ていることを示し、「0」の場合データ圧縮されていな
いことを示す。データ圧縮オンの指示の場合はバッファ
メモリ5に蓄えられた圧縮データを記録再生部6に送り
テープに記録を行う(ステップ708)。さらにファイ
ルデータの続きがホストコンピュータより転送されてく
る場合は、ステップ701からの処理を繰り返す(ステ
ップ712)。データ圧縮オフの指示の場合はバッファ
メモリ5に蓄えられた圧縮データを破棄し、バッファメ
モリ3に蓄えられている圧縮前のデータがデータ圧縮部
4、バッファメモリ5を経て記録再生部6に送られテー
プに記録される(ステップ711)。データ圧縮オフが
指示されているのでデータ圧縮部4を通過しても圧縮処
理はなされず元のままのファイルデータが記録再生部6
に送られる。さらにファイルデータの続きがホストコン
ピュータより転送されてくる場合は、前記同様ステップ
701からの処理を繰り返す(ステップ712)。
File data transferred from the host computer is received by the input/output unit 1, and sent to the buffer memory 3 via the file data dividing unit 2 (step 70).
1). The file data dividing section 2 has a counter means for measuring the data length, measures the data length at the same time as sending the file data to the buffer memory 3, and outputs a block separation signal when data of a predetermined length has passed. The data is output to the comparison section 17 and tape management information management section 19 (steps 702 and 703). Similarly to the above, when file data is stored in the buffer memory 3, the counter 15 measures how many bytes the data length is. At the same time, the file data stored in the buffer memory 3 is sent to the data compression section 4 and subjected to data compression processing. The compressed data is stored in the buffer memory 5, and at the same time its data length is measured by the counter 16 (step 704).
). In this embodiment, the block length is set as 16 kilobytes, so the file data division section 2 outputs a block delimiter signal when it receives 16 kilobytes of data from the host computer. The comparison unit 17 that receives the block delimiter signal compares the uncompressed data length and the compressed data length measured by the counters 15 and 16 (
Step 705). If the uncompressed data length measured by the counter 15 is larger, it means that there is a compression effect.
8 to output an instruction to turn on data compression (step 706
). On the other hand, if the compressed data length measured by the counter 16 is larger or equal, it means that there is no compression effect, so the comparing unit 17 instructs the data compression on/off switching unit 18 to turn off data compression. is output (step 709). The data compression on/off switching section 18 controls on/off of the data compression function of the data compression section 4 according to instructions from the comparison section 17 . At the same time, the comparator 17 also outputs an instruction to turn data compression on or off to the tape management information management section 19, informing it whether or not the file is to be recorded with data compression. The tape management information management unit 19 sets the compression attribute information of the first block of the file in the directory information to "1" meaning compressed or "0" meaning not compressed (step 707, 710). Here, the structure of directory information when dividing file data into blocks is shown in Figure 3.
Shown in (b). Directory information is 12 per block
It is configured as a table with a byte length, and the information of one block is the file mark number 304 (3
bytes), block number 305 (4 bytes), block size information 306 (4 bytes), block attribute information 30
It consists of 7 (1 byte). Block attribute information 3
07 indicates that the block data is compressed when it is "1", and indicates that the data is not compressed when it is "0". In the case of an instruction to turn on data compression, the compressed data stored in the buffer memory 5 is sent to the recording/reproducing section 6 and recorded on the tape (step 708). If the continuation of the file data is further transferred from the host computer, the process from step 701 is repeated (step 712). In the case of an instruction to turn off data compression, the compressed data stored in the buffer memory 5 is discarded, and the uncompressed data stored in the buffer memory 3 is sent to the recording/reproducing unit 6 via the data compression unit 4 and buffer memory 5. and recorded on tape (step 711). Since data compression is instructed to be turned off, no compression processing is performed even if the file data passes through the data compression unit 4, and the original file data remains as it is in the recording/reproduction unit 6.
sent to. If the continuation of the file data is further transferred from the host computer, the process from step 701 is repeated as described above (step 712).

【0026】テープ上のディレクトリの更新段階の動作
についてはブロックに分割しない場合と同様、図5に示
すフローチャートに従ってディレクトリ部202の更新
がなされる。
Regarding the operation at the stage of updating the directory on the tape, the directory section 202 is updated according to the flowchart shown in FIG. 5, as in the case where the tape is not divided into blocks.

【0027】ファイルデータの再生時の動作について図
8にフローチャートを示す。図6のブロックに分割しな
い場合と同様の処理が行われるので詳細な説明は省略す
る。なお前述の図6との違いは、データの読み込みおよ
びデータ圧縮されたデータかどうかという判断をブロッ
ク単位で行い(ステップ802,803)、ファイルデ
ータが終了するまでこれを繰り返す点である(ステップ
808)。
FIG. 8 shows a flowchart regarding the operation when reproducing file data. Since the same processing as in the case of not dividing into blocks in FIG. 6 is performed, detailed explanation will be omitted. The difference from FIG. 6 described above is that reading of data and determining whether the data is compressed data are performed block by block (steps 802, 803), and this is repeated until the file data ends (step 808). ).

【0028】このように、ブロックに分割してデータ圧
縮を行うことにより、ファイルデータの先頭部分のみで
圧縮効果を判断する場合に比べてさらに的確な圧縮効果
の判断が可能となり、さらに効率よくデータの通信また
はデータの記録ができる。
[0028] By compressing data by dividing it into blocks in this way, it becomes possible to judge the compression effect more accurately than when judging the compression effect only based on the beginning of the file data, and more efficiently compress the data. communication or data recording.

【0029】次に、本発明の第2の実施例について説明
する。なお、その目的とするところは第1の実施例と同
じであるので、第1の実施例と異なる構成と動作を中心
に説明する。
Next, a second embodiment of the present invention will be described. Note that since the purpose is the same as that of the first embodiment, the explanation will focus on the configuration and operation that are different from the first embodiment.

【0030】図9は本発明の第2の実施例におけるデー
タ圧縮制御装置およびデータ復元制御装置を含むデータ
記録再生装置の構成を示すブロック図である。第1の実
施例における図1との違いは、テープ管理情報管理部1
9に代えてブロックヘッダ管理部22を設けた点である
。ブロックヘッダ管理部(ブロック属性情報生成・判定
手段)22は、ブロックごとにそのブロックの管理情報
をブロックヘッダとして形成し、ブロックデータととも
にテープに記録し、またテープからバッファメモリ12
に読み込んだテープ管理情報を見てそれぞれのファイル
の属性を判別する。本実施例においては、テープにディ
レクトリ情報を管理するディレクトリ部202を設けて
いなくても第1の実施例と同様の効果をあげられるもの
である。
FIG. 9 is a block diagram showing the configuration of a data recording/reproducing device including a data compression control device and a data restoration control device in a second embodiment of the present invention. The difference between the first embodiment and FIG. 1 is that the tape management information management section 1
9 is replaced by a block header management section 22. A block header management unit (block attribute information generation/judgment unit) 22 forms management information for each block as a block header, records it on a tape together with the block data, and also records it on a tape from the tape to a buffer memory 12.
The attributes of each file are determined by looking at the tape management information read in. In this embodiment, the same effects as in the first embodiment can be achieved even if the tape is not provided with the directory section 202 for managing directory information.

【0031】以上のように構成されたデータ圧縮制御装
置およびデータ復元制御装置を含むデータ記録再生装置
において、ファイルデータをブロックに分割してデータ
圧縮判断を行う場合についての動作を次に説明する。フ
ァイル単位でデータ圧縮判断を行う場合もブロックヘッ
ダをファイルヘッダと置き換えれば同様の処理が可能な
ので、ここではブロックに分割する場合のみを説明する
。データを記録する段階の動作を図10に示すフローチ
ャートを参照して説明する。第1の実施例のファイルデ
ータをブロックに分割する場合における図7に示す処理
と同様の動作を行う。ステップ1001からステップ1
004まではステップ701からステップ704と同様
の動作となり、ホストコンピュータからファイルデータ
を受け取りブロックに区切ってデータ圧縮を行い、それ
ぞれのデータ長を計測する。また同様にブロック区切り
信号を受けた比較部17はカウンタ15,16で計測さ
れた非圧縮データ長および圧縮データ長の大きさを比較
して圧縮効果を判断し(ステップ1005)、データ圧
縮オン・オフ切替部18にデータ圧縮オンまたはオフの
指示を出力する(ステップ1006,1009)。また
同時に、比較部17はブロックヘッダ管理部22にもデ
ータ圧縮オンまたはオフの指示を出力し、そのファイル
がデータ圧縮されて記録するかどうかを知らせる。ブロ
ックヘッダ管理部22はブロック圧縮属性情報として圧
縮したことを意味する「1」または圧縮していないこと
を意味する「0」を設定したブロックヘッダをバッファ
メモリ5にセットする(ステップ1007,1010)
。ここで、本実施例におけるブロックヘッダの構成を図
12に示す。ブロックヘッダは12バイトで構成されて
おり、ブロックヘッダ認識用データ1201(2バイト
)、ブロック番号1202(4バイト)、ブロックサイ
ズ1203(4バイト)、ブロック属性情報1204(
1バイト)、および予備1205(1バイト)で構成さ
れている。ブロック属性情報1204は、「1」の場合
ブロックデータがデータ圧縮されていることを示し、「
0」の場合データ圧縮されていないことを示す。 データ圧縮オンの指示の場合はバッファメモリ5内にセ
ットされたブロックヘッダとバッファメモリ5に蓄えら
れた圧縮データを記録再生部6に送りテープに記録を行
う(ステップ1008)。さらにファイルデータの続き
がホストコンピュータより転送されてくる場合は、ステ
ップ1001からの処理を繰り返す(ステップ1012
)。データ圧縮オフの指示の場合はバッファメモリ5に
蓄えられた圧縮データを破棄し、バッファメモリ5内に
セットされたブロックヘッダに続けて、バッファメモリ
3に蓄えられている圧縮前のデータがデータ圧縮部4、
バッファメモリ5を経て記録再生部6に送られテープに
記録される(ステップ1011)。データ圧縮オフが指
示されているのでデータ圧縮部4を通過しても圧縮処理
はなされず、元のままのファイルデータが記録再生部6
に送られる。さらにファイルデータの続きがホストコン
ピュータより転送されてくる場合は、前記同様ステップ
1001からの処理を繰り返す(ステップ1012)。
In the data recording and reproducing apparatus including the data compression control device and data restoration control device configured as described above, the operation will be described below when file data is divided into blocks and data compression determination is made. Even when determining data compression on a file-by-file basis, similar processing is possible by replacing the block header with the file header, so only the case of dividing into blocks will be described here. The operation at the stage of recording data will be explained with reference to the flowchart shown in FIG. An operation similar to that shown in FIG. 7 in the case of dividing file data into blocks in the first embodiment is performed. Step 1001 to Step 1
The operations up to step 004 are similar to steps 701 to 704, in which file data is received from the host computer, divided into blocks, compressed, and the length of each data is measured. Similarly, the comparator 17 that receives the block delimiter signal compares the uncompressed data length and the compressed data length measured by the counters 15 and 16 to determine the compression effect (step 1005), and determines whether data compression is on or not. An instruction to turn data compression on or off is output to the off switching unit 18 (steps 1006, 1009). At the same time, the comparison unit 17 also outputs an instruction to turn data compression on or off to the block header management unit 22, and informs it whether or not the file is to be recorded with data compression. The block header management unit 22 sets in the buffer memory 5 a block header in which "1" meaning compressed or "0" meaning not compressed is set as block compression attribute information (steps 1007, 1010).
. Here, the structure of the block header in this embodiment is shown in FIG. The block header consists of 12 bytes, including block header recognition data 1201 (2 bytes), block number 1202 (4 bytes), block size 1203 (4 bytes), and block attribute information 1204 (4 bytes).
1 byte) and a spare 1205 (1 byte). When the block attribute information 1204 is "1", it indicates that the block data is data compressed, and "
0" indicates that the data is not compressed. In the case of an instruction to turn on data compression, the block header set in the buffer memory 5 and the compressed data stored in the buffer memory 5 are sent to the recording/reproducing section 6 and recorded on the tape (step 1008). If the continuation of the file data is further transferred from the host computer, the process from step 1001 is repeated (step 1012).
). In the case of an instruction to turn off data compression, the compressed data stored in the buffer memory 5 is discarded, and following the block header set in the buffer memory 5, the uncompressed data stored in the buffer memory 3 is compressed. Part 4,
The data is sent to the recording/reproducing section 6 via the buffer memory 5 and recorded on a tape (step 1011). Since data compression off is instructed, no compression processing is performed even if the data passes through the data compression unit 4, and the original file data is stored in the recording/playback unit 6.
sent to. If the continuation of the file data is further transferred from the host computer, the process from step 1001 is repeated as described above (step 1012).

【0032】ファイルデータの再生時の動作について図
11にフローチャートを示す。第1の実施例のファイル
データをブロックに分割する場合における図8に示す処
理と同様の処理が行なわれるので詳細な説明は省略する
。なお前述の図8との違いは、最初にディレクトリ情報
を読み込む処理がない点と、データ圧縮されたデータか
どうかという判断をブロックヘッダのブロック属性情報
1204を用いる点である(ステップ1102,110
3)。
FIG. 11 shows a flowchart regarding the operation when reproducing file data. Since the same processing as shown in FIG. 8 in the case of dividing file data into blocks in the first embodiment is performed, detailed explanation will be omitted. The difference from the above-mentioned FIG. 8 is that there is no process of first reading the directory information, and that the block attribute information 1204 of the block header is used to determine whether the data is compressed data (steps 1102 and 110).
3).

【0033】このように、ブロックごとにブロックヘッ
ダを設けデータ圧縮情報を持つことにより、第1の実施
例と同様、的確な圧縮効果の判断が可能となり、効率よ
くデータの通信またはデータの記録ができる。またディ
レクトリ情報を管理する必要がないので簡易的なシステ
ムをはじめ幅広く応用できるものである。
In this way, by providing a block header for each block and having data compression information, it is possible to accurately judge the compression effect, as in the first embodiment, and to efficiently communicate or record data. can. Furthermore, since there is no need to manage directory information, it can be applied to a wide range of applications including simple systems.

【0034】なお、ここではデータ圧縮制御装置および
データ復元制御装置をデータ記録再生装置内に含む例を
示したが、ホストコンピュータ内に設ける構成とするこ
とも可能である。また、ファイルデータ分割部2、記録
再生制御部8、カウンタ15,16、比較部17、デー
タ圧縮オン・オフ切替部18、テープ管理情報管理部1
9、データ復元オン・オフ切替部20、制御部21、ブ
ロックヘッダ管理部22は、そのいくつかを統合してマ
イクロコンピュータで構成することもできる。
[0034] Here, an example has been shown in which the data compression control device and the data restoration control device are included in the data recording/reproducing device, but it is also possible to adopt a configuration in which they are provided in the host computer. Also, a file data dividing section 2, a recording/playback control section 8, counters 15, 16, a comparison section 17, a data compression on/off switching section 18, a tape management information management section 1
9. The data restoration on/off switching unit 20, the control unit 21, and the block header management unit 22 may be integrated into a microcomputer.

【0035】また、データ記録再生装置に代えて通信回
線に接続することも可能であり、通信すべきデータ量を
削減することができる。
[0035] Furthermore, it is possible to connect to a communication line instead of the data recording/reproducing device, and the amount of data to be communicated can be reduced.

【0036】[0036]

【発明の効果】以上のように本発明のデータ圧縮制御装
置は、データ圧縮機能オン・オフ切替手段と、非圧縮デ
ータの長さを計測する第1のカウンタ手段と、さらに圧
縮後のデータ長を計測する第2のカウンタ手段と、前記
第1,第2のカウンタ手段の結果を比較する圧縮率判定
手段を備え、または外部から入力されたデータを予め定
められた長さのブロックに分割するファイルデータ分割
手段と、前記ブロックごとにデータ圧縮を行うデータ圧
縮手段と、ブロックごとの非圧縮データの長さを計測す
る第1のカウンタ手段と、対応するブロックごとの圧縮
後のデータ長を計測する第2のカウンタ手段と、前記第
1,第2のカウンタ手段の結果を比較する圧縮率判定手
段とを設けることにより、ホストから送られてきたファ
イルデータに対して圧縮効果のあるファイルデータのみ
圧縮を行うので、効率よくデータの通信またはデータの
記録ができる。さらに、ブロックに分割してデータ圧縮
を行う場合は、ファイルデータの先頭部分のみで圧縮効
果を判断する場合に比べてさらに的確な圧縮効果の判断
が可能となり、さらに効率よくデータの通信またはデー
タの記録ができる。
As described above, the data compression control device of the present invention includes a data compression function on/off switching means, a first counter means for measuring the length of uncompressed data, and a data compression function measuring means for measuring the length of uncompressed data. and compression ratio determining means for comparing the results of the first and second counter means, or dividing data input from the outside into blocks of a predetermined length. A file data dividing means, a data compression means for compressing data for each block, a first counter means for measuring the length of uncompressed data for each block, and a first counter means for measuring the data length after compression for each corresponding block. By providing a second counter means that performs compression, and a compression rate determination means that compares the results of the first and second counter means, only the file data sent from the host can be compressed. Since compression is performed, data can be communicated or recorded efficiently. Furthermore, when compressing data by dividing it into blocks, it is possible to judge the compression effect more accurately than when judging the compression effect only based on the beginning of the file data, and it is possible to more efficiently communicate or compress data. Can record.

【0037】また本発明のデータ復元制御装置は、ファ
イル管理情報のデータ圧縮機能オン・オフ情報により、
データ復元機能オン・オフ切替手段を制御するファイル
属性情報判定手段、またはブロック管理情報のデータ圧
縮機能オン・オフ情報により、ブロックごとにデータ復
元機能オン・オフ切り替え手段を制御するブロック属性
情報判定手段を設けることにより、テープに記録された
圧縮機能オン・オフ情報に基づきデータ復元機能のオン
・オフを切り替えることができ、ホスト側と外部記憶装
置側のどちらの方で圧縮を行っていても、データを正確
に元の状態に戻すことが可能である。
[0037] Furthermore, the data restoration control device of the present invention can
File attribute information determination means that controls the data restoration function on/off switching means, or block attribute information determination means that controls the data restoration function on/off switching means for each block based on the data compression function on/off information of the block management information. By providing this, the data restoration function can be turned on or off based on the compression function on/off information recorded on the tape, and regardless of whether compression is performed on the host side or the external storage device side, It is possible to accurately restore the data to its original state.

【0038】このように、記憶装置に対してホストから
はファイルデータを送るだけで自動的に効率良く選択的
にデータ圧縮が行われるので、記録メディアを最大限有
効に活用でき、使用者が逐次データ圧縮処理をすべきか
どうかを判断する必要がないため使用者やホストの負担
が軽くなり、非常に使いやすい記憶装置を提供できるも
のであり、その効果は大なるものがある。
[0038] In this way, simply by sending file data from the host to the storage device, data compression is performed automatically and efficiently and selectively. Since there is no need to judge whether or not to perform data compression processing, the burden on the user and host is lightened, and a storage device that is extremely easy to use can be provided, which has great effects.

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

【図1】本発明の第1の実施例におけるデータ圧縮制御
装置およびデータ復元制御装置を含むデータ記録再生装
置の構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a data recording and reproducing device including a data compression control device and a data restoration control device in a first embodiment of the present invention.

【図2】第1の実施例におけるデータ記録再生装置にて
記録されたテープ上の構成の一例を示すパターン図。
FIG. 2 is a pattern diagram showing an example of a configuration on a tape recorded by the data recording/reproducing apparatus in the first embodiment.

【図3】テープ上のディレクトリ部の内容の一例を示す
説明図。
FIG. 3 is an explanatory diagram showing an example of the contents of a directory section on a tape.

【図4】第1の実施例においてファイルデータをブロッ
クに分割しない場合のデータ記録動作を説明するフロー
チャート。
FIG. 4 is a flowchart illustrating a data recording operation when file data is not divided into blocks in the first embodiment.

【図5】第1の実施例においてディレクトリ更新動作を
説明するフローチャート。
FIG. 5 is a flowchart illustrating a directory update operation in the first embodiment.

【図6】第1の実施例においてファイルデータをブロッ
クに分割しない場合のデータ再生動作を説明するフロー
チャート。
FIG. 6 is a flowchart illustrating a data reproduction operation when file data is not divided into blocks in the first embodiment.

【図7】第1の実施例においてファイルデータをブロッ
クに分割する場合のデータ記録動作を説明するフローチ
ャート。
FIG. 7 is a flowchart illustrating a data recording operation when file data is divided into blocks in the first embodiment.

【図8】第1の実施例においてファイルデータをブロッ
クに分割する場合のデータ再生動作を説明するフローチ
ャート。
FIG. 8 is a flowchart illustrating a data reproduction operation when file data is divided into blocks in the first embodiment.

【図9】本発明の第2の実施例におけるデータ圧縮制御
装置およびデータ復元制御装置を含むデータ記録再生装
置の構成を示すブロック図。
FIG. 9 is a block diagram showing the configuration of a data recording/reproducing device including a data compression control device and a data restoration control device in a second embodiment of the present invention.

【図10】第2の実施例においてデータ記録動作を説明
するフローチャート。
FIG. 10 is a flowchart illustrating a data recording operation in the second embodiment.

【図11】第2の実施例においてデータ再生動作を説明
するフローチャート。
FIG. 11 is a flowchart illustrating data reproduction operation in the second embodiment.

【図12】ブロックヘッダの構成の一例を示す模式図。FIG. 12 is a schematic diagram showing an example of the configuration of a block header.

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

1  入出力部 2  ファイルデータ分割部 3,5,12,14  バッファメモリ4  データ圧
縮部 6  記録再生部 7  メカニズム部 8  記録再生制御部 9  テープ 10  シリンダ 11  ヘッド 13  データ復元部 15,16  カウンタ 17  比較部(圧縮率判定手段) 18  データ圧縮オン・オフ切替部 19  テープ管理情報管理部 20  データ復元オン・オフ切替部 21  制御部 22  ブロックヘッダ管理部
1 Input/output section 2 File data division section 3, 5, 12, 14 Buffer memory 4 Data compression section 6 Recording/playback section 7 Mechanism section 8 Recording/playback control section 9 Tape 10 Cylinder 11 Head 13 Data restoration section 15, 16 Counter 17 Comparison section (compression rate determination means) 18 Data compression on/off switching section 19 Tape management information management section 20 Data restoration on/off switching section 21 Control section 22 Block header management section

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】  外部からのデータの受信を行う入力手
段と、前記入力手段に入力されたデータを一時蓄える第
1のバッファメモリ手段と、前記第1のバッファメモリ
手段に蓄えられたデータを圧縮するか、またはそのまま
通過させるデータ圧縮手段と、前記データ圧縮手段を制
御しデータの圧縮またはそのまま通過させるかを選択す
るデータ圧縮機能オン・オフ切替手段と、前記圧縮後の
データを蓄える第2のバッファメモリ手段と、前記第1
のバッファメモリ手段に蓄えられた非圧縮データの長さ
を計測する第1のカウンタ手段と、前記第2のバッファ
メモリ手段に蓄えられた圧縮後のデータの長さを計測す
る第2のカウンタ手段と、前記第1,第2のカウンタ手
段の結果を比較し、比較結果により前記データ圧縮機能
オン・オフ切替手段を制御する圧縮率判定手段と、を備
えたデータ圧縮制御装置。
1. Input means for receiving data from the outside, first buffer memory means for temporarily storing data input to the input means, and compressing the data stored in the first buffer memory means. a data compression function switching means for controlling the data compression means to select whether to compress the data or to pass the data as is; and a second data compression function for storing the compressed data. buffer memory means;
a first counter means for measuring the length of the uncompressed data stored in the buffer memory means; and a second counter means for measuring the length of the compressed data stored in the second buffer memory means. and compression ratio determining means for comparing the results of the first and second counter means and controlling the data compression function on/off switching means based on the comparison result.
【請求項2】  入力された一連のデータごとにデータ
圧縮機能オン・オフ情報を生成し、ファイル管理情報の
一部として登録するファイル属性情報生成手段を備えた
請求項1記載のデータ圧縮制御装置。
2. The data compression control device according to claim 1, further comprising file attribute information generation means for generating data compression function on/off information for each series of input data and registering the information as part of the file management information. .
【請求項3】  入力手段に入力されたデータを予め定
められた長さのブロックに分割し、第1のバッファメモ
リに出力するファイルデータ分割手段を備えた請求項1
または2記載のデータ圧縮制御装置。
3. The method according to claim 1, further comprising file data dividing means for dividing data input into the input means into blocks of a predetermined length and outputting the blocks to the first buffer memory.
Or the data compression control device according to 2.
【請求項4】  外部からのデータの受信を行う入力手
段と、前記入力手段に入力されたデータを予め定められ
た長さのブロックに分割するファイルデータ分割手段と
、前記分割されたデータブロックを一時蓄える第1のバ
ッファメモリ手段と、前記第1のバッファメモリ手段に
蓄えられたデータブロックを圧縮するか、またはそのま
ま通過させるデータ圧縮手段と、前記データ圧縮手段を
制御しデータの圧縮またはそのまま通過させるかを選択
するデータ圧縮機能オン・オフ切替手段と、前記圧縮後
のデータを蓄える第2のバッファメモリ手段と、前記第
1のバッファメモリ手段に蓄えられた非圧縮データブロ
ックの長さを計測する第1のカウンタ手段と、前記第2
のバッファメモリ手段に蓄えられた圧縮後のデータブロ
ックの長さを計測する第2のカウンタ手段と、前記ファ
イルデータ分割手段で分割されたデータブロックごとに
、前記第1,第2のカウンタ手段の結果を比較し、比較
結果により前記データ圧縮機能オン・オフ切替手段を制
御する圧縮率判定手段と、前記ファイルデータ分割手段
で分割されたデータブロックごとにデータ圧縮機能オン
・オフ情報を生成し、ブロック管理情報の一部として登
録するブロック属性情報生成手段と、を備えたデータ圧
縮制御装置。
4. Input means for receiving data from the outside; file data division means for dividing the data input into the input means into blocks of a predetermined length; a first buffer memory means for temporarily storing the data; a data compression means for compressing the data block stored in the first buffer memory means or passing it through as is; and a data compression means for controlling the data compression means to compress the data or pass it through as is. a data compression function on/off switching means for selecting whether to use the compressed data; a second buffer memory means for storing the compressed data; and a length of the uncompressed data block stored in the first buffer memory means. a first counter means for
a second counter means for measuring the length of the compressed data block stored in the buffer memory means; and a second counter means for measuring the length of the compressed data block stored in the buffer memory means; a compression rate determining means for comparing the results and controlling the data compression function on/off switching means based on the comparison result; generating data compression function on/off information for each data block divided by the file data dividing means; A data compression control device comprising block attribute information generation means that is registered as part of block management information.
【請求項5】  入力されたデータを圧縮データとして
復元処理をするかまたはそのまま通過させるデータ復元
手段と、前記データ復元手段を制御しデータの復元また
はそのまま通過させるかを選択するデータ復元機能オン
・オフ切替手段と、予め読み込んだファイル管理情報の
データ圧縮機能オン・オフ情報により、前記データ復元
機能オン・オフ切替手段を制御するファイル属性情報判
定手段と、を備えたデータ復元制御装置。
5. Data restoration means for restoring input data as compressed data or passing it through as is; and a data restoration function on/off for controlling the data restoration means and selecting whether to restore the data or pass it through as is. A data restoration control device comprising: an off switching means; and a file attribute information determining means for controlling the data restoration function on/off switching means based on data compression function on/off information of file management information read in advance.
【請求項6】  入力されたデータを圧縮データとして
復元処理をするかまたはそのまま通過させるデータ復元
手段と、前記データ復元手段を制御しデータの復元また
はそのまま通過させるかを選択するデータ復元機能オン
・オフ切替手段と、予め読み込んだブロック管理情報の
データ圧縮機能オン・オフ情報により、ブロックごとに
前記データ復元機能オン・オフ切替手段を制御するブロ
ック属性情報判定手段と、を備えたデータ復元制御装置
6. Data restoration means for restoring input data as compressed data or passing it through as is; and a data restoration function on/off for controlling the data restoration means and selecting whether to restore the data or pass it through as is. A data restoration control device comprising: an off switching means; and a block attribute information determination means for controlling the data restoration function on/off switching means for each block based on data compression function on/off information of block management information read in advance. .
JP3003196A 1991-01-16 1991-01-16 Data compression controller and data restoration controller Pending JPH04242424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3003196A JPH04242424A (en) 1991-01-16 1991-01-16 Data compression controller and data restoration controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3003196A JPH04242424A (en) 1991-01-16 1991-01-16 Data compression controller and data restoration controller

Publications (1)

Publication Number Publication Date
JPH04242424A true JPH04242424A (en) 1992-08-31

Family

ID=11550666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3003196A Pending JPH04242424A (en) 1991-01-16 1991-01-16 Data compression controller and data restoration controller

Country Status (1)

Country Link
JP (1) JPH04242424A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06202811A (en) * 1992-12-21 1994-07-22 Nec Corp External memory controller
JP2012133731A (en) * 2010-12-24 2012-07-12 Fujitsu Ltd Data processing apparatus and data recording method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06202811A (en) * 1992-12-21 1994-07-22 Nec Corp External memory controller
JP2012133731A (en) * 2010-12-24 2012-07-12 Fujitsu Ltd Data processing apparatus and data recording method
US8904103B2 (en) 2010-12-24 2014-12-02 Fujitsu Limited Data processing apparatus and method for recording data

Similar Documents

Publication Publication Date Title
US7246139B2 (en) File system for enabling the restoration of a deffective file
US6308003B1 (en) Method of recording image data and method of reproducing information from optical disk
US6298414B1 (en) Method and medium for recording digital data
JP4124886B2 (en) How to format host data
US20030002194A1 (en) Record and playback apparatus, and the method
JPH04359315A (en) Data compression controller and data restoration controller
US6697958B1 (en) Method and apparatus for driving a recording medium, method and system for recording and reproducing information, and information supplying medium
JP4124887B2 (en) How to order data received from a data source
EP0913825A2 (en) Data encoding scheme
JPH04242424A (en) Data compression controller and data restoration controller
JPH04241681A (en) Storage device of compression switching system
JP2000039969A (en) Data adjustment method
JP3666043B2 (en) Recording / reproducing method and apparatus, and editing method and apparatus
JP3477800B2 (en) Disk drive device
JP3794062B2 (en) Data compression recording device
JPH0715519A (en) Voice storage device
JPH11212821A (en) Trace data gathering system
WO1997008696A1 (en) Digital data recording apparatus and reproduction apparatus
JP3923594B2 (en) Audio recording / playback device
US6154329A (en) Recording apparatus and method featuring efficient handling of data extension
JP2923089B2 (en) Data reproducing method in magnetic tape device
JPWO1997008696A1 (en) Digital data recording and playback devices
JP3800234B2 (en) Playback apparatus and playback method
JPH09128155A (en) File management method and disc type recording / reproducing apparatus
JPH04321976A (en) Digital data recording and reproducing device