JP3794062B2 - Data compression recording device - Google Patents

Data compression recording device Download PDF

Info

Publication number
JP3794062B2
JP3794062B2 JP21643996A JP21643996A JP3794062B2 JP 3794062 B2 JP3794062 B2 JP 3794062B2 JP 21643996 A JP21643996 A JP 21643996A JP 21643996 A JP21643996 A JP 21643996A JP 3794062 B2 JP3794062 B2 JP 3794062B2
Authority
JP
Japan
Prior art keywords
data
tape
compression
cache memory
host computer
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
JP21643996A
Other languages
Japanese (ja)
Other versions
JPH1063434A (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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP21643996A priority Critical patent/JP3794062B2/en
Publication of JPH1063434A publication Critical patent/JPH1063434A/en
Application granted granted Critical
Publication of JP3794062B2 publication Critical patent/JP3794062B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、データの圧縮記録が行われるデータ記録装置に関し、ことに、すでに非圧縮で記録されているデータ内容を圧縮して同一記録媒体に記録するデータ圧縮記録装置に関する。
【0002】
【従来の技術】
データ圧縮は、データの持つ冗長性を除くことによってデータ量を削減する技術で、これによってデータを格納するファイル容量を減らしたり、通信回線経由でデータを送信する時間を短縮するメリットがある。特に、画像信号を処理するイメージ処理や、ファクシミリ通信等では取り扱うデータ量が膨大になるため、データ圧縮は必須になる。
【0003】
データ圧縮の例として、音声や音楽等の音響ディジタル信号の圧縮はMD(ミニディスク)やDCC(ディジタル・コンパクト・カセット)等でも使われている。これらの音響信号を圧縮する場合には、音響信号の性質を利用したり、人間の聴覚特性を利用したりする。
【0004】
例えば音響信号の性質を利用する場合は、音響信号をFFT(高速フーリエ変換)解析器で周波数分析して信号周波数成分が10kHz以下に集中されているのを知ると、周波数スペクトラム成分の存在しない部分は伝送記録せず、周波数スペクトラム成分の小さい部分にはビツト割り当てを少なくするなどの工夫をする。
また、人間の聴覚特性を利用する場合は、例えば大きな音があると小さな音が聞こえなくなるというマスキング効果等が用いられる。
【0005】
さらに高能率符号化を用いた方法としては、MDに用いられているATRAC(Adaptive Transform Acoustic Coding)、DCCに採用されているPASC(Precised Adaptive Subband Coding)、米国ドルビー社のAC−3、米国APT社のADPCM(Adaptive Differential Pulse Code Modulation )を利用するシステム、さらにNHKが開発したADPCMとCOFDM(Coded Orthogonal Frequency Division Multiplexing)変復調器を用いる方法などがある。技術的には、デルタPCMコーディング、LPG、CELP、VSELP、ATCコーダ等の技術が現在活かされている。
【0006】
画像信号の高能率符号化による圧縮の例は、カラー静止画像符号化方式についてはISO(国際標準化機構)、ITU−T(国際電気通信連合電気通信標準化部門)の共同組織であるJPEG(Joint Photographic Coding Experts Group )で標準化作業をすすめていて、符号化方式はすでに標準化されている。
また、テレビ電話やテレビ会議用には、ITU−TよりH.261という符号化方式が勧告されている。
【0007】
さらに、カラー動画像蓄積用符号化方式の標準化ではISO(国際標準化機構)とIEC(国際電気標準会議)が共同で作業を進めるJTC1(情報処理関連国際標準化技術委員会)の下部組織であるMPEG(Moving Picture Coding Experts Group )が、MPEG1、MPEG2、MPEG4の3つのタイプに分けて標準化を進めている。
【0008】
このうちMPEG1は転送速度が1.5Mビツト/秒程度で主にCD−ROM等の蓄積メディアを対象にしたもので、すでにISOとIECの国際標準になっている。
【0009】
またMPEG2は転送速度が数Mビツト/秒から数十Mビツト/秒という広い範囲を対象にしていて、すでに国際標準になっている。蓄積メディアを対象にしたMPEG1の上位バージョンになるほか、次世代テレビ放送や広帯域ISDNを利用した映像伝送等も対象にし、蓄積メディア、放送、通信で共通に利用できる汎用が他の映像符号化方式を目指している。
【0010】
またMPEG4は転送速度が数kビツト/秒という低ビツト・レートを対象にした映像符号化方式で、移動体通信での利用を想定している。
【0011】
これらの画像の高能率符号化は予測符号化と直交変換と可変長符号化を組み合わせた形式によっている。図3に、画像の高能率符号化の国際標準勧告の例を示した。図中のDCTはDiscrete Cosine Transform の略で離散型コサイン変換を意味している。
またDPCMはDifferential Pulse Code Modulationの略で過去の標本値に基づいて予測を行い、実際の標本値と予測値の誤差を符号化することによってデータ量を減らす予測符号化の一種である。
ところで以上に述べた圧縮方式は非可逆圧縮であって、圧縮された内容から圧縮前の信号が再現できないような種類の圧縮方式である。これに対して、圧縮された内容から圧縮前の信号が完全に再現できるような圧縮方式がある。これらは可逆圧縮方式と呼ばれる。この方法は、一定の符号化方式の信号から冗長度を除いてデータを圧縮し、圧縮したデータで記憶や通信を行って記憶容量や通信容量の削減を図り、再生、受信した際には圧縮野場合と逆の方式を用いて元の信号を再現する方式のものである。
本発明はこのような可逆圧縮方式のデータ圧縮記録方式に関し、ここで使用する圧縮アルゴリズムはIBM社のチップのALDCを用いたものである。
【0012】
ところで従来はこのような圧縮を実行する際には次のようにして実行されていた。
すなわち、データを磁気テープ等に圧縮記録する際には、非圧縮で記録されている磁気テープの記録内容をストリーマで一旦読み、一度ホストコンピュータを経由して圧縮装置を有するストリーマに改めて転送して圧縮記録するか、もしくは一旦ホストコンピュータで圧縮をかけてからストリーマで記録するようにしていた。
このような方法であると、ホストコンピュータとストリーマ間でデータが往復するようになるため時間がかかるし、ホストコンピュータのHDD(ハードディスク装置)やCPUタイム資源をもこの間利用しなければならないということになる。
【0013】
なおここでストリーマと呼ぶのは、ストリーミング・テープ装置のことであって、普通の磁気テープ装置のように1ブロックを読み書きする度にテープをスタート・ストップさせず、テープを止めずに読み書きが可能なように構成された磁気テープ装置である。
【0014】
実際には、ストリーマには圧縮機能を有する圧縮チップが内蔵されて搭載されている場合が多いが、これはホストコンピュータからテープへデータを一旦記憶させた後、テープからホストコンピュータへデータを戻す時に動作するような仕組みになっており、テープからテープへの転送するような場合には利用できない場合が多かった。
【0015】
また、ホストコンピュータからストリームデータとしてデータを受け取って、この受けとった非圧縮のデータを圧縮する場合に、最適な圧縮を行うために必要とされるブロックの大きさを予め用意することは不可能に近いし、圧縮したデータが圧縮する前のデータよりも逆に大きくなってしまうようなデータ列がきた場合に、圧縮を取り止めてもとの非圧縮のままでデータを書き込もうと思っても、それまでにホストコンピュータから送られてきた非圧縮データを溜め込んでおく巨大なバッファを用意しなければならなくなるので実用的ではなかった。
【0016】
【発明が解決しようとする課題】
上述のごとく、従来の磁気テープストリーマ装置を用いて、データを圧縮しようとすると、ホストコンピュータを用いる必要があり、また最適なバッファメモリ容量の決定に困難があり、圧縮したデータが圧縮する前のデータよりも大きくなる場合に対処しようとすると巨大なバッファを用意しなければならないという問題がある。
【0017】
本発明はこの点を解決して、ホストコンピュータの制御を離れてローカルにデータ圧縮が可能であり、データ圧縮に際して別途大規模なメモリを必要とせず、先読み最適化圧縮が可能で処理が高速なデータ圧縮記録装置を廉価に実現することを課題とする。
【0018】
【課題を解決するための手段】
上記目的を達成するため、本発明は、ホストコンピュータとの間でデータの送受信を行うデータインタフェース手段と、前記データインタフェース手段に接続され前記データインタフェース手段からの下り方向にはデータを圧縮し前記データインタフェース手段への上り方向にはデータを伸長するデータ圧伸手段と、前記データ圧伸手段からのデータおよびテープ制御手段からのデータを記憶するキャッシュメモリ手段と、前記キャッシュメモリ手段からのデータをテープ記録媒体に記憶し該テープ記録媒体に記憶されているデータを前記キャッシュメモリ手段に読み出すテープ制御手段とを備え、前記テープ記録媒体から前記キャッシュメモリ手段に読み出されたデータを、前記データ圧伸手段の前記データインタフェース手段からの下り方向側に転送するバイパス手段を設けたことを特徴とする。
【0019】
【発明の実施の形態】
以下、本発明にかかるデータ圧縮記録装置を添付図面を参照にして詳細に説明する。
図1は、本発明のデータ圧縮記録装置の一実施形態のブロック図である。
図1において、1は磁気テープストリーマ、2はホストコンピュータ、3はハードディスク装置、4はSCSI(Small Computer System Interface )である。
【0020】
図1でホストコンピュータ2にはSCSIフォマッタが接続されている。通常はこのホストコンピュータ2からの指示でSCSIフォマッタを介して磁気テープストリーマ1を働かせてデータをテープに読み書きする。
【0021】
ハードディスク装置3はホストコンピュータ2に接続されて外部記憶装置として働き、プログラムやデータを記憶する。
SCSI4は、磁気テープストリーマ1、ホストコンピュータ2を制御する信号線である。SCSI4は小型コンピュータ用の周辺装置インタフェースの1種であり、ANSI(米国規格協会)での規格化されている。
この方式では、コントローラを周辺装置側に持たせて、周辺装置をインテリジェント化してホストコンピュータ2側の負担を軽くしている。
またホストコンピュータ2の介在なしにコントローラ間でデータ転送が可能である。
【0022】
磁気テープストリーマ1は、SCSIコントローラとなるSCSI IC11と、データストリームを圧縮・伸長する圧伸IC12と、通常はホストコンピュータ2からのデータ転送速度とテープ装置15のデータ転送速度の差を吸収するために用いられるメモリであるキャッシュメモリ13と、コーダ・デコーダとして働くDSP(Digital Signal Processor)14と、磁気テープ装置15で構成されている。さらにキャッシュメモリ13から圧伸IC12の間にデータを折り返すバイパス回路16を設けてある。
【0023】
さらに磁気テープストリーマ1は、ホストコンピュータ2の介在なしにキャッシュメモリ13の記憶内容を選択して呼びだし、バイパス回路16を介して圧伸IC12に加えて圧縮を実行させ、その結果を改めてキャッシュメモリ13に記憶させる制御機能を持っている。
【0024】
図2は、本発明のデータ圧縮記録装置の圧縮記録を行う際の動作フローチャートである。図2にそって本実施形態のデータ圧縮記録装置でデータを圧縮記憶する際の動作について説明する。
【0025】
前提としてすでにホストコンピュータ2から非圧縮のデータがすでに磁気テープに書き込まれているものとする。
ホストコンピュータ2から磁気テープ上に記録されているデータが指定されて圧縮命令を受けると(ステップ101)、テープ装置15を駆動してテープから指定されたデータの一部を読み出してキャッシュメモリ13に記憶させる(ステップ102)。このデータを仮にデータAとする。
【0026】
このキャッシュメモリ13に記憶させたこのデータAをバイパス回路を経由して圧伸IC12に供給する(ステップ103)。
圧伸IC12はこのデータAに対して圧縮処理を行う(ステップ104)。
【0027】
圧縮されたデータをキャッシュメモリ13の別な位置に記憶させる(ステップ105)。このデータを仮にデータBとする。
次に、データBのメモリサイズとデータAのメモリサイズとを比較する(ステップ106)。
【0028】
比較の結果、データBのメモリサイズがデータAのメモリサイズよりも小さい場合は、データBをテープ装置15を介してテープに記憶する(ステップ107)。
もし、データAのメモリサイズがデータBのメモリサイズよりも小さい場合は、データAをテープ装置15を介してテープに記憶する(ステップ108)。このいずれの場合においても、まだ読んでいないテープの部分を上書きしそうな場合は、上書きせずにテープ上データを有効領域として保存するようにする。
【0029】
次にホストコンピュータ2から指定されたデータをすべて処理したかどうかを判定する(ステップ109)。終了していなければステップ102に戻って処理を続ける。全データを処理し終われば終了する。
【0030】
このようにすると、1台の磁気テープストリーマ1によって、非圧縮の形式ですでに磁気テープ上に記録されているデータを読み込んで圧縮されたデータに変換し、同一磁気テープ上に改めて上書きして圧縮テープを作成することができ、しかも、このときにはホストコンピュータ2の資源を一切使用しなくても圧縮テープを作成することができる。
【0031】
この時、バイパス回路16を用いてキャッシュメモリ13からのデータを圧伸IC12に戻せるようにしたので、キャッシュメモリ13に入った非圧縮データを再度圧伸IC12に戻し、一方方向だけしか圧縮動作しない磁気テープストリーマ1に内蔵されている圧伸IC12とキャッシュメモリ13を利用して磁気テープストリーマ1だけで圧縮ができる。
【0032】
また、用いているデータが、一度、非圧縮でテープに書き終わっているデータなので、そのデータパターンを先読みしながら圧縮をかけていくことができ、最適な圧縮ブロック化が可能になる。
もし、圧縮の結果データサイズが大きくなることがあっても元の非圧縮データがキャッシュメモリ13に潰されずに残っているので、非圧縮データの方をテープに書き込むように選択して必ずデータサイズの小さなデータを残すことができる。
この場合は、予め、非圧縮の元のデータをホストコンピュータ2からストリームデータとしてテープに書き込んであるので、テープを圧縮先読み用のバッファとして利用することができる。
【0033】
このように、ホストコンピュータ2からストリームデータとして非圧縮データをテープに書き込んだ後、テープ自身を大きな非圧縮データのバッファとして利用して、再度圧縮をかけながら書き直しているので、ホストコンピュータ2を用いないで効率的により小さなデータサイズに圧縮することができる。これによりデータ記録システムのボトルネックになる圧縮に必要な時間を後回しにして、データ転送だけを先行させ、以後はホストコンピュータ2にまったく負担をかけないで処理が実行できるので、効率が良くなり、結果的に高速にデータ圧縮記録が実現できることになる。
【0034】
【発明の効果】
以上説明したように、本発明の請求項1の発明は、ホストコンピュータとの間でデータの送受信を行うデータインタフェース手段と、前記データインタフェース手段に接続され前記データインタフェース手段からの下り方向にはデータを圧縮し前記データインタフェース手段への上り方向にはデータを伸長するデータ圧伸手段と、前記データ圧伸手段からのデータおよびテープ制御手段からのデータを記憶するキャッシュメモリ手段と、前記キャッシュメモリ手段からのデータをテープ記録媒体に記憶し該テープ記録媒体に記憶されているデータを前記キャッシュメモリ手段に読み出すテープ制御手段とを備え、前記テープ記録媒体から前記キャッシュメモリ手段に読み出されたデータを、前記データ圧伸手段の前記データインタフェース手段からの下り方向側に転送するバイパス手段を設けたことを特徴とする。
これにより、ホストコンピュータの制御を離れてデータ圧縮記録装置自身でローカルにデータ圧縮が可能になり、この間、ホストコンピュータのメモリや資源を用いないのでシステム全体としての処理を高速化することができる。
【0035】
本発明の請求項2の発明は、データ圧伸手段で圧縮処理を行ったデータとキャッシュメモリ手段に記憶されている圧縮処理前のデータとを比較し、データ記憶容量の小さいものをテープ記録媒体に記憶させるデータ比較選択手段をさらに具備することを特徴とする。
これにより、先読み最適化圧縮が可能になり、圧縮処理を行った結果にしたがって圧縮処理後のデータと圧縮処理以前のデータとの間でより容量の小さなデータを採用して記録することができる。
【0036】
本発明の請求項3の発明は、キャッシュメモリ手段からデータ圧伸手段のデータインタフェース手段側にバイパス手段を経由してデータを転送させるデータ転送制御手段を具備することを特徴とする。
これにより、ホストコンピュータの制御を離れてデータ圧縮記録装置自身でローカルにデータ圧縮が可能になり、この間、ホストコンピュータのメモリや資源を用いないのでシステム全体としての処理を高速化することができる。
【図面の簡単な説明】
【図1】本発明のデータ圧縮記録装置の一実施形態のブロック図。
【図2】図1に示すデータ圧縮記録装置による圧縮記録処理の動作フローチャート。
【図3】画像の高能率符号化の国際標準勧告を示す説明図。
【符号の説明】
1……磁気テープストリーマ、2……ホストコンピュータ、3……ハードディスク装置、4……SCSI、11……SCSI IC11、12……圧伸IC、13……キャッシュメモリ、14……DSP、15……テープ装置、16……バイパス回路。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data recording apparatus in which data is compressed and recorded, and more particularly, to a data compression recording apparatus that compresses data content that has already been recorded in a non-compressed manner and records it on the same recording medium.
[0002]
[Prior art]
Data compression is a technique for reducing the amount of data by removing redundancy of data, and has the advantage of reducing the capacity of a file for storing data and reducing the time for transmitting data via a communication line. In particular, image processing for processing image signals, facsimile communication, and the like handle an enormous amount of data, so data compression is essential.
[0003]
As an example of data compression, compression of sound digital signals such as voice and music is also used in MD (mini disk), DCC (digital compact cassette) and the like. When compressing these acoustic signals, the characteristics of the acoustic signals are used, or the human auditory characteristics are used.
[0004]
For example, when using the properties of an acoustic signal, if the frequency of the acoustic signal is analyzed by an FFT (Fast Fourier Transform) analyzer and it is found that the signal frequency component is concentrated to 10 kHz or less, the portion where the frequency spectrum component does not exist Does not record the transmission, and devise measures such as reducing the bit allocation to the small part of the frequency spectrum component.
Further, when using human auditory characteristics, for example, a masking effect is used such that if there is a loud sound, a small sound cannot be heard.
[0005]
Furthermore, as a method using high-efficiency coding, ATRAC (Adaptive Transform Acoustic Coding) used in MD, PASC (Precised Adaptive Subband Coding) used in DCC, US Dolby AC-3, US APT There are a system using ADPCM (Adaptive Differential Pulse Code Modulation) of the company, and a method using ADPCM and Coded Orthogonal Frequency Division Multiplexing (COFDM) modulator / demodulator developed by NHK. Technically, techniques such as delta PCM coding, LPG, CELP, VSELP, and ATC coder are currently utilized.
[0006]
An example of compression by high-efficiency coding of image signals is JPEG (Joint Photographic) which is a joint organization of ISO (International Organization for Standardization) and ITU-T (International Telecommunication Union Telecommunication Standardization Sector) for color still image coding. Coding Experts Group) has been working on standardization, and the coding method has already been standardized.
For videophone and videoconferencing, H.264 from ITU-T. An encoding method called H.261 is recommended.
[0007]
Furthermore, MPEG, which is a subordinate organization of JTC1 (International Standardization Technical Committee on Information Processing), where ISO (International Organization for Standardization) and IEC (International Electrotechnical Commission) work together to standardize the coding system for storing color moving images. (Moving Picture Coding Experts Group) is promoting standardization by dividing into three types of MPEG1, MPEG2 and MPEG4.
[0008]
Of these, MPEG1 has a transfer rate of about 1.5 Mbit / sec and is mainly intended for storage media such as CD-ROM, and has already become an international standard for ISO and IEC.
[0009]
MPEG2 covers a wide range of transfer speeds from several M bits / second to several tens of M bits / second, and has already become an international standard. In addition to the higher version of MPEG1 for storage media, it is also targeted for next-generation TV broadcasting and video transmission using broadband ISDN, and other general-purpose video encoding methods that can be used in common with storage media, broadcasting, and communication. The aims.
[0010]
MPEG4 is a video encoding method for a low bit rate with a transfer rate of several k bits / second, and is assumed to be used in mobile communication.
[0011]
High-efficiency coding of these images is based on a combination of predictive coding, orthogonal transform, and variable-length coding. FIG. 3 shows an example of an international standard recommendation for high-efficiency encoding of images. DCT in the figure is an abbreviation of Discrete Cosine Transform and means discrete cosine transform.
DPCM is an abbreviation for Differential Pulse Code Modulation, which is a type of predictive coding that performs prediction based on past sample values and encodes errors between actual sample values and predicted values to reduce the data amount.
By the way, the compression method described above is irreversible compression, and is a type of compression method in which a signal before compression cannot be reproduced from the compressed content. On the other hand, there is a compression method in which a signal before compression can be completely reproduced from the compressed content. These are called lossless compression methods. This method compresses data by removing redundancy from a signal of a certain encoding method, performs storage and communication with the compressed data to reduce storage capacity and communication capacity, and compresses data when played back and received This is a method of reproducing the original signal using a method reverse to that in the field.
The present invention relates to such a reversible compression type data compression and recording system, and the compression algorithm used here uses the ALDC of the IBM chip.
[0012]
Conventionally, when executing such compression, it has been executed as follows.
In other words, when data is compressed and recorded on a magnetic tape or the like, the recorded content of the magnetic tape that has been recorded uncompressed is read once with a streamer and once transferred to a streamer having a compression device via a host computer. It was recorded by compression, or once compressed by a host computer and then recorded by a streamer.
With such a method, it takes time because data goes back and forth between the host computer and the streamer, and the HDD (hard disk drive) and CPU time resources of the host computer must be used during this time. Become.
[0013]
Here, the streamer is a streaming tape device. Like a normal magnetic tape device, reading and writing can be done without stopping and starting the tape each time a block is read or written. This is a magnetic tape device configured as described above.
[0014]
In practice, streamers often have a built-in compression chip that has a compression function. This is when data is once stored from the host computer to the tape and then returned from the tape to the host computer. It is a mechanism that works, and in many cases it cannot be used when transferring from tape to tape.
[0015]
Also, when receiving data as stream data from the host computer and compressing the received non-compressed data, it is impossible to prepare in advance the block size required for optimal compression. If you have a data string that is close and the compressed data is larger than the data before compression, even if you want to write the data without compressing it, It was not practical because it would be necessary to prepare a huge buffer for storing uncompressed data sent from the host computer by the time.
[0016]
[Problems to be solved by the invention]
As described above, when data is compressed using a conventional magnetic tape streamer device, it is necessary to use a host computer, and it is difficult to determine the optimum buffer memory capacity. There is a problem that a huge buffer has to be prepared when trying to cope with the case where the data becomes larger than the data.
[0017]
The present invention solves this point and can perform data compression locally by leaving the control of the host computer, and does not require a separate large-scale memory for data compression, and can perform pre-reading optimization compression and high-speed processing. It is an object of the present invention to realize a data compression recording apparatus at low cost.
[0018]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a data interface means for transmitting / receiving data to / from a host computer, and compressing data in the downstream direction from the data interface means connected to the data interface means, Data companding means for expanding data in the upward direction to the interface means, cache memory means for storing data from the data companding means and data from the tape control means, and data from the cache memory means to the tape Tape control means for storing the data stored in the recording medium and reading the data stored in the tape recording medium to the cache memory means, and the data read from the tape recording medium to the cache memory means Down from the data interface means of the means Characterized in that a bypass means for transferring to the other side.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a data compression recording apparatus according to the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a block diagram of an embodiment of a data compression recording apparatus of the present invention.
In FIG. 1, 1 is a magnetic tape streamer, 2 is a host computer, 3 is a hard disk device, and 4 is a SCSI (Small Computer System Interface).
[0020]
In FIG. 1, a SCSI formatter is connected to the host computer 2. Normally, the magnetic tape streamer 1 is operated via the SCSI formatter in accordance with an instruction from the host computer 2 to read / write data from / to the tape.
[0021]
The hard disk device 3 is connected to the host computer 2 and functions as an external storage device, and stores programs and data.
The SCSI 4 is a signal line that controls the magnetic tape streamer 1 and the host computer 2. SCSI4 is a kind of peripheral device interface for small computers, and is standardized by ANSI (American National Standards Institute).
In this system, a controller is provided on the peripheral device side to make the peripheral device intelligent, thereby reducing the burden on the host computer 2 side.
Data can be transferred between controllers without the intervention of the host computer 2.
[0022]
The magnetic tape streamer 1 absorbs the difference between a SCSI IC 11 serving as a SCSI controller, a companding IC 12 for compressing / decompressing a data stream, and a data transfer rate from the host computer 2 and the data transfer rate of the tape device 15. A cache memory 13, a DSP (Digital Signal Processor) 14 serving as a coder / decoder, and a magnetic tape device 15. Further, a bypass circuit 16 for turning back data is provided between the cache memory 13 and the companding IC 12.
[0023]
Further, the magnetic tape streamer 1 selects and calls the stored contents of the cache memory 13 without the intervention of the host computer 2, causes the compression to be performed in addition to the companding IC 12 via the bypass circuit 16, and the result is renewed. It has a control function to memorize.
[0024]
FIG. 2 is an operation flowchart when performing compression recording of the data compression recording apparatus of the present invention. The operation when data is compressed and stored in the data compression recording apparatus of this embodiment will be described with reference to FIG.
[0025]
It is assumed that uncompressed data has already been written on the magnetic tape from the host computer 2 as a premise.
When the data recorded on the magnetic tape is designated from the host computer 2 and a compression command is received (step 101), the tape device 15 is driven to read a part of the designated data from the tape to the cache memory 13. Store (step 102). This data is assumed to be data A.
[0026]
The data A stored in the cache memory 13 is supplied to the companding IC 12 via a bypass circuit (step 103).
The companding IC 12 performs a compression process on the data A (step 104).
[0027]
The compressed data is stored in another location in the cache memory 13 (step 105). This data is assumed to be data B.
Next, the memory size of data B is compared with the memory size of data A (step 106).
[0028]
As a result of comparison, if the memory size of data B is smaller than the memory size of data A, data B is stored on the tape via the tape device 15 (step 107).
If the memory size of the data A is smaller than the memory size of the data B, the data A is stored on the tape via the tape device 15 (step 108). In any of these cases, if it is likely to overwrite a portion of the tape that has not yet been read, the data on the tape is stored as an effective area without being overwritten.
[0029]
Next, it is determined whether all data designated by the host computer 2 has been processed (step 109). If not completed, the process returns to step 102 and continues. The process ends when all data has been processed.
[0030]
In this way, a single magnetic tape streamer 1 reads data already recorded on the magnetic tape in an uncompressed format, converts it into compressed data, and overwrites it again on the same magnetic tape. A compressed tape can be created, and at this time, a compressed tape can be created without using any resources of the host computer 2.
[0031]
At this time, since the data from the cache memory 13 can be returned to the companding IC 12 using the bypass circuit 16, the uncompressed data stored in the cache memory 13 is returned to the companding IC 12 again, and the compression operation is performed only in one direction. Compression can be performed only by the magnetic tape streamer 1 using the compression IC 12 and the cache memory 13 incorporated in the magnetic tape streamer 1.
[0032]
In addition, since the data used is data that has been written to the tape without being compressed, the data pattern can be compressed while pre-reading, and an optimum compressed block can be formed.
Even if the data size is increased as a result of compression, the original uncompressed data remains in the cache memory 13 without being crushed. Therefore, the data size must be selected by selecting to write the uncompressed data to the tape. Can leave small data.
In this case, since the uncompressed original data is written in advance on the tape as stream data from the host computer 2, the tape can be used as a buffer for compression prefetching.
[0033]
In this way, after writing uncompressed data as stream data from the host computer 2 to the tape, the tape itself is used as a buffer for large uncompressed data and rewritten while being compressed again. Can be efficiently compressed to a smaller data size. As a result, the time required for compression, which becomes a bottleneck of the data recording system, is postponed, only data transfer is preceded, and the processing can be executed without any burden on the host computer 2 thereafter, so that the efficiency is improved. As a result, data compression recording can be realized at high speed.
[0034]
【The invention's effect】
As described above, according to the first aspect of the present invention, the data interface means for transmitting / receiving data to / from a host computer, and the data interface means connected to the data interface means in the downstream direction from the data interface means. Data compressing means for compressing the data and expanding the data in the upward direction to the data interface means, cache memory means for storing data from the data companding means and data from the tape control means, and the cache memory means And tape control means for reading data stored in the tape recording medium and reading the data stored in the tape recording medium to the cache memory means, and reading the data read from the tape recording medium to the cache memory means. The data interface of the data companding means Characterized in that the provided bypass means for transferring the downstream side from.
As a result, the data compression / recording apparatus itself can perform data compression away from the control of the host computer. During this time, since the memory and resources of the host computer are not used, the processing of the entire system can be accelerated.
[0035]
According to the second aspect of the present invention, the data compressed by the data companding means is compared with the data before the compression processing stored in the cache memory means, and the data having a small data storage capacity is recorded on the tape recording medium. It further comprises data comparison / selection means to be stored.
Accordingly, pre-reading optimization compression is possible, and data having a smaller capacity can be adopted and recorded between the data after the compression processing and the data before the compression processing according to the result of the compression processing.
[0036]
According to a third aspect of the present invention, there is provided data transfer control means for transferring data from the cache memory means to the data interface means side of the data decompression means via the bypass means.
As a result, the data compression / recording apparatus itself can perform data compression away from the control of the host computer. During this time, since the memory and resources of the host computer are not used, the processing of the entire system can be accelerated.
[Brief description of the drawings]
FIG. 1 is a block diagram of an embodiment of a data compression recording apparatus of the present invention.
FIG. 2 is an operation flowchart of compression recording processing by the data compression recording apparatus shown in FIG. 1;
FIG. 3 is an explanatory diagram showing international standard recommendations for high-efficiency encoding of images.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Magnetic tape streamer, 2 ... Host computer, 3 ... Hard disk drive, 4 ... SCSI, 11 ... SCSI IC11, 12 ... Companding IC, 13 ... Cache memory, 14 ... DSP, 15 ... ... tape device, 16 ... bypass circuit.

Claims (3)

ホストコンピュータとの間でデータの送受信を行うデータインタフェース手段と、
前記データインタフェース手段に接続され前記データインタフェース手段からの下り方向にはデータを圧縮し前記データインタフェース手段への上り方向にはデータを伸長するデータ圧伸手段と、
前記データ圧伸手段からのデータおよびテープ制御手段からのデータを記憶するキャッシュメモリ手段と、
前記キャッシュメモリ手段からのデータをテープ記録媒体に記憶し該テープ記録媒体に記憶されているデータを前記キャッシュメモリ手段に読み出すテープ制御手段とを備え、
前記テープ記録媒体から前記キャッシュメモリ手段に読み出されたデータを、前記データ圧伸手段前記データインタフェース手段からの下り方向側転送するバイパス手段を設けたことを特徴とするデータ圧縮記録装置。
Data interface means for transmitting and receiving data to and from the host computer;
Data companding means connected to the data interface means for compressing data in the downstream direction from the data interface means and decompressing data in the upward direction to the data interface means;
Cache memory means for storing data from the data companding means and data from the tape control means;
Tape control means for storing data from the cache memory means in a tape recording medium and reading data stored in the tape recording medium to the cache memory means;
The tape data read from the recording medium said cache memory means, said data compression recording apparatus characterized in that a bypass means for transferring the downstream side from the data interface unit of the data companding means.
前記データ圧伸手段で圧縮処理を行ったデータと前記キャッシュメモリ手段に記憶されている圧縮処理前のデータとを比較し、データ記憶容量の小さいものを前記テープ記録媒体に記憶させるデータ比較選択手段を具備することを特徴とする請求項1記載のデータ圧縮記録装置。  Data comparison / selection means for comparing the data compressed by the data companding means and the data before compression processing stored in the cache memory means, and storing the data having a small data storage capacity in the tape recording medium The data compression recording apparatus according to claim 1, further comprising: 前記キャッシュメモリ手段から前記データ圧伸手段の前記データインタフェース手段側に前記バイパス手段を経由してデータを転送させるデータ転送制御手段を具備することを特徴とする請求項1または請求項2記載のデータ圧縮記録装置。  3. The data according to claim 1, further comprising data transfer control means for transferring data from the cache memory means to the data interface means side of the data decompression means via the bypass means. Compression recording device.
JP21643996A 1996-08-16 1996-08-16 Data compression recording device Expired - Fee Related JP3794062B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21643996A JP3794062B2 (en) 1996-08-16 1996-08-16 Data compression recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21643996A JP3794062B2 (en) 1996-08-16 1996-08-16 Data compression recording device

Publications (2)

Publication Number Publication Date
JPH1063434A JPH1063434A (en) 1998-03-06
JP3794062B2 true JP3794062B2 (en) 2006-07-05

Family

ID=16688565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21643996A Expired - Fee Related JP3794062B2 (en) 1996-08-16 1996-08-16 Data compression recording device

Country Status (1)

Country Link
JP (1) JP3794062B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4677678B2 (en) * 2001-03-26 2011-04-27 ソニー株式会社 Recording medium, recording / reproducing apparatus, and recording / reproducing method

Also Published As

Publication number Publication date
JPH1063434A (en) 1998-03-06

Similar Documents

Publication Publication Date Title
US6308003B1 (en) Method of recording image data and method of reproducing information from optical disk
US6363211B1 (en) Data recording apparatus and method, data reproducing apparatus and method, data recording/reproducing apparatus and method, and transmission medium
KR950020674A (en) High speed video editing system
JP2003032617A (en) Data record reproducing device and method therefor
US6697958B1 (en) Method and apparatus for driving a recording medium, method and system for recording and reproducing information, and information supplying medium
JPH04359315A (en) Data compression controller and data restoration controller
JP3794062B2 (en) Data compression recording device
US20050210519A1 (en) Data recording/reproducing system, storage device, and file access method
US6069865A (en) Method and apparatus for cutting apart of a main signal and recording it as a synchronous signal
JP4239318B2 (en) Recording / reproducing method and recording / reproducing apparatus
JP2000276857A (en) Data recording device, data recording method, data reproducing device and data reproducing method
US20020056054A1 (en) Information recording and/or reproducing apparatus and method
JP3880487B2 (en) Encoding method conversion apparatus, encoding method conversion method, recording medium thereof, and program thereof
JP2000276856A (en) Device and method for recording data and device and method for reproducing data
WO1997047133A1 (en) Recording and reproducing device
JP3311821B2 (en) Video compression recording and playback device
JP2864950B2 (en) Management method of compressed video data
JPH10257422A (en) Image recording and reproducing device
JPH0715519A (en) Voice storage device
KR100508310B1 (en) Apparatus for recording and regenerating digital video therefor
JP2000293944A (en) Data recorder and data recording method, data reproducing device and data reproducing method, and recording medium
JP3900382B2 (en) Video signal processing apparatus and video signal processing method
KR100203265B1 (en) Image data decoder
JPH06295532A (en) Data processor
JPH10191255A (en) Recording device, reproducing device, recording/ reproducing device, recording method, reproducing method and recording/reproducing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050901

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060404

LAPS Cancellation because of no payment of annual fees