CN101753147B - Iterative decoding algorithm of quadratic residue code - Google Patents
Iterative decoding algorithm of quadratic residue code Download PDFInfo
- Publication number
- CN101753147B CN101753147B CN 200810178381 CN200810178381A CN101753147B CN 101753147 B CN101753147 B CN 101753147B CN 200810178381 CN200810178381 CN 200810178381 CN 200810178381 A CN200810178381 A CN 200810178381A CN 101753147 B CN101753147 B CN 101753147B
- Authority
- CN
- China
- Prior art keywords
- value
- quadratic residue
- residue code
- algorithm
- error
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 54
- 238000010845 search algorithm Methods 0.000 claims abstract description 8
- 239000000427 antigen Substances 0.000 claims description 17
- 102000036639 antigens Human genes 0.000 claims description 17
- 108091007433 antigens Proteins 0.000 claims description 17
- 238000009434 installation Methods 0.000 claims 1
- 239000011159 matrix material Substances 0.000 description 17
- 238000000034 method Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 208000011580 syndromic disease Diseases 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
- 208000024891 symptom Diseases 0.000 description 1
Images
Landscapes
- Error Detection And Correction (AREA)
Abstract
The invention discloses an iterative decoding algorithm of a quadratic residue code, which is suitable for decoding all quadratic residue codes. The decoding algorithm comprises the steps of: obtaining a plurality of known characteristic values for providing digital signals; calculateing a plurality of unknown characteristic values with the plurality of known characteristic values; calculating to obtain an error position polynome with a no anti-root bailey root algorithm; and calculating the error position of the error position polynome with a chien search algorithm to be capable of modifying the relative binary digit of the error digital signals to obtain a correct code word. The algorithms can calculate the error position polynome to improve the capability for decoding the quadratic residue code.
Description
Technical field
The present invention relates to a kind of decoding algorithm, relate in particular to a kind of decoding algorithm of applicable all quadratic residue codes.
Background technology
In digital Age, the signal such as sound, image all adopts digitlization to process such as, such as what's frequently heard can be repeated in detail Digital Television, bluetooth earphone, DVD audio-video optical disk and WAP mobile communication etc.Reach high-quality phonotape and videotape when making the digital product signal can effectively read with long-distance transmissions and reappear, generally signal is done the processing arrangement of encoding and decoding.
Quadratic residue code (Quadratic Residue Code) is widely used in the digital encoding and decoding of every field at present, its decoding algebraic decoding modes that adopt are eliminated the middle unknown characteristics value (Unknow Syndrome) of Newton's identities (Newton ' s identities) in order to obtain the coefficient of error location polynomial (ErrorPolynomial) more, further obtain error location polynomial (Error Polynomial).But along with the quadratic residue code length increases, high order equation more difficult solution that finds in limited body of using the algebraic decoding mode to produce, thereby so that error location polynomial is difficult to acquisition.
The shortcoming that when the quadratic residue code length increases, is difficult to obtain error location polynomial for solving the algebraic decoding mode, generally adopt without anti-Gen Bailigen (Inverse-free Berlekamp Massey) algorithm to calculate error location polynomial, but quadratic residue code there is no enough continuously known features value (KnowSyndrome) as inputting without anti-Gen Bailigen algorithm, to calculate correct and wrong position multinomial, to reach being correctly decoded in the quadratic residue code error correcting capability, therefore, how to calculate error location polynomial and become important problem.
Summary of the invention
In view of this, for addressing the above problem, the present invention proposes the decoding algorithm of applicable all quadratic residue codes.
The invention provides the decoding algorithm of quadratic residue code, utilize the digital signal that provides to calculate first a plurality of known features values (Known Syndrome), under mistake occurs, set wrong number and the error correcting capability value of occuring, after then utilizing a plurality of known features values to calculate a plurality of unknown characteristics values (UnknownSyndrome), a plurality of known features values and a plurality of unknown characteristics value are calculated error location polynomial with one without anti-Gen Bailigen (Inverse-free Berlekamp Massey) algorithm as known.
At this moment, whether multinomial the highest power in misjudgment position is consistent with mistake generation number.If judged result is consistent, then calculates this error location polynomial with chien search (Chien-search) algorithm and find out its solution root and separate radical.If judged result is inconsistent namely represent the error location polynomial of trying to achieve non-correct, then mistake is occured that number increases certain value and whether decision error generation number exceeds the error correcting capability value.If decision error generation number then recomputates a plurality of unknown characteristics values and returns without anti-Gen Bailigen algorithm and again look for one group of error polynomial without exceeding the error correcting capability value.If exceeding the error correcting capability value, decision error generation number then finishes the decoding algorithm program.
Calculate the Xie Genyu solution radical of error location polynomial with the chien search algorithm after, further whether the polynomial solution root in misjudgment position is consistent with mistake generation number.If be judged as when no, then get back to and above-mentionedly wrongly occur that number increases certain value and whether decision error generation number exceeds in the error correcting capability value decoding program.If be judged as when being, then seek the polynomial wrong occurrence positions in position that makes mistake, revise the relative bit of digital signal mistake occurrence positions, obtain whereby correct code word.
Can calculate error location polynomial by quadratic residue code decoding algorithm of the present invention, and applicable all quadratic residue codes, and via proposing the decoding capability that the existing quadratic residue code of decoding algorithm lifting can't be reached after the actual computer checking.
Description of drawings
Fig. 1 is decoding algorithm decoding quadratic residue code (89,45,17) the embodiment flow chart of quadratic residue code of the present invention;
Fig. 2 is decoding algorithm decoding quadratic residue code (71,36,11) the embodiment flow chart of quadratic residue code of the present invention; And
Fig. 3 is decoding algorithm decoding quadratic residue code (79,40,15) the embodiment flow chart of quadratic residue code of the present invention.
Wherein, description of reference numerals is as follows:
Step S100 provides digital signal, utilizes digital signal to calculate a plurality of known features values, if wrong number and the error correcting capability value of occuring set in wrong generation
Step S110 utilizes a plurality of known features values to calculate a plurality of unknown characteristics values of quadratic residue code (89,45,17)
Step S120 utilizes a plurality of known features values and a plurality of unknown characteristics value as known, via calculating error location polynomial without anti-Gen Bailigen algorithm
Whether step S130 misjudgment position the highest polynomial power is consistent with mistake generation number
The Xie Genyu that step S140 calculates error location polynomial separates radical
Step S150 mistake generation number increases certain value and whether decision error generation number exceeds the error correcting capability value
Whether the polynomial solution radical in step S160 misjudgment position is consistent with mistake generation number
Step S170 seeks the make mistake polynomial wrong occurrence positions in position and numerical value corresponding to the occurrence positions that corrects mistakes
Step S200 provides digital signal, utilizes digital signal to calculate a plurality of known features values, if during wrong generation, sets wrong number and the error correcting capability value of occuring
Step S210 utilizes a plurality of known features values to calculate a plurality of unknown characteristics values of quadratic residue code (71,36,11)
Step S220 utilizes a plurality of known features values and a plurality of unknown characteristics value as known, via calculating error location polynomial without anti-Gen Bailigen algorithm
Whether step S230 misjudgment position the highest polynomial power is consistent with mistake generation number
The Xie Genyu that step S240 calculates error location polynomial separates radical
Step S250 mistake generation number increases certain value and whether decision error generation number exceeds the error correcting capability value
Whether the polynomial solution radical in step S260 misjudgment position is consistent with mistake generation number
Step S270 seeks the make mistake polynomial wrong occurrence positions in position and numerical value corresponding to the occurrence positions that corrects mistakes
Step S300 provides digital signal, utilizes digital signal to calculate a plurality of known features values, if during wrong generation, sets wrong number and the error correcting capability value of occuring
Step S310 utilizes a plurality of known features values to calculate a plurality of unknown characteristics values of quadratic residue code (79,40,15)
Step S320 utilizes a plurality of known features values and a plurality of unknown characteristics value as known, via calculating error location polynomial without anti-Gen Bailigen algorithm
Whether step S330 misjudgment position the highest polynomial power is consistent with mistake generation number
The Xie Genyu that step S340 calculates error location polynomial separates radical
Step S350 mistake generation number increases certain value and whether decision error generation number exceeds the error correcting capability value
Whether the polynomial solution radical in step S360 misjudgment position is consistent with mistake generation number
Step S370 seeks the make mistake polynomial wrong occurrence positions in position and numerical value corresponding to the occurrence positions that corrects mistakes
Embodiment
For making having further understanding in the object of the invention, the algorithm, the spy is described in detail as follows in conjunction with related embodiment and accompanying drawing:
Please also refer to Fig. 1, it is the decoding algorithm of quadratic residue code of the present invention (Quadratic Residue Code), decoding quadratic residue code (89,45,17) embodiment, and decoding process includes the following step:
Digital signal is provided, utilizes digital signal to calculate a plurality of known features values (KnownSyndrome), if during wrong generation, set wrong number and the error correcting capability value of occuring, such as step S100.In this step, digital signal can calculate a plurality of known features values via equation 1, and wherein wrong number occurs is parameter v to hypothesis, and initial setting up numerical value is 1, and the error correcting capability value of quadratic residue code (89,45,17) is 8.
S
i=r (β
i)=c (β
i)+e (β
i)=e (β
i)=e
0+ e
1β+... + e
88β
88(equation 1)
S in the equation 1 wherein
iBe the known features value, β is GF (2
11) primary n root (Primitiventh Root of Unity) in the body, n is code length.
Utilize a plurality of known features values to calculate a plurality of unknown characteristics values (Unknown Syndrome) of quadratic residue code (89,45,17), such as step S110.At first must make set I={i
1, i
2..., i
V+1And set J={j
1, j
2..., j
V+1Be 0,1 ..., the subclass of n-1}, n are code length.And the definition large minor matrix X of (v+1) * v (I) and X (J), matrix notation is as follows:
Further define matrix S (I, J)=X (I) X (J)
TWith its theorem, matrix X (J) wherein
TBe expressed as the transposed matrix of X (J), S (I, J) then is the matrix of a size former (v+1) * (v+1).
Theorem 1. matrix S (I, J) have following pattern
Wherein S lower is designated as the remainder except rear gained by n, and n is code length.And the determinant of matrix S (I, J) equals zero, namely: det (S (I, J))=0.
If matrix S (I, J) contains a plurality of unknown characteristics values, then det (S (I, J))=0 can regard the equation of a unknown characteristics value as, and coefficient is comprised of the known features value.If only have a unknown characteristics value in the matrix S (I, J)
So
Can be obtained by following theorem, wherein
Mean the unknown characteristics value under v wrong generation of hypothesis is several.
If only have a unknown characteristics value among theorem 2. matrix S (I, J)
Then
Can be expressed as a fraction, the value of this fraction is to belong to matrix S (I, J) wherein to be divided by after two determinants of a matrix expansion.If
Appear at the capable j row of i in the matrix S (I, J), then
Δ wherein
0Refer in (v+1) * (v+1) matrix S (I, J)
The address capable j of i at place is listed as by zero and replaces, and Δ refers to eliminate in the matrix S (I, J) submatrix that the capable and j of i is listed as formed v * v.
Can be calculated as follows mode via the unknown characteristics value of 2 residue codes of theorems (89,45,17) calculates and learns:
Case0: if when inerrancy occurs, S3 (0)=0; S
13 (0)=0.
Case1:S
3(
1)=S
1 3;S
13 (1)=S
1 13。
Following Case v a) and b) define respectively I and J set.Recycling theorem 1 further just can calculate two unknown characteristics value S with theorem 2
3With S
13
Case2:
a)I
2={0,1,2},J
2={0,1,87}。
S
3 (2)=(S
1S
2S
88+S
4S
87)/(S
1+S
87)。
b)I
2={0,11,88},J
2={0,2,5}。
S
13 (2)=(S
2S
16S
88+S
2S
4S
11+S
1S
5S
11)/(S
5+S
88)。
Case3:
a)I
3={0,1,87,88},J
3={0,1,2,10}。
b)I
3={8,9,10,13},J
3={0,8,59,71}。
Case4:
a)I
4={1,2,3,10,32},J
4={0,7,8,77,78}。
b)I
4={0,1,2,87,88},J
4={0,1,2,3,11}。
Case5:
a)I
5 1={1,16,17,20,39,57},J
5 1={0,33,52,68,71,72}
I
5 2={0,1,8,39,49,72},J
5 2={0,1,8,39,49,84}。
In the situation of 5 mistakes, can't only just can define the unknown characteristics value S of all 5 mistakes with one group (I, J) set
3 (5)Need to find two groups (I, J) set can contain all 5 wrong corresponding unknown characteristics value S through the simulation test of computer
3 (5)
b)I
5={0,1,2,3,4,5},J
5={0,1,2,8,87,88}。
With the S that obtains in a)
3 (5)Be considered as utilizing theorem 1 and theorem 2 further just can calculate two unknown characteristics value S after its characteristic value
13 (5)
Case6:
a)I
6 1={1,2,3,4,9,71,87},J
6 1={0,1,2,7,8,86,87}
I
6 2={1,2,3,4,5,11,87},J
6 2={0,1,5,6,7,86,87}
I
6 3={1,2,3,4,9,87,88},J
6 3={0,1,2,7,8,46,86}。
In the situation of 6 mistakes, can't only just can define the unknown characteristics value S of all 6 mistakes with one group (I, J) set
3 (6)Need to find three groups (I, J) set through the simulation test of computer.The determinantal expansion of this three groups (I, J) set all is nonlinear S
3 (6)Multinomial knows that by theorem 2 these determinants equal zero.In other words, these three multinomials can have identical liner factor.Therefore, obtain these three polynomial liner factors and namely can define unique S
3 (6)Value.At b) in, can be with S
3 (6)Being considered as a known value uses.
b)I
6 1={0,1,2,3,4,5,6},J
6 1={0,1,2,3,7,87,88}。
With the S that obtains in a)
3 (6)Be considered as utilizing theorem 1 and theorem 2 further just can calculate two unknown characteristics value S after its characteristic value
13 (6)
Case7:
a)I
7 1={2,3,4,6,7,8,14,20},J
7 1={0,2,4,14,65,85,86,87},I
7 2={1,2,3,4,6,8,14,87},J
7 2={0,2,3,4,6,8,86,87},I
7 3={1,2,3,4,9,10,71,87},J
7 3={0,1,2,7,8,46,86,87}。
Identical with the situation of 6 mistakes, the necessary unknown characteristics value S that uses 7 mistakes of three groups of (I, J) sets definitions
3 (7)At S
3 (7)After being defined, b) middle S
3 (7)Use with regard to being regarded as a known value.
b)I
7 1={0,1,3,6,8,17,40,84},J
7 1={0,4,5,6,8,17,39,47},I
7 2={0,1,3,6,8,17,40,88},J
7 2={0,4,5,6,8,17,47,88},I
7 3={1,2,4,7,9,18,42,87},J
7 3={0,4,5,7,38,46,83,87}。
Making them after the determinantal expansion of three groups (I, J) set is zero, can obtain three S
13 (7)Linear equation.S
13 (7)Just can be given unique decision by one of them equation.
Case8:
a)I
8 1={1,2,3,6,17,20,45,84,87},J
8 1={0,3,4,5,8,19,22,47,86},I
8 2={1,3,5,6,7,11,17,39,84},J
8 2={0,1,3,5,11,17,39,84,86},I
8 3={1,2,3,4,5,6,9,20,87},J
8 3={0,1,2,3,5,19,44,86,87},I
8 4={6,7,8,9,40,53,56,57,72},J
8 4={0,15,16,38,39,40,41,72,81}。
Identical with the situation of 7 mistakes, the necessary unknown characteristics value S that uses 8 mistakes of four groups of (I, J) sets definitions
3 (8)At S
3 (8)After being defined, b) middle S
3 (8)Use with regard to being regarded as a known value.
b)I
8 1={2,6,7,8,9,18,53,85,87},J
8 1={0,2,3,4,14,16,38,82,83},I
8 2={0,1,2,3,4,5,6,20,87},J
8 2={0,1,2,3,4,5,8,44,87},I
8 3={1,2,3,4,5,6,9,20,45},J
8 3={0,1,2,3,4,5,19,44,86}。
Making them after the determinantal expansion of three groups (I, J) set is zero, can obtain three S
13 (8)Linear equation.S
13 (8)Just can be given unique decision by one of them equation.
Utilize a plurality of known features values and a plurality of unknown characteristics value as known, via without anti-Gen Bailigen (Inverse-free Berlekamp Massey) algorithm mistake in computation position multinomial, such as step S120.In this step, main to utilize a plurality of known features values and a plurality of not known features value that obtain be known input value, further calculates error location polynomial with error location polynomial that can efficient acquisition cyclic code without anti-Gen Bailigen algorithm.Without the following explanation of anti-Gen Bailigen algorithm steps:
Step 1) initial value k=1, r
(0)=1, C
(0)(x)=1, A
(0)And l (x)=1
(0)=1.
Step 2) calculated difference
Step 3) mistake in computation position multinomial
C
(k)(x)=r
(k-1)C
(k-1)(x)-Δ
(k)A
(k-1)(x)·x
Step 4) replacement auxiliary variable A
(k)(x), A
(k), 1
(k)And r
(k)
Step 5) enter into the next stage: if k=k+1 is k≤2t, then get back to step 2), otherwise stop.
C wherein
(k)(x) represent the error location polynomial in k stage, Δ
(k)Be one by known symptom value S
kA difference of calculating, A
(k)(x), A
(k), l
(k)And r
(k)Be the polynomial auxiliary variable in position that locates errors in the k stage.
Whether misjudgment position the highest polynomial power is consistent with mistake generation number, such as step S130.In this step, utilize and judge whether formula deg (σ (x))=v misjudgment position the highest polynomial power is identical with wrong generation number, wherein, deg (σ (x)) is the highest power of error location polynomial, and v such as aforementioned be the wrong number that occurs.
If misjudgment position the highest polynomial power is identical with the wrong numerical value that number occurs, the Xie Genyu that then calculates error location polynomial separates radical, such as step S140.In this step, the Xie Genyu of error location polynomial separates radical, and both utilize error polynomial to calculate in conjunction with chien search (Chien Search) algorithm.Chien search algorithm described herein, it is used for seeking limited body root of polynomial, and with other algorithm in comparison, the search that applies to the error location polynomial root has better result of calculation.
If number increase certain value when not identical, occurs with mistake in misjudgment position the highest polynomial power and the wrong numerical value that number occurs and whether decision error generation number exceeds the error correcting capability value, such as step S150.This step is that the numerical value with definite value is made as 1, and the error correcting capability value of quadratic residue code (89,45,17) is 8.When mistake generation number exceeds the error correcting capability value, namely can't revise again the digital signal operation, then finish the algorithm program.Otherwise, if when whether wrong generation number did not exceed the error correcting capability value, then a plurality of known features values of Returning utilization calculated a plurality of unknown characteristics values of quadratic residue code (89,45,17), such as step S110.
Whether the polynomial solution radical in misjudgment position is consistent with mistake generation number, such as step S160.First error location polynomial is separated the radical computing, judged that again the solution radical that calculates occurs with wrong whether number is consistent.The employed judgement formula of this step is u=v, and wherein u is the solution radical, and v is the aforesaid wrong number that occurs.
When judging that two numerical value as consistent, seek the polynomial wrong occurrence positions in position that makes mistake, and numerical value corresponding to the occurrence positions that corrects mistakes, such as step S170.In this step, utilize error location polynomial to seek out the digital signal mistake occurrence positions of input, and the numerical value correction that obtains the digital signal errors present is obtained correct value.
Otherwise, if judge two numerical value not when consistent, then return and mistake occured number increases certain value and whether decision error generation number exceeds the error correcting capability value, such as step S150.
Please also refer to Fig. 2, it is the decoding algorithm of quadratic residue code of the present invention, decoding quadratic residue code (71,36,11) embodiment, and decoding process includes the following step:
Digital signal is provided, utilizes digital signal to calculate a plurality of known features values, if during wrong generation, set wrong number and the error correcting capability value of occuring.Such as step S200.In this step, digital signal can calculate a plurality of known features values via equation 2, and wherein wrong number occurs is parameter v to hypothesis, and initial setting up numerical value is 1, and the error correcting capability value of quadratic residue code (71,36,11) is 5.
S
i=r (β
i)=e (β
i)=e
0+ e
1β
1+ ... + e
N-1β
N-1(equation 2)
S in the equation 2 wherein
iBe the known features value, β is GF (2
35) primary n root (Primitive nth Root of Unity) in the limited body.
Utilize a plurality of known features values to calculate a plurality of unknown characteristics values (step S210) of quadratic residue code (71,36,11).The unknown characteristics value S of quadratic residue code (71,36,11)
7Account form is described as follows:
Case0:S
7 (0)=0。
Case1:S
7 (1)=S
1 7。
Case2:I
2={0,1,2},J
2={0,1,5}。
S
7 (2)=(S
1S
6+S
2S
5)+(S
3S
5/S
1)。
Case3:I
3={0,1,2,3},J
3={0,1,2,4}。
Case4:I
4={0,1,2,4,7},J
4={0,1,2,8,36}。
Case5:I
5 1={0,1,2,4,7,24},J
5 1={0,1,3,5,8,36}
I
5 2={3,4,5,12,15,45},J
5 2={0,3,4,15,33,45}。
Be in five the situation in number of errors, can't be only gather with one group (I, J) and just can define the unknown characteristics value S that all number of errors are five situation
7 (5)These two groups of S (I
5 1, J
5 1), S (I
5 2, J
5 2) its determinantal expansion of matrix is zero, obtains following two S
7 (5)Cubic equation f
1(S
7 (5))=0 and g
1(S
7 (5))=0, coefficient is comprised of the known features value.Make again F
1(S
7 (5))=gcd (f
1(S
7 (5)), g
1(S
7 (5))), for the situation F of all five mistakes
1(S
7 (5)) be an order polynomial all, make F
1(S
7 (5))=0 can unique unknown characteristics value S that defines
7 (5)
Utilize a plurality of known features values and a plurality of unknown characteristics value as known, via without anti-Gen Bailigen (Inverse-free Berlekamp Massey) algorithm mistake in computation position multinomial, such as step S220.Main in this step to utilize a plurality of known features values and a plurality of not known features value that obtain be known input value, further calculates error location polynomial with error location polynomial that can efficient acquisition cyclic code without anti-Gen Bailigen algorithm.Wherein, of the step S120 among decoding quadratic residue code (89,45, the 17) embodiment without anti-Gen Bailigen algorithm steps.
Whether misjudgment position the highest polynomial power is consistent with mistake generation number, such as step S230.In this step, to utilize to judge whether formula deg (σ (x))=v misjudgment position the highest polynomial power is identical with wrong generation number, wherein, deg (σ (x)) is the highest power of error location polynomial, and v such as aforementioned be the wrong number that occurs.
If misjudgment position the highest polynomial power is identical with the wrong numerical value that number occurs, the Xie Genyu that then calculates error location polynomial separates radical, such as step S240.In this step, the Xie Genyu of error location polynomial separates radical, and both utilize error polynomial to calculate in conjunction with the chien search algorithm.Chien search algorithm described herein, it is used for seeking limited body root of polynomial, and with other algorithm in comparison, the search that applies to the error location polynomial root has better result of calculation.
If number increase certain value when not identical, occurs with mistake in misjudgment position the highest polynomial power and the wrong numerical value that number occurs and whether decision error generation number exceeds the error correcting capability value, such as step S250.This step is that the numerical value with definite value is made as 1, and the error correcting capability value of quadratic residue code (71,36,11) be as discussed previously be 5.When mistake generation number exceeds the error correcting capability value, namely can't revise again the digital signal operation, then finish the algorithm program.Otherwise, if when whether wrong generation number did not exceed the error correcting capability value, then a plurality of known features values of Returning utilization recalculated a plurality of unknown characteristics values of quadratic residue code (71,36,11), such as step S210.
Whether the polynomial solution radical in misjudgment position is consistent with mistake generation number, such as step S260.First error location polynomial is separated the radical computing, judged that again the solution radical that calculates occurs with wrong whether number is consistent.The employed judgement formula of this step is u=v, and wherein u is the solution radical, and v is the aforesaid wrong number that occurs.
When judging that two numerical value as consistent, seek the polynomial wrong occurrence positions in position that makes mistake, and numerical value corresponding to the occurrence positions that corrects mistakes, such as step S270.In this step, utilize error location polynomial to seek out the digital signal mistake occurrence positions of input, and the numerical value correction that obtains the digital signal errors present is obtained correct value.
Otherwise, if judge two numerical value not when consistent, then return and mistake occured number increases certain value and whether decision error generation number exceeds the error correcting capability value, such as step S250.
Please also refer to Fig. 3, it is the decoding algorithm of quadratic residue code of the present invention, decoding quadratic residue code (79,40,15) embodiment, and analysis process includes the following step:
Digital signal is provided, utilizes digital signal to calculate a plurality of known features values, if during wrong generation, set wrong number and the error correcting capability value of occuring, such as step S300.In this step, digital signal can calculate a plurality of known features values via equation 3, and wherein wrong number occurs is parameter v to hypothesis, and initial setting up numerical value is 1, and the error correcting capability value of quadratic residue code (79,40,15) is 7.
S
i=r (β
i)=e (β
i)=e
0+ e
1β
1+ ... + e
N-1β
N-1(equation 3)
S in the equation 3 wherein
iBe the known features value, β is GF (2
39) primary n root (Primitive nth Root of Unity) in the limited body.
Utilize a plurality of known features values to calculate a plurality of unknown characteristics values of quadratic residue code (79,40,15), such as step S310.The unknown characteristics value S of quadratic residue code (79,40,15)
3Account form is described as follows:
Case0:S
3 (0)=0。
Case1:S
3 (1)=S
1 3。
Case2:I
2={0,1,2},J
2={0,1,8}。
S
3 (2)=S
1S
2+(S
1S
10+S
2S
9/S
8)。
Case3:I
3={0,1,2,3},J
3={0,8,18,19}。
Case4:I
4={0,1,2,3,13},J
4={0,8,18,19,49}。
Case5:I
5 1={2,3,4,19,25,73},J
5 1={0,6,7,17,19,48}
Case6:I
6 1={1,2,3,4,5,64,72},J
6 1={0,1,8,17,18,19,20}
I
6 2={0,1,2,3,16,22,42},J
6 2={0,2,3,9,10,20,22}。
Be in six the situation in number of errors, can't be only gather with one group (I, J) that just to define all number of errors be six unknown characteristics value S
3 (6)The determinantal expansion of this two groups (I, J) set all is nonlinear S
3 (6)Multinomial learns that by theorem 2 among decoding quadratic residue code (89,45, the 17) embodiment these determinants equal zero.In other words, these two multinomials have identical liner factor at least.Therefore, use Ou Ji Reed algorithm (Euclid ' s Algorithm) to obtain this two polynomial highest common factors.Find that through the simulation test of computer these two groups is that six situation can obtain liner factor and namely can define unique S for all number of errors
3 (6)Value.
Case7:I
7 1={0,1,2,3,4,5,64,72},J
7 1={0,1,8,16,17,18,19,20},I
7 2={0,1,2,3,4,16,18,24},J
7 2={0,1,2,8,16,18,20,22}。
Be that six situation is identical with number of errors, S (I
7 1, J
7 1) and S (I
7 2, J
7 2) determinantal expansion after we obtain two S that are respectively 83 powers and 153 powers
3 (7)Polynomial f
2(S
3 (7)) and g
2(S
3 (7)).Re-use Ou Ji Reed algorithm (Euclid ' s Algorithm) and obtain this two polynomial highest common factor F
2(S
3 (7))=gcd (f
2(S
3 (7)), g
2(S
3 (7))).All code words of receiving via Computer Simulation Test, F
2(S
3 (7)) all be an order polynomial.Learn f by theorem 1 among decoding quadratic residue code (89,45, the 17) embodiment
2(S
3 (7))=0 and g
2(S
3 (7)So)=0 is F
2(S
3 (7)) also be 0.Therefore number of errors is seven original unknown characteristics value S
3 (7)Can be by unique definition.
Utilize a plurality of known features values and a plurality of unknown characteristics value as known, via without anti-Gen Bailigen (Inverse-free Berlekamp Massey) algorithm mistake in computation position multinomial, such as step S320.Main in this step to utilize a plurality of known features values and a plurality of not known features value that obtain be known input value, further calculates error location polynomial with error location polynomial that can efficient acquisition cyclic code without anti-Gen Bailigen algorithm.Wherein, of the step S120 among decoding quadratic residue code (89,45, the 17) embodiment without anti-Gen Bailigen algorithm steps.
Whether misjudgment position the highest polynomial power is consistent with mistake generation number, such as step S330.In this step, to utilize to judge whether formula deg (σ (x))=v misjudgment position the highest polynomial power is identical with wrong generation number, wherein, deg (σ (x)) is the highest power of error location polynomial, and v such as aforementioned be the wrong number that occurs.
If misjudgment position the highest polynomial power is identical with the wrong numerical value that number occurs, the Xie Genyu that then calculates error location polynomial separates radical, such as step S340.In this step, the Xie Genyu of error location polynomial separates radical, and both utilize error polynomial to calculate in conjunction with the chien search algorithm.Chien search algorithm described herein, it is used for seeking limited body root of polynomial, and with other algorithm in comparison, the search that applies to the error location polynomial root has better result of calculation.
If number increase certain value when not identical, occurs with mistake in misjudgment position the highest polynomial power and the wrong numerical value that number occurs and whether decision error generation number exceeds the error correcting capability value, such as step S350.This step be that the numerical value with definite value is made as 1, and the error correcting capability value of quadratic residue code (79,40,15) is 7.When mistake generation number exceeds the error correcting capability value, namely can't revise again the digital signal operation, then finish the algorithm program.Otherwise, if when whether wrong generation number did not exceed the error correcting capability value, then a plurality of known features values of Returning utilization calculated a plurality of unknown characteristics values of quadratic residue code (79,40,15), such as step S310.
Whether the polynomial solution radical in misjudgment position is consistent with mistake generation number, such as step S360.First error location polynomial is separated the radical computing, judged that again the solution radical that calculates occurs with wrong whether number is consistent.The employed judgement formula of this step is u=v, and wherein u is the solution radical, and v is the aforesaid wrong number that occurs.
When judging that two numerical value as consistent, seek the polynomial wrong occurrence positions in position that makes mistake, and numerical value corresponding to the occurrence positions that corrects mistakes, such as step S370.In this step, utilize error location polynomial to seek out the digital signal mistake occurrence positions of input, and the numerical value correction that obtains the digital signal errors present is obtained correct value.
Otherwise, if judge two numerical value not when consistent, then return and mistake occured number increases certain value and whether decision error generation number exceeds the error correcting capability value, such as step S350.
Although the present invention with aforesaid preferred embodiment openly as above; so it is not to limit the present invention, any those of ordinary skills, without departing from the spirit and scope of the present invention; the equivalence of doing to change with retouching is replaced, all in scope of patent protection of the present invention.
Claims (6)
1. the decoding algorithm of a quadratic residue code is applicable to have a computer installation of a decoder, and the decoding algorithm of this quadratic residue code comprises the following step:
One digital signal is provided, utilizes this digital signal to calculate a plurality of known features values, if wrong number and the error correcting capability value of occuring set in wrong generation;
Utilize described a plurality of known features value to calculate a plurality of unknown characteristics values;
Utilize described a plurality of known features value and described a plurality of unknown characteristics value as known, calculate an error location polynomial;
Whether the highest power of judging this error location polynomial is consistent with this mistake generation number;
Result of determination is yes, then calculates at least one solution root and at least one solution radical of this error location polynomial;
Result of determination is no, should increase certain value and judge whether this mistake generation number exceeds this error correcting capability value by mistake generation number, if judgement does not exceed this error correcting capability value, then returns this and utilizes described a plurality of known features value to calculate a plurality of unknown characteristics value steps;
Whether this solution radical of judging this error location polynomial is consistent with this mistake generation number;
Result of determination is yes, then seeks out at least one wrong occurrence positions of this error location polynomial, and revises numerical value corresponding to this mistake occurrence positions; And
Be judged to be when no, returning this mistake generation number increases certain value and judges whether this mistake generation number exceeds this error correcting capability value step.
2. the decoding algorithm of quadratic residue code as claimed in claim 1, wherein the decoding algorithm of this quadratic residue code is applicable to all quadratic residue codes.
3. the decoding algorithm of quadratic residue code as claimed in claim 1, wherein the decoding algorithm of this quadratic residue code is applicable to quadratic residue code (89,45,17).
4. the decoding algorithm of quadratic residue code as claimed in claim 1, initial setting up numerical value that wherein should mistake generation number is 1, and this definite value is 1.
5. the decoding algorithm of quadratic residue code as claimed in claim 1, wherein utilize described a plurality of known features value and described a plurality of unknown characteristics value as known, calculate in this error location polynomial step, this error location polynomial is take described a plurality of known features values and described a plurality of unknown characteristics value as known input value, calculates and gets without anti-Gen Bailigen algorithm with one.
6. the decoding algorithm of quadratic residue code as claimed in claim 1, wherein at least one solution root of this error location polynomial and at least one solution radical are take this error location polynomial as the basis, calculate it with a chien search algorithm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810178381 CN101753147B (en) | 2008-11-28 | 2008-11-28 | Iterative decoding algorithm of quadratic residue code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810178381 CN101753147B (en) | 2008-11-28 | 2008-11-28 | Iterative decoding algorithm of quadratic residue code |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101753147A CN101753147A (en) | 2010-06-23 |
CN101753147B true CN101753147B (en) | 2013-10-30 |
Family
ID=42479623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810178381 Expired - Fee Related CN101753147B (en) | 2008-11-28 | 2008-11-28 | Iterative decoding algorithm of quadratic residue code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101753147B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2513915C1 (en) * | 2013-01-09 | 2014-04-20 | Федеральное государственное автономное образовательное учреждение высшего профессионального образования "Северо-Кавказский федеральный университет" | Device for conversion from polynomial system of residue classes to position code |
US10826533B2 (en) * | 2015-11-02 | 2020-11-03 | Chongqing University Of Posts And Telecommunications | Methods, systems, and computer-readable media for decoding a cyclic code |
CN106656215A (en) * | 2015-11-04 | 2017-05-10 | 谢东福 | Low-complexity (47,24,11) square residual code decoding method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1476673A (en) * | 2001-09-28 | 2004-02-18 | 索尼株式会社 | Coding method, apparatus, decoding method and apparatus |
CN1822508A (en) * | 2005-01-19 | 2006-08-23 | 三星电子株式会社 | Method and apparatus for encoding and decoding digital signals |
CN1893607A (en) * | 2005-02-04 | 2007-01-10 | 索尼株式会社 | Encoding apparatus and method, decoding apparatus and method, image processing system and method, and recording medium |
-
2008
- 2008-11-28 CN CN 200810178381 patent/CN101753147B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1476673A (en) * | 2001-09-28 | 2004-02-18 | 索尼株式会社 | Coding method, apparatus, decoding method and apparatus |
CN1822508A (en) * | 2005-01-19 | 2006-08-23 | 三星电子株式会社 | Method and apparatus for encoding and decoding digital signals |
CN1893607A (en) * | 2005-02-04 | 2007-01-10 | 索尼株式会社 | Encoding apparatus and method, decoding apparatus and method, image processing system and method, and recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN101753147A (en) | 2010-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5043562B2 (en) | Error correction circuit, method thereof, and semiconductor memory device including the circuit | |
US7395491B2 (en) | Decoding device for decoding product code and decoding method using the same | |
KR102352158B1 (en) | Application-specific integrated circuit to perform a method for fast polynomial updates in bm-based fast chase decoding of binary bch codes through degenerate list decoding | |
US20100131807A1 (en) | Decoding algorithm for quadratic residue codes | |
CN102684709B (en) | Decoding method and decoding device thereof | |
US8335808B2 (en) | Method and apparatus for processing multiple decomposed data for calculating key equation polynomials in decoding error correction code | |
CN101753147B (en) | Iterative decoding algorithm of quadratic residue code | |
EP1502356B1 (en) | A method of soft-decision decoding of reed-solomon codes | |
Ashikhmin et al. | Binomial moments of the distance distribution: Bounds and applications | |
Egorov et al. | A modified Blahut algorithm for decoding Reed-Solomon codes beyond half the minimum distance | |
US9336085B2 (en) | Memory system and memory controller | |
US9191029B2 (en) | Additional error correction apparatus and method | |
US9231620B2 (en) | Iterative decoding device and related decoding method for irregular low-density parity-check code capable of improving error correction performance | |
US20030135810A1 (en) | Multi-mode reed-solomon decoder based upon the PGZ algorithm and associated method | |
CN108471315B (en) | Erasure decoding method and device | |
JPH07202720A (en) | Communication method and its equipment | |
EP1643653B1 (en) | Iterative decoding of low-density parity-check (LDPC) codes | |
KR940011663B1 (en) | Error correcting system | |
Sakkour | Decoding of second order Reed-Muller codes with a large number of errors | |
US7693927B2 (en) | Data processing system and method | |
KR20190021159A (en) | Fast chase decoding method of generalized reed-solomon codes using groebner basis | |
CN110545111A (en) | novel decoding algorithm and framework of low-complexity error correction erasure correcting DEC-RS code | |
CN112350738B (en) | Combined decoding method and system for accelerating soft decoding based on bit flipping algorithm | |
US20230216525A1 (en) | Method for generating burst error correction code, device for generating burst error correction code, and recording medium storing instructions to perform method for generating burst error correction code | |
WO2020001641A1 (en) | Method and apparatus for improving turbo decoding performance, and computer device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131030 Termination date: 20161128 |