JPS5816344A - Data compression and storage device - Google Patents
Data compression and storage deviceInfo
- Publication number
- JPS5816344A JPS5816344A JP11388081A JP11388081A JPS5816344A JP S5816344 A JPS5816344 A JP S5816344A JP 11388081 A JP11388081 A JP 11388081A JP 11388081 A JP11388081 A JP 11388081A JP S5816344 A JPS5816344 A JP S5816344A
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- signal
- comparison
- outputs
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M7/46—Conversion to or from run-length codes, i.e. by representing the number of consecutive digits, or groups of digits, of the same kind by a code word and a digit indicative of that kind
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
【発明の詳細な説明】
本発明はデータ処理装置におけるデータ圧縮記憶装置に
関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data compression storage device in a data processing device.
従来の記憶装置は送られてきたデータをそのまま書き込
むため記憶するデータ量が増大しかつデータの転送に時
間を要するという欠点があった。Conventional storage devices have disadvantages in that the amount of data to be stored increases and it takes time to transfer the data because the data sent to them is written as is.
本発明の目的は記憶されるデータ量を削減し転送時間を
短縮できるデータ圧縮記憶装置を提供することにある。An object of the present invention is to provide a data compression storage device that can reduce the amount of stored data and shorten transfer time.
すなわち1本発明の目的は連続する同一データフレーム
の数を計数し同一データが連続した場合にはそQ連続し
た数をデータの次に記憶装置に書き込み同一データが連
続した場合において記憶するデータ量を削減することに
より記憶するデータ量が少くかつデータ転送時間の少い
データ圧縮記憶装置Iを提供することにある。In other words, one purpose of the present invention is to count the number of consecutive identical data frames, and when the same data is consecutive, write the consecutive number to the storage device next to the data and calculate the amount of data to be stored when the same data is consecutive. The object of the present invention is to provide a data compression storage device I which stores a small amount of data and reduces data transfer time by reducing the amount of data.
本発明は入力データを一時保持するラッチ回路と前記ラ
ッチ回路に保持されたデータと新たなデータとを比較す
る比較器と前記比較器の一致出力により計数する計数器
とを備え、連続した同一′カデータが入力された場合最
初Q入力データを書き込み、以FC)入力データが入力
された場合比較器が一致出力を出している時Vi書き込
みを中止し比較器が不一致出力を出した時前記計数器の
値とヤ。デー2が計数値である。とを示す’v −易(
。The present invention includes a latch circuit that temporarily holds input data, a comparator that compares the data held in the latch circuit with new data, and a counter that counts based on the coincidence output of the comparator. When FC data is input, Q input data is written first. When FC) input data is input, when the comparator outputs a match output, Vi writing is stopped. When the comparator outputs a mismatch output, the counter The value of and ya. Day 2 is the count value. 'v − い(
.
トを11′にして誉き込む手段を含んで構成される。11'.
本発明のデータ圧縮記憶装置は、入力データを一時保持
し比較データとして出方するラッチ回路と、前記比較デ
ータと新たな人力データとを比較し一致したとき比較一
致信号を出方する比較回路と、前記比較一致信号に応じ
て計数し計数信号を出力する#数回路と、前記比較一致
信号か供給されたことにより書込データとして前記入力
データの代りに前記it数倍信号出力する切りかえ回路
と比較器が不一致出力を出したときに計数信号と1込デ
ータが計数データであることを示すマーカーピットを′
″1′にして書きこみ次の書込データを皐
誉き込だ記憶装置と?含んで構成される。The data compression storage device of the present invention includes a latch circuit that temporarily holds input data and outputs it as comparison data, and a comparison circuit that compares the comparison data with new human data and outputs a comparison match signal when they match. , a # number circuit that counts according to the comparison match signal and outputs a count signal; and a switching circuit that outputs the it number times signal instead of the input data as write data when the comparison match signal is supplied. When the comparator outputs a discrepancy output, a marker pit is added to indicate that the count signal and 1-inclusive data are count data.
It is configured to include a storage device in which the next write data is written to ``1''.
次に1本発明の実施列について、図面を参照して詳細に
説明する。Next, one embodiment of the present invention will be described in detail with reference to the drawings.
第1図は本発明の一実施例を示すブロック図で第2図は
第1図に示す実施例に供給される入力データおよびこの
入力データに対応する書込データおよびマーカピッ牛の
それぞれの一例を示すデータ構成図である。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 shows an example of input data supplied to the embodiment shown in FIG. 1, write data corresponding to this input data, and marker picks. FIG.
第1図に示すデータ圧縮記憶装置は、入力データ10を
一時保持し比較データ19として出力するラッチ回路3
と、前記比較データ19と入力データ10とを比較して
一致したときに比較一致信号12t−出力する比較回路
4と、同一データフレームの連続数を計数し計数信号1
8を出力する計数回路2と、前記計数信号18と前記入
力データ10とを切りかえる指示信号13に従って切り
かえて書込データ14として出力する切りかえ回路6と
、書込データ14を記憶する記憶回路1と、前記比較一
致信号12にもとづいて計数指示信号11と切りかえ指
示便号13と記憶する書入データ14が計数信号18で
あることを示すマーカーピット16を出力するとともに
書込指示信号15を出力する制御回路5とを含んで構成
される。なお、計数回路2と制御回路5は初期化すると
きにはリセット信号17が供給される。The data compression storage device shown in FIG. 1 includes a latch circuit 3 that temporarily holds input data 10 and outputs it as comparison data 19.
, a comparison circuit 4 which compares the comparison data 19 and input data 10 and outputs a comparison match signal 12t when they match; and a comparison circuit 4 which counts the number of consecutive identical data frames and outputs a count signal 1.
8; a switching circuit 6 that switches between the count signal 18 and the input data 10 according to the instruction signal 13 and outputs the result as write data 14; and a storage circuit 1 that stores the write data 14. , based on the comparison match signal 12, outputs a marker pit 16 indicating that the count instruction signal 11 is switched to the instruction code 13 and the write data 14 to be stored is the count signal 18, and outputs the write instruction signal 15. The control circuit 5 is configured to include a control circuit 5. Note that a reset signal 17 is supplied to the counting circuit 2 and the control circuit 5 when initializing them.
データ金書き込む場合には、あらかじめ計数回路2およ
び制御回路5はリセット信号17により初期化され切り
かえ回路6は制御回路5がら供給される切りかえ指示信
号13により入力データ1゜を選択するようにしておき
、また、制御回路5からのマーカーピット16もk0g
にしておく。When writing data, the counting circuit 2 and the control circuit 5 are initialized in advance by the reset signal 17, and the switching circuit 6 is configured to select input data 1° by the switching instruction signal 13 supplied from the control circuit 5. , the marker pit 16 from the control circuit 5 is also k0g.
Keep it.
最初におくられてきた入力データ1oは切りかえ回路6
を通して書込データ14となり制御回路5から供給され
る書込指示信号15により記憶回路lに書き込まれると
共にラッチ回路3に比較データ19として出力されるよ
うに保持される。The first input data 1o sent to the switching circuit 6
The write data 14 is written into the memory circuit l by the write instruction signal 15 supplied from the control circuit 5, and is held so as to be outputted to the latch circuit 3 as comparison data 19.
次におくられてきた人力データ10は先に送られてラッ
チ回路3に保持されている比較データ19と比較回路4
で比較される。入力データloと比較データ19とが一
致していれば比較一致信号12が′11となり制御回路
5に入力される。Next, the human power data 10 that is sent is compared with the comparison data 19 that is sent first and is held in the latch circuit 3 and the comparison circuit 4.
are compared. If the input data lo and the comparison data 19 match, the comparison match signal 12 becomes '11' and is input to the control circuit 5.
制御回路5は比較一致信号12が%1gであれば計数指
示信号11t−’1’とし計数回路2はこ■信号により
計数する。また、このとき、制御回路5から出力されて
いる書込指示信号15tr O’となっており、書込デ
ータ14は書き込まれない。If the comparison match signal 12 is %1g, the control circuit 5 sets a count instruction signal 11t-'1', and the counting circuit 2 counts based on this signal. Further, at this time, the write instruction signal 15trO' is output from the control circuit 5, and the write data 14 is not written.
このようにして入力データ1oが前のデータと一致して
いれば計数回路2が計数されるだけで書込データは記憶
回路1に書き込まれない。In this way, if the input data 1o matches the previous data, the counting circuit 2 only counts and the write data is not written to the memory circuit 1.
入力データlOが2個以上連続して一致したのち次の入
力データ10が前のデータと一致しないことを比較回路
4が検出すると比較一致信号12が10′となる。When the comparison circuit 4 detects that the next input data 10 does not match the previous data after two or more pieces of input data 10 match consecutively, the comparison match signal 12 becomes 10'.
制御回路5は比較一致信号12が101となったことに
より、まず、切9がi指示信号13Vcより切りかえ回
路6を計数回路2から出方されている計数信号18に切
りかえ、この計数信号18を書込データ14とするとと
もにマーカーピット16を%1jにし書込指示信号15
を11′にし記憶回路1に計数信号18とマーカーピッ
ト16として11′を書き込む。Since the comparison match signal 12 becomes 101, the control circuit 5 first switches the switching circuit 6 from the i instruction signal 13Vc to the counting signal 18 output from the counting circuit 2, and converts this counting signal 18 into The write data is set to 14, the marker pit 16 is set to %1j, and the write instruction signal is set to 15.
is set to 11' and 11' is written in the memory circuit 1 as the count signal 18 and marker pit 16.
同一データが連続しない場合、制御回路5は常に切りか
え指示信号13により切りかえ回路6を入力データ10
の側にし、またマーカービット16を101にし入力デ
ータ10を常に記憶回路lに書き込んでいく。When the same data is not consecutive, the control circuit 5 always uses the switching instruction signal 13 to switch the switching circuit 6 to the input data 10.
, and the marker bit 16 is set to 101, and the input data 10 is always written to the memory circuit l.
第2図は入力データ101に記憶回路lに書き込むとき
に、記憶回路1に書き込まれる書込データ14およびこ
の書込データ14の各フレームに対応したマーカービッ
ト16e示したもので同一データがあった場合データフ
レームへ計数値5.マーカーピット11′というように
順次記憶回路に書き込まれる。FIG. 2 shows the write data 14 written to the memory circuit 1 and the marker bits 16e corresponding to each frame of the write data 14 when input data 101 is written to the memory circuit l, indicating that the same data is present. If the count value to the data frame 5. The marker pits 11' are sequentially written into the memory circuit.
本発明のデータ圧縮記憶装置は連続した同一データを圧
縮することにより記憶するデータが削減され、転送速度
を向上できるという効果がある。The data compression storage device of the present invention has the effect of reducing the amount of data to be stored by compressing the same continuous data and improving the transfer speed.
第1図は本発明Q−実施例を示すブロック図。
第2図は第1図に示す実施例に供給される人力データお
よびこの入力データに対応する書込データおよびマーカ
ーピットのそれぞれの一例を示すデータ構成図である。FIG. 1 is a block diagram showing a Q-embodiment of the present invention. FIG. 2 is a data configuration diagram showing an example of the human data supplied to the embodiment shown in FIG. 1, and write data and marker pits corresponding to this input data.
Claims (1)
チ回路と、@記比較データと新たな入力データとを比較
し一致したとき比較一致信号を出力する比較回路と、前
記比較一致信号に応じて計数し計数信号を出力する計数
回路と、前記比較一致信号が供給されたことにより書込
データとして前記入力データQ代9VC前記計数信号を
出力する切りかえ回路と、比較器が不一致出力を出した
ときに計数信号と書込データが計数データであることを
示すマーカービットを″l ’Kl、て書きこみ次の書
込データを書きメ笈記憶回路とを含むことを特徴とする
データ圧縮記憶装置。A latch circuit that temporarily holds input data and outputs it as comparison data, a comparison circuit that compares the comparison data and new input data and outputs a comparison match signal when they match, and a comparator circuit that performs counting according to the comparison match signal. A counting circuit that outputs a counting signal, a switching circuit that outputs the input data Q 9VC as write data when the comparison match signal is supplied, and a switching circuit that outputs the counting signal when the comparator outputs a mismatch output. 1. A data compression storage device comprising a signal and a memory circuit for writing a marker bit indicating that the write data is counting data and writing the next write data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11388081A JPS5816344A (en) | 1981-07-21 | 1981-07-21 | Data compression and storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11388081A JPS5816344A (en) | 1981-07-21 | 1981-07-21 | Data compression and storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5816344A true JPS5816344A (en) | 1983-01-31 |
Family
ID=14623428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11388081A Pending JPS5816344A (en) | 1981-07-21 | 1981-07-21 | Data compression and storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5816344A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60242731A (en) * | 1984-05-17 | 1985-12-02 | Sony Tektronix Corp | Digital pattern compressing method |
EP0166023A2 (en) * | 1983-08-08 | 1986-01-02 | Hitachi, Ltd. | Method and system for data compression and restoration |
EP0283735A2 (en) * | 1987-02-24 | 1988-09-28 | Hayes Microcomputer Products, Inc. | Adaptive data compression method and apparatus |
JPH0629861A (en) * | 1990-12-31 | 1994-02-04 | Internatl Business Mach Corp <Ibm> | Data compression method |
JPH0816458A (en) * | 1994-06-29 | 1996-01-19 | Nec Corp | Buffer access control circuit |
-
1981
- 1981-07-21 JP JP11388081A patent/JPS5816344A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0166023A2 (en) * | 1983-08-08 | 1986-01-02 | Hitachi, Ltd. | Method and system for data compression and restoration |
JPS60242731A (en) * | 1984-05-17 | 1985-12-02 | Sony Tektronix Corp | Digital pattern compressing method |
JPH026251B2 (en) * | 1984-05-17 | 1990-02-08 | Sony Tektronix Corp | |
EP0283735A2 (en) * | 1987-02-24 | 1988-09-28 | Hayes Microcomputer Products, Inc. | Adaptive data compression method and apparatus |
JPH0629861A (en) * | 1990-12-31 | 1994-02-04 | Internatl Business Mach Corp <Ibm> | Data compression method |
JPH0816458A (en) * | 1994-06-29 | 1996-01-19 | Nec Corp | Buffer access control circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3675211A (en) | Data compaction using modified variable-length coding | |
US4558302A (en) | High speed data compression and decompression apparatus and method | |
US6580378B1 (en) | Method and apparatus for digital data enumeration | |
GB1372907A (en) | Digital data transfer systems | |
JPS5816344A (en) | Data compression and storage device | |
JPS5644946A (en) | Code error correction and detection system | |
JPS5628560A (en) | Compression data restoration system | |
US3993980A (en) | System for hard wiring information into integrated circuit elements | |
JPS5875244A (en) | Data compressing and storing system | |
JPS58102314A (en) | Data compressing circuit | |
JPS5415620A (en) | Buffer memory unit | |
JPS6352812B2 (en) | ||
JPH02218224A (en) | Data transferring method | |
JPS58117044A (en) | Data processing system | |
JPS5619507A (en) | Coding system | |
JPS5619134A (en) | Direct memory access control unit | |
JPS55136753A (en) | Compressed data recovery system | |
JPS62284526A (en) | Data string conversion circuit | |
JPS573471A (en) | Decoder | |
SU1531160A1 (en) | Memory unit | |
JPS61131032A (en) | Voice data accumulating system | |
JPS60143087A (en) | Buffer memory control circuit | |
SU379054A1 (en) | COMMERCIAL DEVICEJViU "I _ ^ 7" ". ^" ^ - | |
SU1656574A1 (en) | Data compressor | |
JPS61256842A (en) | Two frame memory circuit |