KR101676420B1 - Data compression and restoration method and apparatus - Google Patents
Data compression and restoration method and apparatus Download PDFInfo
- Publication number
- KR101676420B1 KR101676420B1 KR1020150094078A KR20150094078A KR101676420B1 KR 101676420 B1 KR101676420 B1 KR 101676420B1 KR 1020150094078 A KR1020150094078 A KR 1020150094078A KR 20150094078 A KR20150094078 A KR 20150094078A KR 101676420 B1 KR101676420 B1 KR 101676420B1
- Authority
- KR
- South Korea
- Prior art keywords
- potential
- clusters
- pattern
- compression
- transition
- Prior art date
Links
Images
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/3059—Digital compression and data reduction techniques where the original information is represented by a subset or similar information, e.g. lossy compression
- H03M7/3064—Segmenting
Abstract
The present invention is characterized in that the compression unit divides the original binary data into a plurality of clusters, and divides the original binary data by 0 and 1 for each 01 included in the original binary data. A compression step of generating, for each of the plurality of clusters, a plurality of compression clusters by adding 1 after deleting 1 of the most significant bits of each cluster; And an outputting step of outputting the plurality of compressed clusters.
Description
The present invention relates to a method and apparatus for compressing and restoring data, and more particularly, to a method and apparatus for compressing and restoring binary data efficiently and efficiently through simple computation and hardware configuration, And more particularly, to a method and apparatus for compressing and restoring data.
In general, since the frequency bandwidth available in a normal transmission channel is limited, various transmission systems such as a modem have used an effective data compression technique to compress or reduce the amount of transmission data in order to transmit a large amount of data.
One of the various compression schemes is the CCITT V.42 bis employed in a data transmission system such as a modem with a coding algorithm standardized by the International Telecommunication Union (ITU). The basis applied to this coding standard is a Ziv-Lempel code (ZLC). In this method, an address value of a dictionary storing the same phrase as the previous input data is formed as a codeword while adaptively forming a dictionary from the input data. Lt; / RTI > The dictionary operation performs a continuous string matching with the input data to update the dictionary by adding the unmatched characters to the maximum matching string and adding them to the dictionary.
However, such a conventional compression method requires complicated processing of data compression and decompression, requires a relatively high-performance hardware device, limits the improvement of the processing speed, and increases the reliability of the compression result value there was.
The background art of the present invention is disclosed in Korean Patent Laid-Open Publication No. 1999-0022960 (published on Mar. 25, 1999).
According to an aspect of the present invention, there is provided an apparatus and method for compressing and restoring binary data quickly and efficiently through a simple operation and a hardware configuration, and also has excellent compression rate and reliability of compressed data and restored data And to provide a method and apparatus for compressing and restoring data that can improve transmission efficiency and speed in data transmission.
According to an aspect of the present invention, there is provided a method of dividing original binary data into a plurality of clusters, the method comprising: a division step of dividing the original binary data by 0 and 1 for each 01 included in the original binary data; The compression unit deletes 1 of the most significant bits of each cluster for each of the plurality of clusters and then adds 1 to generate a plurality of compression clusters or deletes 1 of the most significant bits of each cluster for each of the plurality of clusters A compression step of generating a plurality of compressed clusters; And an outputting step of outputting the plurality of compressed clusters.
In the present invention, the compression unit further includes a conversion step of converting 1 and 0 included in each compression cluster into a first transition pattern and a second transition pattern, each having a transition pattern of mutually different potentials, And outputting the compressed cluster converted by the step.
In the present invention, in the conversion step, the compression unit adds a pauses between neighboring compression clusters.
In the present invention, the transition pattern is a transition between a first potential of a positive potential and a second potential of a negative potential, the first transition pattern being a transition from the first potential to the second potential, A pattern that transitions from the second potential to the first potential; Or the first transition pattern is a pattern of transition from the second potential to the first potential and the second transition pattern is a pattern of transitioning from the first potential to the second potential.
In the present invention, the idle period is characterized in that a period of a specific potential is maintained for a predetermined period.
In the present invention, before the dividing step, the compressing unit further comprises adding 1 to the most significant bit of the original binary data and 0 after the least significant bit.
According to another aspect of the present invention, there is provided a method of generating binary data, the method comprising: dividing the original binary data into a plurality of clusters; The compressing step compresses each of the plurality of clusters to generate a plurality of compressed clusters; A conversion step of converting the 1 and 0 included in each compression cluster into a first transition pattern and a second transition pattern having a transition pattern having mutually different potentials; And outputting the compressed cluster converted by the output step in the converting step.
In the present invention, in the conversion step, the compression unit adds a pauses between neighboring compression clusters.
In the present invention, the transition pattern is a transition between a first potential of a positive potential and a second potential of a negative potential, the first transition pattern being a transition from the first potential to the second potential, A pattern that transitions from the second potential to the first potential; Or the first transition pattern is a pattern of transition from the second potential to the first potential and the second transition pattern is a pattern of transitioning from the first potential to the second potential.
In the present invention, the rest period is characterized in that a section of a specific potential is maintained for a predetermined period.
According to another aspect of the present invention, there is provided a data restoration method for restoring binary data compressed by a data compression method.
According to another aspect of the present invention, there is provided a method of dividing original binary data into a plurality of clusters, each of which is divided into 0s and 1s by 01 included in the original binary data, A compression section for generating a plurality of compressed clusters by adding 1 after deleting 1 of the most significant bits of the plurality of clusters or deleting 1 of the most significant bits of each cluster for each of the plurality of clusters; And an output unit for outputting the plurality of compressed clusters.
In the present invention, the compression unit converts 1 and 0 included in each compression cluster into a first transition pattern and a second transition pattern having transition patterns with mutually different potentials, and the output unit outputs the converted compression clusters .
In the present invention, at the time of conversion into the first transition pattern and the second transition pattern, the compression section adds a rest period between neighboring compression clusters.
In the present invention, the transition pattern is a transition between a first potential of a positive potential and a second potential of a negative potential, the first transition pattern being a transition from the first potential to the second potential, A pattern that transitions from the second potential to the first potential; Or the first transition pattern is a pattern of transition from the second potential to the first potential and the second transition pattern is a pattern of transitioning from the first potential to the second potential.
In the present invention, the idle period is characterized in that a period of a specific potential is maintained for a predetermined period.
In the present invention, before the division of the original binary data, the compression unit adds 1 to the most significant bit of the original binary data and 0 after the least significant bit.
According to still another aspect of the present invention, there is provided a method of dividing original binary data into a plurality of clusters, compressing each of the plurality of clusters to generate a plurality of compressed clusters, 0 into a first transition pattern and a second transition pattern having mutually different potential transition patterns; And an output unit outputting the converted compressed clusters.
In the present invention, at the time of conversion into the first transition pattern and the second transition pattern, the compression section adds a rest period between neighboring compression clusters.
In the present invention, the transition pattern is a transition between a first potential of a positive potential and a second potential of a negative potential, the first transition pattern being a transition from the first potential to the second potential, A pattern that transitions from the second potential to the first potential; Or the first transition pattern is a pattern of transition from the second potential to the first potential and the second transition pattern is a pattern of transitioning from the first potential to the second potential.
In the present invention, the idle period is characterized in that a period of a specific potential is maintained for a predetermined period.
According to another aspect of the present invention, there is provided a data restoration apparatus for restoring binary data compressed by a data compression apparatus.
According to one aspect of the present invention, a method and apparatus for compressing and restoring data can quickly and efficiently compress and restore binary data through a simple operation and a hardware configuration, and also has excellent compression rate and reliability of compressed data and restored data The transmission efficiency and the speed of data transmission can be improved.
1 is a block diagram of a data compression apparatus and a decompression apparatus according to an embodiment of the present invention.
2 is a flowchart illustrating a data compression method according to an embodiment of the present invention.
3 is a flowchart illustrating a method of restoring data according to an embodiment of the present invention.
4 is a conceptual diagram for explaining conversion of a compression cluster into a signal of a transition pattern in this embodiment.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and like parts are denoted by similar reference numerals throughout the specification.
Throughout the specification, when an element is referred to as "comprising ", it means that it can include other elements as well, without excluding other elements unless specifically stated otherwise.
FIG. 1 is a block diagram of a data compression apparatus and a decompression apparatus according to an embodiment of the present invention. Referring to FIG. 1, an embodiment according to the present invention will be described below.
As shown in FIG. 1, the binary
First, the
Also, for output through the
At the same time, when the
The
1, the
The operation and operation of the present embodiment thus configured will be described in detail with reference to Figs. 1 to 4. Fig.
FIG. 2 is a flowchart for explaining a data compression method according to an embodiment of the present invention. FIG. 3 is a flowchart for explaining a data restoration method according to an embodiment of the present invention. A data compressing method and a restoring method according to the present embodiment will be described with reference to the concept of converting a compressed cluster into a signal of a transition pattern in the embodiment.
First, as shown in FIG. 2, the
1 010010111001101100 0
Can be obtained.
Next, the
10/100/10/11100/110/11000
. As a result, it is possible to obtain a plurality of binary clusters each consisting of one or more 1s in the upper bit and one or more zeros in the lower bit.
Next, the
A plurality of compressed clusters such as 1/01/1/1101/11/1001 are generated. If you have more than one 0 on the most significant bit after compression, such as compressing 100 to 01, leave that 0 unchanged. That is, in the case of 10000, it is compressed to 0001.
On the other hand, the
A plurality of compressed clusters such as 0/00/0/1100/10/1000 are generated. Even if there is more than one 0 on the most significant bit after compression, such as compressing 100 to 00, leave that 0 unchanged. That is, in the case of 10000, it is compressed to 0000.
Next, the
Meanwhile, in the transforming step S204, the compressing
The idle period can be set to T / 2 as in the above embodiment, but can be variously determined according to the appointment between the transmitter and the receiver such as T / 4, T / 8, T / 16, Any interval that can be made can include any maintenance interval.
In the above embodiment, the first transition pattern is shifted from the positive potential (+1) to the negative potential (-1) and the second transition pattern is shifted from the negative potential (-1) to the positive potential (+1) , A transition from the positive potential (+1) to the negative potential (-1) may be referred to as a second transition pattern, and a transition from the negative potential (-1) to the positive potential (+1) may be referred to as a first transition pattern . In addition, the potential value may be different from +1, -1. Also, the potential of the resting period may be a potential other than 0 potential.
Next, the
The
In addition, according to the embodiment, it is possible to omit the step (S201) of adding 1 and 0 before the most significant bit and the least significant bit of the original binary data, respectively, and perform the following steps. In this case, The
When the binary data is compressed and output through the above process, the
Next, the restoring
Then, the restoring
As described above, the method and apparatus for compressing and restoring data according to the present embodiment can quickly and efficiently compress and restore binary data through a simple operation and a hardware configuration, and has excellent compression rate, Not only the reliability of data can be increased, but also transmission efficiency and speed can be improved in data transmission.
While the invention has been shown and described in detail in the foregoing description, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art, Of the right.
100: Data compression device
110: compression section 120: output section
200: data restoration device
210: input unit 220:
Claims (22)
The compression unit deletes 1 of the most significant bits of each cluster for each of the plurality of clusters and then adds 1 to generate a plurality of compression clusters or deletes 1 of the most significant bits of each cluster for each of the plurality of clusters A compression step of generating a plurality of compressed clusters; And
And outputting the plurality of compressed clusters by the output unit.
Wherein the compression unit further includes a conversion step of converting 1 and 0 included in each compression cluster into a first transition pattern and a second transition pattern having transition patterns having mutually different potentials,
And the output unit outputs the compressed cluster converted by the conversion step.
Wherein in the converting step, the compressing unit adds a rest period between neighboring compression clusters.
Wherein the transition pattern is a transition between a first potential of positive potential and a second potential of negative potential,
The first transition pattern is a pattern that transits from the first potential to the second potential and the second transition pattern is a pattern that transitions from the second potential to the first potential; or
Wherein the first transition pattern is a pattern of transition from the second potential to the first potential and the second transition pattern is a pattern of transitioning from the first potential to the second potential.
Wherein the idle period is maintained for a predetermined period of a predetermined potential interval.
Further comprising adding 1 before the most significant bit of the original binary data and 0 after the least significant bit of the original binary data before the dividing step.
And an output unit for outputting the plurality of compressed clusters.
Wherein the compression unit converts 1 and 0 included in each compression cluster into a first transition pattern and a second transition pattern having transition patterns with mutually different potentials, and the output unit outputs the converted compression clusters Compression device.
Wherein the compressing unit adds a pausing unit between neighboring compression clusters when converting into the first transition pattern and the second transition pattern.
Wherein the transition pattern is a transition between a first potential of positive potential and a second potential of negative potential,
The first transition pattern is a pattern that transits from the first potential to the second potential and the second transition pattern is a pattern that transitions from the second potential to the first potential; or
Wherein the first transition pattern is a pattern of transition from the second potential to the first potential and the second transition pattern is a pattern of transitioning from the first potential to the second potential.
Wherein the idle period is maintained for a predetermined period of a predetermined potential interval.
Wherein before the division of the original binary data, the compression unit adds 1 to the most significant bit of the original binary data and 0 after the least significant bit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150094078A KR101676420B1 (en) | 2015-07-01 | 2015-07-01 | Data compression and restoration method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150094078A KR101676420B1 (en) | 2015-07-01 | 2015-07-01 | Data compression and restoration method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101676420B1 true KR101676420B1 (en) | 2016-11-15 |
Family
ID=57525359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150094078A KR101676420B1 (en) | 2015-07-01 | 2015-07-01 | Data compression and restoration method and apparatus |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101676420B1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030009975A (en) * | 2001-07-24 | 2003-02-05 | 최영희 | Minimum offset codging of the digital communication |
KR20150055965A (en) * | 2013-11-14 | 2015-05-22 | 김정훈 | Method of data compressing, method of data recovering, and the apparatuses thereof |
-
2015
- 2015-07-01 KR KR1020150094078A patent/KR101676420B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030009975A (en) * | 2001-07-24 | 2003-02-05 | 최영희 | Minimum offset codging of the digital communication |
KR20150055965A (en) * | 2013-11-14 | 2015-05-22 | 김정훈 | Method of data compressing, method of data recovering, and the apparatuses thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101737294B1 (en) | Methods and devices for source-coding and decoding of data involving symbol compression | |
RU2630750C1 (en) | Device and method for encoding and decoding initial data | |
JP6045123B2 (en) | Encoder, decoder and method | |
EP3163876A1 (en) | Method and apparatus for performing arithmetic coding by limited carry operation | |
KR101575939B1 (en) | Binary data compression and restoration method and apparatus | |
KR101676420B1 (en) | Data compression and restoration method and apparatus | |
KR100636370B1 (en) | Apparatus and method for coding using bit-precision, and apparatus and method for decoding according to the same | |
KR20150093060A (en) | Binary data compression and restoration method and apparatus | |
KR101549740B1 (en) | Binary data compression and decompression method and apparatus | |
KR101471833B1 (en) | Binary data compression and decompression method and apparatus | |
KR101590790B1 (en) | Binary data compression and restoration method and apparatus | |
KR101676421B1 (en) | Data compression and restoration method and apparatus | |
US8854233B2 (en) | Method and system for de-binarization | |
KR100462789B1 (en) | method and apparatus for multi-symbol data compression using a binary arithmetic coder | |
KR101573983B1 (en) | Method of data compressing, method of data recovering, and the apparatuses thereof | |
JP7142977B1 (en) | Data communication system, transmitter and receiver | |
KR101632116B1 (en) | Binary data compression and restoration method and apparatus | |
KR20210155313A (en) | Data compressing method and apparatus | |
KR102109768B1 (en) | Cabac binary arithmetic encoder for high speed processing of uhd imge | |
KR101603866B1 (en) | Method of data compressing, method of data recovering, and the apparatuses thereof | |
KR20120000085A (en) | Data compression/decompression device and method thereof | |
KR101760070B1 (en) | Data encoding and decoding method and apparatus | |
US20160323603A1 (en) | Method and apparatus for performing an arithmetic coding for data symbols | |
KR101682829B1 (en) | Message compression method and apparatus | |
JP5230375B2 (en) | Image coding apparatus and image coding method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20191112 Year of fee payment: 4 |