A communication method, comprising: receiving, by a first device, N transport blocks, TBs, sent by a second device, wherein each TB comprises a plurality of code block groups, CBGs, and N is a positive integer greater than 1 and each CBG comprises one or a plurality of code blocks, CBs; determining, by the first device, a hybrid automatic repeat request HARQ feedback bit of each CBG in the N TBs; determining, by the first device, a feedback bit stream of the N TBs based on the HARQ feedback bit of each CBG in the N TBs, wherein a quantity of bits of the feedback bit stream is less than a total quantity of CBGs in the N TBs; and sending, by the first device, the feedback bit stream to the second device; and wherein the determining, by the first device, a feedback bit stream of the N TBs based on the HARQ feedback bit of each CBG in the N TBs comprises: determining, by the first device, a threshold of the quantity of bits of the feedback bit stream; and bundling, by the first device, HARQ feedback bits of the CBGs in the N TBs based on the priorities of the TBs, to obtain the feedback bit stream, wherein the quantity of bits of the feedback bit stream is less than or equal to the threshold, characterized in that the priority of each TB in the N TBs is given by the average number of CBs contained in the CBGs of each TB, wherein a TB with a smaller average number of CBs has a higher priority than a TB with a higher average number of CBs, and wherein the HARQ-ACK feedback for a TB with higher priority is bundled before the HARQ-ACK feedback for a TB with lower priority. receiving, by a first device, N transport blocks, TBs, sent by a second device, wherein each TB comprises a plurality of code block groups, CBGs, and N is a positive integer greater than 1 and each CBG comprises one or a plurality of code blocks, CBs; determining, by the first device, a hybrid automatic repeat request HARQ feedback bit of each CBG in the N TBs; determining, by the first device, a feedback bit stream of the N TBs based on the HARQ feedback bit of each CBG in the N TBs, wherein a quantity of bits of the feedback bit stream is less than a total quantity of CBGs in the N TBs; and sending, by the first device, the feedback bit stream to the second device; and wherein the determining, by the first device, a feedback bit stream of the N TBs based on the HARQ feedback bit of each CBG in the N TBs comprises: determining, by the first device, a threshold of the quantity of bits of the feedback bit stream; and bundling, by the first device, HARQ feedback bits of the CBGs in the N TBs based on the priorities of the TBs, to obtain the feedback bit stream, wherein the quantity of bits of the feedback bit stream is less than or equal to the threshold, characterized in that the priority of each TB in the N TBs is given by the average number of CBs contained in the CBGs of each TB, wherein a TB with a smaller average number of CBs has a higher priority than a TB with a higher average number of CBs, and wherein the HARQ-ACK feedback for a TB with higher priority is bundled before the HARQ-ACK feedback for a TB with lower priority. determining, by the first device, a threshold of the quantity of bits of the feedback bit stream; and bundling, by the first device, HARQ feedback bits of the CBGs in the N TBs based on the priorities of the TBs, to obtain the feedback bit stream, wherein the quantity of bits of the feedback bit stream is less than or equal to the threshold, characterized in that the priority of each TB in the N TBs is given by the average number of CBs contained in the CBGs of each TB, wherein a TB with a smaller average number of CBs has a higher priority than a TB with a higher average number of CBs, and wherein the HARQ-ACK feedback for a TB with higher priority is bundled before the HARQ-ACK feedback for a TB with lower priority.