Data processing method, apparatus, and device
AssigneeHuawei Technologies Co., Ltd.
InventorsJiajie TONG, Huazi ZHANG, Xianbin WANG, Rong LI, Jun WANG
Life of this patent
Estimating the term…
Abstract
This application provides a data processing method, an apparatus, and a device, to implement an encoding method supporting blind decoding. When a quantity of information bits is large, the information bits need to be carried in a plurality of to-be-encoded blocks. In this case, during to-be-encoded block division (that is, code block division), a part of information bits in a subsequent code block may be moved to a previous code block.
Claims20
A data processing method, comprising:
- obtaining K information bits;
- determining a quantity of to-be-encoded blocks based on K;
- determining a quantity of information bits in each of C to-be-encoded blocks based on a maximum mother code length M and a code rate R;
- encoding the C to-be-encoded blocks to obtain encoded data;
- and
- sending the encoded data, wherein
- the determining a quantity of to-be-encoded blocks based on K is specifically:
- when K is less than or equal to M×R+k, C=1;
- or
- when K is greater than M×R+k, C>1, wherein quantities of information bits in various to-be-encoded blocks other than a 0th to-be-encoded block and a last to-be-encoded block are the same and are all M×R, a quantity of information bits in the last to-be-encoded block is less than or equal to M×R, a quantity of information bits in the 0th code block is equal to M×R+k, and k is greater than or equal to 0.
A data processing method, comprising:
- receiving encoded data, wherein the encoded data is obtained by encoding C to-be-encoded blocks,
- a quantity of information bits in each of the C to-be-encoded blocks is determined based on a maximum mother code length M and a code rate R,
- the quantity C of to-be-encoded blocks is determined based on a quantity K of information bits, and
- when K is less than or equal to M×R+k, C=1, or
- when K is greater than M×R+k, C>1, wherein quantities of information bits in various to-be-encoded blocks other than a 0th to-be-encoded block and a last to-be-encoded block are the same and are all M×R, a quantity of information bits in the last to-be-encoded block is less than or equal to M×R, a quantity of information bits in the 0th code block is equal to M×R+k, and k is greater than or equal to 0;
- and
- decoding the encoded data.
A communication device, comprising a memory and a processor, wherein
- the memory is configured to store instructions;
- and
- the processor is configured to execute the instructions, comprising:
- obtaining K information bits;
- determining a quantity of to-be-encoded blocks based on K;
- determining a quantity of information bits in each of C to-be-encoded blocks based on a maximum mother code length M and a code rate R;
- encoding the C to-be-encoded blocks to obtain encoded data;
- and
- sending the encoded data, wherein
- the determining a quantity of to-be-encoded blocks based on K is specifically:
- when K is less than or equal to M×R+k, C=1;
- or
- when K is greater than M×R+k, C>1, wherein quantities of information bits in various to-be-encoded blocks other than a 0th to-be-encoded block and a last to-be-encoded block are the same and are all M×R, a quantity of information bits in the last to-be-encoded block is less than or equal to M×R, a quantity of information bits in the 0th code block is equal to M×R+k, and k is greater than or equal to 0.
Dependencies are inferred from the claim text.