Data processing method and apparatus

By performing two-layer linear block coding and joint iterative decoding on the data to be processed, the problem of insufficient data reliability caused by the separation of error correction coding and erasure coding in the existing technology is solved, and the error correction capability and reliability of the data are improved.

WO2024222485A1PCT designated stage expired Publication Date: 2024-10-31HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/087498
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-23
Filing Date
2024-04-12
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Existing error correction coding and erasure coding are applied to the physical layer and application layer respectively, resulting in limited data fault tolerance and poor data reliability.

Method used

Using a two-layer linear block coding processing method, the data to be processed is row-coded and column-coded to generate target data, and the error correction capability is improved and the bit error rate is reduced through joint iterative decoding.

Benefits of technology

It improves the error correction capability and reliability of data, reduces the bit error rate, reduces redundant information under the same redundant information, and improves the overall reliability of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024087498_31102024_PF_FP_ABST
    Figure CN2024087498_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method and apparatus. A network device acquires data to be processed comprising K rows and k columns of pieces of raw data, and performs two joint codings on the data to be processed to obtain target data. Specifically, the network device may first perform row coding on the data to be processed and then perform column coding on the data subjected to the row coding; or the network device may first perform column coding on the data to be processed and then perform row coding on the data subjected to the column coding. That is, according to the present application, by performing joint coding on data to be processed, the number of error corrections of coded data is increased, thereby improving the error correction capability and reliability of the data.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing method and device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on April 23, 2023, with application number 202310466726.3 and invention name “A Data Processing Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a data processing method and device. Background Art

[0003] When storing data, errors often occur due to various noise and interference. To ensure data reliability, the stored data can be encoded. For example, error correction coding (ECC) or erasure coding (EC) can be used. Error correction coding is applied to the storage medium at the physical layer and has the function of correcting errors and erasures. Erasure coding is applied to the application layer to correct erasures of the entire storage medium.

[0004] However, error correction coding and erasure coding are currently applied at the physical layer and application layer respectively, which limits the fault tolerance of the encoded data and leads to poor data reliability.

[0005] Summary of the Invention

[0006] The present application provides a data processing method and device to improve the fault tolerance and reliability of data.

[0007] In a first aspect of the present application, a data processing method is provided. The method includes: a network device obtaining data to be processed, including K rows and k columns of original data, and performing linear block coding on the data to obtain target data. The target data has error correction capabilities and includes N rows and n columns of encoded data. The linear block coding of the data to be processed includes sequentially performing row coding and column coding on the data to be processed, or sequentially performing column coding and row coding on the data to be processed. In other words, the data to be processed is encoded in two layers, increasing the number of error corrections in the encoded data, thereby improving the error correction capability and reliability of the data.

[0008] When linear group coding is performed on the data to be processed, the row coding and the column coding may be the same linear group coding, such as Reed-Solomon (RS) coding, or the row coding and the column coding may be two different linear group codings.

[0009] After obtaining the target data, the target data can be stored in different storage media. Specifically, the target data corresponds to n storage media, and each storage medium corresponds one-to-one with each column in the target data. That is, the same column of encoded data in the target data is stored in a single storage medium. The storage medium can be an optical disc, a magnetic disk, or the like.

[0010] Through the above encoding process, each line in the target data is a codeword, which includes n encoded data, and each column in the target data is a codeword, which includes N encoded data.

[0011] In a second aspect of the present application, a data processing method is provided. The method includes: after a network device obtains target data through the first aspect, obtaining first data corresponding to each column from the target data, and performing column decoding on the first data to obtain a first data set. The first data set includes N rows and n columns of data, and the first data set includes decoded data corresponding to columns that were successfully decoded and first data corresponding to columns that failed to be decoded. That is, the first data set includes decoded data corresponding to columns that were successfully decoded and pre-decoded data corresponding to columns that failed to be decoded. The network device performs row decoding on the first data set based on the number of columns that were successfully decoded to obtain an original data set. The original data includes k*K original data. Specifically, the present application utilizes a two-layer joint iterative decoding approach to decode the target data, thereby improving error correction capabilities, obtaining data with higher reliability, and reducing the bit error rate. Furthermore, compared to traditional in-storage medium error correction decoding and storage medium erasure decoding, the two-layer joint iterative decoding reduces the bit error rate when the same redundant information is present, and reduces the redundant information when the same bit error rate is present.

[0012] The network device performs row decoding on the first data set according to the number of columns successfully decoded to obtain the original data set, including the following implementation methods:

[0013] One is that if the number of successfully decoded columns is not less than k, the network device performs row decoding on the second data corresponding to the successfully decoded columns in the first data set to obtain the original data set.

[0014] One method is to perform row decoding on the row data in the first data set if the number of columns successfully decoded is less than k, obtain a decoding result of the row data and an attribute of the decoding result, and determine the original data set based on the decoding result of the row data and the attribute of the decoding result. The attribute of the decoding result indicates whether the row decoding succeeded or failed.

[0015] The network device determines the original data set based on the decoding results and attributes of the row data, including: if the attribute of the decoding results of all row data is successful decoding, the network device determines the first K rows and first k columns of the decoding results of all row data as the original data; if the attribute of the decoding results of some row data is failed decoding, the network device obtains a third data set. The network device uses the third data set as the target data, repeatedly obtains the first data corresponding to each column from the target data, and performs column decoding and subsequent operations on the first data until k*K original data are determined. The third data set includes the decoded data corresponding to the row data that was successfully decoded and the row data that failed decoding.

[0016] If the first data corresponding to the column includes e errors and b erasures and 2e+b≤NK, the column is successfully decoded. If the row data includes e errors and b erasures and 2e+b≤nk, the row data is successfully decoded.

[0017] The process of column decoding or row decoding includes: a network device obtains a deletion position polynomial based on the deletion position information of the codeword to be decoded, wherein the codeword is the codeword corresponding to the column decoding or row decoding; the network device performs an inverse fast Fourier transform on the codeword to obtain a syndrome polynomial; the network device obtains an error correction syndrome polynomial based on the syndrome polynomial and the deletion position polynomial; the network device obtains an error position polynomial and a first polynomial based on the key equation and the error correction syndrome polynomial; the network device determines a target value based on the first polynomial, the deletion position polynomial, the error position polynomial, and the target position, wherein the target position is an error position or a deletion position, and the target value is an error value or a deletion value; the network device completes decoding based on the target position and the target value. That is, by performing an inverse fast Fourier transform on the codeword to be decoded, the syndrome polynomial can be quickly determined. At the same time, by performing a fast Fourier transform on the error position polynomial, the data error position can be quickly determined, saving computing resources, thereby improving decoding speed, and reducing decoding power consumption of the decoder.

[0018] Among them, the network device determines the target value based on the first polynomial, the deletion position polynomial, the error position polynomial and the target position, including: the network device multiplies the deletion position polynomial and the error position polynomial to obtain a joint polynomial; the network device divides the first polynomial by the derivative of the joint polynomial to obtain a target polynomial; the network device determines the target value based on the target polynomial and the target position.

[0019] If the target position is an error position, obtaining the error position includes: the network device performs a fast Fourier transform on the error position polynomial to obtain the error position.

[0020] In a third aspect of the present application, a data processing device is provided, which is applied to a network device and includes: an acquisition unit for acquiring data to be processed, wherein the data to be processed includes K rows and k columns of original data; a processing unit for performing linear group coding on the data to be processed to obtain target data, wherein the target data has error correction capability and includes N rows and n columns of encoded data; wherein the process of performing linear group coding on the data to be processed includes sequentially performing row coding and column coding on the data to be processed, or sequentially performing column coding and row coding on the data to be processed, wherein N is greater than K, and n is greater than k.

[0021] In a possible implementation, the column coding and the row coding are the same linear group coding, or are two different linear group codings.

[0022] In a possible implementation, both the column coding and the row coding are RS coding.

[0023] In a possible implementation, the target data corresponds to n storage media, and the storage media correspond one-to-one to the columns in the target data.

[0024] In a possible implementation, the storage medium is an optical disc.

[0025] In a possible implementation, each row of the target data is a codeword, and the codeword includes n encoded data; each column of the target data is a codeword, and the codeword includes N encoded data.

[0026] In a fourth aspect of the present application, a data processing device is provided, which is applied to a network device and includes: an acquisition unit for acquiring target data, wherein the target data includes N rows and n columns of encoded data, and the target data is obtained by the method described in the first aspect; a processing unit for acquiring first data corresponding to each column from the target data, and performing column decoding on the first data to obtain a first data set, wherein the first data set includes N rows and n columns of data, and the first data set includes decoded data corresponding to columns that are successfully decoded and first data corresponding to columns that fail to be decoded; the processing unit is further used to perform row decoding on the first data set according to the number of columns that are successfully decoded to obtain an original data set, wherein the original data includes k*K original data.

[0027] In a possible implementation, the processing unit is specifically configured to, if the number of successfully decoded columns is not less than k, perform row decoding on the second data corresponding to the successfully decoded columns in the first data set to obtain the original data set.

[0028] In one possible implementation, the processing unit is specifically used to perform row decoding on the row data in the first data set if the number of columns successfully decoded is less than k, to obtain the decoding result of the row data and the attributes of the decoding result; and to determine the original data set based on the decoding result of the row data and the attributes of the decoding result.

[0029] In one possible implementation, the processing unit is specifically configured to, if the attribute of the decoding results of all row data is successful decoding, determine the first K rows and first k columns of data in the decoding results of all row data as original data; if the attribute of the decoding results of some row data is failed decoding, obtain a third data set, the third data set including the decoded data corresponding to the row data of successful decoding and the row data of failed decoding; and, use the third data set as the target data, repeatedly obtain the first data corresponding to each column from the target data, and perform column decoding and subsequent operations on the first data until k*K original data are determined.

[0030] In a possible implementation, if the first data corresponding to the column includes e errors and b erasures and 2e+b≤NK, the column is successfully decoded.

[0031] In a possible implementation, if the row data includes e errors and b erasures and 2e+b≤nk, the row data is successfully decoded.

[0032] In one possible implementation, the processing unit is specifically used to obtain a deletion position polynomial based on the deletion position information of the codeword to be decoded, where the codeword is the codeword corresponding to the column decoding or the row decoding; perform an inverse fast Fourier transform on the codeword to obtain a syndrome polynomial; obtain an error correction syndrome polynomial based on the syndrome polynomial and the deletion position polynomial; obtain an error position polynomial and a first polynomial based on a key equation and the error correction syndrome polynomial; determine a target value based on the first polynomial, the deletion position polynomial, the error position polynomial, and a target position, where the target position is an error position or a deletion position, and the target value is an error value or a deletion value; and complete decoding based on the target position and the target value.

[0033] In one possible implementation, the processing unit is specifically used to multiply the deletion position polynomial and the error position polynomial to obtain a joint polynomial; divide the first polynomial by the derivative of the joint polynomial to obtain a target polynomial; and determine a target value based on the target polynomial and the target position.

[0034] In a possible implementation, if the target position is the error position, the acquisition unit is specifically configured to perform a fast Fourier transform on the error position polynomial to obtain the error position.

[0035] In a fifth aspect of the present application, a network device is provided, comprising: a processor and a memory;

[0036] The memory is used to store instructions or computer programs;

[0037] The processor is used to execute the instructions or computer program in the memory so that the network device executes the method in the first aspect or any possible design of the first aspect, or executes the method in the second aspect or any possible design of the second aspect.

[0038] In the sixth aspect of the present application, a computer-readable storage medium is provided, comprising instructions, which, when executed on a computer, causes the computer to execute the method of the first aspect or any possible design of the first aspect, or to execute the method of the second aspect or any possible design of the second aspect.

[0039] In the seventh aspect of the present application, a computer program product is provided, which includes a program. When the program runs on a processor, it enables a computer or a network device to execute the method in the first aspect or any possible design of the first aspect, or to execute the method in the second aspect or any possible design of the second aspect.

[0040] In the eighth aspect of the present application, a chip is also provided, which includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface to execute the method in the first aspect or any possible design of the first aspect, or executes the method in the second aspect or any possible design of the second aspect.

[0041] Optionally, as an implementation method, the chip may also include a memory, in which instructions are stored, and the processor is used to execute the instructions stored on the memory. When the instructions are executed, the processor is used to execute the method in the first aspect or any possible design of the first aspect, or execute the second aspect or any possible design of the second aspect.

[0042] Through the technical solution provided by this application, a network device obtains data to be processed, comprising K rows and k columns of raw data, and performs two joint encodings on the data to be processed to obtain target data. Specifically, the network device can first perform row encoding on the data to be processed, and then perform column encoding on the data after the row encoding; alternatively, the network device can first perform column encoding on the data to be processed, and then perform row encoding on the data after the column encoding. In other words, by performing joint encoding on the data to be processed, this application increases the number of error corrections in the encoded data, thereby improving the error correction capability and reliability of the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0044] FIG1 is a schematic diagram of RS encoding provided in an embodiment of the present application;

[0045] FIG2 is a schematic diagram of an optical disc encoding according to an embodiment of the present application;

[0046] FIG3 is a flow chart of a data processing method provided in an embodiment of the present application;

[0047] FIG4a is a schematic diagram of a data array corresponding to data to be processed provided in an embodiment of the present application;

[0048] FIG4 b is a schematic diagram of column encoding provided by an embodiment of the present application;

[0049] FIG4c is a schematic diagram of column coding provided in an embodiment of the present application;

[0050] FIG5 is a flow chart of another data processing method provided in an embodiment of the present application;

[0051] FIG6a is a schematic diagram of a decoding framework provided in an embodiment of the present application;

[0052] FIG6 b is a schematic diagram of a decoding scenario provided in an embodiment of the present application;

[0053] FIG7 is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application;

[0054] FIG8 is a schematic diagram of the structure of another data device provided in an embodiment of the present application;

[0055] FIG9 is a schematic diagram of a network device structure provided in an embodiment of the present application;

[0056] FIG10 is a schematic diagram of another network device structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to enable people in this technical field to better understand the solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in combination with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0058] In some application scenarios, data stored on storage media may contain errors due to various noise and interference factors. Error Correction Code (ECC) is a technology that ensures data reliability and corrects erroneous data in storage media, while Erasure Code (ERC) provides a technology that allows the entire stored data on the storage media to be erased. RS coding is a typical coding technique for both ECC and EC and is widely used in various storage media and systems, such as magnetic tapes and optical disks. RS coding is a linear error correction code with strong error correction capabilities, capable of correcting both random and burst errors. The symbols in RS(n,k) represent the following: n represents the total number of code elements in a code block; k represents the number of information code elements in a code block; and nk represents the number of check code elements in a code block.

[0059] To facilitate understanding of RS encoding, the following will take encoding of data in an optical disc as an example for explanation.

[0060] For example, consider a scenario where there are 64KB (65536B) of user data and 576B of user control data. First, the 64KB of user data is divided into 32 data frames, each containing 2KB (2048B). A CRC check is performed on each data frame, adding 4B of check data, resulting in 32 check data frames, each containing 2052B. Next, the 2052B * 32 (65664B) of user data after check is divided into 304 data blocks, each containing 216B. RS (248, 216) encoding is performed on each data block, resulting in 304 RS codewords with a code length of 248, 216 original symbols, and 32 redundant symbols. The 576B user control data is increased to 720B by adding check symbols. The 720B user control data is then divided into 24 data blocks, each with 30B. Each data block is encoded using the RS (62, 30) algorithm to obtain 24 RS codewords with a code length of 62, 30 original symbols, and 32 redundant symbols.

[0061] As shown in Figure 1, 304 RS (248, 216) codewords, 24 RS (62, 30) codewords, and 496B of synchronization data are represented in a 496 x 156 array. The leftmost column in Figure 1 represents the 496B of synchronization data. The white portion represents user data, the gray portion represents user control data, and the black portion represents redundant data (check symbols). In the data array shown in Figure 1, there are 152 columns of user data and 3 columns of user control data. Each column of 496B of user data symbols is composed of two RS (248, 216) codewords interleaved with each other, while each column of 496B of user control data symbols is composed of eight RS (62, 30) codewords interleaved with each other with each other. Through interleaving, each RS code has stronger resistance to burst errors (i.e., multiple consecutive symbol errors). Compared with the user data RS (248, 216) codeword, since the user control data is composed of 8 RS (62, 30) codewords interleaved, it has stronger random error correction capability and higher data reliability.

[0062] The RS(248,216) codeword for user data can correct e random errors and b burst errors, satisfying 2e+b≤32; while the RS(62,30) codeword for user control data can correct e random errors, satisfying 2e≤32. In other words, both the RS(248,216) codeword for user data and the RS(62,30) codeword for user control data can only correct a maximum of 16 random errors. If the number of random errors exceeds 16, correction is impossible, resulting in data corruption and loss (including user data and user control data), and low data reliability.

[0063] To further improve data reliability, erasure coding can be performed on multiple optical discs. If decoding fails on some optical discs, data from other discs that successfully decoded can be read to repair the data on the discs that failed decoding. Specifically, RS(n,k) encoding is performed on k data discs to generate nk redundant discs, which can accommodate erasure failures on any nk discs. See Figure 2, which shows an example where (n,k) = (4,2). Assume that the data stored on k = 2 data discs is represented by symbols A and B, respectively. RS(n = 4, k = 2) encoding is used to generate nk = 2 redundant discs, with the data stored on the two redundant discs represented by A+B and A+2B, respectively. When the number of random errors on two data discs is greater than 16, meaning that data A and data B are lost due to decoding failure on both data discs, data A and data B can be recovered by reading data A+B and data A+2B stored on the redundant discs and performing linear operations.

[0064] Because error correction and erasure coding are applied at the physical layer and application layer, respectively, for intra-storage medium error correction and inter-storage medium erasure correction, respectively, without combined erasure and error correction encoding and decoding, the encoded data has limited fault tolerance, resulting in poor data reliability. In other words, the redundancy of erasure coding is only used for erasure correction of the optical disc, failing to improve the intra-disc bit error rate (fault tolerance). When the number of random errors on a given disc exceeds 16 and the number of discs with decoding failures exceeds nk, the erasure code RS(n,k) cannot repair the data stored on the failed disc, resulting in data loss.

[0065] Based on this, the present application proposes a data processing method, which performs two-layer encoding on the data to be processed after obtaining the data to be processed to obtain the target data. Specifically, the row data of the data to be processed can be encoded first, and then the row-encoded data can be column-encoded, or the column data of the data to be processed can be encoded first, and then the column-encoded data can be row-encoded. The data to be processed includes K rows and k columns of original data, and the target data includes N rows and n columns of encoded data, where N is greater than K and n is greater than k. That is, after performing two-layer encoding on the data to be processed, the target data includes redundant information corresponding to the two layers of encoding, which increases the error correction number of the target data, thereby improving the error correction capability and reliability of the data.

[0066] To facilitate understanding of the technical solution provided by this application, it will be described below with reference to the accompanying drawings.

[0067] Referring to FIG3 , which is a flow chart of a data processing method provided in an embodiment of the present application, as shown in FIG3 , the method includes:

[0068] S301: A network device obtains data to be processed, where the data to be processed includes K rows and k columns of original data.

[0069] In this embodiment, the network device obtains data to be processed including K*k original data, and the data to be processed can represent the K*k original data as a data array of K rows and k columns. For example, the data array corresponding to the data to be processed shown in Figure 4a includes K*k data blocks. The data to be processed corresponds to k storage media, and the storage media correspond one-to-one to the columns in the data to be processed. That is, one column of data in the data to be processed is stored in one storage medium. The storage medium can be an optical disc, a magnetic disk, a magnetic tape, a solid-state memory, etc. Furthermore, the present application is not only applicable to optical disc storage systems, but also to storage systems composed of other storage media, such as magnetic disks, magnetic tapes, solid-state storage, and storage systems composed of a mixture of multiple storage media.

[0070] S302: The network device performs linear group coding on the data to be processed to obtain target data, where the target data includes N rows and n columns of coded data.

[0071] After obtaining the data to be processed, the network device can perform two-layer encoding on the data to obtain target data. The target data includes N*n encoded data, which can be represented as an array of N rows and n columns of encoded data. The network device performs two-layer linear block encoding on the data to be processed, including sequentially performing row encoding and column encoding on the data to be processed, or sequentially performing column encoding and row encoding on the data to be processed. If N is greater than K and n is greater than k, the target data includes redundant information corresponding to the two layers of encoding by performing two-layer encoding on the data to be processed.

[0072] For example, let's take the example of performing column encoding first and then row encoding. When column encoding is first performed on each column in a data array of K rows and k columns, k*(NK) redundant information is generated, and a data array of N rows and k columns is obtained, as shown in Figure 4b. Then, when row encoding is performed on each row in a data array of N rows and k columns, N*(nk) redundant information is generated, and a data array of N rows and n columns is obtained, as shown in Figure 4c, which is the target data. Among them, the N*n encoded data in the target data are stored in n storage media, and each storage medium corresponds to the N encoded data of the column. Among them, the first k storage media can be called information media, and the last nk storage media are called redundant storage media.

[0073] From the above, it can be seen that each line in the target data is a codeword, and the codeword includes n data; each column in the target data is a codeword, and the codeword includes N data.

[0074] The network device performs encoding processing on the data to be processed, and the network device may perform linear group coding processing on the data to be processed. The column coding and the row coding may be the same linear group coding, or two different linear group codings. For example, the column coding is error correction coding, and the row coding is erasure coding, which is not limited in this embodiment. The linear group coding refers to converting k code elements (data bits) into a code word of length n code elements through an encoder, and the code word includes nk check bits. Linear group codes have two characteristics, one is linearity and the other is grouping. Linearity means that the check bit and the data bit are in a linear relationship and can be directly obtained by a linear equation. Grouping means that the check bit is uniquely determined by the data bit of the current code group. The linear group coding may include Maximum Distance Separable (MDS) coding, Low Density Parity Check Code (LDPC) coding, RS coding, etc.

[0075] It can be seen that the present application increases the error correction number of the encoded data by jointly encoding the data to be processed, thereby improving the error correction capability and reliability of the data.

[0076] For ease of understanding, this embodiment will be explained using RS encoding as an example. The data to be processed is a data array with K = 216 rows and k = 8 columns, and two layers of RS encoding are performed on this data array as an example. According to the column coding, RS(248,216) encoding is performed on each of the k = 8 columns to generate 256 (k*(NK) = 8*32) redundant data, resulting in a data array with 248 rows and 8 columns. Then, RS(10,8) encoding is performed on each row of the 248-row, 8-column data array to generate 496 (N*(nk) = 248*2) redundant data, resulting in a data array with 248 rows and 10 columns, which is the jointly encoded codeword. That is, the storage system has n = 10 optical discs, including k = 8 information discs and nk = 2 redundant discs, and each disc stores 248 data of the RS(248,216) codeword.

[0077] It should be noted that, when performing joint coding on the data to be processed, a fast coding algorithm, such as a Fast Fourier Transform (FFT) algorithm, may be used to improve the efficiency of the joint coding.

[0078] The above method embodiment describes a specific implementation of two-layer encoding for the data to be processed. When a user requests raw data from k information storage media, the network device decodes the target data. The decoding process involved in this application is described below with reference to the accompanying figures. The decoding process includes column decoding and row decoding. Column decoding refers to decoding N encoded data stored in a storage medium, which can be referred to as intra-medium decoding; row decoding refers to decoding a row of target data, which can be referred to as inter-medium decoding.

[0079] Referring to FIG5 , which is a flow chart of a data processing method provided in an embodiment of the present application, as shown in FIG5 , the method includes:

[0080] S501: The network device obtains target data, which includes N rows and n columns of encoded data.

[0081] The process of the network device acquiring the target data can be seen in the method embodiment described in FIG3 , and will not be described here. The target data includes N rows and n columns of encoded data, and each column of encoded data is stored in the same storage medium, so there are n storage media in total. The storage medium can be an optical disk, a magnetic disk, or the like.

[0082] S502: The network device obtains first data corresponding to each column from the target data, and performs column decoding on the first data to obtain a first data set, where the first data set includes N rows and n columns of data.

[0083] In this embodiment, the network device performs column decoding on the first data corresponding to each column and determines a first data set based on the attributes of the column decoding result. The attributes of the decoding result indicate whether the column decoding was successful or unsuccessful. Specifically, if a column is successfully decoded, the data in that column is updated to the decoded data. If a column is unsuccessful, the data in that column remains the data before decoding, i.e., the first data. In other words, the first data set includes the decoded data corresponding to the columns for which decoding was successful and the first data corresponding to the columns for which decoding was unsuccessful. Successful column decoding means that the first data corresponding to the column includes e errors and b erasures, and 2e+b≤NK.

[0084] S503: The network device performs row decoding on the first data set according to the number of successfully decoded columns to obtain an original data set, where the original data set includes k*K original data.

[0085] When performing column decoding on the target data, the number of successfully decoded columns is counted, and row decoding is performed on the first data set based on the number of successfully decoded columns to obtain the original data set. That is, the row to be row-decoded in the first data set is determined based on the number of successfully decoded columns, and then the row is decoded to obtain the original data set.

[0086] The method of performing row decoding on the first data set according to the number of successfully decoded columns to obtain the original data set includes:

[0087] One is that if the number of successfully decoded columns is not less than k, the network device performs row decoding on the second data corresponding to the successfully decoded columns in the first data set to obtain the original data set.

[0088] One method is to perform row decoding on all rows of data in the first data set if the number of columns successfully decoded is less than k, obtaining a decoding result and attributes of each row of data. The network device then determines the original data set based on the decoding result and the attributes of the decoding result. The attributes of the decoding result indicate whether the row decoding was successful or unsuccessful, and successful row decoding means that the row data includes e errors and b erasures and satisfies 2e+b≤nk.

[0089] Specifically, if the attribute of the decoding results of all row data is successful decoding, the network device determines the first K rows and first k columns of the decoding results of all row data as original data; if the attribute of the decoding results of some row data is failed decoding, the network device obtains a third data set, which includes the decoded data corresponding to the row data that was successfully decoded and the row data that failed to be decoded; and the network device uses the third data set as target data, repeatedly obtains the first data corresponding to each column from the target data, and performs column decoding and subsequent operations on the first data until k*K original data are determined.

[0090] That is, by employing a two-layer joint iterative decoding approach to decode target data, this application improves error correction capabilities, obtains data with higher reliability, and reduces the bit error rate. Furthermore, compared to traditional on-storage medium error correction decoding and storage medium erasure decoding, the two-layer joint iterative decoding reduces the bit error rate when the same redundant information is present, and reduces the redundant information when the same bit error rate is present.

[0091] When the target data is stored in n storage media, the specific decoding process may include:

[0092] (1) Read N data from any one of the n storage media corresponding to the target data and perform column decoding on the data. If the column decoding is successful, obtain the N data after the column decoding; if the column decoding fails, obtain the N data before the column decoding. After performing column decoding on all n storage media, obtain a first data set, which includes the decoded data corresponding to the storage medium that successfully decoded and the pre-decoded data corresponding to the storage medium that failed decoding;

[0093] Among them, successful column decoding means that there are e random errors and b erasure errors in the N data corresponding to a certain column in the target data, and e+2b≤NK,

[0094] (2) If the number of storage media that are successfully decoded is not less than k, then row decoding is performed on the second data corresponding to the storage media that are successfully decoded in the first data set to obtain k*K original data. The second data refers to the data in the first data set.

[0095] (3) If the number of storage media that have been successfully decoded is less than k, perform row decoding on the row data in the first data set to obtain a decoding result of the row data and an attribute of the decoding result, and determine the original data based on the decoding result and the decoding attribute of the row data. The decoding attribute is used to reflect whether the row decoding is successful or unsuccessful.

[0096] Specifically, if the decoding attribute of all row data in the first data set is decoding success, the network device determines the first K rows and first k columns of the row data decoding result as the original data. If the decoding attribute of some row data in the first data set is decoding failure, the network device obtains a third data set. The third data set includes the decoding results corresponding to the rows that were successfully decoded and the pre-decoding data corresponding to the rows that failed to decode. The network device uses the third data set as the target data and repeats step (1) until k*K original data are decoded.

[0097] That is, when the number of errors in the storage medium is large and causes the storage medium decoding to fail, not only the decoded data in the storage medium where decoding is successful can be read, but also the data before decoding in the storage medium where decoding fails can be read, thereby providing more information for subsequent decoding between storage media and improving the reliability of the decoded data.

[0098] To facilitate understanding of the implementation of the present application, an example is given in which the storage medium is an optical disc, and both the intra-disk data and the inter-disk data are MDS-encoded. After two layers of MDS encoding are performed on the data to be processed, an N*n data array can be obtained. In this data array, each row is a codeword of MDS(n, k), and each column is a codeword of MDS(N, K). N data in the same column are stored on one optical disc. When a user requests to read the original data stored on k information discs, a two-layer joint decoding algorithm is started. The two-layer joint decoding framework includes two steps: (1) intra-disk erasure and error correction decoding; (2) inter-disk erasure and error correction decoding, as shown in Figure 6a.

[0099] (1) The on-disk erasure and error correction decoding algorithm is as follows:

[0100] (1) For i = 1, 2, ..., n, disk i reads N symbols of the MDS(N,K) codeword and performs on-disk erasure and error correction decoding. Assuming that the MDS(N,K) codeword has e errors and b erasures, the necessary and sufficient condition for successful on-disk erasure and error correction decoding is e + 2b ≤ 32. If disk i successfully decodes, the drive reads the N symbols after disk i decodes. If disk i fails to decode, the drive reads the original, undecoded N symbols stored on disk i, i.e., the N symbols before decoding.

[0101] (2) If there are k disks that are successfully decoded, the drive reads the k code words of the k correctly decoded disks, a total of k*N data (the data read is the k*N data after decoding), and decodes the k*K original data through the erasure decoding algorithm of the inter-disk MDS(n,k) encoding, and the decoding is completed.

[0102] (3) If the number of successfully decoded disks is less than k, then update the N data of each correctly decoded disk (i.e., update the data in the correctly decoded disk to the N decoded data), read the original N undecoded data in each unsuccessful decoding disk (i.e., directly read the N data in the decoding error disk), obtain a data array with N rows and n columns, and perform inter-disk erasure and error correction decoding operations.

[0103] (2) The inter-disk erasure and error correction decoding algorithm is as follows:

[0104] After obtaining the data array of N rows and n columns through step (3), the data array of N rows and n columns is row-decoded (each row is an MDS(n,k) codeword): if each row is decoded successfully, the decoding is completed and the k*K original data that are decoded successfully are returned; if some rows are decoded successfully, the n symbols of the row where the decoding is successful are updated (that is, the decoded data are used to replace the data before decoding corresponding to the row), and steps (1), (2) and (3) of the on-disk erasure and error correction decoding algorithm are executed until the k*K original data are correctly decoded.

[0105] For example, after jointly encoding the 216 rows and 8 columns of data to be processed, a data array with 248 rows and 10 columns is obtained. Each optical disc stores 248 data in the corresponding columns, which can accommodate any e random errors and b erasures. If 2e + b ≤ 32, then the error correction capability of the RS encoding can correct e random errors and b erasures. If 2e + b ≤ 32, then the error correction capability of the RS encoding is exceeded, and the intra-disk decoding error occurs. If k = 8 discs are successfully decoded, the k = 8 codewords (a total of 1984 symbols = 248 * 8) of the correctly decoded disc are read and decoded using the inter-disk RS (10, 8) encoding erasure decoding algorithm to obtain 1728 (k * K = 216 * 8) original data, thus completing the decoding. If the number of successfully decoded disks is less than k = 8, the 248 decoded data points on each successfully decoded disk are updated, and the 248 undecoded data points on each undecoded disk are read, resulting in a data array with 248 rows and 10 columns. Row decoding is then performed on this data array (each row is an RS(10,8) codeword): If there are e random errors and b erasure errors in the row decoding, and 2e+b≤2, the row decoding is successful. If every row is successfully decoded, the decoding ends and the 1728 successfully decoded original data points are returned. If some rows are successfully decoded, the 10 data points in the successfully decoded rows are updated (i.e., the decoded data replaces the pre-decoding data), and the on-disk erasure and error correction decoding algorithm is executed until all 1728 original data points are correctly decoded.

[0106] For example, Figure 6b shows a scenario where a network device reads data from 10 optical disks and performs on-disk decoding. Three disks have decoding errors, while seven disks are correctly decoded. Correct symbols are represented by green boxes, while erroneous symbols are represented by red boxes. In row decoding (each row contains an RS(10,8) codeword), if the number of erroneous symbols does not exceed one, the row is correctly decoded.

[0107] In this embodiment, in order to improve the decoding rate, the present application provides a fast decoding algorithm, which can be applied to decoding within a storage medium or between storage media. As can be seen from the above, the RS code transmits a certain amount of check information while transmitting data. When interference occurs in the transmission (such as errors and / or erasures, etc.), the original information, i.e., the original data, can be restored through this check information. The decoding method of the embodiment of the present application is applied to a decoder, and the execution subject can be a decoder or a chip in the decoder. The following will be explained using the decoder as an example.

[0108] It should be noted that, in this embodiment, an error can be understood as data being interfered with by noise, such as bit 0 becoming bit 1 due to noise interference. The characteristic of an error is that both the location of the error and the circumstances of the error are unknown. Deletion can be understood as data loss, such as the loss of a portion of a QR code or a scratch on an optical disc. The characteristic of deletion is that the location of the data loss is known, but the lost data is unknown. Furthermore, for the decoder, the location of the data loss can be determined, that is, the location of the data deletion can be determined. For example, if a portion of the QR code is lost, the location of the data deletion can be determined based on the lost portion. For an optical disc, the location of the data deletion can be determined by detecting channel loss.

[0109] Specifically, the decoding process includes:

[0110] (1) obtaining a deletion position polynomial based on the deletion position information of the codeword to be decoded;

[0111] In this embodiment, after receiving the codeword to be decoded, the decoder can sense the deletion position corresponding to the codeword, and then determine the deletion position polynomial according to the deletion position. The deletion position polynomial is a polynomial that includes all deleted data positions as its roots.

[0112] (2) performing an inverse fast Fourier transform on the codeword to obtain a syndrome polynomial;

[0113] The syndrome polynomial is related to deleted data and erroneous data.

[0114] In this embodiment, by performing an inverse fast Fourier transform on the codeword to be decoded, the syndrome polynomial can be quickly determined, thereby saving computing resources, thereby increasing the decoding speed and reducing the decoding power consumption of the decoder.

[0115] It should be noted that the above steps (1) and (2) can be performed simultaneously, or (2) can be performed first and then (1). This embodiment does not limit the execution order of the above two steps.

[0116] (3) obtaining an error correction syndrome polynomial based on the syndrome polynomial and the deletion position polynomial;

[0117] Among them, the error correction syndrome polynomial is related to the erroneous data. Based on the first syndrome related to the deleted data and the erroneous data and the deletion position polynomial related to the deleted data, the influence of the deleted data is removed from the first syndrome to obtain the error correction syndrome polynomial related to the erroneous data.

[0118] (4) obtaining an error position polynomial and a first polynomial based on the key equation and the error correction syndrome polynomial;

[0119] The error location polynomial is a polynomial whose roots include all error data locations, and the first polynomial is the polynomial that satisfies the key equation. The key equation relates the error correction syndrome and the error location polynomial. For an introduction to the key equation, refer to the corresponding description below.

[0120] (5) Determine a target value based on the first polynomial, the deletion position polynomial, the error position polynomial, and the target position.

[0121] The target position may be an error position or a deletion position, and the target value may be an error value or a deletion value. Specifically, when the target position is an error position, the target value is an error value; when the target position is a deletion position, the target value is a deletion value.

[0122] Specifically, the target value is determined based on the first polynomial, the deletion position polynomial, the error position polynomial and the target position, including: multiplying the deletion position polynomial and the error position polynomial to obtain a joint polynomial; dividing the first polynomial by the derivative of the joint polynomial to obtain a target polynomial; and determining the target value based on the target polynomial and the target position.

[0123] The deletion location is known, but the error location is unknown. Therefore, before calculating the error value, the error location is first calculated. Specifically, a fast Fourier transform is performed on the error location polynomial to obtain the error location. In other words, by estimating the position of the error location polynomial in the codeword, its root, i.e., the error location, can be obtained. In this embodiment, performing a fast Fourier transform based on the error location polynomial can quickly determine the data error location, further improving decoding speed.

[0124] After determining the target value, the network device can complete decoding based on the target location and the target value. Specifically, when the target value is an error value, the true value of the error data location is determined based on the codeword and the error value. That is, the true value of the error data location can be determined based on the error value corresponding to the error data location and the codeword to be decoded. The true value can be used to obtain the decoded codeword and, in turn, the original data. For example, the true value corresponding to the error data location can be obtained by adding the received value and the error value, or by subtracting the received value from the error value.

[0125] In some implementations, the network device may also output a true value and / or a deleted value. That is, the network device may output a true value corresponding to an erroneous data location and / or a deleted value corresponding to a deleted data location, and output a decoding result for performing other processing based on the decoding result.

[0126] In order to facilitate the understanding of the decoding method provided in the embodiment of the present application, the specific implementation of the decoding will be described below. It should be noted that the polynomials involved in this embodiment are polynomial rings, mainly referring to polynomial rings of finite fields. Finite fields are also called Galois Fields (GF). Galois Fields are finite fields with q=pm as elements, p is a prime number, and m is a positive integer. Its characteristic is that each element in the field can be represented by a basic element and its expression, and each element in the field is still an element in the field after the field operation. In computers, data exists in binary form, so p usually takes the value of 2. GF(2m) represents a finite field containing 2m elements. GF(2m) is an m-dimensional vector space, in which each element is a binary vector, and the basis of the finite field is a set of size m. For the finite field GF(2 m ), we can construct the polynomial ring GF(2 m )[x], its elements can be written as: a0+a1x+…+a n x n +… (1)

[0127] Among them, a j ∈GF(2 m ), GF(2 m )[x] is an infinite-dimensional vector space. In addition, the quotient ring can be further constructed That is, each element of the polynomial ring is divided by The elements of the quotient ring have a degree less than 2 m The polynomial is:

[0128] Among them, a j ∈GF(2 m ). A standard basis for

[0129] Obviously, It is based on GF(2 m ) of 2 m dimensional vector space.

[0130] In the description of the embodiments of this application, it is assumed that all polynomials

[0131] The (n, k) RS code is defined as: {(f(w0), f(w1), ..., f(w n-1 ))|deg(f(x))<2 m -ε}, f(w l )=0,l=n,n+1,…,2 m -1.

[0132] Among them, deg is the degree, which means the degree of the polynomial. Since deg(f(x))<2 m -ε, the number of roots of f(x) is at most 2 m -ε-1. By definition, the element is the root of f(x). Therefore, w0, w1, ..., w n-1 There are at most k-1 roots in the equation, that is, (f(w0), f(w1), ..., f(w n-1 There are at least n-k+1 non-zero positions in ).

[0133] The original data of k symbols are recorded as y0, y1, ..., y k-1 The encoding is to let f(w ε )=y0,f(w ε+1 )=y1,……,f(w ε+k-1 )=y k-1 (3)

[0134] as well as

[0135] Then calculate the check bits f(w0), f(w1), ..., f(w ε-1 ).

[0136] Assume that the codeword can be represented as:

[0137] According to formula (4), f(w i )=0,i≥n. Due to the linear property, these 0s do not actually need to participate in the calculation. Of course, these 0s will not be sent and will not be interfered with by noise.

[0138] The vector perturbed by errors and deletions can be written as:

[0139] Where e and w are error and deletion patterns respectively. For 0≤i<n, if e i ≠0, then an error has occurred at the i-th position. The position of the deletion is known in the decoder. If a deletion has occurred at the i-th position, let r(w i )=0, that is, w i =f(w i ). Otherwise, wi = 0. Without loss of generality, it is assumed that erroneous data and deleted data do not occur in the same location.

[0140] According to the finite field Fourier transform, there exists a polynomial r(x) satisfying deg(r(x))<2 m -1 and

[0141] Therefore, r(w i )=f(w i )+e i +w i .

[0142] Remember E e is the set of error data locations, that is, E e ={w i |e i ≠0}. The deleted data location set is recorded as E w , the set is known. When w i ∈E w , there is r(w i )=0.

[0143] For all w i ∈E e , the decoder needs to calculate E e , that is, determine the location of the error data and calculate the corresponding error value e i For all w i ∈E w , the decoder needs to calculate the deletion value w i Without loss of generality, assume that |E e |=g,|E w |=h and 2g+h≤nk.

[0144] The error location polynomial and deletion location polynomial are:

[0145] The error location polynomial λ(x) is a polynomial whose roots include all error data locations, and the erasure location polynomial γ(x) is a polynomial whose roots include all erasure data locations.

[0146] For all w i ∈GF(2 m ) has the following equation: f(w i )λ(w i )γ(w i )=r(w i )λ(w i )γ(w i ),

[0147] This means that there exists a first polynomial q(x)∈GF(2 m )[x], such that f(x)λ(x)γ(x)=r(x)λ(x)γ(x)+q(x)s m (x) (8)

[0148] Among them, s m (x) is a subspace polynomial. In this case, deg(f(x)λ(x)γ(x))<2 m -ε+g+h,deg(r(x)λ(x)γ(x))<2 m +g+h and deg(s m (x))=2 m . Therefore, deg(q(x))<g+h.

[0149] Let μ be a value that satisfies 2 μ The smallest integer ≥ε. Based on polynomial division, we have

[0150] Here, u1(x) is a syndrome polynomial, which is related to erroneous data and deleted data.

[0151] Divide both sides of formula (8) And only keep the quotient, then z1(x)=u1(x)λ(x)γ(x)+q(x)(s μ (x)+s μ (v μ ))+θ(x), where θ(x) corresponds to λ(x)γ(x)η1(x)+q(x)η r (x). Obviously, deg(θ(x))<g+h. Let z s (x)=z1(x)-θ(x)-q(x)s μ (v μ ). It can be deduced that: z2(x)=u1(x)λ(x)γ(x)+q(x)s μ (x) (9)

[0152] z2(x) satisfies deg(z2(x))<2 μ -ε+g+h. Based on polynomial division, we have

[0153] Divide both sides of formula (9) And retain the quotient, we can get

[0154] where θ1(x) is It is easy to verify that deg(θ1(x))<g. If we let z4(x)=z3(x)-θ1(x), we can get the key equation:

[0155] Where deg(z4(x))<deg(λ(x))=g. ​​If r is a codeword, then deg(r(x))<2 m -ε. This means deg(u1(x))<2 μ -ε and u2(x) = 0. Therefore, u2(x) is the error correction syndrome.

[0156] The following describes the derivation process of the target polynomial:

[0157] The error value is calculated based on the error data position and the target polynomial, and the deletion value is calculated based on the deletion data position and the target polynomial. Taking the derivative of both ends of equation (8), we can obtain: f′(x)λ(x)γ(x)+f(x)λ′(x)γ(x)+f(x)λ(x)γ′(x)=r′(x)λ(x)γ(x)+r(x)λ′(x)γ(x)+r(x)λ(x)γ′(x)+q′(x)s m (x) +q(x)s′ m (x) (12)

[0158] Note s′ m (x)=1. If a∈E e , substituting a into formula (13), then f(a)λ′(a)γ(a)=r(a)λ′(a)γ(a)+q(a)

[0159] Therefore, the error value is:

[0160] If a∈E w , substitute a into formula (13), then: f(a)λ(a)γ′(a)=r(a)λ(a)γ′(a)+q(a),

[0161] When a is deleted, r(a)=0, so the deletion value corresponding to the deleted data position is:

[0162] If we let the joint polynomial Λ(x) = λ(x)γ(x), then the error value polynomial used to calculate the error value and the deletion value can be summarized as:

[0163] Based on the above key equations and the acquisition process of the target polynomial, the decoding process includes:

[0164] First, given μ, it is clear that 2 μ |2 m ,| means divisibility. For length 2 m Vector Symbol r j,μ , i=0,1,……,2 m -μ, represents the subvector of r

[0165] coefficient It is calculated by the following formula (15).

[0166] The input to the decoder is And the receiving vector is:

[0167] because is the deletion position, so, are all equal to 0.

[0168] Step 1: Delete the data location set Calculate the deletion position polynomial based on the deleted data position:

[0169] Specifically, the deletion position polynomial γ(x) can be estimated first, and then the deletion position polynomial γ(x) can be obtained by IFFT. The coordinates of the base.

[0170] Step 2: Calculate the syndrome polynomial u1(x) according to the received vector, wherein the syndrome polynomial u1(x) is a vector extracted from the received vector and contains information about erroneous data and deleted data.

[0171] In the embodiment of the present application, the syndrome polynomial u1(x) is obtained according to formula (18) The coordinates of . is a fixed constant, r is the receiving vector, and μ, is known.

[0172] Step 3: Calculate the error correction syndrome polynomial u2(x) based on the syndrome polynomial u1(x) and the deletion position polynomial γ(x). The error correction syndrome polynomial u2(x) is a vector of data error information derived from the syndrome polynomial u1(x). work out Then, using u1(x),γ(x), The error correction syndrome u2(x) is calculated based on the estimated value of .

[0173] Step 4: A variety of algorithms can be used to solve the key equation (11), such as the Berlekamp-Welch algorithm, the Euclidean algorithm, and the modular approach. The modular approach is the most efficient algorithm.

[0174] Exemplarily, the Modular approach is used to solve the key equation (11) to obtain the error location polynomials λ(x) and z4(x).

[0175] Step 5: Use FFT to find the root of the error location polynomial λ(x), that is, the data error location is obtained by formula (19):

[0176] in, is λ(x) in The coordinates below.

[0177] Step 6: Calculate the joint polynomial Λ(x) = λ(x)γ(x). Since the frequency-domain value of the deleted position polynomial γ(x) was calculated in Step 1, we only need to calculate the frequency-domain value of the error position polynomial λ(x) and apply the convolution theorem. This means multiplying the frequency-domain values ​​of λ(x) and γ(x) and then performing an inverse fast Fourier transform to obtain the joint polynomial Λ(x). Using the convolution theorem to obtain the joint polynomial effectively reduces complexity and improves decoding speed.

[0178] Step 7: Calculate the first polynomial q(x) using the key equation (11). The first polynomial q(x) is determined based on the key equation (11), the error correction syndrome polynomial u2(x), the error location polynomial λ(x), and z4(x).

[0179] Step 8: Use formula (13) to calculate the deletion value and error value. Substituting the data deletion position into formula (13) can obtain the deletion value, and substituting the data error position into formula (13) can obtain the error value.

[0180] The above step numbers are only examples and do not limit the execution order of the steps.

[0181] Based on the above method embodiment, an embodiment of the present application provides a data processing device, which will be described below with reference to the accompanying drawings.

[0182] 7 , which shows a data processing device provided in an embodiment of the present application. The device 700 is applied to a network device and may include an acquisition unit 701 and a processing unit 702. The acquisition unit 701 may execute S301 in the above method embodiment, and the processing unit 702 may execute S302 in the above method embodiment.

[0183] Specifically, the acquisition unit 701 is configured to acquire data to be processed, where the data to be processed includes K rows and k columns of original data;

[0184] The processing unit 702 is configured to perform linear group coding on the data to be processed to obtain target data, where the target data has error correction capability and includes N rows and n columns of coded data. The linear group coding process for the data to be processed includes sequentially performing row coding and column coding on the data to be processed, or sequentially performing column coding and row coding on the data to be processed, where N is greater than K and n is greater than k.

[0185] In a possible implementation, the column coding and the row coding are the same linear group coding, or are two different linear group codings.

[0186] In a possible implementation, both the column coding and the row coding are RS coding.

[0187] In a possible implementation, the target data corresponds to n storage media, and the storage media correspond one-to-one to the columns in the target data.

[0188] In a possible implementation, the storage medium is an optical disc.

[0189] In a possible implementation, each row of the target data is a codeword, and the codeword includes n encoded data; each column of the target data is a codeword, and the codeword includes N encoded data.

[0190] In this embodiment, the implementation of each unit can refer to the specific implementation process of the network device in the method embodiment shown in Figure 3 above, and will not be repeated here.

[0191] Referring to FIG8 , another data processing device provided in an embodiment of the present application is shown. The device 800 is applied to a network device and includes an acquisition unit 801 and a processing unit 802. The acquisition unit 801 may execute S501 in the above method embodiment, and the processing unit 802 may execute S502 or S503 in the above method embodiment.

[0192] An acquiring unit 801 is configured to acquire target data, where the target data includes N rows and n columns of encoded data, and the target data is obtained by the above encoding method;

[0193] a processing unit 802 configured to obtain first data corresponding to each column from the target data, and perform column decoding on the first data to obtain a first data set, where the first data set includes N rows and n columns of data, and the first data set includes decoded data corresponding to columns that were successfully decoded and first data corresponding to columns that failed to be decoded;

[0194] The processing unit 802 is further configured to perform row decoding on the first data set according to the number of successfully decoded columns to obtain an original data set, where the original data includes k*K original data.

[0195] In a possible implementation, the processing unit 802 is specifically configured to perform row decoding on the second data corresponding to the successfully decoded columns in the first data set if the number of successfully decoded columns is not less than k, to obtain the original data set.

[0196] In one possible implementation, the processing unit 802 is specifically used to perform row decoding on the row data in the first data set if the number of columns successfully decoded is less than k, to obtain the decoding result of the row data and the attributes of the decoding result; and to determine the original data set based on the decoding result of the row data and the attributes of the decoding result.

[0197] In one possible implementation, the processing unit 802 is specifically configured to, if the attribute of the decoding results of all row data is successful decoding, determine the first K rows and first k columns of data in the decoding results of all row data as original data; if the attribute of the decoding results of some row data is failed decoding, obtain a third data set, the third data set including the decoded data corresponding to the row data of successful decoding and the row data of failed decoding; and, use the third data set as the target data, repeatedly obtain the first data corresponding to each column from the target data, and perform column decoding and subsequent operations on the first data until k*K original data are determined.

[0198] In a possible implementation, if the first data corresponding to the column includes e errors and b erasures and 2e+b≤NK, the column is successfully decoded.

[0199] In a possible implementation, if the row data includes e errors and b erasures and 2e+b≤nk, the row data is successfully decoded.

[0200] In one possible implementation, the processing unit 802 is specifically configured to obtain a deletion position polynomial based on deletion position information of a codeword to be decoded, where the codeword is a codeword corresponding to the column decoding or the row decoding; perform an inverse fast Fourier transform on the codeword to obtain a syndrome polynomial; obtain an error correction syndrome polynomial based on the syndrome polynomial and the deletion position polynomial; obtain an error position polynomial and a first polynomial based on a key equation and the error correction syndrome polynomial; determine a target value based on the first polynomial, the deletion position polynomial, the error position polynomial, and a target position, where the target position is an error position or a deletion position, and the target value is an error value or a deletion value; and complete decoding based on the target position and the target value.

[0201] In one possible implementation, the processing unit 802 is specifically used to multiply the deletion position polynomial and the error position polynomial to obtain a joint polynomial; divide the first polynomial by the derivative of the joint polynomial to obtain a target polynomial; and determine a target value based on the target polynomial and the target position.

[0202] In a possible implementation, if the target position is the error position, the acquisition unit is specifically configured to perform a fast Fourier transform on the error position polynomial to obtain the error position.

[0203] In this embodiment, the implementation of each unit can refer to the specific implementation process of the network device in the method embodiment shown in Figure 5 above, and will not be repeated here.

[0204] FIG9 is a schematic diagram of the structure of a network device provided in an embodiment of the present application. The network device may be, for example, the network device in the above-mentioned method embodiment, or may be a specific implementation of the device 700 in the embodiment shown in FIG7 or the device 800 in the embodiment shown in FIG8 .

[0205] The network device 900 includes a processor 910, a communication interface 920, and a memory 930. The number of processors 910 in the communication device 900 may be one or more, and FIG9 shows a single processor as an example. In the embodiment of the present application, the processor 910, the communication interface 920, and the memory 930 may be connected via a bus system or other means, and FIG9 shows a connection via a bus system 940 as an example.

[0206] The processor 910 may be a CPU, an NP, or a combination of a CPU and an NP. The processor 910 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0207] Memory 930 may include volatile memory, such as random-access memory (RAM); non-volatile memory, such as flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or a combination of these types of memory. Memory 930 may store, for example, the segment routing (SR) policy mentioned above.

[0208] Optionally, the memory 930 stores an operating system and programs, executable modules or data structures, or subsets thereof, or extended sets thereof, wherein the programs may include various operating instructions for implementing various operations. The operating system may include various system programs for implementing various basic services and processing hardware-based tasks. The processor 910 can read the programs in the memory 930 to implement the methods provided in the embodiments of the present application.

[0209] The memory 930 may be a storage device in the network device 900 , or a storage device independent of the network device 900 .

[0210] Bus system 940 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Bus system 940 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG9 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0211] Figure 10 is a structural diagram of a network device 1000 provided in an embodiment of the present application. The network device may be, for example, the network device in the above-mentioned method embodiment, or may be a specific implementation of the device 700 in the embodiment shown in Figure 7 or the device 800 in the embodiment shown in Figure 8.

[0212] The network device 1000 includes a main control board 1010 and an interface board 1030 .

[0213] Main control board 1010, also known as the main processing unit (MPU) or route processor card, controls and manages various components in network device 1000, including routing calculations, device management, device maintenance, and protocol processing. Main control board 1010 includes a central processing unit (CPU) 1011 and memory 1012.

[0214] Interface board 1030 is also known as a line processing unit (LPU), line card, or service board. It provides various service interfaces and implements data packet forwarding. Service interfaces include, but are not limited to, Ethernet interfaces and POS (Packet over SONET / SDH) interfaces. Ethernet interfaces, for example, are Flexible Ethernet Clients (FlexE Clients). Interface board 1030 includes a central processing unit (CPU) 1031, a network processor (NPU) 1032, a forwarding table memory 1034, and a physical interface card (PIC) 1033.

[0215] The central processing unit 1031 on the interface board 1030 is used to control and manage the interface board 1030 and communicate with the central processing unit 1011 on the main control board 1010 .

[0216] The network processor 1032 is used to implement packet forwarding processing. The network processor 1032 can be in the form of a forwarding chip. Specifically, the processing of uplink packets includes: processing of the packet input interface and forwarding table lookup; the processing of downlink packets includes forwarding table lookup, etc.

[0217] The physical interface card 1033 implements the physical layer interconnection function. Raw traffic enters the interface board 1030 through this card, and processed messages are sent from this physical interface card 1033. The physical interface card 1033 includes at least one physical interface, also known as a physical port. Physical interface card 1033, also known as a daughter card, can be installed on the interface board 1030. It is responsible for converting optical and electrical signals into messages, performing a validity check on the messages, and forwarding them to the network processor 1032 for processing. In some embodiments, the central processing unit 1031 of the interface board 1003 can also perform the functions of the network processor 1032, such as implementing software forwarding based on a general-purpose CPU, thus eliminating the need for the network processor 1032 in the physical interface card 1033.

[0218] Optionally, the network device 1000 includes multiple interface boards. For example, the network device 1000 further includes an interface board 1040 . The interface board 1040 includes a central processing unit 1041 , a network processor 1042 , a forwarding table entry memory 1044 , and a physical interface card 1043 .

[0219] Optionally, the network device 1000 further includes a switching fabric board 1020. The switching fabric board 1020 may also be referred to as a switch fabric unit (SFU). If the network device includes multiple interface boards 1030, the switching fabric board 1020 is used to exchange data between the interface boards. For example, the interface board 1030 and the interface board 1040 can communicate via the switching fabric board 1020.

[0220] The main control board 1010 and the interface board 1030 are coupled. For example, the main control board 1010, the interface board 1030, the interface board 1040, and the switching network board 1020 are connected to the system backplane via a system bus to achieve intercommunication. In one possible implementation, an inter-process communication (IPC) channel is established between the main control board 1010 and the interface board 1030, and communication between the main control board 1010 and the interface board 1030 is performed via the IPC channel.

[0221] Logically, network device 1000 includes a control plane and a forwarding plane. The control plane includes a main control board 1010 and a central processing unit 1031. The forwarding plane includes various components that perform forwarding, such as a forwarding table entry memory 1034, physical interface cards 1033, and a network processor 1032. The control plane performs routing functions, generates forwarding tables, processes signaling and protocol messages, and configures and maintains device status. The control plane sends the generated forwarding tables to the forwarding plane. On the forwarding plane, the network processor 1032 forwards messages received by the physical interface card 1033 based on the forwarding tables sent by the control plane. The forwarding tables sent by the control plane can be stored in the forwarding table entry memory 1034. In some embodiments, the control plane and forwarding plane can be completely separate and not located on the same device.

[0222] It should be understood that the operations on the interface board 1040 in the embodiment of the present application are consistent with the operations on the interface board 1030. For the sake of brevity, detailed description is omitted. It should be understood that the network device 1000 in this embodiment may correspond to the first network device in each of the above-mentioned method embodiments. The main control board 1010, interface board 1030, and / or interface board 1040 in the network device 1000 may implement the various steps in each of the above-mentioned method embodiments. For the sake of brevity, detailed description is omitted here.

[0223] It should be understood that there may be one or more main control boards, and when there are multiple boards, they may include a primary main control board and a backup main control board. There may be one or more interface boards. The stronger the data processing capability of the network device, the more interface boards are provided. There may also be one or more physical interface cards on the interface board. There may be no switching network board, or there may be one or more switching network boards. When there are multiple switching network boards, they can jointly achieve load sharing and redundant backup. In a centralized forwarding architecture, the network device may not need a switching network board, and the interface board is responsible for processing the business data of the entire system. In a distributed forwarding architecture, the network device can have at least one switching network board, which realizes data exchange between multiple interface boards through the switching network board, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of network devices with a distributed architecture are greater than those of devices with a centralized architecture. Alternatively, a network device can consist of a single card, without a switching fabric board (SFB), integrating the functions of the interface board and the main control board. In this case, the CPUs on the interface board and the main control board can be combined into a single CPU, performing the combined functions of the two. This type of device has lower data exchange and processing capabilities (for example, low-end network devices such as switches or routers). The specific architecture used depends on the specific network deployment scenario.

[0224] In some possible embodiments, the above-mentioned network device can be implemented as a virtualized device. For example, the virtualized device can be a virtual machine (VM) running a program for sending message functions, and the virtual machine is deployed on a hardware device (for example, a physical server). A virtual machine refers to a complete computer system with complete hardware system functions simulated by software and running in a completely isolated environment. The virtual machine can be configured as a network device. For example, a network device can be implemented based on a general physical server in combination with network function virtualization (NFV) technology. The network device is a virtual host, a virtual router or a virtual switch. Those skilled in the art can virtualize a network device with the above-mentioned functions on a general physical server in combination with NFV technology by reading this application, and will not be repeated here.

[0225] It should be understood that the network devices in the various product forms described above have any functions of the first network device or the second network device in the above method embodiments, which will not be described in detail here.

[0226] The present application also provides a chip including a processor and an interface circuit, the interface circuit being configured to receive instructions and transmit them to the processor; the processor, which may be, for example, a specific implementation of the apparatus 700 shown in FIG7 , being configured to execute the above-described method. The processor is coupled to a memory configured to store programs or instructions. When the programs or instructions are executed by the processor, the chip system implements the method of any of the above-described method embodiments.

[0227] Optionally, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0228] Optionally, the memory in the chip system may be one or more memories. The memory may be integrated with the processor or may be provided separately from the processor, which is not limited in this application. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or provided on different chips. This application does not specifically limit the type of memory or the configuration of the memory and the processor.

[0229] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0230] An embodiment of the present application further provides a computer-readable storage medium, including instructions or a computer program, which, when executed on a computer, enables the computer to execute the data processing method provided in the above embodiment.

[0231] An embodiment of the present application further provides a computer program product comprising instructions or a computer program, which, when executed on a computer, enables the computer to execute the data processing method provided in the above embodiment.

[0232] The terms "first," "second," "third," "fourth," and the like (if any) in the specification and claims of this application and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequential sequence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0233] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0234] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical business division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0235] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0236] In addition, each business unit in each embodiment of the present application can be integrated into a processing unit, each unit can exist physically separately, or two or more units can be integrated into a single unit. The above-mentioned integrated units can be implemented in the form of hardware or software business units.

[0237] If the integrated unit is implemented in the form of a software business unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0238] Those skilled in the art will appreciate that, in one or more of the examples above, the services described herein may be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these services may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of computer programs from one location to another. Storage media may be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0239] The above specific implementation methods further describe in detail the purpose, technical solutions and beneficial effects of this application. It should be understood that the above are only specific implementation methods of this application.

[0240] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A data processing method, It is characterized in that The method comprises: The network device obtains data to be processed, where the data to be processed includes K rows and k columns of original data; The network device performs linear group coding processing on the data to be processed to obtain target data, wherein the target data has error correction capability and includes N rows and n columns of coded data; wherein the process of performing linear group coding processing on the data to be processed includes sequentially performing row coding and column coding on the data to be processed, or sequentially performing column coding and row coding on the data to be processed, wherein N is greater than K, and n is greater than k.

2. The method according to claim 1, It is characterized in that The column coding and the row coding are the same linear group coding, or are two different linear group codings.

3. The method according to claim 2, It is characterized in that The column code and the row code are both RS codes.

4. The method according to any one of claims 1 to 3, It is characterized in that The target data corresponds to n storage media, and the storage media correspond one-to-one to the columns in the target data.

5. The method according to claim 4, It is characterized in that The storage medium is an optical disc.

6. The method according to any one of claims 1 to 5, It is characterized in that Each row of the target data is a codeword, and the codeword includes n coded data; each column of the target data is a codeword, and the codeword includes N coded data.

7. A data processing method, It is characterized in that The method comprises: The network device obtains target data, the target data includes N rows and n columns of coded data, and the target data is Obtained by the method according to any one of claims 1 to 6; The network device obtains first data corresponding to each column from the target data, and performs column decoding on the first data to obtain a first data set, the first data set including N rows and n columns of data, the first data set including decoded data corresponding to columns that are successfully decoded and first data corresponding to columns that fail to be decoded; The network device performs row decoding on the first data set according to the number of columns that are successfully decoded to obtain an original data set, where the original data includes k*K original data.

8. The method according to claim 7, It is characterized in that The network device performs row decoding on the first data set according to the number of columns successfully decoded to obtain an original data set, including: If the number of successfully decoded columns is not less than k, the network device performs row decoding on the second data corresponding to the successfully decoded columns in the first data set to obtain an original data set.

9. The method according to claim 7, It is characterized in that The network device performs row decoding on the first data set according to the number of columns that are successfully decoded to obtain an original data set, including: If the number of columns that are successfully decoded is less than k, the network device performs row decoding on the row data in the first data set to obtain a decoding result of the row data and an attribute of the decoding result; The network device determines an original data set according to a decoding result of the row data and an attribute of the decoding result.

10. The method according to claim 9, It is characterized in that The network device determines the original data set according to the decoding result of the row data and the attribute of the decoding result, including: If the attribute of the decoding result of all the row data is that the decoding is successful, the network device determines the first K rows and first k columns of the decoding result of all the row data as the original data; If the attribute of the decoding result of some row data is decoding failure, the network device obtains a third data set, and the third data set includes the decoded data corresponding to the row data that has been successfully decoded and the row data that has failed to be decoded; and the network device takes the third data set as the target data, repeatedly obtains the first data corresponding to each column from the target data, and performs column decoding and subsequent operations on the first data until k*K original data are determined.

11. The method according to any one of claims 7 to 10, It is characterized in that If the first data corresponding to the column includes e errors and b erasures and 2e+b≤NK, the column is a column that is successfully decoded.

12. The method according to any one of claims 9 to 11, It is characterized in that If the row data includes e errors and b erasures and 2e+b≤nk, the row data is decoded successfully.

13. The method according to any one of claims 7 to 12, It is characterized in that The process of the column decoding or the row decoding includes: The network device acquires a deletion position polynomial based on deletion position information of a codeword to be decoded, where the codeword is a codeword corresponding to the column decoding or the row decoding; The network device performs an inverse fast Fourier transform on the codeword to obtain a syndrome polynomial; The network device obtains an error correction syndrome polynomial based on the syndrome polynomial and the deletion position polynomial; The network device obtains an error location polynomial and a first polynomial based on a key equation and the error correction syndrome polynomial; The network device determines a target value based on the first polynomial, the deletion position polynomial, the error position polynomial and a target position, wherein the target position is an error position or a deletion position, and the target value is an error value or a deletion value; The network device completes decoding based on the target position and the target value.

14. The method according to claim 13, It is characterized in that The network device determines a target value based on the first polynomial, the deletion position polynomial, the error position polynomial and the target position, including: The network device multiplies the deletion position polynomial and the error position polynomial to obtain a joint polynomial; The network device divides the first polynomial by the derivative of the joint polynomial to obtain a target polynomial; The network device determines a target value based on the target polynomial and a target position.

15. The method according to claim 13 or 14, It is characterized in that If the target position is the error position, obtaining the error position includes: The network device performs fast Fourier transform on the error position polynomial to obtain the error position.

16. A data processing device, It is characterized in that The device is applied to a network device, including: An acquisition unit, used for acquiring data to be processed, wherein the data to be processed includes K rows and k columns of original data; A processing unit is used to perform linear group coding processing on the data to be processed to obtain target data, wherein the target data has error correction capability and includes N rows and n columns of coded data; wherein the process of performing linear group coding processing on the data to be processed includes sequentially performing row coding and column coding on the data to be processed, or sequentially performing column coding and row coding on the data to be processed, wherein N is greater than K, and n is greater than k.

17. The device according to claim 16, It is characterized in that The column coding and the row coding are the same linear group coding, or are two different linear group codings.

18. The device according to claim 17, It is characterized in that The column code and the row code are both RS codes.

19. The device according to any one of claims 16 to 18, It is characterized in that The target data corresponds to n storage media, and the storage media correspond one-to-one to the columns in the target data.

20. The device according to claim 19, It is characterized in that The storage medium is an optical disc.

21. The device according to any one of claims 16 to 20, It is characterized in that Each row of the target data is a codeword, and the codeword includes n coded data; each column of the target data is a codeword, and the codeword includes N coded data.

22. A data processing device, It is characterized in that The device is applied to a network device, and includes: An acquisition unit, used to acquire target data, wherein the target data includes N rows and n columns of coded data, and the target data is acquired by the method according to any one of claims 1 to 6; a processing unit, configured to obtain first data corresponding to each column from the target data, and perform column decoding on the first data to obtain a first data set, wherein the first data set includes N rows and n columns of data, and the first data set includes decoded data corresponding to columns that are successfully decoded and first data corresponding to columns that fail to be decoded; The processing unit is further configured to perform row decoding on the first data set according to the number of columns that are successfully decoded to obtain an original data set, wherein the original data includes k*K original data.

23. The device according to claim 22, It is characterized in that The processing unit is specifically configured to perform row decoding on the second data corresponding to the successfully decoded columns in the first data set to obtain the original data set if the number of successfully decoded columns is not less than k.

24. The device according to claim 22, It is characterized in that The processing unit is specifically configured to, if the number of columns successfully decoded is less than k, perform row decoding on the row data in the first data set to obtain a decoding result of the row data and an attribute of the decoding result; An original data set is determined according to a decoding result of the row data and an attribute of the decoding result.

25. The device according to claim 24, It is characterized in that The processing unit is specifically configured to, if the attribute of the decoding results of all the row data is decoding success, determine the first K rows and first k columns of the decoding results of all the row data as the original data; if the attribute of the decoding results of some row data is decoding failure, obtain a third data set, wherein the third data set includes decoded data corresponding to the row data of successful decoding and the row data of failed decoding; And, taking the third data set as the target data, repeatedly acquiring the first data corresponding to each column from the target data, and performing column decoding and subsequent operations on the first data, until k*K original data are determined.

26. The device according to any one of claims 22 to 25, It is characterized in that If the first data corresponding to the column includes e errors and b erasures and 2e+b≤NK, the column is a column that is successfully decoded.

27. The device according to any one of claims 24 to 26, It is characterized in that If the row data includes e errors and b erasures and 2e+b≤nk, the row data is decoded successfully.

28. The device according to any one of claims 22 to 27, It is characterized in that The processing unit is specifically used to obtain a deletion position polynomial based on the deletion position information of a codeword to be decoded, wherein the codeword is a codeword corresponding to the column decoding or the row decoding; perform an inverse fast Fourier transform on the codeword to obtain a syndrome polynomial; obtain an error correction syndrome polynomial based on the syndrome polynomial and the deletion position polynomial; obtain an error position polynomial and a first polynomial based on a key equation and the error correction syndrome polynomial; determine a target value based on the first polynomial, the deletion position polynomial, the error position polynomial and a target position, wherein the target position is an error position or a deletion position, and the target value is an error value or a deletion value; and complete decoding based on the target position and the target value.

29. The device according to claim 28, It is characterized in that The processing unit is specifically used to multiply the deletion position polynomial and the error position polynomial to obtain a joint polynomial; divide the first polynomial by the derivative of the joint polynomial to obtain a target polynomial; and determine a target value based on the target polynomial and the target position.

30. The method according to claim 28 or 29, It is characterized in that If the target position is the error position, the acquisition unit is specifically configured to perform a fast Fourier transform on the error position polynomial to obtain the error position.

31. A network device, It is characterized in that The routing device includes: a processor, the processor is coupled to a memory, the memory stores at least one computer program instruction, and the at least one computer program instruction is loaded and executed by the processor to enable the network device to implement the method described in any one of claims 1 to 6, or the method described in any one of claims 7 to 15.

32. A computer-readable storage medium, It is characterized in that The method comprises instructions which, when executed on a computer, cause the computer to execute the method described in any one of 1 to 6 above, or the method described in any one of claims 7 to 15.

Citation Information

Patent Citations

  • Dynamic error correction encoding and decoding method and device

    CN102904585A

  • Coding and decoding method and device, apparatus and computer readable storage medium

    CN110113058A

  • GEL coding method and device for next generation Ethernet

    CN113810062A

  • Coding method, decoding method and related device based on low-density parity check

    CN114124108A

  • Extension of product codes with applications to tape and parallel channels

    US20150169397A1