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

Claim 1:
2. The method according to claim 1, wherein determining, based on the length of to-be-encoded information bits and the code rate, the code length N after encoding comprises:
determining a theoretical code length L based on the length of the to-be-encoded information bits (K0) and the code rate (R), wherein a value of the theoretical code length is ceil(K0/R), and ceil(x) represents rounding up x; and
determining N based on the theoretical code length and the minimum segment code length (2{circumflex over ( )}a), wherein a value of N is ceil(L/2{circumflex over ( )}a)*2{circumflex over ( )}a.