KR101587946B1 - Binary data compression and restoration method and apparatus - Google Patents

Binary data compression and restoration method and apparatus Download PDF

Info

Publication number
KR101587946B1
KR101587946B1 KR1020140038267A KR20140038267A KR101587946B1 KR 101587946 B1 KR101587946 B1 KR 101587946B1 KR 1020140038267 A KR1020140038267 A KR 1020140038267A KR 20140038267 A KR20140038267 A KR 20140038267A KR 101587946 B1 KR101587946 B1 KR 101587946B1
Authority
KR
South Korea
Prior art keywords
data
original
binary
binary data
divided
Prior art date
Application number
KR1020140038267A
Other languages
Korean (ko)
Other versions
KR20150113766A (en
Inventor
김정훈
Original Assignee
김정훈
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 김정훈 filed Critical 김정훈
Priority to KR1020140038267A priority Critical patent/KR101587946B1/en
Publication of KR20150113766A publication Critical patent/KR20150113766A/en
Application granted granted Critical
Publication of KR101587946B1 publication Critical patent/KR101587946B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion 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/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/3084Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction using adaptive string matching, e.g. the Lempel-Ziv method
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion 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/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/60General implementation details not specific to a particular type of compression
    • H03M7/6017Methods or arrangements to increase the throughput

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

본 발명은 이진데이터 압축장치에 의해 수행되는 이진데이터의 압축방법으로서, 원본 이진데이터를 입력받는 단계; 상기 원본 이진데이터를 미리 설정된 분할규칙에 따라 분할하는 단계; 각 분할 데이터에 대하여 자리내림 연산을 수행하는 단계로서, 상기 자리내림 연산은 상기 각 분할 데이터 중 자리내림 연산이 가능한 분할 데이터에 대해서만 이루어지는, 단계; 상기 자리내림 연산을 수행하여 생성된 자리내림 데이터, 및 각 자리내림 데이터의 자리내림 전 원본에 관한 정보를 포함하는 오리진 데이터를 축적하는 단계; 및 상기 축적된 자리내림 데이터와 오리진 데이터를 결합하여 압축데이터를 생성하는 단계를 포함하는 것을 특징으로 하는, 이진 데이터의 압축방법에 관한 것이다.A method of compressing binary data performed by a binary data compression apparatus, the method comprising: receiving original binary data; Dividing the original binary data according to a predetermined division rule; Performing a carry-down operation on each partitioned data, wherein the step-down operation is performed only on partitioned data capable of performing a carry-down operation among the partitioned data; Accumulating the original data including the digit reduction data generated by performing the digit reduction operation and the digit reduction original of each digit reduction data; And generating compressed data by combining the accumulated down-shifting data and the origin data.

Figure R1020140038267
Figure R1020140038267

Description

이진 데이터의 압축 및 복원 방법과 장치{BINARY DATA COMPRESSION AND RESTORATION METHOD AND APPARATUS}TECHNICAL FIELD [0001] The present invention relates to a binary data compression and restoration method and apparatus,

본 발명은 이진 데이터의 압축 및 복원 방법과 장치에 관한 것으로서, 보다 구체적으로는 간단한 연산과 하드웨어적 구성을 통해 이진 데이터를 효과적이고 효율적으로 압축하고 복원할 수 있을 뿐만 아니라 데이터 전송 속도와 효율도 향상시킬 수 있는 이진 데이터의 압축 및 복원 방법과 장치에 관한 것이다.
The present invention relates to a method and apparatus for compressing and restoring binary data, and more particularly, to an apparatus and method for efficiently and efficiently compressing and restoring binary data through a simple operation and a hardware configuration, And more particularly to a method and apparatus for compressing and restoring binary 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.

다양한 압축기법 중의 하나로서, 국제 전기 통신 동맹(ITU : International Telecommunication Union)에 의해 표준화된 부호화 알고리즘으로, 모뎀과 같은 데이터 전송 시스템에서 채용하고 있는 CCITT V.42 bis 가 있다. 이 부호화 표준안에 적용된 기초는 Ziv-Lempel code(ZLC)이며, 이 방식은 입력 데이터로부터 적응적으로 사전을 형성해 가면서 앞의 입력 데이터와 동일한 구문(phrase)이 저장되어 있는 사전의 주소값을 부호어로 전송하는 방법이다. 사전화(dictionary) 작업은 입력 데이터와 계속적인 스트링 매칭(string matching)을 수행하여 최대 길이의 매칭 스트링에 매칭안된 문자를 결합하여 사전에 추가하는 과정으로 사전을 업데이트한다.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.

본 발명의 배경기술은 대한민국 공개특허공보 제 1999-0022960호(1999. 3. 25 공개)에 개시되어 있다.
The background art of the present invention is disclosed in Korean Patent Laid-Open Publication No. 1999-0022960 (published on Mar. 25, 1999).

본 발명이 이루고자하는 기술적 과제는, 간단한 연산과 하드웨어적 구성을 통해 이진 데이터를 신속하고 효율적으로 압축하고 복원할 수 있고, 압축률도 뛰어나며 압축 데이터 및 복원 데이터의 신뢰성도 높일 수 있을 뿐만 아니라 데이터 전송시 전송효율과 속도도 향상시킬 수 있는 이진 데이터의 압축 및 복원 방법과 장치를 제공하는 데에 있다.
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide a data compression method and a data compression method that can compress and restore binary data quickly and efficiently through simple computation and hardware configuration, And a method and apparatus for compressing and restoring binary data that can improve transmission efficiency and speed.

본 발명의 일 측면에 따르면, 본 발명은 이진데이터 압축장치에 의해 수행되는 이진데이터의 압축방법으로서, 원본 이진데이터를 입력받는 단계; 상기 원본 이진데이터를 미리 설정된 분할규칙에 따라 분할하는 단계; 각 분할 데이터에 대하여 자리내림 연산을 수행하는 단계로서, 상기 자리내림 연산은 상기 각 분할 데이터 중 자리내림 연산이 가능한 분할 데이터에 대해서만 이루어지는, 단계; 상기 자리내림 연산을 수행하여 생성된 자리내림 데이터, 및 각 자리내림 데이터의 자리내림 전 원본에 관한 정보를 포함하는 오리진 데이터를 축적하는 단계; 및 상기 축적된 자리내림 데이터와 오리진 데이터를 결합하여 압축데이터를 생성하는 단계를 포함하는 것을 특징으로 하는, 이진 데이터의 압축방법을 제공한다.According to an aspect of the present invention, there is provided a method of compressing binary data performed by a binary data compression apparatus, comprising: receiving original binary data; Dividing the original binary data according to a predetermined division rule; Performing a carry-down operation on each partitioned data, wherein the step-down operation is performed only on partitioned data capable of performing a carry-down operation among the partitioned data; Accumulating the original data including the digit reduction data generated by performing the digit reduction operation and the digit reduction original of each digit reduction data; And generating compressed data by combining the accumulated down-shifted data and the original data. The present invention also provides a method of compressing binary data.

본 발명에서, 상기 분할규칙은 상기 원본 이진데이터의 최하위비트로부터 상위비트 방향으로 이동하면서 "1"을 만날 때마다 해당 "1" 앞에서 상기 원본 이진데이터를 분할하는 것을 의미하는 것을 특징으로 한다.In the present invention, the dividing rule means that the original binary data is divided before the corresponding "1" each time a "1" is encountered while moving from the least significant bit to the upper bit of the original binary data.

본 발명에서, 상기 자리내림 연산은 상기 각 분할 데이터에 대하여 1을 감산하되, 해당 분할 데이터가 1인 경우에는 상기 감산을 수행하지 않는 연산인 것을 특징으로 한다.In the present invention, the step-down operation is an operation that subtracts 1 for each of the divided data, and does not perform the subtraction if the divided data is 1.

본 발명에서, 상기 자리내림 데이터의 축적시, 각 자리내림 데이터에 포함된 1의 갯수만큼의 제 1이진수 또는 제 2이진수를 단계적으로 축적하되, 상기 제 1이진수와 제 2이진수는 각 단계별로 번갈아 축적되는 것을 특징으로 한다.In the present invention, the first binary number or the second binary number of the number of 1s included in each digit reduction data is accumulated step by step at the time of storing the digit reduction data, wherein the first binary number and the second binary number are alternately .

본 발명에서, 상기 자리내림 연산의 수행결과, 해당 분할 데이터로부터 실제 자리내림이 발생한 경우에는 제 1이진수를 상기 오리진 데이터로서 축적하고, 해당 분할 데이터로부터 실제 자리내림이 발생하지 않은 경우에는 제 2이진수를 상기 오리진 데이터로서 축적하는 것을 특징으로 한다.In the present invention, when the actual down-shift is performed from the divided data as a result of performing the down-shifting operation, the first binary number is accumulated as the original data, and when the actual down- As the origin data.

본 발명에서, 상기 원본 이진데이터를 입력받는 단계 후, 상기 입력된 원본 이진데이터에서 "1"이 "0"보다 더 우세하게 포함되어 있는 경우, 상기 원본 이진데이터의 "1"은 "0"으로, "0"은 "1"로 치환하여 치환된 원본 이진데이터를 생성하는 단계를 더 포함하고, 상기 분할하는 단계에서는, 상기 원본 이진데이터 대신 상기 치환된 원본이진데이터를 상기 분할규칙에 따라 분할하는 것을 특징으로 한다.
In the present invention, if "1" is more prevailing than "0" in the input original binary data after receiving the original binary data, "1" of the original binary data is "0" , "0" is replaced with "1 " to generate original binary data, and in the dividing step, instead of the original binary data, the replaced original binary data is divided according to the division rule .

본 발명의 다른 측면에 따르면, 본 발명은 이진 데이터 압축방법에 의해 압축된 이진 데이터를 복원장치가 복원하는 방법으로서, 상기 압축데이터에 포함되어 있는 상기 오리진 데이터를 참조하여 상기 자리내림 데이터로부터 이진 데이터를 복원하는 것을 특징으로 하는, 복원장치의 이진데이터 복원방법을 제공한다.
According to another aspect of the present invention, there is provided a method for reconstructing binary data compressed by a binary data compression method, the method comprising: extracting binary data from the down-position data by referring to the original data included in the compressed data; And restoring the binary data of the restoration device.

또한, 본 발명의 또 다른 측면에 따르면, 본 발명은 이진 데이터의 압축장치로서, 입력되는 원본 이진데이터를 미리 설정된 분할규칙에 따라 분할하고, 각 분할 데이터에 대하여 자리내림 연산을 수행하여 자리내림 데이터를 생성하고, 생성된 상기 자리내림 데이터, 및 각 자리내림 데이터의 자리내림 전 원본에 관한 정보를 포함하는 오리진 데이터를 축적하며, 상기 축적된 자리내림 데이터와 오리진 데이터를 결합하여 압축데이터를 생성하는 압축부를 포함하되, 상기 자리내림 연산은 상기 각 분할 데이터 중 자리내림 연산이 가능한 분할 데이터에 대해서만 이루어지는 것을 특징으로 하는, 이진 데이터의 압축장치를 제공한다.According to still another aspect of the present invention, there is provided a binary data compression apparatus, comprising: an input binary data dividing unit that divides input original binary data according to a predetermined division rule, performs a rounding operation on each divided data, And stores the generated down-shifting data and the original data including information about the original of the down-shifting data before the down-shifting, and combines the accumulated down-shifting data and the origin data to generate compressed data And a compression unit, wherein the step-down operation is performed only on the partial data that can be round-down computed among the partial data.

본 발명에서, 상기 분할규칙은, 상기 원본 이진데이터의 최하위비트로부터 상위비트 방향으로 이동하면서 "1"을 만날 때마다 해당 "1" 앞에서 상기 원본 이진데이터를 분할하는 것을 의미한다.In the present invention, the division rule means that the original binary data is divided before the corresponding "1" every time when it encounters "1" while moving from the least significant bit to the upper bit of the original binary data.

본 발명에서, 상기 자리내림 연산은 상기 각 분할 데이터에 대하여 1을 감산하되, 해당 분할 데이터가 1인 경우에는 상기 감산을 수행하지 않는 연산인 것을 특징으로 한다.In the present invention, the step-down operation is an operation that subtracts 1 for each of the divided data, and does not perform the subtraction if the divided data is 1.

본 발명에서, 상기 자리내림 데이터의 축적시, 상기 압축부는 각 자리내림 데이터에 포함된 1의 갯수만큼의 제 1이진수 또는 제 2이진수를 단계적으로 축적하되, 상기 제 1이진수와 제 2이진수는 각 단계별로 번갈아 축적되는 것을 특징으로 한다.In the present invention, when the down-shifting data is stored, the compression unit accumulates the first binary number or the second binary number of the number of 1 contained in each of the down-shifting data, wherein the first binary number and the second binary number are And are alternately accumulated in stages.

본 발명에서, 상기 압축부는, 상기 자리내림 연산의 수행결과, 해당 분할 데이터로부터 실제 자리내림이 발생한 경우에는 제 1이진수를 상기 오리진 데이터로서 축적하고, 해당 분할 데이터로부터 실제 자리내림이 발생하지 않은 경우에는 제 2이진수를 상기 오리진 데이터로서 축적하는 것을 특징으로 한다.In the present invention, the compression unit accumulates the first binary number as the origin data when the actual down-position has occurred from the divided data as a result of performing the down-position calculation, and when the actual down- The second binary number is stored as the origin data.

본 발명에서, 상기 입력된 원본 이진데이터에서 "1"이 "0"보다 더 우세하게 포함되어 있는 경우, 상기 압축부는 상기 원본 이진데이터의 "1"은 "0"으로, "0"은 "1"로 치환하여 치환된 원본 이진데이터를 상기 원본 이진데이터 대신 상기 분할규칙에 따라 분할하고, 이후의 과정을 수행하는 것을 특징으로 한다.
In the present invention, when "1" is more prevalent than "0" in the input original binary data, the compression unit outputs "1" of the original binary data as "0""In accordance with the division rule instead of the original binary data, and performs the following process.

또한, 본 발명의 또 다른 측면에 따르면, 본 발명은 이진 데이터 압축장치에 의해 압축된 이진 데이터를 복원장치로서, 상기 압축데이터에 포함되어 있는 상기 오리진 데이터를 참조하여 상기 자리내림 데이터로부터 이진 데이터를 복원하는 복원부를 포함하는 것을 특징으로 하는, 이진데이터 복원장치를 제공한다.
According to another aspect of the present invention, there is provided a binary data compression apparatus for decompressing binary data compressed by a binary data compression apparatus, the binary data being decompressed from the decompressed data by referring to the original data included in the compressed data, And a reconstruction unit for reconstructing the reconstructed binary data.

본 발명에 따른 이진 데이터의 압축 및 복원 방법과 장치는, 간단한 연산과 하드웨어적 구성을 통해 이진 데이터를 신속하고 효율적으로 압축하고 복원할 수 있고, 압축률도 뛰어나며 압축 데이터 및 복원 데이터의 신뢰성도 높일 수 있을 뿐만 아니라 데이터 전송시 전송효율과 속도도 향상시킬 수 있다.
The method and apparatus for compressing and restoring binary data according to the present invention are capable of quickly and efficiently compressing and restoring binary data through a simple operation and a hardware configuration, and also have excellent compression rate and reliability of compressed data and restored data Not only the transmission efficiency and the speed of data transmission can be improved.

도 1은 본 발명에 의한 일 실시예에 따른 이진 데이터의 압축장치 및 복원장치의 구성을 도시한 것이다.
도 2는 본 발명에 의한 일 실시예에 따른 이진 데이터의 압축방법을 설명하기 위한 흐름도이다.
도 3은 본 실시예에서 원본 이진데이터를 분할하여 각 분할데이터에 대해 자리내림 연산을 수행하는 것을 설명하기 위한 참고도이다.
도 4는 본 실시예에서 자리내림 데이터 및 오리진 데이터를 축적하는 과정을 나타낸 것이다.
1 is a block diagram of a binary data compression apparatus and a decompression apparatus according to an embodiment of the present invention.
2 is a flowchart illustrating a method of compressing binary data according to an embodiment of the present invention.
FIG. 3 is a reference diagram for explaining that the original binary data is divided in the present embodiment and a carry-down operation is performed on each divided data.
FIG. 4 shows a process of storing the descending data and the origin data in the present 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 similar parts are denoted by like reference characters 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.

도 1은 본 발명에 의한 일 실시예에 따른 이진 데이터의 압축장치 및 복원장치의 구성을 도시한 것으로서, 이를 참조하여 본 발명을 설명하면 다음과 같다.BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a binary data compression apparatus and a decompression apparatus according to an embodiment of the present invention. Referring to FIG.

도 1에 도시된 바와 같이, 본 실시예에 따른 이진 데이터 압축장치(100)는 압축부(110) 및 송신부(120)를 포함한다. 압축부(110)는 데이터분할부(111)와 압축데이터 생성부(112)를 포함한다.As shown in FIG. 1, the binary data compression apparatus 100 according to the present embodiment includes a compression unit 110 and a transmission unit 120. The compression unit 110 includes a data division unit 111 and a compressed data generation unit 112.

먼저, 데이터분할부(111)는 입력되는 원본 이진데이터를 미리 설정된 분할규칙에 따라 분할한다. 여기서, 분할규칙이라 함은 원본 이진데이터의 최하위비트로부터 상위비트 방향으로 이동하면서 "1"을 만날 때마다 해당 "1" 앞에서 상기 원본 이진데이터를 분할하는 것을 의미한다. 또한, 본 실시예에서는 설명되지 아니하였지만, 상기 분할규칙과는 다른 다양한 형태의 분할 방법이 적용될 수도 있다.First, the data divider 111 divides input original binary data according to a predetermined division rule. Here, the division rule means that the original binary data is divided before the corresponding "1" every time when it encounters "1" while shifting from the least significant bit of the original binary data toward the upper bit. In addition, although not described in the present embodiment, various types of division methods different from the division rules may be applied.

압축데이터 생성부(112)는 각 분할 데이터에 대하여 자리내림 연산을 수행하여 자리내림 데이터를 생성하고, 생성된 상기 자리내림 데이터, 및 각 자리내림 데이터의 자리내림 전 원본에 관한 정보를 포함하는 오리진(origin) 데이터를 축적한다. 또한, 압축데이터 생성부(112)는 이렇게 축적된 자리내림 데이터와 오리진 데이터를 결합하여 압축데이터를 생성한다. 여기서, 자리내림 연산은 상기 각 분할 데이터에 대하여 1을 감산하여 자리내림이 발생되도록 하는 연산인 것을 특징으로 하며, 다만 해당 분할 데이터가 1인 경우에는 상기 감산을 수행하지 않는 연산이다.The compressed data generation unit 112 generates a descending data by performing a descending operation on each divided data, and outputs the generated descending data and an original of the descending data, (origin) data. In addition, the compressed data generating unit 112 generates compressed data by combining the accumulated spot data and the original data. In this case, the decrement operation is an operation for subtracting 1 from each of the divided data to generate a decrement. If the divided data is 1, the subtraction is not performed.

상기 자리내림 데이터의 축적시, 압축데이터 생성부(112)는 각 자리내림 데이터에 포함된 1의 갯수만큼의 제 1이진수(예를 들어 "1") 또는 제 2이진수(예를 들어 "0")를 단계적으로 축적하되, 상기 제 1이진수와 제 2이진수는 각 단계별로 번갈아 축적되도록 한다.(E.g., "1") or a second binary number (e.g., "0") included in each place- ), And the first binary number and the second binary number are accumulated alternately in each step.

상기 오리진 데이터의 축적시, 압축데이터 생성부(112)는, 상기 자리내림 연산의 수행결과, 해당 분할 데이터로부터 실제 자리내림이 발생한 경우에는 제 1이진수(예를 들어 "1")를 상기 오리진 데이터로서 축적하고, 해당 분할 데이터로부터 실제 자리내림이 발생하지 않은 경우에는 제 2이진수(예를 들어 "0")를 상기 오리진 데이터로서 축적할 수 있다.When storing the original data, the compressed data generating unit 112 outputs a first binary number (for example, "1 ") to the original data (For example, "0") can be stored as the origin data when the actual place down does not occur from the divided data.

송신부(120)는 압축부(110)에 의해 생성된 상기 압축데이터를 이진 데이터 복원장치(200) 등의 목적 장치로 전송한다.The transmission unit 120 transmits the compressed data generated by the compression unit 110 to a target device such as the binary data restoration device 200 or the like.

또한, 도 1에 도시된 바와 같이, 본 실시예에 따른 이진 데이터 복원장치(200)는 수신부(210) 및 복원부(220)를 포함한다. 수신부(210)는 송신부(120) 등을 통해 전달된 압축데이터를 수신하여 복원부(220)에 전달한다. 1, the apparatus for recovering binary data 200 according to the present embodiment includes a receiving unit 210 and a restoring unit 220. The receiving unit 210 receives the compressed data transmitted through the transmitting unit 120 and transmits the compressed data to the restoring unit 220.

복원부(220)는 복원데이터 생성부(221)와 결합부(222)를 포함한다.The restoring unit 220 includes a restored data generating unit 221 and a combining unit 222.

복원데이터 생성부(221)는 상기 압축데이터에 포함되어 있는 상기 오리진 데이터를 참조하여 상기 자리내림 데이터로부터 자리내림 이전의 이진 데이터들을 복원하고, 결합부(222)는 이러한 복원된 이진 데이터들을 결합하여 최종적인 이진데이터를 생성한다.
The restoration data generating unit 221 refers to the original data included in the compressed data and restores the binary data before the down-position from the down-position data, and the combining unit 222 combines the restored binary data And generates final binary data.

이와 같이 구성된 본 실시예의 동작 및 작용을 도 1 내지 도 4를 참조하여 구체적으로 설명한다.The operation and operation of the present embodiment thus constructed will be described in detail with reference to Figs. 1 to 4. Fig.

도 2는 본 발명에 의한 일 실시예에 따른 이진 데이터의 압축방법을 설명하기 위한 흐름도이고, 도 3은 본 실시예에서 원본 이진데이터를 분할하여 각 분할데이터에 대해 자리내림 연산을 수행하는 것을 설명하기 위한 참고도이며, 도 4는 본 실시예에서 자리내림 데이터 및 오리진 데이터를 축적하는 과정을 나타낸 것이다. FIG. 2 is a flowchart for explaining a method of compressing binary data according to an embodiment of the present invention. FIG. 3 is a flowchart illustrating a method for dividing original binary data and performing a rounding operation on each divided data in the present embodiment And FIG. 4 illustrates a process of storing the descending data and the origin data in the present embodiment.

먼저, 이진 데이터 압축장치(100)가 입력부(미도시)를 통하여 원본 이진데이터를 입력받는다(S201).First, the binary data compression apparatus 100 receives original binary data through an input unit (not shown) (S201).

그러면, 압축부(110)의 데이터분할부(111)는 입력된 원본 이진데이터를 미리 설정된 분할규칙에 따라 분할한다(S202). 여기서, 분할규칙이라 함은 원본 이진데이터의 최하위비트로부터 상위비트 방향으로 이동하면서 "1"을 만날 때마다 해당 "1" 앞에서 상기 원본 이진데이터를 분할하는 것을 의미한다. Then, the data division unit 111 of the compression unit 110 divides the input original binary data according to a predetermined division rule (S202). Here, the division rule means that the original binary data is divided before the corresponding "1" every time when it encounters "1" while shifting from the least significant bit of the original binary data toward the upper bit.

예를 들어, 원본 이진데이터로서 "100110110011000010010100"이라는 데이터가 입력되면, 데이터분할부(111)는 이러한 원본 이진데이터를 도 3의 상단부에 도시된 바와 같이 분할한다. 즉, "100110110011000010010100"에서, 이 원본 이진데이터의 최하위비트로부터 상위비트방향으로 이동하면서 "1"을 만날 때마다 그 "1"의 앞부분에서 데이터를 분할하면,For example, when the data "100110110011000010010100" is input as the original binary data, the data division unit 111 divides the original binary data as shown in the upper part of FIG. That is, in the case of "100110110011000010010100", when data is divided from the beginning of "1" each time it encounters "1" while moving from the least significant bit of the original binary data toward the upper bit,

100 / 1 / 10 / 1 / 100 / 1 / 10000 / 100 / 10 / 100100/1/10/1/100/1/10000/100/10/100

와 같은 분할 데이터가 얻어진다. 물론, 또한 본 실시예에서는 설명되지 아니하였지만, 상기 분할규칙과는 다른 다양한 형태의 분할 방법이 적용될 수도 있을 것이다.Is obtained. Of course, although not described in the present embodiment, various types of division methods different from the above division rules may be applied.

다음으로, 압축데이터 생성부(112)는 상기 생성된 각 분할 데이터에 대하여 자리내림 연산을 수행하여 자리내림 데이터를 생성한다(S203). 여기서, 자리내림 연산이란 각 분할 데이터에 대하여 1을 감산하여 자리내림이 발생되도록 하는 연산으로서, 자리내림 연산 전의 데이터에 비해 비트수의 감소가 발생하도록 하는 연산이다. 가령 "1000"이라는 분할데이터에 대해서 1을 감산하는 자리내림 연산을 수행하면 "111"이라는 자리내림 데이터가 얻어진다. 다만, 본 단계(S203)에서 해당 분할 데이터가 "1"인 경우에는 1을 감산하는 감산연산을 수행하지 않는다. 따라서, 본 실시예에서의 자리내림 연산이란 각 분할 데이터에 대하여 "1" 등의 수를 감산하여 자리내림이 발생되도록 하되, 해당 분할 데이터가 "1"인 경우에는 별도의 감산연산을 수행하지 않는 연산을 의미한다고 볼 수 있다.Next, the compressed data generation unit 112 performs a carry-down operation on each of the generated divided data to generate a carry-down data (S203). In this case, the carry-down operation is an operation for causing the carry-down to occur by subtracting 1 from each of the divided data, which is an operation for reducing the number of bits compared to the data before the carry-down operation. For example, if a carry-down operation that subtracts 1 from the divided data of "1000" is performed, the carry-down data of "111" However, if the corresponding divided data is "1 " in this step S203, the subtraction operation for subtracting 1 is not performed. Therefore, in the case of the down-position calculation in the present embodiment, the number of "1" or the like is subtracted from each divided data so that a down-position is generated. When the divided data is "1" Can be regarded as an operation.

상술한 분할 데이터 "100/1/10/1/100/1/10000/100/10/100"의 경우, 상기 자리내림 연산을 통하여 도 3에 도시된 바와 같이,In the case of the above-described divided data "100/1/10/1/100/1/10000/100/10/100 ", as shown in FIG. 3,

11 / 1 / 1 / 1 / 11 / 1 / 1111 / 11 / 1 / 1111/1/1/1/11/1/1111/11/1/11

이라는 자리내림 데이터가 얻어진다.Is obtained.

한편, 본 실시예에서는 분할 데이터에서 "1"을 감산하여 자리내림 연산을 수행하는 것을 예로 들어 설명했지만, 이와는 다른 이진수를 감산하여 자리내림 연산을 수행할 수도 있을 것이다.On the other hand, in the present embodiment, an example is described in which the subtraction operation is performed by subtracting "1" from the divided data. Alternatively, the subtraction operation may be performed by subtracting another binary number.

다음으로, 압축데이터 생성부(112)는 생성된 상기 자리내림 데이터, 및 각 자리내림 데이터의 자리내림 전 원본에 관한 정보를 포함하는 오리진 데이터를 축적한다(S204). 즉, 도 4에 도시된 바와 같이 압축데이터 생성부(112)는 얻어진 상기 자리내림 데이터를 자리내림스택에 축적하는데, 이 때에는 각 자리내림 데이터에 포함된 1의 갯수만큼의 제 1이진수(예를 들어 "1") 또는 제 2이진수(예를 들어 "0")를 단계적으로 축적하되, 상기 제 1이진수와 제 2이진수는 각 단계별로 번갈아 축적되도록 한다. Next, the compressed data generating unit 112 accumulates the generated down-position data and the original data including the information about the original before the down-position of each down-position data (S204). 4, the compressed data generation unit 112 accumulates the obtained down-sampling data in the down-shift stack. In this case, the number of first binary numbers (for example, (For example, "1") or a second binary number (e.g., "0"), and the first binary number and the second binary number are accumulated alternately in each step.

도 3에서 생성된 자리내림 데이터를 예로 들면, 맨앞의 "11"에 포함된 1의 갯수만큼의 제 1이진수로서 "11"을 축적하고, 다음에 있는 "1"에 대해서는 이에 포함된 1의 갯수만큼의 제 2이진수로서 "0"을 축적하고, 그 다음에 있는 "1"에 대해서는 이에 포함된 1의 갯수만큼의 제 1이진수로서 "1"을 축적한다. 이러한 과정을 거쳐 도 4에 도시된 바와 같은 자리내림 데이터를 각 단계마다 번갈아 가면서 축적한다. 이렇게 1 또는 0을 단계별로 번갈아 축적하게 되면, 추후 복원작업시 해당 번갈아 축적되어 있는 데이터가 "1" 또는 "0" 별로 자동으로 구별되어 복원될 수 있다.As an example of the down-shifting data generated in Fig. 3, "11" is accumulated as the first binary number of 1s included in the first "11", and the number of 1s included in the next "1" 0 "as the second binary number of the number of the first binary number, and accumulates" 1 " as the first binary number of the number of 1 included therein. Through this process, the descending data as shown in FIG. 4 is accumulated while alternating for each step. By alternately accumulating 1 or 0 in a stepwise manner, the data that are accumulated alternately during the restoration work can be automatically identified and restored by "1" or "0 ".

이와 함께 압축데이터 생성부(112)는 도 4에 도시된 바와 같이 각 자리내림 데이터의 자리내림 전 원본에 관한 정보를 포함하는 오리진 데이터도 오리진스택에 축적한다. 상술한 도 3의 예에서, A라고 표시된 자리내림 데이터 "1"은 "1"이라는 분할 데이터로부터 얻어진 것이고, B라고 표시된 자리내림 데이터 "1"은 "10"이라는 분할 데이터로부터 자리내림 연산을 통해 얻어진 것이다. 즉, A라고 표시된 자리내림 데이터 "1"은 자리내림 연산에도 불구하고 실제 자리내림이 발생하지 않은 데이터이고, B라고 표시된 자리내림 데이터 "1"은 자리내림 연산 결과 실제 자리내림이 발생한 데이터인 것이다. 따라서, 이러한 경우 2개의 자리 내림데이터의 원본 정보는 서로 상이하기 때문에, 이들을 서로 구별하기 위하여 오리진 스택에 0 또는 1이라는 이진수를 지정하여 축적하고, 이후 복원과정에서는 이 오리진 스택에 축적된 값을 참조하여 자리내림 전의 데이터를 복원하게 된다.In addition, as shown in FIG. 4, the compressed data generating unit 112 also stores the original data including the information on the original before the down-position of each place-keeping data in the original stack. In the example of FIG. 3 described above, the digit lowering data "1" denoted by A is obtained from the divided data of "1 ", and the digit lowering data" 1 " . That is, the down-position data "1" indicated by A is the data in which the actual down-position has not occurred despite the down-position operation, and the down-position data "1 " . Therefore, in this case, the source information of the two-digit descending data is different from each other. Therefore, in order to distinguish them from each other, a binary number of 0 or 1 is assigned to the original stack and the accumulated value is stored in the original stack And restores the data before the resetting.

한편, "1"을 제외한 다른 자리내림 데이터("11", "111", "1111"...) 등에 대해서는 도 4에 도시된 바와 같이 별도의 오리진 데이터를 축적하지 않는데, 이들 데이터의 경우에는 자리내림 연산에 의해 실제 자리내림이 발생한 것이 확실하여 자리내림 전의 원본 데이터를 명확하게 복원할 수 있기 때문이다.On the other hand, as shown in FIG. 4, no separate origin data is stored for the other descending data ("11", "111", "1111" ...) except for "1" This is because it is certain that the actual landing has occurred by the landing calculation and the original data before landing can be clearly restored.

이어서, 압축데이터 생성부(112)는 이렇게 축적된 자리내림 데이터와 오리진 데이터를 결합하여 압축데이터를 생성한다(S205). 상술한 바와 같이, 상기 축적된 자리내림 데이터로부터 원본 이진데이터를 복원하기 위해서는 오리진 데이터가 필요하다. 따라서, 압축데이터 생성부(112)는 축적된 자리내림 데이터와 오리진 데이터를 결합하여 압축데이터를 생성하는 것이다.Then, the compressed data generating unit 112 generates compressed data by combining the stored down-position data and the origin data (S205). As described above, original data is required to restore original binary data from the accumulated down-position data. Accordingly, the compressed data generation unit 112 generates compressed data by combining the accumulated down-shifting data and the origin data.

다음으로, 송신부(120)는 압축부(110)에 의해 생성된 상기 압축데이터를 이진 데이터 복원장치(200) 등의 목적 장치로 전송한다.
Next, the transmission unit 120 transmits the compressed data generated by the compression unit 110 to a target device such as the binary data restoration device 200 or the like.

상기와 같은 과정을 통해 이진 데이터가 압축되어 전송되면, 이진 데이터 복원장치(200)는 수신부(210)를 통해 상기 압축데이터를 수신하여 복원부(220)에 전달한다. 복원부(220)는 상기 압축데이터에 포함되어 있는 상기 오리진 데이터를 참조하여, 상기 압축데이터에 포함되어 있는 자리내림 데이터로부터 원본 이진데이터를 복원한다. 이 때 복원부(220)는 상술한 압축과정과는 반대의 과정을 통해 이진 데이터를 복원하되 축적된 오리진 데이터와 자리내림 데이터를 이용하여 복원한다. 즉, 마지막에 축적된 자리내림 데이터를 시작점으로 하여 복원을 수행하되, 각 복원단계마다 오리진 데이터를 이용하여 분할 데이터들을 복원하며, 이후 최종적인 분할 데이터의 복원이 완료되면, 결합부(222)는 이들 데이터를 결합하여 원본 이진데이터를 복원한다.
When the binary data is compressed and transmitted through the above process, the binary data decompression apparatus 200 receives the compressed data through the reception unit 210 and transmits the compressed data to the decompression unit 220. The restoring unit 220 refers to the original data included in the compressed data, and restores original binary data from the down-shifted data included in the compressed data. In this case, the decompression unit 220 reconstructs the binary data through the process opposite to the compression process described above, but restores the binary data using the accumulated origin data and the descending data. In other words, the restoration is performed with the last stored downward data as the starting point. In each restoration step, the divided data is restored using the original data. After the restoration of the final divided data is completed, Combine these data to restore the original binary data.

한편, 본 실시예에 따르면 이진 데이터 원본에서 '1'과 '0'의 출현 빈도에서 '0'이 우세한 경우 이 연속된 '0'으로 인하여 자리내림이 발생하여 압축효과가 크게 나타나는데, 만약 원본데이터에서 '1'이 '0'에 비하여 더 우세할 경우에는 '1'을 '0'으로 치환하고 '0'을 '1'로 치환하여, 상기의 실시예에 따라 압축 및 복원을 하여도 된다. 다만, 이 때에는 '0' 과 '1'중에 원본데이터에서 무엇이 원래 빈도수에 있어서 우세했는지에 대해서 저장할 수 있는 frequency majority flag가 압축데이터에 포함되어야 할 것이다.
According to the present embodiment, when '0' is prevalent in the appearance frequencies of '1' and '0' in the binary data source, the decimation occurs due to consecutive '0' 1 'may be replaced with' 0 'and' 0 'may be replaced with' 1 'in the case where' 1 'is superior to' 0 'in the above-described embodiment. However, in this case, the compressed data must include a frequency majority flag, which can be stored as '0' and '1' in the original data as to what has prevailed in the original frequency.

이상 살펴 본 바와 같이, 본 실시예에 따른 이진 데이터의 압축 및 복원 방법과 장치는, 간단한 연산과 하드웨어적 구성을 통해 이진 데이터를 신속하고 효율적으로 압축하고 복원할 수 있고, 압축률도 뛰어나며 압축 데이터 및 복원 데이터의 신뢰성도 높일 수 있을 뿐만 아니라 데이터 전송시 전송효율과 속도도 향상시킬 수 있다.As described above, the method and apparatus for compressing and restoring binary data according to the present embodiment can quickly and efficiently compress and restore binary data through a simple operation and a hardware configuration, Not only the reliability of the restored data can be increased, but also the transmission efficiency and speed can be improved in data transmission.

이상에서 본 발명의 실시 예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, It belongs to the scope of right.

100 : 이진 데이터 압축장치
110 : 압축부 111 : 데이터 분할부
112 : 압축데이터 생성부
120 : 송신부
200 : 이진 데이터 복원장치
210 : 수신부 220 : 복원부
221 : 복원 데이터 생성부 222 : 결합부
100: binary data compression device
110: compression unit 111: data division unit
112: compressed data generation unit
120:
200: Binary data restoration device
210: Receiving unit 220:
221: restored data generation unit 222:

Claims (14)

이진데이터 압축장치에 의해 수행되는 이진데이터의 압축방법으로서,
원본 이진데이터를 입력받는 단계;
상기 원본 이진데이터를 미리 설정된 분할규칙에 따라 분할하는 단계;
각 분할 데이터에 대하여 자리내림 연산을 수행하는 단계로서, 상기 자리내림 연산은 상기 각 분할 데이터 중 자리내림 연산이 가능한 분할 데이터에 대해서만 이루어지는, 단계;
상기 자리내림 연산을 수행하여 생성된 자리내림 데이터, 및 각 자리내림 데이터의 자리내림 전 원본에 관한 정보를 포함하는 오리진 데이터를 축적하는 단계; 및
상기 축적된 자리내림 데이터와 오리진 데이터를 결합하여 압축데이터를 생성하는 단계를 포함하는 것을 특징으로 하는, 이진 데이터의 압축방법.
A method of compressing binary data performed by a binary data compression apparatus,
Receiving original binary data;
Dividing the original binary data according to a predetermined division rule;
Performing a carry-down operation on each partitioned data, wherein the step-down operation is performed only on partitioned data capable of performing a carry-down operation among the partitioned data;
Accumulating the original data including the digit reduction data generated by performing the digit reduction operation and the digit reduction original of each digit reduction data; And
And combining compressed data and original data to generate compressed data. ≪ Desc / Clms Page number 21 >
제 1항에 있어서,
상기 분할규칙은, 상기 원본 이진데이터의 최하위비트로부터 상위비트 방향으로 이동하면서 "1"을 만날 때마다 해당 "1" 앞에서 상기 원본 이진데이터를 분할하는 것을 의미하는 것을 특징으로 하는, 이진 데이터의 압축방법.
The method according to claim 1,
Wherein the dividing rule means dividing the original binary data before the corresponding "1" each time a "1" is encountered while moving from the least significant bit to the upper bit of the original binary data. Way.
제 2항에 있어서,
상기 자리내림 연산은 상기 각 분할 데이터에 대하여 1을 감산하되, 해당 분할 데이터가 1인 경우에는 상기 감산을 수행하지 않는 연산인 것을 특징으로 하는, 이진 데이터의 압축방법.
3. The method of claim 2,
Wherein the step-down operation is an operation of subtracting 1 for each of the divided data, and not performing the subtraction if the divided data is 1.
제 1항에 있어서,
상기 자리내림 데이터의 축적시,
상기 원본 이진데이터의 하위비트 방향으로 각 자리내림 데이터에 포함된 1의 갯수만큼의 제 1이진수 또는 제 2이진수를 단계적으로 축적하되, 상기 제 1이진수와 제 2이진수는 각 단계별로 번갈아 축적되는 것을 특징으로 하는, 이진데이터의 압축방법.
The method according to claim 1,
Upon accumulation of the descending data,
Wherein the first binary number and the second binary number are accumulated one by one in the direction of a lower bit of the original binary data in a stepwise manner, wherein the first binary number and the second binary number are accumulated alternately Characterized in that the binary data is compressed.
제 1항에 있어서,
상기 자리내림 연산의 수행결과, 해당 분할 데이터로부터 실제 자리내림이 발생한 경우에는 제 1이진수를 상기 오리진 데이터로서 축적하고, 해당 분할 데이터로부터 실제 자리내림이 발생하지 않은 경우에는 제 2이진수를 상기 오리진 데이터로서 축적하되, 상기 원본 이진데이터의 하위비트 방향으로 상기 오리진 데이터를 축적하는 것을 특징으로 하는, 이진데이터의 압축방법.
The method according to claim 1,
Wherein the first binary number is stored as the original data when the actual place down occurs from the divided data as a result of performing the place down calculation and if the actual place down does not occur from the divided data, And accumulating the original data in a direction of a lower bit of the original binary data.
제 1항에 있어서,
상기 원본 이진데이터를 입력받는 단계 후,
상기 입력된 원본 이진데이터에서 "1"이 "0"보다 더 우세하게 포함되어 있는 경우, 상기 원본 이진데이터의 "1"은 "0"으로, "0"은 "1"로 치환하여 치환된 원본 이진데이터를 생성하는 단계를 더 포함하고,
상기 분할하는 단계에서는, 상기 원본 이진데이터 대신 상기 치환된 원본이진데이터를 상기 분할규칙에 따라 분할하는 것을 특징으로 하는, 이진데이터의 압축방법.
The method according to claim 1,
After receiving the original binary data,
1 " of the original binary data is replaced with "0 ",and" 0 "is replaced with" 1 " in the input original binary data, Further comprising generating binary data,
Wherein the dividing step divides the substituted original binary data in place of the original binary data according to the division rule.
제 1항 내지 제 6항 중 어느 한 항에 기재된 이진 데이터 압축방법에 의해 압축된 이진 데이터를 복원장치가 복원하는 방법으로서,
상기 압축데이터에 포함되어 있는 상기 오리진 데이터를 참조하여 상기 자리내림 데이터로부터 이진 데이터를 복원하는 것을 특징으로 하는, 복원장치의 이진데이터 복원방법.
A method for restoring binary data compressed by the binary data compression method according to any one of claims 1 to 6,
And restoring the binary data from the down-shifted data by referring to the original data included in the compressed data.
이진 데이터의 압축장치로서,
입력되는 원본 이진데이터를 미리 설정된 분할규칙에 따라 분할하고, 각 분할 데이터에 대하여 자리내림 연산을 수행하여 자리내림 데이터를 생성하고, 생성된 상기 자리내림 데이터, 및 각 자리내림 데이터의 자리내림 전 원본에 관한 정보를 포함하는 오리진 데이터를 축적하며, 상기 축적된 자리내림 데이터와 오리진 데이터를 결합하여 압축데이터를 생성하는 압축부를 포함하되,
상기 자리내림 연산은 상기 각 분할 데이터 중 자리내림 연산이 가능한 분할 데이터에 대해서만 이루어지는 것을 특징으로 하는, 이진 데이터의 압축장치.
CLAIMS 1. A compression device for binary data,
The input original binary data is divided in accordance with a predetermined division rule, a carry-down operation is performed with respect to each of the divided data to generate carry-out data, and the generated carry-out data and the carry- And a compression unit for generating compressed data by combining the accumulated downward data and the original data,
Wherein the step-down operation is performed only on the divided data that can be rounded down among the divided data.
제 8항에 있어서,
상기 분할규칙은, 상기 원본 이진데이터의 최하위비트로부터 상위비트 방향으로 이동하면서 "1"을 만날 때마다 해당 "1" 앞에서 상기 원본 이진데이터를 분할하는 것을 의미하는 것을 특징으로 하는, 이진 데이터의 압축장치.
9. The method of claim 8,
Wherein the dividing rule means dividing the original binary data before the corresponding "1" each time a "1" is encountered while moving from the least significant bit to the upper bit of the original binary data. Device.
제 9항에 있어서,
상기 자리내림 연산은 상기 각 분할 데이터에 대하여 1을 감산하되, 해당 분할 데이터가 1인 경우에는 상기 감산을 수행하지 않는 연산인 것을 특징으로 하는, 이진 데이터의 압축장치.
10. The method of claim 9,
Wherein the step-down operation is an operation of subtracting 1 for each of the divided data, and not performing the subtraction if the divided data is 1.
제 8항에 있어서,
상기 자리내림 데이터의 축적시,
상기 압축부는 상기 원본 이진데이터의 하위비트 방향으로 각 자리내림 데이터에 포함된 1의 갯수만큼의 제 1이진수 또는 제 2이진수를 단계적으로 축적하되, 상기 제 1이진수와 제 2이진수는 각 단계별로 번갈아 축적되는 것을 특징으로 하는, 이진데이터의 압축장치.
9. The method of claim 8,
Upon accumulation of the descending data,
Wherein the compression unit accumulates the first binary number or the second binary number of the number of 1 contained in each place-dropping data in a direction of a lower bit of the original binary data, wherein the first binary number and the second binary number are alternately Wherein the binary data is stored in the storage unit.
제 8항에 있어서,
상기 압축부는, 상기 자리내림 연산의 수행결과, 해당 분할 데이터로부터 실제 자리내림이 발생한 경우에는 제 1이진수를 상기 오리진 데이터로서 축적하고, 해당 분할 데이터로부터 실제 자리내림이 발생하지 않은 경우에는 제 2이진수를 상기 오리진 데이터로서 축적하되, 상기 원본 이진데이터의 하위비트 방향으로 상기 오리진 데이터를 축적하는 것을 특징으로 하는, 이진데이터의 압축장치.
9. The method of claim 8,
Wherein the compression unit accumulates the first binary number as the origin data when the actual downward displacement occurs from the divided data as a result of the down conversion operation and if the actual downward displacement does not occur from the corresponding divided data, And stores the original data in the direction of a lower bit of the original binary data.
제 8항에 있어서,
상기 입력된 원본 이진데이터에서 "1"이 "0"보다 더 우세하게 포함되어 있는 경우, 상기 압축부는 상기 원본 이진데이터의 "1"은 "0"으로, "0"은 "1"로 치환하여 치환된 원본 이진데이터를 상기 원본 이진데이터 대신 상기 분할규칙에 따라 분할하고, 이후의 과정을 수행하는 것을 특징으로 하는, 이진데이터의 압축장치.
9. The method of claim 8,
If the input original binary data contains "1" predominantly than "0", the compression unit replaces "1" of the original binary data with "0" and "0" Wherein the original binary data is divided according to the division rule instead of the original binary data, and the subsequent process is performed.
제 8항 내지 제 13항 중 어느 한 항에 기재된 이진 데이터 압축장치에 의해 압축된 이진 데이터를 복원하는 복원장치로서,
상기 압축데이터에 포함되어 있는 상기 오리진 데이터를 참조하여 상기 자리내림 데이터로부터 이진 데이터를 복원하는 복원부를 포함하는 것을 특징으로 하는, 이진데이터 복원장치.
A restoration apparatus for restoring binary data compressed by the binary data compression apparatus according to any one of claims 8 to 13,
And a decompression unit for decompressing the binary data from the decimated data by referring to the original data included in the compressed data.
KR1020140038267A 2014-03-31 2014-03-31 Binary data compression and restoration method and apparatus KR101587946B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140038267A KR101587946B1 (en) 2014-03-31 2014-03-31 Binary data compression and restoration method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140038267A KR101587946B1 (en) 2014-03-31 2014-03-31 Binary data compression and restoration method and apparatus

Publications (2)

Publication Number Publication Date
KR20150113766A KR20150113766A (en) 2015-10-08
KR101587946B1 true KR101587946B1 (en) 2016-01-22

Family

ID=54346636

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140038267A KR101587946B1 (en) 2014-03-31 2014-03-31 Binary data compression and restoration method and apparatus

Country Status (1)

Country Link
KR (1) KR101587946B1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100399489B1 (en) * 2000-02-10 2003-09-29 김종범 Femorotibial Resector Linker For Knee Arthroplasty
KR100389702B1 (en) * 2000-09-18 2003-06-27 주식회사 보람씨앤씨 The method for compressing and expanding data-stream without loss by bit-substitution

Also Published As

Publication number Publication date
KR20150113766A (en) 2015-10-08

Similar Documents

Publication Publication Date Title
CN113810057B (en) Method, apparatus and system for semantic value data compression and decompression
JP4769305B2 (en) Image signal encoding method and decoding method, information source encoding and decoding method, apparatus thereof, program thereof, and storage medium storing the program
WO2015197202A1 (en) Encoder, decoder and method
US6919826B1 (en) Systems and methods for efficient and compact encoding
KR101575939B1 (en) Binary data compression and restoration method and apparatus
KR101587944B1 (en) Binary data compression and restoration method and apparatus
JP2011223492A (en) Encoding device, decoding device, encoding and decoding system, and program
KR101587946B1 (en) Binary data compression and restoration method and apparatus
KR20180016556A (en) Encoders, decoders and methods using mode symbols
KR101590790B1 (en) Binary data compression and restoration method and apparatus
KR101471833B1 (en) Binary data compression and decompression method and apparatus
KR101549740B1 (en) Binary data compression and decompression method and apparatus
KR101612281B1 (en) Binary data compression and restoration method and apparatus
KR101652735B1 (en) Binary data compression and restoration method and apparatus
KR101603866B1 (en) Method of data compressing, method of data recovering, and the apparatuses thereof
KR101676421B1 (en) Data compression and restoration method and apparatus
KR101573983B1 (en) Method of data compressing, method of data recovering, and the apparatuses thereof
US20120183094A1 (en) Data transmitting device and data transmitting/receiving method
KR101676420B1 (en) Data compression and restoration method and apparatus
KR101632116B1 (en) Binary data compression and restoration method and apparatus
KR102361730B1 (en) Data compressing method and apparatus
KR101760070B1 (en) Data encoding and decoding method and apparatus
KR101632115B1 (en) Binary data compression and restoration method and apparatus
US20190097650A1 (en) Encoders, decoders, and methods
KR20160049627A (en) Enhancement of data compression rate by efficient mapping binary cluster with universal code based on frequency of binary cluster

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant