Patent ID: 10419158

Abstract:
Embodiments of this application provide a communications method and apparatus. The method includes: obtaining an input sequence of rate matching, wherein the input sequence is a retransmission sequence corresponding to a transport block, the input sequence comprises M code block groups, a value of M is less than a quantity of code block groups obtained after the transport block is segmented, and the M code block groups comprise Ct code blocks; and performing rate matching on the Ct code blocks, wherein a length of an output sequence of rate matching of each of the Ct code blocks satisfies the following conditions: when j≤Ct−γ−1, E=NL·Qm·└G′/Ct┘; when j>Ct−γ−1, E=NL·Qm·┌G′/Ct┐. The method may be applicable to a system in which transmission is performed based on a code block group, and resources are fully used as many as possible, thereby improving performance.