Method and apparatus for determining transport block size
Embodiments of this application provide a method and apparatus for determining a transport block size. The method includes: obtaining a target overhead value based on a target time-frequency resource and one or more of at least two overhead values, where the target time-frequency resource is used for uplink data transmission or downlink data transmission and includes one or more time-frequency resource units, and each overhead value is corresponding to at least one time-frequency resource unit; and determining a transport block size based on the target overhead value. It can be learned that, according to the method and apparatus for determining a transport block size provided in the embodiments of this application, a corresponding target overhead value may be determined for each of different target time-frequency resources. This is not only applicable to a scenario in which a dynamic time-frequency resource is scheduled, but also improves accuracy of determining the transport block size. Therefore, transmission performance is improved.
1. A method for determining a transport block size, comprising:
obtaining a target overhead value based on a target time-frequency resource and at least two overhead values, wherein the target time-frequency resource is used for uplink data transmission or downlink data transmission, and comprises one or more time-frequency resource units, and each of the at least two overhead values corresponds to at least one time-frequency resource unit; and
determining a transport block size based on the target overhead value.
2. The method according to claim 1 , wherein the target overhead value is obtained from one or more pieces of overhead value information indicated by using signaling, and/or the target overhead value is obtained from one or more pieces of stored overhead value information.
3. The method according to claim 2 , wherein the overhead value information comprises at least one of the overhead values, or at least one overhead value identifier.
4. The method according to claim 3 , wherein the overhead value information further comprises information about the at least one time-frequency resource unit corresponding to the overhead value, or the overhead value information further comprises information about at least one time-frequency resource unit corresponding to the overhead value identifier.
5. The method according to claim 4 , wherein the time-frequency resource unit comprises at least one of the following: a symbol, a slot, a resource block, a resource block group, or a subband.
6. The method according to claim 5 , wherein the information about the time-frequency resource unit comprises at least one of the following: a symbol identifier, an identifier of the symbol identifier, a symbol quantity, an identifier of the symbol quantity, a slot identifier, an identifier of the slot identifier, a slot quantity, an identifier of the slot quantity, a resource block identifier, an identifier of the resource block identifier, a resource block group identifier, an identifier of the resource block group identifier, a subband identifier, an identifier of the subband identifier, a resource block quantity, an identifier of the resource block quantity, a resource block group quantity, an identifier of the resource block group quantity, a subband quantity, or an identifier of the subband quantity.
7. The method according to claim 1 , wherein the obtaining the target overhead value based on a target time-frequency resource and at least two overhead values comprises:
obtaining the one or more time-frequency resource units in the target time-frequency resource; and
obtaining the target overhead value based on one or more overhead values corresponding to the one or more time-frequency resource units.
8. The method according to claim 1 , wherein the target overhead value is at least one of a plurality of overhead values; and
the target overhead value is obtained after a predetermined operation is performed on at least one of the plurality of overhead values.
9. The method according to claim 1 , wherein the determining a transport block size based on the target overhead value comprises:
determining reference resource element information based on the target overhead value, wherein the reference resource element information is a value of a quantity of reference resource elements that is used to calculate the transport block size; and
determining the transport block size based on the reference resource element information, resource block information, a modulation scheme, and a bit rate, wherein the resource block information is determined based on the target time-frequency resource.
10. An apparatus for determining a transport block size, comprising:
one or more processor configured to;
obtain a target overhead value based on a target time-frequency resource and at least two overhead values, wherein the target time-frequency resource is used for uplink data transmission or downlink data transmission, and comprises one or more time-frequency resource units, and each of the at least two overhead values corresponds to at least one time-frequency resource unit; and
determine a transport block size based on the target overhead value.
11. The apparatus according to claim 10 , wherein the target overhead value is obtained from one or more pieces of overhead value information indicated by using signaling, and/or the target overhead value is obtained from one or more pieces of stored overhead value information.
12. The apparatus according to claim 11 , wherein the overhead value information comprises at least one of the overhead values, or at least one overhead value identifier.
13. The apparatus according to claim 12 , wherein the overhead value information further comprises information about the at least one time-frequency resource unit corresponding to the overhead value, or the overhead value information further comprises information about at least one time-frequency resource unit corresponding to the overhead value identifier.
14. The apparatus according to claim 13 , wherein the time-frequency resource unit comprises at least one of the following: a symbol, a slot, a resource block, a resource block group, or a subband.
15. The apparatus according to claim 14 , wherein the information about the time-frequency resource unit comprises at least one of the following: a symbol identifier, an identifier of the symbol identifier, a symbol quantity, an identifier of the symbol quantity, a slot identifier, an identifier of the slot identifier, a slot quantity, an identifier of the slot quantity, a resource block identifier, an identifier of the resource block identifier, a resource block group identifier, an identifier of the resource block group identifier, a subband identifier, an identifier of the subband identifier, a resource block quantity, an identifier of the resource block quantity, a resource block group quantity, an identifier of the resource block group quantity, a subband quantity, or an identifier of the subband quantity.
16. The apparatus according to claim 10 , wherein the one or more processors are further configured to:
obtain the one or more time-frequency resource units in the target time-frequency resource; and
obtain the target overhead value based on one or more overhead values corresponding to the one or more time-frequency resource units.
17. The apparatus according to claim 10 , wherein the target overhead value is at least one of a plurality of overhead values; and
the target overhead value is obtained after a predetermined operation is performed on at least one of the plurality of overhead values.
18. The apparatus according to claim 10 , wherein the one or more processors are further configured to:
determine reference resource element information based on the target overhead value, wherein the reference resource element information is a value of a quantity of reference resource elements that is used to calculate the transport block size; and
determine the transport block size based on the reference resource element information, resource block information, a modulation scheme, and a bit rate, wherein the resource block information is determined based on the target time-frequency resource.
19. A non-transitory computer readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations, the operations comprising:
obtaining a target overhead value based on a target time-frequency resource and at least two overhead values, wherein the target time-frequency resource is used for uplink data transmission or downlink data transmission, and comprises one or more time-frequency resource units, and each of the at least two overhead values corresponds to at least one time-frequency resource unit; and
determining a transport block size based on the target overhead value.
20. The non-transitory computer readable medium according to claim 19 , wherein the target overhead value is obtained from one or more pieces of overhead value information indicated by using signaling, and/or the target overhead value is obtained from one or more pieces of stored overhead value information.