Embodiments of this application relate to the field of communication technologies, and in particular, to a data transmission method and apparatus.
In an uplink communication process or a downlink communication process in a wireless communication network, channel coding is performed on data to ensure data transmission reliability and spectral efficiency. Channel coding relates to code block segmentation and coding on a transport block sent from a medium access control (MAC) layer to a physical layer. In a current coding scheme, there is a case in which an excessively large quantity of
mapping resources are allocated, a quantity of code blocks increases, and a length of a single code block decreases. Consequently, a coding gain is relatively low.
Embodiments of this application provide a data transmission method and apparatus, to increase a coding gain.
According to a first aspect, an embodiment of this application provides a data transmission method, including:
That the first parameter is related to the second parameter satisfies at least one of the following conditions:
In this embodiment of this application, for the first parameter used to determine the transport block size, an upper limit value, or referred to as a nominal value, a reference value, or the like, of a corresponding parameter is set, to control the transport block size, so as to control a code block length corresponding to the transport block, thereby avoiding a case in which a length of a single code block is relatively small, and improving a coding gain.
In an optional implementation, before the transport block size is determined, the first parameter may be first obtained. Optionally, in the first aspect, some of parameters that can be included in the first parameter at most may be configured or scheduled, for example, the MCS and the configuration information of the transmission resource. Some of the parameters may be determined according to some rules or conditions, for example, the quantity NRE of resources to which the transport block is mapped and the quantized intermediate value N′info.
In an optional implementation, before the transport block size is determined, a message indicating a quantity of slots to which the transport block is mapped may be first obtained. The message includes an uplink grant message, a downlink grant message, a radio resource control (RRC) message, or a medium access control-control element (MAC-CE) message.
According to a second aspect, an embodiment of this application provides a data transmission apparatus, including:
In this embodiment of this application, for the first parameter used to determine the transport block size, an upper limit value, or referred to as a nominal value, a reference value, or the like, of a corresponding parameter is set, to control the transport block size, so as to control a code block length corresponding to the transport block, thereby avoiding a case in which a length of a single code block is relatively small, and improving a coding gain.
In an optional implementation, the processing module is further configured to: before determining the transport block size, obtain the first parameter by using the communication module. Optionally, in the first aspect, some of parameters that can be included in the first parameter at most may be configured or scheduled, for example, the MCS and the configuration information of the transmission resource. Some of the parameters may be determined according to some rules or conditions, for example, the quantity NRE of resources to which the transport block is mapped and the quantized intermediate value N′info.
In an optional implementation, the processing module is further configured to: before determining the transport block size, obtain, by using the communication module, a message indicating a quantity of slots to which the transport block is mapped. The message includes an uplink grant message, a downlink grant message, an RRC message, or a MAC-CE message.
The following is some optional implementations of either of the first aspect and the second aspect.
In an optional implementation, the quantity NRE of resources to which the transport block is mapped may be determined based on the transmission resource and/or the upper limit value NRETh of the quantity of resources to which the transport block is mapped. The quantity NRE of resources to which the transport block is mapped satisfies the following condition:
N
RE=min(NRE*, NRETh); or
NRE=NRE*, where
In an optional implementation, NRE* satisfies the following condition:
N
RE
*=N·(NSCRB·Nsymbsh−NDMRSPRB−NohPRB)·nPRB, where
In an optional implementation, a value of NRE* is related to a quantity of PRBs on the transmission resource and a quantity of REs allocated to the data in each PRB on the transmission resource. NRE* satisfies the following condition:
N
RE*=Σk=0n
N′
RE,k
=N·(NSCRB·Nsymb,ksh−NDMRS,kPRB−Noh,kPRB); or
N′
RE,k=Σs=0N−1(NSCRB·Nsymb,ksh(s)−NDMRS,kPRB(s)−Noh,kPRB(s)), where
In another optional implementation, NRE* is related to a quantity of slots included in the transmission resource and a quantity of REs that can be allocated to the data in each slot. NRE* satisfies the following condition:
N
RE*=Σs=0N−1N′RE(s), where
N′
RE(s)=Σk=0n
In an optional implementation, a manner of determining the quantized intermediate value N′info is related to a value range of an unquantized intermediate value Ninfo, and the unquantized intermediate value Ninfo is determined based on a parameter of the MCS, a quantity of mapping layers of the transport block, and the quantity of resources to which the transport block is mapped. In other words, a value of the quantized intermediate value N′info is related to the parameter of the MCS, the quantity of mapping layers of the transport block, and the quantity of resources to which the transport block is mapped. The parameter of the MCS may include a target code rate and a modulation order that are corresponding to the MCS.
In an optional implementation, the quantized intermediate value N′info satisfies the following condition:
where
In another optional implementation, the quantized intermediate value N′info satisfies the following condition:
where
In an optional implementation, the transport block size may be determined based on N′info and the upper limit value TtbTh of the transport block size in the foregoing optional implementation. The transport block size satisfies the following condition:
TBS=min(TBS*, TtbTh); or
TBS=TBS*, where
In an optional implementation, the transport block size is determined based on the target code rate corresponding to the MCS and N′info in the foregoing another optional implementation.
For example:
In an optional implementation, a value of NL is 1.
In an optional implementation, a value of TtbTh is any one of 3744, 3752, 3776, 3824, 3848, 8192, 8216, and 8424, and/or a value of N′infoTh is any one of 3744, 3776, 3808, 8192, and 8424.
In an optional implementation, the upper limit value TtbTh of the transport block size is related to the target code rate corresponding to the MCS.
For example:
In an optional implementation, the transmission resource includes one or more slots, and the quantity of slots included in the transmission resource is related to at least one of a parameter of the MCS, the configuration information of the transmission resource, and a quantity of scheduled RBs.
In an optional implementation, a larger MCS index corresponding to the parameter of the MCS indicates a smaller quantity of slots included in the transmission resource.
In an optional implementation, the configuration information of the transmission resource includes information indicating a transport block mapping manner, and the transport block mapping manner includes mapping a transport block to a plurality of slots. In this embodiment of this application, the transport block may be mapped to a plurality of slots for transmission, so that a code block length can be increased, and coding performance can be improved.
In an optional implementation, the second parameter is associated with the MCS. Based on the association relationship, a configuration manner of the second parameter can be simplified, overheads can be reduced, and coding performance can be improved.
According to a third aspect, this application provides a communication apparatus, including a processor. The processor is coupled to a memory, the memory is configured to store a computer program or instructions, and the processor is configured to execute the computer program or the instructions, to perform the method in the implementations of the first aspect. The memory may be located inside or outside the apparatus. There are one or more processors.
According to a fourth aspect, this application provides a communication apparatus, including a logic circuit and an input/output interface. The input/output interface is configured to communicate with another apparatus, and the processor is configured to perform the method in the implementations of the first aspect.
According to a fifth aspect, this application provides a communication system, including a network device configured to perform the method in the implementations of the first aspect and a terminal device configured to perform the method in the implementations of the first aspect.
According to a sixth aspect, this application further provides a chip system, including a processor, configured to perform the method in the implementations of the first aspect.
According to a seventh aspect, this application further provides a computer program product. The computer product includes a computer program, and when the computer program is run, the method in the implementations of the first aspect is performed.
According to an eighth aspect, this application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program or instructions, and when the instructions are run on a computer, the method in the implementations of the first aspect is implemented.
For technical effects that can be achieved in the third aspect to the eighth aspect, refer to technical effects that can be achieved by corresponding technical solutions in the first aspect. Details are not described herein again.
Embodiments of this application may be applied to a wireless communication network, for example, a 4th generation (4G) network (for example, LTE), a 5G network, or a future network. The following further describes this application in detail with reference to the accompanying drawings.
First, some terms in this application are explained and described, to help a person skilled in the art have a better understanding.
The network device may communicate with the terminal device, and provide a radio access service for the terminal device. The network device may also be referred to as a base station device, or may be referred to as a base station, a relay station, an access node (AN), or the like. For example, the network device may be an eNB or an eNodeB (evolved NodeB) in a long term evolution (LTE) system. Alternatively, the network device may be a radio controller in a cloud radio access network (CRAN) scenario. The network device may alternatively be a base station device in a 5G network, for example, a new radio (NR) network, a network device in a future 6G network, or a network device in a future evolved PLMN network. Alternatively, the network device may be a wearable device or a vehicle-mounted device.
The terminal device may also be referred to as user equipment (UE), an access terminal, a terminal unit, a terminal station, a mobile station, a mobile console, a remote station, a remote terminal, a mobile device, a mobile terminal, a terminal, a wireless communication device, a terminal agent, a terminal apparatus, or the like. The terminal device is a device that provides voice and/or data connectivity for a user. The terminal device may include a handheld device with a wireless connection function, a computing device, another processing device connected to a wireless modem, a vehicle, a vehicle-mounted device, a vehicle-mounted module, a wearable device, a terminal device in a 5G network, a terminal device in a future evolved PLMN network, or the like. For example, the terminal device may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, or a personal digital assistant (PDA). The terminal device may alternatively be a mobile phone (mobile phone), a tablet computer, a notebook computer, a palmtop computer, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in self-driving (self-driving), a wireless terminal in remote surgery (remote medical surgery), a wireless terminal in a smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in a smart city (smart city), or a wireless terminal in a smart home (smart home).
The resource block (RB) may also be referred to as a physical resource block (physical resource block), and is a basic unit of a frequency resource in a communication system based on orthogonal frequency division multiplexing (OFDM). One RB includes at least one resource element (RE). For example, one RB usually includes 12 REs, and one RE is also referred to as one subcarrier. Several RBs form one resource block group (RBG), which is alternatively referred to as a physical RBG. Generally, precoding is performed in a unit of an RB or an RBG, and a basic unit for performing precoding sending is also referred to as a precoding resource block group (PRG). One precoding resource group may not be smaller than one RBG.
The subcarrier spacing is a type of waveform parameter (numerology) in a communication system, for example, an OFDM-based communication system (for example, 5G). The numerology may be defined by using one or more of the following parameter information: a subcarrier spacing, a cyclic prefix (CP), a time unit, a bandwidth, and the like. For example, the numerology may be defined by the subcarrier spacing and the CP. CP information may include a CP length and/or a CP type. For example, the CP may be a normal cyclic prefix (NCP) or an extended cyclic prefix (ECP). The time unit is used to represent a time unit in time domain, and may be, for example, a sampling point, a symbol, a mini-slot, a slot, a subframe, or a radio frame. Time unit information may include a type, a length, a structure, or the like of the time unit. For example, some possible parameters are shown in the following Table 1a.
It may be understood that the subcarrier spacing may have another value. This is not limited.
The reference signal (RS) is a known signal used to obtain impact of an external factor (for example, a spatial channel, or an imperfection of a transmit or receive end device) on a signal during transmission, and is used to perform channel estimation, auxiliary signal demodulation, detection, and the like. A transmit end (or receive end) knows or may infer, according to a predetermined rule, time and frequency positions of the RS, another wireless signal/a symbol carried at the time and frequency, and the like. Based on functions, RSs include a demodulation reference signal (DMRS), a channel state information reference signal (CSI-RS), a phase tracking reference signal (PTRS), a sounding reference signal (SRS), and the like. The DMRS and the CSI-RS are used to obtain channel information, and the PTRS is used to obtain phase change information.
The antenna port is a logical concept. One antenna port may correspond to one physical transmit antenna, or may correspond to a plurality of physical transmit antennas. In both the cases, a receiver (receiver) of a terminal does not decompose a signal from a same antenna port. A reason is that from a perspective of the terminal, regardless of whether a channel is formed by using a single physical transmit antenna or by combining a plurality of physical transmit antennas, the antenna port is defined by an RS corresponding to the antenna port. For example, an antenna port corresponding to a DMRS is a DMRS port, and the terminal may obtain channel estimation of the antenna port based on the RS. Each antenna port corresponds to one time-frequency resource grid (time/frequency resource grid), and has an independent RS. One antenna port is one channel, and the terminal needs to perform channel estimation and data demodulation based on an RS corresponding to the antenna port.
Layer (Layer): After layer mapping is performed on a complex symbol (modulation symbol) obtained by performing scrambling (scrambling) and modulation (modulation) on one or two codewords, the complex symbol is mapped to one or more transport layers (transport layer, usually also referred to as layer). Each layer corresponds to one valid data flow. A quantity of transport layers, that is, a quantity of layers, is referred to as a “transmission order” or a “transmission rank (rank)”. The transmission rank may dynamically change. The quantity of layers needs to be less than or equal to a smaller value in a quantity of transmit antenna ports and a quantity of receive antenna ports, that is, “quantity of layers≤min(quantity of transmit antenna ports, quantity of receive antenna ports). In NR downlink communication, a quantity of transport layers is usually equal to a quantity of antenna ports. In downlink control information (DCI), a quantity of layers and/or a quantity of antenna ports (or further including a number of each antenna port) used during data and DMRS transmission are/is indicated. In NR, an antenna port may also correspond to a transmission configuration index (TCI), a beam, or the like. For example, one TCI corresponds to a plurality of antenna ports, or one beam corresponds to a plurality of antenna ports. Optionally, the TCI, the transport layer, the antenna port, and the beam may also be collectively referred to as a space domain.
Generally, a terminal device sends data to a network device through a physical uplink shared channel (PUSCH), to implement uplink communication, and the network device sends data to the terminal device through a physical downlink shared channel (PDSCH), to implement downlink communication.
For example,
As shown in (a) in
P100: After performing downlink synchronization with the base station or accessing the base station, the UE receives configuration information of the base station, where the configuration information of the base station includes configuration information such as a time/frequency position of a data signal and a bandwidth.
The configuration information may be configured by using system information or terminal-specific radio resource control (RRC) information, or may be predefined in a protocol.
For example, time information of uplink communication is configured. There may be the following information:
Alternatively, there may be the following information:
A start OFDM symbol position S of a PUSCH in a slot and a quantity L of OFDM symbols in the slot may be obtained by using a startSymbolAndLength (SLIV) field configured in an RRC message. Specifically, refer to the following manner for determining: If (L−1)≤7, SLIV=14·(L−1)+S; otherwise, SLIV=14(14−L+1)+(14−1−S). A value range of L is 0≤L≤14−S.
For example, the time information of uplink communication is predefined in a protocol. Table 1b shows time domain resource allocation of a default PUSCH with respect to an NCP.
P101: The base station sends an uplink grant (uplink grant) to the UE.
The uplink grant may be specified by using DCI or RRC information.
It should be understood that the uplink grant indicates scheduling information such as a time resource, a frequency domain resource, a modulation and coding scheme (MCS) index, and a quantity of transport layers (or a quantity of mapping layers of a transport block) of data. Based on the scheduling information, the base station and the terminal may correspondingly send or receive data. In addition, with reference to the protocol 38.212, frequency domain resource scheduling information may be indicated by using a frequency domain resource assignment field (Frequency domain resource assignment) in the DCI. Time domain resource scheduling information may further indicate a specific configured value in RRC or a value in a predefined table in a protocol by using a time domain resource assignment field (Time domain resource assignment) in the DCI.
P102: The UE sends data to the base station, that is, performs uplink data transmission (PUSCH transmission).
P103: The base station feeds back, to the UE, confirmation about whether the data is successfully received, and feeds back an acknowledgment (ACK) character if the data is successfully received, or feeds back a negative acknowledgment (NACK) character if the data is not successfully received.
As shown in (b) in
P200: After performing downlink synchronization with the base station or accessing the base station, the UE receives configuration information of the base station, where the configuration information of the base station includes configuration information such as a time/frequency position of a data signal and a bandwidth.
The configuration information may be configured by using system information or terminal-specific RRC information, or may be predefined in a protocol.
For example, time information of downlink communication is configured. There may be the following information:
Alternatively, there may be the following information:
A start OFDM symbol position S of a PDSCH in a slot and a quantity L of OFDM symbols in the slot may be obtained by using a startSymbolAndLength (SLIV) field configured in an RRC message. Specifically, refer to the following manner for determining: If (L−1)≤7, SLIV=14·(L−1)+S; otherwise, SLIV=14(14−L+1)+(14−1−S). A value range of L is 0≤L≤14−S.
For example, the time information of uplink communication is predefined in a protocol. Table 2 shows time domain resource allocation of a default PDSCH with respect to an NCP.
P201: The base station sends a downlink grant (downlink grant) to the UE.
The downlink grant may be specified by using DCI or RRC information.
It should be understood that the downlink grant indicates scheduling information such as a time resource, a frequency domain resource, an MCS, and a quantity of transport layers (or a quantity of mapping layers of a transport block) of data. Based on the scheduling information, the base station and the terminal may correspondingly send or receive data. In addition, with reference to the protocol 38.212, frequency domain resource scheduling information may be indicated by using a frequency domain resource assignment field (Frequency domain resource assignment) in the DCI. Time domain resource scheduling information may further indicate a specific configured value in RRC or a value in a predefined table in a protocol by using a time domain resource assignment field (Time domain resource assignment) in the DCI.
P202: The base station sends data to the UE, that is, performs downlink data transmission (PDSCH transmission).
P203: The UE feeds back, to the base station, confirmation about whether the data is successfully received, and feeds back an ACK character if the data is successfully received, or feeds back a NACK character if the data is not successfully received.
In an uplink communication process or a downlink communication process, channel coding is performed on data to ensure data transmission reliability and spectral efficiency. For example, PUSCH-based uplink data communication may relate to a message 3 in a random access process, or other uplink data or messages carried on a PUSCH. After a process such as channel coding is performed on these messages at a physical layer, the messages correspondingly become physical signals, and the signals are sent from a transmit antenna at a transmit end. A corresponding reverse process is performed at a receive end to restore, so as to implement communication. For example, a channel coding manner may be low density parity check (LDPC) coding.
Data sent from a medium access control (MAC) layer to the physical layer is organized in a form of a transport block (TB). One TB corresponds to one data block including a medium access control protocol data unit (MAC PDU). The TB may be data in uplink communication (for example, sent by UE to a base station), and is carried by an uplink shared channel (UL-SCH), for example, a PUSCH; or may be data in downlink communication (for example, sent by a base station to UE), and is carried by a downlink shared channel (DL-SCH), for example, a PDSCH. At the MAC layer, one TB may usually include a plurality of protocol data units. At the physical layer, one TB is further processed into one or more code blocks (code block) through channel coding. A code block is a unit for performing channel coding on data. To be specific, channel coding and rate matching (and interleaving) are performed on bits of one code block together.
After cyclic redundancy check (CRC) insertion and code block (code block) segmentation are performed on a TB, and CRC insertion, channel coding, and rate matching are performed on each code block, an obtained data bitstream may be referred to as a codeword. One codeword corresponds to one TB, and the codeword may also be understood as a TB with error protection. One codeword is further split into one or more code blocks.
S101: Send a higher layer data packet (MAC PDU), or referred to as a TB, to a physical layer.
S102: Add (attach) CRC information to the TB at the physical layer, to generate a second TB. For example, if a length of the TB is A bits, and L′ is denoted as a quantity of CRC check bits, a length of the second TB is B=A+L′. If A>3824, L′=24; otherwise, L′=16.
S103: Perform block segmentation on the second TB by using the physical layer, to obtain C code blocks 1, where C is a positive integer, for example, C=1 or C>1.
Optionally, whether to add CRC information to the plurality of code blocks is determined based on a value of C. When C=1, because the code block is equivalent to the original TB, UE does not need to add CRC information to the code block 1 obtained through block segmentation on the second TB. When C is greater than 1, the UE may add CRC information to the C code blocks.
S104: Separately perform channel coding on the C code blocks 1, to generate C code blocks 2.
S105: Perform rate matching (rate matching) or scrambling (scrambling) on the C code blocks 2, to generate C code blocks 3.
S106: Perform modulation and layer mapping on the C code blocks 3.
S107: Map code blocks 3 obtained through modulation and layer mapping to an allocated time-frequency resource, to implement uplink data transmission or downlink data transmission. For example, the UE sends a PUSCH to a base station, the PUSCH may be carried on the time-frequency resource to which the code block 3 is mapped, and the PUSCH includes the code block 3. For another example, the base station sends a PDSCH to the UE, the PDSCH may be carried on the time-frequency resource to which the code block 3 is mapped, and the PDSCH includes the code block 3. In uplink communication, the time-frequency resource is related to the time domain resource and the frequency domain resource scheduled by the uplink grant in P101. Alternatively, in downlink communication, the time-frequency resource is related to the time domain resource and the frequency domain resource scheduled by the downlink grant in P201.
A size E (or referred to as Kr, where r=0, 1, . . . , C−1) of some code blocks 3 satisfies the following formula:
is not an integer, the size E of the some code blocks satisfies the following formula:
where ┌⋅┐ represents rounding up.
Herein, G represents a total quantity of bits after the TB is coded, G=NL·m·NRE, NL is a quantity of mapping layers of the TB, m is a modulation order, and NRE is a quantity of REs to which the TB is mapped. C is a quantity of code blocks 1 or code blocks 2.
In addition, if a TB is coded into code blocks of a plurality of redundancy versions, the code blocks of the different redundancy versions may be transmitted during repeated transmission or retransmission.
Channel coding in uplink communication or downlink communication relates to determining of a transport block size (TBS), a code block length, and a quantity of code blocks. It should be understood that a receive end performs a reverse operation of the foregoing process, to restore the TB. The following describes a manner used in the conventional technology.
In the conventional technology, the size of the TB in S101 may be determined based on a time domain resource, a frequency domain resource, an MCS, and a quantity of transport layers (and/or a quantity of ports, denoted as NL) indicated in an uplink grant or a downlink grant.
The MCS indicated in the uplink grant or the downlink grant may be MCS index information. The MCS index information indicates information such as a modulation order Qm, a target code rate R, and spectral efficiency. For example, the uplink grant may indicate an MCS index table of a PUSCH based on change precoding and 64 QAM in Table 3 or Table 4, or a row in an MCS index table that may be used as a PUSCH in Table 5. For another example, the downlink grant may indicate a row in an MCS index table that may be used as a PDSCH in any one of Table 5 to Table 7.
In the conventional technology, when a higher layer parameter mcs-Table is set to ‘qam256’, Table 6 is used to determine an MCS. When a higher layer parameter mcs-Table is set to ‘qam64LowSE’, Table 4 (uplink communication) or Table 7 (downlink communication) is used to determine an MCS. Otherwise, Table 3 (uplink communication and based on discrete Fourier transform-spread-OFDM, that is, DFT-s-OFDM) or Table 5 (downlink communication or uplink communication and based on OFDM) is used to determine an MCS.
The following further describes, by using step a1 to step e1, a manner for determining a size of the TB in S101 in the related technology.
Step a1: Determine an unquantized intermediate variable Ninfo, where Ninfo=NL·R·m·NRE.
Herein, NL is a quantity (represented by a symbol v in a protocol) of mapping layers of the TB, v is a quantity of REs to which the TB is mapped, R is a target code rate, and m is a modulation order. NRE is determined in the following manner.
First, N′RE,k is determined. N′RE,k may be understood as a quantity of REs allocated to a PUSCH or a PDSCH in each PRB (whose index is denoted as k) in scheduled time. N′RE,k=NSCRB·Nsymbsh−NDMRSPRB−NohPRB. A value of NSCRB is a fixed value, and may represent a quantity of subcarriers included in one PRB in frequency domain. Generally, NSCRB=12. Nsymbsh represents a quantity of scheduled OFDM symbols in each RB (or RBG) in one slot (Nsymbsh is the number of symbols of the PDSCH allocation within the slot). NDMRSPRB represents a quantity of REs for a DMRS in each PRB in one slot (NDMRSPRB is the number of REs for DM-RS per PRB in the scheduled duration including the overhead of the DM-RS CDM groups without data). NohPRB represents a quantity of overheads in each RB (or RBG) in one slot (NohPRB is the overhead configured by higher layer parameter xOverhead in PDSCH-ServingCellConfig. If the xOverhead in PDSCH-ServingCellconfig is not configured (a value from 0, 6, 12, or 18), the NohPRB is set to 0), for example, a quantity of overheads used for RS CSI-RS transmission. For details, refer to descriptions in the protocol TS 38.214.
Then, a quantity of allocated REs is determined as NRE=min(156, N′RE)·nPRB, where nPRB is a quantity of scheduled RBs (A UE determines the total number of REs allocated for PDSCH (NRE) by NRE=min(156, N′RE)·nPRB, where nPRB is the total number of allocated PRBs for the UE).
Step b1: Determine a quantized intermediate variable N′info (quantized intermediate number of information bits) based on the unquantized intermediate variable Ninfo (Unquantized intermediate variable (Ninfo) is obtained by Ninfo=NRE·R·m·v).
It should be noted that for different values of Ninfo, methods for determining the first TBS by the UE may be different.
For example, when Ninfo≤3824, the UE determines a value of the TBS according to the following step c and step d (denoted as case 1). When Ninfo>3824, the UE determines a value of the TBS according to the following step e and step f (denoted as case 2). The following separately describes in detail case 1 and case 2.
Case 1: Ninfo≤3824
In case 1, the UE determines the value of the TBS according to the following step c and step d.
Step c1: The UE determines
Herein, n=max(3, └log2(Ninfo)┘−6).
Step d1: The UE may query, according to TBS values recorded in Table 8, a maximum value that is not greater than N′info, and use the maximum value as the value of the TBS. For example, if N′info determined according to the foregoing formula is 1200, it can be learned by querying Table 8 that a maximum value that is not greater than 1200 is 1192. In this case, the TBS is 1192 bits (bit). Table 8 is used as an example to show a correspondence between an index and a TBS.
Case 2: Ninfo>3824
Step e1: Determine
Herein, n=└log2(Ninfo−24)┘−5.
Step f1: Determine the value (which may be denoted as A described in S102 or TBS) of the TBS based on the target code rate R and N′info.
If
If
If
It should be noted that “C′” is a variable for temporarily determining a code block size.
The following further describes a manner for determining the quantity of code blocks in S103 in a related technology.
First, a channel coding LDPC base graph (LDPC base graph) needs to be determined. For example, in an existing 5G protocol, there are two types of base graphs: a base graph 1 and a base graph 2, which respectively correspond to different channel coding parameters. A method for determining a base graph is as follows: When the TBS is A≤292, or when the TBS is A≤3824 and the target code rate is R≤0.67, or when the target code rate is R≤0.25, the base graph 2 is used; otherwise, the base graph 1 is used.
Then, a quantity C of code blocks obtained by segmenting a TB may be determined based on a selected base graph and a length B of a second TB. For the base graph 1, a maximum code block length is Kcb=8448; and for the base graph 2, a maximum code block length is Kcb=3840.
When the length B of the second code block satisfies B≤Kcb, the quantity of code blocks is C=1; otherwise, the quantity of code blocks is C=┌B/(Kcb−L)┐, where L=24. Correspondingly, the finally obtained size B of the second code block (B=A+L, that is, the TBS A plus a CRC length L) is exactly divided by C (that is, is an integer multiple of C). In addition, in S103, a size of each code block 1 before CRC addition is K=B/C, and a size of each code block 1 after CRC addition is K′=B/C+L or K′=B′/C, where B′=B+CL.
A coding gain is related to a code block length. For example, a longer code block length indicates a higher coding gain, and a shorter code block length indicates a lower coding gain. However, the code block length is limited by a TBS. It can be learned from the foregoing steps a to e that, in the related technology, a TB is usually mapped to a single slot for transmission, or a single redundancy version obtained through channel coding on a TB is sent by using one slot. In a coverage-limited scenario, if a bandwidth scheduled for a terminal is low and an MCS is low, a data block that can be transmitted is small, and a total coding gain is reduced.
In addition, according to the foregoing steps a1 to e1, the code block length K is related to a (nominal or actual) total quantity (that is, NRE) of resources to which the TB is mapped and an MCS indicated by the MCS index. A code block length K corresponding to a same MCS index gradually increases with NRE, but a turning point occurs in a specific case.
Based on the foregoing problem in the conventional technology, this application provides a data transmission method and apparatus. A quantity of resources to which a TB can be mapped is adjusted for different MCSs, to determine a TBS, a code block length, and the like, thereby improving a channel coding gain, reducing CRC overheads, and improving communication performance.
The data transmission method provided in embodiments of this application may be applied to a communication system architecture shown in
The following describes the data transmission method in embodiments of this application in detail with reference to solution 1 to solution 4. Embodiments of this application are mainly described from a perspective of a transmit end. It should be understood that a receive end performs a reverse operation process in a similar manner, so that data is received.
Solution 1: An embodiment of this application provides a data transmission method. The method may be applied to the foregoing network device or terminal device, to implement a data processing process related to channel coding in uplink communication or downlink communication.
For example,
S601: A terminal device determines a TBS.
Optionally, the TBS is related to a first parameter, or the TBS is determined by a first parameter. The first parameter includes at least one of the following: an MCS, configuration information of a transmission resource, a quantity NRE of resources to which a TB is mapped, a quantized intermediate value N′info, a TBS, and a channel-coded code block length K.
The first parameter is related to a second parameter, and the second parameter includes at least one of the following: an upper limit value NRETh of the quantity of resources to which the TB is mapped, an upper limit value TtbTh of the TBS, an upper limit value N′infoTh of the intermediate quantized value, and an upper limit value KTh of a channel-coded code block length. It should be noted that, an upper limit value of a related parameter may also be referred to as a nominal value, a reference value, a preset constant, or a constant indicated by configuration information. For a name, for example, the upper limit value of the quantity of resources to which the TB is mapped may also be referred to as a nominal value of the quantity of resources to which the TB is mapped; the upper limit value of the TBS may also be referred to as a nominal value of the TBS; the upper limit value of the quantized intermediate value may also be referred to as a first nominal quantized intermediate value; and the upper limit value of the channel-coded code block length may also be referred to as a nominal code block length.
Optionally, the terminal device may determine the TBS in the following manner: The terminal device obtains the MCS, the configuration information of the transmission resource, and the second parameter; the terminal device determines the first parameter based on the MCS, the configuration information of the transmission resource, and the second parameter; and the terminal device determines the TBS based on the first parameter.
Optionally, the second parameter may be set in a predefined manner. For example, second parameters associated with different MCSs may be set, and the MCS index tables shown in Table 3 to Table 7 may be extended, to record the upper limit values of the foregoing related parameters in the tables. A solution of adding and recording an upper limit value of a related parameter in an MCS index table is described in solution 2. Optionally, a second parameter associated with an MCS may be determined based on a quantity of REs corresponding to a turning point corresponding to the MCS in
Optionally, a manner in which the terminal device obtains the MCS may be as follows: The terminal device obtains an uplink grant or a downlink grant from a network device, where the uplink grant or the downlink grant includes indication information indicating the MCS. For example, the terminal device receives DCI from the network device. The DCI includes an MCS index of the MCS. If the DCI is used for uplink grant scheduling, the MCS index included in the DCI may be an MCS index in a row in Table 3, Table 4, or Table 5. If the DCI is used for downlink grant scheduling, the MCS index included in the DCI may be an MCS index in a row in Table 5, Table 6, or Table 7. Parameters of the MCS include a target code rate R, a modulation order Qm, and the like corresponding to the MCS index.
Optionally, a manner in which the terminal device obtains the configuration information of the transmission resource may be as follows: The transmission resource may be a time domain resource or a frequency domain resource indicated by the network device in an uplink grant or a downlink grant (or an RRC message, or a MAC-CE message). The transmission resource may include one or more slots.
Optionally, the configuration information of the transmission resource includes at least one of the following configuration information: time domain resource allocation information, frequency domain resource allocation information, a mapping type, a bandwidth, and the like. Optionally, the configuration information includes but is not limited to the configuration information in P100/P101 or P200/P201.
For example, before S601,
Optionally, the network device may use indication/configuration information (for example, an uplink grant, a downlink grant, an RRC message, or a MAC-CE message) to carry at least one of the following parameters: a TB mapping manner (that is, mapping a TB to a single slot (TB processing over single-slot), or mapping a TB to a plurality of slots (TB processing over multi-slot), or mapping a TB to N slots (TB processing over N slots)), a quantity N of slots to which the TB is mapped, a mapped OFDM start symbol S, a quantity L of consecutively mapped OFDM symbols, and a total quantity F of OFDM symbols to which the TB is mapped. In this case, the terminal device may determine the TB, the quantity of code blocks, the code block size, and the quantity N of slots based on one or more of the mapping manner, N, S, L, and F obtained from the indication information (for example, the uplink grant or the downlink grant). For example, the TB, the quantity of code blocks, the code block size, and the quantity N of slots are determined based on at least one of N, S, L, and S+L. For example, the TB, the quantity of code blocks, the code block size, and the quantity N of slots are determined based on at least one of S, L, and S+L.
In this embodiment of this application, a transmission manner in which the TB is mapped to a plurality of slots or the TB is mapped to N (N is greater than 1) slots may include but is not limited to the following manners: (1) Multi-slot is indicated if S and L satisfy the following condition: S+L>X, where X is an integer. For example, X is greater than a predefined value. For example, X>14. For another example, X>20. (2) The TB, the quantity of code blocks, the code block size, and the quantity N of slots are determined based on F and a specified symbol position used to transmit the TB, where F satisfies the following condition: F is greater than a predefined value. For example, F is greater than 12. For another example, F is greater than 14. For another example, F is greater than 20. It indicates that all F OFDM symbols used to transmit the TB in the N slots jointly form one transmission occasion (transmission occasion). (3) The configuration information of the network device indicates that the TB is mapped to N>1 slots. (4) A manner of determining the quantity N of slots may alternatively be determined in a manner in solution 4 or solution 5.
It should be noted that in this embodiment of this application, the TB mapping manner may also be referred to as a TB transmission manner. Mapping a TB to a plurality of slots is also referred to as mapping a TB to N slots, where N>1. Mapping a TB to a plurality of slots means that the TB is transmitted by using the plurality of slots. In addition, the TB mapping manner may also be referred to as a TB segmentation manner (that is, the TB is segmented into a plurality of channel-coded code blocks). Optionally, for TB segmentation, a quantity of blocks may not be limited, or a maximum quantity of blocks may be limited. It should be understood that these terms correspond to a same processing manner in this embodiment of this application.
In an implementation, the TB mapping manner may be configured by using a time domain resource allocation field. Specifically, a mapping type mappingType may be used for indication. For example, a new candidate item is added to a mapping type mappingType field, and corresponding RRC signaling is:
Further, N, S, L, and F refer to a quantity of slots or OFDM symbols corresponding to a subcarrier spacing used for transmitting the indication information. Alternatively, further, N, S, L, and F refer to a quantity of slots or OFDM symbols corresponding to a subcarrier spacing used for transmitting the indication data. Alternatively, further, N, S, L, and F refer to a quantity of slots or OFDM symbols corresponding to a reference subcarrier spacing, and the reference subcarrier spacing is determined based on network configuration information.
Further, the second parameter may be used by the terminal device to determine a coding scheme of the TB. For example, the terminal device may perform channel coding on the TB based on the upper limit value of the channel-coded code block length and the TBS, to obtain n channel-coded code blocks corresponding to the TB, where a length of any one of the n channel-coded code blocks is less than or equal to the upper limit value of the channel-coded code block length, where n is a positive integer.
Optionally, a difference between the upper limit value of the TBS and the upper limit
value of the channel-coded code block length may be set to be greater than a specified threshold, and n is 1. A value of the specified threshold may be related to a quantity of bits of CRC information added to the TB, and the threshold needs to be greater than or equal to a quantity of bits required by the CRC information. In this way, a relatively long code block length can be ensured. This helps improve a coding gain.
S602: The terminal device sends or receives data on the transmission resource based on the TBS.
Optionally, the terminal device may send or receive data on the transmission resource based on the n channel-coded code blocks. For a manner of performing channel coding on the TB, refer to S101 to S107. Details are not described in this embodiment of this application.
In this embodiment of this application, an upper limit value is set for a parameter that participates in determining the TBS, to adjust the TBS, so as to avoid a case in which a quantity of mapped resources is relatively large but a code block length is relatively small, and avoid a case in which the TB is divided into more small code blocks, and consequently a channel coding gain is lost and more CRC overheads are introduced.
For example,
S801: A network device determines a TBS.
The TBS is related to a first parameter, or the TBS is determined by a first parameter. The first parameter includes at least one of the following: an MCS, configuration information of a transmission resource, a quantity NRE of resources to which a TB is mapped, a quantized intermediate value N′info, a TBS, and a first channel-coded code block length K. The first parameter is related to a second parameter, and the second parameter includes at least one of the following: an upper limit value NRETh of the quantity of resources to which the TB is mapped, an upper limit value TtbTh of the TBS, an upper limit value N′infoTh of the intermediate quantized value, and an upper limit value KTh of a channel-coded code block length.
Optionally, the network device may determine the TBS in the following manner: The network device obtains the MCS, the configuration information of the transmission resource, and the second parameter; the network device determines the first parameter based on the MCS, the configuration information of the transmission resource, and the second parameter; and the network device determines the TBS based on the first parameter.
For a manner in which the network device obtains the second parameter, refer to the manner in which the terminal device obtains the second parameter in S601. Details are not described in this embodiment of this application. The following mainly describes in detail a manner in which the network device obtains the MCS and the configuration information of the transmission resource.
Optionally, the network device may determine, based on a communication requirement between the network device and the terminal device, performance of the terminal device, and the like, an MCS and a transmission resource that are applicable to be scheduled (or configured or allocated) to the terminal device. Further, optionally, the network device may indicate the MCS and the configuration information of the transmission resource to the terminal device by using an uplink grant or a downlink grant. For a specific indication manner, refer to the implementation in which the terminal device obtains the MCS and the configuration information of the transmission resource in S601. Details are not described in this embodiment of this application. Similarly, for example,
Further, the second parameter may be used by the network device to determine a TB coding scheme, for example, determine n channel-coded code blocks corresponding to the TB, and a code block size. For an implementation in which the network device determines the TB coding scheme, refer to the implementation in which the terminal device determines the TB coding scheme in S601. Details are not described in this embodiment of this application.
S802: The network device receives or sends data on the transmission resource based on the TBS.
Optionally, the network device may receive or send data on the transmission resource based on the n channel-coded code blocks. For a manner of performing channel coding on the TB, refer to S101 to S107. Details are not described in this embodiment of this application.
In this embodiment of this application, an upper limit value is set for a parameter that participates in determining the TBS, to adjust the TBS, so as to avoid a case in which a quantity of mapped resources is relatively large but a code block length is relatively small, and avoid a case in which the TB is divided into more small code blocks, and consequently a channel coding gain is lost and more CRC overheads are introduced.
Solution 2: For different MCSs, a second parameter is set, that is, at least one second parameter has a correspondence with an MCS (or an MCS index). The second parameter may also be understood as an upper limit value (or referred to as a nominal value, a reference value, or another term) of a related parameter, to avoid a case in which a code block length jumps (decreases) and a coding gain decreases. The foregoing related parameter may include at least one of the following parameters: a TBS, a quantized intermediate value N′info, a code block length K for channel coding, and a quantity NRE of resources to which a TB is mapped.
An association relationship between an MCS index and an upper limit value of a related parameter may be shown in the following Table 9 to Table 13. Optionally, an uplink grant may indicate an MCS index in any one of Table 9 to Table 11, and a downlink grant may indicate an MCS in any one of Table 11 to Table 13. A terminal device may obtain, based on the MCS index indicated by the uplink grant or the downlink grant, other information in a row in which the MCS index is located, for example, one or more of a modulation order, a target code rate, an upper limit value TtbTh of the TBS, an upper limit value N′infoTh of the quantized intermediate value of a quantity of information bits, an upper limit value KTh of the code block length, an upper limit value NRETh of the quantity of resources to which the TB is mapped, and a base graph; and determine, based on a selected base graph, the MCS and first information associated with the MCS.
In an implementation, the upper limit value TtbTh of the TBS, the upper limit value N′infoTh of the quantized intermediate value of the quantity of information bits, and the upper limit value KTh of the code block length are related to the target code rate.
For example, when the target code rate is less than 308/1024 (that is, 0.30078125 or 0.3), the upper limit value TtbTh of the TBS is 3752; otherwise, the upper limit value TtbTh of the TBS is 8192.
For another example, when the target code rate is less than 308/1024 (that is, 0.30078125 or 0.3), the upper limit value N′infoTh of the quantized intermediate value of the quantity of information bits is 3808; otherwise, the upper limit value N′infoTh of the quantized intermediate value of the quantity of information bits is 8192.
For another example, when the target code rate is less than 308/1024 (that is, 0.30078125 or 0.3), the upper limit value KTh of the code block length is 3776; otherwise, the upper limit value KTh of the code block length is 8216.
In an implementation, at least one of the following is related to an MCS table: the upper limit value TtbTh of the TBS, the upper limit value N′infoTh of the quantized intermediate value of the quantity of information bits, the upper limit value KTh of the code block length, the upper limit value NRETh of the quantity of resources to which the TB is mapped, and the base graph. A manner of selecting the MCS table may be the same as that in the conventional technology.
In addition, it should be noted that, for any one of the following Table 9 to Table 13, an association relationship between an MCS index and other information in a row in which the MCS index is located is not limited. In actual use, the other information may be one row or several rows shown in the table, all rows in the table, or more rows than those shown in the table. The other information associated with the MCS index may be one column or several columns shown in the table, all columns in the table, or more columns than those shown in the table. The following Table 9 to Table 13 are used as an example, and do not indicate that descriptions of the association between an MCS index and other information in this embodiment of this application are limited to this example.
In this solution, when the TB is mapped to N slots, a manner of determining the resource block size, the quantity of code blocks, and the code block length is constrained by using upper limit values of parameters, so that a channel coding gain can be maximized, and CRC overheads can be reduced.
Solution 3: The following describes in detail a manner of determining parameters such as a TBS, a code block length, and a quantity of code blocks in S602. The following steps a2 to f2 are mainly included.
Step a2: Determine an unquantized intermediate variable Ninfo, where Ninfo=NL·R·m·NRE.
NL is a quantity of mapping layers of a TB, NRE is a quantity of resources to which the TB is mapped and may be a quantity of REs to which the TB is mapped, R is a target code rate, and m is a modulation order. Optionally, NRE satisfies the following condition: NRE=min(NRE*, NRETh), or NRE=NRE*. NRE* may be understood as a quantity (actual or nominal (nominal)) of resources to which the TB can be mapped.
Further, Ninfo may be represented as: Ninfo=NL·R·m·min(NRE*, NRETh) or Ninfo=NL·R·m·NRE*·NRE* is determined in the foregoing first manner or second manner. Optionally, a value of NRETh is at least one value in Table 9 to Table 13.
The following describes a determining manner of NRE*. For implementation, refer to any one of the following first manner to third manner.
In a first manner, if a transmission resource includes one slot, NRE* may be determined with reference to a manner of determining NRE in the foregoing related technology. Specifically, the solution for determining NRE in the foregoing step a1 may be used.
In a second manner, if a transmission resource includes a plurality of slots, NRE* may be determined with reference to manners in the following examples 1 to 4.
Example 1: When quantities of OFDM symbols (or OFDM symbol positions) (that is, N time domain resources are the same, and quantities and positions of OFDM symbols included in all slots corresponding to the N time domain resources are the same) and quantities of frequency domain RBs (or RB positions) in all slots are the same, N′RE,k may be determined in the following manner. N′RE,k may be understood as a quantity of REs allocated to a PUSCH (or PDSCH) in a PRB (an index is denoted as k). For example, when configurations in all slots (for example, quantities and positions of OFDM symbols occupied in all the slots) are completely the same, N′RE,k=N·(NSCRB·Nsymb,ksh−NDMRS,kPRB−Noh,kPRB). A value of NSCRB is a fixed value, and may represent a quantity of subcarriers included in one RB (or referred to as PRB) in frequency domain. For example, NSCRB=12. Nsymb,ksh represents a quantity of scheduled OFDM symbols of a kth RB (an RB may be used as a granularity, or an RBG may be used as a granularity) in one slot. Noh,kPRB represents a quantity of overheads of the kth RB (or RBG) in one slot, for example, a quantity of overheads used for CSI-RS transmission. For another example, when overheads and DMRS configurations of RBs in all slots are completely the same, N′RE=N·(NSCRB·Nsymbsh−NDMRSPRB−NohPRB). A value of NSCRB is a fixed value. For example, NSCRB=12. Nsymbsh represents a quantity of scheduled OFDM symbols of each RB (or RBG) in one slot. NohPRB represents a quantity of overheads of each RB (or RBG) in one slot, for example, a quantity of overheads used for CSI-RS transmission.
Example 2: N′RE,k is determined in the following manner based on a quantity of OFDM symbols (or OFDM symbol positions) and a quantity of frequency domain RBs (or RB positions) in a first slot (or a nominal slot) (that is, whether quantities and positions of N time domain resources and frequency domain resources are the same is not considered). N′RE,k may be understood as a quantity of REs allocated to a PUSCH (or PDSCH) in a PRB (an index is denoted as k) in the first slot. For example, N′RE,k=N·(NSCRB·Nsymb,ksh−NDMRS,kPRB−Noh,kPRB). A value of NSCRB is a fixed value, and may represent a quantity of subcarriers included in one PRB in frequency domain. For example, NSCRB=12. Nsymb,ksh represents a quantity of scheduled OFDM symbols of a kth RB (an RB may be used as a granularity, or an RBG may be used as a granularity) in the first slot. Noh,kPRB represents a quantity of overheads of the kth RB (or RBG) in the first slot, for example, a quantity of overheads used for CSI-RS transmission. For another example, when overheads and DMRS configurations of RBs in the first slot are completely the same, N′RE=N·(NSCRB·Nsymbsh−NDMRSPRB−NohPRB). A value of NSCRB is a fixed value. For example, NSCRB=12. Nsymbsh represents a quantity of scheduled OFDM symbols of each RB (or RBG) in the first slot. NohPRB represents a quantity of overheads of each RB (or RBG) in the first slot, for example, a quantity of overheads used for CSI-RS transmission. It may be understood that, English corresponding to this solution may be briefly described as: Based on the number of REs determined in the first L symbols over which the TBoMS (TB processing over multi-slot) transmission is allocated, scaled by N≥1.
Example 3: When quantities of OFDM symbols (or OFDM symbol positions) and quantities of frequency domain RBs (or RB positions) in all slots are not completely the same, N′RE,k may be determined in the following manner. N′RE,k may be understood as a quantity of REs allocated to a PUSCH (or PDSCH) in a PRB (an index is denoted as k). For example, if configurations in all slots are not completely the same, N′RE,k=Σs=0N−1(NSCRB·Nsymb,ksh(s)−NDMRS,kPRB(s)−Noh,kPRB(s)). A value of NSCRB is a fixed value. For example, NSCRB=12. Nsymb,ksh(s) represents a quantity of scheduled OFDM symbols of a kth RB (or RBG) in a slot s. Noh,ksh(s) represents a quantity of overheads of the kth RB (or RBG) in the slot s, for example, a quantity of overheads used for CSI-RS transmission. For another example, when overheads and DMRS configurations of RBs in all slots are completely the same, N′RE=Σs=0N−1(NSCRB·Nsymbsh(s)−NDMRSPRB(s)−NohPRB(s)). A value of NSCRB is a fixed value. For example, NSCRB=12. Nsymbsh(s) represents a quantity of scheduled OFDM symbols of each RB (or RBG) in a slot s. NohPRB(s) represents a quantity of overheads of each RB (or RBG) in the slot s, for example, a quantity of overheads used for CSI-RS transmission.
According to the foregoing method, a quantity of REs allocated in the entire PUSCH (or PDSCH) is NRE*=Σk=0n
Example 4: A quantity of REs may be separately counted for each slot. N′RE,k(s) is a quantity of REs allocated to a PUSCH (or PDSCH) in a PRB (an index is denoted as k) in a slot s, a quantity of PRBs scheduled in the slot s is denoted as nPRB(s), and a quantity of REs scheduled and allocated to a PUSCH (or PDSCH) in the slot s is denoted as nPRB(s), that is, a total quantity of resources in N slots to which the TB is mapped is NRE. When quantities of OFDM symbols (or OFDM symbol positions) and quantities of frequency domain RBs (or RB positions) in all slots are not completely the same, N′RE(s) may be determined in the following manner: N′RE(s)=Σk=0n
According to the foregoing method, a quantity of REs allocated in the entire PUSCH (or PDSCH) is NRE*=Σs=0N−1N′RE(s) or NRE*=N·N′RE.
In a third manner, the first information includes an upper limit value NRETh of the quantity of resources to which the TB is mapped, the quantity NRE of resources to which the TB is mapped is related to the upper limit value NRETh of the quantity of resources to which the TB is mapped, and Ninfo is related to NRETh.
Step b2: Determine a quantized intermediate variable N′info based on the unquantized intermediate variable Ninfo.
It should be noted that for different values of Ninfo, methods for determining the TBS by the UE may be different.
When Ninfo≤3824, the UE determines a value of the TBS according to the following step c2 and step d2 (denoted as case 1). When Ninfo>3824, the UE determines a value of the TBS according to the following step e2 and step f2 (denoted as case 2). The following separately describes in detail case 1 and case 2.
Case 1: Ninfo≤3824
In case 1, the value of the TBS is determined according to the following step c and step d.
Step c2: Determine
Herein, n=max(3, └log2(Ninfo)┘−6).
Further, the quantized intermediate value N′info of the quantity of information bits is related to a quantized intermediate value N′infoTh of a nominal quantity of information bits, that is, N′info may be further determined in the following manner:
Optionally, N′infoTh may be any one of the following values, for example, N′infoTh=3744, N′infoTh=3776, N′infoTh=3768, N′infoTh=3800, or N′infoTh=3808. Optionally, a value of N′infoTh is at least one value in Table 9 to Table 13.
Step d2: The UE may query, according to a preset candidate TBS set, for example, Table 8, a maximum value that is not greater than N′info, and use the maximum value as the value of the TBS, which is denoted as TBS. For example, if N′info determined according to the foregoing formula is 1200, it can be learned according to Table 8 that a maximum value that is not greater than 1200 is 1192. In this case, the TBS is 1192 bits (bit). Table 8 is used as an example. A correspondence between an index and a TBS is not limited in this embodiment of this application.
Further, the first information includes the upper limit value TtbTh of the TBS, and the TBS is related to the upper limit value TtbTh of the TBS. In this case, the TBS may be further determined in the following manner: TBS=min(TBS*, TtbTh) or TBS=TBS*, where a value of TBS* is a value queried according to Table 8. Optionally, a value of TtbTh is at least one value in Table 9 to Table 13. For example, TtbTh=3752, or 3824, or 3728, or 3800.
Case 2: Ninfo>3824
Step e2: Calculate the quantized intermediate value N′info of the quantity of information bits (quantized intermediate number of information bits).
Further, N′info is related to at least one of the following parameters: N′infoTh, TtbTh, and KTh.
Implementation 1: N′info is related to at least one of the following parameters: N′infoTh and C0.
For example, when Ninfo≤C0×N′infoTh,
Herein, n=└log2(Ninfo−24)┘−5.
For another example, when Ninfo≤C0×N′infoTh,
Herein, n=└log2(Ninfo−24)┘−5.
For another example, when Ninfo≤C0×N′infoTh,
Herein, n=└log2(Ninfo−24)┘−5.
Optionally, N′infoTh may be any one of the following values, for example, N′infoTh=3744, N′infoTh=3776, N′infoTh=8192, N′infoTh=3768, N′infoTh=3800, N′infoTh=3808, or N′infoTh=8216. Alternatively, a value of N′infoTh is at least one value in Table 9 to Table 13.
Further, the foregoing manner may be used only when the TB is mapped to N (N is greater than 1) slots. Otherwise, when N is 1, N′info is determined in the following manner:
Herein, n=└log2(Ninfo−24)┘−5.
Optionally, C0 is a predefined constant, or the parameter is determined based on configuration information.
For example, C0=1, and one TB is allowed to be transmitted on a scheduled resource by using at most one code block. Through this limitation, the code block length can be maximized, thereby maximizing a coding gain and transmission performance.
For another example, C0=2, and one TB is allowed to be transmitted on a scheduled resource by using at most two code blocks. Through this limitation, the code block length can be maximized, thereby maximizing a coding gain and transmission performance.
Implementation 2: N′info is related to at least one of the following parameters: N′infoTh, C0, N′infoTh0, N′infoTh1, or N′infoTh2. For details, refer to Table 14a or Table 14b.
A manner of obtaining values of N′infoTh and C0 is the same as that in implementation 1. N′infoTh0, N′infoTh1, and N′infoTh2 are non-negative values.
It may be understood that, N′infoTh0, N′infoTh1, and N′infoTh2 are parameters related to a quantity of channel-coded code blocks (for example, C0), and settings of the parameters correspondingly maximize a channel coding length (and a corresponding channel coding gain).
Step f2: Determine the value TBS of the TBS based on the target code rate R and N′info (TBS is A, TBS is used in the protocol 38.214, A is used in the protocol 38.212, and TBS and A may be considered the same).
Optionally, refer to the following manners (1) to (3) for implementation.
(1) If
the value of TBS is related to TtbTh and/or C0.
Optionally, TtbTh may be a parameter related to the upper limit value KTh (or referred to as a nominal code block length) of the code block length and/or a base graph length Kcb, for example, a constant related to a length Kcb=3840 of a base graph 2. Optionally, TtbTh=Kcb−16, TtbTh=Kcb−24, or TtbTh=Kcb. TtbTh may alternatively be another constant, for example, TtbTh=3752, TtbTh=3824, TtbTh=3744, or TtbTh=3776. Further, a value of TtbTh is at least one value in Table 9 to Table 13.
For example, when C≤C0,
where
For another example, when C≤C0,
where
For another example, when C≤C0,
where
Further, if C>C0 and the TB is mapped to N slots (N is greater than 1), it may be considered that the configuration is invalid.
C0 is a predefined constant, or the parameter is determined based on configuration information. Optionally, C0 herein may be the same as C0 in step e2.
For example, C0=1, and one TB is allowed to be transmitted on a scheduled resource by using at most one code block. Through this limitation, the code block length can be maximized, thereby maximizing a coding gain and transmission performance.
For another example, C0=2, and one TB is allowed to be transmitted on a scheduled resource by using at most two code blocks. Through this limitation, the code block length can be maximized, thereby maximizing a coding gain and transmission performance.
(2) If
and N′info≥8424, the value of TBS is related to TtbTh and/or C0.
Specifically, TtbTh may be a constant related to a nominal code block length KTh and/or a base graph length Kcb, for example, a constant related to a length Kcb=8448 of a base graph 1. A value of TtbTh may be any one of the following: TtbTh=Kcb−16, TtbTh=Kcb−24, or TtbTh=Kcb. TtbTh may alternatively be another constant, for example, TtbTh=8192, TtbTh=8168, or TtbTh=8424. Alternatively, a third parameter is TtbTh=8216.
For example, when C≤C0,
where
For another example, when C≤C0,
where
For another example, when C≤C0,
where
Further, if C>C0 and the TB is mapped to N slots (N is greater than 1), it may be considered that the configuration is invalid.
C0 is a predefined constant, or the parameter is determined based on configuration information. Optionally, C0 herein may be the same as C0 in step e2.
For example, C0=1, and one TB is allowed to be transmitted on a scheduled resource by using at most one code block. Through this limitation, the code block length can be maximized, thereby maximizing a coding gain and transmission performance.
For another example, C0=2, and one TB is allowed to be transmitted on a scheduled resource by using at most two code blocks. Through this limitation, the code block length can be maximized, thereby maximizing a coding gain and transmission performance.
(3) If
It should be understood that, according to the foregoing limitation on the TBS, the TB can be prevented from being divided into code blocks whose quantity exceeds a specified quantity of code blocks, thereby ensuring a code block length and a corresponding channel coding gain.
Further, the quantity of code blocks and the code block length are related to at least one of the following parameters: TtbTh, C0, N′info, and KTh. For example, the quantity of code blocks (C in S103, where a calculation manner may be the same as that in an existing protocol) is fixed to 1, and the code block length is the codeword length obtained after TBS coding and determined in the foregoing step.
It should be understood that, according to the method in this embodiment, the code block length can be kept in a relatively large range, so that a coding gain is higher. In addition, impact on the protocol is small.
It should be understood that in an implementation, any method in this embodiment is used only when a manner of mapping the TB to N slots is enabled.
In an implementation, in this embodiment of this solution, a first channel-coded code block quantity corresponding to the TB is 1, and a first channel-coded code block length K is equal to the upper limit value KTh of the channel-coded code block length.
In an implementation, a value of N′infoTh is at least one value in Table 9 to Table 13.
In an implementation, a value of TtbTh is at least one value in Table 9 to Table 13. In an implementation, a value of KTh is at least one value in Table 9 to Table 13.
It should be understood that, in an implementation, any method in this embodiment is used only when the TB is sent by using a single layer (or a single antenna port).
It should be understood that the embodiments in this solution may be used together.
Solution 4: For a solution of determining a quantity N of slots, a quantity of OFDM symbols used for TB transmission, a quantity of OFDM symbols for determining a TBS, or a quantity of slots for determining a TBS, refer to the following manner 1 or manner 2 for implementation.
Manner 1: When a TB is mapped to a plurality of slots, a quantity N of slots is related to time domain resource allocation and an MCS. As shown in the tables in solution 2, there is a relatively strong association between NRETh and an MCS index. In particular, a larger MCS index corresponds to a smaller value of NRETh. Correspondingly, a smaller quantity of required time-frequency resources indicates a smaller quantity of time-frequency resources required to reach an upper limit value for not performing code block segmentation. In view of this, different MCSs, different scheduling bandwidths nPRB, and a quantity of required OFDM symbols are defined in a predefined manner to indicate the quantity N of slots.
For example, Table 15 to Table 19 are used as examples. Quantities F of OFDM symbols in these tables respectively correspond to maximum quantities of OFDM symbols for not performing code block segmentation in different MCSs and scheduling bandwidths (quantities nPRB of RBs) (that is, for F+1, a TB is segmented into more code blocks). It should be noted that an uplink grant may indicate an MCS index in any one of Table 15 to Table 17. For another example, a downlink grant may indicate an MCS index in any one of Table 17 to Table 19. A terminal device may learn, based on the scheduling bandwidth and the MCS index indicated by the uplink grant or the downlink grant, parameters such as a modulation order and a target code rate of an MCS identified by the MCS index, and a quantity of required OFDM symbols corresponding to the scheduling bandwidth (or a quantity of slots corresponding to the quantity of required OFDM symbols).
In addition, it should be noted that, for any one of the following Table 15 to Table 19, an association relationship between an MCS index and other information in a row in which the MCS index is located is not limited. In actual use, the other information may be one row or several rows shown in the table, all rows in the table, or more rows than those shown in the table. The other information associated with the MCS index may be one column or several columns shown in the table, all columns in the table, or more columns than those shown in the table. The following Table 15 to Table 19 are used as an example, and do not indicate that descriptions of the association between an MCS index and other information (such as a quantity of OFDM symbols and a quantity of slots) in this embodiment of this application are limited to this example.
In manner 1, because a correspondence between an MCS, a bandwidth, and a quantity of OFDM symbols is fixed, signaling overheads are low. Considering that the correspondence between a quantity of OFDM symbols, an MCS, and a bandwidth is specified, protocol design and implementation may be excessively complex. To simplify the design, this embodiment of this application further provides the following manner 2.
Manner 2: When a TB is mapped to a plurality of slots, a quantity of slots (or a quantity of OFDM symbols, or a quantity of slots used to determine a TBS, or a quantity of OFDM symbols used to determine a TBS) is related to at least one of parameters such as a time domain resource allocation (time domain resource allocation), an MCS, and a quantity nPRB of scheduled RBs.
Optionally, as shown in Table 20a, a level range may be classified for the MCS, and each level range corresponds to one candidate slot configuration quantity. Alternatively, as shown in Table 20b, a level range (range) may be classified for nPRB, and each level range corresponds to one candidate slot configuration quantity.
Herein, Si is a candidate slot configuration quantity corresponding to the ith level, and a value may be an integer from 0 to 8; αi is a weighted expansion factor of the ith slot quantity, and a value may be an integer from 0 to 8; Nj is a slot quantity, and a value may be an integer from 1 to 8; “∪” represents a union set of sets; and mcs0, mcs1, and mcs2 are index level parameters. For example, mcs0 corresponds to a minimum modulation order of 4, mcs1 corresponds to a minimum modulation order of 6, and mcs2 corresponds to a minimum modulation order of 8. The foregoing description is provided by using an example in which three levels are classified, that is, i=0, 1, and 2. In practice, there may be more or fewer levels.
In an optional implementation, α3=1, α2=2, α1=4, and α0=6.
In an optional implementation, values of Si are the same, for example, are 2.
In an optional implementation, values of Si are the same, for example, are 4.
For example, different MCS level ranges correspond to different candidate slot configuration quantities, as shown in Table 21a below. Alternatively, different scheduled RB quantity nPRB level ranges correspond to different candidate slot configuration quantities, as shown in Table 21b below.
In an optional implementation, values of Si are the same, for example, are 1. Further, when a manner of mapping transmission to a plurality of slots is enabled, a quantity of slots to which transmission is mapped (or a quantity of OFDM symbols, or a quantity of slots used to determine a TBS, or a quantity of OFDM symbols used to determine a TBS) may be determined based on an MCS and a preset expansion factor α. Alternatively, a quantity of slots to which transmission is mapped (or a quantity of OFDM symbols, or a quantity of slots used to determine a TBS, or a quantity of OFDM symbols used to determine a TBS) may be determined based on a quantity nPRB of scheduled RBs and a preset expansion factor α. For example, the expansion factor α is shown in Table 22a (or 22b) below. A quantity of OFDM symbols determined based on time domain resource allocation (time domain resource allocation) is L, and corresponding α is obtained based on an MCS (or a quantity nPRB of scheduled RBs). In this case, it may be determined that a quantity of OFDM symbols to which the TB is mapped is α×L.
Similarly, further, when a manner of mapping transmission to a plurality of slots is enabled, a quantity of slots to which transmission is mapped (or a quantity of OFDM symbols, or a quantity of slots used to determine a TBS, or a quantity of OFDM symbols used to determine a TBS) may be determined based on the target code rate R and a preset expansion factor α. For example, the expansion factor α is shown in Table 23 below. A quantity of OFDM symbols determined based on time domain resource allocation (time domain resource allocation) is L, and corresponding α is obtained based on an MCS. In this case, it may be determined that a quantity of OFDM symbols to which the TB is mapped is α×L.
Herein, R0, R1, and R2 are code rate level parameters, for example, R0=0.25, R1=0.5, and R2=0.67; and αi is a weighted extension factor of the ith slot quantity, where i=0, 1, or 2. The foregoing description is provided by using an example in which three levels are classified. In practice, there may be more or fewer levels.
In manner 2, protocol and implementation complexity can be reduced, and scheduling flexibility can be ensured, so that a device does not need to store a table corresponding to manner 1. In addition, in this solution, a TB can be transmitted by using a relatively large code block length, thereby supporting relatively high transmission performance.
In conclusion, in solution 4, the quantity of slots to which the TB is mapped is associated with the MCS, or the quantity of slots to which the TB is mapped is associated with the quantity nPRB of scheduled RBs, so that scheduling overheads can be reduced and scheduling flexibility can be ensured. Protocol impact is small, and only a signal may be sent or received. Solution 4 may be used together with any one of the foregoing solution 1 to solution 3.
Further, it should be noted that a design of this solution may be applied to a case in which the quantity nPRB of RBs scheduled in frequency domain satisfies a predefined rule. For example, the quantity of RBs is nPRB≤nPRBTh, where nPRBTh is an integer. For example, nPRBTh=24. For another example, nPRBTh=32. For another example, nPRBTh=48.
Solution 5: Determine, based on at least one of the following information: a mapping type, a mapped OFDM start symbol S, a quantity L of OFDM symbols that are consecutively mapped (in a single slot, a first slot, or a nominal slot), a (nominal) quantity M of repetitions, an MCS, and a quantity nPRB of scheduled RBs, at least one of the following information: a TBS, a quantity of times that a TB is actually repeatedly sent, and a quantity of OFDM symbols used for TB transmission (or a quantity of slots used for TB transmission, or a quantity of OFDM symbols for determining a TBS, or a quantity of slots for determining a TBS).
The following further describes a related technology by using step a′ to step e′, to describe this solution.
Step a′: Determine an unquantized intermediate variable Ninfo, where Ninfo=NL·R·m·NRE.
Meanings of the symbols NL, R, m, and NRE are the same as those in other embodiments of this application. NRE is a total quantity of REs (or a nominal total quantity of REs, or a quantity determined based on a nominal quantity of repetitions and nominal time domain and frequency domain resources) within a quantity M of repetitions. For example, NRE=M·L·min(156, N′RE)·nPRB.
Step b′: Same as step b, determine a quantized intermediate variable (quantized intermediate number of information bits) N′info based on the unquantized intermediate variable Ninfo.
Step c′ is the same as step c, and step d′ is the same as step d, which are used to determine a nominal value of a TBS when Ninfo≤3824 (denoted as case 1). In this case, a quantity of code blocks is 1, and a resource within the (nominal) quantity M of repetitions is used to transmit a single TB once.
Step e′ is similar to step e, and step f′ is similar to step f, which are used to determine at least one of the following parameters when Ninfo>3824: a nominal quantity C′ of code blocks, a size TBS′ of an actually transmitted single TB, and a quantity of times that the TB is actually repeatedly transmitted.
Step e′: Determine
Herein, n=└log2(Ninfo−24)┘−5.
Step f′: Determine the nominal quantity C′ of code blocks based on a target code rate R and N′info.
If
If
If
Further, the size TBS′ of the actually transmitted single TB may be further determined. For example,
For another example,
In an implementation, the quantity of times that the TB is actually repeatedly transmitted is C′, that is, a value is the same as the nominal quantity C′ of code blocks. Further, in this case, the actual TBS may alternatively be determined according to C′ and step a to step f. For example, in step a, NRE=└M/C′┘·L·min(156, N′RE)·nPRB, or NRE=└M·L/C′┘·min(156, N′RE)·nPRB, or NRE=└M·L·min(156, N′RE)/C′┘·nPRB, or NRE=└M·L·min(156, N′RE)·nPRB/C′┘, and other steps are completely the same as the existing step b to step f It should be understood that, when C′<M, a TBS may be relatively large by using this design. However, when C′>M, a quantity of TBs may exceed a quantity of slots, and feedback overheads slightly increase. However, a code block length is still not less than a corresponding code block length during M times of repeated transmission.
Further, it may be understood that when C′<M or C′≠M, the quantity L of OFDM symbols to which the TB is actually mapped is distributed in a plurality of slots (cross-slot, or a non-integer quantity of slots).
In an implementation, when the TB is mapped to a plurality of slots, at least one of the following parameters is related to time domain resource allocation (time domain resource allocation) and the MCS: a TBS, a quantized intermediate value N′info of a quantity of information bits (quantized intermediate number of information bits), a code block length K for channel coding, and a quantity NRE of resources to which the TB is mapped.
Based on a same concept, as shown in
The communication module may also be referred to as a transceiver module, a transceiver, a transceiver machine, a transceiver apparatus, or the like. The processing module may also be referred to as a processor, a processing board, a processing unit, a processing apparatus, or the like. Optionally, a component that is in the communication module and that is configured to implement a receiving function may be considered as a receiving unit. It should be understood that the communication module is configured to perform a sending operation and a receiving operation on a network device side or a terminal device side in the foregoing method embodiments. A component that is in the communication module and that is configured to implement a sending function is considered as a sending unit. In other words, the communication module includes the receiving unit and the sending unit. When the apparatus 900 is used in a network device, the receiving unit included in the communication module 902 is configured to perform a receiving operation on a network device side, for example, receive data from a terminal device; and the sending unit included in the communication module 902 is configured to perform a sending operation on a network device side, for example, send data to a terminal device. When the apparatus 900 is used in a terminal device, the receiving unit included in the communication module 902 is configured to perform a receiving operation on a terminal device side, for example, receive data from a network device. The sending unit included in the communication module 902 is configured to perform a sending operation on a terminal device side, for example, send data to a network device. In addition, it should be noted that, if the apparatus is implemented by using a chip/chip circuit, the communication module may be an input/output circuit and/or a communication interface, and perform an input operation (corresponding to the foregoing receiving operation) and an output operation (corresponding to the foregoing sending operation). The processing module is an integrated processor, a microprocessor, or an integrated circuit.
The following describes in detail an implementation in which the apparatus 900 is used in a network device. The apparatus 900 includes:
In this embodiment of this application, for the first parameter used to determine the TBS, an upper limit value, or referred to as a nominal value, a reference value, or the like, of a corresponding parameter is set, to control the TBS, so as to control a code block length corresponding to the TB, thereby avoiding a case in which a length of a single code block is relatively small, and improving a coding gain.
In an optional implementation, the processing module 901 is further configured to: before determining the TBS, obtain the first parameter. Optionally, in the first aspect, some of parameters that can be included in the first parameter at most may be configured or scheduled, for example, the MCS and the configuration information of the transmission resource. Some of the parameters may be determined according to some rules or conditions, for example, the quantity NRE of resources to which the TB is mapped and the quantized intermediate value N′info.
In an optional implementation, the quantity NRE of resources to which the TB is mapped may be determined based on the transmission resource and/or the upper limit value NRETh of the quantity of resources to which the TB is mapped. The quantity NRE of resources to which the TB is mapped satisfies the following condition:
NRE=min(NRE*, NRETh); or
NRE=NRE*, where
In an optional implementation, a value of NRE* is related to a quantity of PRBs on the transmission resource and a quantity of REs allocated to the data in each PRB on the transmission resource. NRE* satisfies the following condition:
N
RE*=Σk=0n
N′
RE,k
=N·(NSCRB·Nsymb,ksh−NDMRS,kPRB−Noh,kPRB); or
N′
RE,k=Σs=0N−1(NSCRB·Nsymb,ksh(s)−NDMRS,kPRB(s)−Noh,kPRB(s)), where
In another optional implementation, NRE* is related to a quantity of slots included in the transmission resource and a quantity of REs that can be allocated to the data in each slot. NRE* satisfies the following condition:
N
RE*=Σs=0N−1N′RE(s), where
N′
RE(s)=Σk=0n
In an optional implementation, a manner of determining the quantized intermediate value N′info is related to a value range of an unquantized intermediate value Ninfo, and the unquantized intermediate value Ninfo is determined based on a parameter of the MCS, a quantity of mapping layers of the TB, and the quantity of resources to which the TB is mapped. In other words, a value of the quantized intermediate value N′info is related to the parameter of the MCS, the quantity of mapping layers of the TB, and the quantity of resources to which the TB is mapped. The parameter of the MCS may include a target code rate and a modulation order that are corresponding to the MCS.
In an optional implementation, the quantized intermediate value N′info satisfies the following condition:
where
In another optional implementation, the quantized intermediate value N′info satisfies the following condition:
where
In an optional implementation, the TBS may be determined based on N′info and the upper limit value TtbTh of the TBS in the foregoing optional implementation. The TBS satisfies the following condition:
TBS=min(TBS*, TtbTh); or
TBS=TBS*, where
In an optional implementation, the TBS is determined based on the target code rate corresponding to the MCS and N′info in the foregoing another optional implementation.
In an optional implementation, a value of TtbTh is any one of 3752, 3776, 3824, 3848, 8192, and 8216, and/or a value of N′infoTh is any one of 3744, 3776, 3808, and 8192.
In an optional implementation, the transmission resource includes one or more slots, and the quantity of slots included in the transmission resource is related to at least one of a parameter of the MCS and the configuration information of the transmission resource.
In an optional implementation, the configuration information of the transmission resource includes information indicating a TB mapping manner, and the TB mapping manner includes mapping a TB to a plurality of slots. In this embodiment of this application, the TB may be mapped to a plurality of slots for transmission, so that a code block length can be increased, and coding performance can be improved.
In an optional implementation, the second parameter is associated with the MCS. Based on the association relationship, a configuration manner of the second parameter can be simplified, overheads can be reduced, and coding performance can be improved.
It should be understood that the solutions and the implementations in embodiments of this application may be randomly combined.
Based on a same concept, as shown in
The communication apparatus 1000 may include at least one processor 1010. The processor 1010 is coupled to a memory. Optionally, the memory may be located inside the apparatus, or may be located outside the apparatus. For example, the communication apparatus 1000 may further include at least one memory 1020. The memory 1020 stores a computer program, configuration information, a computer program or instructions, and/or data necessary for implementing any one of the foregoing embodiments. The processor 1010 may execute the computer program stored in the memory 1020, to complete the method in any one of the foregoing embodiments.
The coupling in this embodiment of this application is an indirect coupling or a communication connection between apparatuses, units, or modules, may be in an electrical form, a mechanical form, or another form, and is used for information exchange between the apparatuses, the units, or the modules. The processor 1010 may cooperate with the memory 1020. In this embodiment of this application, a specific connection medium between the transceiver 1030, the processor 1010, and the memory 1020 is not limited.
The communication apparatus 1000 may further include the transceiver 1030, and the communication apparatus 1000 may exchange information with another device by using the transceiver 1030. The transceiver 1030 may be a circuit, a bus, a transceiver, or any other apparatus that can be configured to exchange information, or may be referred to as a signal transceiver unit. As shown in
In a possible implementation, the communication apparatus 1000 may be used in a network device. Specifically, the communication apparatus 1000 may be a network device, or may be an apparatus that can support a network device in implementing a function of the network device in any one of the foregoing embodiments. The memory 1020 stores a computer program, a computer program or instructions, and/or data necessary for implementing the function of the network device in any one of the foregoing embodiments. The processor 1010 may execute the computer program stored in the memory 1020, to complete the method performed by the network device in any one of the foregoing embodiments. When the communication apparatus is used in a network device, the transmitter 1031 in the communication apparatus 1000 may be configured to send transmission control configuration information/data to a terminal device by using the antenna 1033, and the receiver 1032 may be configured to receive, by using the antenna 1033, transmission information/data sent by a terminal device.
In another possible implementation, the communication apparatus 1000 may be used in a terminal device. Specifically, the communication apparatus 1000 may be a terminal device, or may be an apparatus that can support a terminal device in implementing a function of the terminal device in any one of the foregoing embodiments. The memory 1020 stores a computer program, a computer program or instructions, and/or data necessary for implementing the function of the terminal device in any one of the foregoing embodiments. The processor 1010 may execute the computer program stored in the memory 1020, to complete the method performed by the terminal device in any one of the foregoing embodiments. When the communication apparatus is used in a terminal device, the receiver 1032 in the communication apparatus 1000 may be configured to receive, by using the antenna 1033, transmission control configuration information/data sent by a network device, and the transmitter 1031 may be configured to send transmission information/data to a network device by using the antenna 1033.
The communication apparatus 1000 provided in this embodiment may be used in a network device to complete the method performed by the network device, or may be used in a terminal device to complete the method performed by the terminal device. Therefore, for technical effects that can be achieved by the communication apparatus, refer to the foregoing method embodiments. Details are not described herein again.
In embodiments of this application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or another programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logical block diagrams disclosed in embodiments of this application. The general-purpose processor may be a microprocessor, or may be any conventional processor or the like. The steps of the method disclosed with reference to embodiments of this application may be directly performed by a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
In embodiments of this application, the memory may be a non-volatile memory, such as a hard disk drive (hard disk drive, HDD) or a solid-state drive (solid-state drive, SSD), or may be a volatile memory (volatile memory), such as a random access memory (random access memory, RAM). The memory may alternatively be any other medium that can carry or store expected program code in a form of an instruction or a data structure and that can be accessed by a computer, but is not limited thereto. The memory in embodiments of this application may alternatively be a circuit or any other apparatus that can implement a storage function, and is configured to store a computer program, a computer program or instructions, and/or data.
As shown in
When the communication apparatus 1100 is a chip system in a terminal device, in some embodiments of this application, the logic circuit and the input/output interface may be configured to perform a function, an operation, or the like performed by the foregoing terminal device. For example, the logic circuit 1120 is configured to determine a TBS, where the TBS is related to a first parameter, the first parameter includes at least one of the following: an MCS, configuration information of a transmission resource, a quantity NRE of resources to which a TB is mapped, and a quantized intermediate value N′info, the first parameter is related to a second parameter, and the second parameter includes at least one of the following: an upper limit value NRETh of the quantity of resources to which the TB is mapped, an upper limit value TtbTh of the TBS, and an upper limit value N′infoTh of the quantized intermediate value. The input/output interface 1110 is configured to send or receive data on the transmission resource based on the TBS.
When the communication apparatus 1100 is a chip system in a network device, in some embodiments of this application, the logic circuit and the input/output interface may be configured to perform a function, an operation, or the like performed by the foregoing network device. For example, the logic circuit 1120 is configured to determine a TBS, where the TBS is related to a first parameter, the first parameter includes at least one of the following: an MCS, configuration information of a transmission resource, a quantity NRE of resources to which a TB is mapped, and a quantized intermediate value N′info, the first parameter is related to a second parameter, and the second parameter includes at least one of the following: an upper limit value NRETh of the quantity of resources to which the TB is mapped, an upper limit value TtbTh of the TBS, and an upper limit value N′infoTh of the quantized intermediate value. The input/output interface 1110 is configured to receive or send data on the transmission resource based on the TBS.
The communication apparatus 1100 provided in this embodiment may be used in a network device to perform the method performed by the network device, or may be used in a terminal device to perform the method performed by the terminal device. Therefore, for technical effects that can be achieved by the communication apparatus, refer to the foregoing method embodiments. Details are not described herein again.
Based on the foregoing embodiments, an embodiment of this application further provides a communication system. The communication system includes at least one communication apparatus used in a network device and at least one communication apparatus used in a terminal device. For technical effects that can be achieved, refer to the foregoing method embodiments. Details are not described herein again.
Based on the foregoing embodiments, an embodiment of this application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program or instructions. When the instructions are executed, the method performed by the network device or the method performed by the terminal device in any one of the foregoing embodiments is implemented. The computer-readable storage medium may include any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disc.
To implement functions of the communication apparatuses in
A person skilled in the art should understand that embodiments of this application may be provided as a method, a system, or a computer program product. Therefore, this application may be in a form of a hardware-only embodiment, a software-only embodiment, or an embodiment combining software and hardware aspects. In addition, this application may be in a form of a computer program product implemented on one or more computer-usable storage media (including but not limited to a magnetic disk memory, a CD-ROM, an optical memory, and the like) including computer-usable program code.
This application is described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product according to embodiments of this application. It should be understood that computer programs or instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer programs or instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of another programmable data processing device to generate a machine, so that the instructions executed by a computer or a processor of another programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
These computer programs or instructions may alternatively be stored in a computer-readable memory that can indicate a computer or another programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate an artifact that includes an instruction apparatus. The instruction apparatus implements a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
These computer programs or instructions may alternatively be loaded onto a computer or another programmable data processing device, so that a series of operations and steps are performed on the computer or the another programmable device, to generate computer-implemented processing. Therefore, the instructions executed on the computer or the another programmable device provide steps for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
It is clear that a person skilled in the art can make various modifications and variations to embodiments of this application without departing from the scope of embodiments of this application. Thus, this application is intended to cover these modifications and variations, provided that they fall within the scope of the claims of this application and their equivalent technologies.
Number | Date | Country | Kind |
---|---|---|---|
202110310540.X | Mar 2021 | CN | national |
This application is a continuation of International Application No. PCT/CN2022/082478, filed on Mar. 23, 2022, which claims priority to Chinese Patent Application No. 202110310540.X, filed on Mar. 23, 2021. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2022/082478 | Mar 2022 | US |
Child | 18454029 | US |