Code block identification method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsZhongxiao LI, Rixin LI, Yongbo ZHOU
Life of this patent
Estimating the term…
Abstract
Embodiments of this application provide example code block identification methods and example apparatuses. One example method includes obtaining, by a communication apparatus, a code block stream, and obtaining an ith code block, an (i−1)th code block, and an (i+1)th code block that are adjacent to each other in the code block stream. The communication apparatus determines a to-be-identified bit pattern based on bit patterns corresponding to the three adjacent code blocks. The communication apparatus determines the ith code block as a start boundary code block based on the to-be-identified bit pattern and a template bit pattern.
Claims20
A code block identification method, comprising:
- obtaining a code block stream, wherein the code block stream comprises a plurality of code blocks;
- determining a to-be-identified bit pattern, wherein the to-be-identified bit pattern comprises a bit pattern corresponding to an (i−1)th code block, a bit pattern corresponding to an ith code block, and a bit pattern corresponding to an (i+1)th code block, the (i−1)th code block, the ith code block, and the (i+1)th code block belong to the plurality of code blocks, the ith code block and the (i−1)th code block are adjacent code blocks, and the ith code block and the (i+1)th code block are adjacent code blocks;
- and
- determining the ith code block as a start boundary code block based on the to-be-identified bit pattern and a template bit pattern, wherein the template bit pattern comprises a first bit pattern, a second bit pattern, and a third bit pattern, the bit pattern of the (i−1)th code block corresponds to the first bit pattern, the bit pattern of the ith code block corresponds to the second bit pattern, and the bit pattern of the (i+1)th code block corresponds to the third bit pattern.
A communication apparatus, comprising:
- one or more processors;
- and
- one or more memories storing one or more computer programs, wherein when the one or more computer programs are executed by the one or more processors, the communication apparatus is enabled to perform operations comprising:
- obtaining a code block stream, wherein the code block stream comprises a plurality of code blocks;
- determining a to-be-identified bit pattern, wherein the to-be-identified bit pattern comprises a bit pattern corresponding to an (i−1)th code block, a bit pattern corresponding to an ith code block, and a bit pattern corresponding to an (i+1)th code block, the (i−1)th code block, the ith code block, and the (i+1)th code block belong to the plurality of code blocks, the ith code block and the (i−1)th code block are adjacent code blocks, and the ith code block and the (i+1)th code block are adjacent code blocks;
- and
- determining the ith code block as a start boundary code block based on the to-be-identified bit pattern and a template bit pattern, wherein the template bit pattern comprises a first bit pattern, a second bit pattern, and a third bit pattern, the bit pattern of the (i−1)th code block corresponds to the first bit pattern, the bit pattern of the ith code block corresponds to the second bit pattern, and the bit pattern of the (i+1)th code block corresponds to the third bit pattern.
A non-transitory computer storage medium, comprising computer instructions, wherein when the computer instructions are run on a communication apparatus, the communication apparatus is enabled to perform operations comprising:
- obtaining a code block stream, wherein the code block stream comprises a plurality of code blocks;
- determining a to-be-identified bit pattern, wherein the to-be-identified bit pattern comprises a bit pattern corresponding to an (i−1)th code block, a bit pattern corresponding to an ith code block, and a bit pattern corresponding to an (i+1)th code block, the (i−1)th code block, the ith code block, and the (i+1)th code block belong to the plurality of code blocks, the ith code block and the (i−1)th code block are adjacent code blocks, and the ith code block and the (i+1)th code block are adjacent code blocks;
- and
- determining the ith code block as a start boundary code block based on the to-be-identified bit pattern and a template bit pattern, wherein the template bit pattern comprises a first bit pattern, a second bit pattern, and a third bit pattern, the bit pattern of the (i−1)th code block corresponds to the first bit pattern, the bit pattern of the ith code block corresponds to the second bit pattern, and the bit pattern of the (i+1)th code block corresponds to the third bit pattern.
Dependencies are inferred from the claim text.