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

Claim 2:
3. The method according to claim 1, wherein determining, based on N, the minimum segment code length, the maximum segment code length, the reserved segment quantity of each type of segments in the segments of b−a+1 types of segment code lengths and the reserved code length corresponding to N comprises:
determining the segments of the b−a+1 types of segment code lengths based on the minimum segment code length and the maximum segment code length;
determining a first reserved segment quantity of an ith type of segments in the b−a+1 types of segments based on the b−a+1 types of segment code lengths of the segments from the smallest to the largest and based on N and first segment code length of each type of segments in the b−a+1 types of segments, wherein the first reserved segment quantity of the ith type of segments is greater than or equal to a second reserved segment quantity of an (i+1)th type of segments in the b−a+1 types of segments; and
determining the reserved code length corresponding to N based on the reserved segment quantity of each type of segments and the segment code length of each type of segments.