Patent ID: 11888614
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H  Y | IPC H

Claim 19:
20. A communication device, comprising:
a memory configured to store instructions; and
a processor coupled to the memory, wherein when executed by the processor, the instructions cause the communication device to:
determine, based on a length of to-be-encoded information bits and a code rate, a code length N after encoding, wherein N is a positive integer;
determine, based on N, a minimum segment code length, a maximum segment code length, a reserved segment quantity of each type of segments in segments of b−a+1 types of segment code lengths and a reserved code length corresponding to N, wherein a value of the minimum segment code length is 2{circumflex over ( )}a, a value of the maximum segment code length is 2{circumflex over ( )}b, the b−a+1 types of segment code lengths of the segments are 2{circumflex over ( )}c, a, b, and c are positive integers, a<b, and a≤c≤b;
determine a segment quantity of each type of segments based on N, the reserved code length, a segment code length of each type of segments, the reserved segment quantity of each type of segments and the segment code lengths from a largest to a smallest, wherein a sum of segment quantities of all types of segments is equal to S, N corresponds to S segments, and a first segment code length of an ith segment in the S segments is greater than or equal to a second segment code length of an (i+1)th segment in the S segments;
determine a target information bit length of each segment based on the code rate and the segment code length of each segment in the S segments; and
perform polar code encoding on the to-be-encoded information bits based on the target information bit length of each segment.