KR100448283B1 - Method for balanced encoding and decoding of blocks having the different constant weight - Google Patents

Method for balanced encoding and decoding of blocks having the different constant weight Download PDF

Info

Publication number
KR100448283B1
KR100448283B1 KR20010052892A KR20010052892A KR100448283B1 KR 100448283 B1 KR100448283 B1 KR 100448283B1 KR 20010052892 A KR20010052892 A KR 20010052892A KR 20010052892 A KR20010052892 A KR 20010052892A KR 100448283 B1 KR100448283 B1 KR 100448283B1
Authority
KR
South Korea
Prior art keywords
block
weight
blocks
type
bits
Prior art date
Application number
KR20010052892A
Other languages
Korean (ko)
Other versions
KR20030018659A (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 KR20010052892A priority Critical patent/KR100448283B1/en
Priority to US10/083,869 priority patent/US7055080B2/en
Priority to GB0204613A priority patent/GB2386487B/en
Priority to JP2002059008A priority patent/JP3652317B2/en
Priority to CNB021069867A priority patent/CN1220332C/en
Publication of KR20030018659A publication Critical patent/KR20030018659A/en
Application granted granted Critical
Publication of KR100448283B1 publication Critical patent/KR100448283B1/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)

Abstract

PURPOSE: Balanced encoding and decoding method using a grouped weight block are provided to improve a code ratio by encoding source blocks corresponding to the number of bits in a weight block to weight blocks. CONSTITUTION: The balanced encoding method converts a source block of m bits into the first and second weight blocks of n(where, n is an odd number) bits(n>m). A source block is grouped by (n+1) blocks. One of the (n+1) source blocks is converted into the first weight block. The remaining blocks of the (n+1) source blocks are converted into the first weight block or the second weight block according to a bit logic of an encoding balanced block. One of the (n+1) grouped source blocks is the first source block of the source blocks in a group. A weight block according to one source block among the (n+1) grouped source blocks is eliminated. The number of 1 in the first weight block is set to a value which satisfies 2¬m<nC2. The number(t) of 1 in the second weight block is set to a value which satisfies t=(n-a). The source block is converted into the first weight block and the second weight block by turns.

Description

그룹화 된 가중치 블록 부호화 및 복호화 방법{METHOD FOR BALANCED ENCODING AND DECODING OF BLOCKS HAVING THE DIFFERENT CONSTANT WEIGHT}METHOD FOR BALANCED ENCODING AND DECODING OF BLOCKS HAVING THE DIFFERENT CONSTANT WEIGHT}

본 발명은 블록 부호화 및 복호화 방법에 관한 것으로 더욱 상세하게는 부호화 효율을 높일 수 있는 그룹화된 가중치 블록 부호화 및 복호화 방법에 관한 것이다.The present invention relates to a block encoding and decoding method, and more particularly, to a grouped weight block encoding and decoding method for improving encoding efficiency.

디지털 비디오 카세트 레코더 또는 홀로그램 분야에서는 정보를 부호화하는 하는 방법으로 가중치 블록 부호화 방법을 사용하고 있다. 가중치 블록 부호 및 복호화 방법은 n 비트로 구성되는 블록 내의 0비트 및 1 비트의 수를 동일하게 구성하는 방법으로 디지털 비디오 카세트 레코더에서는 기록 신호의 DC 값을 0으로 설정할 수 있으며, 홀로그램에서는 화면 기록 전류를 일정하게 유지시킬 수 있다.In the field of digital video cassette recorders or holograms, a weight block coding method is used as a method of encoding information. The weight block code and the decoding method are configured to equally configure the number of 0 bits and 1 bit in a block composed of n bits. In a digital video cassette recorder, the DC value of a recording signal can be set to 0. Can be kept constant.

가중치 블록 부호는 예컨대 6:8 또는 8:12 등의 가중치 블록 부호로 구분할 수 있다. 6:8 가중치 블록 부호는 6개 비트로 구성된 블록(원 블록이라 함)을 8비트의 블록(가중치 블록이라 함)으로 변환시키는 것으로 8비트의 가중치 블록은 8비트로 표현되는 모든 비트가 포함되는 것이 아니라 1이 4개, 0이 4개로 구성되는 비트(8C4)만으로 구성된다. 6비트의 원 블록은 64개의 정보(26=64)를 표현할 수 있으며, 1이 4개, 0이 4개로 구성되는 8비트의 정보는 70개의 정보(8C4=70)를 표현할 수 있다. 따라서 6비트인 원 블록의 64개의 정보들은 8비트인 가중치 블록 내 임의의 정보들로 대칭시켜 부호화 할 수 있다.The weight block code may be divided into a weight block code such as 6: 8 or 8:12. A 6: 8 weight block code converts a block of 6 bits (called the original block) into an 8-bit block (called a weight block). An 8-bit weight block does not contain all the bits represented by 8 bits. It consists of only bits ( 8 C 4 ) consisting of four 1s and four zeros. A 6-bit circle block can represent 64 pieces of information (2 6 = 64), and an 8-bit piece of information consisting of four 1s and four zeros can represent 70 pieces of information ( 8 C 4 = 70). . Therefore, the 64 pieces of information of the 6-bit original block may be symmetrically encoded with arbitrary information in the 8-bit weight block.

부호화 된 8비트의 가중치 블록 부호들을 복호하고자 할 때에는 가중치 블록 내 8비트의 정보들 중 인텐시티(또는 레벨)가 가장 높은 4개의 비트는 1로 나머지 비트는 0으로 정의한다. 그리고 이 정보를 6비트의 원 블록 정보들에 대칭시켜 6비트의 원 정보로 복호한다.In order to decode the coded 8-bit weight block codes, four bits having the highest intensity (or level) among the 8-bit information in the weight block are defined as 1 and the remaining bits as 0. The information is then symmetrical to 6-bit original block information and decoded into 6-bit original information.

8:12의 가중치 블록 부호화 방법도 6:8의 가중치 블록 부호화 방법과 동일하다. 즉, 8비트의 원 블록에 대응하는 12비트의 가중치 블록은 6개의 1 및 6개의 0으로 구성되는 12비트(12C6)들로 구성된다. 여기서 8비트의 원 블록은 28=256개의 정보를 표현할 수 있으며, 12비트의 가중치 블록은12C6= 924개의 정보를 표현할 수 있으므로 8비트인 원 블록의 256개의 정보를 12비트인 가중치 블록 내 임의의 정보로 대칭시켜 부호화한다.The weight block coding method of 8:12 is also the same as the weight block coding method of 6: 8. That is, the 12-bit weight block corresponding to the original 8-bit block consists of 12 bits 12 C 6 composed of six 1s and six zeros. Here, the 8-bit original block can express 2 8 = 256 information, and the 12-bit weight block can express 12 C 6 = 924 information, so 256 information of the 8-bit original block is 12-bit weight block. I symmetrically encode it with my random information.

부호화된 12비트의 가중치 블록 부호들을 복호하고자 할 때에는 가중치 블록 내 12비트의 정보들 중 인텐시티(또는 레벨)가 가장 높은 6개의 비트는 1로 나머지 비트는 0으로 정의한다. 그리고 이 정보를 8비트의 원 블록 정보들에 대칭시켜 8비트의 원 정보로 복호한다.In order to decode the coded 12-bit weight block codes, 6 bits having the highest intensity (or level) among 12 bits of information in the weight block are defined as 1 and the remaining bits as 0. The information is symmetrical with 8-bit original block information and decoded into 8-bit original information.

상술한 가중치 블록 부호화 방법은 에러 율이 낮다고 하는 장점을 가지고 있으나 코드 율(code rate)이 낮다는 문제가 있다. 예컨대 4:6 가중치 블록 부호화 방법에서는블록 코드를 구성 가능한 6개의 비트는 4비트의 정보 비트만을 포함하고 있으므로 67%의 코드만이 사용되며, 6:8의 가중치 블록 부호화 방법에서는 블록 코드를 구성 가능한 8개의 비트는 6비트의 정보 비트만을 포함하고 있으므로 결국 75%의 코드만이 사용되고, 8:12 블록 코드에서는 블록 코드를 구성하는 12개의 비트는 8 비트의 정보 비트만을 포함하고 있으므로 결국 67%의 코드만이 사용된다. 따라서, 가중치 블록 부호화 방법은 코드 율이 상당히 낮아진다는 문제가 있다.The weight block coding method described above has the advantage that the error rate is low, but has a problem that the code rate is low. For example, in the 4: 6 weighted block coding method, since the six bits constituting the block code include only 4 bits of information bits, only 67% of the codes are used. In the 6: 8 weighted block coding method, the block code can be configured. Eight bits contain only 6 bits of information, so only 75% of the code is used.In the 8:12 block code, the 12 bits that make up the block code contain only 8 bits of information, resulting in 67% of the code. Only code is used. Therefore, the weight block coding method has a problem that the code rate is considerably lowered.

본 발명자는 이러한 문제를 해결하기 위하여 본 출원과 동일자로 '가중치 블록을 이용한 균형 부호화 및 복호화 방법(출원 번호 제 호)'를 출원한 바 있다. 이 출원 발명에서 본 발명자는 m 비트의 원 블록 정보를 n 비트의 가중치 블록 정보로 변환시켜 이를 이용하여 균형 부호화하는 방법 및 부호화된 n 비트의 가중치 블록 정보를 다시 m 비트의 원 블록 정보로 복호하는 방법을 제시하였다. 이러한 출원 발명의 내용을 개략적으로 설명하며 다음과 같다.In order to solve this problem, the present inventor has filed a 'balanced encoding and decoding method using a weighted block (application number No.)' with the same as the present application. In the present invention, the present inventor converts m-bit original block information into n-bit weight block information and balance-codes it using the same, and decodes the encoded n-bit weight block information back to m-bit original block information. The method is presented. The contents of the present invention are outlined as follows.

출원 발명은 원 블록을 가중치 블록으로 부호화 함에 있어서 하나의 가중치 블록을 이용하는 것이 아니라 두 개의 가중치 블록을 이용한다. 예컨대 5비트의 원 블록을 7비트의 가중치 블록 부호로 부호화 함에 있어서 두 개의 7비트 가중치 블록을 이용한다.The present invention uses two weight blocks instead of one weight block in encoding the original block into a weight block. For example, two 7-bit weight blocks are used to encode a 5-bit original block with a 7-bit weight block code.

이를 구체적으로 설명하면, 5비트의 원 블록은 25=32개의 정보를 표현할 수 있다. 또한 1의 개수가 3개(0의 개수가 4개)인 7비트(이하 A 형이라 한다.)가 표현 할 수 있는 정보의 수(7C3)는 35개이고, 1의 개수가 4개(0의 개수가 3개)인 7비트(이하 B 형이라 한다.)가 표현할 수 있는 정보의 수(7C4)는 35개이다. 따라서 5비트의 원 블록은 A형 또는 B 형의 7비트로 표현할 수 있음을 알 수 있다. 즉, A형 또는 B 형의 7비트로 가중치 블록 부호를 형성할 수 있다. 그러나, 상술한 A형 또는 B형 가중치 블록 부호의 경우에는 부호의 전체에 대하여 0의 개수와 1의 개수가 상이하므로 가중치 블록 부호의 원래 목적을 달성할 수 없다. 본 발명자는 이러한 문제를 다음과 같은 방법으로 해결하였다.Specifically, a 5-bit original block can express 2 5 = 32 pieces of information. In addition, the number of information ( 7 C 3 ) that can be represented by 7 bits (hereinafter referred to as A type) in which the number of 1s is 3 (the number of 0s is 4) is 35, and the number of 1s is 4 ( The number of information ( 7 C 4 ) that can be represented by 7 bits (hereinafter, referred to as B type) having 3 numbers of 0 is 35 pieces. Therefore, it can be seen that the original block of 5 bits can be represented by 7 bits of type A or B. That is, the weight block code can be formed by 7 bits of A type or B type. However, in the case of the A-type or B-type weight block code described above, the original purpose of the weight block code cannot be achieved because the number of 0s and the number of 1s are different with respect to the entire code. The inventors have solved this problem in the following way.

5비트의 정보를 A형 또는 B형의 가중치 블록 부호중 하나로 부호화하지 않고처음 입력된 5비트의 정보는 A형 다음 입력된 5비트의 정보는 B형의 가중치 블록 부호로 부호화하면 전체 가중치 블록 부호의 0 및 1의 개수는 동일하다. 따라서, 예컨대 홀수 번째 입력되는 5비트의 정보는 A 형의 가중치 블록 부호로, 짝수 번째 입력되는 5비트의 정보는 B형의 가중치 블록 부호로 변환시키면 가중치 블록 부호의 전체 1 및 0의 개수는 동일하다.If the first 5-bit information is input after the A-type and the 5-bit information is input by the B-type weight block code without encoding 5-bit information into one of the A-type or B-weighted block codes, the entire weighted block code is encoded. The number of 0's and 1's is the same. Thus, for example, when the odd-numbered five-bit information is converted into an A-type weight block code, and the even-numbered five-bit information is converted into a B-type weight block code, the total number of 1's and 0's in the weight block code is the same. Do.

A형 또는 B형의 가중치 블록 부호를 5비트의 원 정보로 복호할 때에는 상술한 과정과는 반대 과정을 수행하면 된다. 즉, 첫 번째 가중치 블록은 상기 예에서 A형 가중치 블록이므로, 블록 내의 비트들 중에서 로직 레벨이 큰 순서대로 3개를 로직 1로 나머지를 0으로 처리하고 처리된 비트들을 다시 5비트의 정보로 복호한다. 두 번째 가중치 블록은 상기 예에서 B형 가중치 블록이므로 블록 내의 비트들 중에서 로직 레벨이 큰 순서대로 4개를 로직 1로 나머지를 0으로 처리하고 처리된 비트들을 다시 5비트의 정보로 복호한다. 즉, 복호 과정에서도 홀수 번째의 가중치 블록은 A형 가중치 블록으로 인식하고 짝수 번째의 가중치 블록은 B형의 가중치 블록으로 인식하여 처리한다.When decoding the weight block code of type A or B into 5 bits of original information, a process opposite to that described above may be performed. That is, since the first weight block is a type A weight block in the above example, three of the bits in the block are processed in logic 1 as logic 1 and the rest as 0, and the processed bits are decoded back into 5 bits of information. do. Since the second weight block is a type B weight block in the above example, four of the bits in the block are processed in logic 1 as logic 1 and the rest as 0, and the processed bits are decoded back into 5 bits of information. That is, even in the decoding process, the odd-numbered weight blocks are recognized as the A-type weight blocks, and the even-numbered weight blocks are recognized as the B-type weight blocks and processed.

상술한 예는 원 블록의 정보를 홀수 개의 비트를 갖는 두 개의 가중치 블록의 정보로 부호화하여 균형 부호화 및 복호화하는 경우를 설명한 것으로, 이때 선택할 수 있는 가중치 블록은 1의 개수가 3개인 것과 1의 개수가 4개인 것의 조합만이 가능하다. 본 발명은 선택 가능한 가중치 블록의 조합이 2개 이상의 복수로도 존재가 가능하다. 이 경우에 예를 이하에서 설명한다.The above-described example describes a case in which balanced information is encoded and decoded by encoding information of an original block into information of two weight blocks having odd bits. In this case, the weight blocks that can be selected include three and one. Only a combination of four is possible. In the present invention, a combination of selectable weight blocks may exist in two or more plurality. An example is described below in this case.

본 예에서는 8비트의 원 블록을 11비트의 가중치 블록으로 부호화하는 경우이다.In this example, an 8-bit original block is encoded into an 11-bit weight block.

8비트의 원 블록이 표현 가능한 정보의 개수는 28=256개이다. 또한 1의 개수가 4개(혹은 5개)로 되는 11비트로 표현 가능한 정보의 개수는11C7=330(혹은11C6=462개이고, 1의 개수가 7개(혹은 6개)인 11비트로 표현 가능한 정보의 개수는11C4=330(혹은11C5=462)이다. 따라서 1의 개수가 4개(혹은 5개)인 11비트를 A형 가중치 블록으로, 1의 개수가 7개(혹은 6개)인 11비트를 B형 가중치 블록으로 설정하고(연산 속도를 고려하면은 0의 개수가 4개(혹은 5개)인 11비트를 검색하는 것이 바람직할 것이다.) 홀수 번째 입력되는 원 블록은 A형 가중치 블록의 임의 비트들로 부호화하고, 짝수 번째 입력되는 원 블록은 B 형 가중치 블록의 임의 비트들로 부호화할 수 있음을 알 수 있다.The number of information that an 8-bit original block can represent is 2 8 = 256 pieces. In addition, the number of information that can be represented by 11 bits having 4 (or 5) numbers of 1 is 11 C 7 = 330 (or 11 C 6 = 462) and 11 bits having 7 (or 6) numbers of 1s. The number of information that can be represented is 11 C 4 = 330 (or 11 C 5 = 462). Therefore, 11 bits having 4 (or 5) numbers of 1s are type A weight blocks and 7 of 1s ( (Or 6) 11 bit is set as a B-weighted block (regarding the operation speed, it is preferable to search 11 bits having 4 (or 5) numbers of 0). It can be seen that the block is encoded with arbitrary bits of the A-type weight block, and the even-numbered input original block can be encoded with arbitrary bits of the B-type weight block.

A형 또는 B형 가중치 블록을 8비트의 원 블록으로 복호하고자 할 때에는 상술한 과정과는 반대 과정을 수행하면 된다. 즉, 첫 번째 가중치 블록은 상기 예에서 A형 가중치 블록이므로, 블록 내의 비트들 중에서 로직 레벨이 큰 순서대로 4개를 로직 1로 나머지를 0으로 처리하고 처리된 비트들을 다시 8비트의 정보로 복호한다. 두 번째 가중치 블록은 상기 예에서 B형 가중치 블록이므로 블록 내의 비트들 중에서 로직 레벨이 큰 순서대로 7개를 로직 1로 나머지를 0으로 처리하고 처리된 비트들을 다시 8비트의 정보로 복호한다. 즉, 복호 과정에서도 홀수 번째의 가중치 블록은 A형 가중치 블록으로 인식하고 짝수 번째의 가중치 블록은 B형의 가중치 블록으로 인식하여 처리하는 것이다.In order to decode an A-type or B-type weight block into an 8-bit original block, a process opposite to that described above may be performed. That is, since the first weight block is an A-type weight block in the above example, four of the bits in the block are processed in logic 1 as logic 1 and the rest as 0, and the processed bits are decoded into 8 bits of information. do. Since the second weight block is a type B weight block in the above example, seven of the bits in the block are processed in logic 1 as logic 1 in order of the rest, and the processed bits are decoded back into 8 bits of information. That is, even in the decoding process, the odd-numbered weight blocks are recognized as the A-type weight blocks, and the even-numbered weight blocks are recognized as the B-type weight blocks and processed.

상술한 예에서 출원 발명은 m 비트의 원 블록을 n 비트의 가중치 블록으로 변환시켜 부호화 하였다. 여기서 m비트의 원 블록을 n비트의 가중치 블록으로 부호화 함에 있어서 n비트 블록 중에서 1을 몇 개 가지고 있는 n비트 블록으 가중치 블록으로 설정할지가 문제된다. 예컨데 8비트의 원 블록을 11비트의 변형 블록으로 변환시킴에 있어서 1의 개수가 4개, 또는 7개인 11비트만을 가중치 블록으로 선택하였다. 본 발명자는 이러한 문제를 해결하기 위하여 노력하던 중 n 비트의 블록 중에서 가중치 블록을 형성할 수 있는 1의 개수는 수학식 1을 이용하여 선택할 수 있음을 알게 되었다.In the above-described example, the present invention is encoded by converting an m-bit original block into an n-bit weight block. Here, in encoding an m-bit original block into an n-bit weight block, it is a question of how many n-bit blocks having 1 out of the n-bit blocks are set as weight blocks. For example, in converting an 8-bit original block into an 11-bit transformed block, only 11 bits having 4 or 7 numbers of 1 were selected as weight blocks. The present inventors have found that the number of 1s that can form a weight block among n-bit blocks can be selected using Equation 1 while trying to solve this problem.

여기서 m은 원 블록의 비트 개수이고, n은 변환 블록의 비트 개수이며, a는 변환 블록 내 로직1을 갖는 비트의 수이다. 즉, 8비트의 원 블록을 11비트의 변형 블록으로 변환시키고자 할 때에는 28=256인 바, 256개 이상의 값을 갖는 a값을 검색한다. 여기서11Ca〈256을 갖는 값(a)은 4 이상 즉 4, 5,, 6, ...이 될 수 있다. 상기 예에서는 이러한 값들 중에서 가장 작은 값 즉 4를 실질적인 a 값으로 설정한다. 값(a)을 4로 설정하는 이유는 본 발명의 기술 분야에서 통상의 지식을 가진 자는 후술하는 설명으로부터 용이하게 알 수 있을 것이다.Where m is the number of bits in the original block, n is the number of bits in the transform block, and a is the number of bits with logic 1 in the transform block. That is, when 8-bit original block is to be converted into 11-bit transformed block, 2 8 = 256, so that a value having 256 or more values is searched for. In this case, the value a having 11 C a <256 may be 4 or more, that is, 4, 5, 6,... In the above example, the smallest of these values, i.e., 4, is set to the actual a value. The reason for setting the value a to 4 will be readily apparent to those skilled in the art from the following description.

한편 수학식 1에 의하여 설정되는 값(a)은 두 개의 가중치 블록들(A형 또는 B형) 중에서 하나의 가중치 블록(예컨데 A형)에 관한 것이다. 다른 형(B형)의 가중치 블록에서의 1의 비트 수(11Ct)는 다음의 수학식 2로 검출할 수 있다.Meanwhile, the value a set by Equation 1 relates to one weight block (for example, A type) of two weight blocks (type A or B). The number of bits 11 C t in the weight block of another type (B type) can be detected by the following equation (2).

t=n-at = n-a

수학식 2를 상술한 예에 적용시키면 B형 가중치 블록의 값(t)은 7(혹은 6)임을 알 수 있다.Applying Equation 2 to the above example, it can be seen that the value t of the B-type weight block is 7 (or 6).

출원 발명의 가중치 블록을 이용하며 코드 율의 향상시키는 효과를 얻을 수 있으나, 출원 발명과 본 발명의 발명자는 가중치 블록을 이용하여 코드 율을 더욱 향상시킬 수 있는 방법을 계속하여 강구하였다.The weight block of the present invention can be used to obtain an effect of improving the code rate. However, the present invention and the inventor of the present invention have continuously devised a method of further improving the code rate by using the weight block.

본 발명은 이러한 연구 결과에 의한 것으로 본 발명의 목적은 다수개의 원 블록을 그룹 단위로 가중치 블록으로 부호화 함으로써 코드 율을 향상시킨 가중치 블록의 부호화 및 복호화 방법을 제공하는데 있다.The present invention is based on the results of the research, and an object of the present invention is to provide a method for encoding and decoding a weight block, which improves a code rate by encoding a plurality of original blocks into group weight blocks.

이러한 목적을 달성하기 위한 본 발명은, m 비트의 원 블록을 홀수인 n(n〉m) 비트의 제 1 및 제 2 가중치 블록으로 변환시키는 가중치 블록 부호화 방법으로, 상기 원 블록을 n+1개씩 그룹화하고, 상기 그룹화 된 n+1개의 원 블록들 중 기 설정된 어느 하나의 원 블록을 제 1 가중치 블록으로 변환시키며; 상기 제 1 가중치 블록 내의 비트들의 로직에 따라 상기 그룹 내의 나머지 원 블록들을 제 1 또는 제 2 가중치 블록으로 변환시킨다.In order to achieve the above object, the present invention provides a weight block encoding method for converting an m-bit original block into odd first and second weight blocks of n (n> m) bits, wherein the original block is n + 1 each. Grouping and converting one predetermined circle block among the grouped n + 1 circle blocks into a first weight block; The remaining original blocks in the group are converted into first or second weight blocks according to the logic of the bits in the first weight block.

본 발명은 또한 n개의 가중치 블록을 n+1개의 원 블록으로 복호하는 방법으로, 상기 가중치 블록 내의 비트들을 가산하여 가산 값에 따라 상기 가중치 블록이 제 1 또는 제 2 형 중 어느 타입의 가중치 블록인가를 검출하는 단계와; 상기 가중치 블록들의 타입 정보에 대응하는 상기 n 비트의 로직을 구성하여 새로운 가중치 블록을 형성하는 단계와; 상기 새로운 가중치 블록을 포함하는 상기 가중치 블록들을 상기 타입에 따라 원 블록으로 복호하는 단계를 구비한다.The present invention also provides a method of decoding n weight blocks into n + 1 original blocks, and adds bits in the weight block to determine which type of weight block is the first or second type weight block according to the addition value. Detecting; Forming a new weight block by configuring the n-bit logic corresponding to the type information of the weight blocks; Decoding the weight blocks including the new weight block into original blocks according to the type.

도 1은 본 발명에 따른 그룹화 된 가중치 블록 부호화 및 복호화를 설명하기 위한 도면,1 is a view for explaining grouped weight block encoding and decoding according to the present invention;

도 2는 본 발명을 행하는 그룹화 된 가중치 블록 부호화 장치의 블록도,2 is a block diagram of a grouped weight block encoding apparatus according to the present invention;

도 3은 본 발명을 행하는 그룹화 된 가중치 블록 복호화 장치의 블록도.3 is a block diagram of a grouped weight block decoding apparatus in accordance with the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

1 : 아날로그/디지털 변환 회로 3 : 버퍼 회로1: analog / digital conversion circuit 3: buffer circuit

5 : 스위치 7 : 제어부5 switch 7 control unit

9 : A형 변환 회로 11 : B형 변환 회로9 type A conversion circuit 11 type B conversion circuit

21 : 버퍼 회로 23 : 제어부21: buffer circuit 23: control unit

24 : 스위치 25 : A형 역변환 회로24: switch 25: A type reverse conversion circuit

27 : B형 역변환 회로27: B type reverse conversion circuit

이하, 첨부 도면을 참조하여 본 발명의 원리에 대하여 설명하고 그 실시예를 순차적으로 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described the principle of the present invention and the embodiments will be described in detail sequentially.

본 발명은 가중치 블록 내의 정보를 직접 기록 매체 등에 제공하는 것이 아니라 가중치 블록의 비트 수만큼 그룹화하여 처리하는데 그 특징이 있다. 이러한 특징을 도 1을 참조하여 설명한다.The present invention is characterized in that the information in the weight block is not directly provided to a recording medium or the like but is grouped and processed by the number of bits of the weight block. This feature will be described with reference to FIG. 1.

도 1에는 8비트의 원 블록(OB1-OB12)을 11비트의 가중치 블록(BB1-BB11)으로 부호화하는 과정이 도시되어 있다. 도면은 화살표를 이용하여 원 블록(OB1-OB12)에 대응하는 가중치 블록(BB1-B12)을 표시하고 있다.FIG. 1 illustrates a process of encoding 8-bit original blocks OB1-OB12 into 11-bit weight blocks BB1-BB11. The figure shows the weight blocks BB1-B12 corresponding to the original blocks OB1-OB12 using arrows.

종래 기술에서는 원 블록(OB1-OB12)을 가중치 블록(BB1-BB12)으로 부호화 하기 위해서 홀수 번째 원 블록(OB1, OB3, OB5, OB7, OB9, OB11)은 예컨대 A형 가중치 블록(11비트 중에서 1이 4개인 블록)으로, 짝수 번째 원 블록(OB2, OB4, OB6, OB8, OB10, OB12)은 예컨대 B형 가중치 블록(11비트 중에서 1이 7개인 블록)으로 부호화 하나 본 발명에서는 이와는 상이하게 다음과 같이 부호화 한다.In the prior art, in order to encode the original blocks OB1-OB12 into the weight blocks BB1-BB12, the odd-numbered one blocks OB1, OB3, OB5, OB7, OB9, and OB11 are, for example, A-type weight blocks (1 out of 11 bits). The four even blocks (OB2, OB4, OB6, OB8, OB10, OB12) are encoded as, for example, B type weight blocks (blocks having 1 of 7 out of 11 bits). Code like this:

즉, 도 1에 도시된 바와 같이 본 발명에서는 첫 번째 원 블록(OB1)은 예컨데A형 가중치 블록(BB1)으로 부호화한다. 그리고, 두 번째 원 블록(OB2)부터 열두 번째 블록(OB12)을 가중치 블록으로 부호화할 때에는 A형 가중치 블록(BB1)내 11비트들의 로직 상태에 따라 A형 또는 B형 가중치 블록으로 부호화한다. 예컨대 A형 가중치 블록(BB1) 내의 11비트의 로직 상태가 도시된 바와 같고, 로직 1은 A형, 로직 0은 B형으로 설정되어 있다면 두 번째 원 블록(OB2)은 A형 가중치 블록(BB2)으로 부호화하고, 세 번째 원 블록(OB3)은 B형 가중치 블록(BB3)으로 부호화하는 것이다. 이러한 방법에 의하여 두 번째부터 열두 번째 원 블록(OB2-OB12)을 가중치 블록 부호화하기 위한 타입(A형 또는 B형)을 결정할 수 있다.That is, as shown in FIG. 1, the first circle block OB1 is encoded as, for example, an A-type weight block BB1. When encoding from the second circle block OB2 to the twelfth block OB12 into a weight block, the second circle block OB2 is encoded into a type A or B weight block according to a logic state of 11 bits in the type A weight block BB1. For example, if the 11-bit logic state in the type A weight block BB1 is shown, and logic 1 is set to type A and logic 0 is set to type B, the second circle block OB2 is the type A weight block BB2. The third original block OB3 is encoded into a B-type weight block BB3. In this way, a type (type A or type B) for weight block coding the second to twelfth circle blocks OB2-OB12 may be determined.

상술한 과정을 통하여 부호화된 가중치 블록(BB1-BB12)을 얻을 수 있으나, 본 발명에서는 가중치 블록(BB1-BB12)들 중 첫 번째 가중치 블록(BB1)을 제외한 가중치 블록(BB2-BB12)의 정보만을 기록 매체에 기록하거나 외부에 전송한다. 즉, 가중치 블록(BB1)은 사용하지 않고 소거되는 것이다. 그러나, 다음에 설명되는 복호 과정을 통하여 가중치 블록(BB1)의 정보는 복구될 수 있다.Although the encoded weight blocks BB1-BB12 may be obtained through the above-described process, in the present invention, only the information of the weight blocks BB2-BB12 except for the first weight block BB1 among the weight blocks BB1-BB12 may be obtained. Record on the recording medium or transmit to the outside. That is, the weight block BB1 is erased without using it. However, the information of the weight block BB1 may be recovered through the decoding process described below.

복호 과정은 다음과 같다.The decoding process is as follows.

먼저, 가중치 블록(BB2-BB12)의 정보들을 11 비트 단위 즉 가중치 블록(B2-BB12) 단위로 분할하고, 가중치 블록(B2-B12)들 내의 비트들의 값을 블록별로 가산한다. 이 경우 A형 가중치 블록(위의 예에서는 BB2, BB6, BB9, BB12) 내에는 1이 4개있으므로 4라는 값이 나올 것이나, B형 가중치 블록(위의 예에서는 BB3, BB4, BB5, BB7, BB8, BB10, BB11)에는 7이라는 값이 나올 것이다. 또한, 가중치 블록(BB2-BB12)들의 타입(A형 또는 B형)은 가중치 블록(BB1)내의 비트 로직에 의하여 결정되며, 가중치 블록(BB1)은 A형이므로 1이 4개이므로 가중치 블록(BB2-BB12)내에는 A형이 4개, B형이 7개 존재함을 의미한다. 따라서, 가중치 블록(BB2-B12)별로 내부 비트값을 가산하고, 가산된 결과 값이 상대적으로 큰 7개의 가중치 블록은 B형으로, 가산된 결과 값이 상대적으로 작은 4개의 가중치 블록은 A형으로 설정할 수 있다.First, the information of the weight blocks BB2-BB12 is divided into 11 bit units, that is, the weight blocks B2-BB12, and the values of the bits in the weight blocks B2-B12 are added for each block. In this case, since there are four 1s in the A-type weight block (BB2, BB6, BB9, BB12 in the above example), a value of 4 will appear, but the B-type weight block (BB3, BB4, BB5, BB7, BB8, BB10, BB11) will have a value of 7. In addition, the type (type A or B) of the weight blocks BB2-BB12 is determined by the bit logic in the weight block BB1, and since the weight block BB1 is A type, 1 is 4, so the weight block BB2 -BB12) means that there are 4 types A and 7 types B. Therefore, the internal bit values are added for each weight block BB2-B12, and the seven weight blocks having a relatively large added result value are type B, and the four weight blocks having a relatively small added result value are type A. Can be set.

상술한 과정을 통하여 가중치 블록(B2-B12)들의 타입을 검출할 수 있으며, 검출된 타입을 가중치 블록(BB2-B12)순으로 배열하면 다음과 같다.Types of the weight blocks B2-B12 may be detected through the above-described process, and the detected types are arranged in the order of the weight blocks BB2-B12 as follows.

A(BB2), B(BB3), B(BB4), B(BB5), A(BB6), B(BB7), B(BB8), A(BB9), B(BB10), B(BB11), A(BB12)A (BB2), B (BB3), B (BB4), B (BB5), A (BB6), B (BB7), B (BB8), A (BB9), B (BB10), B (BB11), A (BB12)

여기서, 타입(A)은 로직 1로, 타입(B)은 로직 0으로 설정하면 다음과 같다.Here, if type (A) is set to logic 1 and type (B) is set to logic 0, it is as follows.

1(BB2), 0(BB3), 0(BB4), 0(BB5), 1(BB6), 0(BB7), 0(BB8), 1(BB9), 0(BB10), 0(BB11), 1(BB12)1 (BB2), 0 (BB3), 0 (BB4), 0 (BB5), 1 (BB6), 0 (BB7), 0 (BB8), 1 (BB9), 0 (BB10), 0 (BB11), 1 (BB12)

이러한 로직 값은 도1에서 알 수 있는 바와 같이 가중치 블록(BB1)내 비트 들의 로직 값과 동일하다. 따라서, 부호화 과정에서 소거되었던 가중치 블록(BB1)의 비트 정보들을 복원할 수 있다.This logic value is equal to the logic value of the bits in the weight block BB1 as can be seen in FIG. Therefore, the bit information of the weight block BB1 that has been erased in the encoding process may be restored.

상술한 과정을 통하여 가중치 블록(BB1-BB12) 내의 비트 정보 및 타입 정보가 검출되면, 가중치 블록(BB1-BB12)을 원 블록(OB1-OB12)으로 복호하는 과정은 종래와 동일하게 수행할 수 있음은 본 발명의 기술 분야에서 통상의 지식을 가진 자는 용이하게 알 것이므로 본 명세서에서는 구체적인 설명을 생략하였다.When bit information and type information in the weight blocks BB1-BB12 are detected through the above-described process, the process of decoding the weight blocks BB1-BB12 into the original blocks OB1-OB12 can be performed in the same manner as in the related art. Since a person skilled in the art of the present invention will easily know, detailed description thereof has been omitted.

이하에서는 상술한 원리를 갖는 본 발명의 실시예를 상세히 설명한다.Hereinafter, embodiments of the present invention having the above-described principle will be described in detail.

도 2에는 본 발명을 행하는 장치의 개략 블록도가 도시되어 있다.2 shows a schematic block diagram of an apparatus for carrying out the invention.

도 2에는 본 발명에 따라 가중치 블록 부호화를 행하는 장치의 개략 블록도가 도시되어 있다. 도시된 바와 같이 가중치 블록 부호화 장치는 아날로그/디지탈 변환 회로(이하 A/D변환 회로라 함)(1)를 구비하며, A/D 변환 회로(1)는 입력 영상 신호를 디지털 신호로 변환시켜 버퍼 회로(3)에 제공한다. 버퍼 회로(3)는 m(도 1의 예에서는 8)비트로 구성되어 입력 디지털 신호를 m비트 단위로 출력하며, m비트 단위로 디지털 신호를 출력할 때마다 소정의 타이밍 신호를 출력한다. 여기서, m비트의 신호가 원 블록이 된다.2 is a schematic block diagram of an apparatus for weight block coding according to the present invention. As shown, the weight block encoding apparatus includes an analog / digital conversion circuit (hereinafter referred to as an A / D conversion circuit) 1, and the A / D conversion circuit 1 converts an input video signal into a digital signal and buffers the same. To the circuit 3. The buffer circuit 3 is composed of m (8 in the example of Fig. 1) outputs the input digital signal in m-bit units, and outputs a predetermined timing signal each time the digital signal is output in m-bit units. Here, the m-bit signal becomes a one block.

버퍼 회로(3)의 원 블록은 스위치(5)에 제공되며, 스위치(5)는 제어부(7)의 제어에 따라 원 블록을 A형 변환 회로(9) 또는 B형 변환 회로(11)에 제공한다. A형 변환 회로(9)는 m 비트의 원 블록을 n(도 1의 예에서는 11) 비트의 A형 가중치 블록으로 변환시켜 출력하며, B 형 변환 회로(11)는 m 비트의 원 블록을 n 비트의 B형 가중치 블록으로 변환시켜 출력한다.The original block of the buffer circuit 3 is provided to the switch 5, and the switch 5 provides the original block to the A-type conversion circuit 9 or the B-type conversion circuit 11 under the control of the control unit 7. do. The A-type conversion circuit 9 converts the m-bit original block into n-type weighted blocks of n (11 in the example of FIG. 1) and outputs it. The B-type conversion circuit 11 outputs the m-bit original block n. The result is converted into a B-type weight block of bits and output.

제어부(7)는 내부에 계수 수단을 구비하여 버퍼 회로(3)로부터 제공되는 타이밍 신호를 계수하며 이 계수 수단은 n+1개의 타이밍 신호가 인가될 때에 리세트되도록 구성된다. 여기서, n+1개는 m 비트의 원 블록을 가중치 블록으로 변환시킬 경우 가중치 블록의 비트 수보다 1이 큰 값으로 설정된다.The control unit 7 has counting means therein to count the timing signals provided from the buffer circuit 3, and the counting means is configured to be reset when n + 1 timing signals are applied. Here, n + 1 is set to a value larger than 1 by the number of bits of the weight block when the original block of m bits is converted into a weight block.

제어부(7)는 내부 계수 수단의 계수 값이 1일 때 즉 계수 수단이 리세트 된 후에 첫 번째 타이밍 신호가 인가될 때에는 스위치(5)를 제어하여 원 블록을 A형 변환 회로(9)에 제공한다. 또한 제어부(7)는 내부 계수 수단의 계수 값이 2로부터n+1이 될 때까지(즉, 내부 계수 값이 리세트 된 후에 두 번째 타이밍 신호로부터 n+1 번째 타이밍 신호가 인가될 때까지)는 타이밍 신호가 인가될 때마다 A형 변환 회로(9)로부터 제공되는 A형 가중치 블록 내 비트의 로직 순서에 따라 버퍼 회로(1)의 원 블록이 A형 또는 B형 변환 회로(9, 11)에 제공될 수 있도록 스위치(5)의 스위칭을 제어한다. 즉, 도 1에 도시된 바와 같이 첫 번째 원 블록(OB1)은 A형 변환 회로(9)에 의하여 A형 가중치 블록(BB1)으로 변환되며, 이후의 원 블록(OB2-OB12)은 A형 변환 회로(9) 또는 B형 변환 회로(11)에 의하여 A 또는 B형의 가중치 블록(BB2-BB12)으로 변환되는 것이다.The control unit 7 controls the switch 5 when the count value of the internal counting means is 1, that is, when the first timing signal is applied after the counting means is reset, and provides the original block to the A-type conversion circuit 9. do. The control unit 7 also controls the internal counting means until the count value becomes 2 to n + 1 (that is, until the n + 1 th timing signal is applied from the second timing signal after the internal count value is reset). The original block of the buffer circuit 1 is an A or B type conversion circuit 9, 11 according to the logic order of bits in the A type weight block provided from the A type conversion circuit 9 each time a timing signal is applied. It controls the switching of the switch 5 so that it can be provided. That is, as shown in FIG. 1, the first circle block OB1 is converted into the A-type weight block BB1 by the A-type conversion circuit 9, and the subsequent circle blocks OB2-OB12 are A-type conversions. The circuit 9 or the B type conversion circuit 11 converts the A or B type weight blocks BB2-BB12.

A형 변환 회로(9)의 출력에는 스위치(13)가 연결되어 있으며, 스위치(13)는 제어부(7)의 제어에 따라 온/오프되며, 제어부(7)는 내부 계수 수단의 계수 값이 2로부터 n+1이 될 때까지(즉, 내부 계수 값이 리세트 된 후에 두 번째 타이밍 신호로부터 n+1 번째 타이밍 신호가 인가될 때까지)는 스위치(13)를 온시키나, 첫 번째 타이밍 신호가 제공된 경우에는 스위치(13)를 오프시킨다. 즉 도 1의 예에서 A형의 첫 번째 가중치 블록(BB1)의 비트들은 제어부(7)에 제공되나, 두 번째 이후의 가중치 블록(BB11) 중 A형 변환 회로(9)에 의한 A형의 균형 블럭(BB2, BB6, BB9, BB12)은 제어부(7)에 제공되지 않고 바로 출력되는 것이다.A switch 13 is connected to the output of the A-type conversion circuit 9, the switch 13 is turned on / off under the control of the control unit 7, and the control unit 7 has a coefficient value of the internal counting means 2. To n + 1 (i.e., until the n + 1 th timing signal is applied from the second timing signal after the internal count value is reset), but the first timing signal is turned on. If provided, switch 13 is turned off. That is, in the example of FIG. 1, the bits of the first weight block BB1 of type A are provided to the controller 7, but the balance of type A by the type A conversion circuit 9 of the second and subsequent weight blocks BB11 is provided. The blocks BB2, BB6, BB9 and BB12 are not provided to the control unit 7 but are output directly.

상술한 구성을 갖는 본 발명의 장치 스위치(13) 또는 B형 변환 회로(11)를 통하여 출력되는 가중치 블록(도 1의 예에서 BB2-BB12)은 도시하지 않은 기록 수단에 의하여 자기 매체 또는 홀로그램 매체에 기록된다.The weight block (BB2-BB12 in the example of FIG. 1) outputted through the device switch 13 or the B-type conversion circuit 11 of the present invention having the above-described configuration is a magnetic medium or a hologram medium by recording means (not shown). Is written on.

도 3에는 도 2의 장치에 의하여 자기 기록 매체 또는 홀로그램 매체에 기록된 가중치 블록(도 1의 예에서 BB2-BB12)으로부터 원 블록(OB1-OB12)을 복호하는 장치의 예가 도시되어 있다. 도시된 바와 같이 복호 장치는 버퍼 회로(21)를 구비하며, 버퍼 회로(21)는 n비트(도 1의 예에서는 11)인 가중치 블록의 비트 신호들을 n개의 버퍼(B2~Bn+1)에 순차적으로 저장한다.FIG. 3 shows an example of an apparatus for decoding the original blocks OB1-OB12 from the weight block (BB2-BB12 in the example of FIG. 1) recorded on the magnetic recording medium or the hologram medium by the apparatus of FIG. As shown, the decoding device includes a buffer circuit 21, and the buffer circuit 21 transmits bit signals of a weight block that is n bits (11 in the example of FIG. 1) to n buffers B2 to Bn + 1. Store sequentially.

버퍼(B2~Bn+1)에는 제어부(23)가 연결되어 있으며, 제어부(23)는 버퍼(B2~Bn+1)에 저장되어 있는 가중치 블록들의 내부 비트들을 버퍼별로(가중치 블록별로) 가산하고, 가산 값에 따라 버퍼(B2~Bn+1)내의 가중치 블록이 A형인지 또는 B형인지를 판단한다. 즉, 도 1의 예에 따르면 A형 가중치 블록(BB2, BB6, BB9, BB12)에는 4개의 1이 존재하고, B형 균형 블럭(BB3, BB4, BB5, BB7, BB8, BB10, BB11)에는 7개의 1이 존재하므로 가중치 블록의 비트들의 값을 가산한 결과 가산 값이 상대적으로 큰 7개의 가중치 블록은 B형으로 판단하고, 가산 값이 상대적으로 작은 4개의 가중치 블록은 A형으로 판단하는 것이다.The control unit 23 is connected to the buffers B2 to Bn + 1, and the control unit 23 adds internal bits of the weight blocks stored in the buffers B2 to Bn + 1 for each buffer (by weight block). In accordance with the addition value, it is determined whether the weight block in the buffers B2 to Bn + 1 is A type or B type. That is, according to the example of FIG. 1, four 1s exist in the A-type weight blocks BB2, BB6, BB9, and BB12, and seven in the B-type balance blocks BB3, BB4, BB5, BB7, BB8, BB10, and BB11. Since 1 is present, as a result of adding bits of the weight block, seven weight blocks having a relatively large addition value are determined as B type, and four weight blocks having a relatively small addition value are determined as A type.

이러한 과정이 종료되는 제어부(23)는 버퍼(B2~Bn+1)의 타입(A형 또는 B형)에 따른 로직 값(예컨대 A형은 1, B형은 0)을 버퍼(B1)에 기재한다. 따라서, 버퍼(B1~Bn+1)에는 가중치 블록(도 1의 예에서 BB1-BB12)이 저장된다.The control unit 23 which ends this process writes a logic value (for example, type A is 1 and type B is 0) according to the type (type A or B) of the buffers B2 to Bn + 1 in the buffer B1. do. Therefore, the weight blocks (BB1-BB12 in the example of FIG. 1) are stored in the buffers B1 to Bn + 1.

버퍼 회로(21)에는 또한 스위치(24)를 통하여 A형 역변환 회로(25) 및 B형 역 변환 회로(27)가 연결되어 있으며, 제어부(21)는 스위치(24)를 제어하여 버퍼(B1~Bn+1)의 가중치 블록들을 그 타입에 따라 A 형 역변환 회로(25) 또는 B형 역변환 회로(27)에 제공한다. 버퍼(B1~Bn+1) 내 가중치 블록의 타입은 상술한 과정을 통하여 검출되었으므로 그 타입에 따라 A 형 역변환 회로(25) 또는 B형 역변환회로(27)에 제공하는 것은 간단히 구성될 수 있음은 본 발명의 기술 분야에서 통상의 지식을 가진 자는 용이하게 알 것이다. 한편, 버퍼(B1)내의 가중치 블록에 대한 타입은 상술한 과정을 통해 검출되는 것이 아니며, 도 2의 부호화 장치가 가중치 블록(BB1)을 어떠한 타입으로 부호화 하였는지에 의존하며, 도 2의 예에서는 가중치 블록(BB1)을 A형으로 부호화하였는바, 가중치 블록(BB1)은 A형 역 변환 회로(25)에 제공하여야 할 것이다.The buffer circuit 21 is further connected with an A-type inverse conversion circuit 25 and a B-type inverse conversion circuit 27 via a switch 24, and the control unit 21 controls the switch 24 to buffer the buffers B1 ˜. The weight blocks of Bn + 1) are provided to the type A inverse conversion circuit 25 or the type B inverse conversion circuit 27 according to the type thereof. Since the type of the weight block in the buffers B1 to Bn + 1 has been detected through the above-described process, the provision of the weight block to the type A inverse conversion circuit 25 or the type B inverse conversion circuit 27 can be simply performed. Those skilled in the art will readily know. Meanwhile, the type of the weight block in the buffer B1 is not detected through the above-described process, and depends on what type the weighting device BB1 encodes in the encoding apparatus of FIG. 2. In the example of FIG. Since BB1 is coded as A type, the weight block BB1 should be provided to the A type inverse conversion circuit 25.

A형 역변환 회로(25) 및 B형 역 변환 회로(27)는 입력되는 A형 및 B형의 가중치 블록(BB1-BBn)을 대응하는 원 블록으로 변환시켜 출력한다.The type A inverse conversion circuit 25 and the type B inverse conversion circuit 27 convert the input type A and B weight blocks BB1-BBn into corresponding original blocks and output them.

상술한 바와 같이 본 발명에서는 원 블록을 가중치 블록으로 부호화함에 있어서, 가중치 블록 내 비트의 수에 해당하는 원 블록들만을 가중치 블록들로 부호화하므로 코드 율을 향상시킬 수 있다는 효과가 있다. 예컨대, 8비트의 원 블록을 11비트의 가중치 블록으로 부호화할 때에는 8/11 = 72.2%의 부호화 효율을 가지나, 본 발명에서는 96개의 데이터 비트를 96개(8×12)를 121개의 데이터 비트(11×11)로 변환 처리하므로 96/121=79.3%의 코드 율을 갖는다. 따라서, 본 발명의 코드 율이 대폭 향상됨을 알 수 있다.As described above, in encoding the original block into the weight block, since only the original blocks corresponding to the number of bits in the weight block are encoded into the weight blocks, the code rate can be improved. For example, when encoding an 8-bit original block into an 11-bit weight block, the encoding efficiency is 8/11 = 72.2%. However, in the present invention, 96 data bits (96 × 8) and 121 data bits ( 11 × 11), so the code rate is 96/121 = 79.3%. Therefore, it can be seen that the code rate of the present invention is greatly improved.

Claims (6)

m 비트의 원 블록을 홀수인 n(n〉m) 비트의 제 1 및 제 2 가중치 블록으로 변환시키는 가중치 블록 부호화 방법으로서,A weight block encoding method for converting an m block of original blocks into first and second weight blocks of odd n (n> m) bits, 상기 원 블록을 n+1개씩 그룹화하고, 상기 그룹화 된 n+1개의 원 블록들 중 기 설정된 어느 하나의 원 블록을 제 1 가중치 블록으로 변환시키며;Grouping the original blocks by n + 1 and converting any one original circle block among the grouped n + 1 original blocks into a first weight block; 상기 제 1 가중치 블록 내의 비트들의 로직에 따라 상기 그룹 내의 나머지 원 블록들을 제 1 또는 제 2 가중치 블록으로 변환시키는 그룹화 된 가중치 블록 부호화 방법.And grouping the remaining original blocks in the group into first or second weight blocks according to logic of bits in the first weight block. 제 1 항에 있어서,The method of claim 1, 상기 그룹화 된 n+1개의 원 블록들 중 기 설정된 어느 하나의 원 블록은 그룹 내의 원 블록들 중에서 첫 번째 원 블록임을 특징으로 하는 그룹화 된 가중치 블록 부호화 방법.And a predetermined one of the grouped n + 1 original blocks is the first one among the original blocks in the group. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 그룹화 된 n+1개의 원 블록들 중 기 설정된 어느 하나의 원 블록이 부호화된 가중치 블록은 소거됨을 특징으로 하는 그룹화 된 가중치 블록 부호화 방법.The weighted block in which one predetermined original block is encoded among the grouped n + 1 original blocks is erased. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 1 가중치 블록 내 1의 개수는을 만족시키는 값(a)으로 설정되며,The number of 1s in the first weight block is Is set to a value (a) that satisfies 상기 제 2 가중치 블록 내의 1의 개수(t)는 t=n-a을 만족시키는 값으로 설정됨을 특징으로 하는 그룹화 된 가중치 블록 부호화 방법.The number t of 1s in the second weight block is set to a value satisfying t = n-a. n개의 가중치 블록을 n+1개의 원 블록으로 복호하는 방법으로서,A method of decoding n weight blocks into n + 1 original blocks, 상기 가중치 블록 내의 비트들을 가산하여 가산 값에 따라 상기 가중치 블록이 제 1 또는 제 2 형 중 어느 타입의 가중치 블록인가를 검출하는 단계와;Adding bits in the weight block to detect which type of weight block is the first or second type according to the addition value; 상기 가중치 블록들의 타입 정보에 대응하는 상기 n 비트의 로직을 구성하여 새로운 가중치 블록을 형성하는 단계와;Forming a new weight block by configuring the n-bit logic corresponding to the type information of the weight blocks; 상기 새로운 가중치 블록을 포함하는 상기 가중치 블록들을 상기 타입에 따라 원 블록으로 복호하는 단계를 구비하는 그룹화 된 가중치 블록 복호화 방법.And decoding the weight blocks including the new weight block into original blocks according to the type. 제 5 항에 있어서,The method of claim 5, wherein 상기 새로운 가중치 블록의 타입은 기 설정됨을 특징으로 하는 그룹화 된 가중치 블록 복호화 방법.And the type of the new weight block is preset.
KR20010052892A 2001-08-30 2001-08-30 Method for balanced encoding and decoding of blocks having the different constant weight KR100448283B1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
KR20010052892A KR100448283B1 (en) 2001-08-30 2001-08-30 Method for balanced encoding and decoding of blocks having the different constant weight
US10/083,869 US7055080B2 (en) 2001-08-30 2002-02-25 High code rate block coding/decoding method and apparatus
GB0204613A GB2386487B (en) 2001-08-30 2002-02-27 High code rate block coding/decoding method and apparatus
JP2002059008A JP3652317B2 (en) 2001-08-30 2002-03-05 High code rate block encoding / decoding method and apparatus
CNB021069867A CN1220332C (en) 2001-08-30 2002-03-12 High code-rate data block coding/decoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20010052892A KR100448283B1 (en) 2001-08-30 2001-08-30 Method for balanced encoding and decoding of blocks having the different constant weight

Publications (2)

Publication Number Publication Date
KR20030018659A KR20030018659A (en) 2003-03-06
KR100448283B1 true KR100448283B1 (en) 2004-09-10

Family

ID=27721620

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20010052892A KR100448283B1 (en) 2001-08-30 2001-08-30 Method for balanced encoding and decoding of blocks having the different constant weight

Country Status (1)

Country Link
KR (1) KR100448283B1 (en)

Also Published As

Publication number Publication date
KR20030018659A (en) 2003-03-06

Similar Documents

Publication Publication Date Title
JP3590209B2 (en) Modulation coding method
EP0554638A2 (en) Method and apparatus for implementing PRML codes with maximum ones
US4675650A (en) Run-length limited code without DC level
JPH0526271B2 (en)
JPH0750588A (en) Coder/decoder between n-bit source word and m-bit four-channel word
JP4138031B2 (en) Encoding device from n-bit source word to corresponding m-bit channel word, and reverse decoding device
KR930003259B1 (en) Code conversion apparatus for optical writing and reading
EP0063912A1 (en) Encoding and decoding data in a data storage system
KR100448283B1 (en) Method for balanced encoding and decoding of blocks having the different constant weight
KR100448282B1 (en) Method for balanced encoding and decoding of locks having the different constant weight
KR100448281B1 (en) Method for balanced encoding and decoding of blocks having the different constant weight
EP1076932A1 (en) ENCODING/DECODING n-BIT SOURCE WORDS INTO CORRESPONDING m-BIT CHANNEL WORDS, AND VICE VERSA, SUCH THAT THE CONVERSION IS PARITY INVERTING
KR19990041225A (en) RL (2,25) Modulation Code and Encoding / Decoding Method of Digital Data Using the Same
CN1383659A (en) Device for encoding/decoding N-bit source words into corresponding M-bit channel words, and vice versa
JP2001211082A (en) Pcm signal encoding and decoding method
JP3192268B2 (en) Signal processing system
KR0152035B1 (en) Method and apparatus of variable length decode
JP3652317B2 (en) High code rate block encoding / decoding method and apparatus
JPH02265329A (en) Code inverse converter
JPH02119434A (en) Coding circuit and decoding circuit
RU2082220C1 (en) Method for digital magnetic recording
JPS60117879A (en) Fill bit eliminating circuit
JPH01302917A (en) Data compression system
KR0185944B1 (en) Method for coding using (1, 7) encoded code
JPH01221918A (en) Variable length code converter

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120821

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20130820

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20140825

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee