JPS62171232A - Data compressing and stretching device - Google Patents

Data compressing and stretching device

Info

Publication number
JPS62171232A
JPS62171232A JP61012416A JP1241686A JPS62171232A JP S62171232 A JPS62171232 A JP S62171232A JP 61012416 A JP61012416 A JP 61012416A JP 1241686 A JP1241686 A JP 1241686A JP S62171232 A JPS62171232 A JP S62171232A
Authority
JP
Japan
Prior art keywords
data
byte
long
compressor
short
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
JP61012416A
Other languages
Japanese (ja)
Inventor
Tsukasa Kudo
司 工藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61012416A priority Critical patent/JPS62171232A/en
Publication of JPS62171232A publication Critical patent/JPS62171232A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To efficiently attain recording or reproduction by providing a compressor compressing an inputted 2-byte length byte data into a 1-byte short-byte data and a stretcher converting the separator data separated by a reader into the data into the compressor and reproducing the result thereby minimizing the data compression. CONSTITUTION:The compressor 1 converts a signal into an expression data yk of a form shown in figure (b) or (c) and a byte length signal representing the data length of the data is outputted from a line sk together with the data converted and outputted. A recorder 2 packs a data of 1 state as shown in figure (c) among data outputted from the compressor 1 into the data shown in figure (d). Then the separator data is added and recorded in a recording medium 3 as the compressed data zj. At reproduction, the data compressed by a reader 4 is read. Then all numerical data yk outputted from the reader 4 based on the byte length signal sk by the expander 5 is expressed as the numeric data Xk of the 2-byte expression to reproduce the data before data compression.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、大量のデータをそのデータの示す情報内容
を変えることなくデータ全圧縮して記録し、かつ圧縮さ
れたデータ全伸長することにより再生を行なうデータの
圧縮伸長器に係り、特に入力されたデータを最小限の領
域に圧縮し、記録媒体に記録、あるいは再生することの
可能なデータの圧縮伸長器に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention records a large amount of data by fully compressing the data without changing the information content represented by the data, and by fully decompressing the compressed data. The present invention relates to a data compression/expansion device for reproduction, and particularly to a data compression/expansion device capable of compressing input data into a minimum area and recording or reproducing it on a recording medium.

〔従来の技術〕[Conventional technology]

画像信号あるいは計測データなどから得られた)影大な
データをデータ圧縮することなくそのままのデータで記
録媒体に記録しようとすると巨大な記録媒体が必要とな
る。そこで9画像信号などのデータを圧縮する場合にお
いては、その圧縮されたデータを再生して映像させた時
、その映像がデータ圧縮前のデータによる映像!すなわ
ち原画による映像と比較して人間が見た時に大差がない
と思われる範囲でデータを変形し、データ圧縮している
。また、このような従来のデータ圧縮方法のほかに、デ
ータの示す情報内容を全く損うことなくデータ圧縮する
方法として、各データの有効ビット数の長短を示すフラ
グをそれら各データに対して付加したり、あるいはそれ
ら各データのフラグを管理データとして上記データとは
別個に管理表に集合し、記録媒体のデータ記録番地以外
の他の番地にまとめて記録するようなことが行なわれる
If a large amount of data (obtained from image signals or measurement data, etc.) is to be recorded on a recording medium as is without data compression, a huge recording medium is required. Therefore, when compressing data such as 9-image signals, when the compressed data is played back and displayed as a video, the video is a video based on the data before data compression! In other words, the data is transformed and compressed to the extent that there is no significant difference when viewed by humans compared to the original image. In addition to these conventional data compression methods, a method for compressing data without compromising the information contained in the data is to add a flag to each piece of data that indicates the length of the effective number of bits. Alternatively, the flags of each of these data are collected as management data in a management table separately from the above data, and are collectively recorded at an address other than the data recording address on the recording medium.

ここで、データの有効ビット数の長短、すなわち個々の
データの記録領域の長さを記録する場合について、各デ
ータが12ビツトで構成されているときのデータ圧縮方
法を以下に説明する。
Here, regarding the case of recording the length of the effective bit number of data, that is, the length of the recording area of each data, a data compression method when each data is composed of 12 bits will be described below.

第2図軸)は一般的なA/D変換器(アナログデジタル
変換器)から出力される12ビツトのディジタル信号、
いわゆる1データのビットパターンを示すビット構成図
である。図において、CA)け0〜15のビット番号を
示し、(B)は2進法で示されるデータの「1」または
「0」が表わされるデータ内容であり、この図の場合ビ
ット番号Aの0〜7が「1」で、ビット番号Aの8〜1
oがl’−oJの場合を示す。
(Axis in Figure 2) is a 12-bit digital signal output from a general A/D converter (analog-digital converter),
FIG. 2 is a bit configuration diagram showing a bit pattern of so-called 1 data. In the figure, CA) shows the bit numbers 0 to 15, and (B) is the data content in which "1" or "0" of the data shown in binary is expressed. In this figure, bit number A 0 to 7 are "1", and bit number A is 8 to 1
The case where o is l'-oJ is shown.

ここで、第2図(alに示すようなビット番号Aの0〜
7が「1」で他のビット、すなわちビット番号Aの8〜
15が「0」であるデータの場合、このデータは本来1
バイトの領域以内のデータで示すことが可能である。
Here, bit number A 0 to 0 as shown in FIG. 2 (al)
7 is "1" and other bits, i.e. bit number A 8~
In the case of data where 15 is "0", this data is originally 1
It can be represented by data within a byte area.

従ってt A/D変換器から順次出力される各データに
ついてそれぞれ1バイトの領域以内のデータで示すこと
の可能なデータであるか、あるいは2バイトの領域が必
要であるかを入力されてぐる順に従って管理表(状態表
)に記録し、かつ上記1バイトの領域以内に入るデータ
を1バイトデータとして記録する。このように1バイト
領域のみで示すことの可能なデータを実際には半分のデ
ータ量で記録できるため、有効なデータ圧縮が可能とな
る。また、再生時に圧縮されたデータを上述の管理表の
データ、すなわち1バイトのデータであるか、2バイト
のデータであるか、に基づいて再生することによりデー
タ圧縮以前と全く同一の2バイトのデータに容易に再生
できる。
Therefore, for each piece of data sequentially output from the A/D converter, it is determined whether the data can be represented within a 1-byte area or whether a 2-byte area is required. The data is recorded in the management table (status table) according to the above-mentioned 1-byte area, and the data that falls within the 1-byte area is recorded as 1-byte data. In this way, data that can be represented in only a 1-byte area can actually be recorded with half the amount of data, making effective data compression possible. Also, by reproducing compressed data based on the data in the management table mentioned above, that is, whether it is 1-byte data or 2-byte data, it is possible to reproduce the same 2-byte data as before data compression. Data can be easily reproduced.

このようにして、従来のデータ圧縮は2バイトの各デー
タのうち1バイトで表現が可能なデータt−1バイトデ
ータに圧縮して記録するとともにう個々のデータが1バ
イトで表現したデータ(記録領域の短いデータ)である
か、あるいは2バイトのデータ(記録領域の長いデータ
)であるかを示す管理表を用いて記録していた。
In this way, conventional data compression compresses and records data that can be expressed in 1 byte out of 2 bytes of data (t-1 byte data), and also records data that can be expressed in 1 byte (recording). Recording was performed using a management table that indicates whether the data is 2-byte data (data with a short recording area) or 2-byte data (data with a long recording area).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら1以上のようにデータ圧縮が行なわれる従
来のデータの圧縮伸長器においてに、各データの記録領
域の長短を示す管理表などのデータ斌が膨大になること
があり、そのデータの記録媒体への書き込み、あるいは
読み出しに多くの時間を要し、芙用上多くの不満が発生
するという問題点があった。
However, in the conventional data compression/decompression device that compresses data as described above, the amount of data such as a management table showing the length of the recording area of each data may become enormous, and the storage medium of that data There is a problem in that it takes a long time to write or read data, resulting in many user complaints.

この発明は上記のような問題点を解消するためになされ
たもので、各データの記録領域の長短を示す管理表など
を全く用いず、かつ各データの示す情報内容を変えるこ
となく最小限にデータ圧縮することにより効率良く記録
、あるいは再生ができるデータの圧縮伸長器を得ること
を目的とする。
This invention was made to solve the above-mentioned problems, and it does not use any management table showing the length of the recording area of each data, and it minimizes the information content shown by each data without changing it. The object of the present invention is to obtain a data compression/expansion device that can efficiently record or reproduce data by compressing the data.

〔問題全解決するための手段〕[Means to solve all problems]

この発明にかかるデータの圧縮伸長器は、入力する2バ
イトの長バイトデータのうち1ノ々イトで表現可能なデ
ータ?、1バイトの短ノ(イトデータに圧縮する圧縮器
と、上記2バイトあるいは1)ぐイトデータのうち入力
されることのないビット構成のデータをセパレータデー
タとして上記圧縮器から連続して入力される1バイトデ
ータと2バイトデータとの切り替わり点に付加し、記録
媒体に記録する記録器と、その記録媒体から圧縮された
データを読み出し、セパレータデータと通常のデータに
分離する読み出し器と、そのセパレータデータから各デ
ータを上記圧縮器に入力されたデータに変換することに
より再生する伸長器とを備えたものである。
The data compression/decompression device according to the present invention is capable of handling data that can be expressed in one byte out of the input two-byte long byte data. , a compressor that compresses it into 1-byte short (item) data, and data with a bit structure that is never inputted among the above-mentioned 2-byte or 1-byte short data as separator data that is continuously input from the compressor. A recorder that adds data to a switching point between byte data and 2-byte data and records it on a recording medium, a reader that reads compressed data from the recording medium and separates it into separator data and normal data, and the separator data. and an decompressor that reproduces each data by converting it into data input to the compressor.

〔作用〕[Effect]

この発明におけるデータの圧縮伸長器は、圧縮器が入力
する2バイトデータのうち1バイト表現できる2バイト
データを1バイトに圧縮し、この圧縮したデータと共に
そのデータが長バイトであるか、あるいは短バイトであ
るかを示すバイト長信号を出力し、記録器が上記バイト
長信号に基づいてセパレータデータを連続する1バイト
データと2バイトデータの切り替わり点に差し込み、記
録媒体にデータ圧縮して記録し、あるいは読み出し器・
伸長器にエリ上記圧縮器に入力されたデータ、すなわち
圧縮前のデータと全く同一のデータに再生するので、各
データのバイト長を示す管理表を用いることなく、また
入力されるデータの情報内容を全く変えることなくデー
タの圧縮及び伸長が可能となる。
The data compression/decompression device of the present invention compresses 2-byte data that can be expressed by 1 byte among the 2-byte data input to the compressor into 1 byte, and determines whether the data is long byte or short. A byte length signal indicating whether the data is a byte is output, and the recorder inserts the separator data at the switching point between consecutive 1-byte data and 2-byte data based on the byte length signal, compresses the data, and records it on the recording medium. , or reader/
Since the decompressor reproduces the data that is exactly the same as the data input to the compressor, that is, the data before compression, there is no need to use a management table that indicates the byte length of each data, and the information content of the input data can be changed. Data can be compressed and expanded without changing anything.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を第1図〜第3図を参照の上
、説明する。第1図において、(1)は例えばA/D変
換器(図示せず)などからの12ビツトデータを入力し
、データ圧縮する圧縮器、(2)はこの圧縮器(1)か
らのデータにセパレータデータを付加し、記録制御する
記録器+(3)は上記各データを記録するための記録媒
体、(4)はこの記録媒体(3)に記録された圧縮デー
タを読み出し、そのデータのうちセパレータデータを分
離する読み出し器。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 3. In Figure 1, (1) is a compressor that inputs 12-bit data from, for example, an A/D converter (not shown) and compresses the data, and (2) is a compressor that compresses the data from the compressor (1). A recorder + (3) that adds separator data and controls recording is a recording medium for recording each of the above data, and (4) reads compressed data recorded on this recording medium (3), and among the data, Separator A reader that separates data.

(5)はこの読み出し器(4)からの圧縮データをそれ
ぞれ圧縮前のデータに伸長する伸長器である。また図中
、には1から始まる整数であり、A/D変換器において
12ビツトのA / D変換後、そのディジタルデータ
xk の時刻を示す。Ykは1バイトまたは2バイト表
現された数値データであり。
(5) is a decompressor that decompresses the compressed data from the reader (4) into uncompressed data. Further, in the figure, is an integer starting from 1, and indicates the time of the digital data xk after 12-bit A/D conversion in the A/D converter. Yk is numerical data expressed in 1 or 2 bytes.

Skはその数値データの長さを示す状態信号(バイト長
信号)である。さらに、zj  は圧縮データであり、
jはその順番を示す。Zj は圧縮データであり、zj
=zj(同一データ)である。Ykは1バイトまたは2
バイト表現された数値のデータ。
Sk is a status signal (byte length signal) indicating the length of the numerical data. Furthermore, zj is compressed data,
j indicates the order. Zj is compressed data, and zj
= zz (same data). Yk is 1 byte or 2
Numerical data expressed in bytes.

Skは状態信号であり+ Yk = yk、Sk = 
sk(それぞれ同一データ)である。Xki2バイト表
現されたデータ圧縮前と同一の数値データである。
Sk is a state signal + Yk = yk, Sk =
sk (each with the same data). Xki This is the same numerical data as before data compression expressed in 2 bytes.

ここでデータ圧縮、あるいは伸長が行なわれるデータの
ビット構成について説明する。通常12ビツトで示され
る数値データは2バイトの領域では、第2図(atに示
すように表現されていて、ビット番号Aの12〜15 
ビット目は常に「0」である。また第2図(a)におけ
る1) ビット目は符号ビットであり9例えばこの符号
ビットが「0」であれば「正」 を示し、「1」であれ
ば「負」 を示すように用いる。この符号ビットt−1
5ビツト目まで拡張し、第2図(b)で示すように表現
すると9このデータは2バイトで表現された数値のデー
タとなる。このデータの数値をyとすると、このyは。
Here, the bit structure of data to be compressed or expanded will be explained. Numerical data usually expressed in 12 bits is expressed in a 2-byte area as shown in Figure 2 (at), and bit numbers 12 to 15 of bit number A are expressed as shown in Figure 2 (at).
The th bit is always "0". Further, the 1st bit in FIG. 2(a) is a sign bit. For example, if this sign bit is "0", it indicates "positive", and if it is "1", it indicates "negative". This sign bit t-1
When expanded to the 5th bit and expressed as shown in FIG. 2(b), 9 this data becomes numerical data expressed in 2 bytes. If the numerical value of this data is y, then this y is.

−(2−1)≦y≦2−1・・・・・・(第1式)で表
わされる範囲の整数である。この工うなyの数値の範囲
内において。
−(2-1)≦y≦2-1 It is an integer in the range expressed by (Equation 1). Do not do this within the range of the numerical value of y.

−(2−1)≦y≦2−1 ・・・・・・(第2式)で
表わされる範囲の数値は実は1バイトの領域のデータで
表わせられ、第2図(c)に示すように表現することが
可能である。この状態を1状態と呼ぶ。
-(2-1)≦y≦2-1...The numerical values in the range expressed by (2nd formula) are actually expressed by data in a 1-byte area, as shown in Figure 2 (c). It is possible to express This state is called 1 state.

また上記第2式で示される数値の範囲以外の数値は第2
図(dlのように2バイトに2状態のデータを貯えるこ
とが可能である。
In addition, numerical values outside the numerical range shown in the second formula above are
Figure (It is possible to store two-state data in 2 bytes like dl.

ここで、上述の1状態で表現される数値のデータと2状
態で表現される数値のデータを連続データ上で区分する
ためのセパレータデータについて説明する。まず、1状
態のビットパタンにおいて。
Here, separator data for separating numerical data expressed in one state and numerical data expressed in two states on continuous data will be described. First, in the bit pattern of one state.

「10000000J という8ビツトのビットパタン
は1バイトで表現可能であるが、上記第2式の範囲には
ない数値データ(無効数値データ)である。
Although an 8-bit bit pattern of 10000000J can be expressed in one byte, it is numerical data (invalid numerical data) that is not within the range of the second equation above.

従って、このビットパタンを1状態についてのセパレー
タデータとして用いる。次に、2状態のビットパタンに
おいて、y=2 あるいはy=215+2 などの数値
は上記第1式の範囲を越える範囲外の数値であり、この
実施例の場合、入力データにはない。そこで、このY=
2  を連続する2状態データの終りを示すセパレータ
データとして用いる。
Therefore, this bit pattern is used as separator data for one state. Next, in the two-state bit pattern, a numerical value such as y=2 or y=215+2 is a numerical value outside the range exceeding the range of the first equation, and in the case of this embodiment, is not included in the input data. Therefore, this Y=
2 is used as separator data indicating the end of continuous two-state data.

以上のようにしてデータ圧縮あるいはセパレータデータ
を設定した上で9次のようにデータ処理を行なう。まず
、最初のデータは全て2バイトの状態に書き込むことに
する。すなわち、1状態の数値データが入力されるまで
、記録されたデータが2バイト表現のデータであるとし
て処理する。
After data compression or separator data is set as described above, data processing is performed as follows. First, all initial data will be written in 2-byte format. That is, until 1-state numerical data is input, the recorded data is processed as 2-byte data.

そして、1状態のデータが入力された時、上述した2状
態データの終りを示すセパレータデータを挿入し、その
のちに入力されft−1状態のデータを記録する。そし
て、1状態のデータが連続し1次に2状態のデータが入
力された時、上述した1状態の終了を示すセパレータデ
ータを挿入し、つづけてその2状態のデータを記録する
。このようにして入力する1バイトの連続データのうし
ろに1バイトで表現された数値データの終りを示すセパ
レータデータを付加し、また2バイトの連続データのう
しろに2バイトで表現された数値データの終りを示すセ
パレータデータを付加しながら連続的にデータ処理する
。そして、最後のデータは必らず2状態で書き込み、さ
らにその最後に終了マークとして2 +2 を付加する
。上述におけるデータ処理の遷移を示しkものが第3図
の遷移図であり2図のようにスター)?示すB状態から
1状態および2状態を遷移して最終のE状態に達するよ
う処理する。
Then, when the 1-state data is input, separator data indicating the end of the 2-state data described above is inserted, and the ft-1 state data input after that is recorded. Then, when data of one state is consecutive and data of two states is inputted first, separator data indicating the end of the one state described above is inserted, and the data of the two states are subsequently recorded. In this way, after the 1-byte continuous data input, separator data indicating the end of the numerical data expressed in 1 byte is added, and after the 2-byte continuous data, the numerical value expressed in 2 bytes is added. Data is processed continuously while adding separator data indicating the end of data. The last data is always written in two states, and 2 +2 is added to the end as an end mark. The transition diagram in Figure 3 shows the transition of data processing in the above, and the transition diagram shown in Figure 2 is a star). Processing is performed to transition from the B state shown in the figure to the 1st state and 2nd state to reach the final E state.

ここで上述のデータ処理を第1−の構成図により説明す
る。まず、第2式の範囲の判別、あるいはセパレータデ
ータの判別は簡単なビット演算で達成することとする。
Here, the above-mentioned data processing will be explained with reference to the first block diagram. First, it is assumed that determination of the range of the second expression or determination of separator data is achieved by simple bit operations.

ここで、第1図において、圧縮器(1)にXり第2図(
b) tたけ(c)の形式の表現データykに変換し。
Here, in FIG. 1, the compressor (1) is
b) Convert to expression data yk in the format of ttake(c).

変換されて出力されたデータとともに、そのデータのデ
ータ長さ、すなわち長バイト(2バイト)のデータであ
るか短バイト(1バイト)のデータであるかを示す信号
(バイト長信号) ’i Sk から出力する。記録器
(21では圧縮器(1)から出力されたデータのうち、
第2図(clに示されたよりな1状態のデータを同図(
dlに示すデータに詰める。そして番記録器(2)から
出力されるバイト長信号Skの変化に対応してセパレー
タデータを付加し、圧縮データZj  として記録媒体
(3)に記録する。
Along with the converted and output data, a signal (byte length signal) indicating the data length of the data, that is, whether it is long byte (2 bytes) data or short byte (1 byte) data (byte length signal) 'i Sk Output from. Of the data output from the compressor (1) in the recorder (21),
Figure 2 (the data for one state shown in cl) is shown in the same figure (
Fill in the data shown in dl. Then, separator data is added in response to changes in the byte length signal Sk output from the number recorder (2) and recorded on the recording medium (3) as compressed data Zj.

再生時は、読み出し器(4)により上述のようにして圧
縮されたデータを読み出し、それらデータのうちセパレ
ータデータを分離し、1バイト表現あるいは2バイト表
現された数値データYk  とそのデータのバイト長を
示すバイト長信号Sk i出力する。そして・伸長器(
5)により上記バイト長信号Sk に基づいて読み出し
器(4)から出力される全ての数値データykt2バイ
ト表現の数値データXk に表わし、データ圧縮前のデ
ータを再生する。
During playback, the reader (4) reads out the data compressed as described above, separates the separator data from the data, and outputs numerical data Yk expressed in 1-byte or 2-byte representation and the byte length of that data. Outputs a byte length signal Sk i indicating the byte length. And an extender (
5), all the numerical data ykt output from the reader (4) are expressed as numerical data Xk in 2-byte representation based on the byte length signal Sk, and the data before data compression is reproduced.

なお!上記実施例では圧縮後の短バイトデータ(1バイ
トデータ)を8ビツトのデータとして説明し比が、さら
に短い4ビツトの短バイトデータとし、入力する各デー
タをそれぞれ3つの長短データとしてデータ圧縮するよ
うにしても勿論良い。
In addition! In the above example, compressed short byte data (1 byte data) is explained as 8 bit data, and the ratio is even shorter as 4 bit short byte data, and each input data is compressed as 3 long and short data. Of course you can do it like this.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、長バイトのデータのデ
ータのうち短バイトで表現可能なデータを短バイトに圧
縮するとともに―長バイト及び短バイトの連続データの
バイト長切り替わり点にセパレータデータを挿入し、記
録媒体に対して記録あるいは再生するよう構成したので
、従来のような各データの記録領域の長短を示すデータ
量の膨大である管理表データを用いることがないため。
As described above, according to the present invention, data that can be expressed in short bytes among long byte data is compressed into short bytes, and separator data is inserted at the byte length switching point of continuous data of long bytes and short bytes. Since the data is inserted into the recording medium and recorded or reproduced, there is no need to use management table data, which is a huge amount of data that indicates the length of the recording area of each data as in the past.

その管理表データを記録媒体に書き込む、あるいは読み
出す時間が大幅に削減され、かつ圧縮以前のデータに各
データの持つ情報内容を全く損なうことなく圧縮、伸長
が行えるとともに、簡単な構成で効率良くデータ処理で
きるデータの圧縮伸長器が得られるという効果がある。
The time required to write or read the management table data to a recording medium is significantly reduced, and the uncompressed data can be compressed and decompressed without any loss of information contained in each data. This has the effect of providing a data compression/decompression device that can be processed.

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

第1囚はこの発明の一実施例によるデータの圧縮伸長器
を示す構成図・第2図(at〜(d)は第1図における
データ圧縮前後のデータのビット構成を示すビット構成
図、第3図は第1図におけるデータ記録、または再生時
の状態遷移を示す遷移図である。 図中、(1)は圧縮器、(2)は記録器、(3)は記録
媒体。 (4)は読み出し器、(5)は伸長器である。 なお、口中、同一符号は同一、または相当部分を示す。 以上
Figure 1 is a configuration diagram showing a data compression/decompression device according to an embodiment of the present invention. Figures 2 (at to (d) are bit configuration diagrams showing the bit configuration of data before and after data compression in Figure 1. Figure 3 is a transition diagram showing the state transition during data recording or reproduction in Figure 1. In the figure, (1) is a compressor, (2) is a recorder, and (3) is a recording medium. (4) is a reader, and (5) is an expander. Note that the same symbols in the mouth indicate the same or equivalent parts.

Claims (3)

【特許請求の範囲】[Claims] (1)各データが所定のビット数による長バイトで構成
されるデータを連続して入力し、それら各データのうち
上記所定のビット数より短いビット数で表現可能なデー
タを短バイトのデータに圧縮し、圧縮後のデータを上記
短バイトあるいは長バイトを示すバイト長信号とともに
出力する圧縮器と、上記複数のビットで示されるデータ
の中で、上記圧縮器に入力することのないビット構成の
長バイトあるいは短バイトデータをそれぞれのセパレー
タデータとして上記バイト長信号に基づいて、連続する
長バイトデータと短バイトデータとの切り替え点に付加
し、これらデータを記録媒体に連続して書き込む記録器
と、上記記録媒体から圧縮されたデータを読み出し、こ
の連続データのうちセパレータデータを分離することに
より各データのバイト長信号を作り、このバイト長信号
とともに各データを出力する読み出し器と、上記読み出
し器からのバイト長信号に基づき短バイトのデータを長
バイトのデータに変換することによつて上記読み出し器
から入力されるデータをすべて長バイトのデータに変換
して戻す伸長器とから成るデータの圧縮伸長器。
(1) Continuously input data each consisting of long bytes with a predetermined number of bits, and convert data that can be expressed with a shorter number of bits than the predetermined number of bits to short byte data. A compressor that compresses the compressed data and outputs the compressed data together with a byte length signal indicating the short byte or long byte, and a bit configuration of the data indicated by the plurality of bits that is not input to the compressor. A recorder that adds long byte or short byte data as respective separator data to a switching point between continuous long byte data and short byte data based on the above-mentioned byte length signal, and writes these data continuously on a recording medium. , a reader that reads compressed data from the recording medium, creates a byte length signal for each data by separating separator data from the continuous data, and outputs each data along with the byte length signal; and the reader and an expander that converts all the data input from the reader into long byte data and returns it by converting short byte data to long byte data based on the byte length signal from. Stretcher.
(2)上記圧縮器は入力する各データが2バイトから成
る長バイトのデータであり、このデータを1バイトの短
バイトデータに圧縮することを特徴とする特許請求の範
囲第1項記載のデータの圧縮伸長器。
(2) The data according to claim 1, wherein each input data of the compressor is long byte data consisting of 2 bytes, and compresses this data into 1 byte short byte data. Compressor and expander.
(3)上記圧縮器は数値を示す長バイトのデータを入力
するとともに、上記記録器は数値として無効な数値デー
タを上記長短各バイトのセパレータデータとして長短各
バイトデータの切替わり点に付加することを特徴とする
特許請求の範囲第1項ないし第2項記載のデータの圧縮
伸長器。
(3) The compressor inputs long byte data indicating a numerical value, and the recorder adds numerical data that is invalid as a numerical value to the switching point of each long and short byte data as separator data for each long and short byte. A data compression/expansion device according to claim 1 or 2, characterized in that:
JP61012416A 1986-01-23 1986-01-23 Data compressing and stretching device Pending JPS62171232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61012416A JPS62171232A (en) 1986-01-23 1986-01-23 Data compressing and stretching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61012416A JPS62171232A (en) 1986-01-23 1986-01-23 Data compressing and stretching device

Publications (1)

Publication Number Publication Date
JPS62171232A true JPS62171232A (en) 1987-07-28

Family

ID=11804658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61012416A Pending JPS62171232A (en) 1986-01-23 1986-01-23 Data compressing and stretching device

Country Status (1)

Country Link
JP (1) JPS62171232A (en)

Similar Documents

Publication Publication Date Title
JPH0278063A (en) Pcm data generating circuit and regenerating circuit
US4910780A (en) Audio signal recording and reproducing apparatus utilizing digital data compression and extension
JPH1091393A (en) Data buffering device
JPH04359315A (en) Data compression controller and data restoration controller
JPH04245789A (en) Method for managing data
JPS62171232A (en) Data compressing and stretching device
JPH088686B2 (en) Video processing apparatus and data modulation / demodulation method thereof
US6754649B2 (en) Apparatus and method for storing data in a storage medium, while saving storage areas which are used for holding a data path name and become necessary in response to the storing of data
US5675783A (en) CD-ROM XA data disc featuring display position data recorded thereon
JP3592504B2 (en) Digital still camera
KR101039003B1 (en) Image reproducing device of generating file index for searching image file easily and method thereof
KR950013375B1 (en) Signal compression recording and reproducing restoration method
JP2989417B2 (en) Digital information playback device
JPH05130557A (en) Method for editing multimedia data
JPH0283578A (en) Device and method for image data display
JPH0823474A (en) Moving picture index display device
JP2008091017A (en) Method and device for playing and editing video
US20020004722A1 (en) Voice speed converting apparatus
JPH07321663A (en) Reference position identification method and data compression expansion device
JPS6142045A (en) Image filing device
JP3791793B2 (en) Digital signal encoding method, decoding method, encoder, decoder, encoding program, and decoding program
JPH09293361A (en) Recording and reproducing apparatus
JP2573746B2 (en) Data compression device
JPH0283579A (en) Device and method for image data display
JPS58156239A (en) Compressing and expanding circuit of polygonal line