FIELD: information technology.
SUBSTANCE: number of zeros n0 and number of ones n1 is determined in a compressed data stream, an algorithm is selected for assigning non-repeating digital codes to all possible permutations with repetitions from n0 zeroes and n1 ones and finding the corresponding permutation with repetitions in accordance with the assigned digital code and the number of each character. A specific data stream from n0 zeroes and n1 ones is assigned a digital code Nc in accordance with the selected algorithm. The total number of characters in the digital code Nc nc is determined. The value d1 which is equal to the sum of n1 and n0 minus the value nc is determined, as well as the value d2 which is equal to half the difference between values n0 and n1, after which the assigned digital code Nc and values d1 and d2 are stored. To retrieve the data stream, reverse operations are carried out and in accordance with the selected algorithm on values n0, n1 and Nc, the specific permutation with repetitions from n0 zeroes and n1 ones is found, which corresponds to the initial data stream.
EFFECT: higher compression ratio of data and possibility of compressing previously compressed data.
2 tbl
Title | Year | Author | Number |
---|---|---|---|
COMPRESSION DATA STORAGE DEVICE AND DEVICE FOR ITS IMPLEMENTATION | 2019 |
|
RU2739705C1 |
METHOD OF COMPRESSING AND RETRIEVING DATA WITHOUT LOSS | 2008 |
|
RU2382492C1 |
DEVICE FOR DATA COMPRESSION | 2016 |
|
RU2622878C1 |
DATA DECOMPRESSION DEVICE | 2017 |
|
RU2658147C1 |
DEVICE FOR PACKING DATA | 2019 |
|
RU2701711C1 |
METHOD OF SOFT DECODING OF BLOCK CODES | 2015 |
|
RU2580797C1 |
METHOD, DEVICE AND COMPUTER SOFTWARE PRODUCT FOR FINGERPRINT MATCHING | 2007 |
|
RU2468429C2 |
DEVICE FOR DECOMPRESSION OF DATA | 2018 |
|
RU2697618C1 |
DEVICE FOR COMPRESSION OF DATA | 2017 |
|
RU2672625C1 |
AUTHENTICATION OF ELECTRONIC IMAGE | 2014 |
|
RU2568268C1 |
Authors
Dates
2010-11-10—Published
2009-02-09—Filed