| CPC H04L 1/0006 (2013.01) [H04L 1/0002 (2013.01); H04L 1/18 (2013.01); H04W 28/04 (2013.01)] | 17 Claims |

|
1. A coding method, comprising:
coding a to-be-coded data unit to obtain a coded data unit, a size of the to-be-coded data unit being related to a size of a first data unit, the first data unit being one of a transport block (TB), a protocol data unit (PDU), or a service data unit (SDU), wherein the size of the to-be-coded data unit satisfies the following relationship:
![]() wherein S1 represents the size of the first data unit, M represents a quantity of to-be-coded data units, R represents a first coding bit rate, H represents a header size of the coded data unit, └·┘ represents rounding down, and ┌·┐ represents rounding up;
generating the first data unit based on the coded data unit; and
outputting the first data unit.
|