Polar code encoding method and device
11509418 · 2022-11-22
Assignee
Inventors
Cpc classification
H03M13/05
ELECTRICITY
H03M13/611
ELECTRICITY
International classification
H03M13/00
ELECTRICITY
H04L1/00
ELECTRICITY
Abstract
Disclosed in an embodiment of the present invention are a polar code encoding method and device, the method comprising: utilizing a common information bit set to represent each of m polar code blocks, the polar codes in each polar code block having the same code length and different code rates, and m being greater than or equal to 2; according to the common information bit set corresponding to the polar code block, acquiring an information bit set corresponding to each polar code in the polar code block; and according to the information bit set corresponding to each polar code in the polar code block, conducting polar code encoding on information to be encoded, thus reducing polar code representation overhead, and solving the problem in the prior art of excessively high polar code representation overhead.
Claims
1. A channel coding method, performed by a coding device in a communication system, comprising: obtaining a common index set based on a code length and a code rate; obtaining a first index set from the common index set, wherein the first index set comprises K indexes, and the common index set comprises the first index set and a second index set; polar encoding K data bits according to the first index set, to obtain a first polar code comprising an encoded bit sequence, wherein K is an integer greater than or equal to 1 and the encoded bit sequence has a length of N, wherein N is a positive integer; and outputting the first polar code; wherein the first polar code is one of a plurality of polar codes having same length N, and the plurality of polar codes comprises a second polar code, wherein the second polar code is generated by polar encoding one or more data bits according to the second index set obtained from the common index set.
2. The method according to claim 1, wherein the common index set is a union of index sets respectively corresponding to all polar codes in the plurality of polar codes.
3. The method according to claim 1, wherein the first polar code and the second polar code have different code rates.
4. The method according to claim 1, wherein the plurality of polar codes form a group of polar codes, which is one of m groups of polar codes, and wherein there is a recurrence relation among common index sets corresponding respectively to the m groups of polar codes, wherein m is greater than or equal to 2.
5. The method according to claim 4, wherein the recurrence relation among the common index sets corresponding respectively to the m groups of polar codes is:
6. The method according to claim 1, wherein the first index set is an information bit index set for polar encoding the K data bits.
7. The method according to claim 1, wherein polar encoding the K data bits according to the first index set comprises: obtaining a K-bit first sequence based on the K data bits and the first index set; generating a second sequence, wherein the second sequence comprises N bits, N is an integer power of 2 and is greater than K, and K bit-positions of the second sequence are occupied by the K data bits of the K-bit first sequence; encoding the second sequence according to an encoding process of x.sub.1.sup.N=u.sub.1.sup.NG.sub.N, wherein G.sub.N is a Polar code generating matrix of N rows×N columns, u.sub.1.sup.N is the second sequence, and x.sub.1.sup.N is the encoded bit sequence.
8. An apparatus for channel coding, comprising: at least one processor; and one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor, the programming instructions causing the apparatus to: obtain a common index set based on a code length and a code rate; obtain a first index set from the common index set, wherein the first index set comprises K indexes, and the common index set comprises the first index set and a second index set; polar encode K data bits according to the first index set, to obtain a first polar code comprising an encoded bit sequence, wherein K is an integer greater than or equal to 1 and the encoded bit sequence has a length of N, wherein N is a positive integer; and output the first polar code; wherein the first polar code is one of a plurality of polar codes having same length N, the plurality of polar codes comprises a second polar code, and the second polar code is generated by polar encoding one or more data bits according to the second index set obtained from the common index set.
9. The apparatus according to claim 8, wherein the common index set is a union of index sets respectively corresponding to all polar codes in the plurality of polar codes.
10. The apparatus according to claim 8, wherein the first polar code and the second polar code have different code rates.
11. The apparatus according to claim 8, wherein the plurality of polar codes form a group of polar codes, which is one of m groups of polar codes, and wherein there is a recurrence relation among common index sets corresponding respectively to the m groups of polar codes, wherein m is greater than or equal to 2.
12. The apparatus according to claim 11, wherein the recurrence relation among the common index sets corresponding respectively to the m groups of polar codes is:
13. The apparatus according to claim 8, wherein the first index set is an information bit index set for polar encoding the K data bits.
14. The apparatus according to claim 8, wherein in polar encoding the K data bits according to the first index set, the program instructions cause the apparatus to: obtain a K-bit first sequence based on the K data bits and the first index set; generate a second sequence, wherein the second sequence comprises N bits, N is an integer power of 2 and is greater than K, and K bit-positions of the second sequence are occupied by the K data bits of the K-bit first sequence; encode the second sequence according to an encoding process of x.sub.1.sup.N=u.sub.1.sup.NG.sub.N, wherein G.sub.N is a Polar code generating matrix of N rows×N columns, u.sub.1.sup.N is the second sequence, and x.sub.1.sup.N is the encoded bit sequence.
15. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising: obtaining a common index set based on a code length and a code rate; obtaining a first index set from the common index set, wherein the first index set comprises K indexes, and the common index set comprises the first index set and a second index set; polar encoding K data bits according to the first index set, to obtain a first polar code comprising an encoded bit sequence, wherein K is an integer greater than or equal to 1 and the encoded bit sequence has a length of N, wherein N is a positive integer; and outputting the first polar code; wherein the first polar code is one of a plurality of polar codes having same length N, and the plurality of polar codes comprises a second polar code, wherein the second polar code is generated by polar encoding one or more data bits according to the second index set obtained from the common index set.
16. The non-transitory, computer-readable medium according to claim 15, wherein the common index set is a union of index sets respectively corresponding to all polar codes in the plurality of polar codes.
17. The non-transitory, computer-readable medium according to claim 15, wherein the first polar code and the second polar code have different code rates.
18. The non-transitory, computer-readable medium according to claim 15, wherein the plurality of polar codes form a group of polar codes, which is one of m groups of polar codes, and wherein there is a recurrence relation among common index sets corresponding respectively to the m groups of polar codes, wherein m is greater than or equal to 2.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) In order to illustrate the technical solutions according to embodiments of the disclosure or in the conventional technology more clearly, the drawings to be used in the description of the embodiments or the conventional technology are described briefly hereinafter. Apparently, the drawings in the description are just a few embodiments of the disclosure, and other drawings may be obtained by those skilled in the art according to those drawings without creative effort.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(9) The technical solutions in embodiments of the disclosure will be described clearly in conjunction with drawings in the embodiments of the disclosure hereinafter. Apparently, the described embodiments are just a few rather than all of embodiments of the disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of the disclosure without any creative work will fall within the protection scope of the disclosure.
(10) It should be noted that, numbers such as 101 and 102 involved in the embodiments of the disclosure are only to identify steps of the method, and not to limit the sequence of the numbered steps.
(11) In an aspect, a method for Polar code encoding is provided according to an embodiment of the disclosure. As shown in
(12) In 101, each Polar code group in m Polar code groups is represented by a common information bit set, where Polar codes in each Polar code group have a same code length and different code rates and m is greater than or equal to 2.
(13) Exemplarily, multiple Polar codes with a same code length and different code rates may be divided into m Polar code groups, each Polar code group includes one or more Polar codes with different code rates, and information bit sets respectively corresponding to all Polar codes with different code rates in each Polar code group include at least one same element, where m is greater than or equal to 2.
(14) Exemplarily, the code rate of any Polar code is different from each other. In the embodiment of the disclosure, preferably, Polar codes are divided so that Polar codes with the code rates being close to each other are in a Polar code group. The Polar codes may also be divided by using other division methods, and the embodiment of the disclosure is not limited herein. It is only required that information bit indexes included in the information bit sets corresponding to the Polar codes with different code rates in each group include at least one same information bit index. The information bit set corresponding to the Polar code is an information bit index set that can be used by the Polar code, which may be determined by using the method described in the background, or may be determined by using other methods, and the embodiment of the disclosure is not limited therein. For example, an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 683 may be A.sub.1, where A.sub.1 is a subset including 683 elements of a set {0, 1, 2, . . . , 2047}; an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 1024 may be A.sub.2, where A.sub.2 is a subset including 1024 elements of a set {0, 1, 2, . . . , 2047}.
(15) Exemplarily, the Polar codes in each Polar code group may share an information bit set or a Frozen bit set assigned for the group.
(16) For example, for an i-th Polar code group, the common information bit set assigned for the i-th Polar code group is represented by A.sub.i, and |A.sub.i|K.sub.si, where |A.sub.i| and K.sub.si, represent the total number of elements in the common information bit set A.sub.i of the i-th Polar code group, e.g., K.sub.s1 represents the total number of elements in the common information bit set A.sub.1 of the first Polar code group, and K.sub.s2 represents the total number of elements in the common information bit set A.sub.2 of the second Polar code group.
(17) Each Polar code in any Polar code group may be represented by a common information bit set of the group. The i-th Polar code group is taken as an example for illustration. Each Polar code in the Polar code group may be represented by (N,K.sub.i), where N is the code length, and K.sub.t represents the first K.sub.t information bit indexes of the common information bit set A.sub.i of the Polar code group. Thus, compared to the conventional technology, overhead for representing Polar codes having a same code length and different code rates is saved.
(18) Exemplarily, the common information bit set A corresponding to the i-th Polar code group may be a union of information bit sets respectively corresponding to all Polar codes with different code rates in the i-th Polar code group, or may be an information bit set corresponding to a Polar code with a certain code rate in the i-th Polar code group, or may be obtained by using other methods, and the embodiment of the disclosure is not limited herein. For example, if the i-th Polar code group has three Polar codes, i.e., a Polar code with a code length of 2048 and a code rate of 0.4, a Polar code with a code length of 2048 and a code rate of 0.5, and a Polar code with a code length of 2048 and a code rate of 0.6, then the common information bit set of the i-th Polar code group may be an information bit set corresponding to a code length of 2048 and a code rate of 0.6.
(19) Exemplarily, a recurrence relation is among common information bit sets corresponding to different Polar code groups in the m Polar code groups.
(20) Exemplarily, the recurrence relation may be:
(21)
(22) where the set A.sub.i is a common information bit set corresponding to the i-th Polar code group, and δA.sub.i is a difference set between the set A.sub.i and the set A.sub.i-1;
(23) or,
(24)
(25) where the set A.sub.i is a common information bit set corresponding to the i-th Polar code group, the set A.sub.j is a common information bit set corresponding to a j-th Polar code group, ζA.sub.j is a difference set between the set A.sub.i and the set A.sub.j, and i is not equal to j.
(26) Referring to
(27) For example, the code length N=16, and A.sub.1, A.sub.2, A.sub.3 correspond to common information bit sets of three Polar code groups respectively,
(28) A.sub.1={16, 15, 14, 12, 9},
(29) A.sub.2={16, 15, 14, 12, 8, 13, 11, 10},
(30) A.sub.3={16, 15, 14, 12, 9, 13, 11, 10, 7, 6, 4},
(31) δA.sub.S2={8, 13, 11, 10},
(32) ζA.sub.2={9},
(33) δA.sub.3={9, 7, 6, 4},
(34) ζA.sub.3={8}.
(35) In 102, an information bit set corresponding to each Polar code in the Polar code group is obtained based on the common information bit set corresponding to the Polar code group.
(36) In a case that Polar codes in each Polar code group share a common information bit set assigned for the group, the information bit set corresponding to any Polar code (N,K.sub.t) in the i-th Polar code group includes the first K.sub.t information bit indexes of the common information bit set A, of the Polar code group represented by K.sub.t.
(37) In 103, Polar code encoding is performed on information to be encoded based on the information bit set corresponding to each Polar code in the Polar code group.
(38) Exemplarily, if the number of bits of the information to be encoded is K, there is a Polar code with a certain code length and a certain code rate that corresponds to the bits of the information to be encoded, then the information to be encoded is encoded; if the bits of the information to be encoded are changed, there is a Polar code with another code length and another code rate that corresponds to the changed bits of information to be encoded, then the changed information to be encoded may be encoded.
(39) In the method for Polar code encoding according to the embodiment of the disclosure, each Polar code group in the m Polar code groups is represented by a common information bit set, where Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2; an information bit set corresponding to each Polar code in the Polar code group is obtained based on the common information bit set corresponding to the Polar code group, and Polar code encoding is performed on the information to be encoded based on the information bit set corresponding to each Polar code in the Polar code group. In this way, encoding is performed according to representation of Polar codes with a same code length and different code rates based on groups, which greatly reduces the overhead for representing the Polar codes and addresses the problem of large overhead for representing the Polar codes in the conventional technology, compared with the case that each Polar code is represented by an independent information bit set.
(40) In another aspect, another method for Polar code encoding is provided according to an embodiment of the disclosure. As shown in
(41) In 301, each Polar code group in m Polar code groups is represented by a common Frozen bit set, where Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2.
(42) Exemplarily, multiple Polar codes with a same code length and different code rates may be divided into m Polar code groups, each Polar code group includes one or more Polar codes with different code rates, and Frozen bit sets respectively corresponding to all Polar codes with different code rates in each Polar code group include at least one same element, where m is greater than or equal to 2.
(43) Exemplarily, the code rate of any Polar code is different from each other. In the embodiment of the disclosure, preferably, Polar codes are divided so that Polar codes with the code rates being close to each other are in a Polar code group. The Polar codes may also be divided by using other division methods, and the embodiment of the disclosure is not limited herein. It is only required that Frozen bit indexes included in the Frozen bit sets corresponding to the Polar codes with different code rates in each Polar code group include at least one same Frozen bit index. The information bit set corresponding to the Polar code is an information bit index set that can be used by the Polar code, which may be determined by using the method described in background, or may be determined by using other methods, and the embodiment of the disclosure is not limited herein. For example, an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 683 may be A.sub.1, where A.sub.1 is a subset including 683 elements of a set {0, 1, 2, . . . , 2047}; an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 1024 may be A.sub.2, where A.sub.2 is a subset including 1024 elements of the set {0, 1, 2, . . . , 2047}.
(44) Exemplarily, the Polar codes in each Polar code group may share a Frozen bit set assigned for the group. For example, for an i-th Polar code group, the common information bit set assigned for the i-th Polar code group is represented by A.sub.i.sup.c, and |A.sub.i.sup.c|=K.sub.si, where A|.sub.i.sup.c| and K.sub.si represent the total number of elements in the common Frozen bit set A.sub.i.sup.c of the i-th Polar code group.
(45) Each Polar code may be represented based on a common Frozen bit set of the group. The i-th Polar code group is taken as an example for illustration. Each Polar code in the Polar code group may be represented by (N,K.sub.t), where N is the code length, and K.sub.t represents the first (N−K.sub.t) Frozen bit indexes of the common Frozen bit set A.sub.i.sup.c of the group included in the Frozen bit set corresponding to the Polar code. The information bit set A is complementary to the Frozen bit set A.sup.c.
(46) The common Frozen bit set A.sub.i.sup.c corresponding to the i-th Polar code group may be a union of Frozen bit sets respectively corresponding to all Polar codes with different code rates in the i-th Polar code group, or may be a Frozen bit set corresponding to a Polar code with a certain code rate in the i-th Polar code group, or may be obtained by using other methods, and the embodiment of the disclosure is not limited herein. For example, if the i-th Polar code group has three Polar codes, i.e., a Polar code with a code length of 2048 and a code rate of 0.4, a Polar code with a code length of 2048 and a code rate of 0.5, and a Polar code with a code length of 2048 and a code rate of 0.6, then the common Frozen bit set corresponding to the first Polar code group may be a Frozen bit set corresponding to a code length of 2048 and a code rate of 0.4.
(47) A recurrence relation is among common Frozen bit sets corresponding to the m Polar code groups.
(48) For example, the recurrence relation may be:
(49)
(50) where A.sub.i.sup.c is the common Frozen bit set corresponding to the i-th Polar code group, and δA.sub.i.sup.c is a difference set between A.sub.i.sup.c and A.sub.i-1.sup.c;
(51) or,
(52)
(53) where A.sub.i.sup.c is a common Frozen bit set corresponding to the i-th Polar code group, A.sub.j.sup.c is a common Frozen bit set corresponding to a j-th Polar code group, δA.sub.i.sup.c is a difference set between the set A.sub.i.sup.c and the set A.sub.j.sup.c, and i is not equal to j.
(54) In 302, a Frozen bit set corresponding to each Polar code in the Polar code group is obtained based on the common Frozen bit set corresponding to the Polar code group.
(55) In a case that the Polar codes in each Polar code group share a common Frozen bit set assigned for the group, the Frozen bit set corresponding to any Polar code (N,K.sub.t) in the i-th Polar code group includes the first (N−K.sub.t) Frozen bit indexes of the common Frozen bit set A.sub.i.sup.c of the group.
(56) In 303, Polar code encoding is performed on information to be encoded based on the Frozen bit set corresponding to each Polar code in the Polar code group.
(57) Exemplarily, if the number of bits of the information to be encoded is K, there is a Polar code with a certain code length and a certain code rate that corresponds to the bits of the information, then the information to be encoded is encoded; if the bits of the information to be encoded is changed, there is a Polar code with another code length and another code rate that corresponds to the changed bits of information to be encoded, then the changed information to be encoded may be encoded.
(58) In the method for Polar code encoding according to the embodiment of the disclosure, each Polar code group in the m Polar code groups is represented by a common Frozen bit set, where the Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2; a Frozen bit set corresponding to each Polar code in the Polar code group is obtained based on the common Frozen bit set corresponding to the Polar code group, and Polar code encoding is performed on the information to be encoded based on the Frozen bit set corresponding to each Polar code in the Polar code group. In this way, encoding is performed according to representation of Polar codes with a same code length and different code rates based on groups, which greatly reduces the overhead for representing the Polar codes and addresses the problem of large overhead for representing the Polar codes in the conventional technology, compared with the case that each Polar code is represented by an independent Frozen bit set.
(59) In an aspect, an apparatus 40 for Polar code encoding is provided according to an embodiment of the disclosure. The apparatus 40 for Polar code encoding may be an independent apparatus, or may be located in an indoor baseband processing unit in a base station. Referring to
(60) The representing unit 401 is configured to represent each Polar code group in m Polar code groups by a common information bit set, where Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2.
(61) Exemplarily, the code rate of any Polar code is different from each other. In the embodiment of the disclosure, preferably, Polar codes are divided so that Polar codes with the code rates being close to each other are in a Polar code group. The Polar codes may also be divided by using other division methods, and the embodiment of the disclosure is not limited herein. It is only required that information bit indexes included in the information bit sets corresponding to the Polar codes with different code rates in each group include at least one same information bit index. The information bit set corresponding to the Polar code is an information bit index set that can be used by the Polar code, which may be determined by using the method described in background, or may be determined by using other methods, and the embodiment of the disclosure is not limited therein. For example, an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 683 may be A.sub.1, where A.sub.1 is a subset including 683 elements of a set {0, 1, 2, . . . , 2047}; an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 1024 may be A.sub.2, where A.sub.2 is a subset including 1024 elements of the set {0, 1, 2, . . . , 2047}.
(62) Exemplarily, the Polar codes in each Polar code group may share an information bit set or a Frozen bit set assigned for the group.
(63) For example, for an i-th Polar code group, the common information bit set assigned for the i-th Polar code group is represented by A.sub.i, and |A.sub.i|=K.sub.si, where |A.sub.i| and K.sub.si represent the total number of elements in the common information bit set A, of the i-th Polar code group, e.g., K.sub.s1 represents the total number of elements in the common information bit set A.sub.1 of the first Polar code group, and K.sub.s2 represents the total number of elements in the common information bit set A.sub.2 of the second Polar code group.
(64) Each Polar code in any Polar code group may be represented by a common information bit set of the group. The i-th Polar code group is taken as an example for illustration. Each Polar code in the Polar code group may be represented by (N,K.sub.t), where N is the code length, and K.sub.t represents the first K.sub.t information bit indexes of the common information bit set A.sub.i of the Polar code group. Thus, compared with the conventional technology, overhead for representing the Polar codes with a same code length and different code rates is saved.
(65) Exemplarily, the common information bit set A corresponding to the i-th Polar code group may be a union of information bit sets respectively corresponding to all Polar codes with different code rates in the i-th Polar code group, or may be an information bit set corresponding to a Polar code with a certain code rate in the i-th Polar code group, or may be obtained by using other methods, and the embodiment of the disclosure is not limited herein. For example, if the i-th Polar code group has three Polar codes, i.e., a Polar code with a code length of 2048 and a code rate of 0.4, a Polar code with a code length of 2048 and a code rate of 0.5, and a Polar code with a code length of 2048 and a code rate of 0.6, then the common information bit set of the i-th Polar code group may be an information bit set corresponding to a code length of 2048 and a code rate of 0.6.
(66) Exemplarily, a recurrence relation is among common information bit sets corresponding to different Polar code groups in the m Polar code groups.
(67) Exemplarily, the recurrence relation may be:
(68)
(69) where the set A.sub.i is a common information bit set corresponding to the i-th Polar code group, and δA.sub.i is a difference set between the set A.sub.i and the set A.sub.i-1;
(70) or,
(71)
(72) where the set A.sub.i is a common information bit set corresponding to the i-th Polar code group, the set A.sub.j is a common information bit set corresponding to a j-th Polar code group, ζA.sub.j is a difference set between the set A.sub.i and the set A.sub.j, and i is not equal to j.
(73) Referring to
(74) For example, the code length N=16, and A.sub.1, A.sub.2, A.sub.3 correspond to common information bit sets of three Polar code groups respectively,
(75) A.sub.1={16, 15, 14, 12, 9},
(76) A.sub.2={16, 15, 14, 12, 8, 13, 11, 10},
(77) A.sub.3={16, 15, 14, 12, 9, 13, 11, 10, 7, 6, 4},
(78) δA.sub.S2={8, 13, 11, 10},
(79) ζA.sub.2={9},
(80) δA.sub.3={9, 7, 6, 4},
(81) ζA.sub.3={8}.
(82) The obtaining unit 402 is configured to obtain an information bit set corresponding to each Polar code in the Polar code group based on the common information bit set corresponding to the Polar code group.
(83) In a case that the Polar codes in each Polar code group share a common information bit set assigned for the group, the information bit set corresponding to any Polar code (N,K.sub.t) in the i-th Polar code group includes the first K.sub.t information bit indexes of the common information bit set A.sub.i of the Polar code group represented by K.sub.t.
(84) The encoding unit 403 is configured to perform Polar code encoding on information to be encoded based on the information bit set corresponding to each Polar code in the Polar code group.
(85) Exemplarily, if the number of bits of the information to be encoded is K, there is a Polar code with a certain code length and a certain code rate that corresponds to the bit of information to be encoded, and then the information to be encoded is encoded; if bits of the information to be encoded is changed, there is a Polar code with another code length and another code rate that corresponds to the changed bits of information to be encoded, and then the changed information to be encoded may be encoded.
(86) In the apparatus 40 for Polar code encoding according to the embodiment of the disclosure, each Polar code group in the m Polar code groups is represented by a common information bit set, where the Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2; an information bit set corresponding to each Polar code in the Polar code group is obtained based on the common information bit set corresponding to the Polar code group, and Polar code encoding is performed on the information to be encoded based on the information bit set corresponding to each Polar code in the Polar code group. In this way, encoding is performed according to representation of Polar codes with a same code length and different code rates based on groups, which greatly reduces the overhead for representing the Polar codes and addresses the problem of large overhead for representing the Polar codes in the conventional technology, compared with the case that each Polar code is represented by an independent information bit set.
(87) In an aspect, another apparatus 50 for Polar code encoding is provided according to an embodiment of the disclosure. Referring to
(88) The storage 501 is configured to store Polar codes.
(89) The processor 502 is configured to represent each Polar code group in m Polar code groups by a common information bit set, where Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2;
(90) obtain an information bit set corresponding to each Polar code in the Polar code group based on the common information bit set corresponding to the Polar code group; and
(91) perform Polar code encoding on information to be encoded based on the information bit set corresponding to each Polar code in the Polar code group.
(92) Exemplarily, the code rate of any Polar code is different from each other. In the embodiment of the disclosure, preferably, Polar codes are divided so that Polar codes with the code rates being close to each other are in a Polar code group. The Polar codes may also be divided by using other division methods, and the embodiment of the disclosure is not limited herein. It is only required that information bit indexes included in the information bit sets corresponding to the Polar codes with different code rates in each group include at least one same information bit index. The information bit set corresponding to the Polar code is an information bit index set that can be used by the Polar code, which may be determined by using the method described in background, or may be determined by using other methods, and the embodiment of the disclosure is not limited herein. For example, an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 683 may be A.sub.1, where A.sub.1 is a subset including 683 elements of a set {0, 1, 2, . . . , 2047}; an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 1024 may be A.sub.2, where A.sub.2 is a subset including 1024 elements of the set {0, 1, 2, . . . , 2047}.
(93) Exemplarily, the Polar codes in each Polar code group may share an information bit set or a Frozen bit set assigned for the group.
(94) For example, for an i-th Polar code group, the common information bit set assigned for the i-th Polar code group is represented by A.sub.i, and |A.sub.i|=K.sub.si, where |A.sub.i| and K.sub.si represent the total number of elements in the common information bit set A.sub.i of the i-th Polar code group, e.g., K.sub.s1 represents the total number of elements in the common information bit set A.sub.1 of the first Polar code group, and K.sub.s2 represents the total number of elements in the common information bit set A.sub.2 of the second Polar code group.
(95) Each Polar code in any Polar code group may be represented by a common information bit set of the group. The i-th Polar code group is taken as an example for illustration. Each Polar code in the Polar code group may be represented by (N,K.sub.t), where N is the code length, and K.sub.t represents the first K.sub.t information bit indexes of the common information bit set A.sub.i of the Polar code group. Thus, compared to the conventional technology, overhead for representing Polar codes with a same code length and different code rates is saved.
(96) Exemplarily, the common information bit set A corresponding to the i-th Polar code group may be a union of information bit sets respectively corresponding to all Polar codes with different code rates in the i-th Polar code group, or may be an information bit set corresponding to a Polar code with a certain code rate in the i-th Polar code group, or may be obtained by using other methods, and the embodiment of the disclosure is not limited herein. For example, if the i-th Polar code group has three Polar codes, i.e., a Polar code with a code length of 2048 and a code rate of 0.4, a Polar code with a code length of 2048 and a code rate of 0.5, and a Polar code with a code length of 2048 and a code rate of 0.6, then the common information bit set of the i-th Polar code group may be an information bit set corresponding to a code length of 2048 and a code rate of 0.6.
(97) Exemplarily, a recurrence relation is among common information bit sets corresponding to different Polar code groups in the m Polar code groups.
(98) Exemplarily, the recurrence relation may be:
(99)
(100) where the set A.sub.i is a common information bit set corresponding to the i-th Polar code group, and δA.sub.i is a difference set between the set A.sub.i and the set A.sub.i-1;
(101) or,
(102)
(103) where the set A.sub.i is a common information bit set corresponding to the i-th Polar code group, the set A.sub.j is a common information bit set corresponding to a j-th Polar code group, ζA.sub.j is a difference set between the set A.sub.i and the set A.sub.j, and i is not equal to j.
(104) Referring to
(105) For example, the code length N=16, and A.sub.1, A.sub.2, A.sub.3 correspond to common information bit sets of three Polar code groups respectively,
(106) A.sub.1={16, 15, 14, 12, 9},
(107) A.sub.2={16, 15, 14, 12, 8, 13, 11, 10},
(108) A.sub.3={16, 15, 14, 12, 9, 13, 11, 10, 7, 6, 4},
(109) δA.sub.S2={8, 13, 11, 10},
(110) ζA.sub.2={9},
(111) δA.sub.3={9, 7, 6, 4},
(112) ζA.sub.3={8}.
(113) In the apparatus 50 for Polar code encoding according to the embodiment of the disclosure, each Polar code group in the m Polar code groups is represented by a common information bit set, where the Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2; an information bit set corresponding to each Polar code in the Polar code group is obtained based on the common information bit set corresponding to the Polar code group, and Polar code encoding is performed on information to be encoded based on the information bit set corresponding to each Polar code in the Polar code group. In this way, encoding is performed according to representation of Polar codes with a same code length and different code rates based on groups, which greatly reduces the overhead for representing the Polar codes and addresses the problem of large overhead for representing the Polar codes in the conventional technology, compared with the case that each Polar code is represented by an independent information bit set.
(114) In an aspect, an apparatus 60 for Polar code encoding is provided according to an embodiment of the disclosure. The apparatus 60 for Polar code encoding may be an independent apparatus, or may be located in an indoor baseband processing unit in a base station. Referring to
(115) The representing unit 601 is configured to represent each Polar code group in m Polar code groups by a common Frozen bit set, where Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2.
(116) Exemplarily, the code rate of any Polar code is different from each other. In the embodiment of the disclosure, preferably, Polar code are divided so that Polar codes with the code rates being close to each other are in a Polar code group. The Polar codes may also be divided by using other division methods, and the embodiment of the disclosure is not limited herein. It is only required that Frozen bit indexes included in the Frozen bit sets corresponding to the Polar codes with different code rates in each group include at least one same Frozen bit index. The information bit set corresponding to the Polar code is an information bit index set that can be used by the Polar code, which may be determined by using the method described in background, or may be determined by using other methods, and the embodiment of the disclosure is not limited herein. For example, an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 683 may be A.sub.1, where A.sub.1 is a subset including 683 elements of a set {0, 1, 2, . . . , 2047}; an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 1024 may be A.sub.2, where A.sub.2 is a subset including 1024 elements of the set {0, 1, 2, . . . , 2047}.
(117) Exemplarily, the Polar codes in each Polar code group may share a Frozen bit set set assigned for the i-th Polar code group is represented by A.sub.i.sup.c, and |A.sub.i.sup.c|=K.sub.si, where A|.sub.i.sup.c| and K.sub.si represent the total number of elements in the common Frozen bit set A.sub.i.sup.c of the i-th Polar code group.
(118) Each Polar code may be represented based on a common Frozen bit set of the group. The i-th Polar code group is taken as an example for illustration. Each Polar code in the Polar code group may be represented by (N,K.sub.t), where N is the code length, and K.sub.t represents the first (N−K.sub.t) Frozen bit indexes of the common Frozen bit set A.sub.i.sup.c of the group included in the Frozen bit set corresponding to the Polar code. The information bit set A is complementary to the Frozen bit set A.sup.c.
(119) The common Frozen bit set A.sub.i.sup.c corresponding to the i-th Polar code group may be a union of Frozen bit sets respectively corresponding to all Polar codes with different code rates in the i-th Polar code group, or may be a Frozen bit set corresponding to a Polar code with a certain code rate in the i-th Polar code group, or may be obtained by using other methods, and the embodiment of the disclosure is not limited herein. For example, if the i-th Polar code group has three Polar codes, i.e., a Polar code with a code length of 2048 and a code rate of 0.4, a Polar code with a code length of 2048 and a code rate of 0.5, and a Polar code with a code length of 2048 and a code rate of 0.6, then the common Frozen bit set corresponding to the first Polar code group may be a Frozen bit set corresponding to a code length of 2048 and a code rate of 0.4.
(120) A recurrence relation is among common Frozen bit sets respectively corresponding to the m Polar code groups.
(121) For example, the recurrence relation may be:
(122)
(123) where A.sub.i.sup.c is the common Frozen bit set corresponding to the i-th Polar code group, and δA.sub.i.sup.c is a difference set between A.sub.i.sup.c and A.sub.i-1.sup.c;
(124) or,
(125)
(126) where A.sub.i.sup.c is a common Frozen bit set corresponding to the i-th Polar code group, A is a common Frozen bit set corresponding to a j-th Polar code group, δA.sub.i.sup.c is a difference set between the set A.sub.i.sup.c and the set A.sub.j.sup.c, and i is not equal to j.
(127) The obtaining unit 602 is configured to obtain a Frozen bit set corresponding to each Polar code in the Polar code group based on the Frozen bit set corresponding to the Polar code group.
(128) In a case that the Polar codes in each Polar code group share a common Frozen bit set assigned for the group, the Frozen bit set corresponding to any Polar code (N,K.sub.t) in the i-th Polar code group includes the first (N−K.sub.t) Frozen bit indexes of the common Frozen bit set A.sub.i.sup.c of the group.
(129) The encoding unit 603 is configured to perform Polar code encoding on information to be encoded based on the Frozen bit set corresponding to each Polar code in the Polar code group.
(130) Exemplarily, if the number of bits of the information to be encoded is K, there is a Polar code with a certain code length and a certain code rate that corresponds to the bits of information to be encoded, and then the information to be encoded is encoded; if the bits of the information to be encoded is changed, there is a Polar code with another code length and another code rate that corresponds to the changed bits of information to be encoded, and then the changed information to be encoded may be encoded.
(131) In the apparatus 60 for Polar code encoding according to the embodiment of the disclosure, each Polar code group in the m Polar code groups is represented by a common Frozen bit set, where the Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2; a Frozen bit set corresponding to each Polar code in the Polar code group is obtained based on the common Frozen bit set corresponding to the Polar code group, and Polar code encoding is performed on the information to be encoded based on the Frozen bit set corresponding to each Polar code in the Polar code group. In this way, encoding is performed according to representation of Polar codes with a same code length and different code rates based on groups, which greatly reduces the overhead for representing the Polar codes and addresses the problem of large overhead for representing the Polar codes in the conventional technology, compared with the case that each Polar code is represented by an independent Frozen bit set.
(132) In an aspect, another apparatus 70 for Polar code encoding is provided according to an embodiment of the disclosure. Referring to
(133) The storage 701 is configured to store Polar codes.
(134) The processor 702 is configured to represent each Polar code group in m Polar code groups by a common Frozen bit set, where Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2;
(135) obtain a Frozen bit set corresponding to each Polar code in the Polar code group based on the Frozen bit set corresponding to the Polar code group; and
(136) perform Polar code encoding on information to be encoded based on the Frozen bit set corresponding to each Polar code in the Polar code group.
(137) Exemplarily, the code rate of any Polar code is different from each other. In the embodiment of the disclosure, preferably, Polar codes are divided so that Polar codes with the code rates being close to each other are in a Polar code group. The Polar codes may also be divided by using other division methods, and the embodiment of the disclosure is not limited herein. It is only required that Frozen bit indexes included in the Frozen bit sets corresponding to the Polar codes with different code rates in each group include at least one same Frozen bit index. The information bit set corresponding to the Polar code is an information bit index set that can be used by the Polar code, which may be determined by using the method described in background, or may be determined by using other methods, and the embodiment of the disclosure is not limited herein. For example, an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 683 may be A.sub.1, where A.sub.1 is a subset including 683 elements of a set {0, 1, 2, . . . , 2047}; an information bit set corresponding to a Polar code with the code length being 2048 and the number of information bits being 1024 may be A.sub.2, where A.sub.2 is a subset including 1024 elements of the set {0, 1, 2, . . . , 2047}.
(138) Exemplarily, the Polar codes in each Polar code group may share a Frozen bit set assigned for the group. For example, for an i-th Polar code group, the common information bit set assigned for the i-th Polar code group is represented by A.sub.i.sup.c, and |A.sub.i.sup.c|=K.sub.si, where A|.sub.i.sup.c| and K.sub.si represent the total number of elements in the common Frozen bit set A.sub.i.sup.c of the i-th Polar code group.
(139) Each Polar code may be represented based on a common Frozen bit set of the group. The i-th Polar code group is taken as an example for illustration. Each Polar code in the Polar code group may be represented by (N,K.sub.t), where N is the code length, and K.sub.t represents the first (N−K.sub.t) Frozen bit indexes of the common Frozen bit set A.sub.i.sup.c of the group included in the Frozen bit set corresponding to the Polar code. The information bit set A is complementary to the Frozen bit set A.sup.c.
(140) The common Frozen bit set A.sub.i.sup.c corresponding to the i-th Polar code group may be a union of Frozen bit sets corresponding to all Polar codes with different code rates in the i-th Polar code group, or may be a Frozen bit set corresponding to a Polar codes with a certain code rate in the i-th Polar code group, or may be obtained by using other methods, and the embodiment of the disclosure is not limited herein. For example, if the i-th Polar code group has three Polar codes, i.e., a Polar code with a code length of 2048 and a code rate of 0.4, a Polar code with a code length of 2048 and a code rate of 0.5, and a Polar code with a code length of 2048 and a code rate of 0.6, then the common Frozen bit set corresponding to the first Polar code group may be a Frozen bit set corresponding to a code length of 2048 and a code rate of 0.4.
(141) A recurrence relation is among common Frozen bit sets respectively corresponding to the m Polar code groups.
(142) For example, the recurrence relation may be:
(143)
(144) where A.sub.i.sup.c is a common Frozen bit set corresponding to the i-th Polar code group, and δA.sub.i.sup.c is a difference set between A.sub.i.sup.c and A.sub.i-1.sup.c;
(145) or,
(146)
(147) where A.sub.i.sup.c is a common Frozen bit set corresponding to the i-th Polar code group, A.sub.j.sup.c is a common Frozen bit set corresponding to a j-th Polar code group, δA.sub.i.sup.c is a difference set between the set A.sub.i.sup.c and the set A.sub.j.sup.c, and i is not equal to j.
(148) In the apparatus 70 for Polar code encoding according to the embodiment of the disclosure, each Polar code group in the m Polar code groups is represented by a common Frozen bit set, where the Polar codes in each Polar code group have a same code length and different code rates, and m is greater than or equal to 2; a Frozen bit set corresponding to each Polar code in the Polar code group is obtained based on the common Frozen bit set corresponding to the Polar code group, and Polar code encoding is performed on the information to be encoded based on the Frozen bit set corresponding to each Polar code in the Polar code group. In this way, encoding is performed according to representation of Polar codes with a same code length and different code rates based on groups, which greatly reduces the overhead for representing the Polar codes and addresses the problem of large overhead for representing the Polar codes in the conventional technology, compared with the case that each Polar code is represented by an independent Frozen bit set.
(149) Those skilled in the art should clearly know that, for convenience and concision of description, for the operation of the systems, apparatuses and units mentioned above, one can refer to corresponding processes in the method embodiments, which is not repeated herein.
(150) It should be understood that, in the embodiments of the disclosure, the disclosed systems, apparatuses and methods may be implemented in other ways. For example, the device embodiments described above are just exemplary. The units are divided based on logical functions, and may also be divided in other ways in practical implementation. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the displayed or discussed couplings, direct couplings or communication connections may be indirect couplings or communication connections through some interfaces, apparatuses or units, which may be electrical, mechanical or in other forms.
(151) The units described as separate components may be or may not be separated physically. The components shown as units may be or may not be physical units, i.e., the units may be located at one place or may be distributed onto multiple network units. All of or part of the units may be selected based on actual needs to achieve the purposes according to the embodiments of the disclosure.
(152) In addition, individual function units according to the embodiments of the disclosure may be integrated in one processing unit, or the units may exist separately, or two or more units may be integrated in one unit. The foregoing integrated units may be realized in a form of hardware, or realized in a form of combination of hardware and software functional units.
(153) The integrated unit implemented in the form of software function unit may be stored in a computer readable storage medium. The software function unit mentioned above is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, a network device or the like) to implement part of the steps of the methods according to the embodiments of the disclosure. The foregoing storage medium includes various media that can store program codes, for example, USB disk, mobile hard disk drive, read-only memory (abbreviated as ROM), random access memory (abbreviated as RAM), magnetic disk, optical disk and the like.
(154) It should be noted that, the embodiments mentioned above are only to illustrate the technical solutions of the disclosure, rather than to limit the scope of the disclosure. Though the disclosure is described in detail according to the embodiments mentioned above, those skilled in the art should understand that, the technical solution according to the embodiments mentioned above may be modified, or some technical features may be substituted equivalently; and these modifications or substitutions do not make the essence of the corresponding technical solution depart from the spirit and scope of the technical solutions in the embodiments of the disclosure.