Encoding method and encoder, decoding method and decoder, communication system

By introducing vertical segment check in the SCL decoding scheme of polar codes, and combining horizontal and vertical segment check codes, the decoding uncertainty caused by multiple alternative paths is solved, thereby improving the decoding accuracy and reliability.

CN116346142BActive Publication Date: 2026-11-20CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111607935.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2026-11-20
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

In the SCL decoding scheme of polar codes, the horizontal segment check code may have multiple alternative paths to assist in the decoding result, leading to uncertainty in the decoding result and affecting the decoding accuracy.

Method used

By performing vertical segment verification based on the horizontal segment verification results, and combining the horizontal and vertical segment verification codes, a more accurate decoding result is generated.

Benefits of technology

It improves the decoding performance of polar codes, reduces the uncertainty of multiple alternative paths, and enhances decoding accuracy and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116346142B_ABST
    Figure CN116346142B_ABST
Patent Text Reader

Abstract

The present disclosure provides an encoding method and an encoder, a decoding method and a decoder, and a communication system. The encoding method comprises: processing an initial bit sequence to generate m initial w transverse subsegments of length n; performing subsegment transformation on the m initial w transverse subsegments to generate m initial b transverse subsegments of length n; combining bits at the same positions in the m initial b transverse subsegments respectively to generate initial b longitudinal subsegments; generating b longitudinal subsegment check codes by using the s initial b longitudinal subsegments, and using the b longitudinal subsegment check code bits and empty bits to form q temporary b transverse subsegments; generating m b transverse subsegments by using the h initial b transverse subsegments and the q temporary b transverse subsegments; performing subsegment transformation on the m b transverse subsegments to generate m w transverse subsegments; merging the m w transverse subsegments into a to-be-encoded bit sequence of length N; and encoding the to-be-encoded bit sequence of length N to obtain an encoded bit sequence and transmitting the encoded bit sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and in particular to an encoding method and encoder, a decoding method and decoder, and a communication system. Background Technology

[0002] In the SCL (Successive Cancellation List) decoding scheme for polar codes, the polar code is divided into multiple horizontal segments of equal length. Each segment is independently decoded using SCL with check code assistance. Then, the decoding results of each segment (denoted as a bit space) are jointly processed to obtain the decoding result of the polar code (denoted as v bit space). Summary of the Invention

[0003] The inventors noticed that in the SCL decoding result assisted by the horizontal segment check code, there may be multiple alternative paths that pass the check, and only one alternative path can be selected based on the probability of occurrence, thus affecting the decoding result.

[0004] Accordingly, this disclosure proposes a coding and decoding scheme that performs vertical segment verification based on the horizontal segment verification results, in order to improve the performance of segment SCL decoding.

[0005] According to a first aspect of the present disclosure, an encoding method is provided, comprising: processing an initial bit sequence of length N to generate m initial w horizontal segments of length n, wherein the initial bit sequence includes source information bits, frozen bits, and empty bits; performing a w->b segment transformation on the m initial w horizontal segments to generate m initial b horizontal segments of length n, wherein, among the m initial b horizontal segments, h initial b horizontal segments include mixed bits and empty bits, q initial b horizontal segments include empty bits, and m = h + q; and combining bits at the same position in the m initial b horizontal segments to generate s initial b vertical segments including mixed bits and empty bits and r initial b vertical segments including empty bits. An initial b-vertical segment, n = s + r; using the s initial b-vertical segments, generate s b-vertical segments of length m, including b-vertical segment check bits; using the b-vertical segment check bits from the s b-vertical segments and empty bits from the r vertical segments, form q temporary b-horizontal segments of length n; using the h initial b-horizontal segments and the q temporary b-horizontal segments, generate m b-horizontal segments including b-horizontal segment check bits; perform b->w segment transformation on the m b-horizontal segments to generate m w-horizontal segments; merge the m w-horizontal segments into a bit sequence to be encoded of length N; encode the bit sequence to be encoded of length N to obtain an encoded bit sequence and transmit it.

[0006] In some embodiments, N, m, and n are all integer powers of 2; the encoding is polar code encoding.

[0007] In some embodiments, in the m initial b horizontal segments: the first bit to the s bit in the first initial w horizontal segment to the h-th initial w horizontal segment consists of source information bits and frozen bits, and the (s+1)-s+r bits consist of empty bits; the (h+1)-h+q-th initial w horizontal segment consists of empty bits.

[0008] In some embodiments, the w->b segment transformation is a multi-bit operation; the mixed bits in the initial b horizontal segment are obtained by operation from the source information bits, frozen bits and empty bits in the initial w horizontal segment; the empty bits in the initial b horizontal segment are obtained by operation from at least one empty bit in the initial w horizontal segment.

[0009] In some embodiments, in n initial b vertical segments: the first bit to the h-th bit in the first to the s-th initial b vertical segments are generated by operations on the source information bit, the frozen bit, and the empty bit, respectively; the (h+1)-th bit to the (h+q)-th bit are generated by operations on the empty bit; and the bits in the (s+1)-th to the (s+r)-th initial b vertical segments are generated by operations on the empty bit.

[0010] In some embodiments, generating s b-vertical segments of length m, including b-vertical segment check codes, using the s initial b-vertical segments includes: performing check code generation operations on the mixed bits in the s initial b-vertical segments to obtain s b-vertical segments of length m, including b-vertical segment check codes.

[0011] In some embodiments, generating m b-horizontal segments including b-horizontal segment check codes using the h initial b-horizontal segments and the q temporary b-horizontal segments includes: performing check code generation operations on the mixed bits in the h initial b-horizontal segments to generate h b-horizontal segments of length n containing b-horizontal segment check codes; and performing check code generation operations on the mixed bits and b-vertical segment check code bits in the q temporary b-horizontal segments to generate q b-horizontal segments of length n containing b-horizontal segment check codes.

[0012] In some embodiments, the b->w sub-segment transformation and the w->b sub-segment transformation are inverse processes of each other.

[0013] In some embodiments, generating m b-horizontal segments including b-horizontal segment check codes using the h initial b-horizontal segments and the q temporary b-horizontal segments includes: concatenating the m b-horizontal segments including the h initial b-horizontal segments and the q temporary b-horizontal segments into k B-horizontal segments, each B-horizontal segment including one or more b-horizontal segments; and performing check code generation operations on the mixed bits and b-horizontal segment check code bits in the k B-horizontal segments respectively to generate B-horizontal segment check codes for the k B-horizontal segments.

[0014] In some embodiments, the b-length segment check code includes a cyclic redundancy check code, a parity check code, or a combination of a cyclic redundancy check code and a parity check code.

[0015] In some embodiments, if k = 1, there is only one B horizontal segment, which includes all m b horizontal segments. The B segment includes a check code, and the check code bit is located in the check code bit position of the m b horizontal segments. If 1 < k < m, at least one B horizontal segment includes multiple b horizontal segments, each B horizontal segment includes a check code, and the check code bit in each B horizontal segment is located in the check code bit position of the corresponding b horizontal segment. If k = m, each b horizontal segment is a B horizontal segment, each B horizontal segment includes a check code, and the check code bit in each B horizontal segment is located in the check code bit position of the corresponding b horizontal segment.

[0016] According to a second aspect of the present disclosure, an encoder is provided, comprising: a memory configured to store instructions; and a processor coupled to the memory, the processor being configured to execute the encoding method as described in any of the foregoing embodiments based on the instructions stored in the memory.

[0017] According to a third aspect of the present disclosure, a decoding method is provided, comprising: dividing a received bit sequence to be decoded of length N into m horizontal segments to be decoded of length n, wherein the bit sequence to be decoded of length N is a log-likelihood ratio sequence; independently decoding the m horizontal segments to be decoded to obtain decoding results of a horizontal segments a having m a with L candidate paths; combining bits at the same position in the same candidate path in the m horizontal segments a to generate s vertical segments a, wherein the s vertical segments a do not include vertical segments a composed of check codes of horizontal segments a; checking the m horizontal segments a to retain candidate paths that pass the check; checking the s vertical segments a to obtain m decoding results; and processing the m decoding results to obtain a decoded bit sequence.

[0018] In some embodiments, N, m, and n are all integer powers of 2; the decoding process is SCL decoding.

[0019] In some embodiments, processing m SCL decoding results to obtain a decoded bit sequence includes: performing segment transformation on the m decoding results to obtain m v segments; performing correction processing on the m v segments to obtain m corrected v segments; and merging the m corrected v segments to obtain a decoded bit sequence.

[0020] In some embodiments, verifying each of the m horizontal segments a includes: performing parity check on each horizontal segment a; if there are alternative paths that pass the parity check, deleting alternative paths that do not pass the parity check; wherein, the bits at the same position on the multiple alternative paths that pass the check in each horizontal segment a are divided into single-value bits and split-value bits, the single-value bits are 0 or 1, and the split-value bits have both 0 and 1.

[0021] In some embodiments, verifying s vertical segments of a includes: concatenating the values ​​of m bits in each of the s vertical segments of a into multiple candidate paths according to single-value bits or split-value bits, with the 0 and 1 of the split-value bits participating in path combination, and retaining Lv candidate paths with the highest probability of occurrence; performing parity checks on the Lv candidate paths of each of the s vertical segments of a, wherein if the bits at the same position in the multiple candidate paths that pass the parity check are all single-value bits, then the corresponding single-value bit is the verification result of the corresponding bit in the horizontal segment of a, and deleting candidate paths in the retained candidate paths of the horizontal segment of a where the value of the corresponding bit is inconsistent with the single-value bit; if only one candidate path is currently retained, then that candidate path is used as the SCL decoding result; if multiple candidate paths are currently retained, then the candidate path with the highest probability of occurrence is used as the SCL decoding result.

[0022] In some embodiments, verifying each of the m horizontal segments a includes: concatenating the m horizontal segments a into k segments A, each segment A including one or more horizontal segments a, where k is a positive integer greater than 1 and less than or equal to m; verifying each of the k segments A; deleting any candidate paths that pass the verification if they do not; and splitting the segments A so that the resulting segments a are used as the corresponding decoding results, wherein the bits at the same position on the multiple candidate paths that pass the verification in each segment a are divided into single-value bits and split-value bits, where a single value is 0 or 1 and a split value has both 0 and 1.

[0023] In some embodiments, verifying each of the k A segments includes performing CRC verification, parity verification, or a combination of CRC and parity verification on each of the k A segments.

[0024] In some embodiments, concatenating m horizontal segments 'a' into k horizontal segments 'A' includes: in the k-th group, setting parameter i = 1; combining the L candidate paths in the ith horizontal segment 'a' with the L candidate paths in the ith horizontal segment 'a' to obtain L... 2 Alternative paths; L 2 The L candidate paths with the highest probability among the candidate paths are selected as the L candidate paths for the (i+1)th horizontal sub-segment a; the parameter i is updated using i = i+1; if i < M, the step of combining the L candidate paths in the ith horizontal sub-segment a and the L candidate paths in the (i+1)th horizontal sub-segment a is repeated; if i = M, the L candidate paths with the highest probability are selected as the candidate paths for the kth sub-segment A.

[0025] In some embodiments, combining the L candidate paths in the i-th horizontal sub-segment a and the L candidate paths in the 1st horizontal sub-segment a includes: combining the L candidate paths in the i-th horizontal sub-segment a and the L candidate paths in the 1st horizontal sub-segment a according to a serial splicing method of splicing one by one, a parallel splicing method of splicing each group simultaneously after grouping, or a splicing method of a mixture of serial and parallel splicing.

[0026] In some embodiments, verifying s vertical segments of a includes: concatenating the values ​​of m bits in each of the s vertical segments of a into multiple candidate paths according to single-value bits or split-value bits, with the two split values ​​participating in path combination respectively, and retaining Lv candidate paths with the highest probability of occurrence; performing parity checks on the Lv candidate paths of each of the s vertical segments of a, wherein if the bits at the same position in the candidate paths that pass the parity check are all single-value bits, then the corresponding single value is the verification result of the corresponding bit in the horizontal segment of a, and the candidate paths in the retained candidate paths of the horizontal segment of a that have a value that does not match the single value are deleted; if only one candidate path is currently retained, then that candidate path is used as the decoding result; if multiple candidate paths are currently retained, then the candidate path with the highest probability of occurrence is used as the decoding result.

[0027] In some embodiments, the process of correcting m v segments to obtain m corrected v segments includes: performing operations on the (h+1)th to (h+q)th a horizontal segments and v segments to obtain m corrected v segments.

[0028] According to a fourth aspect of the present disclosure, a decoder is provided, comprising: a memory configured to store instructions; and a processor coupled to the memory, the processor being configured to execute the decoding method as described in any of the foregoing embodiments based on the instructions stored in the memory.

[0029] According to a fifth aspect of the present disclosure, a communication system is provided, comprising: an encoder as described in any of the preceding embodiments; and a decoder as described in any of the preceding embodiments.

[0030] According to a sixth aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method as described in any of the above embodiments.

[0031] Other features and advantages of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0032] The accompanying drawings, which form part of this specification, illustrate embodiments of this disclosure and, together with the specification, serve to explain the principles of this disclosure.

[0033] This disclosure will become clearer with reference to the accompanying drawings and the following detailed description, wherein:

[0034] Figure 1 This is a flowchart illustrating an encoding method according to an embodiment of the present disclosure;

[0035] Figure 2-6 This is a schematic diagram of the horizontal and vertical segments of some embodiments of this disclosure;

[0036] Figure 7 This is a schematic diagram of the structure of an encoder according to an embodiment of the present disclosure;

[0037] Figure 8 This is a flowchart illustrating a decoding method according to an embodiment of the present disclosure;

[0038] Figure 9-10 This is a schematic diagram of the horizontal and vertical segments of some embodiments of this disclosure;

[0039] Figure 11 This is a schematic diagram of the structure of a decoder according to an embodiment of the present disclosure;

[0040] Figure 12 This is a schematic diagram of the structure of a communication system according to an embodiment of the present disclosure.

[0041] It should be understood that the dimensions of the various parts shown in the accompanying drawings are not drawn to actual scale. Furthermore, the same or similar reference numerals denote the same or similar components. Detailed Implementation

[0042] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The descriptions of the exemplary embodiments are merely illustrative and are in no way intended to limit the present disclosure or its application or use. The present disclosure may be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided so that the present disclosure will be thorough and complete, and will fully express the scope of the disclosure to those skilled in the art. It should be noted that, unless otherwise specifically stated, the relative arrangement of components and steps, the composition of materials, and numerical values ​​set forth in these embodiments should be interpreted as merely exemplary and not as limiting.

[0043] As used in this disclosure, the words “including” or “contains” or similar terms mean that the element preceding the word covers the element listed after the word, and do not exclude the possibility that it may also cover other elements.

[0044] All terms used in this disclosure (including technical or scientific terms) have the same meaning as understood by one of ordinary skill in the art to which this disclosure pertains, unless otherwise specifically defined. It should also be understood that terms defined in a general dictionary, such as a dictionary, should be interpreted as having a meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or highly formalized meaning, unless expressly defined herein.

[0045] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.

[0046] Figure 1 This is a schematic flowchart illustrating an encoding method according to an embodiment of the present disclosure. In some embodiments, the following encoding method is performed by an encoder.

[0047] In step 101, the initial bit sequence of length N is processed to generate m initial w horizontal segments of length n. The initial bit sequence includes source information bits, frozen bits, and empty bits.

[0048] In some embodiments, N, m, and n are all integer powers of 2.

[0049] In step 102, the m initial w horizontal segments are transformed into b segments to generate m initial b horizontal segments of length n. Among the m initial b horizontal segments, h initial b horizontal segments include mixed bits and empty bits, q initial b horizontal segments include empty bits, and m = h + q.

[0050] It should be noted that the w->b sub-segment transformation is the sub-segment transformation from the w sub-segment to the b sub-segment.

[0051] In some embodiments, in the m initial b horizontal segments: the first to the sth bits in the first to the hth initial w horizontal segments consist of source information bits and frozen bits, and the (s+1)th to the (s+r)th bits consist of empty bits. The (h+1)th to the (h+q)th initial w horizontal segments consist of empty bits.

[0052] In some embodiments, the w->b sub-segment transformation is performed as a multi-bit XOR operation. The mixed bits in the initial b horizontal sub-segment are obtained by XORing the source information bits, frozen bits, and empty bits in the initial w horizontal sub-segment. The empty bits in the initial b horizontal sub-segment are obtained by XORing at least one empty bit in the initial w horizontal sub-segment.

[0053] For example, the formula for transforming the w->b sub-segment is as follows:

[0054]

[0055] Where j = 1, 2, 3, ..., n.

[0056] In step 103, the bits in the same position in the m initial b horizontal segments are combined to generate s initial b vertical segments including mixed bits and empty bits and r initial b vertical segments including empty bits, n = s + r.

[0057] In some embodiments, in n initial b vertical segments: the first bit to the h-th bit in the first to the s-th initial b vertical segments are generated by XORing the source information bit, the frozen bit, and the empty bit, respectively; the (h+1)-th bit to the (h+q)-th bit are generated by XORing the empty bit; and the bits in the (s+1)-th to the (s+r)-th initial b vertical segments are generated by XORing the empty bit.

[0058] For example, the initial vertical segment b is as follows: Figure 2 As shown.

[0059] like Figure 2 As shown, the n initial vertical segments b are divided into two categories. The first category consists of segments b that are independent of the checksum of the horizontal segments w. ij / bc ij The sub-block contains s vertical segments of type b, each containing q vertical segment check bits and h non-vertical segment check bits. The q vertical segment check bits in each b vertical segment are independent of the w vertical segment check bits and the w horizontal segment check bits. The second type: bcc obtained by transforming r w horizontal segment check bits through a w→b segment transformation. ij The sub-block contains r vertical segments of b, and each vertical segment of b contains m horizontal segments of b with the same position bits for the check code.

[0060] In step 104, s initial b vertical segments are used to generate s b vertical segments of length m, including b vertical segment check bits. Then, q temporary b horizontal segments of length n are formed by using the b vertical segment check bits in the s b vertical segments and the empty bits in the r vertical segments.

[0061] In some embodiments, generating s b-vertical segments of length m, including b-vertical segment check codes, using s initial b-vertical segments includes: performing check code generation operations on the mixed bits in the s initial b-vertical segments to obtain s b-vertical segments of length m, including b-vertical segment check codes.

[0062] In step 105, m b horizontal segments, including b horizontal segment check codes, are generated using h initial b horizontal segments and q temporary b horizontal segments.

[0063] In some embodiments, a checksum generation operation is performed on the mixed bits in h initial b-horizontal segments to generate h b-horizontal segments of length n containing b-horizontal segment checksums. A checksum generation operation is performed on the mixed bits and b-vertical segment checksum bits in q temporary b-horizontal segments to generate q b-horizontal segments of length n containing b-horizontal segment checksums.

[0064] In some embodiments, generating m b-horizontal segments including b-horizontal segment check codes using h initial b-horizontal segments and q temporary b-horizontal segments includes: concatenating the m b-horizontal segments including h initial b-horizontal segments and q temporary b-horizontal segments into k B-horizontal segments, each B-horizontal segment including one or more b-horizontal segments. Check code generation operations are then performed on the mixed bits and b-horizontal segment check code bits in the k B-horizontal segments to generate the B-horizontal segment check codes for the k B-horizontal segments.

[0065] In some embodiments, the b-length segment check code includes a cyclic redundancy check code, a parity check code, or a combination of a cyclic redundancy check code and a parity check code.

[0066] For example, if k=1, there is only one B horizontal segment, which includes all m b horizontal segments. This B segment includes a check code, and the check code bit is located in the check code bit position of the m b horizontal segments.

[0067] If 1 < k < m, then at least one B horizontal segment includes multiple b horizontal segments, each B horizontal segment includes a check code, and the check code bit in each B horizontal segment is located at the check code bit position in the corresponding b horizontal segment.

[0068] If k = m, then each b horizontal segment is a B horizontal segment, and each B horizontal segment includes a check code. The check code bits in each B horizontal segment are located at the check code bit position in the corresponding b horizontal segment.

[0069] In step 106, the m horizontal segments b are transformed into w segments to generate m horizontal segments w.

[0070] It should be noted that the b->w sub-segment transformation is the sub-segment transformation from the b sub-segment to the w sub-segment. The b->w sub-segment transformation and the w->b sub-segment transformation are inverse processes of each other.

[0071] For example, the formula for the transformation of the b->w sub-segment is as follows:

[0072]

[0073] Where j = 1, 2, 3, ..., n.

[0074] In step 107, the m horizontal segments of w are merged into a bit sequence of length N to be encoded.

[0075] In step 108, the bit sequence to be encoded, which is of length N, is encoded to obtain the encoded bit sequence and then transmitted.

[0076] In some embodiments, the above encoding is polar code encoding.

[0077] The embodiments of this disclosure will be described below through specific examples.

[0078] Example 1: k = m, corresponding to the parity check case (horizontal and vertical).

[0079] The original bit sequence to be encoded, with a length of N, is segmented according to a preset rule to obtain m initial w horizontal segments of length n. Each initial w horizontal segment from the 1st to the (m-1th)th initial w horizontal segment includes n-1 bits consisting of source information bits and frozen bits, as well as an initial parity check bit wcc. in (Empty bits), i = 1, 2, 3, ... m-1, the m-th initial w horizontal sub-segment contains the initial parity check codes (empty bits) of n initial w vertical sub-segments, where the initial parity check codes wc of n-1 w vertical sub-segments mj (Empty bit), j = 1, 2, 3, ..., n-1, and the initial parity check code wcc of the m-th initial horizontal sub-segment w. mn (empty bit), such as Figure 3 As shown.

[0080] exist Figure 3 In the middle, w ijSub-blocks: i = 1, 2, 3, ..., m-1, j = 1, 2, 3, ..., n-1. wc mj Sub-blocks: j = 1, 2, 3, ... n-1. wcc in Sub-block: i=1, 2, 3,...m.

[0081] Where N, m, and n are integer powers of 2, and N = m * n. Figure 3 wc mj and WCC in The location is just an example, not the only one. mj The location needs to meet two conditions: information bits, wc mj In the same row, j = 1, 2, 3, ..., n-1; wcc in The location also needs to meet two conditions: information bits, wcc in In the same column, i = 1, 2, 3, ..., m.

[0082] Perform w→b sub-segment transformation on each of the m initial w horizontal segments to obtain m initial b horizontal segments. Bits at the same position in the m initial b horizontal segments form n initial b vertical segments. The n initial b vertical segments are divided into two groups: the first group consists of the mixed bits obtained by XORing the source information bits, frozen bits, and initial parity check bits (empty bits) in the initial w horizontal segments, and b... i1 / bc i1 The first group consists of n-1 initial b-vertical segments within the sub-block. Each initial b-vertical segment contains m-1 mixed bits obtained by XORing the source information bits, frozen bits, and empty bits from the initial w-segment, and one empty bit obtained by transforming the initial parity check bits (empty bits) from the initial w-segment into b-segments. The second group consists of bcc obtained by transforming the n initial parity check bits (empty bits) from the m initial w-segments into b-segments. i1 One initial b-vertical segment of length m in the sub-block contains m bits that serve as check bits for the m b-horizontal segments, such as... Figure 4 As shown.

[0083] exist Figure 4 In the middle, b ij Sub-blocks: i = 1, 2, 3, ..., m-1, j = 1, 2, 3, ..., n-1. bc mj Sub-blocks: j = 1, 2, 3, ... n-1. bcc in Sub-block: i=1, 2, 3,...m.

[0084] Among them bc mj and bcc inThe position is just an example, not the only one; the specific position is determined by wc in the w-bit space. mj / wcc in The transformation formula for the w→b segment is determined by this.

[0085] During the generation of the parity check code for the vertical segment b, b is respectively... ij Parity check code generation operation is performed on m-1 mixed bits from n-1 initial b-length segments in the sub-block to obtain n-1 b-length segment parity codes bc. mj The parity check codes of the vertical segments of b, j = 1, 2, 3, ..., n-1, n-1, are respectively matched with b. ij The corresponding m-1 mixed bits in the n-1 b-vertical sub-segments of the sub-block form the n-1 b-vertical sub-segments.

[0086] During the generation of the parity check code for the horizontal segment b, bc ij A temporary b horizontal segment is formed by the parity check code of n-1 b vertical segments and an empty bit in the sub-block.

[0087] For each of the m-1 initial horizontal sub-segments b, b ij Parity check code generation operation is performed on the mixed bits in the sub-block to obtain m-1 b-level horizontal sub-segment parity check codes. The m-1 b-level horizontal sub-segment parity check codes and the corresponding b bits in the m-1 b-level horizontal sub-segments... ij The mixed bits in the sub-block are respectively composed of m-1 b-th horizontal sub-segments. Finally, for a bc mj A check code generation operation is performed on the check code bit sequence of the b vertical segment of length n-1 in the sub-block and the temporary b horizontal segment to obtain a b horizontal check code. The generated check code replaces the empty bits in the temporary b horizontal segment.

[0088] Next, through the b→w sub-segment transformation, m horizontal sub-segments of length w are obtained. After merging the sub-segments, a bit sequence of length N to be encoded is obtained. The bit sequence of length N to be encoded is then encoded by the polar code encoder to obtain the encoded bit sequence.

[0089] Example 2: 1≤k<m, Vertical parity check - Horizontal cyclic redundancy check

[0090] The original bit sequence to be encoded, with a length of N, is segmented according to a preset rule to obtain m initial w horizontal segments of length n. Each initial w horizontal segment from the 1st to the (m-1th)th initial w horizontal segment includes s bits consisting of source information bits and frozen bits, and initial check bits wcc from r initial b horizontal segments. ij(Empty bits), i = 1, 2, 3, ... m; j = s+1, s+2, s+3, ..., s+r; the m-th initial w horizontal sub-segment contains the initial parity check code wc of s initial w vertical sub-segments. ij (empty bits), i = m; j = 1, 2, 3, ... s, and the initial CRC bits wcc of r initial w horizontal segments. ij (Empty bit), i = m; j = s+1, s+2, s+3, ..., s+r, as shown Figure 5 As shown.

[0091] exist Figure 5 In the middle, w ij Sub-blocks: i = 1, 2, 3, ... m-1, j = 1, 2, 3, ... s. wc ij Sub-blocks: i = m, j = 1, 2, 3, ... s. wcc ij Sub-block: i=1, 2, 3,...m, j=s+1, s+2, s+3,...s+r.

[0092] Where N, m, and n are integer powers of 2, N = m * n, r is the length of the check code, s + r = n, and the initial check code bits are only used in the polar code bit sequence u1. N The position of the w-bit space check code information bits is predetermined and occupies the information bits. The initial check code bits are usually 0. Generally, the frozen bits are 0. Figure 5 wc in ij and WCC ij The location is just an example, not the only one. ij The location needs to meet two conditions: information bits, wc ij In the same row, j = 1, 2, 3, ..., s; wcc ij The location also needs to meet two conditions: information bits, wcc ij In the same column, i = 1, 2, 3, ..., m.

[0093] Each of the m initial horizontal segments w is transformed into a w→b segment, resulting in m initial horizontal segments b. Bits at the same position in these m initial horizontal segments b form n initial vertical segments b. These n initial vertical segments b are divided into two groups. The first group consists of a mixed bit obtained by XORing the source information bits, frozen bits, and initial parity check bits (empty bits) from the initial horizontal segments w, along with b. ij / bc ijThe first group consists of s initial b vertical segments within the sub-block. Each initial b vertical segment contains m-1 mixed bits obtained by XORing the source information bits, frozen bits, and empty bits from the initial w segment, and one empty bit obtained by transforming the initial parity check bit (empty bit) from the initial w segment into a w->b segment. The second group consists of bcc obtained by transforming the initial CRC check bit (empty bit) from the m initial w horizontal segments into a w→b segment. i1 The sub-block contains r initial b vertical segments, and each initial b vertical segment contains m bits that serve as the check bits for the m b horizontal segments, such as... Figure 6 As shown.

[0094] exist Figure 6 In the middle, b ij Sub-blocks: i = 1, 2, 3, ... m-1, j = 1, 2, 3, ... s. bc ij Sub-blocks: i = m, j = 1, 2, 3, ... s. bcc ij Sub-blocks: i = 1, 2, 3, ... m, j = s+1, s+2, s+3, ... s+r. Where bc mj and bcc ij The position is just an example, not the only one; the specific position is determined by wc in the w-bit space. mj / wcc ij The transformation formula for the w→b segment is determined by this.

[0095] During the generation of the parity check code for the vertical segment b, b is respectively... ij Parity check code generation operation is performed on m-1 mixed bits in s initial b vertical segments of the sub-block to obtain s b vertical segment parity codes bc. mj j = 1, 2, 3, ..., s, s vertical sub-segments of b and b respectively ij The s initial b vertical segments in the sub-block are composed of m-1 mixed bits.

[0096] During the generation of the CRC checksum for the horizontal segment b, bc ij A temporary b horizontal segment is formed by the parity check code in the s vertical segments of the sub-block and r empty bits.

[0097] m-1 initial b-horizontal segments and 1 temporary b-horizontal segment are concatenated in a predetermined order to generate k B-horizontal segments to be checked. Each B-horizontal segment to be checked contains one or more initial b-horizontal segments and zero or one temporary b-horizontal segment. CRC checksums are generated by performing CRC checksum operations on the mixed bits in the k B-horizontal segments to be checked, resulting in CRC checksums for the k B-horizontal segments. The CRC checksum of each B-horizontal segment is the bcc of one or more b-horizontal segments within the same B-horizontal segment. ij The CRC checksum bits are distributed into one or more horizontal segments of b according to a pre-set position, and each horizontal segment of b contains r CRC checksum bits.

[0098] Figure 7 This is a schematic diagram of the encoder structure according to another embodiment of this disclosure. Figure 7 As shown, the encoder includes a memory 71 and a processor 72.

[0099] Memory 71 is used to store instructions, and processor 72 is coupled to memory 71. Processor 72 is configured to execute instructions based on memory storage, as shown in the example below. Figure 1 The method involved in any of the embodiments.

[0100] like Figure 7 As shown, the encoder also includes a communication interface 73 for exchanging information with other devices. Additionally, the encoder includes a bus 74, through which the processor 72, communication interface 73, and memory 71 communicate with each other.

[0101] The memory 71 may include high-speed RAM, and may also include non-volatile memory, such as at least one disk drive. The memory 71 may also be a memory array. The memory 71 may also be divided into blocks, and these blocks may be combined into virtual volumes according to certain rules.

[0102] Furthermore, processor 72 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present disclosure.

[0103] This disclosure also relates to a computer-readable storage medium storing computer instructions that, when executed by a processor, implement... Figure 1 The method involved in any of the embodiments.

[0104] Figure 8 This is a schematic flowchart illustrating a decoding method according to an embodiment of the present disclosure. In some embodiments, the following decoding method is performed by a decoder.

[0105] In step 801, the received bit sequence to be decoded of length N is divided into m horizontal segments to be decoded of length n, wherein the bit sequence to be decoded of length N is a log-likelihood ratio sequence.

[0106] In some embodiments, N, m, and n are all integer powers of 2.

[0107] In step 802, the m horizontal segments to be decoded are decoded independently to obtain the decoding result of a horizontal segment with m segments and L alternative paths.

[0108] In some embodiments, the decoding process is SCL decoding.

[0109] In step 803, the bits with the same position in the same candidate path in each of the m horizontal segments are combined to generate s vertical segments, wherein the s vertical segments do not include the vertical segments composed of the horizontal segment check codes.

[0110] In step 804, each of the m horizontal sub-segments a is validated to retain the alternative paths that pass the validation.

[0111] In some embodiments, parity checks are performed on each horizontal segment a. If there are alternative paths that pass the parity check, the alternative paths that do not pass the parity check are deleted. In each horizontal segment a, the bits at the same position on the multiple alternative paths that pass the parity check are divided into single-value bits and split-value bits. The single-value bits are 0 or 1, and the split-value bits have both 0 and 1.

[0112] For example, verifying s vertical segments of a includes: concatenating the values ​​of m bits in each of the s vertical segments of a into multiple candidate paths according to single-value bits or split-value bits, with the 0 and 1 of the split-value bits participating in the path combination, and retaining the Lv candidate paths with the highest probability of occurrence.

[0113] For each of the s vertical segments 'a', perform parity checks on the Lv candidate paths. If multiple candidate paths that pass the parity check have bits at the same position that are all single-value bits, then the corresponding single-value bit is the parity result for the corresponding bit in the 'a' horizontal segment. Candidate paths in the remaining candidate paths of the 'a' horizontal segment whose corresponding bit values ​​do not match this single-value bit are deleted. If only one candidate path is currently retained, then the m bit values ​​from that candidate path are used as the decoding result for the corresponding bit in the m SCL decoders. If multiple candidate paths are currently retained, then the m bit values ​​from the candidate path with the highest probability of occurrence are used as the decoding result for the corresponding bit in the m SCL decoders.

[0114] In other embodiments, verifying each of the m horizontal segments 'a' includes: concatenating the m horizontal segments 'a' into k horizontal segments 'A', each horizontal segment 'A' including one or more horizontal segments 'a', where k is a positive integer greater than 1 and less than or equal to m. Verifying each of the k horizontal segments 'A', if a candidate path passes verification, deleting the candidate path that fails verification. Splitting the horizontal segments 'A' so that the resulting horizontal segments 'a' are used as the corresponding decoding results, wherein bits at the same position on the multiple candidate paths that pass verification within each horizontal segment 'a' are divided into single-value bits and split-value bits, where a single value is 0 or 1, and a split value has both 0 and 1.

[0115] In some embodiments, verifying each of the k horizontal segments A includes performing CRC verification, parity verification, or a combination of CRC and parity verification on each of the k horizontal segments A.

[0116] In some embodiments, concatenating m horizontal segments 'a' into k horizontal segments 'A' includes: in the k-th group, setting parameter i = 1; combining the L candidate paths in the i-th horizontal segment 'a' with the L candidate paths in the 1st horizontal segment 'a' to obtain L... 2 One alternative path. (L) 2 The L candidate paths with the highest probability among the candidate paths are selected as the L candidate paths for the (i+1)th horizontal sub-segment 'a'. The parameter 'i' is updated using 'i = i+1'. If 'i < M', the step of combining the L candidate paths from the ith horizontal sub-segment 'a' with the L candidate paths from the (i+1)th horizontal sub-segment 'a' is repeated. If 'i = M', the L candidate paths with the highest probability are selected as the candidate paths for the kth sub-segment 'A'.

[0117] In some embodiments, combining the L candidate paths in the i-th horizontal sub-segment a and the L candidate paths in the 1st horizontal sub-segment a includes: combining the L candidate paths in the i-th horizontal sub-segment a and the L candidate paths in the 1st horizontal sub-segment a according to a serial splicing method of splicing one by one, a parallel splicing method of splicing each group simultaneously after grouping, or a splicing method of a mixture of serial and parallel splicing.

[0118] In some embodiments, verifying s vertical segments of type a includes: concatenating the values ​​of m bits in each of the s vertical segments of type a into multiple candidate paths based on single-value bits or split-value bits, with the two split-values ​​participating in path combination respectively, and retaining Lv candidate paths with the highest probability of occurrence. Parity checks are performed on the Lv candidate paths of each of the s vertical segments of type a, wherein if the bits at the same position in the candidate paths that pass the parity check are all single-value bits, then the corresponding single value is the verification result of the corresponding bit in the horizontal segment of type a, and candidate paths in the retained candidate paths of type a whose corresponding bit values ​​do not match the single value are deleted. If only one candidate path is currently retained, then the m bit values ​​in that candidate path are used as the decoding result of the corresponding bit in the m SCL decoders. If multiple candidate paths are currently retained, then the m bit values ​​in the candidate path with the highest probability of occurrence are used as the decoding result of the corresponding bit in the m SCL decoders.

[0119] In step 805, the s vertical segments of a are verified to obtain m decoding results.

[0120] In step 806, the m decoding results are processed to obtain the decoded bit sequence.

[0121] In some embodiments, the m decoding results are segmented to obtain m v segments, and the m v segments are then corrected to obtain m corrected v segments. For example, the (h+1)th to (h+q)th horizontal a segments and the v segments are XORed to obtain m corrected v segments.

[0122] Next, the m modified v segments are merged to obtain the decoded bit sequence.

[0123] The embodiments of this disclosure will be described below through specific examples.

[0124] Example 3: Parity Check

[0125] The received bit sequence of length N to be decoded is processed to obtain the decoding results of m horizontal segments a containing L candidate paths, such as... Figure 9 As shown.

[0126] exist Figure 9 In the middle, a ij Sub-blocks: i = 1, 2, 3, ..., m-1, j = 1, 2, 3, ..., n-1. ac mj Sub-blocks: j = 1, 2, 3, ..., n-1. acc in Sub-block: i=1, 2, 3,...m.

[0127] Among them, a ij / ac miEach vertical segment 'a' in the sub-block contains a parity check code of length 1 for the vertical segment 'a'. in Each horizontal sub-segment of length 1 contains a horizontal sub-segment parity check code of length 1. Figure 9 Chinese AC mj and acc in The location is just an example, not the only one. The specific location and the position of bc in the sender's bit space are different. mj / bcc in The positions are consistent.

[0128] During parity checking of m horizontal segments 'a', parity checks are performed on the L candidate paths of each of the m horizontal segments 'a'. Candidate paths that pass the parity check are retained, while those that fail are deleted. If no candidate path passes the parity check, decoding fails. In each of the m horizontal segments 'a', bits at the same position on the multiple candidate paths that pass the check are divided into single-value bits and split-value bits. A single value is either 0 or 1, while a split-value bit has both 0 and 1.

[0129] During the parity check of s vertical segments of a (i.e., the determination of the parity check result of horizontal segments), the values ​​of m bits in the s vertical segments of a are concatenated into multiple alternative paths according to single-value bits or split-value bits. The concatenation process is similar to the construction process of the SC decoding tree. Single-value bits are similar to frozen bits in the SC decoding tree, which have only one decoding path. Split-value bits are similar to information bits in the traditional SC decoding tree, which are split into two decoding paths of 0 and 1.

[0130] Perform parity checks on each of the s vertical segments of segment a. If the same bit in the path that passes through the parity check is a single value bit, then the corresponding single value 0 or 1 is the parity check result of the corresponding bit in the horizontal segment of segment a. The alternative paths in the alternative paths retained in the parity check of the horizontal segment of segment a whose corresponding bit values ​​are inconsistent with the above single value 0 or 1 are deleted.

[0131] The more bits with the same single value in the candidate paths of the vertical segment parity check, the more candidate paths are deleted in the horizontal segment parity check. If only one candidate path remains, the m bit values ​​in that candidate path are used as the decoding result of the corresponding bit in the SCL decoder. If there are still multiple retained candidate paths, the m bit values ​​in the candidate path with the highest probability of occurrence are used as the decoding result of the corresponding bit in the SCL decoder.

[0132] The reliability of the horizontal segment parity check is further improved by using the vertical segment parity check, which reduces the SCL decoding error rate.

[0133] The decoding results of m SCL decoders are transformed and processed by the a→v sub-segment and then used as the decoder output.

[0134] Example 4: Vertical Parity Check - Horizontal Cyclic Redundancy Check

[0135] The received bit sequence of length N to be decoded is processed to obtain the decoding result of m horizontal segments 'a' containing L candidate paths. The m bits at the same position in the m horizontal segments 'a' form a vertical segment 'a', with a length of m. For example... Figure 10 As shown.

[0136] exist Figure 10 In the middle, a ij Sub-blocks: i = 1, 2, 3, ..., m-1, j = 1, 2, 3, ..., s. ac ij Sub-blocks: i = m, j = 1, 2, 3, ... s. acc ij Sub-block: i=1, 2, 3,...m, j=s+1, s+2, s+3,...s+r.

[0137] Among them, a ij / ac ij Each vertical segment 'a' in the sub-block contains a parity check code of length 1 for the vertical segment 'a'. ij Each horizontal sub-segment 'a' in the sub-block contains a CRC checksum bit sequence of length 'r'. ij and acc ij The position and corresponding bc ij and bcc ij The positions correspond one-to-one.

[0138] During the CRC check of the B horizontal segment, one or more 'a' horizontal segments are concatenated into k A segments in the same order as the B horizontal segments. The difference is that multiple candidate paths of the 'a' horizontal segments need to be concatenated simultaneously. The specific concatenation method is as follows: The L candidate paths of the first 'a' horizontal segment and the L candidate paths of the second 'a' horizontal segment in the k groups are combined pairwise to obtain L2 candidate paths. The occurrence probabilities of the L candidate paths of the second 'a' horizontal segment are updated, and the L candidate paths with the highest occurrence probabilities are retained. Then, the same method is used to concatenate them with the L candidate paths of the third 'a' horizontal segment until all 'a' horizontal segments are concatenated. Finally, the L paths with the highest occurrence probabilities are retained as candidate paths.

[0139] Perform CRC checks on the L candidate paths of each of the k A horizontal segments. Keep the candidate paths that pass the CRC check and delete those that fail. If no candidate path passes the CRC check, keep the L candidate paths. Divide the A horizontal segments into multiple corresponding a horizontal segments as the verification results of the corresponding SCL decoders. In each of the m a horizontal segments, the bits at the same position on the multiple candidate paths that pass the CRC check are divided into single-value bits and split-value bits. A single value is either 0 or 1, and a split-value bit has both 0 and 1.

[0140] During the parity check of s vertical segments (determination of CRC check results of B horizontal segments), the values ​​of m bits in the s vertical segments are concatenated into multiple alternative paths according to single-value bits or split-value bits. The concatenation process is similar to the construction process of the SC decoding tree. Single-value bits are similar to frozen bits in the SC decoding tree, which have only one decoding path. Split-value bits are similar to information bits in the traditional SC decoding tree, which are split into two decoding paths: 0 and 1.

[0141] Parity checks are performed on each of the s vertical segments of a. If the same bit in the path that passes through the parity check is a single value bit, then the corresponding single value 0 or 1 is determined to be the final decoding result of the corresponding bit in the horizontal segment of a. The alternative paths in the alternative paths retained in the CRC check of the horizontal segment of a whose corresponding bit values ​​are inconsistent with the above single value 0 or 1 are deleted.

[0142] The more bits with the same single value in the path of parity check of vertical segment a, the more alternative paths are deleted in the CRC check of horizontal segment a. If only one alternative path remains, the m bit values ​​in the alternative path are used as the decoding result of the corresponding bit in the SCL decoder. If there are still multiple alternative paths, the m bit values ​​in the alternative path with the highest probability of occurrence are used as the decoding result of the corresponding bit in the SCL decoder.

[0143] The parity check of the vertical segment further improves the reliability of the CRC check of the horizontal segment, especially when there are multiple alternative paths passing through the CRC check, thus reducing the SCL decoding error rate.

[0144] The decoding result of the m-segment SCL decoder is then transformed into the a→v segment and processed accordingly before being output by the decoder.

[0145] Figure 11 This is a schematic diagram of the structure of a decoder according to an embodiment of this disclosure. Figure 11 As shown, the decoder includes a memory 111, a processor 112, a communication interface 113, and a bus 11. Figure 11 and Figure 7 The difference is that, in Figure 11 In the illustrated embodiment, processor 112 is configured to execute instructions stored in memory 111 as follows: Figure 8 The method involved in any of the embodiments.

[0146] Figure 12 This is a schematic diagram of the structure of a communication system according to an embodiment of this disclosure. Figure 12 As shown, the communication system includes an encoder 121 and a decoder 122. The encoder 121 is... Figure 7 In any embodiment of the encoder, the decoder 122 is Figure 11 The decoder involved in any of the embodiments.

[0147] By implementing the above embodiments of this disclosure, the following beneficial effects can be obtained:

[0148] 1) The reliability of the horizontal segment check is further improved by the vertical segment check, which reduces the error rate of SCL decoding.

[0149] 2) a) Vertical segment verification distributes burst interference errors in the horizontal segment to different vertical segments for verification, eliminating the need for channel interleaving encoding and decoding, reducing system complexity and shortening processing time.

[0150] 3) Different verification methods can be flexibly adopted according to the different requirements of coding rate, bit error rate / block error rate, different code lengths, and different sub-segments: parity check, cyclic redundancy check, and different combinations of parity check and cyclic redundancy check.

[0151] In some embodiments, the above-described functional modules may be implemented as a general-purpose processor, a programmable logic controller (PLC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or any suitable combination thereof for performing the functions described herein.

[0152] The embodiments of this disclosure have now been described in detail. To avoid obscuring the concept of this disclosure, some details known in the art have not been described. Those skilled in the art will fully understand how to implement the technical solutions disclosed herein based on the above description.

[0153] While specific embodiments of this disclosure have been described in detail by way of examples, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of this disclosure. Those skilled in the art should understand that modifications can be made to the above embodiments or equivalent substitutions can be made to some technical features without departing from the scope and spirit of this disclosure. The scope of this disclosure is defined by the appended claims.

Claims

1. An encoding method, comprising: The initial bit sequence of length N is processed to generate m initial w horizontal segments of length n. The initial bit sequence includes source information bits, frozen bits, and empty bits. The m initial w horizontal segments are transformed into w->b segments to generate m initial b horizontal segments of length n. Among the m initial b horizontal segments, h initial b horizontal segments include mixed bits and empty bits, and q initial b horizontal segments include empty bits, where m = h + q. The mixed bits in the initial b horizontal segments are obtained by operation on the source information bits, frozen bits, and empty bits in the initial w horizontal segments. In the m initial w horizontal segments: the first to the sth bits in the first to the hth initial w horizontal segments are composed of source information bits and frozen bits, the (s+1)th to the (s+r)th bits are composed of empty bits, and the (h+1)th to the (h+q)th initial w horizontal segments are composed of empty bits. The w->b segment transformation is a multi-bit XOR operation. The bits in the same position in the m initial b horizontal segments are combined to generate s initial b vertical segments including mixed bits and empty bits and r initial b vertical segments including empty bits, n=s+r; Using the s initial b vertical segments, generate s b vertical segments of length m, including b vertical segment check codes. Use the b vertical segment check code bits in the s b vertical segments and the empty bits in the r initial b vertical segments to form q temporary b horizontal segments of length n. m horizontal segments including check codes of the horizontal segments are generated using the h initial horizontal segments and the q temporary horizontal segments; The m horizontal segments of b are transformed into w segments to generate m horizontal segments of w. The m horizontal segments of w are merged into a bit sequence of length N to be encoded; The bit sequence to be encoded, which has a length of N, is encoded to obtain an encoded bit sequence, which is then transmitted. Specifically, generating m horizontal segments including b horizontal segment check codes using the h initial b horizontal segments and the q temporary b horizontal segments includes: The m b horizontal segments, including the h initial b horizontal segments and the q temporary b horizontal segments, are concatenated into k B horizontal segments, each B horizontal segment including one or more b horizontal segments; Perform check code generation operations on the mixed bits and b vertical segment check code bits in the k B horizontal segments respectively to generate the B horizontal segment check code for the k B horizontal segments.

2. The method according to claim 1, wherein: N, m, and n are all integer powers of 2; The encoding is polar code encoding.

3. The method according to claim 1, wherein, The empty bits in the initial horizontal sub-segment b are obtained by computation from at least one empty bit in the initial horizontal sub-segment w.

4. The method according to claim 1, wherein, In n initial b-length sub-segments: The 1st bit to the h-th bit in the 1st initial b vertical sub-segment to the s-th initial b vertical sub-segment are respectively generated by operation through source information bits, frozen bits and null bits, and the (h+1)-th bit to the (h+q)-th bit are generated by operation through null bits; The bits in the (s+1)-th initial b vertical sub-segment to the (s+r)-th initial b vertical sub-segment are generated by operation through null bits.

5. The method according to claim 1, wherein, Generating the s b vertical sub-segments of length m including b vertical sub-segment check codes by using the s initial b vertical sub-segments comprises: Performing a check code generation operation on the mixed bits in the s initial b vertical sub-segments, to obtain the s b vertical sub-segments of length m including the b vertical sub-segment check codes.

6. The method according to claim 1, wherein, The b->w sub-segment transform and the w->b sub-segment transform are inverse processes of each other.

7. The method according to claim 1, wherein, The b vertical sub-segment check code comprises a cyclic redundancy check code, a parity check code, or a combination of a cyclic redundancy check code and a parity check code.

8. The method according to claim 1, wherein, If k=1, there is only one B horizontal sub-segment, the B horizontal sub-segment includes all m b horizontal sub-segments, the B horizontal sub-segment includes one check code, and the check code bit is located at the check code bit position in the m b horizontal sub-segments; If 1<k<m, at least one B horizontal sub-segment includes a plurality of b horizontal sub-segments, each B horizontal sub-segment includes one check code, and the check code bit in each B horizontal sub-segment is located at the check code bit position in the corresponding b horizontal sub-segment; If k=m, each b horizontal sub-segment serves as one B horizontal sub-segment, each B horizontal sub-segment includes one check code, and the check code bit in each B horizontal sub-segment is located at the check code bit position in the corresponding b horizontal sub-segment.

9. An encoder, comprising: a memory configured to store instructions; a processor coupled to the memory, the processor being configured to, based on the instructions stored in the memory, perform the method according to any one of claims 1 to 8.

10. A decoding method, comprising: dividing a received to-be-decoded bit sequence of length N into m to-be-decoded horizontal sub-segments of length n, wherein the to-be-decoded bit sequence of length N is a log-likelihood ratio sequence, and the to-be-decoded bit sequence is a sequence obtained by an encoder generating an encoded bit sequence by using the encoding method according to any one of claims 1 to 8 and transmitting the encoded bit sequence to a decoder; performing decoding processing on the m to-be-decoded horizontal sub-segments independently, to obtain decoding results of m a horizontal sub-segments each having L candidate paths; combining bits at the same position in the same candidate path in the m a horizontal sub-segments respectively, to generate s a vertical sub-segments, wherein the s a vertical sub-segments do not include the a vertical sub-segment composed of a horizontal sub-segment check codes; performing check on the m a horizontal sub-segments respectively, to retain candidate paths that pass the check; performing check on the s a vertical sub-segments, to obtain m decoding results; processing the m decoding results to obtain a decoded bit sequence.

11. The method according to claim 10, wherein, N, m and n are all integer powers of 2; The decoding processing is SCL decoding processing.

12. The method according to claim 11, wherein, Processing m decoding results to obtain a decoded bit sequence includes: Performing sub-segment transformation on the m decoding results to obtain m v sub-segments; Performing correction processing on the m v sub-segments to obtain m corrected v sub-segments; Performing sub-segment merging on the m corrected v sub-segments to obtain the decoded bit sequence.

13. The method according to claim 11, wherein, Performing check on each of the m a horizontal sub-segments respectively includes: Performing parity check on each a horizontal sub-segment; If there are candidate paths that pass the parity check, deleting the candidate paths that do not pass the parity check; Wherein, bits at the same position on multiple check-passed candidate paths in each a horizontal sub-segment are divided into single-value bits and split-value bits, the single-value bit is 0 or 1, and the split-value bit has both 0 and 1.

14. The method according to claim 13, wherein, Performing check on s a vertical sub-segments includes: Respectively concatenating the values of m bits in the s a vertical sub-segments into a plurality of candidate paths according to the single-value bits or split-value bits, wherein 0 and 1 of the split-value bits respectively participate in path combination, and retaining Lv candidate paths with the highest occurrence probability; Performing parity check on the Lv candidate paths of each a vertical sub-segment in the s a vertical sub-segments respectively, wherein if bits at the same position in a plurality of candidate paths that pass the parity check are all single-value bits, the corresponding single-value bit is the check result of the corresponding bit of the a horizontal sub-segment, and deleting the candidate paths in which the value of the corresponding bit in the retained candidate paths in the a horizontal sub-segment is inconsistent with the single-value bit; If only one candidate path is currently retained, taking the candidate path as the SCL decoding result; If a plurality of candidate paths are currently retained, taking the candidate path with the highest occurrence probability as the SCL decoding result.

15. The method according to claim 10, wherein, Performing check on each of the m a horizontal sub-segments respectively includes: Splicing the m a horizontal sub-segments into k A sub-segments, wherein each A sub-segment comprises one or more a horizontal sub-segments, and k is a positive integer greater than 1 and less than or equal to m; Performing check on each of the k A sub-segments respectively; If there are candidate paths that pass the check, deleting the candidate paths that do not pass the check; Splitting the A sub-segments, so that the obtained a sub-segments are used as corresponding decoding results, wherein bits at the same position on a plurality of check-passed candidate paths in each a sub-segment are divided into single-value bits and split-value bits, the single value is 0 or 1, and the split value has both 0 and 1.

16. The method according to claim 15, wherein, Performing check on each of the k A sub-segments respectively includes: Performing CRC check, parity check, or combined CRC and parity check on each of the k A sub-segments respectively.

17. The method according to claim 15, wherein, Splicing the m a horizontal sub-segments into k A sub-segments includes: In the k-th group, taking the parameter i=1; Combine the L candidate paths in the i-th horizontal sub-segment 'a' and the L candidate paths in the (i+1)-th horizontal sub-segment 'a' to obtain Alternative routes; Will The L alternative paths with the highest probability among the 1+1 alternative paths are selected as the L alternative paths for the (i+1)th horizontal sub-segment a. Updating the parameter i by using i=i+1; If i<M, repeatedly performing the step of combining L candidate paths in the i-th a horizontal sub-segment and L candidate paths in the (i+1)-th a horizontal sub-segment, wherein M is a predetermined threshold; If i=M, taking the L candidate paths with the highest occurrence probability as the candidate paths of the k-th group of A sub-segments.

18. The method according to claim 17, wherein, Combining the L candidate paths in the i-th a horizontal sub-segment and the L candidate paths in the (i+1)-th a horizontal sub-segment includes: The L alternative paths in the i-th horizontal sub-segment a and the L alternative paths in the (i+1)-th horizontal sub-segment a are combined according to the serial splicing method of splicing one by one, the parallel splicing method of splicing each group simultaneously after grouping, or the splicing method of a mixture of serial and parallel splicing.

19. The method according to claim 15, wherein, The verification of s vertical segments a includes: The values ​​of m bits in each of the s vertical segments of a are concatenated into multiple candidate paths according to single-value bits or split-value bits. The two split values ​​participate in the path combination respectively, and the Lv candidate paths with the highest probability of occurrence are retained. Parity checks are performed on Lv candidate paths for each of the s vertical segments of a. If the bits at the same position in the candidate path that passes the parity check are all single-value bits, then the corresponding single value is the check result of the corresponding bit in the horizontal segment of a. Candidate paths in the remaining candidate paths of the horizontal segment of a that have a corresponding bit value that is inconsistent with the single value are deleted. If only one alternative path is currently retained, then that alternative path will be used as the decoding result; If multiple alternative paths are currently available, the alternative path with the highest probability will be used as the decoding result.

20. The method according to claim 12, wherein, The m v sub-segments are modified to obtain m modified v sub-segments, including: The (h+1)th to (h+q)th a-horizontal segments and v-segments are processed to obtain m modified v-segments. Among the m initial b-horizontal segments obtained by the encoding method of any one of claims 1-9, the h initial b-horizontal segments include mixed bits and empty bits, the q initial b-horizontal segments include empty bits, and m = h+q.

21. A decoder, comprising: The memory is configured to store instructions; A processor, coupled to a memory, configured to implement the method as described in any one of claims 10-20 based on memory-stored instruction execution.

22. A communication system, comprising: The encoder as described in claim 9; The decoder as described in claim 21.

23. A computer-readable storage medium, wherein, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method as described in any one of claims 1-8 and 10-20.