This application relates to the field of communications technologies, and in particular, to an SRS sending method, an SRS receiving method, and a device.
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
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.
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:
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:
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
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:
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
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:
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
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:
where
Nant represents a quantity of antennas in the terminal device, and
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:
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:
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:
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
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:
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
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:
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
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:
where
Nant represents a quantity of antennas in the terminal device, and
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:
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.
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
In an existing LTE standard, the SRS may be sent on the last symbol of an uplink subframe. As shown in
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
The network device in
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.
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
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:
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
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:
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
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
Manner 2: Antenna switching in a subframe is not supported, and antenna switching can be performed only between subframes. For this, refer to
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:
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
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:
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
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.
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:
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
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:
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:
where
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.
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
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
nSRS′ is involved in formula 17 to formula 19. In an implementation, nSRS′ may satisfy the following formula:
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
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
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
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:
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
(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:
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
(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:
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
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:
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
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
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
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.
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.
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.
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
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
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
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
In an optional implementation, the communications apparatus 1400 may further include a memory 1402. Referring to
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
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
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
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
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
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.
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.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2018/119891 | Dec 2018 | US |
Child | 17340975 | US |