Signal sending method and apparatus, and signal receiving method and apparatus
Embodiments of this application provide a signal sending method, including: determining a first subcarrier, wherein an offset is between the first subcarrier and a center subcarrier of target resource blocks in a target bandwidth, and the offset is related to a subcarrier spacing; and determining a signal, wherein a location of the first subcarrier is the same as a carrier frequency location of the signal.
1. A communication method, comprising:
determining, by a communications apparatus, a first subcarrier, an offset being between the first subcarrier and a center subcarrier of target resource blocks in a target bandwidth, the offset being related to a subcarrier spacing, the subcarrier spacing corresponding to the first subcarrier being a maximum subcarrier spacing of a carrier, the carrier comprising the target bandwidth, and the first subcarrier satisfying:
k =floor( N* 12/2/2{circumflex over ( )}( u max −u min ))*2{circumflex over ( )}( u max −u min )+2{circumflex over ( )}( u max −u min )
where u min is a minimum subcarrier spacing supported by the communications apparatus in the target bandwidth, u max is a maximum subcarrier spacing supported by the communications apparatus in the target bandwidth, N indicates a quantity of resource blocks corresponding to the minimum subcarrier spacing u min in the target bandwidth, and floor(x) indicates rounding x down;
determining, by the communications apparatus, a signal, a frequency location of the first subcarrier being the same as a carrier frequency location of the signal; and
transmitting, by the communications apparatus, the signal.
2. The method according to claim 1 , wherein the offset is a difference value between a first index of the first subcarrier and a second index of the center subcarrier.
3. The method according to claim 1 , wherein determining the first subcarrier comprises:
determining the first subcarrier according to a quantity of the target resource blocks and the offset.
4. The method according to claim 1 , wherein the offset is further related to a quantity of the target resource blocks.
5. The method according to claim 1 , wherein determining the first subcarrier comprises:
determining a first subcarrier index, the offset being a difference value between a first index of the first subcarrier and a second index of the center subcarrier.
6. The method according to claim 5 , wherein the offset being related to the subcarrier spacing comprises:
the offset being related to an identity of the subcarrier spacing.
7. The method according to claim 1 , wherein the carrier frequency location of the signal is the same as a first carrier frequency location of the center subcarrier of the target resource blocks in the target bandwidth.
8. The method according to claim 1 , wherein the target bandwidth is configured by a network device.
9. A communication apparatus comprising:
a processor, configured to:
determine a first subcarrier, wherein an offset is between the first subcarrier and a center subcarrier of target resource blocks in a target bandwidth, wherein the subcarrier spacing corresponding to the first subcarrier is a maximum subcarrier spacing of a carrier, wherein the offset is related to a subcarrier spacing, and wherein the first subcarrier satisfies:
k =floor( N* 12/2/2{circumflex over ( )}( u max −u min ))*2{circumflex over ( )}( u max −u min )+2{circumflex over ( )}( u max −u min )
wherein u min is a minimum subcarrier spacing supported by the apparatus in the target bandwidth, u max is a maximum subcarrier spacing supported by the apparatus in the target bandwidth, N indicates a quantity of resource blocks corresponding to the minimum subcarrier spacing u min in the target bandwidth, and floor(x) indicates rounding x down;
determine a signal, wherein a frequency location of the first subcarrier is the same as a carrier frequency location of the signal; and
transmit the signal; and
a memory coupled to the processor.
10. The apparatus according to claim 9 , wherein the offset is a difference value between a first index of the first subcarrier and a second index of the center subcarrier.
11. The apparatus according to claim 9 , wherein the processor is configured to:
determine the first subcarrier according to a quantity of the target resource blocks and the offset.
12. The apparatus according to claim 9 , wherein the offset is further related to a quantity of the target resource blocks.
13. The apparatus according to claim 9 , wherein the processor is configured to:
determine a first subcarrier index, wherein the offset is a difference value between a first index of the first subcarrier and a second index of the center subcarrier.
14. The apparatus according to claim 13 , wherein the offset being related to the subcarrier spacing comprises:
the offset being related to an identity of the subcarrier spacing.
15. The apparatus according to claim 9 , wherein the subcarrier spacing corresponding to the first subcarrier is a maximum subcarrier spacing of a carrier, and the carrier comprises the target bandwidth.
16. The apparatus according to claim 9 , wherein the target bandwidth is configured by a network device.
17. A non-transitory computer readable medium storing program codes for use by a user equipment device (UE), wherein the program codes comprise instructions for:
determining a first subcarrier, wherein an offset is between the first subcarrier and a center subcarrier of target resource blocks in a target bandwidth, wherein the subcarrier spacing corresponding to the first subcarrier is a maximum subcarrier spacing of a carrier, wherein the offset is related to a subcarrier spacing, and wherein the first subcarrier satisfies:
k =floor( N* 12/2/2{circumflex over ( )}( u max −u min ))*2{circumflex over ( )}( u max −u min )+2{circumflex over ( )}( u max −u min )
wherein u min is a minimum subcarrier spacing supported by the UE in the target bandwidth, u max is a maximum subcarrier spacing supported by the UE in the target bandwidth, N indicates a quantity of resource blocks corresponding to the minimum subcarrier spacing u min in the target bandwidth, and floor (x) indicates rounding x down;
determining a signal, wherein a frequency location of the first subcarrier is the same as a carrier frequency location of the signal; and
transmitting the signal.
18. The non-transitory computer readable medium according to claim 17 , wherein the offset is a difference value between a first index of the first subcarrier and a second index of the center subcarrier.
19. The non-transitory computer readable medium according to claim 17 , wherein determining the first subcarrier comprises:
determining the first subcarrier according to a quantity of the target resource blocks and the offset.
20. The non-transitory computer readable medium according to claim 17 , wherein the offset is further related to a quantity of the target resource blocks.
21. The non-transitory computer readable medium according to claim 17 , wherein determining the first subcarrier comprises:
determining a first subcarrier index, wherein the offset is a difference value between a first index of the first subcarrier and a second index of the center subcarrier.
22. The non-transitory computer readable medium according to claim 21 , wherein the offset being related to the subcarrier spacing comprises:
the offset being related to an identity of the subcarrier spacing.