Decoding method and device and storage medium
By converting the received vector and constructing a new set of interpolation points, the problem of high complexity of the algebraic list decoding algorithm is solved, an efficient decoding process is achieved, and the accuracy and efficiency of data transmission are ensured.
Patent Information
- Application Number
- CN202310258800.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, although the algebraic list decoding algorithm can improve the accuracy of decoding, its complexity is high, resulting in high decoding overhead at the receiving end and affecting the efficiency of data transmission.
By converting the received vector, a new interpolation point set is constructed, the number of interpolation points is reduced, and the degree of the interpolation polynomial is reduced, thereby reducing the decoding complexity, and retaining the error pattern during the conversion process to ensure the accuracy of decoding.
It effectively reduces the decoding complexity and calculation overhead, while ensuring the accuracy of decoding and improving the efficiency of data transmission.
Smart Images

Figure CN118611684A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a decoding method, device and storage medium. Background Art
[0002] In order to improve the reliability of data transmission, when the sender sends data to the receiver, it first encodes the data to be sent to obtain a codeword, and then transmits the codeword through the network. After receiving the vector corresponding to the codeword (that is, the received vector), the receiver decodes the received vector to obtain the data.
[0003] In the related art, after obtaining the received vector, the receiving end can perform decoding through the algebraic list decoding algorithm. The specific decoding process includes: constructing an interpolation point set based on the received vector and the predefined assignment points, determining the interpolation polynomial based on the interpolation point set, and solving the interpolation polynomial to complete the correct decoding. Although the algebraic list decoding algorithm can improve the accuracy of decoding, the decoding complexity is relatively high, resulting in a relatively large decoding overhead at the receiving end. Summary of the invention
[0004] The embodiments of the present application provide a decoding method, device and storage medium, which can reduce the decoding overhead of the receiving end. The technical solution is as follows:
[0005] In the first aspect, a decoding method is provided. In the method, a first receiving vector and an assignment point set are obtained, the first receiving vector includes multiple vector elements to be decoded, and the assignment point set includes multiple assignment points corresponding to the multiple vector elements one by one; the first receiving vector is converted into a second receiving vector, the second receiving vector and the first receiving vector include the same error mode, the error mode indicates the factors that cause the deviation between the first receiving vector or the second receiving vector and the sending vector, and the sending vector includes multiple encoded codeword elements; based on the second receiving vector and the assignment point set, a first interpolation point set is determined, and the number of interpolation points in the first interpolation point set is less than the number of assignment points in the assignment point set; decoding is performed based on the first interpolation point set.
[0006] In the embodiment of the present application, when the receiving end obtains the receiving vector, it does not directly construct the interpolation point set according to the receiving vector, but first converts the receiving vector, and constructs a new interpolation point set based on the converted receiving vector, so as to reduce the number of interpolation points in the constructed interpolation point set, thereby reducing the degree of the base polynomial of the constructed interpolation module, and further reducing the decoding complexity. In addition, when converting the receiving vector, the error mode of the receiving vector is also retained to ensure the accuracy of decoding based on the reconstructed interpolation point set.
[0007] Based on the method provided in the first aspect, in some embodiments, the implementation process of converting the first received vector into the second received vector is: determine a first type of assignment points from the assignment point set, the first type of assignment points being some of the assignment points in the assignment point set; determine a recoding polynomial based on the first type of assignment points and the vector elements in the first received vector corresponding to each assignment point in the first type of assignment points; determine a recoding vector based on the recoding polynomial and the assignment point set, the recoding vector including multiple recoding codeword elements corresponding one-to-one to multiple assignment points; determine a second received vector based on the first received vector and the recoding vector, the values of the vector elements in the second received vector corresponding to the first type of assignment points are all first reference values.
[0008] By re-encoding, it is possible to convert the values of some vector elements in the first received vector into a fixed reference value, that is, to convert some vector elements in the first vector into a fixed form, so that these vector elements will not be taken into account when constructing the interpolation point set subsequently, so as to reduce the number of interpolation points in the constructed interpolation point set.
[0009] And during re-encoding, the re-encoded codeword elements corresponding to each assignment point can be clearly calculated. In other words, the re-encoded codeword elements corresponding to each assignment point are equivalent to a constant. At this time, the second reception vector is determined based on a first reception vector related to a certain error pattern and a constant re-encoded codeword element. Obviously, the second reception vector is still related to the error pattern, thereby realizing that the first reception vector and the second reception vector include the same error pattern.
[0010] Based on the method provided in the first aspect, in some embodiments, the value of any of the first type of value points under the recoding polynomial is the same as the value of the corresponding vector element. In this scenario, the implementation process of determining the second received vector based on the first received vector and the recoding vector is: subtracting the first received vector from the recoding vector to obtain the second received vector; wherein the values of the vector elements corresponding to the first type of value points in the second received vector are all 0.
[0011] In the above manner, the values of some vector elements in the first received vector can be converted to 0, so as to reduce the complexity of subsequent calculations.
[0012] Based on the method provided in the first aspect, in some embodiments, each of the multiple assignment points includes a first variable and a second variable; the first type of assignment points includes at least one group of assignment points, and the number of assignment points in each group of at least one group of assignment points is a second reference value; at least one group of assignment points corresponds one-to-one to at least one variable value, and the value of the first variable of each assignment point in each group of assignment points is the corresponding variable value.
[0013] By selecting the first type of value assignment points in the above manner, it is possible to avoid the value range of the first variable of the selected first type of value assignment points being too large, thereby further simplifying the complexity of subsequent calculations.
[0014] Based on the method provided in the first aspect, in some embodiments, the implementation process of determining the first interpolation point set based on the second received vector and the assignment point set is as follows: constructing the second interpolation point set based on the second received vector and the assignment point set, each interpolation point in the second interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the value of the corresponding vector element, and the value of the first variable and the value of the second variable of each interpolation point are the values of the two variables of the corresponding assignment point; deleting the interpolation points corresponding to the first type of assignment points in the second interpolation point set to obtain the third interpolation point set; determining the first interpolation point set based on the interpolation points corresponding to the first type of assignment points in the third interpolation point set and the second interpolation point set.
[0015] In the scenario where the second received vector is obtained by re-encoding, since the values of the vector elements corresponding to the first type of assignment points in the second received vector are all first reference values, if decoding is performed directly based on the second interpolation point set, it can be found that the subsequent decoding process basically does not involve complex calculations of the interpolation points corresponding to the first type of assignment points. Therefore, in an embodiment of the present application, in order to simplify the complexity of decoding, the interpolation points corresponding to the first type of assignment points in the second interpolation point set can be deleted to achieve the purpose of reducing the number of interpolation points in the interpolation point set.
[0016] Based on the method provided in the first aspect, in some embodiments, based on the interpolation points corresponding to the first type of assignment points in the third interpolation point set and the second interpolation point set, the implementation process of determining the first interpolation point set is: based on the values of the first variables of the interpolation points corresponding to the first type of assignment points in the second interpolation point set, determine the common factor polynomial, the common factor polynomial refers to a polynomial determined based on the values of the first variables of the interpolation points corresponding to the first type of assignment points; based on the common factor polynomial, update the value of the third variable of each interpolation point in the third interpolation point set to obtain the first interpolation point set.
[0017] After deleting the interpolation points corresponding to the first type of assignment points in the second interpolation point set, in order to ensure the accuracy of subsequent decoding, the values of the related variables of the interpolation points in the third interpolation point set are further updated based on the values of the related variables of the interpolation points corresponding to the first type of assignment points in the second interpolation point set.
[0018] Based on the method provided in the first aspect, in some embodiments, the implementation process of decoding based on the first interpolation point set is: determine a first interpolation polynomial based on the first interpolation point set, the first interpolation polynomial is a polynomial in the interpolation module corresponding to the first interpolation point set; update the first interpolation polynomial to obtain a second interpolation polynomial, the second interpolation polynomial is a polynomial in the interpolation module corresponding to the fourth interpolation point set, the fourth interpolation point set is an interpolation point set constructed based on the first received vector and the assignment point set; decode based on the second interpolation polynomial.
[0019] Since the reconstructed first interpolation point set is no longer the same interpolation point set as the fourth interpolation point set used for correct decoding, after the first interpolation polynomial is determined by the first interpolation point set with a smaller number of interpolation points, the second interpolation polynomial is further restored based on the first interpolation polynomial, avoiding the need to directly determine the second interpolation polynomial from the fourth interpolation point set with a larger number of interpolation points, thereby reducing the decoding complexity.
[0020] Based on the method provided in the first aspect, in some embodiments, each interpolation point in the first interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the value of the corresponding vector element; the first interpolation polynomial is a polynomial with the smallest weighted degree and the smallest power of the third variable in the interpolation module corresponding to the first interpolation point set.
[0021] The above configuration can simplify the complexity of subsequent decoding.
[0022] In a second aspect, a decoding device is provided, wherein the decoding device has the function of implementing the decoding method in the first aspect. The decoding device comprises at least one module, and the at least one module is used to implement the decoding method provided in the first aspect.
[0023] In a third aspect, a decoding device is provided, wherein the structure of the decoding device includes a processor and a memory, wherein the memory is used to store a program that supports the decoding device to execute the decoding method provided in the first aspect, and to store data involved in implementing the decoding method provided in the first aspect. The processor is configured to execute the program stored in the memory. The operating device of the storage device may also include a communication bus, which is used to establish a connection between the processor and the memory.
[0024] In a fourth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes the decoding method described in the first aspect.
[0025] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the decoding method described in the first aspect.
[0026] The technical effects obtained by the above-mentioned second, third, fourth and fifth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;
[0028] Figure 2 It is a schematic diagram of a decoding process based on an algebraic list decoding algorithm provided in an embodiment of the present application;
[0029] Figure 3 It is a flowchart of a decoding method provided by an embodiment of the present application;
[0030] Figure 4 This is another decoding process diagram provided by an embodiment of the present application;
[0031] Figure 5 is a structural schematic diagram of a decoding device provided in an embodiment of the present application;
[0032] Figure 6 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0034] It should be understood that the "multiple" mentioned herein refers to two or more. In the description of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit them to be necessarily different.
[0035] Before explaining the embodiments of the present application in detail, the application scenarios of the embodiments of the present application are first introduced.
[0036] The encoding in the embodiments of the present application is also channel encoding. Channel encoding means that the channel encoder at the sending end first encodes the data to be sent into some codeword elements (codeword elements are also called code elements or codeword symbols). These codeword elements form a sequence of information codeword elements. Then, some supervision codeword elements are added to the sequence of information codeword elements. There is a certain relationship between these supervision codeword elements and the codeword elements in the sequence of information codeword elements, so that the receiving end can use this relationship to have the channel decoder discover or correct the received vector that may have errors, and then achieve correct decoding.
[0037] For the convenience of subsequent understanding, several concepts involved in the embodiments of the present application are explained below.
[0038] The codeword sent by the sending end is also called the transmission vector. The transmission vector includes multiple codeword elements, and these multiple codeword elements include the aforementioned sequence of information codeword elements and some added supervision codeword elements. Since the transmission vector will be interfered during the channel transmission process, the information received by the receiving end is usually not the original transmission vector. For the convenience of description, the information corresponding to the transmission vector received by the receiving end is called the received vector. The received vector includes multiple vector elements, and there is a deviation between these multiple vector elements and the multiple codeword elements in the transmission vector.
[0039] In addition, in Shannon's theorem, it is defined that: for a given noisy channel, if the channel capacity is C, then as long as the information transmission rate R of this channel is R < C, there must exist a coding method such that the bit error rate of the coded codeword decreases exponentially to an arbitrarily small value as the code length n increases. Based on the definition of Shannon's theorem, it can be seen that Shannon's theorem does not clearly point out how to encode data, that is, Shannon's theorem is non-constructive.
[0040] Due to the non-constructiveness of Shannon's theorem, how to construct codewords approaching the theoretical value in Shannon's theorem has always attracted extensive attention from scholars. Currently, the two types of codewords that are more widely used are Reed-Solomon (RS) codes and algebraic geometric (AG) codes.
[0041] RS codes can be regarded as constructed based on straight lines and have been widely used in communication and storage devices such as deep space communication, Ethernet, compact disc (CD), and digital versatile disc (DVD). However, the length of RS codes is limited by the size of the finite field that defines it, which in turn limits the improvement of its error correction performance.
[0042] AG code is a type of multivariate linear block code based on algebraic curves over finite fields. Common AG codes include elliptic codes, Hermitian codes, Klein quartic equation codes, etc. Compared with RS codes, AG codes can use smaller finite fields to construct longer codewords. Under general software and hardware implementations, small finite fields will make the encoding and decoding processes faster, so there will be higher throughput and less cache overhead. Therefore, AG codes are expected to replace RS codes in their application scenarios to obtain better performance and thus better benefits. In addition, in current communication systems, the transmission or reading of information will be interfered by channel noise, resulting in errors. Therefore, the use of AG codes with high error correction performance and low decoding complexity can ensure reliable transmission or storage of information.
[0043] At present, decoding accounts for the main overhead in the encoding and decoding overhead of AG codes, so the research on AG codes mainly focuses on decoding. Among them, there are two decoding algorithms for AG codes. One is the Sakata algorithm based on the syndrome calculation of error position polynomial and error amplitude. This algorithm has a unique decoding output, so it is also called a unique decoding algorithm. The other is the interpolation-based algebraic list decoding algorithm proposed by Guruswami and Sudan based on the idea of curve fitting. The decoding ability of this algorithm can exceed half of the minimum Hamming distance of AG codes, so it has a strong decoding ability.
[0044] Although the algebraic list decoding algorithm shows a better decoding capability than the unique decoding algorithm, it also shows a higher decoding complexity. Based on this, the embodiment of the present application provides a decoding algorithm, which can reduce the decoding complexity of the algebraic list decoding algorithm while maintaining its decoding capability.
[0045] In addition, the forward error correction algorithm (i.e., decoding algorithm) currently implemented in the Ethernet physical layer is an error correction scheme based on RS code, which is defined in the finite field F 1024 With the pressure brought by the increase of device input / output (IO), the single-channel rate of Ethernet has been promoted. For the widely used RS code, the forward error correction performance is improved by increasing the code length, but this has caused an imbalance between the implementation cost and performance benefits.
[0046] As an alternative, we can choose to define 256 The AG code on the 4096-bit AG code can construct any code with a code length not exceeding 4096, so that it can significantly reduce the size of the finite field while maintaining the error correction performance, thereby increasing the device input / output (IO) throughput and reducing the computational overhead. Therefore, the AG code is used as the codeword after the transmitter is encoded in the embodiment of the present application.
[0047] To facilitate subsequent understanding, the communication system involved in the embodiments of the present application is first explained below.
[0048] Figure 1 Schematic diagram of the architecture of a communication system provided by an embodiment of the present application. Figure 1 As shown, the communication system includes a transmitting end 10 and a receiving end 20. The transmitting end 10 includes a channel encoder 101 and a modulator 102, and the receiving end 20 includes a channel decoder 201 and a demodulator 202.
[0049] When the user of the transmitting end 10 needs to send or write data, the data is encoded by the channel encoder 101 of the transmitting end 10 to obtain a codeword. A codeword includes multiple codeword elements, so a codeword can also be called a transmission vector. The codeword in the embodiment of the present application is AG code by way of example. Then, the AG code is transmitted to the demodulator 202 of the receiving end 20 through the modulator 102 of the transmitting end 10, so that the channel decoder 201 of the receiving end 20 decodes the receiving vector corresponding to the AG code, thereby enabling the user of the receiving end 20 to receive or read data.
[0050] like Figure 1 As shown, the codeword sent by the modulator 102 to the demodulator 202 may be interfered by the channel noise during the transmission process, thereby causing errors. Therefore, the purpose of decoding by the channel decoder 201 is to correct the received receiving vector to recover the codeword (that is, the sending vector) sent by the modulator 102, so as to perform correct decoding based on the recovered sending vector.
[0051] The decoding method provided in the embodiment of the present application is implemented by an algebraic list decoding algorithm, and the codeword sent by the transmitter 10 is an AG code. Therefore, in order to facilitate subsequent understanding, the encoding process of the AG code and the algebraic list decoding algorithm are first explained here.
[0052] The encoding process at the sender can be achieved through the following steps:
[0053] (1) Taking the Cab curve defined on the finite field Fq as the base curve, select the half-grid structure affine points in the base curve. The Cab curve defined on the finite field Fq can be expressed as follows:
[0054] E(x,y)=y a +∑ ai+bi<ab c ij x i y j +cy b ,gcd(a,b)=1,and c≠0
[0055] a and b are parameters of the Cab curve, and gcd(a, b)=1 indicates that a and b are prime numbers to each other. It should be noted that the Cab curve and the parameters a and b therein are pre-configured on the transmitting end and the receiving end.
[0056] A semi-grid structured affine point refers to all discrete points in the base curve where the number of y values corresponding to the same x value is a fixed number. For example, the fixed number can be set to a, and the semi-grid structured affine points in the base curve can be understood as: finding which x values correspond to a y values from all discrete points of the base curve. Assuming that 10 x values are found to correspond to a y values, there are 10*a semi-grid structured affine points in total.
[0057] (2) Use the selected half-grid structure affine points as assignment points to construct the algebraic geometry code C E (u[P ∞ ]).
[0058] Constructed Algebraic Geometry Code C E (u[P ∞ ]) can be expressed as follows:
[0059]
[0060] Among them, P 0 ,P 1 ,...,P n-1 are the n selected half-grid structure affine points, i.e., n valued points. 0 ),f(P 1 ),...,f(P n-1 ) represents the n codeword elements obtained after encoding. is a Riemann-Roach space based on the Cab curve, that is, an information polynomial space, which is used to characterize a space composed of multiple polynomials whose zeros are all discrete points in the Cab curve. f is a function constructed based on the information polynomial space. In other words, the polynomial represented by f belongs to the information polynomial space.
[0061] Assume that the data to be encoded is f 0 ,f 1 ,...,f k-1 , that is, the data to be encoded includes data elements corresponding to k dimensions, then f can be expressed by the following formula:
[0062] f=f 0 / φ 0 +f 1 / φ 1 +…+f k-1 / φ k-1
[0063] Among them, φ 0 ,φ 1 ,…,φ k-1 for A set of bases.
[0064] From the above formula for constructing algebraic geometry codes, it can be seen that the implementation method of constructing algebraic geometry codes for data including data elements of k dimensions can be: first determine a function f based on the data elements of k dimensions included in the data and the information polynomial space based on the Cab curve, and then generate n code word elements through the function f and n assignment points. These n code word elements are the algebraic geometry codes of the data.
[0065] In some scenarios, the algebraic geometric code of data may also be marked as (k, n), which is used to indicate that data including data elements of k dimensions is encoded into n codeword elements.
[0066] After the transmitter obtains the algebraic geometry code through the above two steps, it sends the encoded codeword through the channel. For the convenience of subsequent description, the codeword sent or written by the transmitter is marked as the transmission vector The information received or read by the receiving end is marked as the receiving vector. The error vector is marked as The error vector is used to characterize the deviation between the received vector and the sent vector, and The purpose of decoding at the receiving end is to recover the sending vector based on the receiving vector, and then determine the data sent by the sending end based on the sending vector.
[0067] Figure 2 It is a schematic diagram of a decoding process based on an algebraic list decoding algorithm provided in an embodiment of the present application. Figure 2 The algebraic list decoding algorithm shown is exemplarily based on the interpolation module Algebraic list decoding algorithm for bases.
[0068] like Figure 2 As shown, the decoding process includes two steps, namely interpolation and root finding.
[0069] (1) Interpolation.
[0070] The interpolation process includes: describing the base polynomial of the interpolation module based on the received vector, and then simplifying the base polynomial to obtain the interpolation module base.
[0071] The interpolation module can be understood as a space composed of all polynomials whose zero points are interpolation points, and the interpolation points are constructed based on the assignment points and the receiving vector. Based on this, in some embodiments, the implementation method of characterizing the base polynomial of the interpolation module based on the receiving vector can be: constructing the interpolation points based on the receiving vector and the assignment points, and determining the base polynomial of the interpolation module based on the interpolation points.
[0072] Assume that the sender uses P 0 ,P 1 ,...,P n-1 There are n assignment points, which form an assignment point set, which is represented by P = {P 0 ,P 1 ,...,P n-1}, the receiving vector is Then the interpolation point set including the interpolation point can be expressed as p = {(P 0 ,r 0 ),(P 1 ,r 1 ),...,(P n-1 ,r n-1 )}. The subsequent construction of the interpolation point set can refer to this explanation.
[0073] For example, assuming that each assignment point is represented by x and y in a two-dimensional coordinate system, the assignment point set can be expressed as P = {P 0 =(x 0 ,y 0 ),P 1 =(x 1 ,y 1 ),...,P n-1 =(x n-1 ,y n-1 )}.
[0074] Accordingly, each interpolation point can be represented by x, y and z in a three-dimensional coordinate system, and the interpolation point set can be represented as p = {(P 0 ,r 0 )=(x 0 ,y 0 ,r 0 ),(P 1 ,r 1 )=(x 1 ,y 1 ,r 1 ),...,(P n-1 ,r n-1 )=(x n-1 ,y n-1 ,r n-1 )}.
[0075] Table 1 shows an example of the interpolation point set p = {(P 0 ,r 0 ),(P 1 ,r 1 ),...,(P n-1 ,r n-1 )}. Based on the above content, we can know that P0 ,P 1 ,...,P n-1 is n assigned points, and n assigned points are selected half-grid affine points. Assuming that the fixed number of selected half-grid affine points is a, then P 0 ,P 1 ,...,P n-1 There are n / a different x values in the horizontal coordinates of these n assignment points, and each x value corresponds to a different y values. Based on this, the interpolation points with the same x value in the interpolation point set are placed in a column in Table 1. Therefore, as shown in Table 1, there are n / a columns in Table 1, each column includes a interpolation points, and the interpolation points in each column have the same horizontal coordinate. For the convenience of subsequent explanation, P x Represents the set of assignment points P = {P 0 =(x 0 ,y 0 ),P 1 =(x 1 ,y 1 ),...,P n-1 =(x n-1 ,y n-1 )}, and use P yα Represents the set of assignment points P = {P 0 =(x 0 ,y 0 ),P 1 =(x 1 ,y 1 ),...,P n-1 =(x n-1 ,y n-1 )} where the horizontal coordinate is the set of vertical coordinates of all the assigned points corresponding to α.
[0076] Table 1
[0077]
[0078] After obtaining the interpolation point set, assuming that the interpolation multiplicity m and the list size l are predefined, the interpolation modulus can be understood as the space composed of all polynomials with interpolation multiplicity m passing through all interpolation points in the interpolation point set and the degree of the variable z is less than l. Based on this, in some scenarios, the interpolation modulus can be marked as I p,l .
[0079] In some embodiments, the interpolation modulus is determined based on the interpolation points. p,l The base polynomial of can be realized by the following formula:
[0080]
[0081] H (t)(x,y,z)=G(x) m-t (zK(x,y)) t , 0≤t≤m;
[0082] H (t) (x,y,z)=z t-m (zK(x,y)) m , m<t≤l;
[0083]
[0084]
[0085] Among them, M p,l Indicates interpolation modulus I p,l The basis polynomial of , a is the parameter of the Cab curve defined above, and l is the size of the list defined above.
[0086] The interpolation modulus I is obtained by the above method. p,l The basis polynomial M p,l Then, based on the base polynomial M p,l Determine the interpolation modulus I p,l of base.
[0087] In some embodiments, based on the base polynomial M p,l Determine the interpolation modulus I p,l of The realization method of the basis can be: the basis polynomial M p,l F q The coefficients of [x] are placed in the matrix to form the matrix U, and then the weighted matrix V is obtained through mapping transformation. The weighted matrix V is converted into a weak Popov matrix using a reduction algorithm. In this case, the highest degree item in each row of the weak Popov matrix is located in a different column number. The weak Popov matrix is the interpolation module I p,l of base.
[0088] Among them, the basis polynomial M p,l F q The coefficients [x] can be understood as the basis polynomial M p,l The coefficient of the variable x in each monomial in . In addition, the weight matrix V can be expressed by the following formula:
[0089]
[0090] The embodiment of the present application does not limit the specific implementation method of converting the weighted matrix V into a weak Popov type matrix using a simplification algorithm. Any algorithm that can convert a weak Popov type matrix can be applied to the embodiment of the present application.
[0091] (2) Searching for roots.
[0092] The root-finding process includes: selecting a weak Popov matrix (i.e. The row with the smallest degree in the basis) is converted into the required interpolation polynomial, and the interpolation polynomial is marked as Q(x,y,z). The interpolation polynomial Q(x,y,z) is decomposed and rooted to obtain a column of information polynomials. Based on this column of information polynomials, the assignment points in the assignment point set are encoded to obtain a column of codeword sequences. The codeword in this column of codeword sequences that has the smallest Hamming distance with the received vector is selected as the recovered transmission vector, so as to complete decoding based on the recovered transmission vector.
[0093] When passing Figure 2 When the algebraic list decoding algorithm shown is decoded, the decoding complexity is at least the square of the code length, so that Figure 2 The decoding complexity of the algebraic list decoding algorithm shown is very large, which brings a great computational cost to the actual hardware implementation of the AG code, and correspondingly hinders the practical application of the AG code. Based on this, the embodiment of the present application provides a decoding algorithm, which can reduce the decoding complexity of the algebraic list decoding algorithm while maintaining its decoding capability.
[0094] The decoding algorithm provided in the embodiment of the present application is explained below.
[0095] Figure 3 is a flowchart of a decoding algorithm provided in an embodiment of the present application. Figure 3 As shown, the decoding algorithm includes the following steps 301 to 304.
[0096] Step 301: Obtain a first received vector and a set of evaluation points, wherein the first received vector includes a plurality of vector elements to be decoded, and the set of evaluation points includes a plurality of evaluation points corresponding one-to-one to the plurality of vector elements.
[0097] The vector elements in the first receiving vector are the information received by the receiving end. The evaluation point set is the evaluation point set used by the transmitting end when encoding. When the network is initialized, the transmitting end and the receiving end are configured with the same base curve and the evaluation point set determined based on the base curve. The explanation of the base curve and the evaluation point set can be found in the aforementioned encoding process, which will not be repeated here.
[0098] Step 302: Convert the first received vector into a second received vector, wherein the second received vector and the first received vector include the same error pattern, wherein the error pattern indicates a factor causing a deviation between the first received vector or the second received vector and a transmitted vector, wherein the transmitted vector includes a plurality of encoded codeword elements.
[0099] That the second receiving vector includes the same error pattern as the first receiving vector can be understood as: when converting the first receiving vector, other error patterns may be introduced, but the error pattern of the first receiving vector needs to be retained.
[0100] In the embodiment of the present application, when the receiving end obtains the receiving vector, it does not directly construct the interpolation point set according to the receiving vector, but first converts the receiving vector, and constructs a new interpolation point set based on the converted receiving vector, so as to reduce the number of interpolation points in the constructed interpolation point set, thereby reducing the degree of the base polynomial of the constructed interpolation module, and further reducing the decoding complexity. In addition, when converting the receiving vector, the error mode of the receiving vector is also retained to ensure the accuracy of decoding based on the reconstructed interpolation point set.
[0101] In some embodiments, the implementation method of converting a first received vector into a second received vector may be: determining a first type of value points from a set of value points, the first type of value points being some of the value points in the set of value points; determining a recoding polynomial based on the first type of value points and the vector elements in the first received vector corresponding to each value point in the first type of value points; determining a recoding vector based on the recoding polynomial and the set of value points, the recoding vector comprising a plurality of recoding codeword elements corresponding one-to-one to a plurality of value points; determining a second received vector based on the first received vector and the recoding vector, the values of the vector elements in the second received vector corresponding to the first type of value points all being first reference values.
[0102] By re-encoding, it is possible to convert the values of some vector elements in the first received vector into a fixed reference value, that is, to convert some vector elements in the first vector into a fixed form, so that these vector elements will not be taken into account when constructing the interpolation point set subsequently, so as to reduce the number of interpolation points in the constructed interpolation point set.
[0103] And during re-encoding, the re-encoded codeword elements corresponding to each assignment point can be clearly calculated. In other words, the re-encoded codeword elements corresponding to each assignment point are equivalent to a constant. At this time, the second reception vector is determined based on a first reception vector related to a certain error pattern and a constant re-encoded codeword element. Obviously, the second reception vector is still related to the error pattern, thereby realizing that the first reception vector and the second reception vector include the same error pattern.
[0104] Among them, the first type of assignment points can be any several assignment points in the assignment point set, and the embodiment of the present application does not limit the implementation method of determining the first type of assignment points from the assignment point set.
[0105] Optionally, considering that the assignment points are half-grid affine points in the base curve, the assignment points in the assignment point set can be divided into several groups, and the values of the first variables of the assignment points in each group of assignment points are the same, but the values of the second variables are different. The first variable is exemplified by variable x, and the second variable is exemplified by variable y. In this scenario, the first type of assignment points includes at least one group of assignment points, and the number of assignment points in each group of assignment points in the at least one group of assignment points is the second reference value, and the at least one group of assignment points has a one-to-one correspondence with at least one variable value, and the value of the first variable of each assignment point in each group of assignment points is the corresponding variable value.
[0106] For example, in the scenario of the interpolation point set shown in Table 1, the first type of assignment points may be assignment points corresponding to the first few columns of interpolation points. In this scenario, the second reference value is a.
[0107] By selecting the first type of value assignment points in the above manner, it is possible to avoid the value range of the first variable of the selected first type of value assignment points being too large, thereby further simplifying the complexity of subsequent calculations.
[0108] In addition, the determined recoding polynomial may be a polynomial whose zero point is a first type interpolation point. The first type interpolation point is an interpolation point constructed based on the first type valued point and the vector element corresponding to each valued point in the first type of valued point. The specific construction process may refer to the above embodiment.
[0109] In this scenario, the value of any of the first type of value points under the recoding polynomial is the same as the value of the vector element in the corresponding first received vector. For example, assuming that the first type of value points includes P1, the vector element in the first received vector corresponding to the value point P1 is r1, and the determined recoding polynomial is F, then F(P1)=r1 is satisfied.
[0110] Optionally, the determined recoding polynomial may be, for example, a polynomial satisfying the following conditions: the recoding polynomial includes a plurality of zero points corresponding one-to-one to each interpolation point in the first type of interpolation points, and the distance between each zero point and the corresponding interpolation point is a fixed distance.
[0111] In this scenario, the difference between the value of any of the first type of value points under the recoding polynomial and the value of the corresponding vector element is a fixed value. For example, assuming that the first type of value points includes P1, the vector element in the first received vector corresponding to the value point P1 is r1, and the determined recoding polynomial is F, then F(P1)-r1=c is satisfied, and c is a constant that is not 0.
[0112] Optionally, the determined recoding polynomials may not be limited to the above two types, and any polynomial that still passes through the first type of interpolation points after spatial transformation may be used as the recoding polynomial in the embodiments of the present application.
[0113] In addition, when the recoding polynomial is determined based on the first type of interpolation points, it can be implemented by constructing a binary Lagrange polynomial, or optionally by other methods, which will not be described one by one here.
[0114] In addition, based on the recoding polynomial and the set of assignment points, the implementation method for determining the recoding vector can be: for multiple assignment points included in the set of assignment points, each of the multiple assignment points is substituted into the recoding polynomial, and the result obtained is the recoding codeword element corresponding to the corresponding assignment point.
[0115] In addition, in a scenario where the value of any assignment point in the first type of assignment points under the recoding polynomial is the same as the value of the corresponding vector element in the first received vector, the implementation method for determining the second received vector based on the first received vector and the recoding vector can be: subtracting the first received vector from the recoding vector to obtain the second received vector; wherein the values of the vector elements in the second received vector corresponding to the first type of assignment points are all 0.
[0116] In the above manner, the values of some vector elements in the first received vector can be converted to 0, so as to reduce the complexity of subsequent calculations.
[0117] Optionally, in a scenario where the recoding polynomial is a polynomial under other conditions, the second receiving vector may also be determined by referring to the above method, which will not be described in detail herein.
[0118] It should be noted that the above conversion of the first receiving vector is performed by taking the re-encoding method as an example. Optionally, the first receiving vector may also be converted by other methods, as long as some vector elements in the converted second receiving vector are in a fixed form and the error pattern of the first receiving vector is retained. The embodiments of the present application will not be illustrated one by one here.
[0119] Step 303: Determine a first interpolation point set based on the second received vector and the evaluation point set, wherein the number of interpolation points in the first interpolation point set is less than the number of evaluation points in the evaluation point set.
[0120] In some embodiments, the implementation method of determining the first interpolation point set based on the second received vector and the assignment point set can be: constructing the second interpolation point set based on the second received vector and the assignment point set, each interpolation point in the second interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the corresponding vector element, and the value of the first variable and the value of the second variable of each interpolation point are the values of the two variables of the corresponding assignment point; deleting the interpolation points corresponding to the first type of assignment points in the second interpolation point set to obtain the third interpolation point set; determining the first interpolation point set based on the interpolation points corresponding to the first type of assignment points in the third interpolation point set and the second interpolation point set.
[0121] Since the number of vector elements in the second received vector is the same as the number of assignment points in the assignment point set, the second interpolation point set can be constructed directly based on the second received vector and the assignment point set. The specific construction method can refer to the above embodiment and will not be repeated here.
[0122] In the scenario where the second received vector is obtained by re-encoding, since the values of the vector elements corresponding to the first type of assignment points in the second received vector are all first reference values, if decoding is performed directly based on the second interpolation point set, it can be found that the subsequent decoding process basically does not involve complex calculations of the interpolation points corresponding to the first type of assignment points. Therefore, in an embodiment of the present application, in order to further simplify the complexity of decoding, the interpolation points corresponding to the first type of assignment points in the second interpolation point set can be deleted to achieve the purpose of reducing the number of interpolation points in the interpolation point set.
[0123] Moreover, after deleting the interpolation points in the second interpolation point set corresponding to the first type of assignment points, in order to ensure the accuracy of subsequent decoding, the values of the relevant variables of the interpolation points in the third interpolation point set are further updated based on the values of the relevant variables of the interpolation points in the second interpolation point set corresponding to the first type of assignment points.
[0124] In some embodiments, based on the interpolation points corresponding to the first type of assignment points in the third interpolation point set and the second interpolation point set, the implementation method for determining the first interpolation point set can be: based on the values of the first variables of the interpolation points corresponding to the first type of assignment points in the second interpolation point set, determine the common factor polynomial, which is determined based on the values of the first variables of the interpolation points corresponding to the first type of assignment points; based on the common factor polynomial, update the value of the third variable of each interpolation point in the third interpolation point set to obtain the first interpolation point set.
[0125] The zero point of the common factor polynomial is the value of the first variable of the interpolation point corresponding to the first type of assignment point in the second interpolation point set.
[0126] Since the values of the vector elements corresponding to the first type of assignment points in the second received vector are all first reference values, if decoding is performed directly based on the second interpolation point set, it can be found that the subsequent decoding process basically does not involve complex calculations of the interpolation points corresponding to the first type of assignment points, and the calculation process of each interpolation point can extract the above-mentioned common factor polynomial. Therefore, in order to simplify the subsequent calculation complexity, the value of the third variable of each interpolation point in the simplified second interpolation point set can be updated based on the common factor polynomial.
[0127] For example, in a scenario where the values of the vector elements corresponding to the first type of assignment points in the second received vector are all 0, based on the common factor polynomial, the implementation method for updating the value of the third variable of each interpolation point in the third interpolation point set can be: dividing the value of the third variable of each interpolation point in the third interpolation point set by the value of the common factor polynomial at the interpolation point.
[0128] In addition, in the scenario where the values of the vector elements corresponding to the first type of assignment points in the second received vector are other parameter data, the second interpolation point set can also be simplified and updated in the above manner to obtain the required first interpolation point set. The specific algorithm is not limited in the embodiments of this application.
[0129] Step 304: Decoding based on the first interpolation point set.
[0130] In some embodiments, step 304 may be implemented as follows: determining a first interpolation polynomial based on a first interpolation point set, the first interpolation polynomial being a polynomial in an interpolation module corresponding to the first interpolation point set; updating the first interpolation polynomial to obtain a second interpolation polynomial, the second interpolation polynomial being a polynomial in an interpolation module corresponding to a fourth interpolation point set, the fourth interpolation point set being an interpolation point set constructed based on the first received vector and an assignment point set; and performing decoding based on the second interpolation polynomial.
[0131] Since the reconstructed first interpolation point set is no longer the same interpolation point set as the fourth interpolation point set used for correct decoding, after the first interpolation polynomial is determined by the first interpolation point set with a smaller number of interpolation points, the second interpolation polynomial is further restored based on the first interpolation polynomial, avoiding the need to directly determine the second interpolation polynomial from the fourth interpolation point set with a larger number of interpolation points, thereby reducing the decoding complexity.
[0132] For example, each interpolation point in the first interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the value of the corresponding vector element. In this scenario, the first interpolation polynomial is the polynomial with the smallest weighted degree and the smallest power of the third variable in the interpolation module corresponding to the first interpolation point set. This setting can simplify the complexity of subsequent decoding. For the specific implementation method, please refer to the relevant content of the aforementioned determination of the polynomial Q(x,y,z), which will not be repeated here.
[0133] In addition, in a scenario where the values of the vector elements corresponding to the first type of value assignment points in the second received vector are all 0, the first interpolation polynomial is updated to obtain the second interpolation polynomial, which can be implemented by the following formula:
[0134]
[0135] Among them, Q * (x, y, z) represents the first interpolation polynomial, Q(x, y, z) represents the second interpolation polynomial, F(x, y) represents the recoding polynomial, G Γ (x) represents the common factor polynomial mentioned above.
[0136] Optionally, in scenarios where the second received vector is in other forms, the first interpolation polynomial can also be updated with reference to the above method to obtain a second interpolation polynomial. The specific algorithm is not limited in the embodiments of the present application.
[0137] To facilitate understanding, the following example Figure 3 The illustrated embodiment is further explained. Figure 4 This is another decoding process diagram provided by the embodiment of the present application. Figure 4 As shown, the decoding process includes the following steps.
[0138] (1) Read the receive vector.
[0139] Assume that the received vector read
[0140] (2) Recoding transformation.
[0141] The specific process of recoding transformation is: select the first s affine points in the assignment point P as recoding points. Mark the s affine points as Γ. Where s satisfies the following formula:
[0142]
[0143] That is, we select s' sets of affine points with the same horizontal coordinates, where a and b represent the parameters of the Cab curve and u represents the algebraic geometry code C E (u[P∞ ]) design parameters. Set Γ x represents the set of all horizontal coordinates of the affine point Γ, Γ yα Represents the set of ordinates of all affine points corresponding to the abscissa of the affine point Γ.
[0144] (3) Construct the basis polynomial of the interpolation module.
[0145] Based on the binary Lagrange polynomial construction method, the following recoding polynomial is constructed for s affine points:
[0146]
[0147] The recoding polynomial satisfies F(α,β)=r αβ , where (α, β)∈Γ and r αβ Indicates that the corresponding assignment point is in Γ Corresponding values. Further based on the recoding polynomial F(x,y), the values are assigned in the assignment point set P, and the recoding codeword can be obtained. (that is, the re-encoded vector), so the received vector can be converted into (First received vector) is transformed into (Second receive vector):
[0148]
[0149] Among them, r s '=r j -F(P j ).
[0150] In the above conversion process, due to So the second received vector and send vector The deviation between them can be obtained by the error vector characterization, and is the first received vector With the send vector Therefore, the second received vector retains the error pattern of the first received vector, that is, the first received vector With the second received vector Includes the same error pattern.
[0151] At this time, the interpolation point set constructed based on the second received vector and the assignment point set can be expressed as follows:
[0152] Table 2
[0153]
[0154]
[0155] The first s' columns of interpolation points are converted to a form with a z coordinate of 0. Thus, the interpolation point set is converted from the initial fourth interpolation point set P to the first interpolation point set P. * :
[0156] p={(P 0 ,r 0 )=(x 0 ,y 0 ,r 0 ),(P 1 ,r 1 )=(x 1 ,y 1 ,r 1 ),...,(P n-1 ,r n-1 )=(x n-1 ,y n-1 ,r n-1 )}
[0157] p'={(P 0 ,r0)=(x 0 ,y 0 ,0),(P 1 ,0)=(x 1 ,y 1 ,0 1 ),...,(P n-1 ,r' n-1 )=(x n-1 ,y n-1 ,r' n-1 )}
[0158] p*={(P s ,r s *),(P s+1 ,r' s+1 ),...,(P n-1 ,r' n-1 )}
[0159] Among them, the first interpolation point set P after the transformation * The value of the z variable at the interpolation point in becomes:
[0160]
[0161] At the same time, the interpolation modulus (i.e., the polynomial space that satisfies the corresponding interpolation conditions) I p,l The following transformation occurs:
[0162]
[0163] Therefore, the interpolation problem to be solved is transformed into solving The interpolation polynomial Q in . Based on equations (1) and (5), the following two formula decompositions are introduced:
[0164]
[0165]
[0166] Among them, Γ c ={0,1,…,n-1} / Γ, so as The basis polynomial of It can be expressed as follows:
[0167]
[0168]
[0169]
[0170]
[0171]
[0172] (4) Convert the base polynomial to Basis, and solve the interpolation polynomial Q * (x,y,z).
[0173] The interpolation model can be The basis polynomial of Transform it in the following form: first It is expressed as follows:
[0174]
[0175] It can be F q The [x] coefficients are placed in the matrix to form the following matrix:
[0176]
[0177] The matrix U is transformed by the following weighted embedding mapping to obtain the weighted matrix V:
[0178]
[0179] Among them, u*=u-deg E G Γ .
[0180] Then, the matrix V is converted into a weak Popov matrix using a general reduction algorithm (the highest degree item in each row of the matrix is located in a different column number). The weak Popov matrix is Base, select The row with the smallest degree of the first variable (i.e. x) in the basis is transformed into the required Q * (x,y,z),Q * (x,y,z) as the first interpolation polynomial.
[0181] Among them, determine the first interpolation polynomial Q * The process for (x,y,z) is as follows:
[0182] Assumptions for The row with the smallest degree of variable x in the basis has the following relationship:
[0183]
[0184] Among them, U j * Denotes the required first interpolation polynomial Q * The Fq[x] coefficient of (x,y,z) is the coefficient of the variable x in the interpolation polynomial. Therefore, the interpolation polynomial Q * (x,y,z) can be expressed as follows:
[0185] Q * (x,y,z)=U j * ·(1,y,...y a-1 ,z,yz,...zy a-1 ,...,z l y a-1 ) T
[0186] In addition, the first interpolation polynomial Q * (x,y,z) is The polynomials corresponding to each row in the basis are in (E,u * ) in the inverse lexicographic order, where (E,u * ) satisfies the following conditions:
[0187] if Q 1 <Q 2 ,otherwise And deg z Q 1 <deg z Q 2 Q 1 <Q 2 .
[0188] The so-called minimum here also means the minimum in order, so the first interpolation polynomial Q * (x,y,z) satisfies At this time, the first interpolation polynomial Q * (x,y,z) is the interpolation modulus The polynomial with the smallest weighted degree and the smallest power (that is, degree) of the variable z.
[0189] (5) Polynomial recovery.
[0190] The required interpolation polynomial Q(x,y,z) can be further restored through the following relationship, and Q(x,y,z) is used as the second interpolation polynomial:
[0191]
[0192] After recovering the second interpolation polynomial Q(x,y,z), the second interpolation polynomial is decomposed and rooted to obtain a column of information polynomials, which are encoded to obtain a column of codeword sequences. The codeword in this column of codeword sequences that has the smallest Hamming distance with the received vector is selected as the recovered transmission vector.
[0193] In summary, in the embodiment of the present application, when the receiving end obtains the receiving vector, it does not directly construct the interpolation point set according to the receiving vector, but first converts the receiving vector, and constructs the interpolation point set based on the converted receiving vector, so as to reduce the number of interpolation points in the constructed interpolation point set, thereby reducing the decoding complexity. And when converting the receiving vector, the error mode of the receiving vector is also retained to ensure the accuracy of decoding based on the reconstructed interpolation point set.
[0194] In other words, in the embodiment of the present application, the representation form of the received vector is changed while the error pattern of the received vector is retained, so that the received vector after the change has a simpler decoding algorithm.
[0195] Figure 5 Schematic diagram of a decoding device provided in an embodiment of the present application. Figure 5 As shown, the device includes the following modules.
[0196] The acquisition module 501 is used to acquire a first received vector and an assignment point set, wherein the first received vector includes multiple vector elements to be decoded, and the assignment point set includes multiple assignment points corresponding to the multiple vector elements one by one. Figure 3 Step 301 in the embodiment.
[0197] The conversion module 502 is used to convert the first received vector into a second received vector, the second received vector and the first received vector include the same error mode, the error mode indicates the factor causing the deviation between the first received vector or the second received vector and the transmission vector, and the transmission vector includes a plurality of encoded codeword elements. For specific implementation methods, please refer to Figure 3Step 302 in the embodiment.
[0198] The determination module 503 is used to determine a first interpolation point set based on the second received vector and the assignment point set, wherein the number of interpolation points in the first interpolation point set is less than the number of assignment points in the assignment point set. Figure 3 Step 303 in the embodiment.
[0199] The decoding module 504 is used to perform decoding based on the first interpolation point set. For specific implementation methods, please refer to Figure 3 Step 304 in an embodiment.
[0200] Optionally, the conversion module is used to:
[0201] Determine a first type of assignment point from the assignment point set, where the first type of assignment point is a part of the assignment points in the assignment point set;
[0202] Determining a recoding polynomial based on the first type of valued points and the vector elements in the first received vector corresponding to each of the valued points in the first type of valued points;
[0203] Determine a recoding vector based on the recoding polynomial and the set of evaluation points, wherein the recoding vector includes a plurality of recoding codeword elements corresponding one-to-one to the plurality of evaluation points;
[0204] Based on the first receiving vector and the re-encoding vector, a second receiving vector is determined, and the values of the vector elements corresponding to the first type of value assignment points in the second receiving vector are all first reference values.
[0205] Optionally, the value of any assignment point in the first type of assignment points under the recoding polynomial is the same as the value of the corresponding vector element;
[0206] The conversion module is used to:
[0207] Subtracting the first received vector from the re-encoded vector to obtain a second received vector;
[0208] The values of the vector elements corresponding to the first type of assignment points in the second receiving vector are all 0.
[0209] Optionally, each of the plurality of assignment points includes a first variable and a second variable;
[0210] The first type of value assignment points includes at least one group of value assignment points, and the number of value assignment points in each group of value assignment points in the at least one group of value assignment points is the second reference value;
[0211] At least one group of assignment points corresponds to at least one variable value, and the value of the first variable of each assignment point in each group of assignment points is the corresponding variable value.
[0212] Optionally, the determination module is used to:
[0213] Constructing a second interpolation point set based on the second received vector and the assignment point set, each interpolation point in the second interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the value of the corresponding vector element, and the value of the first variable and the second variable of each interpolation point are the values of the two variables of the corresponding assignment point;
[0214] Deleting the interpolation points corresponding to the first type of assigned points in the second interpolation point set to obtain a third interpolation point set;
[0215] Based on the interpolation points corresponding to the first type of valued points in the third interpolation point set and the second interpolation point set, a first interpolation point set is determined.
[0216] Optionally, the determination module is used to:
[0217] Determine a common factor polynomial based on the values of the first variables of the interpolation points corresponding to the first type of valued points in the second interpolation point set, where the common factor polynomial refers to a polynomial determined based on the values of the first variables of the interpolation points corresponding to the first type of valued points;
[0218] Based on the common factor polynomial, the value of the third variable of each interpolation point in the third interpolation point set is updated to obtain the first interpolation point set.
[0219] Optionally, the decoding module is used to:
[0220] Determine a first interpolation polynomial based on the first interpolation point set, where the first interpolation polynomial is a polynomial in the interpolation module corresponding to the first interpolation point set;
[0221] The first interpolation polynomial is updated to obtain a second interpolation polynomial, where the second interpolation polynomial is a polynomial in an interpolation module corresponding to a fourth interpolation point set, where the fourth interpolation point set is an interpolation point set constructed based on the first received vector and the assignment point set;
[0222] Decoding is performed based on the second interpolation polynomial.
[0223] Optionally, each interpolation point in the first interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the value of the corresponding vector element;
[0224] The first interpolation polynomial is a polynomial with the smallest weighted degree and the smallest power of the third variable in the interpolation modulus corresponding to the first interpolation point set.
[0225] In summary, in the embodiment of the present application, when the receiving end obtains the receiving vector, it does not directly construct the interpolation point set according to the receiving vector, but first converts the receiving vector, and constructs the interpolation point set based on the converted receiving vector to reduce the number of interpolation points in the constructed interpolation point set, thereby reducing the decoding complexity. And when converting the receiving vector, the error mode of the receiving vector is also retained to ensure the accuracy of decoding based on the reconstructed interpolation point set. In other words, in the embodiment of the present application, the representation of the receiving vector is transformed while the error mode of the receiving vector is retained, so that the converted receiving vector has a simpler decoding algorithm.
[0226] It should be noted that: the decoding device provided in the above embodiment only uses the division of the above functional modules as an example for explanation during decoding. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the decoding device provided in the above embodiment and the decoding method embodiment belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, which will not be repeated here.
[0227] Figure 6 is a schematic diagram of the structure of a computer device provided in the embodiment of the present application. The receiving end or the decoding device in the above-mentioned embodiment can be Figure 6 The computer device shown is implemented. Figure 6 The computer device includes a processor 601 , a communication bus 602 , a memory 603 and at least one communication interface 604 .
[0228] The processor 601 may be a general-purpose central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0229] The communication bus 602 is used to transmit information between the above components.
[0230] The memory 603 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a disk or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 603 may exist independently and be connected to the processor 601 via the communication bus 602. The memory 603 may also be integrated with the processor 601.
[0231] The memory 603 is used to store the program code for executing the solution of the present application, and the execution is controlled by the processor 601. The processor 601 is used to execute the program code stored in the memory 603. The program code may include one or more software modules. The receiving end or the decoding device in the aforementioned embodiment can determine the data for developing the application through the processor 601 and one or more software modules in the program code in the memory 603.
[0232] The communication interface 604 uses any transceiver or other device to communicate with other devices or communication networks. The communication network can be Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.
[0233] In a specific implementation, as an embodiment, a computer device may include multiple processors, such as Figure 2 601 and processor 605 shown in FIG. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0234] In a specific implementation, as an embodiment, the computer device may further include an output device 606 and an input device 607. The output device 606 communicates with the processor 601 and may display information in a variety of ways. For example, the output device 606 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 607 communicates with the processor 601 and may receive user input in a variety of ways. For example, the input device 607 may be a mouse, a keyboard, a touch screen device, or a sensor device.
[0235] The above-mentioned computer device can be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device can be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device or an embedded device. The embodiment of the present application does not limit the type of computer device.
[0236] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0237] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0238] The above-described embodiments are provided for the present application and are not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application shall be included in the protection scope of the embodiments of the present application.
Claims
1. A decoding method, It is characterized in that The method comprises: Acquire a first received vector and a set of evaluation points, wherein the first received vector includes a plurality of vector elements to be decoded, and the set of evaluation points includes a plurality of evaluation points corresponding one-to-one to the plurality of vector elements; converting the first received vector into a second received vector, wherein the second received vector and the first received vector include the same error pattern, wherein the error pattern indicates a factor causing a deviation between the first received vector or the second received vector and a transmission vector, wherein the transmission vector includes a plurality of encoded codeword elements; Determine a first interpolation point set based on the second received vector and the evaluation point set, wherein the number of interpolation points in the first interpolation point set is less than the number of evaluation points in the evaluation point set; Decoding is performed based on the first interpolation point set.
2. The method according to claim 1, It is characterized in that The converting the first receiving vector into a second receiving vector comprises: Determine a first type of value assignment points from the value assignment point set, wherein the first type of value assignment points are part of the value assignment points in the value assignment point set; Determining a recoding polynomial based on the first type of evaluation points and the vector elements in the first received vector corresponding to each evaluation point in the first type of evaluation points; Determine a recoding vector based on the recoding polynomial and the set of evaluation points, wherein the recoding vector includes a plurality of recoding codeword elements corresponding one-to-one to the plurality of evaluation points; The second receiving vector is determined based on the first receiving vector and the re-encoding vector, wherein the values of the vector elements corresponding to the first type of evaluation points in the second receiving vector are all first reference values.
3. The method according to claim 2, It is characterized in that The value of any assignment point in the first type of assignment points under the recoding polynomial is the same as the value of the corresponding vector element; The determining the second receiving vector based on the first receiving vector and the re-encoding vector includes: Subtracting the first received vector from the re-encoded vector to obtain the second received vector; The values of the vector elements in the second receiving vector corresponding to the first type of assignment points are all 0.
4. The method according to claim 2 or 3, It is characterized in that Each of the plurality of evaluation points includes a first variable and a second variable; The first type of value assignment points includes at least one group of value assignment points, and the number of value assignment points in each group of the at least one group of value assignment points is a second reference value; The at least one group of assignment points corresponds to at least one variable value in one-to-one correspondence, and the value of the first variable of each assignment point in each group of assignment points is the corresponding variable value.
5. The method according to any one of claims 2 to 4, It is characterized in that The determining a first interpolation point set based on the second received vector and the assignment point set comprises: Constructing a second interpolation point set based on the second received vector and the assignment point set, wherein each interpolation point in the second interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the value of the corresponding vector element, and the value of the first variable and the second variable of each interpolation point are the values of the two variables of the corresponding assignment point; Deleting the interpolation points corresponding to the first type of valued points in the second interpolation point set to obtain a third interpolation point set; The first interpolation point set is determined based on the interpolation points in the third interpolation point set and the second interpolation point set corresponding to the first type of valued points.
6. The method according to claim 5, It is characterized in that The determining the first interpolation point set based on the interpolation points corresponding to the first type of valued points in the third interpolation point set and the second interpolation point set comprises: Determine a common factor polynomial based on the values of the first variables of the interpolation points corresponding to the first type of valued points in the second interpolation point set, wherein the common factor polynomial refers to a polynomial determined based on the values of the first variables of the interpolation points corresponding to the first type of valued points; Based on the common factor polynomial, the value of the third variable of each interpolation point in the third interpolation point set is updated to obtain the first interpolation point set.
7. The method according to any one of claims 1 to 6, It is characterized in that The decoding based on the first interpolation point set includes: Determine a first interpolation polynomial based on the first interpolation point set, where the first interpolation polynomial is a polynomial in the interpolation module corresponding to the first interpolation point set; updating the first interpolation polynomial to obtain a second interpolation polynomial, where the second interpolation polynomial is a polynomial in an interpolation module corresponding to a fourth interpolation point set, where the fourth interpolation point set is an interpolation point set constructed based on the first received vector and the assignment point set; Decoding is performed based on the second interpolation polynomial.
8. The method according to claim 7, It is characterized in that Each interpolation point in the first interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the value of the corresponding vector element; The first interpolation polynomial is a polynomial with the smallest weighted degree and the smallest power of the third variable in the interpolation module corresponding to the first interpolation point set.
9. A decoding device, It is characterized in that The device comprises: An acquisition module, configured to acquire a first received vector and an assignment point set, wherein the first received vector includes a plurality of vector elements to be decoded, and the assignment point set includes a plurality of assignment points corresponding one-to-one to the plurality of vector elements; a conversion module, configured to convert the first received vector into a second received vector, wherein the second received vector and the first received vector include the same error pattern, the error pattern indicating a factor causing a deviation between the first received vector or the second received vector and a transmission vector, wherein the transmission vector includes a plurality of encoded codeword elements; A determination module, configured to determine a first interpolation point set based on the second received vector and the evaluation point set, wherein the number of interpolation points in the first interpolation point set is less than the number of evaluation points in the evaluation point set; A decoding module is used to perform decoding based on the first interpolation point set.
10. The device according to claim 9, It is characterized in that The conversion module is used for: Determine a first type of value assignment points from the value assignment point set, wherein the first type of value assignment points are part of the value assignment points in the value assignment point set; Determining a recoding polynomial based on the first type of evaluation points and the vector elements in the first received vector corresponding to each evaluation point in the first type of evaluation points; Determine a recoding vector based on the recoding polynomial and the set of evaluation points, wherein the recoding vector includes a plurality of recoding codeword elements corresponding one-to-one to the plurality of evaluation points; The second receiving vector is determined based on the first receiving vector and the re-encoding vector, wherein the values of the vector elements corresponding to the first type of evaluation points in the second receiving vector are all first reference values.
11. The device according to claim 10, It is characterized in that The value of any assignment point in the first type of assignment points under the recoding polynomial is the same as the value of the corresponding vector element; The conversion module is used for: Subtracting the first received vector from the re-encoded vector to obtain the second received vector; The values of the vector elements in the second receiving vector corresponding to the first type of assignment points are all 0.
12. The device according to claim 10 or 11, It is characterized in that Each of the plurality of evaluation points includes a first variable and a second variable; The first type of value assignment points includes at least one group of value assignment points, and the number of value assignment points in each group of the at least one group of value assignment points is a second reference value; The at least one group of assignment points corresponds to at least one variable value in one-to-one correspondence, and the value of the first variable of each assignment point in each group of assignment points is the corresponding variable value.
13. The device according to any one of claims 10 to 12, It is characterized in that The determination module is used for: Constructing a second interpolation point set based on the second received vector and the assignment point set, wherein each interpolation point in the second interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the value of the corresponding vector element, and the value of the first variable and the second variable of each interpolation point are the values of the two variables of the corresponding assignment point; Deleting the interpolation points corresponding to the first type of valued points in the second interpolation point set to obtain a third interpolation point set; The first interpolation point set is determined based on the interpolation points in the third interpolation point set and the second interpolation point set corresponding to the first type of valued points.
14. The device according to claim 13, It is characterized in that The determination module is used for: Determine a common factor polynomial based on the values of the first variables of the interpolation points corresponding to the first type of valued points in the second interpolation point set, wherein the common factor polynomial refers to a polynomial determined based on the values of the first variables of the interpolation points corresponding to the first type of valued points; Based on the common factor polynomial, the value of the third variable of each interpolation point in the third interpolation point set is updated to obtain the first interpolation point set.
15. The device according to any one of claims 10 to 14, It is characterized in that The decoding module is used for: Determine a first interpolation polynomial based on the first interpolation point set, where the first interpolation polynomial is a polynomial in the interpolation module corresponding to the first interpolation point set; updating the first interpolation polynomial to obtain a second interpolation polynomial, where the second interpolation polynomial is a polynomial in an interpolation module corresponding to a fourth interpolation point set, where the fourth interpolation point set is an interpolation point set constructed based on the first received vector and the assignment point set; Decoding is performed based on the second interpolation polynomial.
16. The device according to claim 15, It is characterized in that Each interpolation point in the first interpolation point set corresponds to a vector element in the second received vector and an assignment point in the assignment point set, and the value of the third variable of each interpolation point is the value of the corresponding vector element; The first interpolation polynomial is a polynomial with the smallest weighted degree and the smallest power of the third variable in the interpolation module corresponding to the first interpolation point set.
17. A decoding device, It is characterized in that The device includes a memory and a processor; The memory is used to store a program that supports the device to execute the method described in any one of claims 1 to 8, and to store data involved in implementing the method described in any one of claims 1 to 8; The processor is configured to execute the program stored in the memory.
18. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 8.
