SRS SENDING METHOD, SRS RECEIVING METHOD, AND DEVICE

Information

  • Patent Application
  • 20210306184
  • Publication Number
    20210306184
  • Date Filed
    June 07, 2021
    3 years ago
  • Date Published
    September 30, 2021
    3 years ago
Abstract
Embodiments of this application provide an SRS sending method, an SRS receiving method, and a device. A manner of determining an antenna used to send an SRS is provided. In addition, a case in which one subframe includes a plurality of symbols is considered by using a quantity of first time units that are used by a terminal device to send an SRS in one uplink subframe and a case in which one antenna is enabled to implement continuous sending as much as possible is also considered by using a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna.
Description
TECHNICAL FIELD

This application relates to the field of communications technologies, and in particular, to an SRS sending method, an SRS receiving method, and a device.


BACKGROUND

In a time division duplex (time division duplex, TDD) system, an uplink channel and a downlink channel have reciprocity. A terminal device sends a sounding reference signal (sounding reference signal, SRS) in uplink. A network device may estimate an uplink channel by using the SRS, and may obtain a downlink beamforming weight value based on the uplink channel.


In an existing long term evolution (long term evolution, LTE) standard, the SRS may be sent on the last symbol of an uplink subframe. As shown in FIG. 1, the SRS is sent on a symbol shown in a part marked with slashes in FIG. 1.


In an LTE release (Release) 16, it has been determined that more symbols may be used to transmit the SRS in one uplink subframe. In this case, how to determine an antenna for sending an SRS is a problem that needs to be resolved.


SUMMARY

This application provides an SRS sending method, an SRS receiving method, and a device, to provide a manner of determining an antenna for sending an SRS.


According to a first aspect, a first SRS sending method is provided. A terminal device may determine, based on a quantity MSRS of first time units that are used by the terminal device to send an SRS in one uplink subframe, a first index nSRS′ of a first time unit used to send the SRS, and then determine, based on nSRS′ and a quantity Ma of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′. Therefore, a case in which one subframe includes a plurality of first time units is considered by using MSRS and a case in which one antenna is enabled to implement continuous sending as much as possible is also considered by using Ma. It may be learned that in the technical solution provided in this embodiment of this application, a manner of determining an antenna for sending an SRS is provided, and a same antenna can be enabled to implement continuous sending in one subframe as much as possible, thereby minimizing an antenna switching process.


The method may be performed by the terminal device. The terminal device may be an independent device or a communications apparatus that can support a device in implementing a function required by the method, for example, a chip system.


With reference to the first aspect, in a possible implementation of the first aspect, the terminal device may determine nSRS′ based on MSRS. For example, the terminal device may determine nSRS′ based on elements such as MSRS, an SRS transmission periodicity configured by a network device for the terminal device, a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, a frame number of the radio frame in which the SRS is located, a slot number in the radio frame in which the SRS is located, and an index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe.


In this way, a case in which one subframe includes a plurality of first time units is considered during the determining of nSRS′. Certainly, a manner of determining nSRS′ based on MSRS is not limited thereto.


With reference to the first aspect, in a possible implementation of the first aspect, the terminal device determines, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′; or the terminal device determines, based on a quantity of subbands occupied by the SRS in a frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′; or the terminal device determines, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′.


When frequency hopping or no frequency hopping is configured for the SRS, because frequency hopping involves a quantity of subbands for the frequency hopping, a manner of determining, by the terminal device, the index of the antenna used to send the SRS in the first time unit may vary, so that the index that is of the antenna used to send the SRS in the first time unit and that is determined by the terminal device is more accurate. Alternatively, regardless of whether frequency hopping or no frequency hopping is configured for the SRS, the terminal device may determine, in a same manner, the index of the antenna used to send the SRS in the first time unit. This manner is relatively simple.


With reference to the first aspect, in a possible implementation of the first aspect, when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, or in other words, when the terminal device is 1T2R, the terminal device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antenna used to send the SRS in the first time unit, and the terminal device may determine, based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, Ma, and β if frequency hopping is configured for the SRS, the index of the antenna used to send the SRS in the first time unit. Certainly, this is merely an example. When the terminal device is 1T2R, the manner of determining, by the terminal device, the index of the antenna used to send the SRS in the first time unit is not limited thereto.


With reference to the first aspect, in a possible implementation of the first aspect, when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, or in other words, when the terminal device is 1T4R, the terminal device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′ and Ma if no frequency hopping is configured for the SRS, the index of the antenna used to send the SRS in the first time unit, and the terminal device may determine, based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, Ma, and β if frequency hopping is configured for the SRS, the index of the antenna used to send the SRS in the first time unit. Certainly, this is merely an example. When the terminal device is 1T4R, the manner of determining, by the terminal device, the index of the antenna used to send the SRS in the first time unit is not limited thereto.


With reference to the first aspect, in a possible implementation of the first aspect, when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, or in other words, when the terminal device is 2T4R, the terminal device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antenna used to send the SRS in the first time unit, and the terminal device may determine, based on the quantity of subbands occupied by the SRS in the frequency hopping process, the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, Ma, and β if frequency hopping is configured for the SRS, the index of the antenna used to send the SRS in the first time unit. Certainly, this is merely an example. When the terminal device is 2T4R, the manner of determining, by the terminal device, the index of the antenna used to send the SRS in the first time unit is not limited thereto.


With reference to the first aspect, in a possible implementation of the first aspect, regardless of whether frequency hopping is configured for the SRS and regardless of whether the terminal device is 1T2R, 1T4R, or 2T4R, the terminal device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma, the index of the antenna used to send the SRS in the first time unit. This manner is relatively simple.


With reference to the first aspect, in a possible implementation of the first aspect, the terminal device may further determine, based on nSRS′, a subband used to send the SRS, to complete frequency hopping. The subband is determined based on nSRS′, so that a case in which the terminal device sends the SRS in one subframe by using a plurality of first time units is considered.


With reference to the first aspect, in a possible implementation of the first aspect, the terminal device may determine, based on nSRS′, a quantity of antennas in the terminal device, SRS-hopping bandwidth delivered by the network device, a periodic SRS frequency domain position or aperiodic SRS frequency domain position delivered by the network device, and an SRS-bandwidth configuration delivered by the network device, the subband used to send the SRS. Certainly, a manner of determining, by the terminal device based on nSRS′, the subband used to send the SRS is not limited thereto.


According to a second aspect, a second SRS sending method is provided. In this method, a terminal device traverses all of P subbands when sending an SRS in P first time units, and the terminal device traverses all transmit antennas of the terminal device when sending the SRS in the P first time units. In this way, a network device can obtain channel information of all uplink subbands in a relatively short time, so that the network device can perform relatively proper scheduling on the terminal device. In addition, in this embodiment of this application, when an antenna used to send the SRS is being determined, a case in which one subframe includes a plurality of first time units is considered and a case in which one antenna is enabled to implement continuous sending as much as possible is also considered by using Ma, so that a quantity of antenna switching times can be reduced in one subframe, or no antenna switching may be performed in one subframe, to ensure service continuity as much as possible and reduce power consumption caused by antenna switching of the terminal device.


The method may be performed by the terminal device. The terminal device may be an independent device or a communications apparatus that can support a device in implementing a function required by the method, for example, a chip system.


With reference to the second aspect, in a possible implementation of the second aspect, the terminal device may determine nSRS′ based on MSRS. For example, the terminal device may determine nSRS′ based on elements such as MSRS, an SRS transmission periodicity configured by the network device for the terminal device, a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, a frame number of the radio frame in which the SRS is located, a slot number in the radio frame in which the SRS is located, and an index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe.


In this way, a case in which one subframe includes a plurality of first time units is considered during the determining of nSRS′. Certainly, a manner of determining nSRS′ based on MSRS is not limited thereto.


With reference to the first aspect or the second aspect, in a possible implementation, the first time unit is one symbol or H consecutive symbols, and H is an integer greater than or equal to 2. In other words, the first time unit may be one symbol or a plurality of consecutive symbols. An implementation of the first time unit is not limited in this embodiment of this application.


According to a third aspect, a first SRS receiving method is provided. A network device may determine, based on a quantity MSRS of first time units that are used by a terminal device to send an SRS in one uplink subframe, a first index nSRS′ of a first time unit used to send the SRS, and then may determine, based on nSRS′ and a quantity Ma of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′. Therefore, a case in which one subframe includes a plurality of first time units is considered by using MSRS and a case in which one antenna is enabled to implement continuous sending as much as possible is also considered by using Ma. It may be learned that in the technical solution provided in this embodiment of this application, a manner of determining an antenna for sending an SRS is provided, and a same antenna can be enabled to implement continuous sending in one subframe as much as possible, thereby minimizing an antenna switching process.


The method may be performed by the network device. The network device may be an independent device or a communications apparatus that can support a device in implementing a function required by the method, for example, a chip system.


With reference to the third aspect, in a possible implementation of the third aspect, the network device may determine nSRS′ based on MSRS. For example, the terminal device may determine nSRS′ based on elements such as MSRS, an SRS transmission periodicity configured by the network device for the terminal device, a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, a frame number of the radio frame in which the SRS is located, a slot number in the radio frame in which the SRS is located, and an index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe.


In this way, a case in which one subframe includes a plurality of first time units is considered during the determining of nSRS′. Certainly, a manner of determining nSRS′ based on MSRS is not limited thereto.


With reference to the third aspect, in a possible implementation of the third aspect, the network device determines, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′; or the network device determines, based on a quantity of subbands occupied by the SRS in a frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′; or the network device determines, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′.


When frequency hopping or no frequency hopping is configured for the SRS, because frequency hopping involves a quantity of subbands for the frequency hopping, a manner of determining, by the network device, the index of the antenna used to send the SRS in the first time unit may vary, so that the index that is of the antenna used to send the SRS in the first time unit and that is determined by the network device is more accurate. Alternatively, regardless of whether frequency hopping or no frequency hopping is configured for the SRS, the network device may determine, in a same manner, the index of the antenna used to send the SRS in the first time unit. This manner is relatively simple.


With reference to the third aspect, in a possible implementation of the third aspect, when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, or in other words, when the terminal device is 1T2R, the network device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′ and Ma if no frequency hopping is configured for the SRS, the index of the antennas used to send the SRS in the first time unit, and the network device may determine, based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, Ma, and β if frequency hopping is configured for the SRS, the index of the antenna used to send the SRS in the first time unit. Certainly, this is merely an example. When the terminal device is 1T2R, the manner of determining, by the network device, the index of the antenna used to send the SRS in the first time unit is not limited thereto.


With reference to the third aspect, in a possible implementation of the third aspect, when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, or in other words, when the terminal device is 1T4R, the network device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′ s, and Ma if no frequency hopping is configured for the SRS, the index of the antennas used to send the SRS in the first time unit, and the network device may determine, based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, Ma, and β if frequency hopping is configured for the SRS, the index of the antenna used to send the SRS in the first time unit. Certainly, this is merely an example. When the terminal device is 1T4R, the manner of determining, by the network device, the index of the antenna used to send the SRS in the first time unit is not limited thereto.


With reference to the third aspect, in a possible implementation of the third aspect, when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, or in other words, when the terminal device is 2T4R, the network device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antennas used to send the SRS in the first time unit, and the network device may determine, based on the quantity of subbands occupied by the SRS in the frequency hopping process, the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, Ma, and β if frequency hopping is configured for the SRS, the index of the antenna used to send the SRS in the first time unit. Certainly, this is merely an example. When the terminal device is 2T4R, the manner of determining, by the network device, the index of the antenna used to send the SRS in the first time unit is not limited thereto.


With reference to the third aspect, in a possible implementation of the third aspect, regardless of whether frequency hopping is configured for the SRS and regardless of whether the terminal device is 1T2R, 1T4R, or 2T4R, the network device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma, the index of the antenna used to send the SRS in the first time unit. This manner is relatively simple.


With reference to the third aspect, in a possible implementation of the third aspect, the network device may further determine, based on nSRS′, a subband used to send the SRS, to complete frequency hopping. The subband is determined based on nSRS′, so that a case in which the terminal device sends the SRS in one subframe by using a plurality of first time units is considered.


With reference to the third aspect, in a possible implementation of the third aspect, the network device may determine, based on nSRS′, a quantity of antennas in the terminal device, SRS-hopping bandwidth delivered by the network device, a periodic SRS frequency domain position or aperiodic SRS frequency domain position delivered by the network device, and an SRS-bandwidth configuration delivered by the network device, the subband used to send the SRS. Certainly, a manner of determining, by the network device based on nSRS′, the subband used to send the SRS is not limited thereto.


According to a fourth aspect, a second SRS receiving method is provided. In this method, a network device traverses all of P subbands when receiving an SRS in P first time units, and the network device traverses all transmit antennas of a terminal device when receiving the SRS in the P first time units. In this way, the network device can obtain channel information of all uplink subbands in a relatively short time, so that the network device can perform relatively proper scheduling on the terminal device. In addition, in this embodiment of this application, when an antenna used to send the SRS is being determined, a case in which one subframe includes a plurality of first time units is considered and a case in which one antenna is enabled to implement continuous sending as much as possible is also considered by using Ma, so that a quantity of antenna switching times can be reduced in one subframe, or no antenna switching may be performed in one subframe, to ensure service continuity as much as possible and reduce power consumption caused by antenna switching of the terminal device.


The method may be performed by the network device. The network device may be an independent device or a communications apparatus that can support a device in implementing a function required by the method, for example, a chip system.


With reference to the fourth aspect, in a possible implementation of the fourth aspect, the network device may determine nSRS′ based on MSRS. For example, the network device may determine nSRS′ based on elements such as MSRS, an SRS transmission periodicity configured by the network device for the terminal device, a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, a frame number of the radio frame in which the SRS is located, a slot number in the radio frame in which the SRS is located, and an index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe.


In this way, a case in which one subframe includes a plurality of first time units is considered during the determining of nSRS′. Certainly, a manner of determining nSRS′ based on MSRS is not limited thereto.


With reference to the third aspect or the fourth aspect, in a possible implementation, the first time unit is one symbol or H consecutive symbols, and H is an integer greater than or equal to 2. In other words, the first time unit may be one symbol or a plurality of consecutive symbols. An implementation of the first time unit is not limited in this embodiment of this application.


According to a fifth aspect, a first terminal device is provided. The terminal device includes a processor, configured to implement the method described in any one of the first aspect and the possible implementations of the first aspect. The terminal device may further include a memory, configured to store program instructions and data. The memory is coupled to the processor, and the processor may invoke and execute the program instructions stored in the memory, to implement the method described in any one of the first aspect and the possible implementations of the first aspect. The terminal device may further include a communications interface, and the communications interface is used by the terminal device to communicate with another device. For example, if the terminal device is an independent device, the communications interface is, for example, a transceiver. For example, the another device is a network device. For example,


the transceiver is configured to receive configuration information from the network device, where the configuration information is used to indicate a quantity MSRS of first time units that are used by the terminal device to send an SRS in one subframe, and the subframe includes a plurality of first time units.


The processor is configured to determine, based on MSRS, a first index nSRS′ of a first time unit used to send the SRS.


The processor is further configured to determine, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′, where Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna.


The transceiver is further configured to send, by using the antenna, the SRS in the first time unit indicated by nSRS′.


With reference to the fifth aspect, in a possible implementation of the fifth aspect, the processor is configured to determine, in the following manner based on MSRS, the first index nSRS′ of the first time unit used to send the SRS:

    • nSRS′ satisfies the following formula








n
SRS


=

{







(





2


N
SP



n
f


+

2


(


N
SP

-
1

)












n
s

10



+




T
offset


T

offset

_

max









)

×

M
SRS


+
m

,







frame











structure





type






2





with





an





SRS






periodicity





of





2





ms
















n
f

×
10

+





n
s

2



/

T
SRS





×

M
SRS


+
m

,




other





cases




}


,




where


TSRS represents an SRS transmission periodicity configured by the network device for the terminal device, Toffset represents a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, NSP represents a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, nf represents a frame number of the radio frame in which the SRS is located, ns represents a slot number in the radio frame in which the SRS is located, ns=0, 1, . . . , 19, m represents an index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe, and m=0, 1, . . . , MSRS−1.


With reference to the fifth aspect, in a possible implementation of the fifth aspect, the processor is further configured to:


determine, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′; or


determine, based on a quantity of subbands occupied by the SRS in a frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′; or


determine, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′.


With reference to the fifth aspect, in a possible implementation of the fifth aspect, when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the processor is configured to determine, in the following manner based on nSRS′ and Ma, the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′:


the processor is configured to determine, in the following manner based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


the processor is configured to determine, in the following manner based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula:








a


(

n

SRS

_

ant


)


=

{






(





n

SRS

_

ant


+




n

SRS

_

ant


/
2



+






β
·





M
a

×

n

SRS

_

ant



K







)


mod





2

,




when


K

M
a



is





an





even





integer








n

SRS

_

ant







mod





2

,




other





cases




}


,




where


a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, K represents the quantity of subbands occupied by the SRS in the frequency hopping process, and






β
=

{





1
,





when


K

M
a



mod





4

=
0






0
,




other





cases




.






With reference to the fifth aspect, in a possible implementation of the fifth aspect, when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the processor is configured to determine, in the following manner based on nSRS′ and Ma, the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′:


the processor is configured to determine, in the following manner based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


the processor is configured to determine, in the following manner based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula:







a


(

n

SRS

_

ant


)


=

{







(





n

SRS

_

ant


+




n

SRS

_

ant


/
2



+






β
·





M
a

×

n

SRS

_

ant



K







)


mod





2

,




when


K

M
a



is





an





even





integer








n

SRS

_

ant







mod





2

,




other





cases




,






where


a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, K represents the quantity of subbands occupied by the SRS in the frequency hopping process, mod represents a modulo operation, and






β
=

{





1
,






if






N
1


=
2

,


N
2

=

2
=
0








0
,




other





cases




.






With reference to the fifth aspect, in a possible implementation of the fifth aspect, when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the processor is configured to determine, in the following manner based on nSRS′ and Ma, the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′:


the processor is configured to determine, in the following manner based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, and Λ is 2 or 3; or


the processor is configured to determine, in the following manner based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula:








a


(

n

SRS

_

ant


)


=

{






(





n

SRS

_

ant


+




n

SRS

_

ant


Λ



+






β


(





M
a

×

n

SRS

_

ant



K



)





)


mod





Λ

,







when


K

M
a



is





an





integer







and






K

M
s



mod





Λ

=
0











n

SRS

_

ant







mod





Λ

,




other





cases




}


,




where


a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, K represents the quantity of subbands occupied by the SRS in the frequency hopping process, mod represents a modulo operation, and






β
=

{





1
,





when


K

M
a



mod






Λ
2


=
0






0
,




other





cases




.






With reference to the fifth aspect, in a possible implementation of the fifth aspect, the processor is configured to determine, in the following manner based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′:


when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, and Λ is 2 or 3.


With reference to the fifth aspect, in a possible implementation of the fifth aspect, the processor is further configured to:


determine, based on nSRS′, a subband used to send the SRS.


With reference to the fifth aspect, in a possible implementation of the fifth aspect, the processor is configured to determine, in the following manner based on nSRS′, the subband used to send the SRS:


an index of the subband used to send the SRS satisfies the following formula:








n
b

=

{








4



n
RRC

/

m

SRS
,
b







mod






N
b


,





when





b



b
hop









(



F
b



(

n

SRS

_

fh


)


+




4


n
RRC



m

SRS
,
b






)


mod






N
b


,




other





cases




}


,




where








n

SRS

_

fh


=






n
SRS




M
a



N
ant





×

M
a


+


n
SRS







mod






M
a




,




Nant represents a quantity of antennas in the terminal device, and











{







(


N
b

2

)







n


SRS
,
fh









mod

Π



?



N

b





Π


?



N

b








+





n


SRS
,
fh









mod

Π



?



N

b






?


Π


?



N

b















[


N
b

/
2

]







n

SRS
,
fh


/
Π



?



N

b







,




,






?



indicates text missing or illegible when filed








when Nb is an even number


when Nb is an odd number, where


bhop is determined based on SRS-hopping bandwidth delivered by the network device, bhop□{0, 1, 2, 3}, nRBC is determined based on a periodic SRS frequency domain position or an aperiodic SRS frequency domain position delivered by the network device, and BSRS, Nb, Nb′, and MSRS,b are determined based on an SRS-bandwidth configuration delivered by the network device.


For technical effects of any one of the fifth aspect and the possible implementations of the fifth aspect, refer to the descriptions of the technical effects of the first aspect or the possible implementations of the first aspect.


According to a sixth aspect, a second terminal device is provided. The terminal device includes a processor, configured to implement the method described in any one of the second aspect and the possible implementations of the second aspect. The terminal device may further include a memory, configured to store program instructions and data. The memory is coupled to the processor, and the processor may invoke and execute the program instructions stored in the memory, to implement the method described in any one of the second aspect and the possible implementations of the second aspect. The terminal device may further include a communications interface, and the communications interface is used by the terminal device to communicate with another device. For example, if the terminal device is an independent device, the communications interface is, for example, a transceiver. For example, the another device is a network device. For example,


the transceiver is configured to receive configuration information from the network device, where the configuration information is used to indicate the terminal device to perform frequency hopping within P subbands, and P is a positive integer.


The transceiver is further configured to send an SRS to the network device in a frequency hopping manner within the P subbands, where the terminal device traverses all of the P subbands when sending the SRS in P first time units, and the terminal device traverses all transmit antennas of the terminal device when sending the SRS in the P first time units; and the processor included in the terminal device determines, based on the following formula, an index of an antenna used to send the SRS in the P first time units, where


when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, and Λ is 2 or 3, where


Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit used to send the SRS.


With reference to the sixth aspect, in a possible implementation of the sixth aspect, nSRS′ satisfies the following formula:








n
SRS


=

{







(





2


N
SP



n
f


+

2


(


N
SP

-
1

)












n
s

10



+




T
offset


T

offset

_

max









)

×

M
SRS


+
m

,







frame





structure





type





2





with






an





SRS





periodicity





of





2





ms
















n
f

×
10

+





n
s

2



/

T
SRS





×

M
SRS


+
m

,




other





cases




}


,




where


TSRS represents an SRS transmission periodicity configured by the network device for the terminal device, Toffset represents a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, NSP represents a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, nf represents a frame number of the radio frame in which the SRS is located, ns represents a slot number in the radio frame in which the SRS is located, ns=0, 1, . . . , 19, MSRS represents a quantity of first time units that are allocated to the terminal device to transmit the SRS in one subframe, m represents an index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe, and m=0, 1, . . . , MSRS−1.


With reference to the sixth aspect, in a possible implementation of the sixth aspect, the first time unit is one symbol or H consecutive symbols, and H is an integer greater than or equal to 2.


For technical effects of any one of the sixth aspect and the possible implementations of the sixth aspect, refer to the descriptions of the technical effects of the second aspect or the possible implementations of the second aspect.


According to a seventh aspect, a first network device is provided. The network device includes a processor, configured to implement the method described in any one of the third aspect and the possible implementations of the third aspect. The terminal device may further include a memory, configured to store program instructions and data. The memory is coupled to the processor, and the processor may invoke and execute the program instructions stored in the memory, to implement the method described in any one of the third aspect and the possible implementations of the third aspect. The network device may further include a communications interface, and the communications interface is used by the network device to communicate with another device. For example, if the network device is an independent device, the communications interface is, for example, a transceiver. For example, the another device is a terminal device. For example,


the transceiver is configured to send configuration information to the terminal device, where the configuration information is used to indicate a quantity MSRS of first time units that are used by the terminal device to send an SRS in one subframe, and the subframe includes a plurality of first time units.


The processor is configured to determine, based on MSRS, a first index nSRS′ of a first time unit used to send the SRS.


The processor is further configured to determine, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′, where Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna.


The transceiver is further configured to receive, by using the antenna, the SRS in the first time unit indicated by nSRS′.


With reference to the seventh aspect, in a possible implementation of the seventh aspect, the processor is configured to determine, in the following manner based on MSRS, the first index nSRS′ of the first time unit used to send the SRS:


nSRS′ satisfies the following formula:








n
SRS


=

{







(





2


N
SP



n
f


+

2


(


N
SP

-
1

)












n
s

10



+




T
offset


T

offset

_

max









)

×

M
SRS


+
m

,







frame





structure





type





2





with






an





SRS





periodicity





of





2





ms
















n
f

×
10

+





n
s

2



/

T
SRS





×

M
SRS


+
m

,




other





cases




}


,




where


TSRS represents an SRS transmission periodicity configured by the network device for the terminal device, Toffset represents a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, NSP represents a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, nf represents a frame number of the radio frame in which the SRS is located, ns represents a slot number in the radio frame in which the SRS is located, ns=0, 1, . . . , 19, m represents an index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe, and m=0, 1, . . . , MSRS−1.


With reference to the seventh aspect, in a possible implementation of the seventh aspect, the processor is further configured to:


determine, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′; or


determine, based on a quantity of subbands occupied by the SRS in a frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′; or


determine, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′.


With reference to the seventh aspect, in a possible implementation of the seventh aspect, when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the processor is configured to determine, in the following manner based on nSRS′ and Ma, the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′:


the processor is configured to determine, in the following manner based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


the processor is configured to determine, in the following manner based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′ and Ma if frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula:






{







(





n

SRS

_

ant


+




n

SRS

_

ant


/
2



+






β
·





M
a

×

n

SRS

_

ant



K







)


mod





2

,




when


K

M
a



is





an





even





integer








n

SRS

_

ant







mod





2

,




other





cases




,





where


a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, K represents the quantity of subbands occupied by the SRS in the frequency hopping process, and






β
=

{





1
,





when


K

M
a



mod





4

=
0






0
,




other





cases




.






With reference to the seventh aspect, in a possible implementation of the seventh aspect, when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the processor is configured to determine, in the following manner based on nSRS′ and Ma, the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′:


the processor is configured to determine, in the following manner based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


the processor is configured to determine, in the following manner based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula:






{







(





n

SRS

_

ant


+




n

SRS

_

ant




max


(

?

)




K

M
a






+






β
·

(





n

SRS

_

ant



?





mod





max


(


?



K

M
a



)



?





)





)


mod





4

,







when


K

M
a



is





an






even





integer











n

SRS

_

ant







mod





4

,




other





cases




,






?



indicates text missing or illegible when filed







where


a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, K represents the quantity of subbands occupied by the SRS in the frequency hopping process, mod represents a modulo operation, and






β
=

{





1
,






if






N
1


=
2

,


N
2

=
2







0
,




other





cases




.






With reference to the seventh aspect, in a possible implementation of the seventh aspect, when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the processor is configured to determine, in the following manner based on nSRS′ and Ma, the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′:


the processor is configured to determine, in the following manner based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, and Λ is 2 or 3; or


the processor is configured to determine, in the following manner based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, where


the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula:








a


(


n
SRS



?


)


=

{






(





n
SRS



?







β


(





M
a

×

n
SRS



?


K



)





)


mod





Λ

,








when






K

M
a







is





an





integer





and













K

M
a



mod





Λ

=
0











n
SRS



?






mod





Λ

,




other





cases




}


,






?



indicates text missing or illegible when filed






where


a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, K represents the quantity of subbands occupied by the SRS in the frequency hopping process, mod represents a modulo operation, and






β
=

{





1
,





if






K

M
a







mod






Λ
2


=
0






0
,




other





cases




.






With reference to the seventh aspect, in a possible implementation of the seventh aspect, the processor is configured to determine, in the following manner based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′:


when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, and Λ is 2 or 3.


With reference to the seventh aspect, in a possible implementation of the seventh aspect, the processor is further configured to:


determine, based on nSRS′, a subband used to send the SRS.


With reference to the seventh aspect, in a possible implementation of the seventh aspect, the processor is configured to determine, in the following manner based on nSRS′ the subband used to send the SRS:


an index of the subband used to send the SRS satisfies the following formula:








n
b

=

{








4



n

R

R

C


/

m


S

RS

,
b







mod






N
b


,





when





b



b

h

o

p










(



F
b



(

n

SRS

_

fh


)


+




4


n

R

R

C




m

SRS
,
b






)


mod






N
b


,




other





cases




}


,




where








n

SRS

_

fh


=






n
SRS




M
a



N
ant





×

M
a


+


n
SRS







mod






M
a




,




Nant represents a quantity of antennas in the terminal device, and








F
b



(

n

SRS

_

fh


)


=

{











(


N
b

2

)







n

SRS

_

fh



mod


?



N

b





?





+










n

SRS

_

fh



mod


?



N

b





?







,




when






N
b






is





an





even





number











N
b

/
2








n

SRS

_

fh


/




b
-
1









?


N


?







,




when






N
b






is





an





odd





number




,






?



indicates text missing or illegible when filed








where


bhop is determined based on SRS-hopping bandwidth, bhop□{0, 1, 2, 3}, nRRC is determined based on a periodic SRS frequency domain position or an aperiodic SRS frequency domain position, and BSRS, Nb, Nb′, and MSRS,b are determined based on an SRS-bandwidth configuration.


For technical effects of any one of the seventh aspect and the possible implementations of the seventh aspect, refer to the descriptions of the technical effects of the third aspect or the possible implementations of the third aspect.


According to an eighth aspect, a second network device is provided. The network device includes a processor, configured to implement the method described in any one of the fourth aspect and the possible implementations of the fourth aspect. The terminal device may further include a memory, configured to store program instructions and data. The memory is coupled to the processor, and the processor may invoke and execute the program instructions stored in the memory, to implement the method described in any one of the fourth aspect and the possible implementations of the fourth aspect. The network device may further include a communications interface, and the communications interface is used by the network device to communicate with another device. For example, if the network device is an independent device, the communications interface is, for example, a transceiver. For example, the another device is a terminal device. For example,


the transceiver is configured to send configuration information to the terminal device, where the configuration information is used to indicate the terminal device to perform frequency hopping within P subbands, and P is a positive integer.


The transceiver is further configured to receive an SRS from the terminal device in a frequency hopping manner within the P subbands, where the network device traverses all of the P subbands when receiving the SRS in P first time units, and the network device traverses all transmit antennas of the terminal device when receiving the SRS in the P first time units; and the processor included in the network device determines, based on the following formula, an index of an antenna used to receive the SRS in the P first time units, where


when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, and Λ is 2 or 3, where


Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit used to send the SRS.


With reference to the eighth aspect, in a possible implementation, nSRS′ satisfies the following formula:








n
SRS


=

{







(








2


N
SP



n
f


+







2


(


N
SP

-
1

)






n
s

10




+












T
offset


T

offset
,
max








)

×

M
SRS


+
m

,







frame





structure





type





2





with






an





SRS





periodicity





of





2





ms
















n
f

×
10

+





n
2

2



/

T
SRS





×

M
SRS


+
m

,




other





cases




}


,




where


TSRS represents an SRS transmission periodicity configured by the network device for the terminal device, Toffset represents a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, NSP represents a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, nf represents a frame number of the radio frame in which the SRS is located, ns represents a slot number in the radio frame in which the SRS is located, ns=0, 1, . . . , 19, MSRS represents a quantity of first time units that are allocated to the terminal device to transmit the SRS in one subframe, m represents an index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe, and m=0, 1, . . . , MSRS−1.


With reference to the eighth aspect, in a possible implementation, the first time unit is one symbol or H consecutive symbols, and H is an integer greater than or equal to 2.


For technical effects of any one of the eighth aspect and the possible implementations of the eighth aspect, refer to the descriptions of the technical effects of the fourth aspect or the possible implementations of the fourth aspect.


According to a ninth aspect, a third terminal device is provided. The terminal device may be an independent device or a chip disposed in a device. A function of the terminal device may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more modules (or units) corresponding to the foregoing function.


In a possible design, a specific structure of the terminal device may include a processing module and a transceiver module. The processing module and the transceiver module may perform corresponding functions in the method provided in any one of the first aspect and the possible implementations of the first aspect. For example, the processing module may perform a function performed by the processor in any one of the fifth aspect and the possible implementations of the fifth aspect, and the transceiver module may perform a function performed by the transceiver in any one of the fifth aspect and the possible implementations of the fifth aspect.


According to a tenth aspect, a fourth terminal device is provided. The terminal device may be an independent device or a chip disposed in a device. A function of the terminal device may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more modules (or units) corresponding to the foregoing function.


In a possible design, a specific structure of the terminal device may include a processing module and a transceiver module. The processing module and the transceiver module may perform corresponding functions in the method provided in any one of the second aspect and the possible implementations of the second aspect. For example, the processing module may perform a function performed by the processor in any one of the sixth aspect and the possible implementations of the sixth aspect, and the transceiver module may perform a function performed by the transceiver in any one of the sixth aspect and the possible implementations of the sixth aspect.


According to an eleventh aspect, a third network device is provided. The network device may be an independent device or a chip disposed in a device. A function of the network device may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more modules (or units) corresponding to the foregoing function.


In a possible design, a specific structure of the network device may include a processing module and a transceiver module. The processing module and the transceiver module may perform corresponding functions in the method provided in any one of the third aspect and the possible implementations of the third aspect. The processing module may perform a function performed by the processor in any one of the seventh aspect and the possible implementations of the seventh aspect, and the transceiver module may perform a function performed by the transceiver in any one of the seventh aspect and the possible implementations of the seventh aspect.


According to a twelfth aspect, a fourth network device is provided. The network device may be an independent device or a chip disposed in a device. A function of the network device may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more modules (or units) corresponding to the foregoing function.


In a possible design, a specific structure of the network device may include a processing module and a transceiver module. The processing module and the transceiver module may perform corresponding functions in the method provided in any one of the fourth aspect and the possible implementations of the fourth aspect. The processing module may perform a function performed by the processor in any one of the eighth aspect and the possible implementations of the eighth aspect, and the transceiver module may perform a function performed by the transceiver in any one of the eighth aspect and the possible implementations of the eighth aspect.


According to a thirteenth aspect, a computer-readable storage medium is provided, including instructions. When the instructions are run on a computer, the computer is enabled to perform the method in any one of the first aspect and the possible implementations of the first aspect.


According to a fourteenth aspect, a computer-readable storage medium is provided, including instructions. When the instructions are run on a computer, the computer is enabled to perform the method in any one of the second aspect and the possible implementations of the second aspect.


According to a fifteenth aspect, a computer-readable storage medium is provided, including instructions. When the instructions are run on a computer, the computer is enabled to perform the method in any one of the third aspect and the possible implementations of the third aspect.


According to a sixteenth aspect, a computer-readable storage medium is provided, including instructions. When the instructions are run on a computer, the computer is enabled to perform the method in any one of the fourth aspect and the possible implementations of the fourth aspect.


According to a seventeenth aspect, a computer program product including instructions is provided. The computer program product stores the instructions. When the instructions are run on a computer, the computer is enabled to perform the method in any one of the first aspect and the possible designs of the first aspect.


According to an eighteenth aspect, a computer program product including instructions is provided. The computer program product stores the instructions. When the instructions are run on a computer, the computer is enabled to perform the method in any one of the second aspect and the possible designs of the second aspect.


According to a nineteenth aspect, a computer program product including instructions is provided. The computer program product stores the instructions. When the instructions are run on a computer, the computer is enabled to perform the method in any one of the third aspect and the possible designs of the third aspect.


According to a twentieth aspect, a computer program product including instructions is provided. The computer program product stores the instructions. When the instructions are run on a computer, the computer is enabled to perform the method in any one of the fourth aspect and the possible designs of the fourth aspect.


According to a twenty-first aspect, a fifth terminal device is provided. The terminal device may be an independent device or a chip disposed in a device. The terminal device includes: a memory, configured to store computer executable program code; and a processor, where the processor is coupled to the memory. The program code stored in the memory includes instructions, and when the processor executes the instructions, a sixth communications apparatus is enabled to perform the method in any one of the first aspect and the possible implementations of the first aspect.


The terminal device may further include a communications interface. If the terminal device is an independent device, the communications interface may be a transceiver in the terminal device, for example, a radio frequency transceiver component in a device; or if the terminal device is a chip disposed in a device, the communications interface may be an input/output interface of the chip, for example, an input/output pin. The communications interface may be connected to the radio frequency transceiver component in the device in which the terminal device is located, to implement information receiving and sending by using the radio frequency transceiver component.


According to a twenty-second aspect, a sixth terminal device is provided. The terminal device may be an independent device or a chip disposed in a device. The terminal device includes: a memory, configured to store computer executable program code; and a processor, where the processor is coupled to the memory. The program code stored in the memory includes instructions, and when the processor executes the instructions, a sixth communications apparatus is enabled to perform the method in any one of the second aspect and the possible implementations of the second aspect.


The terminal device may further include a communications interface. If the terminal device is an independent device, the communications interface may be a transceiver in the terminal device, for example, a radio frequency transceiver component in a device; or if the terminal device is a chip disposed in a device, the communications interface may be an input/output interface of the chip, for example, an input/output pin. The communications interface may be connected to the radio frequency transceiver component in the device in which the terminal device is located, to implement information receiving and sending by using the radio frequency transceiver component.


According to a twenty-third aspect, a fifth network device is provided. The network device may be an independent device or a chip disposed in a device. The network device includes: a memory, configured to store computer executable program code; and a processor, where the processor is coupled to the memory. The program code stored in the memory includes instructions, and when the processor executes the instructions, a sixth communications apparatus is enabled to perform the method in any one of the third aspect and the possible implementations of the third aspect.


The network device may further include a communications interface. If the network device is an independent device, the communications interface may be a transceiver in the network device, for example, a radio frequency transceiver component in a device; or if the network device is a chip disposed in a device, the communications interface may be an input/output interface of the chip, for example, an input/output pin. The communications interface may be connected to the radio frequency transceiver component in the device in which the network device is located, to implement information receiving and sending by using the radio frequency transceiver component.


According to a twenty-fourth aspect, a sixth network device is provided. The network device may be an independent device or a chip disposed in a device. The network device includes: a memory, configured to store computer executable program code; and a processor, where the processor is coupled to the memory. The program code stored in the memory includes instructions, and when the processor executes the instructions, a sixth communications apparatus is enabled to perform the method in any one of the fourth aspect and the possible implementations of the fourth aspect.


The network device may further include a communications interface. If the network device is an independent device, the communications interface may be a transceiver in the network device, for example, a radio frequency transceiver component in a device; or if the network device is a chip disposed in a device, the communications interface may be an input/output interface of the chip, for example, an input/output pin. The communications interface may be connected to the radio frequency transceiver component in the device in which the network device is located, to implement information receiving and sending by using the radio frequency transceiver component.


According to a twenty-fifth aspect, a first communications system is provided. The communications system includes the terminal device in any one of the fifth aspect and the possible implementations of the fifth aspect, the terminal device in any one of the ninth aspect and the possible implementations of the ninth aspect, or the terminal device in the twenty-first aspect, and includes the network device in any one of the seventh aspect and the possible implementations of the seventh aspect, the network device in any one of the eleventh aspect and the possible implementations of the eleventh aspect, or the network device in the twenty-third aspect.


According to a twelfth aspect, a second communications system is provided. The communications system includes the terminal device in any one of the sixth aspect and the possible implementations of the sixth aspect, the terminal device in any one of the tenth aspect and the possible implementations of the tenth aspect, or the terminal device in the twenty-second aspect, and includes the network device in any one of the eighth aspect and the possible implementations of the eighth aspect, the network device in any one of the twelfth aspect and the possible implementations of the twelfth aspect, or the network device in the twenty-fourth aspect.


In the embodiments of this application, a manner of determining an antenna for sending an SRS is provided. In addition, a case in which one subframe includes a plurality of first time units is considered by using MSRS and a case in which one antenna is enabled to implement continuous sending as much as possible is also considered by using Ma, so that a same antenna can be enabled to implement continuous sending in one subframe as much as possible, thereby minimizing an antenna switching process.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a schematic diagram of sending an SRS on the last symbol of an uplink subframe in a current LTE system;



FIG. 2A to FIG. 2C are schematic diagrams of several antenna configuration cases of a terminal device;



FIG. 3 is a schematic diagram of an application scenario according to an embodiment of this application;



FIG. 4 is a flowchart of a first SRS sending and receiving method according to an embodiment of this application;



FIG. 5 is a schematic diagram in which a terminal device sends an SRS on a plurality of symbols in one subframe according to an embodiment of this application;



FIG. 6A is a schematic diagram in which a terminal device performs antenna switching on each symbol in one subframe;



FIG. 6B is a schematic diagram in which an SRS is sent on consecutive symbols in one subframe by using a same antenna of a terminal device according to an embodiment of this application;



FIG. 6C is a schematic diagram in which a terminal device does not perform antenna switching in one subframe according to an embodiment of this application;



FIG. 7 is a flowchart of a second SRS sending and receiving method according to an embodiment of this application;



FIG. 8 is a schematic diagram in which a terminal device determines a new first index and an antenna used to send an SRS according to an embodiment of this application;



FIG. 9 is a schematic diagram in which a terminal device traverses all subbands and all antennas when sending an SRS in P first time units according to an embodiment of this application;



FIG. 10 is a schematic diagram of a communications apparatus that can implement a function of a terminal device according to an embodiment of this application;



FIG. 11 is a schematic diagram of a communications apparatus that can implement a function of a network device according to an embodiment of this application;



FIG. 12 is a schematic diagram of another communications apparatus that can implement a function of a terminal device according to an embodiment of this application;



FIG. 13 is a schematic diagram of another communications apparatus that can implement a function of a network device according to an embodiment of this application; and



FIG. 14A and FIG. 14B are two schematic diagrams of a communications apparatus according to an embodiment of this application.





DESCRIPTION OF EMBODIMENTS

To make the objectives, the technical solutions, and advantages of the embodiments of this application clearer, the following further describes the embodiments of this application in detail with reference to the accompanying drawings.


In the following descriptions, some terms in the embodiments of this application are described, to help a person skilled in the art have a better understanding.


(1) A terminal device includes a device that provides a user with voice and/or data connectivity, for example, may include a handheld device having a wireless connection function, or a processing device connected to a wireless modem. The terminal device may communicate with a core network through a radio access network (radio access network, RAN), and exchange a voice and/or data with the RAN. The terminal device may include user equipment (user equipment, UE), a wireless terminal device, a mobile terminal device, a subscriber unit (subscriber unit), a subscriber station (subscriber station), a mobile station (mobile station), a mobile station (mobile), a remote station (remote station), an access point (access point, AP), a remote terminal device (remote terminal), an access terminal device (access terminal), a user terminal device (user terminal), a user agent (user agent), a user device (user device), or the like. For example, the terminal device may include a mobile phone (or referred to as a “cellular” phone), a computer having a mobile terminal device, a portable, pocket-sized, handheld, or computer built-in mobile apparatus, a smart wearable device, or the like. For example, the terminal device is a device such as a personal communications service (personal communication service, PCS) phone, a cordless phone, a session initiation protocol (session initiation protocol, SIP) phone, a wireless local loop (wireless local loop, WLL) station, or a personal digital assistant (personal digital assistant, PDA). The terminal device further includes a limited device, for example, a device with low power consumption, a device with a limited storage capability, or a device with a limited computing capability. For example, the terminal device includes an information sensing device, for example, a barcode, radio frequency identification (radio frequency identification, RFID), a sensor, a global positioning system (global positioning system, GPS), or a laser scanner.


By way of example, but not limitation, the terminal device in the embodiments of this application may alternatively be a wearable device or the like. The wearable device may also be referred to as a wearable intelligent device, and is a general term for wearable device such as glasses, gloves, watches, clothes, and shoes that are developed by applying wearable technologies to intelligent designs of daily wear. The wearable device is a portable device that can be directly worn on a body or integrated into clothes or an accessory of a user. The wearable device is not only a hardware device, but is used to implement powerful functions through software support, data exchange, and cloud interaction. Generalized wearable intelligent devices include full-featured and large-size devices, such as smart watches or smart glasses, that can implement complete or partial functions without depending on smartphones, and devices, such as various smart bands, smart helmets, or smart jewelry for monitoring physical signs, that focus on only one type of application functions and need to work with other devices such as smartphones.


However, if the various terminal devices described above are located in a vehicle (for example, placed in the vehicle or mounted in the vehicle), the terminal devices may be considered as vehicle-mounted terminal devices. For example, the vehicle-mounted terminal devices are also referred to as on-board units (on-board unit, OBU).


(2) A network device, for example, includes an access network (access network, AN) device such as a base station (for example, an access point), and may be a device that communicates with a wireless terminal device over an air interface in an access network by using one or more cells. Alternatively, for example, a network device in a V2X technology is a roadside unit (road side unit, RSU). The base station may be configured to mutually convert a received over-the-air frame and an internet protocol (IP) packet and serve as a router between the terminal device and a rest portion of the access network. The rest portion of the access network may include an IP network. The RSU may be a fixed infrastructure entity that supports a V2X application, and may exchange a message with another entity that supports the V2X application. The network device may further coordinate attribute management of the air interface. For example, the network device may include an evolved NodeB (NodeB or eNB or e-NodeB, evolutional Node B) in a long term evolution (long term evolution, LTE) system or an LTE-advanced system (LTE-Advanced, LTE-A), or may include a next generation NodeB (next generation node B, gNB) in a fifth generation (the 5th generation, 5G) new radio (new radio, NR) system, or may include a centralized unit (centralized unit, CU) and a distributed unit (distributed unit, DU) in a cloud radio access network (cloud radio access network, CloudRAN) system. This is not limited in the embodiments of this application.


(3) Multiple-input multiple-output (multiple input and multiple output, MIMO) means that a transmit end and a receive end respectively use a plurality of transmit antennas and a plurality of receive antennas to transmit a signal, to improve communication quality. In MIMO, spatial resources can be fully used, and multiple-output multiple-input is implemented by using a plurality of antennas, so that a system channel capacity is exponentially increased without increasing spectrum resources and antenna transmit power. MIMO is considered as a core technology of next-generation mobile communication due to the obvious advantage.


(4) An antenna is a physical component or a logical channel for sending a signal by a base station device or a terminal device, or is used to indicate a port of a specified signal transmit antenna.


(5) The terms “system” and “network” may be interchangeably used in the embodiments of this application. “A plurality of” means two or more. In view of this, “a plurality of” may also be understood as “at least two” in the embodiments of this application. “At least one” may be understood as one or more, for example, understood as one, two, or more. For example, “include at least one” means including one, two, or more, and does not limit which items are included. For example, including at least one of A, B, and C may represent the following cases: A is included, B is included, C is included, A and B are included, A and C are included, B and C are included, or A and B and C are included. Similarly, an understanding of descriptions such as “at least one type” is similar. The term “and/or” describes an association relationship for describing associated objects and represents that three relationships may exist. For example, A and/or B may represent the following three cases: Only A exists, both A and B exist, and only B exists. In addition, the character “/”, unless otherwise specified, usually represents an “or” relationship between the associated objects.


Unless otherwise stated, ordinal terms such as “first” and “second” mentioned in the embodiments of this application are used to distinguish between a plurality of objects, and are not intended to limit a sequence, a time sequence, a priority, or an importance degree of the plurality of objects. For example, a first time unit and a second time unit are merely intended to distinguish between different time domain resources, but are not intended to limit a priority, a length, a time domain sequence, an importance degree, or the like of the two time domain resources.


The foregoing describes some concepts related to the embodiments of this application, and the following describes technical features of the embodiments of this application.


A multiple-input multiple-output (multiple input and multiple output, MIMO) technology is widely used in an LTE system. When a network device has a plurality of transmit antenna ports and a terminal device has a plurality of receive antenna ports, the network device may simultaneously send a plurality of parallel data streams to the terminal device.


In a TDD system, an uplink channel and a downlink channel have reciprocity. The terminal device sends an SRS in an uplink, and the network device may estimate an uplink channel by using the SRS, and may obtain a downlink beamforming weight value based on the uplink channel.


In actual application, a quantity of receive antennas of the terminal device is greater than a quantity of transmit antennas because each transmit antenna of the terminal device needs to be connected to one power amplifier (power amplifier, PA). Costs of the power amplifier are relatively high, and therefore only one or two PAs are usually configured for the terminal device. Therefore, the quantity of receive antennas of the terminal device is greater than the quantity of transmit antennas. In this case, the uplink channel and a downlink channel that are estimated by the network device based on the SRS are no longer symmetrical.


To overcome this problem, antenna selection is defined in an existing LTE protocol. To be specific, a link between a PA and an antenna in the terminal device may be dynamically changed, and the terminal device may be capable of dynamically adjusting an antenna port for sending an uplink signal. In an existing LTE release 9 (Rel-9) protocol, the terminal device supports a dynamic link between two antennas for one PA in the uplink. This scenario is referred to as 1T2R. For this, refer to FIG. 2A. In addition, 1T2R may also be understood as that the terminal device has two antennas and sends a signal by using one of the antennas at a same moment. In an LTE release 15 (Rel-15), antenna selection for 1T4R and 2T4R is already supported. For 1T4R, refer to FIG. 2B. For 2T4R, refer to FIG. 2C. 1T4R may also be understood that the terminal device has four antennas and sends a signal by using one of the antennas at a same moment, and 2T4R may also be understood that the terminal device has four antennas and sends a signal by using two of the antennas at a same moment.


In an existing LTE standard, the SRS may be sent on the last symbol of an uplink subframe. As shown in FIG. 1, the SRS is sent on a symbol shown in a part marked with slashes in FIG. 1.


To support antenna selection and frequency hopping of an SRS, a formula for antenna selection is defined in an LTE protocol. Based on the formula, the network device and the terminal device may determine an antenna used to send the SRS.


In an LTE release 16, it has been determined that more symbols may be used to transmit the SRS in one uplink subframe. In this case, how to determine an antenna for sending an SRS is a problem that needs to be resolved.


In view of this, the technical solutions in the embodiments of this application are provided. In the embodiments of this application, a terminal device may determine, based on a quantity MSRS of first time units that are used by the terminal device to send an SRS in one uplink subframe, a first index nSRS′ of a first time unit used to send the SRS, and then may determine, based on nSRS′ and a quantity Ma of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′. Therefore, a case in which one subframe includes a plurality of first time units is considered by using MSRS and a case in which one antenna is enabled to implement continuous sending as much as possible is also considered by using Ma. It may be learned that in the technical solutions provided in the embodiments of this application, a manner of determining an antenna for sending an SRS is provided, and a same antenna can be enabled to implement continuous sending as much as possible, thereby minimizing an antenna switching process.


The technical solutions provided in the embodiments of this application may be applied to the LTE system, or a next-generation mobile communications system or another similar communications system. This is not specifically limited.


Referring to FIG. 3, the following describes a network architecture to which the embodiments of this application are applied.



FIG. 3 includes a network device and a terminal device, and the terminal device is connected to one network device. Certainly, a quantity of terminal devices in FIG. 3 is merely an example. In actual application, the network device may serve a plurality of terminal devices. All or some of the plurality of terminal devices may determine, in a manner provided in the embodiments of this application, an antenna used to send an SRS.


The network device in FIG. 3 is, for example, an access network device such as a base station. The access network device corresponds to different devices in different systems. For example, the access network device corresponds to an eNB in a 4th generation (the 4th generation, 4G) system, and corresponds to a 5G access network device in a 5G system, for example, a gNB.


The following describes the technical solutions provided in the embodiments of this application with reference to the accompanying drawings.


An embodiment of this application provides a first SRS sending and receiving method. FIG. 4 is a flowchart of the method. In the following description process, for example, the method is applied to the network architecture shown in FIG. 3. In addition, the method may be performed by two communications apparatuses. The two communications apparatuses are, for example, a first communications apparatus and a second communications apparatus. The first communications apparatus may be a network device or a communications apparatus that can support a network device in implementing a function required by the method, or the first communications apparatus may be a terminal device or a communications apparatus that can support a terminal device in implementing a function required by the method. Certainly, the first communications apparatus may be another communications apparatus, for example, a chip system. The same is true for the second communications apparatus. The second communications apparatus may be a network device or a communications apparatus that can support a network device in implementing a function required by the method, or the second communications apparatus may be a terminal device or a communications apparatus that can support a terminal device in implementing a function required by the method. Certainly, the second communications apparatus may be another communications apparatus, for example, a chip system. In addition, implementations of the first communications apparatus and the second communications apparatus are not limited. For example, the first communications apparatus may be a network device, and the second communications apparatus is a terminal device, or both the first communications apparatus and the second communications apparatus are network devices, or both the first communications apparatus and the second communications apparatus are terminal devices, or the first communications apparatus is a network device, and the second communications apparatus is a communications apparatus that can support a terminal device in implementing a function required by the method. The network device is, for example, a base station.


For ease of description, the following uses an example in which the method is performed by a network device and a terminal device, that is, an example in which the first communications apparatus is a network device and the second communications apparatus is a terminal device. Because an example in which this embodiment is applied to the network architecture shown in FIG. 3 is used, the network device described below may be a network device in the network architecture shown in FIG. 3, and the terminal device described below may be a terminal device in the network architecture shown in FIG. 3.


S41. A network device sends configuration information to a terminal device, and the terminal device receives the configuration information from the network device, where the configuration information is used to indicate a quantity MSRS of first time units that are used by the terminal device to send an SRS in one subframe, and the subframe includes a plurality of first time units.


Alternatively, the configuration information may be used to indicate a quantity of first time units that are used by the terminal device to send an SRS in one second time unit, and the second time unit may include a plurality of first time units. The second time unit is, for example, a subframe (subframe) or a slot (slot). In the descriptions of this specification, for example, the second time unit is a subframe. The first time unit may be one symbol or H consecutive symbols, and H is an integer greater than or equal to 2.


For example, the first time unit is one symbol. A plurality of symbols may be used to send the SRS in one subframe, and may be predefined in a protocol. However, for different terminal devices, a quantity of symbols used to send the SRS in one subframe may be configured by the network device. For example, the protocol specifies that four symbols may be used to send the SRS in one subframe. In this case, a quantity, configured by the network device for each terminal device, of symbols that can be used to send the SRS in one subframe may be less than or equal to 4. For example, for the terminal device, the network device may determine a quantity of first time units that are used by the terminal device to send the SRS in one subframe, and notify the terminal device of the quantity by using the configuration information. Therefore, after receiving the configuration information, the terminal device may determine the quantity of first time units that may be used to send the SRS in one subframe. The quantity of first time units that are used by the terminal device to send the SRS in one subframe is, for example, represented by MSRS.


S42. The terminal device determines, based on MSRS, a first index nSRS′ of a first time unit used to send the SRS.


After determining MSRS, the terminal device may determine, based on MSRS, the first index of the first time unit used to send the SRS. For example, the first index is represented by nSRS′. First time units used to send the SRS may be located in one or more subframes, and nSRS′ may be used to uniformly index the first time units located in the one or more subframes. The “first index” in this specification is a relative index, and is not an index of a corresponding time unit in a subframe or in a radio frame. For example, the first index of the first time unit herein is a relative index of the first time unit, and is not an index of the first time unit in a subframe or in a radio frame. For example, the terminal device sends the SRS in two subframes, and sends the SRS in each subframe by using four symbols. If a first time unit is one symbol, first indexes of symbols used to send the SRS may be 1 to 8 (or 0 to 7). In other words, the first index means that only symbols used to send the SRS in each subframe are uniformly indexed, and symbols that are not used to send the SRS in the subframe are not included in an index range. Continuing the foregoing example, in one subframe, symbols used to send the SRS may be the last four symbols in the subframe, and indexes of the last four symbols in one subframe should be 8 to 11. For example, if the subframe is the first subframe used to send the SRS, first indexes of the four symbols are 1 to 4 (or 0 to 3).


In this embodiment of this application, because a plurality of first time units may be used to send the SRS in one subframe, the plurality of first time units need to be considered when the first index nSRS′ of the first time unit used to send the SRS is being determined. In an implementation, nSRS′ may satisfy the following formula:











(

Formula





1

)








n
SRS


=

{







(





2


N
SP



n
f


+

2


(


N
SP

-
1

)






n
s

10




+









T
offset


T

offset
,
max








)

×

M
SRS


+
m

,











frame





structure












type





2





withan





SRS














period





of





2





ms
















n
f

×
10

+





n
2

2



/

T
SRS





×

M
SRS


+
m

,




other





cases




}





TSRS represents an SRS transmission periodicity configured by the network device for the terminal device, Toffset represents a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, NSP represents a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, nf represents a frame number of the radio frame in which the SRS is located, ns represents a slot number in the radio frame in which the SRS is located, ns=0, 1, . . . , 19, m represents a first index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe, m=0, 1, . . . , MSRS−1, and └ ┘ represents rounding down.


For example, TSRS is 5 ms. The terminal device sends the SRS in the last four symbols in a subframe 2 of each radio frame. For nSRS′, refer to FIG. 5. 0 to 3, 4 to 7, and the like in FIG. 5 represent nSRS′ of symbols. For example, 0 to 3 represent nSRS′ of four symbols. FIG. 5 shows only a part of the radio frame, that is, only a part of values of nSRS′ are shown, and there are no more examples. In addition, FIG. 5 is merely an example in which the terminal device sends the SRS in two subframes of one radio frame. In this embodiment of this application, the terminal device may alternatively send the SRS in one subframe of one radio frame, or may send the SRS in three or more subframes of one radio frame.


For example, nSRS is further used to indicate a first index of a subframe used to send the SRS. Similarly, the first index of the subframe is not an index of the subframe in a radio frame but is used to uniformly index subframes used to send the SRS, and a subframe that is not used to send the SRS is not included in an index range. However, in this embodiment of this application, a symbol used to send the SRS in a subframe needs to be determined. Therefore, it may also be considered that nSRS′ satisfies the following formula:






n
SRS′
=n
SRS
×M
SRS
+m  (Formula 2)


It may be considered that formula 2 and formula 1 are equivalent.


In the formula:











(

Formula





3

)








n
SRS

=

{







(





2


N
SP



n
f


+

2


(


N
SP

-
1

)






n
s

10




+









T
offset


T

offset
,
max








)

×

M
SRS


+
m

,











frame





structure












type





2





withan





SRS














period





of





2





ms
















n
f

×
10

+





n
2

2



/

T
SRS





×

M
SRS


+
m

,




other





cases




}





Certainly, a manner of determining nSRS′ is not limited in this embodiment of this application, and nSRS′ may be determined in another manner, provided that MSRS is considered during the determining of nSRS′.


S43. The terminal device determines, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′, where Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna.


The terminal device requires a specific time to switch an antenna used to send the SRS. Therefore, frequent antenna switching in one subframe wastes a lot of time-frequency resources. For example, four symbols in one subframe are allocated to the terminal device to send the SRS. If the terminal device performs antenna switching on each symbol, a lot of antenna switching preparation time is actually wasted. For this, refer to FIG. 6A. In FIG. 6A, for example, the terminal device may send an SRS in one subframe by using the last four symbols of the subframe. It may be learned that, on the four symbols, the terminal device frequently switches an antenna used to send the SRS. It should be noted that the terminal device cannot send a signal within an antenna switching preparation time.


To overcome this case, the following two manners are considered in this embodiment of this application:


Manner 1: Antenna switching is supported in one subframe, but a same antenna can be used for transmission on consecutive symbols as much as possible, or in other words, the symbols corresponding to the same antenna are as consecutive as possible. For this, refer to FIG. 6B. In FIG. 6B, for example, the terminal device may send an SRS in one subframe by using the last four symbols of the subframe. It may be learned that, on the four symbols of the subframe, the terminal device may perform transmission on two consecutive symbols by using an antenna 0, and perform transmission on two consecutive symbols by using an antenna 1. Therefore, a quantity of antenna switching times in the subframe is reduced.


Manner 2: Antenna switching in a subframe is not supported, and antenna switching can be performed only between subframes. For this, refer to FIG. 6C. In FIG. 6C, for example, the terminal device may send an SRS in one subframe by using the last four symbols of the subframe. A symbol marked with slashes in FIG. 6C represents a symbol used to send the SRS. On the four symbols of the subframe, the terminal device performs sending by using only one antenna, and the terminal device switches the antenna in a next subframe used to send the SRS, thereby reducing a quantity of antenna switching times.


Regardless of manner 1 or manner 2, a same antenna may be used to send an SRS on several consecutive symbols.


In this case, since manner 1 or manner 2 needs to be considered, the quantity of first time units that are consecutively used to send the SRS in one subframe by using the same antenna also needs to be considered. Therefore, when the antenna used to send the SRS in the first time unit is being determined, the quantity of first time units that are consecutively used to send the SRS in one subframe by using the same antenna also needs to be considered in addition to nSRS′. The quantity of first time units that are consecutively used to send the SRS in one subframe by using the same antenna is, for example, represented by Ma. In addition, the determined antenna used to send the SRS in the first time unit may correspond to nSRS′ because nSRS′ is the first index of the first time unit used to send the SRS.


In this embodiment of this application, the terminal device may further perform frequency hopping in a process of sending the SRS. In this case, when the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ is being determined, a determining manner may be related to whether frequency hopping is performed. This antenna determining manner may be applicable to both manner 1 and manner 2.


For example, the terminal device may determine, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′.


Alternatively, the terminal device may determine, based on a quantity of subbands occupied by the SRS in a frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′.


Alternatively, regardless of whether the terminal device performs frequency hopping in the process of sending the SRS, a unified manner may be used to determine the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′. For example, regardless of whether the terminal device performs frequency hopping in the process of sending the SRS, the terminal device may determine, based on a quantity of transmit antennas and a quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma, an index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′. This antenna determining manner may also be applicable to both manner 1 and manner 2.


The following separately describes the foregoing several antenna determining manners. When the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ is being determined, a quantity of antennas of the terminal device is further related. Therefore, in the process of determining the antenna, the quantity of antennas of the terminal device is further considered, or in other words, the quantity of transmit antennas and the quantity of receive antennas of the terminal device are considered.


1. When the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ is being determined, a determining manner is related to whether frequency hopping is performed. In this case, the terminal device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma if no frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′.


For example, when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, or in other words, the terminal device is set to 1T2R, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ may satisfy the following formula:






a(nSRS_ant)=nSRS_ant mod 2  (Formula 4)


In formula 4, a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation.


Alternatively, when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, or in other words, the terminal device is set to 1T4R, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ may satisfy the following formula:






a(nSRS_ant)=nSRS_ant mod 4  (Formula 5)


In formula 5, a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, and nSRS_ant=└nSRS′/Ma┘.


Alternatively, when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, or in other words, the terminal device is set to 2T4R, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ may satisfy the following formula:






a(nSRS_ant)=nSRS_ant mod Λ  (Formula 6)


In formula 6, a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and Λ is 2 or 3. Λ may be understood as a quantity of antenna pairs (pair) in the terminal device. For example, in 2T4R, antenna ports for simultaneously sending an SRS may be (0, 1) or (2, 3), or may be {0, 1}, {0, 2}, or {0, 3}. Specifically, an antenna pair may be determined by using a parameter Λ={2 or 3}. If Λ=2, an antenna pair used to simultaneously send an SRS is {2a(nSRS_ant), 2a(nSRS_ant)+1}, and if Λ=3, an antenna pair used to simultaneously send an SRS is {0, a(nSRS_ant)+1}.


2. When the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ is being determined, a determining manner is related to whether frequency hopping is performed. In this case, the terminal device may determine, based on the quantity of subbands occupied by the SRS in the frequency hopping process, nSRS′, and Ma if frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′.


For example, when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, or in other words, the terminal device is set to 1T2R, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ may satisfy the following formula:










a


(

n

S

R


S
-


a

n

t


)


=

{








(


n

SRS

_

ant


+




n

SRS

_

ant


2



+

β
·





M
a

×

n

SRS

_

ant



K





)


mod





2

,







when


K

M
a



is





a






?







n

SRS

_

ant







mod





2

,








.





?




indicates text missing or illegible when filed







(

Formula





7

)







In formula 7, a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, K represents the quantity of subbands occupied by the SRS in the frequency hopping process, and






β
=

{





1
,





when






K

M
a







mod





4

=
0






0
,




other





cases




.






Alternatively, when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, or in other words, the terminal device is set to 1T4R, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ may satisfy the following formula:











(

Formula











8

)








a


(

n

S

R


S
-


a

n

t


)


=





{





(


n

SRS

_

ant


+




n

SRS

_

ant



max


(

4
,

K

M
a



)





+

β
(





n

SRS

_

ant


4




mod





max


(

4
,

K

M
a



)


4




)


)







mod






n

SRS

_

ant








mod

4


,

other





cases





.






In formula 8, a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, K represents the quantity of subbands occupied by the SRS in the frequency hopping process, and






β
=

{





1
,






if






N
1


=
2

,


N
2

=
2







0
,




other





cases




.






N1 and N2 are quantities determined based on an SRS bandwidth configuration parameter CSRS, and a correspondence between CSRS, a quantity mSRS,b of resource blocks (resource block, RB) included in SRS bandwidth, and Nb is shown in Table 1 to Table 4.









TABLE 1







Correspondence between mSRS, b and Nb (b = 0, 1, 2, 3) when a quantity


of uplink RBs satisfies 6 ≤ NRBUL ≤ 40








SRS bandwidth












configuration
SRS-bandwidth
SRS-bandwidth
SRS-bandwidth
SRS-bandwidth


parameter
BSRS = 0
BSRS = 1
BSRS = 2
BSRS = 3















CSRS
mSRS, 0
N0
mSRS, 1
N1
mSRS, 2
N2
mSRS, 3
N3


















0
36
1
12
3
4
3
4
1


1
32
1
16
2
8
2
4
2


2
24
1
4
6
4
1
4
1


3
20
1
4
5
4
1
4
1


4
16
1
4
4
4
1
4
1


5
12
1
4
3
4
1
4
1


6
8
1
4
2
4
1
4
1


7
4
1
4
1
4
1
4
1
















TABLE 2







Correspondence between mSRS, b and (b = 0, 1, 2, 3) when a quantity


of uplink RBs satisfies 40 < NRBUL ≤ 60








SRS bandwidth












configuration
SRS-bandwidth
SRS-bandwidth
SRS-bandwidth
SRS-bandwidth


parameter
BSRS = 0
BSRS = 1
BSRS = 2
BSRS = 3















CSRS
mSRS, 0
N0
mSRS, 1
N1
mSRS, 2
n2
mSRS, 3
N3


















0
48
1
24
2
12
2
4
3


1
48
1
16
3
8
2
4
2


2
40
1
20
2
4
5
4
1


3
36
1
12
3
4
3
4
1


4
32
1
16
2
8
2
4
2


5
24
1
4
6
4
1
4
1


6
20
1
4
5
4
1
4
1


7
16
1
4
4
4
1
4
1
















TABLE 3







Correspondence between mSRS, b and Nb (b = 0, 1, 2, 3) when a


quantity of uplink RBs satisfies 60 < NRBUL ≤ 80








SRS bandwidth












configuration
SRS-bandwidth
SRS-bandwidth
SRS-bandwidth
SRS-bandwidth


parameter
BSRS = 0
BSRS = 1
BSRS = 2
BSRS = 3















CSRS
mSRS, 0
N0
mSRS, 1
N1
mSRS, 2
N2
mSRS, 3
N3


















0
72
1
24
3
12
2
4
3


1
64
1
32
2
16
2
4
4


2
60
1
20
3
4
5
4
1


3
48
1
24
2
12
2
4
3


4
48
1
16
3
8
2
4
2


5
40
1
20
2
4
5
4
1


6
36
1
12
3
4
3
4
1


7
32
1
16
2
8
2
4
2
















TABLE 4







Correspondence between mSRS, b and Nb (b = 0, 1, 2, 3) when a quantity


of uplink RBs satisfies 80 < NRBUL ≤ 110








SRS bandwidth












configuration
SRS-bandwidth
SRS-bandwidth
SRS-bandwidth
SRS-bandwidth


parameter
BSRS = 0
BSRS = 1
BSRS = 2
BSRS = 3















CSRS
mSRS, 0
N0
mSRS, 1
N1
mSRS, 2
N2
mSRS, 3
N3


















0
96
1
48
2
24
2
4
6


1
96
1
32
3
16
2
4
4


2
80
1
40
2
20
2
4
5


3
72
1
24
3
12
2
4
3


4
64
1
32
2
16
2
4
4


5
60
1
20
3
4
5
4
1


6
48
1
24
2
12
2
4
3


7
48
1
16
3
8
2
4
2









Alternatively, when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, or in other words, the terminal device is set to MTR, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ may satisfy the following formula:











(

Formula











9

)








a


(

n

SRS

-
ant



)


=





{






(





n

SRS

-
ant



+




n

SRS

-
ant



Λ



+






β


(





M
a

×

n

SRS

-
ant




K



)





)


mod





Λ

,








when






K

M
a







is





an





integer





and













K

M
a







mod





Λ

=
0











n

SRS

_

ant







mod





Λ

,




other





cases




}





In formula 9, a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, K represents the quantity of subbands occupied by the SRS in the frequency hopping process, and






β
=

{





1
,





if






K

M
a







mod






Λ
2


=
0






0
,




other





cases




.






3. When the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ is being determined, a determining manner is related to whether frequency hopping is performed. In this case, the terminal device may determine, based on the quantity of transmit antennas and the quantity of receive antennas that are corresponding to the terminal device, nSRS′, and Ma regardless of whether frequency hopping is configured for the SRS, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′. If the technical solution provided in this embodiment of this application is applied to an LTE system, the antenna selection mode may enable the LTE system and an NR system to have a same antenna selection manner, thereby facilitating simultaneous transmission of an SRS in the LTE system and the NR system.


For example, when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, or in other words, the terminal device is set to 1T2R, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ may satisfy the following formula:






a(nSRS_ant)=% nSRS_ant mod 2  (Formula 10)


In formula 10, a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, and nSRS_ant=└nSRS′/Ma┘. It may be learned that formula 10 is the same as formula 4.


Alternatively, when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, or in other words, the terminal device is set to 1T4R, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ may satisfy the following formula:






a(nSRS_ant)=nSRS_ant mod 4  (Formula 11)


In formula 11, a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, and nSRS_ant=└nSRS′/Ma┘. It may be learned that formula 11 is the same as formula 5.


Alternatively, when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, or in other words, the terminal device is set to 2T4R, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′ may satisfy the following formula:






a(nSRS_ant)=nSRS_ant mod Λ  (Formula 12)


In formula 12, a(nSRS_ant) represents the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, nSRS_ant=└nSRS′/Ma┘, and Λ is 2 or 3. It may be learned that formula 12 is the same as formula 6.


The foregoing describes how the terminal device determines the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′. In addition, the foregoing also describes a case in which the terminal device may further perform frequency hopping when sending the SRS. In this case, if the terminal device needs to send the SRS, a position of a subband used to send the SRS needs to be further determined. For example, the terminal device may determine, based on nSRS′, the subband used to send the SRS.


In an implementation, if whether frequency hopping is performed in the process of sending the SRS by the terminal device is related when the terminal device determines the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, or in other words, if the terminal device determines, by using the foregoing second item, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, the index of the subband used to send the SRS may satisfy the following formulas:











n
b

=

{








4



n
RRC

/

m

SRS
,
b







mod






N
b


,





when





b



b
hop









(



F
b



(

n

SRS

_

fh


)


+




4


n
RRC



m

SRS
,
b






)


mod






N
b


,




other





cases




}


,
and




(

Formula





13

)








F
b



(

n
SRS


)


=

{











(


N
b

2

)







n
SRS



mod





Π


?



N

b





n


?



N

b








+










n
SRS



mod





Π


?



N

b





2

n


?



N

b










,







when






N
b






is





an





even





number





















N
b

/
2









n
SRS


/

Π


b


=

b
hop



b
-
1





N

b







,




when






N
b






is





an





odd





number










?



indicates text missing or illegible when filed







(

Formula





14

)







bhop is determined based on SRS-hopping bandwidth (srs-HoppingBandwidth) delivered by the network device, bhop∈{0, 1, 2, 3}, nRRC is determined based on a periodic SRS frequency domain position (freqDomainPosition) or an aperiodic SRS frequency domain position (freqDomainPosition-ap) delivered by the network device, BSRS, Nb, Nb′, and MSRS,b are determined based on an SRS-bandwidth configuration (srs-BandwidthConfig) delivered by the network device, and Nar represents a quantity of antennas in the terminal device.


Alternatively, in another implementation, whether the terminal device performs frequency hopping in the process of sending the SRS is not related when the terminal device determines the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, or in other words, if the terminal device determines, by using the foregoing third item, the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, the index of the subband used to send the SRS may satisfy the following formulas:











n
b

=

{








4



n
RRC

/

m

SRS
,
b







mod






N
b


,





when





b



b
hop









(



F
b



(

n

SRS

_

fh


)


+




4


n
RRC



m

SRS
,
b






)


mod






N
b


,




other





cases




}


,








and




(

Formula





15

)








F
b



(

n

SRS
fh


)


=

{











(


N
b

2

)







n

SRS
fh




mod





Π


?



N

b





n


?



N

b








+










n

SRS
fh




mod





Π


?



N

b





2

n


?



N

b










,







when






N
b






is





an





even





number





















N
b

/
2









n

SRS
fh


/

Π


b


=

b
hop



b
-
1





N

b







,




when






N
b






is





an





odd





number




,






?



indicates text missing or illegible when filed








(

Formula





16

)







where







n

S

R


S
-


f

h


=






n
SRS




M
a



N
ant





×

M
a


+


n

S

R

S








mod







M
a

.







As described above, if whether terminal device performs frequency hopping in the process of sending the SRS is not related when the terminal device determines the index of the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′, the antenna selection mode may enable the LTE system and the NR system to have a same antenna selection manner, thereby facilitating simultaneous transmission of an SRS in the LTE system and the NR system. In this case, the LTE system and the NR system can also have a same frequency hopping manner by using formula 15 to determine the subband used to send the SRS.


S44. The terminal device sends the SRS by using the antenna in the first time unit indicated by nSRS′, and the network device receives the SRS from the terminal device in the first time unit indicated by nSRS′.


The network device may also determine, in a manner the same as that of the terminal device, the antenna used to send the SRS, the position of the subband used to send the SRS, and the like. Details are not described again.


In this embodiment of this application, the terminal device may determine, based on the quantity MSRS of first time units that are used by the terminal device to send the SRS in one subframe, the first index nSRS′ of the first time unit used to send the SRS, and then determine, based on nSRS′ and the quantity Ma of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, the antenna that is used to send the SRS in the first time unit and that corresponds to nSRS′. Therefore, a case in which one subframe includes a plurality of first time units is considered by using MSRS and a case in which one antenna is enabled to implement continuous sending as much as possible is also considered by using Ma. It may be learned that in the technical solution provided in this embodiment of this application, a manner of determining an antenna for sending an SRS is provided, and a same antenna can be enabled to implement continuous sending as much as possible. For example, a quantity of antenna switching times can be reduced in one subframe, or no antenna switching may be performed in one subframe, so that service continuity can be ensured as much as possible and power consumption caused by antenna switching of the terminal device can be reduced.


To resolve the same technical problem, the following further provides a second SRS sending and receiving method. FIG. 7 is a flowchart of the method. In the following description process, for example, the method is applied to the network architecture shown in FIG. 3. In addition, the method may be performed by two communications apparatuses. The two communications apparatuses are, for example, a third communications apparatus and a fourth communications apparatus. The third communications apparatus may be a network device or a communications apparatus that can support a network device in implementing a function required by the method, or the third communications apparatus may be a terminal device or a communications apparatus that can support a terminal device in implementing a function required by the method. Certainly, the third communications apparatus may be another communications apparatus, for example, a chip system. The same is true for the fourth communications apparatus. The fourth communications apparatus may be a network device or a communications apparatus that can support a network device in implementing a function required by the method, or the fourth communications apparatus may be a terminal device or a communications apparatus that can support a terminal device in implementing a function required by the method. Certainly, the fourth communications apparatus may be another communications apparatus, for example, a chip system. In addition, implementations of the third communications apparatus and the fourth communications apparatus are not limited. For example, the third communications apparatus may be a network device, and the fourth communications apparatus is a terminal device, or both the third communications apparatus and the fourth communications apparatus are network devices, or both the third communications apparatus and the fourth communications apparatus are terminal devices, or the third communications apparatus is a network device, and the fourth communications apparatus is a communications apparatus that can support a terminal device in implementing a function required by the method. The network device is, for example, a base station.


For ease of description, the following uses an example in which the method is performed by a network device and a terminal device, that is, an example in which the third communications apparatus is a network device and the fourth communications apparatus is a terminal device. Because an example in which this embodiment is applied to the network architecture shown in FIG. 3 is used, the network device described below may be a network device in the network architecture shown in FIG. 3, and the terminal device described below may be a terminal device in the network architecture shown in FIG. 3.


S71. A network device sends configuration information to a terminal device, and the terminal device receives the configuration information from the network device, where the configuration information is used to indicate the terminal device to perform frequency hopping within P subbands, and P is a positive integer.


S72. The terminal device sends an SRS to the network device within the P subbands in a frequency hopping manner, and the network device receives the SRS from the terminal device within the P subbands, where the terminal device traverses all of the P subbands when sending the SRS in P first time units, and the terminal device traverses all transmit antennas of the terminal device when sending the SRS in the P first time units.


The first time unit may be one symbol or H consecutive symbols, and H is an integer greater than or equal to 2. For example, the first time unit is one symbol. A plurality of symbols may be used to send the SRS in one subframe, and may be predefined in a protocol. However, for different terminal devices, a quantity of symbols used to send the SRS in one subframe may be configured by the network device. For example, the protocol specifies that four symbols may be used to send the SRS in one subframe. In this case, a quantity, configured by the network device for each terminal device, of symbols that can be used to send the SRS in one subframe may be less than or equal to 4. For example, for the terminal device, the network device may determine a quantity of first time units that are used by the terminal device to send the SRS in one subframe, and notify the terminal device of the quantity by using the configuration information. Therefore, after receiving the configuration information, the terminal device may determine the quantity of first time units that may be used to send the SRS in one subframe.


The terminal device may determine, in the following manner, an index of an antenna used to send the SRS in the P first time units:


When the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, or in other words, the terminal device is set to 1T2R, the index of the antenna used to send the SRS in the P first time units may satisfy the following formula:






a(nSRS_ant)=nSRS_ant mod 2  (Formula 17)


In formula 17, a(nSRS_ant) represents the index of the antenna used to send the SRS, and nSRS_ant=└nSRS′/Ma┘.


Alternatively, when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, or in other words, the terminal device is set to 1T4R, the index of the antenna used to send the SRS in the P first time units may satisfy the following formula:






a(nSRS_ant)=nSRS_ant mod 4  (Formula 18)


In formula 18, a(nSRS_ant) represents the index of the antenna used to send the SRS, and nSRS_ant=└nSRS′/Ma┘.


Alternatively, when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, or in other words, the terminal device is set to 2T4R, the index of the antenna used to send the SRS in the P first time units may satisfy the following formula:






a(nSRS_ant)=nSRS_ant mod Λ  (Formula 19)


In formula 19, a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and Λ is 2 or 3.


In formula 17 to formula 19, Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit used to send the SRS. For descriptions of parameters such as Ma, Λ, and nSRS′, refer to the embodiment shown in FIG. 4.


nSRS′ is involved in formula 17 to formula 19. In an implementation, nSRS′ may satisfy the following formula:











n
SRS


=

{







(





2


N
SP



n
f


+

2


(


N
SP

-
1

)












n
s

10



+




T
offset


T

offset

_

max









)

×

M
SRS


+
m

,







frame











structure





type





2






with





an





SRS


?

















n
f

×
10

+





n
s

2



/

T
SRS





×

M
SRS


+
m

,




other





cases




}


,






?



indicates text missing or illegible when filed






(

Formula





20

)







TSRS represents an SRS transmission periodicity configured by the network device for the terminal device, Toffset represents a position of a subframe that is used to send the SRS in the periodicity TSRS configured by the network device for the terminal device, NSP represents a quantity of downlink-to-uplink switching points in a radio frame in which the SRS is located, nf represents a frame number of the radio frame in which the SRS is located, ns represents a slot number in the radio frame in which the SRS is located, ns is =0, 1, . . . , 19, MSRS represents a quantity of first time units that are allocated to the terminal device to transmit the SRS in one subframe, m represents a first index of a first time unit that is allocated to the terminal device to transmit the SRS in one subframe, and m=0, 1, . . . , MSRS−1.


Certainly, a manner of determining nSRS′ is not limited in this embodiment of this application. The terminal device may determine nSRS′ in another manner, provided that the quantity of first time units that are allocated to the terminal device to transmit the SRS in one subframe is considered during the determining of nSRS′.


In addition, for parameters not described in detail in the embodiment shown in FIG. 7, refer to the related descriptions in the embodiment shown in FIG. 4.


It may be learned that formula 17 is the same as formula 12, formula 18 is the same as formula 13, and formula 19 is the same as formula 14. In addition, whether the terminal device performs frequency hopping in a process of sending the SRS is not related when the terminal device determines the antenna used to send the SRS. Therefore, it may be considered that in this embodiment of this application, the terminal device determines the antenna in the third antenna determining manner described in the embodiment shown in FIG. 4.


The terminal device traverses all of the P subbands when sending the SRS in the P first time units, and the terminal device traverses all the transmit antennas of the terminal device when sending the SRS in the P first time units. In other words, the terminal device uses all the transmit antennas of the terminal device when sending the SRS in the P first time units, and traverses all of the P subbands when sending the SRS in the P first time units. In this manner, the network device can obtain channel information of all uplink subbands in a relatively short time. For example, the terminal device has two transmit antennas, P=4, and the terminal device sends the SRS in one subframe by using four symbols. For example, the terminal device sends the SRS on a subband 1 on the first symbol by using an antenna 0, sends the SRS on a subband 3 on the second symbol by using the antenna 0, sends the SRS on a subband 2 on the third symbol by using an antenna 1, and sends the SRS on a subband 4 on the fourth symbol by using the antenna 1. It may be learned that, the terminal device uses all the transmit antennas of the terminal device and traverse all the subbands in the process of sending the SRS. Certainly, an example in which the P first time units belong to one subframe is merely used. In actual application, a quantity of subframes to which the P first time units belong is not limited. For example, the P first time units may belong to one subframe or a plurality of subframes.


The embodiment shown in FIG. 7 may be further understood based on the following process.


The terminal device may first determine, based on a quantity MSRS of first time units used to transmit the SRS in one subframe, a first index nSRS′ of a first time unit used to send the SRS. For a manner of determining nSRS′, refer to formula 20. After nSRS′ is determined, a new first index of a first time unit used to send the SRS may be determined based on nSRS′ and a first formula. The determined new first index satisfies that a virtual corresponding antenna determined based on the first formula and a new index corresponding to nSRS′+1 and a virtual corresponding antenna determined based on the first formula and a new index corresponding to nSRS′ are a same antenna; or a virtual corresponding antenna determined based on the first formula and a new index corresponding to nSRS′−1 and a virtual corresponding antenna determined based on the first formula and nSRS′ are a same antenna. In other words, the determined new first index satisfies that the SRS is sent by using a same antenna in at least two consecutive first time units. The “virtual corresponding antenna” herein is actually a determined antenna. However, because the terminal device does not use the determined antenna when actually sending the SRS, the determined antenna is referred to as the “virtual corresponding antenna”. In other words, an antenna actually used by the terminal device to send the SRS is determined based on formula 17 to formula 19, and the “virtual corresponding antenna” herein is apparently not the foregoing antenna determined based on formula 17 to formula 19. Specifically, the terminal device may determine, based on nSRS′ and the first formula, a virtual corresponding antenna of each first time unit that is used to send the SRS in one second time unit and on which the SRS is sent, and then obtain, based on the virtual corresponding antenna of each first time unit that is used to transmit the SRS and on which the SRS is transmitted, a new index of the first time unit used to send the SRS.


For example, the first formula includes:


(1) When the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, or in other words, when the terminal device is set to 1T4R:


if no frequency hopping is configured for the SRS, an index of a virtual corresponding antenna used to send the SRS in a first time unit may satisfy the following formula:






a(nSRS′)=nSRS′ mod 4  (Formula 21), where


in formula 21, a(nSRS′) represents the index of the virtual corresponding antenna used to send the SRS; or


if frequency hopping is configured for the SRS, an index of a virtual corresponding antenna used to send the SRS in a first time unit may satisfy the following formula:










a


(

n

S

R

S



)


=





{








(





n

S

R

S



+




n

S

R

S




max


(

4
,
K

)





+






β




(





n

S

R

S



4








mod





max


(

4
,
K

)


4




)




)






mod





4

,












when





K





is





an






even





integer












n

S

R

S




mod





4

,









other





cases








,






(

Formula





22

)







where


in formula 22, a(nSRS′) represents the index of the virtual corresponding antenna used to send the SRS, K represents a quantity of subbands occupied by the SRS in a frequency hopping process, and






β
=

{





1
,






if






N
1


=
2

,


N
2

=
2







0
,




other





cases




.






(2) When the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, or in other words, when the terminal device is set to 2T4R:


if no frequency hopping is configured for the SRS, an index of a virtual corresponding antenna used to send the SRS in a first time unit satisfies the following formula:






a(nSRS′)=nSRS′ mod Λ  (Formula 22), where


in formula 22, a(nSRS′) represents the index of the virtual corresponding antenna used to send the SRS, and Λ is 2 or 3; or


if frequency hopping is configured for the SRS, an index of a virtual corresponding antenna used to send the SRS in a first time unit may satisfy the following formula:











a


(

n

S

R

S



)


=

{






(





n

S

R

S



+




n

S

R

S



Λ



+






β


(




n

S

R

S



K



)





)


mod











Λ

,





when





K





mod





Λ

=
0








n
SRS







mod





Λ

,




other





cases




}


,




Formula






(
23
)








where


in formula 23, a(nSRS′) represents the index of the virtual corresponding antenna used to send the SRS, K represents a quantity of subbands occupied by the SRS in a frequency hopping process, and






β
=

{





1
,





if





K





mod






Λ
2


=
0






0
,




other





cases




.






(3) When the terminal device has two antennas and sends the SRS by using two of the antennas at a same moment, or in other words, when the terminal device is set to 1T2R:


if no frequency hopping is configured for the SRS, a index of a virtual corresponding antenna used to send the SRS in a first time unit may satisfy the following formula:






a(nSRS′)=nSRS′ mod 2  (Formula 24), where


in formula 24, a(nSRS′) represents the index of the virtual corresponding antenna used to send the SRS; or


if frequency hopping is configured for the SRS, a index of a virtual corresponding antenna used to send the SRS in a first time unit may satisfy the following formula:










a


(

n

S

R

S



)


=

{







(





n

S

R

S



+




n

S

R

S



2



+






β
·

(




n

S

R

S



K



)





)


mod











2

,







when





K





is





an






even





integer











n
SRS







mod





2

,




other





cases




,






Formula






(
25
)








in formula 25, a(nSRS′) represents the index of the virtual corresponding antenna used to send the SRS, K represents a quantity of subbands occupied by the SRS in a frequency hopping process, and






β
=

{





1
,





if





K





mod





4

=
0






0
,




other





cases




.






After determining the new first index of the first time unit used to send the SRS, the terminal device may determine, based on the new first index of the first time unit used to send the SRS, a subband used to send the SRS.


For example, the subband used to send the SRS may satisfy the following formula:










n
b

=

{








4



n
RRC

/

m

SRS
,
b







mod






N
b


,





when





b



b
hop









(



F
b



(

n

SRS

_

new


)


+




4


n
RRC



m

SRS
,
b






)


mod






N
b


,




other





cases




}





(

Formula





26

)







In formula 26, nSRS_new represents the new first index of the first time unit used to send the SRS, Nant represents a quantity of antennas in the terminal device, and








F
b



(

n

SRS

_

new


)


=

{











(


N
b

2

)







n

SRS

_

new



mod






Π


b


=

b
hop


b



N

b









b


=

b
hop



b
-
1




N

b








+










n

SRS

_

fh



mod










b


=

b
hop


b



N

b






2






b


=

b
hop



b
-
1




N

b











,








when






N
b






is





an





even


?



























N
b

/
2









n

SRS

_

new


/

Π


b


=

b
hop



b
-
1





N

b







,




when






N
b







?











?



indicates text missing or illegible when filed







Therefore, the terminal device may send the SRS in the first time unit indicated by nSRS′ and on the subband used to send the SRS by using the antenna determined based on formula 17 to formula 19.


For example, the first time unit is one symbol. Referring to FIG. 8, the terminal device first determines, based on a quantity MSRS of symbols used to transmit the SRS in one subframe, a first index nSRS′ of a symbol used to send the SRS. FIG. 8 shows three subframes. For example, first indexes nSRS′ that are of symbols used to send the SRS and that are determined by the terminal device include 0 to 3 in the first subframe, include 4 to 7 in the second subframe, and include 8 to 11 in the third subframe. After nSRS′ is determined, a virtual corresponding antenna of each symbol that is used to send the SRS in one subframe and on which the SRS is sent may be determined based on nSRS′ and the first formula. For example, the terminal device determines that a virtual corresponding antenna of a symbol 0 included in the first subframe is an antenna 0, a virtual corresponding antenna of a symbol 1 included in the first subframe is an antenna 1, a virtual corresponding antenna of a symbol 2 included in the first subframe is an antenna 1, and a virtual corresponding antenna of a symbol 3 included in the first subframe is an antenna 0. For cases in the second subframe and the third subframe, refer to FIG. 8. Details are not described herein. It may be learned that, taking the first subframe as an example, two symbols corresponding to the antenna 1 are consecutive, but two symbols corresponding to the antenna 0 are not consecutive. In this case, it may be considered that the two symbols corresponding to the antenna 0 are changed into consecutive, or in other words, a symbol corresponding to the antenna 0 may be changed. For example, the symbol 3 corresponding to the antenna 0 may be changed to the symbol 1. In this case, a symbol corresponding to an antenna 2 is also changed. For example, a symbol 1 and a symbol 2 corresponding to the antenna 2 are changed to a symbol 2 and a symbol 3. In this way, a new first index of a symbol used to send the SRS is obtained. For example, for the first subframe, new first indexes of symbols used to send the SRS are 0, 3, 1, and 2. Therefore, the terminal device may determine, based on the new first index used to send the SRS and formula 26, the subband used to send the SRS. For example, FIG. 9 is a schematic diagram of a subband used by the terminal device to send an SRS. A vertical axis represents frequency domain, and a horizontal axis represents time domain. FIG. 9 also shows three subframes. It may be considered that FIG. 9 uses an example in which P=4 and a total quantity of uplink subbands of the terminal device is also equal to 4. When the terminal device sends the SRS in the three subframes, a same frequency hopping manner is used. Taking the first subframe as an example, the terminal device sends the SRS on a subband 1 by using an antenna 0 on a symbol 0, sends the SRS on a subband 3 by using the antenna 0 on a symbol 1, sends the SRS on a subband 2 by using an antenna 1 on a symbol 2, and sends the SRS on a subband 4 by using the antenna 1 on a symbol 3. It may be learned that, the terminal device uses all transmit antennas of the terminal device on P symbols and traverses all subbands in the process of sending the SRS, so that the network device can obtain channel information of all uplink subbands.


Certainly, the foregoing determined virtual corresponding antenna is not an antenna actually used by the terminal device to send the SRS. Therefore, the terminal device may further determine, based on formula 17 to formula 19, the antenna used to send the SRS. For an index of the antenna used to send the SRS, refer to the example in FIG. 8. Taking the first subframe as an example, an antenna corresponding to the symbol 0 and the symbol 1 is the antenna 0, and an index of an antenna corresponding to the symbol 2 and the symbol 3 is the antenna 1. The terminal device may send the SRS after determining the antenna and the subband.


Certainly, the network device may determine, in a manner the same as that of the terminal device, the subband used to send the SRS, and determine the antenna actually used to send the SRS. Details are not described again.


It may be learned that, according to the technical solution in this embodiment of this application, the network device can obtain channel information of all uplink subbands in a relatively short time, so that the network device can perform relatively proper scheduling on the terminal device. In addition, in this embodiment of this application, when an antenna used to send the SRS is being determined, a case in which one subframe includes a plurality of first time units is considered and a case in which one antenna is enabled to implement continuous sending as much as possible is also considered by using Ma, so that a quantity of antenna switching times can be reduced in one subframe, or no antenna switching may be performed in one subframe, to ensure service continuity as much as possible and reduce power consumption caused by antenna switching of the terminal device.


The following describes, with reference to the accompanying drawings, apparatuses configured to implement the foregoing method in the embodiments of this application. Therefore, all the foregoing content may be used in subsequent embodiments, and repeated content is not described again.



FIG. 10 is a schematic structural diagram of a terminal device 1000. The terminal device 1000 may implement a function of the terminal device described above. The terminal device 1000 may be an independent device that can implement a function of the foregoing terminal device, or may be a chip disposed in a device that can implement a function of the foregoing terminal device. The terminal device 1000 may include a processor 1001 and a transceiver 1002. If the terminal device 1000 is the independent device, the transceiver 1002 may be a radio frequency transceiver component in the device. Alternatively, if the terminal device 1000 is the chip disposed in the device, the transceiver 1002 may be a communications interface in the chip, and the communications interface may be connected to the radio frequency transceiver component in the device in which the chip is located, to implement signal receiving and sending by using the radio frequency transceiver component. The processor 1001 may be configured to perform S42 and S43 in the embodiment shown in FIG. 4, and/or configured to support another process of the technology described in this specification. The transceiver 1002 may be configured to perform S41 and S44 in the embodiment shown in FIG. 4, and/or configured to support another process of the technology described in this specification.


For example, the transceiver 1002 is configured to receive configuration information from a network device, where the configuration information is used to indicate a quantity MSRS of first time units that are used by the terminal device to send an SRS in one subframe, and the subframe includes a plurality of first time units.


The processor 1001 is configured to determine, based on MSRS, a first index nSRS′ of a first time unit used to send the SRS.


The processor 1001 is further configured to determine, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′, where Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna.


The transceiver 1002 is further configured to send, by using the antenna, the SRS in the first time unit indicated by nSRS′.


All related content of the steps in the foregoing method embodiments may be cited in function descriptions of the corresponding function modules. Details are not described herein again.



FIG. 11 is a schematic structural diagram of a network device 1100. The network device 1100 may implement a function of the network device described above. The network device 1100 may be an independent device that can implement a function of the foregoing network device, or may be a chip disposed in a device that can implement a function of the foregoing network device. The network device 1100 may include a processor 1101 and a transceiver 1102. If the network device 1100 is the independent device, the transceiver 1102 may be a radio frequency transceiver component in the device. Alternatively, if the network device 1100 is the chip disposed in the device, the transceiver 1102 may be a communications interface in the chip, and the communications interface may be connected to the radio frequency transceiver component in the device in which the chip is located, to implement signal receiving and sending by using the radio frequency transceiver component. The processor 1101 may be configured to: generate configuration information in the embodiment shown in FIG. 4, determine, based on MSRS, a first index nSRS′ of a first time unit used to send an SRS, and determine, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′. Ma is a process such as a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and/or configured to support another process of the technology described in this specification. The transceiver 1102 may be configured to perform S41 and S44 in the embodiment shown in FIG. 4, and/or configured to support another process of the technology described in this specification.


For example, the transceiver 1102 is configured to send configuration information to a terminal device, where the configuration information is used to indicate a quantity MSRS of first time units that are used by the terminal device to send an SRS in one subframe, and the subframe includes a plurality of first time units.


The processor 1101 is configured to determine, based on MSRS, a first index nSRS′ of a first time unit used to send the SRS.


The processor 1101 is further configured to determine, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′, where Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna.


The transceiver 1102 is further configured to receive, by using the antenna, the SRS in the first time unit indicated by nSRS′.


All related content of the steps in the foregoing method embodiments may be cited in function descriptions of the corresponding function modules. Details are not described herein again.



FIG. 12 is a schematic structural diagram of a terminal device 1200. The terminal device 1200 may implement a function of the terminal device described above. The terminal device 1200 may be an independent device that can implement a function of the foregoing terminal device, or may be a chip disposed in a device that can implement a function of the foregoing terminal device. The terminal device 1200 may include a processor 1201 and a transceiver 1202. If the terminal device 1200 is the independent device, the transceiver 1202 may be a radio frequency transceiver component in the device. Alternatively, if the terminal device 1200 is the chip disposed in the device, the transceiver 1202 may be a communications interface in the chip, and the communications interface may be connected to the radio frequency transceiver component in the device in which the chip is located, to implement signal receiving and sending by using the radio frequency transceiver component. The processor 1201 may be configured to perform a process such as determining an antenna and a subband used to send an SRS in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification. The transceiver 1202 may be configured to perform S71 and S72 in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification.


For example, the transceiver 1202 is configured to receive configuration information from a network device, where the configuration information is used to indicate the terminal device 1200 to perform frequency hopping within P subbands, and P is a positive integer.


The transceiver 1202 is further configured to send an SRS to the network device in a frequency hopping manner within the P subbands, where the terminal device traverses all of the P subbands when sending the SRS in P first time units, and the terminal device 1200 traverses all transmit antennas of the terminal device 1200 when sending the SRS in the P first time units; and the processor 1201 determines, based on the following formula, an index of an antenna used to send the SRS in the P first time units, where


when the terminal device 1200 has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device 1200 has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device 1200 has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation, and Λ is 2 or 3, where


Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit used to send the SRS.


All related content of the steps in the foregoing method embodiments may be cited in function descriptions of the corresponding function modules. Details are not described herein again.


The terminal device 1200 shown in FIG. 12 and the terminal device 1000 shown in FIG. 10 may be a same communications apparatus, or may be different communications apparatuses.



FIG. 13 is a schematic structural diagram of a network device 1300. The network device 1300 may implement a function of the network device described above. The network device 1300 may be an independent device that can implement a function of the foregoing network device, or may be a chip disposed in a device that can implement a function of the foregoing network device. The network device 1300 may include a processor 1301 and a transceiver 1302. If the network device 1300 is the independent device, the transceiver 1302 may be a radio frequency transceiver component in the device. Alternatively, if the network device 1300 is the chip disposed in the device, the transceiver 1302 may be a communications interface in the chip, and the communications interface may be connected to the radio frequency transceiver component in the device in which the chip is located, to implement signal receiving and sending by using the radio frequency transceiver component. The processor 1301 may be configured to perform a process such as determining an antenna and a subband used to send an SRS in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification. The transceiver 1302 may be configured to perform S71 and S72 in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification.


For example, the transceiver 1302 is configured to send configuration information to a terminal device, where the configuration information is used to indicate the terminal device to perform frequency hopping within P subbands, and P is a positive integer.


The transceiver 1302 is further configured to receive an SRS from the terminal device in a frequency hopping manner within the P subbands, where the network device 1300 traverses all of the P subbands when receiving the SRS in P first time units, and the network device 1300 traverses all transmit antennas of the terminal device when receiving the SRS in the P first time units; and the processor 1301 determines, based on the following formula, an index of an antenna used to receive the SRS in the P first time units, where


when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation, and Λ is 2 or 3, where


Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit used to send the SRS.


All related content of the steps in the foregoing method embodiments may be cited in function descriptions of the corresponding function modules. Details are not described herein again.


In a simple embodiment, a person skilled in the art may figure out that when the terminal device 1000, the network device 1100, the terminal device 1200, or the network device 1300 is a chip, the terminal device 1000, the network device 1100, the terminal device 1200, or the network device 1300 may be further implemented by using a structure of a communications apparatus 1400 shown in FIG. 14A. The communications apparatus 1400 may implement a function of the terminal device or the network device described above. The communications apparatus 1400 may include a processor 1401.


When the communications apparatus 1400 is configured to implement the function of the network device described above, the processor 1401 may be configured to: generate configuration information in the embodiment shown in FIG. 4, determine, based on MSRS, a first index nSRS′ of a first time unit used to send an SRS, and determine, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′. Ma is a process such as a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and/or configured to support another process of the technology described in this specification. Alternatively, when the communications apparatus 1400 is configured to implement the function of the terminal device described above, the processor 1401 may be configured to perform S42 and S43 in the embodiment shown in FIG. 4, and/or configured to support another process of the technology described in this specification. Alternatively, when the communications apparatus 1400 is configured to implement the function of the network device described above, the processor 1401 may be configured to perform a process such as determining an antenna and a subband used to send an SRS in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification. Alternatively, when the communications apparatus 1400 is configured to implement the function of the terminal device described above, the processor 1401 may be configured to perform a process such as determining an antenna and a subband used to send an SRS in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification.


The communications apparatus 1400 may be implemented by using a field programmable gate array (field-programmable gate array, FPGA), an application-specific integrated circuit (application specific integrated circuit, ASIC), a system on chip (system on chip, SoC), a central processing unit (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), a micro controller unit (micro controller unit, MCU), a programmable logic device (programmable logic device, PLD), or another integrated chip. The communications apparatus 1400 may be disposed in the network device or the terminal device in the embodiments of this application, so that the network device or the terminal device implements the method provided in the embodiments of this application.


In an optional implementation, the communications apparatus 1400 may include a transceiver component, configured to communicate with another device. When the communications apparatus 1400 is configured to implement the function of the network device or the terminal device described above, the transceiver component may be configured to perform S41 and S44 in the embodiment shown in FIG. 4, and/or configured to support another process of the technology described in this specification. Alternatively, when the communications apparatus 1400 is configured to implement the function of the network device or the terminal device described above, the transceiver component may be configured to perform S71 and S72 in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification. For example, the transceiver component is a communications interface. If the communications apparatus 1400 is a network device or a terminal device, the communications interface may be a transceiver in the network device or the terminal device, for example, a transceiver 402 or a transceiver 502. The transceiver is, for example, a radio frequency transceiver component in the network device or the terminal device. Alternatively, if the communications apparatus 1400 is a chip disposed in a network device or a terminal device, the communications interface may be an input/output interface of the chip, for example, an input/output pin.


In an optional implementation, the communications apparatus 1400 may further include a memory 1402. Referring to FIG. 14B, the memory 1402 is configured to store computer programs or instructions, and the processor 1401 is configured to decode and execute the computer programs or the instructions. It should be understood that these computer programs or instructions may include function programs of the network device or the terminal device. When the function programs of the network device are decoded and executed by the processor 1401, the network device may be enabled to implement functions of the network device in the method provided in the embodiment shown in FIG. 4 or the embodiment shown in FIG. 7 in the embodiments of this application. When the function programs of the terminal device are decoded and executed by the processor 1401, the terminal device may be enabled to implement functions of the terminal device in the method provided in the embodiment shown in FIG. 4 or the embodiment shown in FIG. 7 in the embodiments of this application.


In another optional implementation, these function programs of the network device or the terminal device are stored in an external memory of the communications apparatus 1400. When the function programs of the network device are decoded and executed by the processor 1401, the memory 1402 temporarily stores some or all content of the function programs of the network device. When the function programs of the terminal device are decoded and executed by the processor 1401, the memory 1402 temporarily stores some or all content of the function programs of the terminal device.


In another optional implementation, these function programs of the network device or the terminal device are set to be stored in the memory 1402 in the communications apparatus 1400. When the memory 1402 in the communications apparatus 1400 stores the function programs of the network device, the communications apparatus 1400 may be disposed in the network device in the embodiments of this application. When the memory 1402 in the communications apparatus 1400 stores the function programs of the terminal device, the communications apparatus 1400 may be disposed in the terminal device in the embodiments of this application.


In still another optional implementation, some content of these function programs of the network device is stored in an external memory of the communications apparatus 1400, and the other content of these function programs of the network device is stored in the memory 1402 in the communications apparatus 1400. Alternatively, some content of these function programs of the terminal device is stored in an external memory of the communications apparatus 1400, and the other content of these function programs of the terminal device is stored in the memory 1402 in the communications apparatus 1400.


In the embodiments of this application, the terminal device 1000, the network device 1100, the terminal device 1200, the network device 1300, and the communications apparatus 1400 may be presented in a form in which function modules are obtained through division based on corresponding functions, or may be presented in a form in which function modules are obtained through division in an integrated manner. The “module” herein may be an ASIC, a processor and a memory that execute one or more software or firmware programs, an integrated logic circuit, and/or another component that can provide the foregoing functions.


In addition, the terminal device 1000 provided in the embodiment shown in FIG. 10 may alternatively be implemented in another form. For example, the communications apparatus includes a processing unit and a transceiver unit. For example, the processing unit may be implemented by using the processor 1001, and the transceiver unit may be implemented by using the transceiver 1002. The processing unit may be configured to perform S42 and S43 in the embodiment shown in FIG. 4, and/or configured to support another process of the technology described in this specification. The transceiver unit may be configured to perform S41 and S44 in the embodiment shown in FIG. 4, and/or configured to support another process of the technology described in this specification.


For example, the transceiver unit is configured to receive configuration information from a network device, where the configuration information is used to indicate a quantity MSRS of first time units that are used by the terminal device to send an SRS in one subframe, and the subframe includes a plurality of first time units.


The processing unit is configured to determine, based on MSRS, a first index nSRS′ of a first time unit used to send the SRS.


The processing unit is further configured to determine, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′, where Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna.


The transceiver unit is further configured to send, by using the antenna, the SRS in the first time unit indicated by nSRS′.


All related content of the steps in the foregoing method embodiments may be cited in function descriptions of the corresponding function modules. Details are not described herein again.


The network device 1100 provided in the embodiment shown in FIG. 11 may alternatively be implemented in another form. For example, the communications apparatus includes a processing unit and a transceiver unit. For example, the processing unit may be implemented by using the processor 1101, and the transceiver unit may be implemented by using the transceiver 1102. The processing unit may be configured to: generate configuration information in the embodiment shown in FIG. 4, determine, based on MSRS, a first index nSRS′ of a first time unit used to send an SRS, and determine, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′. Ma is a process such as a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and/or configured to support another process of the technology described in this specification. The transceiver unit may be configured to perform S41 and S44 in the embodiment shown in FIG. 4, and/or configured to support another process of the technology described in this specification.


For example, the transceiver unit is configured to send configuration information to a terminal device, where the configuration information is used to indicate a quantity MSRS of first time units that are used by the terminal device to send an SRS in one subframe, and the subframe includes a plurality of first time units.


The processing unit is configured to determine, based on MSRS, a first index nSRS′ of a first time unit used to send the SRS.


The processing unit is further configured to determine, based on nSRS′ and Ma, an antenna that is used to send the SRS in a first time unit and that corresponds to nSRS′, where Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna.


The transceiver unit is further configured to receive, by using the antenna, the SRS in the first time unit indicated by nSRS′.


All related content of the steps in the foregoing method embodiments may be cited in function descriptions of the corresponding function modules. Details are not described herein again.


The terminal device 1200 provided in the embodiment shown in FIG. 12 may alternatively be implemented in another form. For example, the communications apparatus includes a processing unit and a transceiver unit. For example, the processing unit may be implemented by using the processor 1201, and the transceiver unit may be implemented by using the transceiver 1202. The processing unit may be configured to perform a process such as determining an antenna and a subband used to send an SRS in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification. The transceiver unit may be configured to perform S71 and S72 in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification.


For example, the transceiver unit is configured to receive configuration information from a network device, where the configuration information is used to indicate the communications device to perform frequency hopping within P subbands, and P is a positive integer.


The transceiver unit is further configured to send an SRS to the network device in a frequency hopping manner within the P subbands, where the terminal device traverses all of the P subbands when sending the SRS in P first time units, and the communications device traverses all transmit antennas of the communications device when sending the SRS in the P first time units; and the processing unit determines, based on the following formula, an index of an antenna used to send the SRS in the P first time units, where


when the communications device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the communications device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the communications device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation, and Λ is 2 or 3, where


Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit used to send the SRS.


All related content of the steps in the foregoing method embodiments may be cited in function descriptions of the corresponding function modules. Details are not described herein again.


The network device 1300 provided in the embodiment shown in FIG. 13 may alternatively be implemented in another form. For example, the communications apparatus includes a processing unit and a transceiver unit. For example, the processing unit may be implemented by using the processor 1301, and the transceiver unit may be implemented by using the transceiver 1302. The processing unit may be configured to perform a process such as determining an antenna and a subband used to send an SRS in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification. The transceiver unit may be configured to perform S71 and S72 in the embodiment shown in FIG. 7, and/or configured to support another process of the technology described in this specification.


For example, the transceiver unit is configured to send configuration information to a terminal device, where the configuration information is used to indicate the terminal device to perform frequency hopping within P subbands, and P is a positive integer.


The transceiver unit is further configured to receive an SRS from the terminal device in a frequency hopping manner within the P subbands, where the communications device traverses all of the P subbands when receiving the SRS in P first time units, and the communications device traverses all transmit antennas of the terminal device when receiving the SRS in the P first time units; and the processing unit determines, based on the following formula, an index of an antenna used to receive the SRS in the P first time units, where


when the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; or


when the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna used to send the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, where a(nSRS_ant) represents the index of the antenna used to send the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation, and Λ is 2 or 3, where


Ma is a quantity of first time units that are consecutively used to send the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit used to send the SRS.


All related content of the steps in the foregoing method embodiments may be cited in function descriptions of the corresponding function modules. Details are not described herein again.


The terminal device 1000, the network device 1100, the terminal device 1200, the network device 1300, and the communications apparatus 1400 provided in the embodiments of this application may be configured to perform the method provided in the embodiment shown in FIG. 4 or the embodiment shown in FIG. 7. Therefore, for technical effects that can be achieved by the terminal device 1000, the network device 1100, the terminal device 1200, the network device 1300, and the communications apparatus 1400, refer to the foregoing method embodiments. Details are not described herein again.


The embodiments of this application are described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product according to the embodiments of this application. It should be understood that computer program 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 program instructions may be provided for a general-purpose computer, a special-purpose 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.


All or some of the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, all or some of the embodiments may be implemented in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedure or functions according to the embodiments of this application are all or partially generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (digital subscriber line, DSL)) or wireless (for example, infrared, radio, or microwave) manner. The computer-readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a digital versatile disc (digital versatile disc, DVD)), a semiconductor medium (for example, a solid-state drive (solid state disk, SSD)), or the like.


It is clear that a person skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of this application. In this way, this application is intended to cover these modifications and variations of the embodiments of this application provided that they fall within the scope of the claims of this application and their equivalent technologies.

Claims
  • 1. A sounding reference signal SRS sending method, comprising: receiving, by a terminal device, configuration information from a network device, wherein the configuration information indicates the terminal device to perform frequency hopping within P subbands, and P is a positive integer; andsending, by the terminal device, an SRS to the network device in a frequency hopping manner within the P subbands, wherein the terminal device traverses all of the P subbands when sending the SRS in P first time units, and the terminal device traverses all transmit antennas of the terminal device when sending the SRS in the P first time units; and determining, by the terminal device based on the following formula, an index of an antenna for sending the SRS in the P first time units, whereinwhen the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna for sending the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, wherein a(nSRS_ant) represents the index of the antenna for sending the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; orwhen the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna for sending the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, wherein a(nSRS_ant) represents the index of the antenna for sending the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; orwhen the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna for sending the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, wherein a(nSRS_ant) represents the index of the antenna sending the SRS, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, and Λ is 2 or 3, whereinMa is a quantity of first time units that are consecutively for sending the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit for sending the SRS.
  • 2. The method according to claim 1, wherein nSRS′ satisfies the following formula
  • 3. The method according to claim 1, wherein the first time unit is one symbol or H consecutive symbols, and H is an integer greater than or equal to 2.
  • 4. A sounding reference signal SRS receiving method, comprising: sending, by a network device, configuration information to a terminal device, wherein the configuration information indicates the terminal device to perform frequency hopping within P subbands, and P is a positive integer;receiving, by the network device, an SRS from the terminal device in a frequency hopping manner within the P subbands, wherein the network device traverses all of the P subbands when receiving the SRS in P first time units, and the network device traverses all transmit antennas of the terminal device when receiving the SRS in the P first time units; and determining, by the network device based on the following formula, an index of an antenna for receiving the SRS in the P first time units, whereinwhen the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna for sending the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, wherein a(nSRS_ant) represents the index of the antenna for sending the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; orwhen the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna for sending the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, wherein a(nSRS_ant) represents the index of the antenna for sending the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; orwhen the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna for sending the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, wherein a(nSRS_ant) represents the index of the antenna for sending the SRS, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, and Λ is 2 or 3, whereinMa is a quantity of first time units that are consecutively for sending the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit for sending the SRS.
  • 5. The method according to claim 4, wherein nSRS′ satisfies the following formula:
  • 6. The method according to claim 4, wherein the first time unit is one symbol or H consecutive symbols, and H is an integer greater than or equal to 2.
  • 7. A terminal device, comprising: a transceiver, configured to receive configuration information from a network device, wherein the configuration information indicates the terminal device to perform frequency hopping within P subbands, and P is a positive integer, whereinthe transceiver is further configured to send an SRS to the network device in a frequency hopping manner within the P subbands, wherein the terminal device traverses all of the P subbands when sending the SRS in P first time units, and the terminal device traverses all transmit antennas of the terminal device when sending the SRS in the P first time units; and a processor comprised in the terminal device determines, based on the following formula, an index of an antenna for sending the SRS in the P first time units, whereinwhen the terminal device has two antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna for sending the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 2, wherein a(nSRS_ant) represents the index of the antenna for sending the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; orwhen the terminal device has four antennas and sends the SRS by using one of the antennas at a same moment, the index of the antenna for sending the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod 4, wherein a(nSRS_ant) represents the index of the antenna for sending the SRS, nSRS_ant=└nSRS′/Ma┘, and mod represents a modulo operation; orwhen the terminal device has four antennas and sends the SRS by using two of the antennas at a same moment, the index of the antenna for sending the SRS in the P first time units satisfies the following formula: a(nSRS_ant)=nSRS_ant mod Λ, wherein a(nSRS_ant) represents the index of the antenna for sending the SRS, nSRS_ant=└nSRS′/Ma┘, mod represents a modulo operation, and Λ is 2 or 3, whereinMa is a quantity of first time units that are consecutively for sending the SRS in one subframe by using a same antenna, and nSRS′ is a first index of a first time unit used to send the SRS.
  • 8. The terminal device according to claim 7, wherein nSRS′ satisfies the following formula:
  • 9. The terminal device according to claim 7, wherein the first time unit is one symbol or H consecutive symbols, and H is an integer greater than or equal to 2.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No. PCT/CN2018/119891, filed on Dec. 7, 2018, the disclosure of which is hereby incorporated by reference in its entirety.

Continuations (1)
Number Date Country
Parent PCT/CN2018/119891 Dec 2018 US
Child 17340975 US