COMMUNICATION METHOD AND APPARATUS

A communication method includes sending configuration information of a reference signal. The communication method also includes receiving the reference signal via M antenna ports based on the configuration information, wherein M is an integer greater than 0, the M antenna ports includes at least one first antenna port, a comb occupied by the first antenna port is based on a first offset, and the first offset is based on one or more of a time domain resource occupied by the first antenna port or a frequency domain resource occupied by the first antenna port.

TECHNICAL FIELD

This application relates to the communication field, and in particular, to a communication method and apparatus.

BACKGROUND

A network device may obtain uplink channel information of a terminal device by using a sounding reference signal (SRS) sent by the terminal device; or obtain downlink channel information of the terminal device based on channel reciprocity. Further, the network device may schedule the terminal device based on the uplink channel information or the downlink channel information. However, a physical resource used by the terminal device to send the SRS follows a fixed rule. This is not conducive to interference randomization and is not conducive to channel estimation.

SUMMARY

Embodiments of this application provide a communication method and apparatus, to enhance interference randomization, so as to improve channel estimation performance.

According to a first aspect, a communication method is provided. The communication method includes: sending configuration information; and receiving a reference signal via M antenna ports based on the configuration information, where the configuration information indicates a configuration of the reference signal, M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, the first offset is an integer greater than 0, and the first offset is determined based on at least a cell identifier and a time domain resource occupied by the first antenna port; or the first offset is determined based on a cyclic shift value occupied by the first antenna port.

According to the method provided in the first aspect, the comb occupied by the first antenna port of a terminal device is determined based on the first offset, so that a frequency domain resource (the comb) occupied by the terminal device may randomly change at different sending moments. In this way, a terminal device that causes interference to the terminal device randomly changes. Therefore, frequency-domain interference randomization is implemented, and a better interference randomization effect can be achieved.

Alternatively, according to the method provided in the first aspect, the cyclic shift value is introduced. The comb occupied by the first antenna port is obtained based on the first offset, and a value of the first offset is related to the cyclic shift value. In this case, the comb occupied by the first antenna port is affected by the cyclic shift value and the first offset. In this way, a comb and a cyclic shift value that are occupied by each antenna port change randomly at different sending moments, and an antenna port that causes interference to the antenna port of the terminal device also changes randomly at different sending moments. At a same sending moment, antenna ports that cause interference to different antenna ports of the terminal device are different. In this way, two-dimensional interference randomization in code domain and in frequency domain can be implemented, the interference randomization effect can be further enhanced, and an interference randomization convergence speed can be accelerated.

In a possible design manner, the first offset is determined based on at least the cell identifier and the time domain resource occupied by the first antenna port, or the first offset may be determined based on one or more of the following parameters: a quantity of slots included in each system frame, a quantity of orthogonal frequency division multiplexing (OFDM) symbols included in each slot, a comb quantity, and a comb offset, where the comb quantity is a quantity of combs included in a transmit bandwidth mSRS,bhopof the reference signal, and the comb offset is a reference quantity of combs occupied by the reference signal. In this way, a frequency domain resource (the comb) occupied by the terminal device may randomly change at different sending moments, so that a terminal device that causes interference to the terminal device randomly changes.

In a possible design manner, the time domain resource occupied by the first antenna port includes one or more OFDM symbols, and the one or more OFDM symbols included in the time domain resource occupied by the first antenna port may be determined based on one or more of the following parameters: a system frame number corresponding to the first antenna port, a slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

In other words, a quantity of OFDM symbols included in the time domain resource occupied by the first antenna port is not limited in this application.

Optionally, time domain resources occupied by the M antenna ports may be the same or different.

In a possible design manner, the first offset may be a first random number. In other words, the first offset may be a random number. For example, the first offset is a random number greater than 0.

In a possible design manner, the first offset or the first random number may satisfy

The comb occupied by the first antenna port of the terminal device is determined based on the first offset, so that the frequency domain resource (comb) occupied by the terminal device may randomly change at different sending moments. In this way, a terminal device that causes interference to the terminal device randomly changes. Therefore, the better interference randomization effect can be achieved.

In a possible design manner, the M antenna ports may further include at least one second antenna port, a comb occupied by the second antenna port may be determined based on at least a second offset, the second offset is an integer greater than 0, the second offset may be determined based on at least the cell identifier and a time domain resource occupied by the second antenna port, and the second offset is different from the first offset.

In this way, the comb occupied by the first antenna port of the terminal device is determined based on the first offset, and the comb occupied by the second antenna port of the terminal device is determined based on the second offset, so that the comb occupied by the antenna port of the terminal device randomly changes at different sending moments, and intervals between a plurality of combs occupied by the antenna ports of the same terminal device may also change randomly. In this way, antenna ports that cause interference to the antenna port of the terminal device are random at different sending moments, and antenna ports that cause, at a same sending moment, interference to antenna ports that are of the terminal device and that occupy different combs may not be antenna ports of a same terminal device. This implements the frequency-domain interference randomization, and can further improve a degree of freedom of the frequency domain resource occupied by the antenna port of the terminal device, to further improve the interference randomization effect.

In a possible design manner, the second offset may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port; or the second offset may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset, where the comb quantity is the quantity of the combs included in the transmit bandwidth mSRS,bhopof the reference signal, and the comb offset is the reference quantity of the combs occupied by the reference signal. This can further improve the degree of freedom of the frequency domain resource occupied by the antenna port of the terminal device, to further improve the interference randomization effect.

In a possible design manner, the time domain resource occupied by the second antenna port may include one or more OFDM symbols, and the one or more OFDM symbols that may be included in the time domain resource occupied by the second antenna port are determined based on one or more of the following parameters: a system frame number corresponding to the second antenna port, a slot number corresponding to the second antenna port, and an OFDM symbol number corresponding to the second antenna port. In other words, a quantity of OFDM symbols included in the time domain resource occupied by the second antenna port is not limited in this application.

In a possible design manner, the second offset may be a second random number. In other words, the second offset may be a random number.

In a possible design manner, the second random number may satisfy Q2=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2=Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslotl0+l′)+m+1)·2m; or Q2=Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m,where Q2represents the second random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the second antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the second antenna port; l0+l′ represents the OFDM symbol number corresponding to the second antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port; and the mathematical symbol mod represents a modulo operation. This can further improve the degree of freedom of the frequency domain resource occupied by the antenna port of the terminal device, to further improve the interference randomization effect.

In a possible design manner, the second offset may be a sum of the first offset and a third offset, and the third offset is an integer greater than 0. In this way, the comb occupied by the first antenna port of the terminal device is determined based on the first offset, and the comb occupied by the second antenna port of the terminal device is determined based on the second offset, so that the comb occupied by the antenna port of the terminal device randomly changes at different sending moments, and intervals between a plurality of combs occupied by the antenna ports of the same terminal device may also change randomly. In this way, antenna ports that cause interference to the antenna port of the terminal device are random at different sending moments, and antenna ports that cause, at a same sending moment, interference to antenna ports that are of the terminal device and that occupy different combs may not be antenna ports of a same terminal device. This implements the frequency-domain interference randomization, and can further improve the degree of freedom of the frequency domain resource occupied by the antenna port of the terminal device, to further improve the interference randomization effect.

In a possible design manner, the third offset may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port, or the third offset may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset. This can further improve the degree of freedom of the frequency domain resource occupied by the antenna port of the terminal device, to further improve the interference randomization effect.

In a possible design manner, the third offset may be a third random number. In other words, the third offset may be a random number.

In a possible design manner, the third random number may satisfy Δ=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m)mod (KTC/2); Δ=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod (KTC/2); Δ=(Σm=07c(8(ns,fμNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m)mod (KTC/2); or Δ=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m)mod (KTC/2),where Δ represents the third random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the second antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the second antenna port; l0+l′ represents the OFDM symbol number corresponding to the second antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port; and the mathematical symbol mod represents a modulo operation. This can further improve the degree of freedom of the frequency domain resource occupied by the antenna port of the terminal device, to further improve the interference randomization effect.

In a possible design manner, that the first offset is determined based on a cyclic shift value occupied by the first antenna port may include: The first offset is determined based on a range to which the cyclic shift value belongs.

In this way, the comb occupied by the antenna port is obtained based on the first offset, where the value of the first offset is related to the cyclic shift value. In this case, the comb occupied by the antenna port is affected by the cyclic shift value and the first offset, so that a comb and a cyclic shift value that are occupied by each antenna port change randomly at different sending moments, and an antenna port that causes interference to the antenna port of the terminal device also changes randomly at different sending moments. At a same sending moment, antenna ports that cause interference to different antenna ports of the terminal device are different. The two-dimensional interference randomization in code domain and in frequency domain can be implemented, the interference randomization effect can be further enhanced, and the interference randomization convergence speed can be accelerated.

In addition, due to introduction of the cyclic shift value, interference levels of interference caused by antenna port pa of UE x to antenna port pbof UE y may still vary greatly at different sending moments. In this way, an excellent interference randomization effect can be ensured.

In a possible design manner, a start position of a frequency domain resource occupied by each of the M antenna ports may be determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset may be determined based on at least the cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

In this way, when the start position of the frequency domain resource occupied by the antenna port is determined, the fourth offset is introduced, so that the start position of the frequency domain resource occupied by each antenna port may randomly change in different frequency hopping periodicities, and an antenna port that causes interference to an antenna port of a terminal device also randomly changes, to implement the frequency-domain interference randomization. This brings a good interference randomization effect, can further accelerate the interference randomization convergence speed, and can further improve channel estimation performance.

In a possible design manner, the fourth offset may be a fourth random number. In other words, the fourth offset may be a random number.

In a possible design manner, the fourth random number may satisfy krand=(Σm=07c(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m) mod PF; or krand=Σm=07c(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m,where krandrepresents the fourth random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier;

represents the index of the frequency hopping periodicity corresponding to the reference signal; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a count value of the reference signal; a mathematical symbol Π represents a product of a sequence; and the mathematical symbol mod indicates a modulo operation. This can further accelerate the interference randomization convergence speed, and can further improve the channel estimation performance.

According to a second aspect, a communication method is provided. The communication method includes: receiving configuration information; and sending a reference signal via M antenna ports based on the configuration information, where the configuration information indicates a configuration of the reference signal, M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, the first offset is an integer greater than 0, and the first offset is determined based on at least a cell identifier and a time domain resource occupied by the first antenna port; or the first offset is determined based on a cyclic shift value occupied by the first antenna port.

In a possible design manner, the first offset may be determined based on at least the cell identifier and the time domain resource occupied by the first antenna port; or the first offset may be determined based on one or more of the following parameters: a quantity of slots included in each system frame, a quantity of orthogonal frequency division multiplexing OFDM symbols included in each slot, a comb quantity, and a comb offset, where the comb quantity is a quantity of combs included in a transmit bandwidth mSRS,bhopof the reference signal, and the comb offset is a reference quantity of combs occupied by the reference signal.

In a possible design manner, the time domain resource occupied by the first antenna port may include one or more OFDM symbols, and the one or more OFDM symbols included in the time domain resource occupied by the first antenna port are determined based on one or more of the following parameters: a system frame number corresponding to the first antenna port, a slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

In a possible design manner, the first offset may be a first random number.

In a possible design manner, the first random number may satisfy Q1=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m)mod KTC; Q1=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m)mod KTC; Q1=Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m; or Q1=Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m,where Q1represents the first random number; a mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the first antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the first antenna port; l0+l′ represents the OFDM symbol number corresponding to the first antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port; and a mathematical symbol mod represents a modulo operation.

In a possible design manner, the M antenna ports may further include at least one second antenna port, a comb occupied by the second antenna port may be determined based on at least a second offset, the second offset is an integer greater than 0, the second offset is determined based on at least the cell identifier and a time domain resource occupied by the second antenna port, and the second offset is different from the first offset.

In a possible design manner, the second offset may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port; or the second offset may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset, where the comb quantity is the quantity of the combs included in the transmit bandwidth mSRS,bhopof the reference signal, and the comb offset is the reference quantity of the combs occupied by the reference signal.

In a possible design manner, the time domain resource occupied by the second antenna port may include one or more OFDM symbols, and the one or more OFDM symbols that may be included in the time domain resource occupied by the second antenna port may be determined based on one or more of the following parameters: a system frame number corresponding to the second antenna port, a slot number corresponding to the second antenna port, and an OFDM symbol number corresponding to the second antenna port.

In a possible design manner, the second offset may be a second random number.

In a possible design manner, the second random number may satisfy Q2=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2=Σm=07c((8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m; or Q2=Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m,where Q2represents the second random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the second antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the second antenna port; l0+l′ represents the OFDM symbol number corresponding to the second antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port; and the mathematical symbol mod represents a modulo operation.

In a possible design manner, the second offset may be a sum of the first offset and a third offset, and the third offset is an integer greater than 0.

In a possible design manner, the third offset may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port, or the third offset may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset.

In a possible design manner, the third offset may be a third random number.

In a possible design manner, the third random number may satisfy Δ=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m)mod (KTC/2); Δ=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod (KTC/2) Δ=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m)mod (KTC/2); or Δ=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m)mod (KTC/2),where Δ represents the third random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the second antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the second antenna port; l0+l′ represents the OFDM symbol number corresponding to the second antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port; and the mathematical symbol mod represents a modulo operation.

In a possible design manner, that the first offset is determined based on a cyclic shift value occupied by the first antenna port may include: The first offset is determined based on a range to which the cyclic shift value belongs.

In a possible design manner, a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset is determined based on at least the cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

In a possible design manner, the fourth offset may be a fourth random number.

In a possible design manner, the fourth random number may satisfy krand=(Σm=07c(8└nSRS/Πb′bhopBSRSNb′┘+m)·2m) mod PF; or krand=Σm=07c(8└nSRS/Πb′=bhopBSRSNb′+m)·2m,where krandrepresents the fourth random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier;

represents the index of the frequency hopping periodicity corresponding to the reference signal; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a count value of the reference signal; a mathematical symbol Π represents a product of a sequence; and the mathematical symbol mod indicates a modulo operation.

In addition, for technical effects of the communication method according to the second aspect, refer to the technical effects of the method according to any possible implementation of the first aspect. Details are not described herein again.

According to a third aspect, a communication method is provided. The communication method includes: sending configuration information; and receiving a reference signal via M antenna ports based on the configuration information, where the configuration information indicates a configuration of the reference signal, and a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset is determined based on at least a cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

In a possible design manner, the fourth offset may be a fourth random number.

In a possible design manner, the fourth random number may satisfy krand=(Σm=07c(8└nSRS/Πb′=bhopNb′┘+m)·2m) mod PF; or krand=Σm=07c(8└nSRS/Πb′=bhopNb′┘+m)·2m,where krandrepresents the fourth random number; a mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier;

represents the index of the frequency hopping periodicity corresponding to the reference signal; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a count value of the reference signal; a mathematical symbol Π represents a product of a sequence; and a mathematical symbol mod indicates a modulo operation.

In addition, for technical effects of the communication method according to the third aspect, refer to the technical effects of the method according to any possible implementation of the first aspect. Details are not described herein again.

According to a fourth aspect, a communication method is provided. The communication method includes: receiving configuration information; and sending a reference signal via M antenna ports based on the configuration information, where the configuration information indicates a configuration of the reference signal, and a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset is determined based on at least a cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

In a possible design manner, the fourth offset may be a fourth random number.

In a possible design manner, the fourth random number may satisfy krand=(Σm=07c(8└nSRS/Πb′=bhopNb′┘+m)·2m) mod PF; or krand=Σm=07c(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m,where krandrepresents the fourth random number; a mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier;

represents the index of the frequency hopping periodicity corresponding to the reference signal; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a count value of the reference signal; a mathematical symbol Π represents a product of a sequence; and a mathematical symbol mod indicates a modulo operation.

In addition, for technical effects of the communication method according to the fourth aspect, refer to the technical effects of the method according to any possible implementation of the first aspect. Details are not described herein again.

According to a fifth aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe sending module is configured to send configuration information, where the configuration information indicates a configuration of a reference signal; andthe receiving module is configured to receive the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, the first offset is an integer greater than 0, and the first offset is determined based on at least a cell identifier and a time domain resource occupied by the first antenna port; or the first offset is determined based on a cyclic shift value occupied by the first antenna port.

In a possible design manner, the first offset may be determined based on at least the cell identifier and the time domain resource occupied by the first antenna port; or the first offset may be determined based on one or more of the following parameters: a quantity of slots included in each system frame, a quantity of orthogonal frequency division multiplexing OFDM symbols included in each slot, a comb quantity, and a comb offset, where the comb quantity is a quantity of combs included in a transmit bandwidth mSRS,bhopof the reference signal, and the comb offset is a reference quantity of combs occupied by the reference signal.

In a possible design manner, the time domain resource occupied by the first antenna port may include one or more OFDM symbols, and the one or more OFDM symbols included in the time domain resource occupied by the first antenna port are determined based on one or more of the following parameters: a system frame number corresponding to the first antenna port, a slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

In a possible design manner, the first offset may be a first random number.

In a possible design manner, the first random number may satisfy Q1=(Σm=07(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m)mod KTC; Q1=(Σm=07(8(ns,fμNsymbslot+l0+l′)+m)·2m)mod KTC; Q1=Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m; or Q1=Σm=07c(8(ns,fμNsymbslotl0+l′)+m)·2m,where Q1represents the first random number; a mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the first antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the first antenna port; l0+l′ represents the OFDM symbol number corresponding to the first antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port; and a mathematical symbol mod represents a modulo operation.

In a possible design manner, the M antenna ports may further include at least one second antenna port, a comb occupied by the second antenna port may be determined based on at least a second offset, the second offset is an integer greater than 0, the second offset is determined based on at least the cell identifier and a time domain resource occupied by the second antenna port, and the second offset is different from the first offset.

In a possible design manner, the second offset may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port; or the second offset may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset, where the comb quantity is the quantity of the combs included in the transmit bandwidth mSRS,bhopof the reference signal, and the comb offset is the reference quantity of the combs occupied by the reference signal.

In a possible design manner, the time domain resource occupied by the second antenna port may include one or more OFDM symbols, and the one or more OFDM symbols that may be included in the time domain resource occupied by the second antenna port may be determined based on one or more of the following parameters: a system frame number corresponding to the second antenna port, a slot number corresponding to the second antenna port, and an OFDM symbol number corresponding to the second antenna port.

In a possible design manner, the second offset may be a second random number.

In a possible design manner, the second random number may satisfy Q2=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2=Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m; or Q2=Σm=07c(8(ns,fμNsymbslot+l0+′)+m+1)·2m,where Q2represents the second random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the second antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the second antenna port; l0+l′ represents the OFDM symbol number corresponding to the second antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port; and the mathematical symbol mod represents a modulo operation.

In a possible design manner, the second offset may be a sum of the first offset and a third offset, and the third offset is an integer greater than 0.

In a possible design manner, the third offset may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port, or the third offset may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset.

In a possible design manner, the third offset may be a third random number.

In a possible design manner, the third random number may satisfy Δ=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m)mod (KTC/2); Δ=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod (KTC/2) Δ=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμ+Nsymbslot+l0+l′)+m)·2m)mod (KTC/2); or Δ=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m)mod (KTC/2),where Δ represents the third random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the second antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the second antenna port; l0+l′ represents the OFDM symbol number corresponding to the second antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port; and the mathematical symbol mod represents a modulo operation.

In a possible design manner, that the first offset is determined based on a cyclic shift value occupied by the first antenna port may include: The first offset is determined based on a range to which the cyclic shift value belongs.

In a possible design manner, a start position of a frequency domain resource occupied by each of the M antenna ports may be determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset is determined based on at least the cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

In a possible design manner, the fourth offset may be a fourth random number.

In a possible design manner, the fourth random number may satisfy krand=(Σm=07c(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m) mod PF; or krand=Σm=0c(8└nSRS/Πb′=bhopBSRSNb′′+m)·2m,where krandrepresents the fourth random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier;

represents the index of the frequency hopping periodicity corresponding to the reference signal; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a count value of the reference signal; a mathematical symbol Π represents a product of a sequence; and the mathematical symbol mod indicates a modulo operation.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus according to the fifth aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the fifth aspect is enabled to perform the method according to the first aspect.

It should be noted that the communication apparatus according to the fifth aspect may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the fifth aspect, refer to the technical effects of the method according to any possible implementation of the first aspect. Details are not described herein again.

According to a sixth aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe receiving module is configured to receive configuration information, where the configuration information indicates a configuration of a reference signal; andthe sending module is configured to send the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, the first offset is an integer greater than 0, and the first offset is determined based on at least a cell identifier and a time domain resource occupied by the first antenna port; or the first offset is determined based on a cyclic shift value occupied by the first antenna port.

In a possible design manner, the first offset may be determined based on at least the cell identifier and the time domain resource occupied by the first antenna port; or the first offset may be determined based on one or more of the following parameters: a quantity of slots included in each system frame, a quantity of orthogonal frequency division multiplexing OFDM symbols included in each slot, a comb quantity, and a comb offset, where the comb quantity is a quantity of combs included in a transmit bandwidth mSRS,bhopof the reference signal, and the comb offset is a reference quantity of combs occupied by the reference signal.

In a possible design manner, the time domain resource occupied by the first antenna port may include one or more OFDM symbols, and the one or more OFDM symbols included in the time domain resource occupied by the first antenna port are determined based on one or more of the following parameters: a system frame number corresponding to the first antenna port, a slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

In a possible design manner, the first offset may be a first random number.

In a possible design manner, the first random number may satisfy Q1=(Σm=07(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m)mod KTC; Q1=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m)mod KTC; Q1=Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m; or Q1=Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m,where Q1represents the first random number; a mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the first antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the first antenna port; l0+l′ represents the OFDM symbol number corresponding to the first antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port; and a mathematical symbol mod represents a modulo operation.

In a possible design manner, the M antenna ports may further include at least one second antenna port, a comb occupied by the second antenna port may be determined based on at least a second offset, the second offset is an integer greater than 0, the second offset is determined based on at least the cell identifier and a time domain resource occupied by the second antenna port, and the second offset is different from the first offset.

In a possible design manner, the second offset may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port; or the second offset may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset, where the comb quantity is the quantity of the combs included in the transmit bandwidth mSRS,bhopof the reference signal, and the comb offset is the reference quantity of the combs occupied by the reference signal.

In a possible design manner, the time domain resource occupied by the second antenna port may include one or more OFDM symbols, and the one or more OFDM symbols that may be included in the time domain resource occupied by the second antenna port may be determined based on one or more of the following parameters: the system frame number corresponding to the second antenna port, the slot number corresponding to the second antenna port, and an OFDM symbol number corresponding to the second antenna port.

In a possible design manner, the second offset may be a second random number.

In a possible design manner, the second random number may satisfy Q2=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2=Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m; or Q2=Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m,where Q2represents the second random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the second antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the second antenna port; l0+l′ represents the OFDM symbol number corresponding to the second antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port; and the mathematical symbol mod represents a modulo operation.

In a possible design manner, the second offset may be a sum of the first offset and a third offset, and the third offset is an integer greater than 0.

In a possible design manner, the third offset may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port, or the third offset may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset.

In a possible design manner, the third offset may be a third random number.

In a possible design manner, the third random number may satisfy Δ=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m)mod (KTC/2); Δ=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod (KTC/2); Δ=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m)mod (KTC/2); or Δ=(Σm=07(8(ns,fμNsymbslot+l0+l′)+m)·2m)mod (KTC/2),where Δ represents the third random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the second antenna port; N fa represents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the second antenna port; l0+l′ represents the OFDM symbol number corresponding to the second antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port; and the mathematical symbol mod represents a modulo operation.

In a possible design manner, that the first offset is determined based on a cyclic shift value occupied by the first antenna port may include: The first offset is determined based on a range to which the cyclic shift value belongs.

In a possible design manner, a start position of a frequency domain resource occupied by each of the M antenna ports may be determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset is determined based on at least the cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

In a possible design manner, the fourth offset may be a fourth random number.

In a possible design manner, the fourth random number may satisfy krand=(Σm=07(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m) mod PF; or krand=Σm=07c(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m,where krandrepresents the fourth random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier;

represents the index of the frequency hopping periodicity corresponding to the reference signal; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a count value of the reference signal; a mathematical symbol Π represents a product of a sequence; and the mathematical symbol mod indicates a modulo operation.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus in the sixth aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the sixth aspect is enabled to perform the method according to the second aspect.

It should be noted that the communication apparatus according to the sixth aspect may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the sixth aspect, refer to the technical effects of the method according to any possible implementation of the second aspect. Details are not described herein again.

According to a seventh aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe sending module is configured to send configuration information, where the configuration information indicates a configuration of a reference signal; andthe receiving module is configured to receive the reference signal via M antenna ports based on the configuration information, where a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset is determined based on at least a cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

In a possible design manner, the fourth offset may be a fourth random number.

In a possible design manner, the fourth random number may satisfy krand=(Σm=07c(8└nSRS/Πb′=bhopBSRSNb′+m)·2m)mod PF; or krand=Σm=07c(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m,where krandrepresents the fourth random number; the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier;

represents the index of the frequency hopping periodicity corresponding to the reference signal; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a count value of the reference signal; a mathematical symbol Π represents a product of a sequence; and the mathematical symbol mod indicates a modulo operation.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus in the seventh aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the seventh aspect is enabled to perform the method according to the third aspect.

It should be noted that the communication apparatus according to the seventh aspect may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the seventh aspect, refer to the technical effects of the method according to any possible implementation of the third aspect. Details are not described herein again.

According to an eighth aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe receiving module is configured to receive configuration information, where the configuration information indicates a configuration of a reference signal; andthe sending module is configured to send the reference signal via M antenna ports based on the configuration information, where a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset is determined based on at least a cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

In a possible design manner, the fourth offset may be a fourth random number.

In a possible design manner, the fourth random number may satisfy krand=(Σm=07c(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m)mod PF; or krand=Σm=07c(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m,where krandrepresents the fourth random number; a mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier;

represents the index of the frequency hopping periodicity corresponding to the reference signal; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a count value of the reference signal; a mathematical symbol Π represents a product of a sequence; and a mathematical symbol mod indicates a modulo operation.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus according to the eighth aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the eighth aspect is enabled to perform the method according to the fourth aspect.

It should be noted that the communication apparatus according to the eighth aspect may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the eighth aspect, refer to the technical effects of the method according to any possible implementation of the fourth aspect. Details are not described herein again.

According to a ninth aspect, a communication method is provided. The method includes: sending configuration information of a reference signal; and receiving the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, and the first offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

According to a tenth aspect, a communication method is provided. The method includes: receiving configuration information of a reference signal; and sending the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, and the first offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

According to the method provided in the ninth aspect or the tenth aspect, the comb occupied by the first antenna port of a terminal device is determined based on the first offset, so that the comb occupied by the antenna port of the terminal device may randomly change at different sending moments and/or on different frequency domain resources. In this way, an antenna port of a terminal device that causes interference to the antenna port of the terminal device randomly changes. Therefore, interference randomization is implemented, and a better interference randomization effect can be achieved.

Optionally, that a comb occupied by the first antenna port is determined based on at least a first offset may include: The comb occupied by the first antenna port may be determined based on an initial value of the comb occupied by the first antenna port and the first offset.

Optionally, the first offset is an integer greater than 0.

Optionally, the initial value of the comb occupied by the first antenna port is configured by using higher layer signaling RRC.

In a possible design manner, the first offset includes a first random number and/or a fifth random number, the first random number is determined based on at least the time domain resource occupied by the first antenna port, and the fifth random number is determined based on at least the frequency domain resource occupied by the first antenna port.

In a possible design manner, that the first random number is determined based on at least the time domain resource occupied by the first antenna port includes: The first random number is determined based on one of a plurality of first correspondences and the time domain resource occupied by the first antenna port, and the first correspondence includes a correspondence between at least one first random number and at least one time domain resource. Optionally, the first random number may be replaced with a first variable.

In a possible design manner, each of the plurality of first correspondences includes a plurality of first variables, values of the plurality of first variables are different from each other, values of first variables included in a plurality of first correspondences are the same, and correspondences between the plurality of first variables and a plurality of time domain resources are different.

In a possible design manner, one frequency hopping periodicity includes at least one time of reference signal sending, and the correspondence between at least one first random number and at least one time domain resource includes: a correspondence between the at least one first random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

In a possible design manner, the correspondence between at least one first random number and at least one time domain resource includes: a correspondence between the at least one first random number and an index of at least one frequency hopping periodicity. In a possible design manner, that the first random number is determined based on at least the time domain resource occupied by the first antenna port includes: The first random number is determined based on the time domain resource occupied by the first antenna port and a pseudo-random sequence.

In a possible design manner, the first random number is further determined based on one or more of the following parameters: a quantity of slots included in each system frame, a quantity of OFDM symbols included in each slot, a comb quantity, and a comb offset, where the comb quantity is a quantity of combs included in a transmit bandwidth of the reference signal, and the comb offset is a reference quantity of combs occupied by the reference signal.

In a possible design manner, the first random number satisfies Q1=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m)mod KTC; Q1=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m)mod KTC; Q1=Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m; or Q1=Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m,where Q1represents the first random number, a mathematical symbol Σ represents summation, a mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, nfrepresents a system frame number corresponding to the first antenna port, Nslotframerepresents a quantity of slots in each system frame, Nsymbslotrepresents a quantity of OFDM symbols in each slot, ns,fμrepresents a slot number corresponding to the first antenna port, l0represents an index of a start OFDM symbol in one or more OFDM symbols included in the time domain resource occupied by the first antenna port, l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port, and KTCrepresents the comb quantity.

In a possible design manner, that the fifth random number is determined based on at least the frequency domain resource occupied by the first antenna port includes: The fifth random number is determined based on one of a plurality of second correspondences and the frequency domain resource occupied by the first antenna port, and the second correspondence includes a correspondence between at least one fifth random number and at least one frequency domain resource. Optionally, the fifth random number may be replaced with a fifth variable.

In a possible design manner, each of the plurality of second correspondences includes a plurality of fifth variables, values of the plurality of fifth variables are different from each other, values of fifth variables included in a plurality of first correspondences are the same, and correspondences between the plurality of fifth variables and a plurality of time domain resources are different.

In a possible design manner, that the fifth random number is determined based on at least the frequency domain resource occupied by the first antenna port includes: The fifth random number is determined based on the frequency domain resource occupied by the first antenna port and a pseudo-random sequence.

In a possible design manner, the fifth random number satisfies Q3=(Σm=07(8k+m)·2m)mod KTC; or Q3=Σm=07c(8k+m)·2m,where Q3represents the fifth random number, the mathematical symbol Σ represents summation, the mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, k represents an index of a frequency hopping bandwidth and/or an index of a transmit bandwidth that correspond/corresponds to the frequency domain resource occupied by the first antenna port, and KTCrepresents the comb quantity.

In a possible design manner, the time domain resource occupied by the first antenna port includes one or more orthogonal frequency division multiplexing OFDM symbols, and the one or more OFDM symbols included in the time domain resource occupied by the first antenna port are determined based on one or more of the following parameters: the system frame number corresponding to the first antenna port, the slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

In a possible design manner, an index of a frequency hopping periodicity in which the time domain resource is located is determined based on the time domain resource occupied by the first antenna port; or a relative index of the time domain resource in one corresponding frequency hopping periodicity is determined based on the time domain resource occupied by the first antenna port, where the relative index may be defined as follows: A relative index of a kthtime of sending in one frequency hopping periodicity is k−1.

In a possible design manner, the frequency domain resource occupied by the first antenna port includes one or more sub-bandwidths, and the one or more sub-bandwidths included in the frequency domain resource occupied by the first antenna port are determined based on one or more of the following parameters: the index of the frequency hopping bandwidth corresponding to the first antenna port, and the index of the transmit bandwidth corresponding to the first antenna port.

In a possible design manner, an index of a frequency hopping bandwidth in which the frequency domain resource is located is determined based on the frequency domain resource occupied by the first antenna port, or an index of one subband corresponding to the frequency domain resource is determined based on the frequency domain resource occupied by the first antenna port, where the index of the subband may be defined as follows: A sounding bandwidth of the first antenna port corresponds to a*b RBs, and may be divided into a subbands whose granularities are b, where the subbands are numbered in ascending order of frequencies, including {0, . . . , a−1}.

In a possible design manner, the M antenna ports further include at least one second antenna port, a comb occupied by the second antenna port is determined based on at least a second offset, the second offset is determined based on at least a time domain resource occupied by the second antenna port and/or a frequency domain resource occupied by the second antenna port, and the second offset is different from the first offset.

Optionally, the second offset is an integer greater than 0.

Optionally, initial comb values of the first antenna port and the second antenna port are different.

Optionally, that a comb occupied by the second antenna port is determined based on at least a second offset may include: The comb occupied by the second antenna port may be determined based on an initial value of the comb occupied by the second antenna port and the second offset.

Optionally, the initial value of the comb occupied by the second antenna port is configured by using higher layer signaling RRC.

In a possible design manner, the second offset includes a second random number and/or a sixth random number, the second random number is determined based on at least the time domain resource occupied by the second antenna port, and the sixth random number is determined based on at least the frequency domain resource occupied by the second antenna port.

In a possible design manner, that the second random number is determined based on at least the time domain resource occupied by the second antenna port includes: The second random number is determined based on one of a plurality of third correspondences and the time domain resource occupied by the second antenna port, and the third correspondence includes a correspondence between at least one second random number and at least one time domain resource.

In a possible design manner, one frequency hopping periodicity includes at least one time of reference signal sending, and the correspondence between at least one second random number and at least one time domain resource includes: a correspondence between the at least one second random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

In a possible design manner, the correspondence between at least one second random number and at least one time domain resource includes: a correspondence between the at least one second random number and an index of at least one frequency hopping periodicity.

In a possible design manner, that the second random number is determined based on at least the time domain resource occupied by the second antenna port includes: The second random number is determined based on the time domain resource occupied by the second antenna port and a pseudo-random sequence.

In a possible design manner, the second random number is further determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset, where the comb quantity is the quantity of the combs included in the transmit bandwidth of the reference signal, and the comb offset is the reference quantity of the combs occupied by the reference signal.

In a possible design manner, the second random number satisfies Q2=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod KTC; Q2Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m+1)·2m; or Q2=Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m,where Q2represents the second random number, the mathematical symbol Σ represents summation, the mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, nfrepresents a system frame number corresponding to the second antenna port, Nslotframerepresents the quantity of the slots in each system frame, Nsymbslotrepresents the quantity of the OFDM symbols in each slot, ns,fμrepresents a slot number corresponding to the second antenna port, l0represents an index of a start OFDM symbol in one or more OFDM symbols included in the time domain resource occupied by the second antenna port, l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and KTCrepresents the comb quantity.

In a possible design manner, that the sixth random number is determined based on at least the frequency domain resource occupied by the second antenna port includes: The sixth random number is determined based on one of a plurality of fourth correspondences and the frequency domain resource occupied by the second antenna port, where the fourth correspondence includes a correspondence between at least one sixth random number and at least one frequency domain resource.

In a possible design manner, that the sixth random number is determined based on at least the frequency domain resource occupied by the second antenna port includes: The sixth random number is determined based on the frequency domain resource occupied by the second antenna port and a pseudo-random sequence.

In a possible design manner, the sixth random number satisfies Q4=(Σm=07c(8k+m)·2m)mod KTC; or Q4=Σm=07c(8k+m)·2m, where Q4represents the sixth random number, the mathematical symbol Σ represents summation, the mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, k represents an index of a frequency hopping bandwidth and/or an index of a transmit bandwidth that correspond/corresponds to the frequency domain resource occupied by the second antenna port, and KTCrepresents the comb quantity.

In a possible design manner, the second offset is determined based on the first offset and a third offset.

In a possible design manner, the second offset is a sum of the first offset and a third offset, and the third offset is an integer greater than 0.

In a possible design manner, the third offset is a pre-configured constant.

In a possible design manner, the third offset is determined based on at least the time domain resource occupied by the second antenna port and/or the frequency domain resource occupied by the second antenna port.

In a possible design manner, the third offset includes a third random number and/or a seventh random number, the third random number is determined based on at least the time domain resource occupied by the second antenna port, and the seventh random number is determined based on at least the frequency domain resource occupied by the second antenna port.

In a possible design manner, that the third random number is determined based on at least the time domain resource occupied by the second antenna port includes: The third random number is determined based on one of a plurality of fifth correspondences and the time domain resource occupied by the second antenna port, and the fifth correspondence includes a correspondence between at least one third random number and at least one time domain resource.

In a possible design manner, each of the plurality of fifth correspondences includes a plurality of third variables, values of the plurality of third variables are different from each other, values of third variables included in a plurality of fifth correspondences are the same, and correspondences between the plurality of third variables and a plurality of time domain resources are different.

In a possible design manner, one frequency hopping periodicity includes at least one time of reference signal sending, and the correspondence between at least one third random number and at least one time domain resource includes: a correspondence between the at least one third random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

In a possible design manner, the correspondence between at least one third random number and at least one time domain resource includes: a correspondence between the at least one third random number and an index of at least one frequency hopping periodicity.

In a possible design manner, that the third random number is determined based on at least the time domain resource occupied by the second antenna port includes: The third random number is determined based on the time domain resource occupied by the second antenna port and a pseudo-random sequence.

In a possible design manner, the third random number is further determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset, where the comb quantity is the quantity of the combs included in the transmit bandwidth of the reference signal, and the comb offset is the reference quantity of the combs occupied by the reference signal.

In a possible design manner, the third random number satisfies Δ=(Σm=07c(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+1)·2m)mod (KTC/2); Δ=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m+1)·2m)mod (KTC/2); Δ=(Σm=07(8(nfNslotframeNsymbslot+ns,fμNsymbslot+l0+l′)+m)·2m)mod (KTC/2); or Δ=(Σm=07c(8(ns,fμNsymbslot+l0+l′)+m)·2m)mod (KTC/2),where Δ represents the third random number, the mathematical symbol Σ represents summation, the mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, nfrepresents the system frame number corresponding to the second antenna port, Nslotframerepresents the quantity of the slots included in each system frame, Nsymbslotrepresents the quantity of the OFDM symbols included in each slot, ns,fμrepresents the slot number corresponding to the second antenna port, l0represents the index of the start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, l′ represents the relative index of the OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and KTCrepresents the comb quantity.

In a possible design manner, that the seventh random number is determined based on at least the frequency domain resource occupied by the second antenna port includes: The seventh random number is determined based on one of a plurality of sixth correspondences and the frequency domain resource occupied by the second antenna port, and the sixth correspondence includes a correspondence between at least one seventh random number and at least one frequency domain resource.

In a possible design manner, that the seventh random number is determined based on at least the frequency domain resource occupied by the second antenna port includes: The seventh random number is determined based on the frequency domain resource occupied by the second antenna port and a pseudo-random sequence.

In a possible design manner, the seventh random number satisfies Δ1=(Σm=07c(8k+m+1)·2m)mod (KTC/2); or Δ1=(Σm=07(8k+m)·2m)mod (KTC/2), where Δ1represents the seventh random number, the mathematical symbol Σ represents summation, c( ) is the pseudo-random sequence, the mathematical symbol mod represents a modulo operation, k represents the index of the frequency hopping bandwidth and/or the index of the transmit bandwidth that correspond/corresponds to the frequency domain resource occupied by the second antenna port, and KTCrepresents the comb quantity.

In a possible design manner, the time domain resource occupied by the second antenna port includes the one or more OFDM symbols, and the one or more OFDM symbols included in the time domain resource occupied by the second antenna port are determined based on one or more of the following parameters: the system frame number corresponding to the second antenna port, the slot number corresponding to the second antenna port, and an OFDM symbol number corresponding to the second antenna port.

In a possible design manner, the frequency domain resource occupied by the second antenna port includes one or more sub-bandwidths, and the one or more sub-bandwidths included in the frequency domain resource occupied by the second antenna port are determined based on one or more of the following parameters: the index of the frequency hopping bandwidth corresponding to the second antenna port, and the index of the transmit bandwidth corresponding to the second antenna port.

According to an eleventh aspect, a communication method is provided. The method includes: sending configuration information of a reference signal; and receiving the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a start position of a frequency domain resource occupied by the first antenna port is determined based on at least a fourth offset, and the fourth offset is determined based on at least a time domain resource occupied by the first antenna port and a pseudo-random sequence; or the fourth offset is determined based on one of a plurality of ninth correspondences and a time domain resource occupied by the first antenna port, the ninth correspondence includes a correspondence between at least one fourth offset and at least one time domain resource, and the plurality of ninth correspondences correspond to a same frequency scaling factor.

According to a twelfth aspect, a communication method is provided. The method includes: receiving configuration information of a reference signal; and sending the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a start position of a frequency domain resource occupied by the first antenna port is determined based on at least a fourth offset, and the fourth offset is determined based on at least a time domain resource occupied by the first antenna port and a pseudo-random sequence; or the fourth offset is determined based on one of a plurality of ninth correspondences and a time domain resource occupied by the first antenna port, the ninth correspondence includes a correspondence between at least one fourth offset and at least one time domain resource, and the plurality of ninth correspondences correspond to a same frequency scaling factor.

According to the communication method provided in the eleventh aspect or the twelfth aspect, when the start position of the frequency domain resource occupied by the antenna port is determined, the fourth offset is introduced, so that the start position of the frequency domain resource occupied by each antenna port may randomly change on different time domain resources, an antenna port that causes interference to an antenna port of a terminal device also randomly changes, to implement frequency-domain interference randomization. This brings a good interference randomization effect, can accelerate an interference randomization convergence speed, and can improve channel estimation performance.

Optionally, that a start position of a frequency domain resource occupied by the first antenna port is determined based on at least a fourth offset may include: The start position of the frequency domain resource occupied by the first antenna port is determined based on an initial value of the start position of the frequency domain resource occupied by the first antenna port and the fourth offset.

Optionally, the initial value of the start position of the frequency domain resource occupied by the first antenna port is configured by using higher layer signaling RRC.

In a possible design manner, the fourth offset is a fourth random number.

In a possible design manner, the fourth random number satisfies krand=(Σm=07c(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m)mod PF; or krand=Σm=07(8└nSRS/Πb′=bhopBSRSNb′┘+m)·2m, where krandrepresents the fourth random number, a mathematical symbol Σ represents summation, c( ) is the pseudo-random sequence,

represents an index of a frequency hopping periodicity corresponding to the reference signal, a mathematical symbol └ ┘ represents a floor operation, nSRSrepresents a count value of the reference signal, a mathematical symbol Π represents a product of a sequence, and a mathematical symbol mod indicates a modulo operation.

According to a thirteenth aspect, a communication method is provided. The method includes: sending configuration information of a reference signal; and receiving the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a cyclic shift value of the first antenna port is determined based on at least a first code domain offset, and the first code domain offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

According to a fourteenth aspect, a communication method is provided. The method includes: receiving configuration information of a reference signal; and sending the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a cyclic shift value of the first antenna port is determined based on at least a first code domain offset, and the first code domain offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

According to the communication method provided in the thirteenth aspect or the fourteenth aspect, the cyclic shift value of the first antenna port of a terminal device is determined based on the first code domain offset, so that the cyclic shift value of the antenna port of the terminal device may randomly change at different sending moments and/or on different frequency domain resources. In this way, an antenna port of a terminal device that causes interference to the antenna port of the terminal device randomly changes. Therefore, interference randomization is implemented, and a better interference randomization effect can be achieved.

Optionally, that a cyclic shift value of the first antenna port is determined based on at least a first code domain offset may include: The cyclic shift value of the first antenna port is determined based on an initial value of the cyclic shift value of the first antenna port and the first code domain offset.

Optionally, the initial value of the cyclic shift value of the first antenna port is configured by using higher layer signaling RRC.

In a possible design manner, the first code domain offset includes a first code domain random number and/or a second code domain random number, the first code domain random number is determined based on at least the time domain resource occupied by the first antenna port, and the second code domain random number is determined based on at least the frequency domain resource occupied by the first antenna port.

In a possible design manner, that the first code domain random number is determined based on at least the time domain resource occupied by the first antenna port includes: The first code domain random number is determined based on one of a plurality of seventh correspondences and the time domain resource occupied by the first antenna port, and the seventh correspondence includes a correspondence between at least one first code domain random number and at least one time domain resource.

In a possible design manner, each of the plurality of seventh correspondences includes a plurality of first code domain random numbers, values of the plurality of first code domain random numbers are different from each other, values of first code domain random numbers included in a plurality of first correspondences are the same, and correspondences between the plurality of first code domain random numbers and a plurality of time domain resources are different.

In a possible design manner, one frequency hopping periodicity includes at least one time of reference signal sending, and the correspondence between at least one first code domain random number and at least one time domain resource includes: a correspondence between the at least one first code domain random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

In a possible design manner, the correspondence between at least one first code domain random number and at least one time domain resource includes: a correspondence between the at least one first code domain random number and an index of at least one frequency hopping periodicity.

In a possible design manner, that the first code domain random number is determined based on at least the time domain resource occupied by the first antenna port includes: The first code domain random number is determined based on the time domain resource occupied by the first antenna port and a pseudo-random sequence.

In a possible design manner, the first code domain random number is further determined based on one or more of the following parameters: a quantity of slots included in each system frame, a quantity of OFDM symbols included in each slot, a comb quantity, and a comb offset, where the comb quantity is a quantity of combs included in a transmit bandwidth of the reference signal, and the comb offset is a reference quantity of combs occupied by the reference signal.

In a possible design manner, the first code domain random number satisfies

A1=(∑m=07⁢c⁡(8⁢(nf⁢Nslotframe⁢Nsymbslot+ns,fμ⁢Nsymbslot+l0+l′)+m)·2m)⁢mod⁢Y;A1=(∑m=07⁢c⁡(8⁢(ns,fμ⁢Nsymbslot+l0+l′)+m)·2m)⁢mod⁢Y;A1=∑m=07⁢c⁡(8⁢(nf⁢Nslotframe⁢Nsymbslot+ns,fμ⁢Nsymbslot+l0+l′)+m)·2m;A1=∑m=07⁢c⁡(8⁢(ns,fμ⁢Nsymbslot+l0+l′)+m)·2m;A1=2⁢πY⁢((∑m=07⁢c⁡(8⁢(nf⁢Nslotframe⁢Nsymbslot+ns,fμ⁢Nsymbslot+l0+l′)+m)·2m)⁢mod⁢Y);A1=2⁢πY⁢((∑m=07⁢c⁡(8⁢(ns,fμ⁢Nsymbslot+l0+l′)+m)·2m)⁢mod⁢Y);A1=2⁢πY⁢∑m=07⁢c⁡(8⁢(nf⁢Nslotframe⁢Nsymbslot+ns,fμ⁢Nsymbslot+l0+l′)+m)·2m;orA1=2⁢πY⁢∑m=07⁢c⁡(8⁢(ns,fμ⁢Nsymbslot+l0+l′)+m)·2m,where A1represents the first code domain random number, a mathematical symbol Σ represents summation, a mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, nfrepresents a system frame number corresponding to the first antenna port, Nslotframerepresents a quantity of slots in each system frame, Nsymbslotrepresents a quantity of OFDM symbols in each slot, ns,fμrepresents a slot number corresponding to the first antenna port, l0represents an index of a start OFDM symbol in one or more OFDM symbols included in the time domain resource occupied by the first antenna port, l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port, Y is a maximum quantity of that is of supported antenna ports and that is multiplexed through cyclic shifting on one comb, a quantity of Fourier transform points, or a quantity of subcarriers occupied by the first antenna port on one OFDM symbol.

In a possible design manner, that the second code domain random number is determined based on at least the frequency domain resource occupied by the first antenna port includes: The second code domain random number is determined based on one of a plurality of eighth correspondences and the frequency domain resource occupied by the first antenna port, and the eighth correspondence includes a correspondence between at least one second code domain random number and at least one frequency domain resource.

In a possible design manner, that the second code domain random number is determined based on at least the frequency domain resource occupied by the first antenna port includes: The second code domain random number is determined based on the frequency domain resource occupied by the first antenna port and a pseudo-random sequence.

In a possible design manner, the second code domain random number satisfies:

In a possible design manner, M reference signal ports include a plurality of first reference signal ports, and on a time domain resource and/or a frequency domain resource, the plurality of first reference signal ports correspond to a same first code domain offset.

In a possible design manner, a value of the cyclic shift value satisfies αϵ{0, 1, . . . , K×Y−1}, and Y is a maximum quantity nSRScs,maxof antenna ports multiplexed through cyclic shifting on one comb, or a quantity of cyclic shift values that can be configured by using a higher-layer parameter on one comb, and a value of Y is determined based on a configured quantity of reference signal combs, and K is an integer greater than 1. Alternatively, a value of the cyclic shift value satisfies αϵ{0, 1, . . . , Y−1}, Y is a quantity M of Fourier transform points, M=2x, x is a positive integer, and a value of M is determined based on a system bandwidth or a sounding bandwidth of the reference signal. Alternatively, a value of the cyclic shift value satisfies αϵ{0, 1, . . . , Y−1}, and Y is a quantity of subcarriers occupied by the first antenna port on one OFDM symbol.

In a possible design manner, the time domain resource occupied by the first antenna port includes one or more orthogonal frequency division multiplexing OFDM symbols, and the one or more OFDM symbols included in the time domain resource occupied by the first antenna port are determined based on one or more of the following parameters: the system frame number corresponding to the first antenna port, the slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

In a possible design manner, the frequency domain resource occupied by the first antenna port includes one or more sub-bandwidths, and the one or more sub-bandwidths included in the frequency domain resource occupied by the first antenna port are determined based on one or more of the following parameters: the index of the frequency hopping bandwidth corresponding to the first antenna port, and the index of the transmit bandwidth corresponding to the first antenna port.

In a possible design manner, the M antenna ports further include at least one second antenna port, a cyclic shift value of the second antenna port is determined based on at least a second code domain offset, the second code domain offset is determined based on at least a time domain resource occupied by the second antenna port and/or a frequency domain resource occupied by the second antenna port, and the second code domain offset is different from the first code domain offset.

Initial cyclic shift values of the first antenna port and the second antenna port are configured to be the same, and on at least one time domain resource and/or frequency domain resource, the first code domain offset of the first antenna port is different from the second code domain offset of the second antenna port. For example, on the first time domain resource and the second time domain resource, intervals between the cyclic shift values of the first antenna port and the second antenna port are different. Alternatively, on the first frequency domain resource and the second frequency domain resource, intervals between the cyclic shift values of the first antenna port and the second antenna port are different.

In a possible design manner, the second code domain offset includes a third code domain random number and/or a fourth code domain random number, the third code domain random number is determined based on at least the time domain resource occupied by the second antenna port, and the fourth code domain random number is determined based on at least the frequency domain resource occupied by the second antenna port.

In a possible design manner, that the third code domain random number is determined based on at least the time domain resource occupied by the second antenna port includes: The third code domain random number is determined based on one of a plurality of seventeenth correspondences and the time domain resource occupied by the second antenna port, and the one seventeenth correspondence includes a correspondence between at least one third code domain random number and at least one time domain resource.

In a possible design manner, one frequency hopping periodicity includes at least one time of reference signal sending, and the correspondence between at least one third code domain random number and at least one time domain resource includes: a correspondence between the at least one third code domain random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

In a possible design manner, the correspondence between at least one third code domain random number and at least one time domain resource includes: a correspondence between the at least one third code domain random number and an index of at least one frequency hopping periodicity.

In a possible design manner, that the third code domain random number is determined based on at least the time domain resource occupied by the second antenna port includes: The third code domain random number is determined based on the time domain resource occupied by the second antenna port and a pseudo-random sequence.

In a possible design manner, the third code domain random number is further determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset, where the comb quantity is the quantity of the combs included in the transmit bandwidth of the reference signal, and the comb offset is the reference quantity of the combs occupied by the reference signal.

In a possible design manner, that the fourth code domain random number is determined based on at least the frequency domain resource occupied by the second antenna port includes: The fourth code domain random number is determined based on one of a plurality of eighteenth correspondences and the frequency domain resource occupied by the second antenna port, and the one eighteenth correspondence includes a correspondence between at least one sixth random number and at least one frequency domain resource.

In a possible design manner, that the fourth code domain random number is determined based on at least the frequency domain resource occupied by the second antenna port includes: The fourth code domain random number is determined based on the frequency domain resource occupied by the second antenna port and a pseudo-random sequence.

According to a fifteenth aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe sending module is configured to send configuration information of a reference signal; and the receiving module is configured to receive the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, and the first offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

It should be noted that all related content of the steps in any possible implementation of the ninth aspect may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus according to the fifteenth aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the fifteenth aspect is enabled to perform the method according to any possible implementation of the ninth aspect.

It should be noted that the communication apparatus according to the fifteenth aspect may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the fifteenth aspect, refer to the technical effects of the method according to any possible implementation of the ninth aspect. Details are not described herein again.

According to a sixteenth aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe receiving module is configured to receive configuration information of a reference signal; and the sending module is configured to send the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, and the first offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

It should be noted that all related content of the steps in any possible implementation of the tenth aspect may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus according to the sixteenth aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the sixteenth aspect is enabled to perform the method according to any possible implementation of the tenth aspect.

It should be noted that the communication apparatus according to the sixteenth aspect may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the sixteenth aspect, refer to the technical effects of the method according to any possible implementation of the tenth aspect. Details are not described herein again.

According to a seventeenth aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe sending module is configured to send configuration information of a reference signal; and the receiving module is configured to receive the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a start position of a frequency domain resource occupied by the first antenna port is determined based on at least a fourth offset, and the fourth offset is determined based on at least a time domain resource occupied by the first antenna port and a pseudo-random sequence; or the fourth offset is determined based on one of a plurality of ninth correspondences and a time domain resource occupied by the first antenna port, the ninth correspondence includes a correspondence between at least one fourth offset and at least one time domain resource, and the plurality of ninth correspondences correspond to a same frequency scaling factor.

It should be noted that all related content of the steps in any possible implementation of the eleventh aspect may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus according to the seventeenth aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the seventeenth aspect is enabled to perform the method according to any possible implementation of the eleventh aspect.

It should be noted that the communication apparatus according to the seventeenth aspect may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the seventeenth aspect, refer to the technical effects of the method according to any possible implementation of the eleventh aspect. Details are not described herein again.

According to an eighteenth aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe receiving module is configured to receive configuration information of a reference signal; and the sending module is configured to send the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a start position of a frequency domain resource occupied by the first antenna port is determined based on at least a fourth offset, and the fourth offset is determined based on at least a time domain resource occupied by the first antenna port and a pseudo-random sequence; or the fourth offset is determined based on one of a plurality of ninth correspondences and a time domain resource occupied by the first antenna port, the ninth correspondence includes a correspondence between at least one fourth offset and at least one time domain resource, and the plurality of ninth correspondences correspond to a same frequency scaling factor.

It should be noted that all related content of the steps in any possible implementation of the twelfth aspect may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus according to the eighteenth aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the eighteenth aspect is enabled to perform the method according to any possible implementation of the twelfth aspect.

It should be noted that the communication apparatus according to the eighteenth aspect may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the eighteenth aspect, refer to the technical effects of the method according to any possible implementation of the twelfth aspect. Details are not described herein again.

According to a nineteenth aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe sending module is configured to send configuration information of a reference signal; and the receiving module is configured to receive the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a cyclic shift value of the first antenna port is determined based on at least a first code domain offset, and the first code domain offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port. It should be noted that all related content of the steps in any possible implementation of the thirteenth aspect may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus according to the nineteenth aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the nineteenth aspect is enabled to perform the method according to any possible implementation of the thirteenth aspect.

It should be noted that the communication apparatus according to the nineteenth aspect may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the nineteenth aspect, refer to the technical effects of the method according to any possible implementation of the thirteenth aspect. Details are not described herein again.

According to a twentieth aspect, a communication apparatus is provided. The communication apparatus includes a sending module and a receiving module, wherethe receiving module is configured to receive configuration information of a reference signal; and the sending module is configured to send the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a cyclic shift value of the first antenna port is determined based on at least a first code domain offset, and the first code domain offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

It should be noted that all related content of the steps in any possible implementation of the fourteenth aspect may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module and the sending module may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application.

Optionally, the communication apparatus according to the twentieth aspect may further include a processing module and a storage module. The storage module stores a program or instructions. When the processing module executes the program or the instructions, the communication apparatus according to the twentieth aspect is enabled to perform the method according to any possible implementation of the fourteenth aspect.

It should be noted that the communication apparatus according to the twentieth aspect may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

In addition, for technical effects of the communication apparatus according to the twentieth aspect, refer to the technical effects of the method according to any possible implementation of the fourteenth aspect. Details are not described herein again.

According to a twenty-first aspect, a communication apparatus is provided. The communication apparatus includes a processor. The processor is coupled to a memory, and the memory is configured to store a computer program.

The processor is configured to execute the computer program stored in the memory, to perform the communication method according to any possible implementation of the first aspect to the fourth aspect and the ninth aspect to the fourteenth aspect.

In a possible design, the communication apparatus according to the twentieth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an input/output port. The transceiver may be used by the communication apparatus to communicate with another device.

It should be noted that the input port may be configured to implement a receiving function related to any possible implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect, and the output port may be configured to implement a sending function related to any possible implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect.

In this application, the communication apparatus according to the twentieth aspect may be a terminal device or a network device, or a chip or a chip system disposed inside the terminal device or the network device.

In addition, for technical effects of the communication apparatus according to the twentieth aspect, refer to the technical effects of the communication method according to any implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect. Details are not described herein again.

According to a twenty-first aspect, a communication system is provided. The communication system includes the communication apparatus according to the fifth aspect and the communication apparatus according to the sixth aspect, and may further include the communication apparatus according to the seventh aspect and the communication apparatus according to the eighth aspect. Alternatively, the communication system includes the communication apparatus according to the seventh aspect and the communication apparatus according to the eighth aspect.

Alternatively, the communication system includes the communication apparatus according to the fifth aspect and configured to implement the method according to the first aspect, and the communication apparatus according to the sixth aspect and configured to implement the method according to the second aspect. Alternatively, the communication system includes the communication apparatus according to the seventh aspect and configured to implement the method according to the third aspect, and the communication apparatus according to the eighth aspect and configured to implement the method according to the fourth aspect.

Alternatively, the communication system includes the communication apparatus according to the fifteenth aspect and the communication apparatus according to the sixteenth aspect, and may further include the communication apparatus according to the seventeenth aspect and the communication apparatus according to the eighteenth aspect; and/or may include the communication apparatus according to the nineteenth aspect and the communication apparatus according to the twentieth aspect.

Alternatively, the communication system includes the communication apparatus according to the seventeenth aspect and the communication apparatus according to the eighteenth aspect, and may further include the communication apparatus according to the nineteenth aspect and the communication apparatus according to the twentieth aspect.

According to a twenty-second aspect, a chip system is provided. The chip system includes a logic circuit and an input/output port. The logic circuit is configured to implement a processing function related to any possible implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect, and the input/output port is configured to implement sending and receiving functions related to any possible implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect. The input port may be configured to implement the receiving function related to any possible implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect, and the output port may be configured to implement the sending function related to any possible implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect.

In a possible design, the chip system further includes a memory. The memory is configured to store program instructions and data for implementing a function in any possible implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect.

The chip system may include a chip; or may include a chip and another discrete component.

According to a twenty-third aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program or instructions. When the computer program is run or the instructions are run on a computer, the communication method according to any possible implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect is performed.

According to a twenty-fourth aspect, a computer program product is provided. The computer program product includes a computer program or instructions. When the computer program is run or the instructions are run on a computer, the communication method according to any possible implementation of the first aspect to the fourth aspect or the ninth aspect to the fourteenth aspect is performed.

DESCRIPTION OF EMBODIMENTS

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

The technical solutions in embodiments of this application can be applied to various communication systems, for example, a frequency division duplex (FDD) system, a time division duplex (TDD) system, a wireless fidelity (Wi-Fi) system, a vehicle to everything (V2X) communication system, a device-to-device (D2D) communication system, a multiple-input multiple-output (MIMO) system, an internet of vehicles communication system, a 4th generation (4G) mobile communication system such as a long term evolution (LTE) system or a worldwide interoperability for microwave access (WiMAX) communication system, a 5th generation (5G) mobile communication system such as a new radio (NR) system, and a future communication system such as a 6th generation (6G) mobile communication system.

A communication method provided in this application is applicable to a scenario related to reference signal transmission. For example, the communication method provided in this application is applicable to a low-frequency scenario (for example, a frequency band below 6 GHz), and is also applicable to a high-frequency scenario (for example, a frequency band above 6 GHz); is applicable to a single (Single)-transmission point (TRP) scenario, and is also applicable to a multi-transmission point (Multi-TRP) scenario and any derivative scenario thereof; is applicable to a homogeneous network scenario, and is also applicable to a heterogeneous network scenario; and is applicable to a coordinated multipoint transmission scenario.

In addition, in embodiments of this application, terms such as “example” and “for example” are used to represent giving an example, an illustration, or a description. Any embodiment or design solution described as an “example” in this application should not be explained as being more preferred or having more advantages than another embodiment or design solution. Exactly, the word “example” is used to present a concept in a specific manner.

In embodiments of this application, “of (of)”, “corresponding (corresponding, relevant)”, and “corresponding (corresponding)” may be interchangeably used sometimes. It should be noted that meanings expressed by the terms are consistent when differences between the terms are not emphasized.

For ease of understanding of embodiments of this application, first, a communication system applicable to embodiments of this application is described in detail by using a communication system shown inFIG.1as an example. For example,FIG.1is a diagram of an architecture of a communication system to which the communication method according to embodiments of this application is applicable.

As shown inFIG.1, the communication system includes a network device and a terminal device.

The terminal device is a terminal that accesses the communication system and has wireless sending and receiving functions, or a chip or a chip system that can be disposed in the terminal. The terminal device may also be referred to as a user equipment (UE), a user apparatus, an access terminal, a subscriber unit, a subscriber station, a mobile station (MS), a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a terminal unit, a terminal station, a terminal apparatus, a wireless communication device, a user agent, or a user apparatus.

For example, the terminal device in embodiments of this application may be a mobile phone, a wireless data card, a personal digital assistant (PDA) computer, a laptop computer, a tablet computer (Pad), a computer with wireless sending and receiving functions, a machine type communication (MTC) terminal, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, an internet of things (IoT) terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in telemedicine (remote medical), a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal (for example, a game machine, a smart television, a smart speaker, a smart refrigerator, or fitness equipment) in a smart home, a vehicle-mounted terminal, or an RSU having a terminal function. The access terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop ( ) station, a personal digital assistant (PDA), a handheld device (handset) with a wireless communication function, a computing device or another processing device connected to a wireless modem, a wearable device, or the like.

For another example, the terminal device in embodiments of this application may be an express delivery terminal (for example, a device that can monitor a location of a cargo vehicle, or a device that can monitor a temperature and humidity of cargo) in intelligent logistics, a wireless terminal (for example, a wearable device that can collect related data of poultry and livestock) in intelligent agriculture, a wireless terminal (for example, a smart elevator, a fire monitoring device, or a smart meter) in intelligent architecture, a wireless terminal (for example, a wearable device that can monitor a physiological status of a person or an animal) in intelligent healthcare, a wireless terminal (for example, an intelligent bus, an intelligent vehicle, a shared bicycle, a charging pile monitoring device, intelligent traffic lights, or an intelligent monitoring and intelligent parking device) in intelligent transportation, or a wireless terminal (for example, a vending machine, a self-service checkout machine, or an unmanned convenience store) in intelligent retail. For another example, the terminal device in this application may be a vehicle-mounted module, a vehicle-mounted assembly, a vehicle-mounted component, a vehicle-mounted chip, or a vehicle-mounted unit that is built in a vehicle as one or more components or units. The vehicle may implement the method provided in this application through the vehicle-mounted module, the vehicle-mounted assembly, the vehicle-mounted component, the vehicle-mounted chip, or the vehicle-mounted unit that is built in the vehicle.

The network device is a device that is located on a network side of the communication system and has wireless sending and receiving functions, or a chip or a chip system that can be disposed in the device. The network device includes but is not limited to: an access point (AP) in a wireless fidelity (Wi-Fi) system, for example, a home gateway, a router, a server, a switch, a bridge, an evolved NodeB (eNB), a radio network controller (RNC), a NodeB (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (for example, a home evolved NodeB, or a home NodeB, HNB), a baseband unit (BBU), a wireless relay node, a wireless backhaul node, a transmission point (transmission and reception point, TRP; or transmission point, TP), or a remote radio head (RRH). The network device may alternatively be a gNB or a transmission point (TRP or TP) in a 5G system, for example, a new radio (NR) system, or one antenna panel or a group of antenna panels (including a plurality of antenna panels) of a gNB in the 5G system. The network device may alternatively be a network node, such as a baseband unit (BBU), a distributed unit (DU), or a road side unit (road side unit, RSU) having a base station function, that constitutes a gNB or a transmission point.

It should be noted that the signal processing method provided in embodiments of this application is applicable to any two nodes shown inFIG.1. For a specific implementation, refer to the following method embodiments. Details are not described herein again.

It should be noted that, the solutions in embodiments of this application may be further applied to another communication system, and a corresponding name may alternatively be replaced with a name of a corresponding function in the another communication system.

It should be understood thatFIG.1is merely an example of a simplified diagram for ease of understanding. The communication system may further include another network device and/or another terminal device that are/is not shown inFIG.1.

To make embodiments of this application clearer, the following uniformly describes some content and concepts related to embodiments of this application.

Using an example in which a reference signal is an SRS, the configuration information may be referred to as SRS resource configuration information. Reference signals to which the method provided in embodiments of this application is applicable include but are not limited to an SRS and a demodulation reference signal (DMRS). In this application, the SRS is used as an example for description.

For example, the SRS resource configuration information may indicate an SRS resource configuration, and may be semi-statically configured by a network device for a terminal device by using a higher-layer parameter.

The SRS resource configuration information may include a time-frequency-code resource corresponding to each antenna port (antenna port), of at least one antenna port (for example, an antenna port for sending the SRS may be referred to as an SRS port).

For example, the SRS resource configuration information may include but is not limited to one or more of the following: NapSRSϵ{1,2,4} antenna ports {pi}i=0NapSRS−1, NsymbSRSϵ{1, 2, 4, 8, 10, 12, 14} consecutive OFDM symbols, a quantity of symbols included in each slot, a time-domain start position l0ϵ{0, 1, . . . , 13}, and a frequency-domain start position k0, where antenna port pi=1000+i, and each antenna port may correspond to a physical antenna or a virtual antenna of the terminal device.

Optionally, the SRS may be transmitted, between an antenna port of the terminal device and an antenna port of the network device, on a corresponding resource based on the SRS resource configuration indicated by the SRS resource configuration information.

A name of the antenna port is not limited in this application. For example, the antenna port may also be referred to as a reference signal port.

The repetition factor Rϵ{1,2,4} is semi-statically configured by the network device by using a higher-layer parameter (for example, repetitionFactor). One time of reference signal sending corresponds to consecutive R OFDM symbols in one reference signal resource, and a number of a 1stOFDM symbol in consecutive R OFDM symbols that correspond to one time of reference signal sending and that are in a reference signal resource can be exactly divided by R.

For example, the sounding bandwidth may be a bandwidth range corresponding to a channel that is obtained by the network device based on a reference signal.

For example, the frequency hopping bandwidth may be a bandwidth range corresponding to a channel that is obtained by the network device after a reference signal is sent for a single time.

Optionally, the frequency hopping bandwidth may be less than or equal to the sounding bandwidth.

For example, the frequency hopping periodicity may be a quantity of times of reference signal sending needed by the network device for obtaining the channel corresponding to the sounding bandwidth.

For example, the sounding bandwidth, the frequency hopping bandwidth, and the frequency hopping periodicity may be determined based on a higher-layer parameter and a protocol-predefined table.

When the frequency scaling factor PFis not configured, the transmit bandwidth is equal to the frequency hopping bandwidth. When the network device configures the frequency scaling factor PFby using a higher-layer parameter, the transmit bandwidth is a fraction of PFof the frequency hopping bandwidth.

FIG.2is a diagram of a transmit bandwidth according to an embodiment of this application.

InFIG.2, a vertical direction represents a frequency domain, a horizontal direction represents a time domain, each box represents one resource block (resource block, RB), and one RB includes 12 subcarriers in frequency domain. It is assumed that a sounding bandwidth is 16 RBs, a frequency hopping bandwidth is 4 RBs, and a frequency hopping periodicity is 4. As shown in (a) inFIG.2, when a frequency scaling factor PFis not configured, a transmit bandwidth is 4 RBs (shaded boxes in (a) inFIG.2). As shown in (b) inFIG.2, when frequency scaling factor PF=2 is configured, a transmit bandwidth is 2 RBs (shaded boxes in (b) inFIG.2).

Optionally, the SRS may be transmitted, between the terminal device and the network device, on a corresponding resource based on the repetition factor, the sounding bandwidth, the frequency hopping bandwidth, the transmit bandwidth, the frequency hopping periodicity, and the frequency scaling factor.

For example, a reference signal may be generated by using a sequence ru,v(α,δ)(n), and the sequence ru,v(α,δ)(n) is a cyclic shift (CS) of a base sequenceru,v(n).

For example, the sequence ru,v(α,δ)(n) satisfies ru,v(α,δ)(n)=ejαnru,v(n),where α is a cyclic shift value, and α is a real number; δ=log2(KTC), where δ is an integer, and KTCis a comb quantity; u,v is an index of a base sequence in a base sequence group, where u and v are integers; j is an imaginary unit, n is an index of an element in the sequence, n is an integer, and 0≤n<MZC; MZCis a length of the sequence ru,v(α,δ)(n), and is a positive integer; and e is a natural constant. The sequence elements are sequentially mapped, in ascending order of indexes of the sequence elements, to subcarriers that correspond to an SRS resource, and whose indexes are in ascending order.

For example, the comb quantity may be a quantity of combs included in a transmit bandwidth of the reference signal.

Optionally, the base sequenceru,v(n) may be a sequence generated by using a ZC (Zadoff-Chu) sequence.

For example, the base sequenceru,v(n) is a ZC sequence, or a sequence generated by expanding or intercepting a ZC sequence through cyclic shifting.

Assuming that a ZC sequence whose length is N is zq(n), where n=0, 1, . . . , N−1 and N is a positive integer, a sequence whose length is M and that is generated by using the ZC sequence may be expressed as zq(m mod N), where m=0, 1, . . . , M−1.

For example, the ZC sequence whose length is N may be expressed as the following formula:

where q is a root indicator of the ZC sequence, and q is a positive integer that is relatively prime to N and that is less than N; n=0, 1, . . . , N−1, j is an imaginary unit, and exp( ) is an exponential function with a natural constant e as a base.

In some embodiments, a cyclic shift αicorresponding to antenna port pisatisfies the following formula (1):

In the foregoing formula (1), nSRScs,imay be expressed as the following formula:

nSRScsrepresents a cyclic shift reference value, nSRScsϵ{0, 1, . . . , nSRScs,max−1}, and is semi-statically configured by the network device by using a higher-layer parameter (for example, transmissionComb); nSRScs,maxrepresents a maximum cyclic shift value; NapSRSrepresents a quantity of antenna ports (refer to the foregoing descriptions in “First, configuration information”); a mathematical symbol mod represents a modulo operation; and a mathematical symbol └ ┘ represents a floor operation.

Optionally, the maximum cyclic shift value nSRScs,maxmay indicate that a delay domain is equally divided into nSRScs,maxparts, or indicate that a phase value 2π is equally divided into nSRScs,maxparts, and each cyclic shift value corresponds to a start point of each part.

For example, the maximum cyclic shift value nSRScs,maxmay correspond to a value of the comb quantity KTC. As shown in Table 1, when KTC=2, nSRScs,max=8. When KTC=1 nSRScs,max=3. When KTC=1, nSRScs,max=12. When KTC=8, nSRScs,max=6.

For example, a frequency domain resource may be divided into a plurality of comb-shaped frequency domain resource groups, and one comb-shaped frequency domain resource group may be one comb.

For example, the comb quantity may be a quantity of combs included in a transmit bandwidth of a reference signal.

Optionally, the comb quantity may also be referred to as a comb number. This is not limited in this application.

Optionally, a quantity of subcarriers between any two adjacent subcarriers on a comb may be obtained based on the comb quantity.

For example, the comb quantity KTCmay be equal to 2, 4, or 8.

Optionally, the comb quantity may be semi-statically configured by the network device by using a higher-layer parameter.

For example, the comb offset kTCis a reference quantity of combs occupied by the reference signal.

In some embodiments, an index of a comb kTC(pi)occupied by antenna port pisatisfies the following formula (2):

Optionally, the comb offsetkTCmay be configured by the network device by using a higher-layer parameter (for example, a transmission comb (transmissionComb)).

In some embodiments, a frequency-domain start position k0(pi)of antenna port pimay satisfy the following formula (3):

In the foregoing formula (3),k0(pi)satisfiesk0(pi)=nshiftNscRB+(kTC(pi)+koffsetl′) mod KTC, where NscRBis a quantity of subcarriers included in each resource block, for example, NscRBIS 12; and kTC(pi)represents an index of a comb occupied by antenna port pi.

In the foregoing formula (3), noffsetFHrepresents a frequency hopping offset.

In the foregoing formula (3), noffsetRPFSrepresents a partial sounding offset, and the partial sounding offset noffsetRPFSsatisfies the following formula (4):

In the foregoing formula (4), NscRBis a quantity of subcarriers included in each resource block; mSRS,BSRSrepresents a frequency hopping bandwidth, and mSRS,BSRSis a frequency hopping bandwidth determined based on higher-layer parameters BSRSand CSRSand a protocol-predefined table; kFis an index of a partial sounding start position, and kFϵ{0, 1, . . . , PF−1}; khoprepresents a start resource block hopping offset; and PFrepresents a frequency scaling factor.

Optionally, the partial sounding start position may be semi-statically configured by the network device by using a higher-layer parameter (for example, startRBIndexFScaling-r17).

In some embodiments, the start resource block hopping offset khopis defined in the following formula (5) and Table 2. For example, a value ofkhopis determined according to the following formula (5), and khopis determined based on the value ofkhopand Table 2.

In the foregoing formula (5),

represents an index of a frequency hopping periodicity corresponding to a reference signal; PFrepresents a frequency scaling factor; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a reference signal (for example, an SRS) count value, where for example, nSRSrepresents an index of a sending time quantity corresponding to current reference signal sending; a mathematical symbol Π represents a product of a sequence; b′ represents a frequency hopping layer index; bhoprepresents a start frequency hopping layer index, where bhopϵ{0, 1, 2, 3}; BSRSrepresents a terminated frequency hopping layer index, where BSRSϵ{0, 1, 2, 3}; and Nb, represents a quantity of parallel branches at a brthlayer.

In the foregoing formula (5), Πb′=bhopBSRSNb′represents a quantity of times of reference signal sending included in one frequency hopping periodicity.

Optionally, bhopand BSRSmay be used for determining a frequency hopping layer index range, and both bhopand BSRSare semi-statically configured by the network device by using a higher-layer parameter (for example, freqHopping).

Optionally, Nb′may be determined based on higher-layer parameters BSRSand CSRS, and a protocol-predefined table, where Nbhop=1.

The following describes CSRS, BSRS, bhop, and Nb′by using examples with reference to the protocol-predefined table.

Table 3 is the protocol-predefined table. Assuming that the network device semi-statically configures CSRS=12, BSRS=3, and bhop=1 by using higher-layer parameters, the network device and the terminal device may determine, by using a row whose row index is 12 and a column whose column index is BSRS=1 (namely, BSRS=bhop) in Table 3, that a transmit bandwidth of a reference signal is mSRS,bhop=16 RBs; and determine, by using a row whose row index is 12 and a column whose column index is BSRS=3 (namely, BSRS=BSRS) in Table 3, that a frequency hopping bandwidth of the reference signal is mSRS,BSRS=4 RBs. It can be learned from bhop=1 and BSRS=3 that frequency hopping in this configuration starts from a 1stlayer and ends at a 3rdlayer. In this case, a quantity of times of reference signal sending included in one reference signal frequency hopping periodicity is a product 2*2=4 of a quantity of parallel branches N2=2 at a 2ndlayer and a quantity of parallel branches N3=2 at the 3rdlayer.

It should be noted that, in the foregoing formula for calculating the quantity of the times of reference signal sending included in the reference signal frequency hopping periodicity, a quantity of parallel branches Nbhopat a layer corresponding to the start frequency hopping layer index bhopis further considered. However, due to a limitation of the formula Nbhop=1, a value, of Nbhop, obtained based on the table does not cause a quantity of times of reference signal sending included in one reference signal frequency hopping periodicity to change. A reason of specifying Nbhop=1 is that when a quantity of times of reference signal sending included in a reference signal frequency hopping periodicity is calculated, only a quantity of parallel branches at a layer after a start frequency hopping layer needs to be calculated.

Different cyclic shifts, for example, α1and α2, are performed on a same base sequence, to obtain different sequences. When α1and α2satisfy α1mod 2π≠α2mod 2π, a sequence obtained by using a base sequenceru,v((n) and the cyclic shift α1and a sequence obtained by using the base sequenceru,v(n) and the cyclic shift α2are orthogonal to each other, that is, a cross-correlation coefficient is zero.

For example, a cross-correlation coefficient between sequences r1(m) and r2(m) (m=0, 1, . . . , M−1) whose lengths are M may be expressed as

A network device may allocate, to different terminal devices, sequences obtained based on a same base sequence and different cyclic shift values, and these different terminal devices may send, on a same time-frequency resource, reference signals generated using these sequences (the sequences obtained based on the same base sequence and the different cyclic shift values). These sequences are orthogonal to each other. When channels between the terminal devices and the network device are flat within lengths of the sequences, no interference is generated between the terminal devices.

Sequences obtained based on different base sequences (regardless of whether a same cyclic shift value is used or different cyclic shift values are used) are not orthogonal to each other, and terminal devices may send, on a same time-frequency resource, reference signals generated using these sequences (the sequences obtained based on the different base sequences). When channels between the terminal devices and a network device are flat within lengths of the sequences, interference is generated.

For example, it is assumed that cell1includes UE1and UE2, cell2includes UE3and UE4, UE1generates a reference signal by using a base sequence r1and a cyclic shift value α1and sends the reference signal, UE2generates a reference signal by using the base sequence r1and a cyclic shift value α2and sends the reference signal, UE3generates a reference signal by using a base sequence r2and a cyclic shift value α3and sends the reference signal, and UE4generates a reference signal by using the base sequence r2and a cyclic shift value α4and sends the reference signal, as shown in Table 4.

At a sending moment, UE1to UE4may send reference signals on a same time-frequency resource. It is assumed that channels between UE1to UE4and a network device are flat on M subcarriers occupied by the reference signals, and are respectively h1, h2, h3, and h4. On a mthsubcarrier in the M subcarriers occupied by the reference signals, a received signal y(m) of the network device is y(m)=h1r1(m)ejα1m+h2r1(m)ejα2m+h3r2(m)ejα3m+h4r2(m)ejα4m.

The network device may perform the following operation on the received signal y(m) and a sequence r1(m)ejα1mthat is used by UE1, to obtain the channel h1of UE1:

is interference generated by UE3to channel estimation of UE1, and

is interference generated by UE4to the channel estimation of UE1. It can be learned that the interference between UE3and UE1is affected by a difference (α3−α1) between cyclic shift values, and similarly, the interference between UE4and UE1is affected by a difference (α4−α1) between cyclic shift values.

In this way, when reference signals are sent on a same time-frequency resource, no interference is generated between terminal devices that use a same base sequence, interference is generated between terminal devices that use different base sequences, and the interference is affected by cyclic shift values.

In some embodiments, the index kTC(pi)of the comb occupied by antenna port pisatisfies the foregoing formula (2). After the index kTC(pi)of the comb occupied by antenna port piis obtained according to the formula (2), it may be learned that if higher-layer parameters (for example, the comb offsetkTCand the comb quantity KTC) do not change, a comb occupied by each antenna port is constant at different sending moments, and an antenna port is always interfered with by a same antenna port. This is not conducive to interference randomization.

For example, with reference to Table 5 andFIG.4, in a scenario1, cell1includes UE1, UE2, UE3, and UE4, and each UE includes four antenna ports (for example, antenna port p0, antenna port p1, antenna port p2, and antenna port p3respectively). Each antenna port of UE1, UE2, UE3, and UE4generates a reference signal by using the base sequence r1and a cyclic shift value corresponding to the antenna port, and at least combs occupied by or the cyclic shift values used by the antenna ports of UE1, UE2, UE3, and UE4are different. For example, the occupied combs are different, and/or the used cyclic shift values are different. Cell2includes UE5, UE6, UE7, and UE8, and each UE includes four antenna ports (for example, antenna port p0, antenna port p1, antenna port p2, and antenna port p3respectively). Each of UE5, UE6, UE7, and UE8generates a reference signal by using the base sequence r2and a cyclic shift value corresponding to each antenna port, and at least combs occupied by or the cyclic shift values used by the antenna ports of UE5, UE6, UE7, and UE8are different. For example, the occupied combs are different, and/or the used cyclic shift values are different. As shown inFIG.4, a frequency domain resource is divided into four combs (comb1, comb2, comb3, and comb4). InFIG.4, each box represents one RE, differently-filled boxes represent different combs, and a comb quantity KTC=4. Because antenna ports of UEs in a same cell generate reference signals by using a same base sequence and different cyclic shift values, generate and send reference signals by using a same base sequence and occupying different combs, or generate and send reference signals by using a same base sequence and different cyclic shift values and occupying different combs. Therefore, the antenna ports of the UEs in the same cell are orthogonal to each other, and there is no interference between the antenna ports of the UEs in the same cell.

It should be noted that the method provided in this application is described merely by using the scenario1as an example in this application. An application scenario is not limited in this application, and a quantity of cells, a quantity of UEs included in a cell, a quantity of antenna ports included in each UE, a comb quantity, and the like are not limited.

Combs occupied by antenna ports of UE1to UE8may be obtained according to the formula (2).

For example, in UE1to UE8, the four antenna ports of each UE use two combs, every two antenna ports use one comb, and there are four combs in total. Four terminal devices may send reference signals on same two combs, and two antenna ports of each UE occupy one comb, as shown in Table 5 andFIG.4. Antenna ports of UE1, UE2, UE5, and UE6jointly occupy comb1and comb3, and antenna ports of UE3, UE4, UE7, and UE8jointly occupy comb2and comb4. A specific comb occupied by two specific antenna ports of each UE to send the reference signal is fixed.

For example, antenna port p0and antenna port p2of each UE occupy one comb, and antenna port p1and antenna port p3occupy one comb. For example, the comb occupied by antenna port p0and antenna port p2is a comb with a smaller comb index in two combs occupied by the UE, and the comb occupied by antenna port p1and antenna port p3is a comb with a larger comb index in the two combs occupied by the UE. Antenna port p0and antenna port p2of UE1occupy comb1, antenna port p1and antenna port p3of UE1occupy comb3, antenna port p0and antenna port p2of UE3occupy comb2, and antenna port p1and antenna port p3of UE3occupy comb4. Details are not described one by one. For ease of understanding, Table 5 andFIG.4show the UEs, corresponding base sequences, and corresponding combs, but do not show the antenna ports.

It should be noted that the comb index may also be referred to as a comb number. This is not limited in this application.

In this way, at any sending moment, each UE sends a reference signal in a manner shown in Table 5 andFIG.4, and the antenna ports of UE1, UE2, UE5, and UE6send reference signals by using a same comb, reference signals are generated by using different base sequences between antenna ports of UE1and UE5and between UE1and UE6. Interference exists between UE1and UE5, and between UE1and UE6.

In embodiments of this application, the sending moment is a moment at which the reference signal is sent.

However, at any sending moment, a comb occupied by each antenna port of each UE is constant, as shown in Table 5 andFIG.4. This causes an antenna port of one UE to suffer interference from a same antenna port of a same UE at any sending moment. With reference to Table 5 andFIG.4, the antenna ports of UE1suffer interference from the antenna ports of UE5and UE6at any sending moment. In this example, antenna port p0and antenna port p2of UE1suffer interference from antenna port p0and antenna port p2of UE5and antenna port p0and antenna port p2of UE6at any sending moment, antenna port p1and antenna port p2of UE1suffer interference from antenna port p1and antenna port p2of UE5and antenna port p1and antenna port p2of UE6at any sending moment. Other UEs are similar, and details are not described one by one. In this way, during a plurality of times of reference signal sending, interference presents a specific regularity. This is not conducive to interference randomization, and is not conducive to channel estimation.

The following describes in detail the communication method provided in embodiments of this application with reference toFIG.5toFIG.12. Actions, terms, and the like in embodiments of this application may be mutually referenced. This is not limited. An object name, a parameter name, or the like in embodiments of this application is merely an example, and another name may alternatively be used in a specific implementation. This is not limited.

For example,FIG.5is a schematic flowchart of a communication method according to an embodiment of this application.

As shown inFIG.5, the communication method includes the following steps.

S501: A network device sends configuration information. Correspondingly, a terminal device receives the configuration information.

For example, the configuration information indicates a configuration of a reference signal.

Optionally, the reference signal may include but is not limited to an SRS.

Optionally, for a specific implementation of the configuration information, refer to the descriptions in “First, configuration information”. Details are not described herein again.

S502: The terminal device sends the reference signal via M antenna ports based on the configuration information. Correspondingly, the network device receives the reference signal via the M antenna ports based on the configuration information.

For example, M is an integer greater than 0.

Optionally, the terminal device may include the M antenna ports.

For example, the M antenna ports may include at least one first antenna port.

For example, the first antenna port may be any antenna port of the terminal device. For example, with reference to the foregoing scenario1, the terminal device is UE1, and the first antenna port may be any one of antenna port p0to antenna port p3of UE1.

In some embodiments, a comb occupied by the first antenna port may be determined based on at least a first offset.

For example, with reference to the foregoing scenario1, a comb occupied by one or more of antenna port p0to antenna port p3of UE1may be determined based on at least the first offset.

For example, the first offset may be an integer greater than or equal to 0.

In some embodiments, the comb occupied by the first antenna port may be determined based on a comb quantity, a comb offset, and the first offset.

Optionally, the comb quantity may be a quantity of combs included in a transmit bandwidth mSRS,bhopof the reference signal.

Optionally, the comb offset may be a reference quantity of combs occupied by the reference signal.

For example, the first offset may be determined based on at least a cell identifier and a time domain resource occupied by the first antenna port, or the first offset may be determined based on a cyclic shift value occupied by the first antenna port.

Optionally, the cell identifier may be configured.

Optionally, the cell identifier may be used to determine a pseudo-random sequence.

For example, the pseudo-random sequence may be c( ).

For example, the cell identifier may be a configured configuration parameter. For example, the cell identifier may be a first configuration parameter.

For example, first configuration parameters of terminal devices in a same serving cell are the same, and first configuration parameters of terminal devices in different serving cells are different.

In a possible design method, the first offset is determined based on at least the cell identifier and the time domain resource occupied by the first antenna port, and the first offset may be further determined based on one or more of the following parameters: a quantity of slots included in each system frame, a quantity of orthogonal frequency division multiplexing OFDM symbols included in each slot, the comb quantity, and the comb offset.

Optionally, the time domain resource occupied by the first antenna port may include one or more OFDM symbols. The one or more OFDM symbols are determined based on one or more of the following parameters: a system frame number corresponding to the first antenna port, a slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

In other words, a quantity of OFDM symbols included in the time domain resource occupied by the first antenna port is not limited in this application.

Optionally, time domain resources occupied by the M antenna ports may be the same or different.

Optionally, all first antenna ports included in the terminal device belong to a same reference signal resource, all second antenna ports included in the terminal device belong to a same reference signal resource, and the reference signal resource to which all the first antenna ports belong may be the same as or different from the reference signal resource to which all the second antenna ports belong.

In some embodiments, the first offset may be a first random number.

In other words, the first offset may be a random number. For example, the first offset is a random number greater than 0.

Optionally, the first offset or the first random number may satisfy a formula (6), a formula (7), a formula (8), or a formula (9).

In the formula (6), the formula (7), the formula (8), or the formula (9), Q1represents the first offset or the first random number (Q1may represent the first offset; and when the first offset is the first random number, Q1may represent the first random number); a mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the first antenna port; Nslotframerepresents the quantity of the slots included in each system frame, Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; ns,fμrepresents the slot number corresponding to the first antenna port; l0+l′ represents the OFDM symbol number corresponding to the first antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port; and a mathematical symbol mod represents a modulo operation.

It should be noted that m in the formula (6), the formula (7), the formula (8), or the formula (9) is irrelevant to a sequence length M. In the formula (6), the formula (7), the formula (8), or the formula (9), an example in which m is an integer ranging from 0 to 7 is used for description, and a value range of m in the formula (6), the formula (7), the formula (8), or the formula (9) is not limited in this application.

In this application, the comb occupied by the first antenna port of the terminal device is determined based on the first offset, so that a frequency domain resource (the comb) occupied by the terminal device may randomly change at different sending moments. In this way, a terminal device that causes interference to the terminal device randomly changes. Therefore, frequency-domain interference randomization is implemented, and a better interference randomization effect can be achieved.

In some embodiments, an index kTC(pi)that is of a comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the first offset may satisfy the following formula: kTC(pi)=(kTC+KTC/2+Q1) mod KTC, or kTC(pi)=(kTC+Q1) mod KTC, wherekTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, and Q1represents the first offset.

For example, the index kTC(pi)that is of the comb occupied by antenna port piof the terminal device and that is determined based on the comb quantity, the comb offset, and the first offset may satisfy the following formula (10):

Similar to the foregoing formula (2), in the formula (10),kTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, and Q1represents the first offset.

When a first condition is satisfied: NapSRS=4, and piϵ{1001, 1003}, and nSRScs,max=6; or when a second condition is satisfied: NapSRS=4, and piϵ{1001, 1003}, and nSRScsϵ{nSRScs,max/2, . . . , nSRScs,max−1}, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the first offset may be expressed as kTC(pi)=(kTC+KTC/2+Q1) mod KTC. When neither the first condition nor the second condition is satisfied, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the first offset may be expressed as kTC(pi)=(kTC+Q1) mod KTC.

With reference to Table 6 andFIG.6, the following describes a comb occupied by an antenna port of each terminal device after the comb occupied by the first antenna port is determined based on at least the first offset.

The foregoing scenario1is used as an example. The comb occupied by each antenna port (antenna port p0to antenna port p3) of UE1to UE8is determined based on at least the first offset. The comb occupied by the antenna port of each UE may be shown in Table 6 andFIG.6.

At sending moment1, antenna ports of UE1, UE2, UE5, and UE6occupy comb1and comb3, and antenna ports of UE3, UE4, UE7, and UE8occupy same comb2and same comb4. UE1is used as an example. The antenna ports of UE1suffer interference, on comb1and comb3, from antenna ports of UE5and UE6.

It should be noted that, in Table 6 andFIG.6, an example in which antenna port p0and antenna port p2of each UE occupy one comb, and antenna port p1and antenna port p3occupy one comb is used. For example, the comb occupied by antenna port p0and antenna port p2is a comb with a smaller comb index in two combs occupied by the UE, and the comb occupied by antenna port p1and antenna port p3is a comb with a larger comb index in the two combs occupied by the UE. For ease of understanding, Table 6 andFIG.6show the UEs, corresponding base sequences, and corresponding combs, but do not show the antenna ports.

At sending moment2, antenna ports of UE1, UE2, UE7, and UE8occupy comb1and comb3, and antenna ports of UE3, UE4, UE5, and UE6occupy comb2and comb4. The antenna ports of UE1suffer interference, on comb1and comb3, from antenna ports of UE7and UE8.

At sending moment n, the antenna ports of UE1, UE2, UE7, and UE8occupy comb2and comb4, and the antenna ports of UE3, UE4, UE5, and UE6occupy comb7and comb8. The antenna ports of UE1suffer interference, on comb2and comb4, from the antenna ports of UE7and UE8.

In this way, frequency domain resources (combs) occupied by the antenna ports of UE1randomly change at different sending moments, so that a UE that causes interference to UE1randomly changes. At some sending moments, UE5and UE6cause interference to UE1. At some sending moments, UE7and UE8cause interference to UE1. An antenna port that causes interference to the antenna port of UE1randomly changes, to achieve the better interference randomization effect.

In a possible design method, the M antenna ports may further include at least one second antenna port.

Optionally, the second antenna port may be any antenna port of the terminal device.

For example, with reference to the foregoing scenario1, the terminal device is UE1, antenna port p0and antenna port p2of UE1may be first antenna ports, and antenna port p1and antenna port p3of UE1may be second antenna ports.

Optionally, a comb occupied by the second antenna port may be determined based on at least a second offset Q2.

Optionally, the second offset Q2is different from the first offset.

For example, with reference to the foregoing scenario1, a comb occupied by antenna port p0and antenna port p2of UE1may be determined based on at least the first offset, and a comb occupied by antenna port p1and antenna port p3of UE1may be determined based on at least the second offset.

For example, the second offset Q2may be an integer greater than 0 or equal to 0.

In some embodiments, the comb occupied by the second antenna port may be determined based on the comb quantity, the comb offset, and the second offset.

Optionally, the comb quantity may be the quantity of combs included in the transmit bandwidth of the reference signal.

Optionally, the comb offset may be the reference quantity of the combs occupied by the reference signal.

In some embodiments, the second offset Q2may be determined based on at least the cell identifier and a time domain resource occupied by the second antenna port.

In some embodiments, the second offset Q2may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port, or the second offset may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset.

Optionally, the time domain resource occupied by the second antenna port includes one or more OFDM symbols. Optionally, the one or more OFDM symbols are determined based on one or more of the following parameters: a system frame number corresponding to the second antenna port, a slot number corresponding to the second antenna port, and an OFDM symbol number corresponding to the second antenna port.

In other words, a quantity of OFDM symbols included in the time domain resource occupied by the second antenna port is not limited in this application.

In some embodiments, the second offset Q2may be a second random number.

In other words, the second offset may be a random number. For example, the second offset is a random number greater than 0.

Optionally, the second offset or the second random number may satisfy a formula (11), a formula (12), a formula (13), or a formula (14).

In the formula (11), the formula (12), the formula (13), or the formula (14), Q2represents the second offset or the second random number (Q2may represent the second offset; and when the second offset is the second random number, Q2may represent the second random number); nfrepresents the system frame number corresponding to the second antenna port; ns,fμrepresents the slot number corresponding to the second antenna port; and l0+l′ represents the OFDM symbol number corresponding to the second antenna port, where l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port.

Meanings represented by other symbols are similar to those in the formula (6), the formula (7), the formula (8), or the formula (9), where the mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotsrepresents the quantity of the OFDM symbols included in each slot; and the mathematical symbol mod represents a modulo operation.

In some other embodiments, the second offset Q2may be a sum of the first offset Q1and a third offset Δ.

Optionally, the third offset Δ may be an integer greater than or equal to 0.

In some embodiments, the third offset may be determined based on at least the cell identifier and the time domain resource occupied by the second antenna port.

Optionally, the third offset may alternatively be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset.

In some embodiments, the third offset may be a third random number.

Optionally, the third random number may satisfy a formula (15), a formula (16), a formula (17), or a formula (18).

In the formula (15), the formula (16), the formula (17), or the formula (18), A represents the third random number, and meanings represented by other symbols are the same as those in the formula (11), the formula (12), the formula (13), or the formula (14). Details are not described herein again.

In this application, the comb occupied by the first antenna port of the terminal device is determined based on the first offset, and the comb occupied by the second antenna port of the terminal device is determined based on the second offset, so that the comb occupied by the antenna port of the terminal device randomly changes at different sending moments, and intervals between a plurality of combs occupied by the antenna ports of the same terminal device may also change randomly. In this way, antenna ports that cause interference to the antenna port of the terminal device are random at different sending moments, and antenna ports that cause, at a same sending moment, interference to antenna ports that are of the terminal device and that occupy different combs may not be antenna ports of a same terminal device. This can implement the frequency-domain interference randomization, and can further improve a degree of freedom of the frequency domain resource occupied by the antenna port of the terminal device, to further improve the interference randomization effect.

In some embodiments, an index kTC(pi)that is of a comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the second offset may satisfy the following formula: kTC(pi)=(kTC+KTC/2+Q2) mod KTC, kTC(pi)=(kTC+Q2) mod KTC, kTC(pi)=(kTC+KTC/2+Q1+Δ) mod KTC, or kTC(pi)=(kTC(pi)+Q1+Δ) mod KTC, wherekTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, Q1represents the first offset, Q2represents the second offset, and Δ represents the third random number.

For example, combs occupied by some antenna ports of the terminal device may be determined based on the first offset, and combs occupied by the other antenna ports of the terminal device may be determined based on the second offset. The index kTC(pi)of the comb occupied by antenna port piof the terminal device may satisfy the following formula (19), formula (20), formula (21), or formula (22).

Similar to the foregoing formula (2), in the formula (19), formula (20), formula (21), or formula (22),kTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, Q1represents the first offset, Q2represents the second offset, and Δ represents the third random number.

In the formula (19), when a first condition is satisfied: NapSRS=4, piϵ{1001, 1003}, and nSRScs,max=6; or when a second condition is satisfied: NapSRS=4, piϵ{1001,1003}, and nSRScsϵ{nSRScs,max/2, . . . , nSRScs,max−1}, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the first offset may be expressed as kTC(pi)({dot over (k)}TC+KTC/2+Q1) mod KTC. When neither the first condition nor the second condition is satisfied, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the second offset may be expressed as kTC(pi)=(kTC+Q2) mod KTC.

In the formula (20), when a first condition is satisfied: NapSRS=4, piϵ{1001, 1003}, and nSRScs,max=6; or when a second condition is satisfied: NapSRS=4, piϵ{1001, 1003}, and nSRScsϵ{nSRScs,max/2, . . . , nSRScs,max−1}, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the second offset may be expressed as kTC(pi)=(kTC+KTC/2+2) mod KTC. When neither the first condition nor the second condition is satisfied, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the first offset may be expressed as kTC(pi)(kTC+Q1) mod KTC.

In the formula (21), when a first condition is satisfied: NapSRS=4, piϵ{1001, 1003}, and nSRScs,max=6; or when a second condition is satisfied: NapSRS=4, piϵ{1001, 1003}, and nSRScsϵ{nSRScs,max/2, . . . , nSRScs,max−1}, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the first offset may be expressed as kTC(pi)=(kTC+KTC/2+Q1) mod KTC. When neither the first condition nor the second condition is satisfied, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the second offset may be expressed as kTC(pi)=(kTC+Q1+Δ) mod KTC.

In the formula (22), when a first condition is satisfied: NapSRS=4, piϵ{1001, 1003}, and nSRScs,max=6; or when a second condition is satisfied: NapSRS=4, piϵ{1001, 1003}, and nSRScsϵ{nSRScs,max/2, . . . , nSRScs,max−1}, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the second offset may be expressed as kTC(pi)=(kTC+KTC/2+Q1+Δ) mod KTC. When neither the first condition nor the second condition is satisfied, the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the first offset may be expressed as kTC(pi)=(kTC+Q1) mod KTC.

With reference to Table 7 andFIG.7, the following describes a comb occupied by an antenna port of each terminal device after combs occupied by different antenna ports are determined based on at least the first offset or the second offset.

The foregoing scenario1is used as an example. That a comb occupied by two antenna ports of each of UE1to UE8is determined based on at least the first offset, and a comb occupied by the other two antenna ports of each of UE1to UE8is determined based on at least the second offset is used as an example. The comb occupied by the antenna port of each UE may be shown in Table 7 andFIG.7.

UE1is used as an example. At sending moment1, the antenna ports of UE1suffer interference, on comb1and comb3, from antenna ports of UE5and UE6.

It should be noted that, in Table 7 andFIG.7, an example in which antenna port p0and antenna port p2of each UE occupy one comb, and antenna port p1and antenna port p3occupy one comb is used. For example, the comb occupied by antenna port p0and antenna port p2is a comb with a smaller comb index in two combs occupied by the UE, and the comb occupied by antenna port p1and antenna port p3is a comb with a larger comb index in the two combs occupied by the UE. For ease of understanding, Table 7 andFIG.7show the UEs, corresponding base sequences, and corresponding combs, but do not show the antenna ports.

At sending moment2, antenna ports of UE1, UE2, UE7, and UE8occupy comb1, the antenna ports of UE1, UE2, UE5, and UE6occupy comb2, the antenna ports of UE3, UE4, UE7, and UE8occupy comb3, and antenna ports of UE3, UE4, UE5, and UE6occupy comb4.

UE1is used as an example. At sending moment2, the antenna ports (for example, antenna port p0and antenna port p2) of UE1suffer interference, on comb1, from antenna ports (for example, antenna port p0and antenna port p2) of UE7and UE8. The antenna ports (for example, antenna port p1and antenna port p3) of UE1suffer interference, on comb2, the antenna ports (for example, antenna port p0and antenna port p2) of UE5and UE6.

At sending moment n, the antenna ports of UE1, UE2, UE7, and UE8occupy comb1, the antenna ports of UE1, UE2, UE5, and UE6occupy comb4, the antenna ports of UE3, UE4, UE5, and UE6occupy comb2, and the antenna ports of UE3, UE4, UE7, and UE8occupy comb4.

UE1is used as an example. At sending moment n, the antenna ports (for example, antenna port p0and antenna port p2) of UE1suffer interference, on comb1, from the antenna ports (for example, antenna port p0and antenna port p2) of UE7and UE8. The antenna ports (for example, antenna port p1and antenna port p3) of UE1suffer interference, on comb4, the antenna ports (for example, antenna port p0and antenna port p2) of UE5and UE6.

In this way, after the comb occupied by the two antenna ports of each of UE1to UE8is determined based on at least the first offset, and the comb occupied by the other two antenna ports of each of UE1to UE8is determined based on at least the second offset, the comb occupied by the antenna port of UE1randomly changes at different sending moments. For example, at sending moment1, UE1sends a reference signal through comb1and comb3; and at sending moment2, UE1sends a reference signal through comb1and comb4, so that an antenna port that causes interference to the antenna port of UE1randomly changes. In addition, antenna ports that cause, at a same sending moment, interference to antenna ports, that are of the terminal device (antenna port p0and antenna port p2of UE1, and antenna port ptand antenna port p3of UE1) and that occupy different combs may not be antenna ports of a same terminal device. For example, at sending moment2, antenna port p0and antenna port p2of UE1suffer interference, on comb1, from antenna ports p0and antenna ports p2of UE7and UE8, and antenna port ptand antenna port p3of UE1suffer interference, on comb2, from antenna ports p0and antenna ports p2of UE5and UE6. This can further improve the degree of freedom of the frequency domain resource occupied by the antenna port of the terminal device, and can further improve a degree of interference randomization caused to the terminal device, to further improve the interference randomization effect.

In some embodiments, with reference to the foregoing scenario1, it is assumed that for each UE, cyclic shift reference value nSRScs=. After the index kTC(pi)of the comb occupied by antenna port piis obtained according to the formula (2), the comb occupied by each antenna port of each UE is shown in Table 8 andFIG.8.

At sending moment1, antenna port p0, antenna port p1, antenna port p2, and antenna port p3of UE1occupy comb1. Antenna port p0, antenna port p m antenna port p2, and antenna port p3of UE5occupy comb1. Other UEs are not listed one by one. For details, refer to Table 8. UE1is used as an example. Antenna port p0to antenna port p3of UE1suffer interference, on comb1, from antenna port p0to antenna port p3of UE5.

At sending moment2, antenna port p0, antenna port p1, antenna port p2, and antenna port p3of UE1occupy comb1. Antenna port p0, antenna port p1, antenna port p2′ and antenna port p3of UE5occupy comb1. Other UEs are not listed one by one. For details, refer to Table 8. UE1is used as an example. Antenna port p0to antenna port p3of UE1suffer interference, on comb1, from antenna port p0to antenna port p3of UE5.

Similarly, at sending moment n, antenna port p0, antenna port p1, antenna port p2, and antenna port p3of UE1occupy comb1. Antenna port p0, antenna port p1, antenna port p2, and antenna port p3of UE5occupy comb1. Other UEs are not listed one by one. For details, refer to Table 8. UE1is used as an example. Antenna port p0to antenna port p3of UE1suffer interference, on comb1, from antenna port p0to antenna port p3of UE5.

At any sending moment, each antenna port suffers interference from a same antenna port. UE1is used as an example. At any sending moment, antenna port p0to antenna port p3of UE1suffer interference from antenna port p0to antenna port p3of UE5. This is not conducive to interference randomization.

In a possible design method, the first offset is determined based on the cyclic shift value occupied by the first antenna port.

Optionally, there may be a correspondence between the first offset and the cyclic shift value.

In this way, the comb occupied by the antenna port is obtained based on the first offset, where a value of the first offset is related to the cyclic shift value. In this case, the comb occupied by the antenna port is affected by the cyclic shift value and the first offset, so that a comb occupied by and a cyclic shift value used by each antenna port change randomly at different sending moments, and an antenna port that causes interference to the antenna port of the terminal device also changes randomly at different sending moments. At a same sending moment, antenna ports that cause interference to different antenna ports of the terminal device are different. Two-dimensional interference randomization in code domain and in frequency domain can be implemented, the interference randomization effect can be further enhanced, and an interference randomization convergence speed can be accelerated.

In addition, due to introduction of the cyclic shift value, interference levels of interference caused by antenna port paof UE x to antenna port pbof UE y may still vary greatly at different sending moments. In this way, an excellent interference randomization effect can be ensured.

In a possible design method, that the first offset is determined based on a cyclic shift value occupied by the first antenna port may include: The first offset is determined based on a range to which the cyclic shift value belongs.

Optionally, the range to which the cyclic shift value belongs may be divided into at least two intervals.

For example, it is assumed that the range of the cyclic shift value is divided into a first range and a second range, and the cyclic shift value is α1. If α1belongs to the first range, the value of the first offset is koffset0; or if α1belongs to the second range, the value of the first offset is koffset1.

In some embodiments, if αimod 2πϵR0for a cyclic shift value corresponding to antenna port pi, the value of the first offset is koffset0; if αimod 2πϵR1, the value of the first offset is koffset1; and similarly, if αimod 2πϵRy-1, the value of the first offset is koffsety-1,where R0represents the first range, R1represents the second range, and similarly, Ry-1represents a ythrange; and a mathematical symbol ϵ represents belonging to.

In some embodiments, the cyclic shift value may satisfy a formula:

αi=2⁢πMZC⁢((∑m=07⁢c⁡(8⁢(nf⁢Nslotframe⁢Nsymbslot+ns,fμ⁢Nsymbslot+l0+l′)+m)·2m)⁢mod⁢MZC)+2⁢πnSRScs,max⁢((nSRScs+nSRScs,max(pi-1000)napSRS)⁢mod⁢nSRScs,max),where MZCrepresents a length of a sequence; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier; nfrepresents the system frame number corresponding to the first antenna port; Nslotframerepresents the quantity of the slots included in each system frame; Nsymbslotrepresents the quantity of the OFDM symbols included in each slot; nfrepresents the slot number corresponding to the first antenna port in a subcarrier configuration μ; and l0+l′ represents the OFDM symbol number corresponding to the first antenna port, where l0represents the index of the start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port, and l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port.

In some other embodiments, the cyclic shift value may satisfy a formula:

For a meaning represented by nSRScs,i, refer to the corresponding descriptions of nSRScs,iin the foregoing “Third, cyclic shift value”. Details are not described herein again.

In still some embodiments, the cyclic shift value may satisfy a formula:

It should be noted that, unless otherwise specified in embodiments of this application, meanings represented by the parameters in the formulas may be mutually referenced. This is not limited.

It should be noted that the cyclic shift value is not limited in embodiments of this application.

In some embodiments, the first offset is determined based on the cyclic shift value occupied by the first antenna port, and the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the first offset may satisfy the following formula: kTC(pi)=(kTC+KTC/2+koffset) mod KTC, or kTC(pi)=(kTC+koffset) mod KTC, wherekTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, and koffsetrepresents the first offset.

For example, the first offset is determined based on the range to which the cyclic shift value belongs, and the index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, and the first offset may satisfy the following formula (23):

Similar to the foregoing formula (2), in the foregoing formula (23),kTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, and each of koffset0to koffsetn-1may represent the first offset.

When the first condition is satisfied: NapSRS=4, piϵ{1001, 1003}, and nSRScs,max=6, the index kTC(pi)of the comb occupied by antenna port piis related to the cyclic shift value. For example, when the cyclic shift value αimod 2πϵR0, the index kTC(pi)of the comb occupied by antenna port pisatisfies kTC(pi)=(kTC+KTC/2+koffset0) mod KTC. For example, when the cyclic shift value αimod 2πϵR1, the index kTC(pi)of the comb occupied by antenna port pisatisfies kTC(pi)=(kTC+KTC/2+koffset1) mod KTC. For example, when the cyclic shift value αimod 2πϵRy-1, the index kTC(pi)of the comb occupied by antenna port pisatisfies kTC(pi)=(kTC+KTC/2+koffsety-1) mod KTC.

Similarly, when the second condition is satisfied: NapSRS=4, piϵ{1001, 1003}, and nSRScsϵ{nSRScs,max/2, . . . , nSRScs,max−1}, the index kTC(pi)) the comb occupied by antenna port piis related to the cyclic shift value. For details, refer to the foregoing formula. Details are not described again. When neither the first condition nor the second condition is satisfied (as shown in the foregoing formula (23), NapSRS≠4 or piϵ{1000, 1002} or (nSRScsϵ{0, . . . , nSRScs,max/2−1}, and nSRScs,max≠6)), the index kTC(pi)of the comb occupied by antenna port piis related to the cyclic shift value. For example, when the cyclic shift value αimod 2πϵR0, the index kTC(pi)of the comb occupied by antenna port pisatisfies kTC(pi)=(kTC+koffset0) mod KTC. For example, when the cyclic shift value αimod 2πϵR1, the index kTC(pi)of the comb occupied by antenna port pisatisfies kTC(pi)=(kTC+koffset1) mod KTC. For example, when the cyclic shift value αimod 2πϵRy-1, the index kTC(pi)of the comb occupied by antenna port pisatisfies kTC(pi)=(kTC+koffsety-1) mod KTC.

With reference to Table 9 andFIG.9, the following describes a comb occupied by each terminal device after the first offset is determined based on the cyclic shift value occupied by the first antenna port, and the comb occupied by the antenna port is determined based on at least the first offset.

The foregoing scenario1is used as an example. The first offset is determined based on the cyclic shift value occupied by the first antenna port, and a comb occupied by each antenna port (antenna port p0to antenna port p3) of UE1to UE8is determined based on at least the first offset. It is assumed that in the foregoing formula (23),

In this case, an index kTC(pi)of the comb occupied by each SRS port pimay be expressed as:

and combs occupied by each UE may be shown in Table 9 andFIG.9.

With reference to Table 9 andFIG.9, at sending moment1, antenna port p0to antenna port p3of UE1respectively occupy comb1, comb2, comb3, and comb4; and antenna port p0to antenna port p3of UE2respectively occupy comb2, comb3, comb4, and comb1. Details are not listed one by one. For details, refer to Table 9 andFIG.9.

UE1is used as an example. At sending moment1, antenna port p0of UE1suffers interference, on comb1, from antenna port p3of UE2, antenna port p2of UE3, antenna port p1of UE4, antenna port p0of UE5, antenna port p3of UE6, antenna port p3of UE7, and antenna port p1of UE8; and antenna port p1of UE1suffers interference, on comb2, from antenna port p0of UE2, antenna port p3of UE3, antenna port p2of UE4, antenna port p1of UE5, antenna port p0of UE6, antenna port p2of UE7, and antenna port p2of UE8. Details are not listed one by one. For details, refer to Table 9 andFIG.9.

At sending moment2, antenna port p0to antenna port p3of UE1respectively occupy comb2, comb3, comb4, and comb1; and antenna port p0to antenna port p3of UE2respectively occupy comb3, comb4, comb1, and comb2. Details are not listed one by one. For details, refer to Table 9 andFIG.9.

UE1is used as an example. At sending moment2, antenna port p0of UE1suffers interference, on comb1, from antenna port p3of UE2, antenna port p2of UE3, antenna port p1of UE4, antenna port p3of UE5, antenna port p2of UE6, antenna port p1of UE7, and antenna port p0of UE8. Details are not listed one by one. For details, refer to Table 9 andFIG.9.

It can be learned that, the comb occupied by each antenna port of each UE changes at different sending moments, and an antenna port that causes interference to a same antenna port changes randomly. For example, antenna ports that cause interference to antenna port p0of UE1at sending moment1and sending moment2are different. At a same sending moment, antenna ports that cause interference to different antenna ports of the UE are different. For example, at sending moment1, antenna ports that cause interference to antenna port p0of UE1and cause interference to antenna port p1of UE1are different, so that the interference randomization effect can be further enhanced.

In addition, due to introduction of the cyclic shift value, levels of interference caused by antenna port Pa of UE x to antenna port pbof UE y may still vary greatly at different sending moments. In this way, an excellent interference randomization effect can be ensured.

According to the communication method shown inFIG.5, the comb occupied by the first antenna port of the terminal device is determined based on the first offset, so that a frequency domain resource (the comb) occupied by the antenna port of the terminal device may randomly change at different sending moments. In this way, an antenna port of a terminal device that causes interference to the antenna port of the terminal device randomly changes. Therefore, the frequency-domain interference randomization is implemented, and the better interference randomization effect can be achieved.

Alternatively, the cyclic shift value is introduced. The comb occupied by the first antenna port is obtained based on the first offset, and the value of the first offset is related to the cyclic shift value. In this case, the comb occupied by the first antenna port is affected by the cyclic shift value and the first offset. In this way, the comb occupied by and the cyclic shift value used by each antenna port change randomly at different sending moments, and an antenna port that causes interference to the antenna port of the terminal device also changes randomly at different sending moments. At a same sending moment, antenna ports that cause interference to different antenna ports of the terminal device are different. In this way, two-dimensional interference randomization in code domain and in frequency domain can be implemented, the interference randomization effect can be further enhanced, and an interference randomization convergence speed can be accelerated.

In some embodiments, a partial sounding offset noffsetRPFSsatisfies the foregoing formula (4): noffsetRPFS=NscRBmSRS,BSRS((kF+khop)mod PF)/PF.

If higher-layer parameters (for example, kFand PF) do not change, a relative position of a partial detection bandwidth in a frequency hopping bandwidth is determined only by using a start resource block hopping offset khop. However, khopis determined based on an index of a frequency hopping periodicity corresponding to the reference signal and a protocol-predefined table (for example, Table 3). Therefore, a partial detection bandwidth occupied by each antenna port has a strong regularity. This is not conductive to interference randomization.

With reference to Table 10 andFIG.10, in a scenario2, cell1includes UE1and UE2, and each UE includes two antenna ports (for example, antenna port p0and antenna port p1respectively). Each antenna port of UE1and UE2generates a reference signal by using a base sequence r1and a cyclic shift value that corresponds to the antenna port, and at least combs occupied by or cyclic shift values used by the antenna ports of UE1and UE2are different. Cell2includes UE3and UE4, and each UE includes two antenna ports (for example, antenna port p0and antenna port p1respectively). Each antenna port of UE3and UE4generates a reference signal by using a base sequence r2and a cyclic shift value that corresponds to the antenna port, and at least combs occupied by or cyclic shift values used by the antenna ports of UE3and UE4are different. InFIG.10, each box represents one RB, a sounding bandwidth is 16 RBs, a frequency hopping bandwidth is 4 RBs, and a frequency hopping periodicity is 4. It should be noted that the antenna ports are not shown in Table 10 andFIG.10.

Partial sounding start position indexes kFand frequency scaling factors PFthat correspond to antenna ports of terminal devices are the same. As shown in Table 10, two UEs may send reference signals on a same time-frequency resource.

It is assumed that antenna ports of UEs in a same cell are orthogonal to each other. If higher-layer parameters (for example, kFand PF) do not change, an antenna port of one UE suffers fixed interference at any sending moment. For example, the antenna port of UE1receives interference from the antenna port of UE3.

For example,FIG.11is a schematic flowchart of another communication method according to an embodiment of this application. The method shown inFIG.11may be used in combination with the method shown inFIG.5, to achieve a better interference randomization effect. The method shown inFIG.11and the method shown inFIG.5may alternatively be separately used.

As shown inFIG.11, the communication method includes the following steps.

S1101: A network device sends configuration information. Correspondingly, a terminal device receives the configuration information.

For a specific implementation of S1101, refer to S501. Details are not described herein again.

S1102: The terminal device sends a reference signal via M antenna ports based on the configuration information. Correspondingly, the reference signal is received via the M antenna ports based on the configuration information.

For example, M is an integer greater than 0.

Optionally, the terminal device may include the M antenna ports.

In a possible design method, a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset.

For example, with reference to the foregoing scenario2, a start position of a frequency domain resource occupied by each of antenna port p0and antenna port p1of UE1may be determined based on at least the fourth offset.

Optionally, the fourth offset may be an integer greater than or equal to 0.

In some embodiments, the fourth offset may be determined based on at least a cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

For example, with reference toFIG.10, the index of the frequency hopping periodicity corresponding to the reference signal may be: frequency hopping periodicity1or the like.

In some embodiments, the fourth offset may be a fourth random number.

In other words, the fourth offset may be a random number. For example, the fourth offset is a random number greater than 0.

Optionally, the fourth offset or the fourth random number may satisfy a formula (24) or a formula (25).

In the formula (24) or the formula (25), krandrepresents the fourth offset or the fourth random number (krandmay represent the fourth offset; and when the fourth offset is the fourth random number, krandmay represent the fourth random number); a mathematical symbol Σ represents summation; c( ) is a pseudo-random sequence, where the pseudo-random sequence is related to the cell identifier;

represents the index of the frequency hopping periodicity corresponding to the reference signal; a mathematical symbol └ ┘ represents a floor operation; nSRSrepresents a count value of the reference signal; a mathematical symbol Π represents a product of a sequence; and a mathematical symbol mod represents a modulo operation.

It should be noted that for meanings of the parameters in the foregoing formula (25) and Nbhop=1, refer to the foregoing descriptions of the formula (5) and Table 3. Details are not described herein again.

It should be noted that m in the formula (24) or the formula (25) is irrelevant to a sequence length M. In the formula (24) or the formula (25), an example in which m is an integer ranging from 0 to 7 is used for description, and a value range of m in the formula (24) or the formula (25) is not limited in this application.

In some embodiments, that a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset may include: The start position of the frequency domain resource occupied by each of the M antenna ports may be determined based on a partial sounding offset noffsetRPFS.

Optionally, the partial sounding offset noffsetRPFSmay be determined based on a quantity of subcarriers included in each resource block, a frequency hopping bandwidth, an index of a partial sounding start position, a start resource block hopping offset, a frequency scaling factor, and the fourth offset.

For example, the partial sounding offset noffsetRPFSmay satisfy the following formula (26):

In the formula (26), krandrepresents the fourth offset.

Meanings of other parameters in the formula (26) are similar to those in the formula (4). NscRBis a quantity of subcarriers included in each resource block; mSRS,BSRSrepresents the frequency hopping bandwidth, and mSRS,BSRSis a frequency hopping bandwidth determined based on higher-layer parameters BSRSand CSRS, and a protocol-predefined table (for example, Table 3); kFis the index of the partial sounding start position, and kFϵ{0, 1, . . . , PF−1}; khoprepresents the start resource block hopping offset; and PFrepresents the frequency scaling factor.

In some embodiments, a frequency-domain start position k0(pi)of antenna port pimay satisfy the following formula (27):

In the foregoing formula (27),k0(pi)satisfiesk0(pi)=nshiftNscRB+(kTC(pi)+koffsetl′) mod KTC. NscRBis a quantity of subcarriers included in each resource block. For example, NscRBis 12. kTC(pi)represents an index of the comb occupied by antenna port pi.

In the foregoing formula (27), noffsetRPFSrepresents a frequency hopping offset. Optionally, the frequency hopping offset noffsetFHmay satisfy noffsetFH=Σb=0BSRSmSRS,bNscRBnb, where NscRBis the quantity of the subcarriers included in each resource block.

In the foregoing formula (27), noffsetRPFSmay represent a partial sounding offset, and the partial sounding offset noffsetRPFSmay be determined based on the quantity of the subcarriers included in each resource block, a frequency hopping bandwidth, an index of a partial sounding start position, a start resource block hopping offset, a frequency scaling factor, and the fourth offset, for example, the foregoing formula (26).

With reference toFIG.12, the foregoing scenario2is used as an example. A start position of a frequency domain resource occupied by each antenna port (antenna port p0and antenna port p1) of UE1to UE4is determined based on at least the fourth offset. The start position of the frequency domain resource occupied by each UE may be shown inFIG.12.

In frequency hopping periodicity1, the antenna port of UE1and the antenna port of UE3occupy a start position of a same frequency domain resource, and the antenna port of UE2and the antenna port of UE4occupy a start position of a same frequency domain resource. In frequency hopping periodicity2, the antenna port of UE1and the antenna port of UE4occupy a start position of a same frequency domain resource, and the antenna port of UE2and the antenna port of UE3occupy a start position of a same frequency domain resource. Similarly, in frequency hopping periodicity n, the antenna port of UE1and the antenna port of UE3occupy a start position of a same frequency domain resource, and the antenna port of UE2and the antenna port of UE4occupy a start position of a same frequency domain resource.

UE1is used as an example. In frequency hopping periodicity1, the antenna port of UE3causes interference to the antenna port of UE1. In frequency hopping periodicity2, the antenna port of UE4causes interference to the antenna port of UE1. It can be learned that different antenna ports cause interference to the antenna port of UE1in different frequency hopping periodicities. This brings a good interference randomization effect, can accelerate an interference randomization convergence speed, and can improve channel estimation performance.

According to the communication method shown inFIG.11, when the start position of the frequency domain resource occupied by the antenna port is determined, the fourth offset is introduced, so that the start position of the frequency domain resource occupied by each antenna port may randomly change in different frequency hopping periodicities, and an antenna port that causes interference to an antenna port of a terminal device also randomly changes, to implement frequency-domain interference randomization. This brings the good interference randomization effect, can accelerate the interference randomization convergence speed, and can improve the channel estimation performance.

For example,FIG.13is a schematic flowchart of a communication method according to an embodiment of this application. The method shown inFIG.13and the method shown inFIG.5may be parallel solutions, or may be used in combination.

As shown inFIG.13, the communication method includes the following steps.

S1301: A network device sends configuration information of a reference signal. Correspondingly, a terminal device receives the configuration information of the reference signal.

For specific implementations of S1301and the configuration information, refer to the corresponding descriptions in S501. Details are not described herein again.

S1302: The terminal device sends the reference signal via M antenna ports based on the configuration information. Correspondingly, the network device receives the reference signal via the M antenna ports based on the configuration information.

For example, M is an integer greater than 0, and the M antenna ports include at least one first antenna port. For specific implementations of M, the M antenna ports, and the first antenna port, refer to the corresponding descriptions in S502. Details are not described herein again.

In some embodiments, a comb occupied by the first antenna port is determined based on at least a first offset.

For example, with reference to the foregoing scenario1, a comb occupied by one or more of antenna port p0to antenna port p3of UE1may be determined based on at least the first offset.

Optionally, the first offset may be an integer greater than or equal to 0.

Optionally, that a comb occupied by the first antenna port is determined based on at least a first offset may include: The comb occupied by the first antenna port may be determined based on an initial value of the comb occupied by the first antenna port and the first offset.

Optionally, the initial value of the comb occupied by the first antenna port may be determined based on a comb offset; or the initial value of the comb occupied by the first antenna port may be determined based on a comb quantity and a comb offset.

Optionally, the comb quantity may be a quantity of combs included in a transmit bandwidth of the reference signal.

Optionally, the comb offset may be a reference quantity of combs occupied by the reference signal.

For example, the initial value of the comb occupied by the first antenna port may satisfy the foregoing formula (2).

For example, the comb occupied by the first antenna port may be determined based on the comb offset and the first offset; or the comb occupied by the first antenna port may be determined based on the comb quantity, the comb offset, and the first offset.

For example, the first offset may be determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

Optionally, the time domain resource occupied by the first antenna port may include one or more OFDM symbols. The one or more OFDM symbols included in the time domain resource occupied by the first antenna port may be determined based on one or more of the following parameters: a system frame number corresponding to the first antenna port, a slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

A quantity of OFDM symbols included in the time domain resource occupied by the first antenna port is not limited in this application.

In a possible design manner, an index of a frequency hopping periodicity in which the time domain resource is located is determined based on the time domain resource occupied by the first antenna port; or a relative index of the time domain resource in one corresponding frequency hopping periodicity is determined based on the time domain resource occupied by the first antenna port, where the relative index may be defined as follows: A relative index of a kthtime of sending in one frequency hopping periodicity is k−1.

Optionally, time domain resources occupied by the M antenna ports may be the same or different.

Optionally, the frequency domain resource occupied by the first antenna port may include one or more sub-bandwidths. The one or more sub-bandwidths included in the frequency domain resource occupied by the first antenna port may be determined based on one or more of the following parameters: an index of a frequency hopping bandwidth corresponding to the first antenna port, and an index of a transmit bandwidth corresponding to the first antenna port.

In a possible design manner, an index of a frequency hopping bandwidth in which the frequency domain resource is located is determined based on the frequency domain resource occupied by the first antenna port, or an index of one subband corresponding to the frequency domain resource is determined based on the frequency domain resource occupied by the first antenna port, where the index of the subband may be defined as follows: A sounding bandwidth of the first antenna port corresponds to a*b RBs, and may be divided into a subbands whose granularities are b, where the subbands are numbered in ascending order of frequencies, including {0, . . . , a−1}.

Optionally, frequency domain resources occupied by the M antenna ports may be the same or different.

In some embodiments, the first offset may include a first random number and/or a fifth random number.

Optionally, the first random number may be determined based on at least the time domain resource occupied by the first antenna port. For example, the first random number may be denoted by Q1.

For example, the first random number may be a random number greater than 0.

Optionally, the fifth random number may be determined based on at least the frequency domain resource occupied by the first antenna port. For example, the fifth random number may be denoted by Q3.

For example, the fifth random number may be a random number greater than 0.

In this way, the comb occupied by the first antenna port may be determined based on the first random number and/or the fifth random number.

For example, the comb occupied by the first antenna port may be determined based on the comb quantity, the comb offset, and the first random number; the comb occupied by the first antenna port may be determined based on the comb quantity, the comb offset, and the fifth random number; or the comb occupied by the first antenna port may be determined based on the comb quantity, the comb offset, the first random number, and the fifth random number.

In some embodiments, that the first random number is determined based on at least the time domain resource occupied by the first antenna port may include: The first random number is determined based on the time domain resource occupied by the first antenna port and a pseudo-random sequence.

Optionally, the pseudo-random sequence may be c( ). For a specific implementation of the pseudo-random sequence, refer to the corresponding descriptions in S502. Details are not described herein again.

Optionally, the first random number is determined based on the time domain resource occupied by the first antenna port and the pseudo-random sequence, and the first random number may be further determined based on one or more of the following parameters: a quantity of slots included in each system frame, and a quantity of OFDM symbols included in each slot. In addition, a value range of the first random number may alternatively be determined based on the comb quantity and the comb offset.

For example, in this application, the quantity of the slots included in each system frame may be a quantity of slots included in one system frame.

For example, in this application, the quantity of the OFDM symbols included in each slot may be a quantity of OFDM symbols included in one slot.

Optionally, the first random number may satisfy the formula (6), the formula (7), the formula (8), or the formula (9) in S502. Details are not described herein again.

In the formula (6), the formula (7), the formula (8), or the formula (9), Q1represents the first random number, a mathematical symbol represents Σ summation, a mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, nfrepresents the system frame number corresponding to the first antenna port (or nfrepresents a system frame number of the time domain resource occupied by the first antenna port), Nslotframerepresents the quantity of the slots in each system frame, Nsymbslotrepresents the quantity of the OFDM symbols in each slot, ns,fμrepresents the slot number corresponding to the first antenna port (or nfrepresents a slot number of the time domain resource occupied by the first antenna port), l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port (or l0represents the index of the start OFDM symbol), l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port (or l′ represents a relative index of an OFDM symbol of the time domain resource occupied by the first antenna port), and KTCrepresents the comb quantity.

In this application, the comb occupied by the first antenna port of the terminal device is determined based on the first random number, so that a frequency domain resource (the comb) occupied by the terminal device may randomly change at different sending moments. In this way, a terminal device that causes interference to the terminal device randomly changes. Therefore, frequency-domain interference randomization is implemented, and a better interference randomization effect can be achieved.

In some other embodiments, that the first random number is determined based on at least the time domain resource occupied by the first antenna port may include: The first random number is determined based on one of a plurality of first correspondences and the time domain resource occupied by the first antenna port. Optionally, the first random number may be replaced with a first variable.

Optionally, one of the plurality of first correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of first correspondences, and/or one of the plurality of first correspondences.

For example, the network device may select one first correspondence from the plurality of first correspondences, and indicate the selected first correspondence to the terminal device.

Optionally, one first correspondence may include a correspondence between at least one first random number and at least one time domain resource.

For example, the at least one first random number corresponds one-to-one to the at least one time domain resource. For example, the time domain resource may be an OFDM symbol, a system frame number, or a slot number.

For example, the terminal device may obtain, from the correspondence between at least one first random number and at least one time domain resource based on the time domain resource occupied by the first antenna port, the first random number corresponding to the time domain resource occupied by the first antenna port.

For example, first correspondence 1 includes: First random number1corresponds to time domain resource1, and first random number2corresponds to time domain resource2. If the first antenna port of the terminal device occupies time domain resource1, the terminal device obtains, based on first correspondence 1 and time domain resource1occupied by the first antenna port of terminal device1, that the first random number is first random number1.

For example, it is assumed that each first correspondence (which may be referred to as a pattern (pattern)) includes correspondences between n time domain resources and n first random numbers. If first random numbers sequentially corresponding to n time domain resources {y1, y2, . . . yn} are {x1, x2, . . . xn} for a kthfirst correspondence, first random numbers sequentially corresponding to n time domain resources are {x(1+a)mod n, x(2+a)mod n, . . . x(M+a)mod n} for a (k+1)thfirst correspondence. A value of {x1, x2, . . . xn} belongs to {0, 1, . . . , KTC−1}, and KTCis a comb number. Optionally, a=1.

In this way, on different time domain resources, the first random number obtained by the terminal device randomly changes, and then the comb occupied by the first antenna port of the terminal device is determined based on the first random number, so that the comb occupied by the terminal device randomly changes at different sending moments.

Optionally, one frequency hopping periodicity may include at least one time of reference signal sending, and the correspondence between at least one first random number and at least one time domain resource includes: a correspondence between the at least one first random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

For example, the at least one first random number corresponds one-to-one to a number of the at least one time of reference signal sending.

For example, the terminal device may obtain, based on a number of a current time of reference signal sending via the first antenna port, the first random number from the correspondence between the at least one first random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

Alternatively, optionally, the correspondence between at least one first random number and at least one time domain resource may include: a correspondence between the at least one first random number and an index of at least one frequency hopping periodicity.

For example, the at least one first random number corresponds one-to-one to the index of the at least one frequency hopping periodicity.

For example, the terminal device may obtain the first random number from the correspondence between the at least one first random number and an index of at least one frequency hopping periodicity based on the index of the frequency hopping periodicity in which the time domain resource occupied by the first antenna port is located.

Optionally, the network device may indicate different first correspondences to terminal devices in different cells.

In this way, the network device indicates different first correspondences to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the frequency-domain interference randomization, and achieve the better interference randomization effect.

In some embodiments, when the first offset is the first random number (the first random number is determined based on the time domain resource occupied by the first antenna port), an index kTC(pi)that is of a comb occupied by antenna port piand that is determined based on the first offset may satisfy the following formula: kTC(pi)=(kTC+KTC/2+Q1) mod KTC, or kTC(pi)=(kTC+Q1) mod KTC, wherekTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, and Q1represents the first random number or the first offset.

For example, the index kTC(pi)that is of the comb occupied by antenna port piof the terminal device and that is determined based on the first random number may satisfy the formula (10) in S502, where Q1represents the first random number or the first offset. For a specific implementation, refer to the descriptions of the formula (10) in S502. Details are not described herein again.

For example, after the comb occupied by the first antenna port is determined based on the first offset (the first offset is determined based on the time domain resource occupied by the first antenna port, and the first offset is the first random number), for a comb occupied by an antenna port of each terminal device, refer to the descriptions of Table 6 andFIG.6in S502. Details are not described herein again.

In some embodiments, that the fifth random number is determined based on at least the frequency domain resource occupied by the first antenna port may include: The fifth random number is determined based on the frequency domain resource occupied by the first antenna port and a pseudo-random sequence.

Optionally, the pseudo-random sequence may be c( ).

Optionally, the fifth random number may satisfy a formula (28) or a formula (29).

In the formula (28) or the formula (29), Q3represents the fifth random number, the mathematical symbol Σ represents summation, the mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, k represents an index of a frequency hopping bandwidth and/or an index of a transmit bandwidth that correspond/corresponds to the frequency domain resource occupied by the first antenna port, and KTCrepresents the comb quantity.

It should be noted that m in the formula (28) or the formula (29) is irrelevant to a sequence length M. In the formula (28) or the formula (29), an example in which m is an integer ranging from 0 to 7 is used for description, and a value range of m in the formula (28) or the formula (29) is not limited in this application.

In some other embodiments, that the fifth random number is determined based on at least the frequency domain resource occupied by the first antenna port may include: The fifth random number is determined based on one of a plurality of second correspondences and the frequency domain resource occupied by the first antenna port.

Optionally, one of the plurality of second correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of second correspondences, and/or one of the plurality of second correspondences.

For example, the network device may select one second correspondence from the plurality of second correspondences, and indicate the selected second correspondence to the terminal device.

Optionally, one second correspondence may include a correspondence between at least one fifth random number and at least one frequency domain resource.

For example, the at least one fifth random number corresponds one-to-one to the at least one frequency domain resource.

For example, the terminal device may obtain, from the correspondence between at least one fifth random number and at least one frequency domain resource based on the frequency domain resource occupied by the first antenna port, the fifth random number corresponding to the frequency domain resource occupied by the first antenna port.

For example, a specific implementation of the second correspondence is similar to that of the first correspondence. For details, refer to the descriptions of the first correspondence. Details are not described herein again.

In this way, on different frequency domain resources, the fifth random number obtained by the terminal device randomly changes, and then the comb occupied by the first antenna port of the terminal device is determined based on the fifth random number, so that the frequency domain resource (comb) occupied by the terminal device randomly changes at different sending moments.

Optionally, the network device may indicate different second correspondences to terminal devices in different cells.

In this way, the network device indicates different second correspondences to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the interference randomization, and achieve the better interference randomization effect.

In some embodiments, when the first offset is the fifth random number (the first offset is determined based on the frequency domain resource occupied by the first antenna port), an index kTC(pi)) that is of a comb occupied by antenna port piand that is determined based on the fifth offset may satisfy the following formula: kTC(pi)=(kTC+KTC/2+Q3) mod KTC, or kTC(pi)=(kTC+Q3) mod KTC, wherekTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, and Q3represents the fifth random number or the first offset.

For example, the index kTC(pi)that is of the comb occupied by antenna port piof the terminal device and that is determined based on the fifth random number may satisfy the following formula (30):

Similar to the foregoing formula (10), in the formula (30), kTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, and Q3represents the fifth random number or the first offset.

With reference to Table 11, the following describes a comb occupied by an antenna port of each terminal device after the comb occupied by the first antenna port is determined based on at least the fifth random number.

The foregoing scenario1is used as an example. The comb occupied by each antenna port (antenna port p0to antenna port p3) of UE1to UE8is determined based on at least the fifth random number. The comb occupied by the antenna port of each UE may be shown in Table 11.

On frequency domain resource1, antenna ports of UE1, UE2, UE5, and UE6occupy comb1and comb3, and antenna ports of UE3, UE4, UE7, and UE8occupy same comb2and same comb4. UE1is used as an example. The antenna ports of UE1suffer interference, on comb1and comb3, from antenna ports of UE5and UE6.

It should be noted that, in Table 11, an example in which antenna port p0and antenna port p2of each UE occupy one comb, and antenna port p1and antenna port p3occupy one comb is used. For example, the comb occupied by antenna port p0and antenna port p2is a comb with a smaller comb index in two combs occupied by the UE, and the comb occupied by antenna port p1and antenna port p3is a comb with a larger comb index in the two combs occupied by the UE. For ease of understanding, Table 11 shows the UEs, corresponding base sequences, and corresponding combs, but do not show the antenna ports.

On frequency domain resource2, antenna ports of UE1, UE2, UE7, and UE8occupy comb1and comb3, and antenna ports of UE3, UE4, UE5, and UE6occupy comb2and comb4. The antenna ports of UE1suffer interference, on comb1and comb3, from antenna ports of UE7and UE8.

On frequency domain resource n, the antenna ports of UE1, UE2, UE7, and UE8occupy comb2and comb4, and the antenna ports of UE3, UE4, UE5, and UE6occupy the comb7and the comb8. The antenna ports of UE1suffer interference, on comb2and comb4, from the antenna ports of UE7and UE8.

Optionally, in Table 11, frequency domain resource1may be replaced with frequency domain unit1, subband1, frequency hopping bandwidth1, frequency hopping bandwidth1, or the like. Frequency domain resource2to frequency domain resource n are similar to frequency domain resource1, and details are not described one by one.

In this way, combs occupied by the antenna ports of UE1randomly change on different frequency domain resources, so that a UE that causes interference to UE1randomly changes. UEs that cause interference to UE1on some frequency domain resources are UE5and UE6. UEs that cause interference to UE1on some frequency domain resources are UE7and UE8. An antenna port that causes interference to the antenna port of UE1randomly changes, to achieve the better interference randomization effect.

In some embodiments, when the first offset includes the first random number and the fifth random number (the first random number is determined based on the time domain resource occupied by the first antenna port, and the fifth random number is determined based on the frequency domain resource occupied by the first antenna port), an index kTC(pi)that is of the comb occupied by antenna port piand that is determined based on the comb quantity, the comb offset, the first random number, and the fifth random number may satisfy the following formula: kTC(pi)=(kTC+KTC/2+Q1+Q3) mod KTC, or kTC(pi)(kTC+Q1+Q3) mod KTC, wherekTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, Q1represents the first random number, and Q3represents the fifth random number.

For example, the index kTC(pi)that is of the comb occupied by antenna port piof the terminal device and that is determined based on the comb quantity, the comb offset, the first random number, and the fifth random number may satisfy the following formula (31):

Similar to the foregoing formula (10), in the formula (31),kTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, Q1represents the first random number, and Q3represents the fifth random number.

The following describes a comb occupied by an antenna port of each terminal device after the comb occupied by the first antenna port is determined based on the first random number and the fifth random number.

The foregoing scenario1is used as an example. The comb occupied by each antenna port (antenna port p0to antenna port p3) of UE1to UE8is determined based on the first random number and the fifth random number. The comb occupied by the antenna port of each UE may be a combination of Table 6 and Table 11, for example, as shown in Table 12.

On frequency domain resource1and at sending moment1, antenna ports of UE1, UE2, UE5, and UE6occupy comb1and comb3, and antenna ports of UE3, UE4, UE7, and UE8occupy same comb2and same comb4. UE1is used as an example. The antenna ports of UE1suffer interference, on comb1and comb3, from antenna ports of UE5and UE6.

On frequency domain resource2and at sending moment2, antenna ports of UE1, UE2, UE7, and UE8occupy comb1and comb3, and antenna ports of UE3, UE4, UE5, and UE6occupy comb2and comb4. The antenna ports of UE1suffer interference, on comb1and comb3, from antenna ports of UE7and UE8.

On frequency domain resource n and at sending moment n, the antenna ports of UE1, UE2, UE7, and UE8occupy comb2and comb4, and the antenna ports of UE3, UE4, UE5, and UE6occupy comb7and comb8. The antenna ports of UE1suffer interference, on comb2and comb4, from the antenna ports of UE7and UE8.

In this way, combs occupied by the antenna ports of UE1randomly change at different sending moments and on different frequency domain resources, so that a UE that causes interference to UE1randomly changes. UEs that cause interference to UE1on some frequency domain resources and at some sending moments are UE5and UE6. UEs that cause interference to UE1on some frequency domain resources and at some sending moments are UE7and UE8. An antenna port that causes interference to the antenna port of UE1randomly changes, to achieve the better interference randomization effect.

In some other embodiments, the comb occupied by the first antenna port may be determined based on one of a plurality of tenth correspondences and the time domain resource occupied by the first antenna port.

Optionally, one of the plurality of tenth correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of tenth correspondences, and/or one of the plurality of tenth correspondences.

For example, the network device may select one first correspondence from the plurality of tenth correspondences, and indicate the selected tenth correspondence to the terminal device.

Optionally, the network device may indicate different tenth correspondences to terminal devices in different cells.

Optionally, one tenth correspondence may include a correspondence between at least one comb value and at least one time domain resource.

For example, at least one comb corresponds one-to-one to at least one time domain resource.

For example, it is assumed that each tenth correspondence (which may be referred to as a pattern) includes correspondences between n time domain resources and n comb values. If first random numbers sequentially corresponding to n time domain resources {y1, y2, . . . yn} are {cb1, cb2, . . . cbn} for a kthfirst correspondence, comb values sequentially corresponding to n time domain resources are {cb(1+a)mod n, cb(2+a)mod n, . . . cb(M+a)mod n} for a (k+1)thfirst correspondence. A value of {cb1, cb2, . . . cbn} belongs to {0, 1, . . . , KTC−1}, and KTCis a comb number. Optionally, a=1.

For example, the terminal device may obtain, from the correspondence between at least one comb and at least one time domain resource based on the time domain resource occupied by the first antenna port, the comb occupied by the first antenna port.

The plurality of tenth correspondences may be shown in Table 13. In Table 13, for example, there are four tenth correspondences, each tenth correspondence includes four time domain resources, and there are four combs. Tenth correspondence 1 to tenth correspondence 4 are different from each other. For details, refer to Table 13.

For example, in Table 13, sending moment1may be replaced with OFDM symbol1, system frame number1, slot number1, time domain resource1, or time unit1. Sending moment2to sending moment4are similar to sending moment1, and details are not described one by one.

Optionally, in Table 13, the tenth correspondence further includes sending moment1to sending moment8, and combs respectively corresponding to sending moment5to sending moment8are the same as combs respectively corresponding to sending moment1to sending moment4.

For example, in tenth correspondence 1, sending moment1to sending moment4respectively correspond to comb1to comb4, and sending moment5to sending moment8respectively correspond to comb1to comb4.

In this way, the terminal device obtains, by using one of the plurality of tenth correspondences and the time domain resource occupied by the first antenna port, the comb occupied by the first antenna port, so that combs occupied at different sending moments change randomly. The network device allocates different tenth correspondences (patterns) to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the frequency-domain interference randomization, and achieve the better interference randomization effect.

In some other embodiments, the comb occupied by the first antenna port may be determined based on one of a plurality of eleventh correspondences and the frequency domain resource occupied by the first antenna port.

Optionally, one of the plurality of eleventh correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of eleventh correspondences, and/or one of the plurality of eleventh correspondences.

For example, the network device may select one eleventh correspondence from the plurality of eleventh correspondences, and indicate the selected eleventh correspondence to the terminal device.

Optionally, the network device may indicate different eleventh correspondences to terminal devices in different cells.

Optionally, one eleventh correspondence may include a correspondence between at least one comb and at least one frequency domain resource.

For example, the at least one comb corresponds one-to-one to the at least one frequency domain resource.

For example, it is assumed that each tenth correspondence (which may be referred to as a pattern (pattern)) includes correspondences between n frequency domain resources and n comb values. If first random numbers sequentially corresponding to n frequency domain resources {y1, y2, . . . yn} are {cb1, cb2, . . . cbn} for a kthfirst correspondence, comb values sequentially corresponding to n frequency domain resources are {cb(1+a)mod n, cb(2+a)mod n, . . . cb(M+a)mod n} for a (k+1)thfirst correspondence. A value of {cb1, cb2, . . . cbn} belongs to {0, 1, . . . , KTC−1}, and KTCis a comb number. Optionally, a=1.

For example, the terminal device may obtain, from the correspondence between at least one comb and at least one frequency domain resource based on the frequency domain resource occupied by the first antenna port, the comb occupied by the first antenna port.

The plurality of eleventh correspondences may be shown in Table 14. In Table 14, for example, there are four eleventh correspondences, each eleventh correspondence includes four time domain resources, and there are four combs. Eleventh correspondence 1 to eleventh correspondence 4 are different from each other. For details, refer to Table 14.

Optionally, in Table 14, frequency domain resource1may be replaced with frequency domain unit1, subband1, frequency hopping bandwidth1, frequency hopping bandwidth1, or the like. Frequency domain resource2to frequency domain resource4are similar to frequency domain resource1, and details are not described one by one.

Optionally, in Table 14, the eleventh correspondence further includes frequency domain resource1to frequency domain resource8, and combs respectively corresponding to frequency domain resource5to frequency domain resource8are the same as combs respectively corresponding to frequency domain resource1to frequency domain resource4.

In this way, the terminal device obtains, by using one of the plurality of eleventh correspondences and the frequency domain resource occupied by the first antenna port, the comb occupied by the first antenna port, so that combs occupied on different frequency resources change randomly. The network device allocates different eleventh correspondences (patterns) to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the interference randomization, and achieve the better interference randomization effect.

In some other embodiments, the comb occupied by the first antenna port may be determined based on one of a plurality of twelfth correspondences, and the time domain resource and the frequency domain resource that are occupied by the first antenna port.

Optionally, one of the plurality of twelfth correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of twelfth correspondences, and/or one of the plurality of twelfth correspondences.

For example, the network device may select one twelfth correspondence from the plurality of twelfth correspondences, and indicate the selected twelfth correspondence to the terminal device.

Optionally, the network device may indicate different twelfth correspondences to terminal devices in different cells.

Optionally, one twelfth correspondence may include a correspondence between at least one comb, at least one time domain resource, and at least one frequency domain resource.

For example, the at least one comb corresponds one-to-one to the at least one time domain resource and the at least one frequency domain resource.

For example, the terminal device may obtain, from the correspondence between at least one comb, at least one time domain resource, and at least one frequency domain resource based on the time domain resource and the frequency domain resource that are occupied by the first antenna port, the comb occupied by the first antenna port.

The plurality of twelfth correspondences may be a combination of Table 13 and Table 14, for example, as shown in Table 15.

In Table 15, for example, there are four twelfth correspondences, each twelfth correspondence includes four time domain resources and four frequency domain resources, and there are four combs. Twelfth correspondence 1 to twelfth correspondence 4 are different from each other. For details, refer to Table 15.

In this way, the terminal device obtains, by using one of the plurality of twelfth correspondences and the frequency domain resource and the time domain resource that are occupied by the first antenna port, the comb occupied by the first antenna port, so that the comb occupied by the first antenna port randomly changes on different frequency domain resources and time domain resources. The network device allocates different twelfth correspondences (patterns) to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the interference randomization, and achieve the better interference randomization effect.

In a possible design method, the M antenna ports may further include at least one second antenna port. For descriptions of the second antenna port, refer to the corresponding descriptions in S502. Details are not described herein again.

Optionally, a comb occupied by the second antenna port may be determined based on at least a second offset.

Optionally, the second offset is different from the first offset.

For example, the second offset may be an integer greater than 0 or equal to 0.

Optionally, that a comb occupied by the second antenna port is determined based on at least a second offset may include: The comb occupied by the second antenna port may be determined based on an initial value of the comb occupied by the second antenna port and the second offset.

Optionally, the initial value of the comb occupied by the second antenna port may be determined based on a comb offset; or the initial value of the comb occupied by the second antenna port may be determined based on a comb quantity and a comb offset.

For example, the initial value of the comb occupied by the second antenna port may satisfy the foregoing formula (2).

For example, the comb occupied by the second antenna port may be determined based on the comb offset and the second offset; or the comb occupied by the second antenna port may be determined based on the comb quantity, the comb offset, and the second offset.

For example, the second offset may be determined based on at least a time domain resource occupied by the second antenna port and/or a frequency domain resource occupied by the second antenna port.

Optionally, the time domain resource occupied by the second antenna port may include one or more OFDM symbols. Optionally, the one or more OFDM symbols that may be included in the time domain resource occupied by the second antenna port are determined based on one or more of the following parameters: a system frame number corresponding to the second antenna port, a slot number corresponding to the second antenna port, and an OFDM symbol number corresponding to the second antenna port.

A quantity of OFDM symbols included in the time domain resource occupied by the second antenna port is not limited in this application.

Optionally, the frequency domain resource occupied by the second antenna port may include one or more sub-bandwidths. Optionally, the one or more sub-bandwidths included in the frequency domain resource occupied by the second antenna port are determined based on one or more of the following parameters: an index of a frequency hopping bandwidth corresponding to the second antenna port, and an index of a transmit bandwidth corresponding to the second antenna port.

Optionally, all first antenna ports included in the terminal device belong to a same reference signal resource, all second antenna ports included in the terminal device belong to a same reference signal resource, and the reference signal resource to which all the first antenna ports belong may be the same as or different from the reference signal resource to which all the second antenna ports belong.

In some embodiments, the second offset may include a second random number and/or a sixth random number.

Optionally, the second random number may be determined based on at least the time domain resource occupied by the second antenna port. For example, the second random number may be denoted by Q2.

For example, the second random number may be a random number greater than 0 or equal to 0.

Optionally, the sixth random number may be determined based on at least the frequency domain resource occupied by the second antenna port. For example, the sixth random number may be denoted by Q4.

For example, the sixth random number may be a random number greater than 0 or equal to 0.

In this way, the comb occupied by the second antenna port may be determined based on the second random number and/or the sixth random number.

For example, the comb occupied by the second antenna port may be determined based on the comb quantity, the comb offset, and the second random number; the comb occupied by the second antenna port may be determined based on the comb quantity, the comb offset, and the sixth random number; or the comb occupied by the second antenna port may be determined based on the comb quantity, the comb offset, the second random number, and the sixth random number.

In some embodiments, that the second random number is determined based on at least the time domain resource occupied by the second antenna port may include: The second random number is determined based on the time domain resource occupied by the second antenna port and a pseudo-random sequence.

Optionally, the second random number is determined based on the time domain resource occupied by the second antenna port and the pseudo-random sequence, and the second random number may be further determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset.

Optionally, the first random number may satisfy the formula (11), the formula (12), the formula (13), or the formula (14) in S502. Details are not described herein again.

In the formula (11), the formula (12), the formula (13), or the formula (14), Q2represents the second random number, the mathematical symbol Σ represents summation, the mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, nfrepresents the system frame number corresponding to the second antenna port (or f represents a system frame number of the time domain resource occupied by the second antenna port), Nslotframerepresents the quantity of the slots in each system frame, Nsymbslotrepresents the quantity of the OFDM symbols in each slot, ns,fμrepresents the slot number corresponding to the second antenna port (or ns,fμrepresents a slot number of the time domain resource occupied by the second antenna port), l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port (or l′ represents a relative index of an OFDM symbol of the time domain resource occupied by the second antenna port), and KTCrepresents the comb quantity.

In some other embodiments, that the second random number is determined based on at least the time domain resource occupied by the second antenna port may include: The second random number is determined based on one of a plurality of third correspondences and the time domain resource occupied by the second antenna port.

Optionally, one of the plurality of third correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of third correspondences, and/or one of the plurality of third correspondences.

For example, the network device may select one third correspondence from the plurality of third correspondences, and indicate the selected third correspondence to the terminal device.

Optionally, one third correspondence may include a correspondence between at least one second random number and at least one time domain resource. A specific implementation of the third correspondence is similar to that of the first correspondence. For details, refer to the foregoing descriptions of the first correspondence. Details are not described herein again.

For example, the at least one second random number corresponds one-to-one to the at least one time domain resource. For example, the time domain resource may be an OFDM symbol, a system frame number, or a slot number.

For example, the terminal device may obtain, from the correspondence between at least one second random number and at least one time domain resource based on the time domain resource occupied by the second antenna port, the second random number corresponding to the time domain resource occupied by the second antenna port.

In this way, the second random number obtained by the terminal device randomly changes at different sending moments, and then the comb occupied by the second antenna port of the terminal device is determined based on the second random number, so that the frequency domain resource (comb) occupied by the second antenna port of the terminal device may randomly change at different sending moments.

Optionally, one frequency hopping periodicity may include at least one time of reference signal sending, and the correspondence between at least one second random number and at least one time domain resource may include: a correspondence between the at least one second random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

For example, the at least one second random number corresponds one-to-one to a number of the at least one time of reference signal sending.

For example, the terminal device may obtain, based on a number of a current time of reference signal sending via the second antenna port, the second random number from the correspondence between the at least one second random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

Optionally, the correspondence between at least one second random number and at least one time domain resource may include: a correspondence between the at least one second random number and an index of at least one frequency hopping periodicity.

For example, the at least one second random number corresponds one-to-one to the index of the at least one frequency hopping periodicity.

For example, the terminal device may obtain the second random number from the correspondence between the at least one second random number and an index of at least one frequency hopping periodicity based on an index of a frequency hopping periodicity in which the time domain resource occupied by the second antenna port is located.

Optionally, the network device may indicate different second correspondences to terminal devices in different cells.

In this way, the network device indicates different second correspondences to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the frequency-domain interference randomization, and achieve the better interference randomization effect.

In some embodiments, that the sixth random number is determined based on at least the frequency domain resource occupied by the second antenna port may include: The sixth random number is determined based on the frequency domain resource occupied by the second antenna port and a pseudo-random sequence.

Optionally, the pseudo-random sequence may be c( ).

Optionally, the sixth random number may satisfy a formula (32) or a formula (33).

In the formula (32) or the formula (33), Q4represents the sixth random number, the mathematical symbol Σ represents summation, the mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, k represents the index of the frequency hopping bandwidth and/or the index of the transmit bandwidth that correspond/corresponds to the frequency domain resource occupied by the second antenna port, and KTCrepresents the comb quantity.

It should be noted that m in the formula (32) or the formula (33) is irrelevant to a sequence length M. In the formula (32) or the formula (33), an example in which m is an integer ranging from 0 to 7 is used for description, and a value range of m in the formula (32) or the formula (33) is not limited in this application.

In some other embodiments, that the sixth random number is determined based on at least the frequency domain resource occupied by the second antenna port may include: The sixth random number is determined based on one of a plurality of fourth correspondences and the frequency domain resource occupied by the second antenna port.

Optionally, one of the plurality of fourth correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of fourth correspondences, and/or one of the plurality of fourth correspondences.

For example, the network device may select one fourth correspondence from the plurality of fourth correspondences, and indicate the selected fourth correspondence to the terminal device.

Optionally, one fourth correspondence may include a correspondence between at least one sixth random number and at least one frequency domain resource.

For example, the at least one sixth random number corresponds one-to-one to the at least one frequency domain resource.

For example, the terminal device may obtain, from the correspondence between at least one sixth random number and at least one frequency domain resource based on the frequency domain resource occupied by the second antenna port, the sixth random number corresponding to the frequency domain resource occupied by the second antenna port.

For example, a specific implementation of the fourth correspondence is similar to that of the first correspondence. For details, refer to the descriptions of the first correspondence. Details are not described herein again.

In this way, the sixth random number obtained by the terminal device randomly changes on different frequency domain resources, and then the comb occupied by the second antenna port of the terminal device is determined based on the sixth random number, so that the frequency domain resource (comb) occupied by the second antenna port of the terminal device may randomly change at different sending moments.

Optionally, the network device may indicate different fourth correspondences to terminal devices in different cells.

In this way, the network device indicates different fourth correspondences to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the interference randomization, and achieve the better interference randomization effect.

In another possible design method, the second offset may be a sum of the first offset and a third offset.

Optionally, the third offset may be an integer greater than or equal to 0.

In some embodiments, the third offset may be determined based on at least the time domain resource occupied by the second antenna port and/or the frequency domain resource occupied by the second antenna port. For specific implementations of the time domain resource occupied by the second antenna port and the frequency domain resource occupied by the second antenna port, refer to the foregoing descriptions. Details are not described herein again.

In some embodiments, the third offset may include a third random number and/or a seventh random number.

Optionally, the third random number may be determined based on at least the time domain resource occupied by the second antenna port. For example, the third random number may be denoted by Δ.

For example, the third random number may be a random number greater than 0 or equal to 0.

Optionally, the seventh random number is determined based on at least the frequency domain resource occupied by the second antenna port. For example, the seventh random number may be denoted by Δ1.

For example, the seventh random number may be a random number greater than 0 or equal to 0.

In this way, the comb occupied by the second antenna port may be determined based on the third random number and/or the seventh random number.

For example, the comb occupied by the second antenna port may be determined based on the comb quantity, the comb offset, and the third random number; the comb occupied by the second antenna port may be determined based on the comb quantity, the comb offset, and the seventh random number; or the comb occupied by the second antenna port may be determined based on the comb quantity, the comb offset, the third random number, and the seventh random number.

In some embodiments, that the third random number is determined based on at least the time domain resource occupied by the second antenna port may include: The third random number is determined based on the time domain resource occupied by the second antenna port and a pseudo-random sequence.

Optionally, the third random number is determined based on the time domain resource occupied by the second antenna port and the pseudo-random sequence, or the third random number may be determined based on one or more of the following parameters: the quantity of the slots included in each system frame, the quantity of the OFDM symbols included in each slot, the comb quantity, and the comb offset.

Optionally, the third random number may satisfy the formula (15), the formula (16), the formula (17), the formula (18), the formula (34), or the formula (35) in S502. Details are not described herein again.

In the formula (15), the formula (16), the formula (17), the formula (18), the formula (34), or the formula (35), Δ represents the third random number, the mathematical symbol Σ represents summation, the mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, nfrepresents the system frame number corresponding to the second antenna port (or f represents the system frame number of the time domain resource occupied by the second antenna port), Nslotframerepresents the quantity of the slots in each system frame, Nsymbslotrepresents the quantity of the OFDM symbols in each slot, ns,fμrepresents the slot number corresponding to the second antenna port (or ns,fμrepresents the slot number of the time domain resource occupied by the second antenna port), l0represents the index of the start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port, l′ represents the relative index of the OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the second antenna port (or l′ represents the relative index of the OFDM symbol of the time domain resource occupied by the second antenna port), and KTCrepresents the comb quantity.

In some other embodiments, that the third random number is determined based on at least the time domain resource occupied by the second antenna port may include: The third random number is determined based on one of a plurality of fifth correspondences and the time domain resource occupied by the second antenna port.

Optionally, one of the plurality of fifth correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of fifth correspondences, and/or one of the plurality of fifth correspondences.

For example, the network device may select one fifth correspondence from the plurality of fifth correspondences, and indicate the selected fifth correspondence to the terminal device.

Optionally, one fifth correspondence may include a correspondence between at least one third random number and at least one time domain resource.

For example, the at least one third random number corresponds one-to-one to the at least one time domain resource. For example, the time domain resource may be an OFDM symbol, a system frame number, or a slot number.

For example, the terminal device may obtain, from the correspondence between at least one third random number and at least one time domain resource based on the time domain resource occupied by the second antenna port, the third random number corresponding to the time domain resource occupied by the second antenna port.

For example, a specific implementation of the fifth correspondence is similar to that of the first correspondence. For details, refer to the descriptions of the first correspondence. Details are not described herein again.

In this way, the third random number obtained by the terminal device randomly changes at different sending moments, and then the comb occupied by the second antenna port of the terminal device is determined based on the third random number, so that the frequency domain resource (comb) occupied by the terminal device randomly changes at different sending moments.

Optionally, one frequency hopping periodicity may include at least one time of reference signal sending, and the correspondence between at least one third random number and at least one time domain resource may include: a correspondence between the at least one third random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

For example, the at least one third random number corresponds one-to-one to a number of the at least one time of reference signal sending.

For example, the terminal device may obtain, based on a number of a current time of reference signal sending via the second antenna port, the third random number from the correspondence between the at least one third random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

Alternatively, optionally, the correspondence between at least one third random number and at least one time domain resource may include: a correspondence between the at least one third random number and an index of at least one frequency hopping periodicity.

For example, the at least one third random number corresponds one-to-one to the index of the at least one frequency hopping periodicity.

For example, the terminal device may obtain the third random number from the correspondence between the at least one third random number and an index of at least one frequency hopping periodicity based on an index of a frequency hopping periodicity in which the time domain resource occupied by the second antenna port is located.

Optionally, the network device may indicate different fifth correspondences to terminal devices in different cells.

In this way, the network device indicates different fifth correspondences to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the frequency-domain interference randomization, and achieve the better interference randomization effect.

In some embodiments, that the seventh random number is determined based on at least the frequency domain resource occupied by the second antenna port may include: The seventh random number is determined based on the frequency domain resource occupied by the second antenna port and a pseudo-random sequence. Optionally, the pseudo-random sequence may be c( ).

Optionally, the seventh random number may satisfy a formula (36), a formula (37), or a formula (38).

In the formula (36), the formula (37), or the formula (38), Δ1represents the seventh random number, the mathematical symbol Σ represents summation, c( ) is the pseudo-random sequence, the mathematical symbol mod represents a modulo operation, k represents the index of the frequency hopping bandwidth and/or the index of the transmit bandwidth that correspond/corresponds to the frequency domain resource occupied by the second antenna port, and KTCrepresents the comb quantity.

It should be noted that m in the formula (36), the formula (37), or the formula (38) is irrelevant to a sequence length M. In the formula (36), the formula (37), or the formula (38), an example in which m is an integer ranging from 0 to 7 is used for description, and a value range of m in the formula (36), the formula (37), or the formula (38) is not limited in this application.

In some other embodiments, that the seventh random number is determined based on at least the frequency domain resource occupied by the second antenna port may include: The seventh random number is determined based on one of a plurality of sixth correspondences and the frequency domain resource occupied by the second antenna port.

Optionally, one of the plurality of sixth correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of sixth correspondences, and/or one of the plurality of sixth correspondences.

For example, the network device may select one sixth correspondence from the plurality of sixth correspondences, and indicate the selected sixth correspondence to the terminal device.

Optionally, the sixth correspondence includes a correspondence between at least one seventh random number and at least one frequency domain resource.

For example, the at least one seventh random number corresponds one-to-one to the at least one frequency domain resource.

For example, the terminal device may obtain, from the correspondence between at least one seventh random number and at least one frequency domain resource based on the frequency domain resource occupied by the second antenna port, the seventh random number corresponding to the frequency domain resource occupied by the second antenna port.

For example, a specific implementation of the sixth correspondence is similar to that of the first correspondence. For details, refer to the descriptions of the first correspondence. Details are not described herein again.

In this way, the seventh random number obtained by the terminal device randomly changes on different frequency domain resources, and then the comb occupied by the second antenna port of the terminal device is determined based on the seventh random number, so that the frequency domain resource (comb) occupied by the second antenna port of the terminal device may randomly change at different sending moments.

Optionally, the network device may indicate different sixth correspondences to terminal devices in different cells.

In this way, the network device indicates different sixth correspondences to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the interference randomization, and achieve the better interference randomization effect.

In this application, the comb occupied by the first antenna port of the terminal device is determined based on the first offset, and the comb occupied by the second antenna port of the terminal device is determined based on the second offset, so that the comb occupied by the antenna port of the terminal device randomly changes at different sending moments, and intervals between a plurality of combs occupied by the antenna ports of the same terminal device may also change randomly. In this way, antenna ports that cause interference to the antenna port of the terminal device are random at different sending moments, and antenna ports that cause, at a same sending moment, interference to antenna ports that are of the terminal device and that occupy different combs may not be antenna ports of a same terminal device. This can implement interference randomization, and can further improve a degree of freedom of the resource occupied by the antenna port of the terminal device, to further improve an interference randomization effect.

In some embodiments, when the second offset is a second random number Q2(the second random number is determined based on the time domain resource occupied by the second antenna port), an index kTC(pi)that is of a comb occupied by antenna port piand that is determined based on the second offset may satisfy the following formula: kTC(pi)=(kTC+KTC/Q2) mod KTC, or kTC(pi)=(kTC+Q2) mod KTC, wherekTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, and Q2represents the second random number or the second offset.

In some embodiments, when the second offset is a sixth random number Q4(the sixth random number is determined based on the frequency domain resource occupied by the first antenna port), an index kTC(pi)that is of a comb occupied by antenna port piand that is determined based on the second offset may satisfy the following formula: kTC(pi)=(kTC+KTC+4) mod KTC, or kTC(pi)(kTC+Q4) mod KTC, wherekTCrepresents the comb offset,kTCϵ{0, 1, . . . , KTC−1}, KTCrepresents the comb quantity, and Q4represents the sixth random number or the second offset.

In some embodiments, when the second offset is the sum of the first offset and the third offset, the first offset is a first random number Q1, and the third offset is a third random number Δ, an index kTC(pi)that is of a comb occupied by antenna port piand that is determined based on the second offset may satisfy the following formula: kTC(pi)=(kTC+KTC/2+Q1+Δ) mod KTCor kTC(pi)=(kTC+Q1+Δ) mod KTC.

In some embodiments, when the second offset is the sum of the first offset and the third offset, the first offset is a fifth random number Q3, and the third offset is a seventh random number Δ1, an index kTC(pi)that is of a comb occupied by antenna port piand that is determined based on the second offset may satisfy the following formula: kTC(pi)=(kTC+KTC/2+Q3+Δ1) mod KTCor kTC(pi)=(kTC+Q3+Δ1) mod KTC.

In some embodiments, when the second offset is the sum of the first offset and the third offset, the first offset includes a first random number Q1and a fifth random number Q3, and the third offset includes a third random number Δ and a seventh random number Δ1, an index kTC(pi)that is of a comb occupied by antenna port piand that is determined based on the second offset may satisfy the following formula: kTC(pi)==(kTC+KTC/2+Q1+Δ+Q3+Δ) mod KTCor kTC(pi)=(kTC+Q1+Δ+Q3+Δ1) mod KTC.

For example, combs occupied by some antenna ports of the terminal device may be determined based on the first offset, and combs occupied by the other antenna ports of the terminal device may be determined based on the second offset. The index kTC(pi)of the comb occupied by antenna port piof the terminal device may satisfy the foregoing formula (19), formula (20), formula (21), or formula (22); or the following formula (39), formula (40), formula (41), formula (42), formula (43), or formula (44).

With reference to Table 7 andFIG.7, the following describes a comb occupied by an antenna port of each terminal device after combs occupied by different antenna ports are determined based on at least the first offset or the second offset.

For example, after the combs occupied by the different antenna ports of the terminal device are determined based on the first offset (the first offset is determined based on the time domain resource occupied by the first antenna port) or the second offset (the second offset is determined based on the time domain resource occupied by the second antenna port), for the comb occupied by the antenna port of each terminal device, refer to the descriptions of Table 7 andFIG.7in S502. Details are not described herein again.

For example, after the combs occupied by the different antenna ports of the terminal device are determined based on the first offset (the first offset is determined based on the frequency domain resource occupied by the first antenna port) or the second offset (the second offset is determined based on the frequency domain resource occupied by the second antenna port), for the comb occupied by the antenna port of each terminal device, refer to Table 16.

The foregoing scenario1is used as an example. That a comb occupied by two antenna ports of each of UE1to UE8is determined based on at least the first offset, and a comb occupied by the other two antenna ports of each of UE1to UE8is determined based on at least the second offset is used as an example. The comb occupied by the antenna port of each UE may be shown in Table 16.

On frequency domain resource1, antenna ports of UE1, UE2, UE5, and UE6occupy comb1and comb3, and antenna ports of UE3, UE4, UE7, and UE8occupy same comb2and same comb4.

UE1is used as an example. On frequency domain resource1, the antenna ports of UE1suffer interference, on comb1and comb3, from antenna ports of UE5and UE6.

It should be noted that, in Table 16, an example in which antenna port p0and antenna port p2of each UE occupy one comb, and antenna port p1and antenna port p3occupy one comb is used. For example, the comb occupied by antenna port p0and antenna port p2is a comb with a smaller comb index in two combs occupied by the UE, and the comb occupied by antenna port p1and antenna port p3is a comb with a larger comb index in the two combs occupied by the UE. For ease of understanding, Table 16 shows the UEs, corresponding base sequences, and corresponding combs, but do not show the antenna port.

On frequency domain resource2, antenna ports of UE1, UE2, UE7, and UE8occupy comb1, the antenna ports of UE1, UE2, UE5, and UE6occupy comb2, the antenna ports of UE3, UE4, UE7, and UE8occupy comb3, and antenna ports of UE3, UE4, UE5, and UE6occupy comb4.

UE1is used as an example. On frequency domain resource2, the antenna ports (for example, antenna port p0and antenna port p2) of UE1suffer interference, on comb1, from antenna ports (for example, antenna port p0and antenna port p2) of UE7and UE8. The antenna ports (for example, antenna port p1and antenna port p3) of UE1suffer interference, on comb2, the antenna ports (for example, antenna port p0and antenna port p2) of UE5and UE6.

On frequency domain resource n, the antenna ports of UE1, UE2, UE7, and UE8occupy comb1, the antenna ports of UE1, UE2, UE5, and UE6occupy comb4, the antenna ports of UE3, UE4, UE5, and UE6occupy comb2, and the antenna ports of UE3, UE4, UE7, and UE8occupy comb4.

UE1is used as an example. On frequency domain resource n, the antenna ports (for example, antenna port p0and antenna port p2) of UE1suffer interference, on comb1, from the antenna ports (for example, antenna port p0and antenna port p2) of UE7and UE8. The antenna ports (for example, antenna port p and antenna port p3) of UE1suffer interference, on comb4, the antenna ports (for example, antenna port p0and antenna port P) of UE5and UE6.

Optionally, in Table 16, frequency domain resource1may be replaced with frequency domain unit1, subband1, frequency hopping bandwidth1, frequency hopping bandwidth1, or the like. Frequency domain resource2to frequency domain resource n are similar to frequency domain resource1, and details are not described one by one.

In this way, after the comb occupied by the two antenna ports of each of UE1to UE8is determined based on at least the first offset, and the comb occupied by the other two antenna ports of each of UE1to UE8is determined based on at least the second offset, the comb occupied by the antenna port of UE1randomly changes on different frequency domain resources. For example, on frequency domain resource1, UE1sends a reference signal through comb1and comb3; and on frequency domain resource2, UE1sends a reference signal through comb1and comb4, so that an antenna port that causes interference to the antenna port of UE1randomly changes. In addition, antenna ports that cause, on a same frequency domain resource, interference to antenna ports, that are of the terminal device, (antenna port p0and antenna port p2of UE1, and antenna port p1and antenna port p3of UE1) and that occupy different combs may not be antenna ports of a same terminal device. For example, on frequency domain resource2, antenna port p0and antenna port p2of UE1suffer interference, on comb1, from antenna ports p0and antenna ports p2of UE7and UE8, and antenna port p1and antenna port p3of UE1suffer interference, on comb2, from antenna ports p0and antenna ports p2of UE5and UE6. This can further improve the degree of freedom of the resource occupied by the antenna port of the terminal device, and can further improve the degree of interference randomization caused to the terminal device, to further improve the interference randomization effect.

For example, after the combs occupied by the different antenna ports of the terminal device are determined based on the first offset (the first offset is determined based on the time domain resource occupied by the first antenna port and the frequency domain resource occupied by the first antenna port) or the second offset (the second offset is determined based on the time domain resource occupied by the second antenna port and the frequency domain resource occupied by the second antenna port), the comb occupied by the antenna port of each terminal device may be a combination of Table 7 and Table 16, for example, as shown in Table 17.

The foregoing scenario1is used as an example. That a comb occupied by two antenna ports of each of UE1to UE8is determined based on at least the first offset, and a comb occupied by the other two antenna ports of each of UE1to UE8is determined based on at least the second offset is used as an example. The comb occupied by the antenna port of each UE may be shown in Table 17. For specific descriptions, refer to Table 7 or Table 16.

In this way, after the comb occupied by the two antenna ports of each of UE1to UE8is determined based on at least the first offset, and the comb occupied by the other two antenna ports of each of UE1to UE8is determined based on at least the second offset, the comb occupied by the antenna port of UE1randomly changes at different sending moments and on different frequency domain resources. For example, at sending moment1and on frequency domain resource1, UE1sends a reference signal through comb1and comb3; and at sending moment2and on frequency domain resource2, UE1sends a reference signal through comb1and comb4, so that an antenna port that causes interference to the antenna port of UE1randomly changes. In addition, antenna ports that cause, at a same sending moment and on a same frequency domain resource, interference to antenna ports that are, of the terminal device, (antenna port p0and antenna port p2of UE1, and antenna port p1and antenna port p3of UE1) and that occupy different combs may not be antenna ports of a same terminal device. For example, at sending moment2and on frequency domain resource2, antenna port p0and antenna port p2of UE1suffer interference, on comb1, from antenna ports p0and antenna ports p2of UE7and UE8, and antenna port ptand antenna port p3of UE1suffer interference, on comb2, from antenna ports p0and antenna ports p2of UE5and UE6. This can further improve the degree of freedom of the resource occupied by the antenna port of the terminal device, and can further improve the degree of interference randomization caused to the terminal device, to further improve the interference randomization effect.

In some other embodiments, the comb occupied by the second antenna port may be determined based on one of a plurality of thirteenth correspondences and the time domain resource occupied by the second antenna port.

Optionally, one of the plurality of thirteenth correspondences may be indicated by the network device to the terminal device. Optionally, the network device may indicate different thirteenth correspondences to terminal devices in different cells.

Optionally, one thirteenth correspondence may include a correspondence between at least one comb and at least one time domain resource.

For example, the at least one comb corresponds one-to-one to the at least one time domain resource.

Optionally, the thirteenth correspondence is different from the tenth correspondence.

For example, the terminal device may obtain, from the correspondence between at least one comb and at least one time domain resource based on the time domain resource occupied by the second antenna port, the comb occupied by the second antenna port.

Optionally, a specific implementation of the thirteenth correspondence is similar to that of the tenth correspondence. For details, refer to the foregoing descriptions of the tenth correspondence. Details are not described herein again.

In some other embodiments, the comb occupied by the second antenna port may be determined based on one of a plurality of fourteenth correspondences and the frequency domain resource occupied by the second antenna port.

Optionally, one of the plurality of fourteenth correspondences may be indicated by the network device to the terminal device. Optionally, the network device may indicate different fourteenth correspondences to terminal devices in different cells.

Optionally, one fourteenth correspondence may include a correspondence between at least one comb and at least one frequency domain resource.

For example, the at least one comb corresponds one-to-one to the at least one frequency domain resource.

Optionally, the fourteenth correspondence is different from the eleventh correspondence.

For example, the terminal device may obtain, from the correspondence between at least one comb and at least one frequency domain resource based on the frequency domain resource occupied by the second antenna port, the comb occupied by the second antenna port.

Optionally, a specific implementation of the fourteenth correspondence is similar to that of the eleventh correspondence. For details, refer to the foregoing descriptions of the eleventh correspondence. Details are not described herein again.

In some other embodiments, the comb occupied by the second antenna port may be determined based on one of a plurality of fifteenth correspondences, and the time domain resource and the frequency domain resource that are occupied by the second antenna port.

Optionally, one of the plurality of fifteenth correspondences may be indicated by the network device to the terminal device. Optionally, the network device may indicate different fifteenth correspondences to terminal devices in different cells.

Optionally, one fifteenth correspondence may include a correspondence between at least one comb, at least one time domain resource, and at least one frequency domain resource.

For example, the at least one comb corresponds one-to-one to the at least one time domain resource and the at least one frequency domain resource.

Optionally, the fifteenth correspondence is different from the twelfth correspondence.

For example, the terminal device may obtain, from the correspondence between at least one comb, at least one time domain resource, and at least one frequency domain resource based on the frequency domain resource and the frequency domain resource that are occupied by the second antenna port, the comb occupied by the second antenna port.

Optionally, a specific implementation of the fifteenth correspondence is similar to that of the twelfth correspondence. For details, refer to the foregoing descriptions of the twelfth correspondence. Details are not described herein again.

In this way, after the comb occupied by the two antenna ports of each of UE1to UE8is determined based on the tenth correspondence, the eleventh correspondence, the twelfth correspondence, or the first offset, and the comb occupied by the other two antenna ports of each of UE1to UE8is determined based on the thirteenth correspondence, the fourteenth correspondence, or the fifteenth correspondence, the comb occupied by the antenna port of UE1randomly changes at different sending moments and/or on frequency domain resources. In addition, antenna ports that cause, at a same sending moment and on a same frequency domain resource, interference to antenna ports that are of the terminal device (antenna port p0and antenna port p2of UE1, and antenna port p1and antenna port p3of UE1) and that occupy different combs may not be antenna ports of a same terminal device. This can further improve the degree of freedom of the resource occupied by the antenna port of the terminal device, and can further improve the degree of interference randomness caused to the terminal device, to further improve the interference randomization effect.

According to the communication method shown inFIG.13, the comb occupied by the first antenna port of the terminal device is determined based on the first offset, so that the comb occupied by the antenna port of the terminal device may randomly change at different sending moments and/or on different frequency domain resources. In this way, an antenna port of a terminal device that causes interference to the antenna port of the terminal device randomly changes. Therefore, the interference randomization is implemented, and the better interference randomization effect can be achieved.

For example,FIG.14is a schematic flowchart of a communication method according to an embodiment of this application. The method shown inFIG.14may be used in combination with the method shown inFIG.5orFIG.13, to achieve a better interference randomization effect. The method shown inFIG.14and the method shown inFIG.5orFIG.13may alternatively be separately used.

As shown inFIG.14, the communication method includes the following steps.

S1401: A network device sends configuration information of a reference signal. Correspondingly, a terminal device receives the configuration information of the reference signal.

For a specific implementation of S1401, refer to S501. Details are not described herein again.

S1402: The terminal device sends a reference signal via M antenna ports based on the configuration information. Correspondingly, the network device receives the reference signal via the M antenna ports based on the configuration information.

For example, M is an integer greater than 0, and the M antenna ports include at least one first antenna port. For specific implementations of M, the M antenna ports, and the first antenna port, refer to the corresponding descriptions in S502. Details are not described herein again.

In a possible design method, a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset.

In some embodiments, a start position of a frequency domain resource occupied by the first antenna port is determined based on at least the fourth offset.

For example, with reference to the foregoing scenario2, a start position of a frequency domain resource occupied by each of antenna port p0and antenna port p1of UE1may be determined based on at least the fourth offset.

Optionally, the fourth offset may be an integer greater than or equal to 0.

Optionally, that a start position of a frequency domain resource occupied by the first antenna port is determined based on at least a fourth offset may include: The start position of the frequency domain resource occupied by the first antenna port is determined based on an initial value of the start position of the frequency domain resource occupied by the first antenna port and the fourth offset.

Optionally, the initial value of the start position of the frequency domain resource occupied by the first antenna port may be determined based on a frequency hopping offset and a frequency hopping bandwidth.

For example, the initial value of the start position of the frequency domain resource occupied by the first antenna port may satisfy the foregoing formula (3).

For example, the start position of the frequency domain resource occupied by the first antenna port is determined based on the frequency hopping offset, a partial sounding offset, and the fourth offset.

For example, the fourth offset may be determined based on at least a time domain resource occupied by the first antenna port and a pseudo-random sequence.

Optionally, the time domain resource occupied by the first antenna port may include an index of a frequency hopping periodicity corresponding to the reference signal.

For example, with reference toFIG.10, the index of the frequency hopping periodicity corresponding to the reference signal may be: frequency hopping periodicity1or the like.

Optionally, the time domain resource occupied by the first antenna port may include one or more OFDM symbols. The one or more OFDM symbols included in the time domain resource occupied by the first antenna port may be determined based on one or more of the following parameters: a system frame number corresponding to the first antenna port, a slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

A quantity of OFDM symbols included in the time domain resource occupied by the first antenna port is not limited in this application.

In a possible design manner, an index of a frequency hopping periodicity in which the time domain resource is located is determined based on the time domain resource occupied by the first antenna port; or a relative index of the time domain resource in one corresponding frequency hopping periodicity is determined based on the time domain resource occupied by the first antenna port, where the relative index may be defined as follows: A relative index of a kthtime of sending in one frequency hopping periodicity is k−1.

Optionally, the pseudo-random sequence may be c( ). For a specific implementation of the pseudo-random sequence, refer to the corresponding descriptions in S502. Details are not described herein again.

Optionally, the fourth offset may be a fourth random number.

For example, the fourth offset may be a random number. For example, the fourth offset is a random number greater than 0.

Optionally, the fourth random number may satisfy the foregoing formula (24) or formula (25).

In the foregoing formula (24) or formula (25), krandrepresents the fourth random number, a mathematical symbol Σ represents summation, c( ) is the pseudo-random sequence,

represents the index of the frequency hopping periodicity corresponding to the reference signal, a mathematical symbol └ ┘ represents a floor operation, nSRSrepresents a count value of the reference signal, a mathematical symbol Π represents a product of a sequence, and a mathematical symbol mod indicates a modulo operation.

It should be noted that for meanings of the parameters in the foregoing formula (25) and Nbhop=1, refer to the foregoing descriptions of the formula (5) and Table 3. Details are not described herein again.

It should be noted that m in the formula (24) or the formula (25) is irrelevant to a sequence length M. In the formula (24) or the formula (25), an example in which m is an integer ranging from 0 to 7 is used for description, and a value range of m in the formula (24) or the formula (25) is not limited in this application.

Alternatively, for example, the fourth offset is determined based on one of a plurality of ninth correspondences and the time domain resource occupied by the first antenna port.

Optionally, one of the plurality of ninth correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of ninth correspondences, and/or one of the plurality of ninth correspondences.

For example, the network device may select one ninth correspondence from the plurality of ninth correspondences, and indicate the selected ninth correspondence to the terminal device.

Optionally, one ninth correspondence may include a correspondence between at least one fourth offset and at least one time domain resource.

For example, the at least one fourth offset corresponds one-to-one to the at least one time domain resource. For example, the time domain resource may be an OFDM symbol, a system frame number, or a slot number.

Optionally, the plurality of ninth correspondences correspond to a same frequency scaling factor.

Optionally, one frequency hopping periodicity may include at least one time of reference signal sending, and the correspondence between at least one fourth offset and at least one time domain resource may include: a correspondence between the at least one fourth offset and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

For example, the at least one fourth offset corresponds one-to-one to a number of the at least one time of reference signal sending.

For example, the terminal device may obtain, based on a number of a current time of reference signal sending via the first antenna port, the fourth offset from the correspondence between the at least one fourth offset and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

Alternatively, optionally, the correspondence between at least one fourth offset and at least one time domain resource may include: a correspondence between the at least one fourth offset and an index of at least one frequency hopping periodicity.

For example, the at least one fourth offset corresponds one-to-one to the index of the at least one frequency hopping periodicity.

For example, the terminal device may obtain the fourth offset from the correspondence between the at least one fourth offset and an index of at least one frequency hopping periodicity based on the index of the frequency hopping periodicity in which the time domain resource occupied by the first antenna port is located.

In some embodiments, that a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset may include: The start position of the frequency domain resource occupied by each of the M antenna ports may be determined based on a partial sounding offset noffsetRPFS. For a specific implementation, refer to the corresponding descriptions in S1101. Details are not described herein again.

For a specific implementation of the partial sounding offset, refer to the corresponding descriptions in S1101. Details are not described herein again.

In some embodiments, a frequency-domain start position k0(pi)of antenna port pimay satisfy the foregoing formula (27). For a specific implementation, refer to the corresponding descriptions in S1101. Details are not described herein again.

The foregoing scenario2is used as an example. A start position of a frequency domain resource occupied by each antenna port (antenna port p0and antenna port p1) of UE1to UE4is determined based on at least the fourth offset. The start position of the frequency domain resource occupied by each UE may be shown inFIG.12. For a specific implementation, refer to the corresponding descriptions in S1101. Details are not described herein again.

The foregoing scenario1is used as an example. A start position of a frequency domain resource occupied by each antenna port (antenna port p0and antenna port p1) of UE1to UE8is determined based on at least the fourth offset. The start position of the frequency domain resource occupied by each UE may be shown in Table 18.

For example, in Table 13, sending moment1may be replaced with frequency hopping periodicity1, OFDM symbol1, system frame number1, slot number1, time domain resource1, or time unit1. Sending moment2to sending moment n are similar to sending moment1, and details are not described one by one.

UE1is used as an example. At sending moment1, the antenna port of UE5causes interference to the antenna port of UE1. At sending moment2, the antenna port of UE7causes interference to the antenna port of UE1. It can be learned that different antenna ports cause interference to the antenna port of UE1at different sending moments. This brings a good interference randomization effect, can accelerate an interference randomization convergence speed, and can improve channel estimation performance.

In some other embodiments, the start position of the frequency domain resource occupied by the first antenna port may be determined based on one of a plurality of sixteenth correspondences and the time domain resource occupied by the first antenna port.

Optionally, one of the plurality of sixteenth correspondences may be indicated by the network device to the terminal device.

Optionally, the network device may indicate different sixteenth correspondences to terminal devices in different cells.

Optionally, one sixteenth correspondence may include a correspondence between a start position of at least one frequency domain resource and at least one time domain resource.

For example, the start position of the at least one frequency domain resource corresponds one-to-one to the at least one time domain resource.

For example, it is assumed that each sixteenth correspondence (which may be referred to as a pattern) has n time domain resources. Offsets between start positions of frequency domain resources corresponding to the n time domain resources are {x1, x2, . . . xn} for sixteenth correspondence 1. In this case, there is sixteenth correspondence 1+a, a is an integer greater than 0, and combs corresponding to the n time domain resources are {x(1+a)mod n, x(2+a)mod n, . . . x(M+a)mod n}. A value of {x1, x2, . . . xn} belongs to {0, N/S, . . . , (S−1)*N/S}, S is a quantity of partial bandwidths included in one subband, and N is a quantity of RBs included in one subband.

For example, the terminal device may obtain, from the correspondence between a start position of at least one frequency domain resource and at least one time domain resource based on the time domain resource occupied by the first antenna port, the start position of the frequency domain resource occupied by the first antenna port.

The plurality of tenth correspondences may be shown in Table 19. In Table 19, for example, there are four sixteenth correspondences and each sixteenth correspondence includes four time domain resources. Sixteenth correspondence 1 to sixteenth correspondence 4 are different from each other. For details, refer to Table 19.

For example, in Table 19, sending moment1may be replaced with OFDM symbol1, system frame number1, slot number1, time domain resource1, or time unit1. Sending moment2to sending moment14are similar to sending moment1, and details are not described one by one.

Optionally, in Table 19, the sixteenth correspondence further includes sending moment1to sending moment8, and start positions of frequency domain resources respectively corresponding to sending moment5to sending moment8are the same as start positions of frequency domain resources respectively corresponding to sending moment1to sending moment4.

In this way, the terminal device obtains, by using one of the plurality of sixteenth correspondences and the time domain resource occupied by the first antenna port, the start position of the frequency domain resource occupied by the first antenna port, so that antenna ports that cause interference to the antenna port of the terminal device at different sending moments are different. This brings a good interference randomization effect, can accelerate an interference randomization convergence speed, and can improve channel estimation performance.

According to the communication method shown inFIG.14, when the start position of the frequency domain resource occupied by the antenna port is determined, the fourth offset is introduced, so that the start position of the frequency domain resource occupied by each antenna port may randomly change on different time domain resources, and an antenna port that causes interference to an antenna port of a terminal device also randomly changes, to implement frequency-domain interference randomization. This brings the good interference randomization effect, can accelerate the interference randomization convergence speed, and can improve the channel estimation performance.

For example,FIG.15is a schematic flowchart of a communication method according to an embodiment of this application. The method shown inFIG.15may be used in combination with the method shown inFIG.13and/orFIG.14. Alternatively, the method shown inFIG.15may be used in combination with the method shown inFIG.5and/orFIG.11, to achieve a better interference randomization effect. Alternatively, the method shown inFIG.15may be used independently.

As shown inFIG.15, the communication method includes the following steps.

S1501: A network device sends configuration information of a reference signal. Correspondingly, a terminal device receives the configuration information of the reference signal.

S1502: The terminal device sends a reference signal via M antenna ports based on the configuration information. Correspondingly, the network device receives the reference signal via the M antenna ports based on the configuration information.

M is an integer greater than 0, and the M antenna ports include at least one first antenna port. For specific implementations of M, the M antenna ports, and the first antenna port, refer to the corresponding descriptions in S502. Details are not described herein again.

In some embodiments, a cyclic shift value of the first antenna port is determined based on at least a first code domain offset.

Optionally, the first offset may be an integer greater than or equal to 0.

Optionally, that a cyclic shift value of the first antenna port is determined based on at least a first code domain offset may include: The cyclic shift value of the first antenna port is determined based on an initial value of the cyclic shift value of the first antenna port and the first code domain offset.

Optionally, the cyclic shift value of the first antenna port may be determined based on the initial value of the cyclic shift value and the first code domain offset.

In some embodiments, the first code domain offset may be determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

Optionally, the time domain resource occupied by the first antenna port may include one or more OFDM symbols. The one or more OFDM symbols included in the time domain resource occupied by the first antenna port may be determined based on one or more of the following parameters: a system frame number corresponding to the first antenna port, a slot number corresponding to the first antenna port, and an OFDM symbol number corresponding to the first antenna port.

A quantity of OFDM symbols included in the time domain resource occupied by the first antenna port is not limited in this application.

Optionally, the frequency domain resource occupied by the first antenna port may include one or more sub-bandwidths. The one or more sub-bandwidths included in the frequency domain resource occupied by the first antenna port may be determined based on one or more of the following parameters: an index of a frequency hopping bandwidth corresponding to the first antenna port, and an index of a transmit bandwidth corresponding to the first antenna port.

Optionally, the M reference signal ports include a plurality of first reference signal ports, and on a time domain resource and/or a frequency domain resource, the plurality of first reference signal ports correspond to a same first code domain offset.

In some embodiments, the first code domain offset includes a first code domain random number and/or a second code domain random number.

Optionally, the first code domain random number is determined based on at least the time domain resource occupied by the first antenna port. For example, the first code domain random number may be denoted by A1.

Optionally, the second code domain random number is determined based on at least the frequency domain resource occupied by the first antenna port. For example, the first code domain random number may be denoted by A2.

In this way, the cyclic shift value occupied by the first antenna port may be determined based on a first random number and/or a fifth random number.

In some embodiments, that the first code domain random number is determined based on at least the time domain resource occupied by the first antenna port includes: The first code domain random number is determined based on the time domain resource occupied by the first antenna port and a pseudo-random sequence.

Optionally, the pseudo-random sequence may be c( ). For a specific implementation of the pseudo-random sequence, refer to the corresponding descriptions in S502. Details are not described herein again.

Optionally, the first code domain random number is determined based on the time domain resource occupied by the first antenna port and the pseudo-random sequence, and the first code domain random number may be further determined based on one or more of the following parameters: a quantity of slots included in each system frame, a quantity of OFDM symbols included in each slot, a comb quantity, and a comb offset.

For example, in this application, the quantity of the slots included in each system frame may be a quantity of slots included in one system frame.

For example, in this application, the quantity of the OFDM symbols included in each slot may be a quantity of OFDM symbols included in one slot.

Optionally, the comb quantity may be a quantity of combs included in a transmit bandwidth of the reference signal.

Optionally, the comb offset may be a reference quantity of combs occupied by the reference signal.

Optionally, the first code domain random number may satisfy a formula (45), a formula (46), a formula (47), a formula (48), a formula (49), a formula (50), a formula (51), or a formula (52).

In the formula (45), the formula (46), the formula (47), the formula (48), the formula (49), the formula (50), the formula (51), or the formula (52), A1represents the first code domain random number, a mathematical symbol Σ represents summation, a mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, nfrepresents the system frame number corresponding to the first antenna port (or f represents a system frame number of the time domain resource occupied by the first antenna port), Nslotframerepresents the quantity of the slots in each system frame, Nsymbslotrepresents the quantity of the OFDM symbols in each slot, ns,fμrepresents the slot number corresponding to the first antenna port (or ns,fμrepresents a slot number of the time domain resource occupied by the first antenna port), l0represents an index of a start OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port (or l0represents the index of the start OFDM symbol), l′ represents a relative index of one OFDM symbol in the one or more OFDM symbols included in the time domain resource occupied by the first antenna port (or l′ represents a relative index of an OFDM symbol of the time domain resource occupied by the first antenna port), and Y is a maximum quantity that is of supported antenna ports and that is multiplexed through cyclic shifting on one comb, a quantity of Fourier transform points, or a quantity of subcarriers occupied by the first antenna port on one OFDM symbol.

It should be noted that m in the formula (45), the formula (46), the formula (47), the formula (48), the formula (49), the formula (50), the formula (51), or the formula (52) is irrelevant to the sequence length M. In the formula (45), the formula (46), the formula (47), the formula (48), the formula (49), the formula (50), the formula (51), or the formula (52), an example in which m is an integer ranging from 0 to 7 is used for description, and a value range of m in the formula (45), the formula (46), the formula (47), the formula (48), the formula (49), the formula (50), the formula (51), or the formula (52) is not limited in this application.

In this application, the cyclic shift value of the first antenna port of the terminal device is determined based on the first code domain random number, so that the cyclic shift value of the terminal device may randomly change at different sending moments. In this way, a terminal device that causes interference to the terminal device randomly changes. Therefore, frequency-domain interference randomization is implemented, and a better interference randomization effect can be achieved.

In some other embodiments, that the first code domain random number is determined based on at least the time domain resource occupied by the first antenna port may include: The first code domain random number is determined based on one of a plurality of seventh correspondences and the time domain resource occupied by the first antenna port.

Optionally, one of the plurality of seventh correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of seventh correspondences, and/or one of the plurality of seventh correspondences.

For example, the network device may select one seventh correspondence from the plurality of seventh correspondences, and indicate the selected seventh correspondence to the terminal device.

Optionally, one seventh correspondence may include a correspondence between at least one first code domain random number and at least one time domain resource.

For example, the at least one first code domain random number corresponds one-to-one to the at least one time domain resource. For example, the time domain resource may be an OFDM symbol, a system frame number, or a slot number.

For example, it is assumed that each first correspondence (which may be referred to as a pattern) has n time domain resources. First code domain random numbers corresponding to the n time domain resources are {x1, x2, . . . xn} for seventh correspondence 1. In this case, there is seventh correspondence 1+a, a is an integer greater than 0, and first code domain random numbers corresponding to the n time domain resources are {x(1+a)mod n, x(2+a)mod n, . . . x(M+a)mod n}. A value of {x1, x2, . . . xn} belongs to {0, 1, . . . , ncs−1}, and ncs is a maximum quantity of CSs that can be supported on a comb.

Optionally, one frequency hopping periodicity includes at least one time of reference signal sending, and the correspondence between at least one first code domain random number and at least one time domain resource may include: a correspondence between the at least one first random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

For example, the at least one first code domain random number corresponds one-to-one to a number of the at least one time of reference signal sending.

For example, the terminal device may obtain, based on a number of a current time of reference signal sending via the first antenna port, the first code domain random number from the correspondence between the at least one first code domain random number and a relative number of the at least one time of reference signal sending in the frequency hopping periodicity.

Alternatively, optionally, the correspondence between at least one first code domain random number and at least one time domain resource may include: a correspondence between the at least one first code domain random number and an index of at least one frequency hopping periodicity.

For example, the at least one first code domain random number corresponds one-to-one to the index of the at least one frequency hopping periodicity.

For example, the terminal device may obtain the first code domain random number from the correspondence between the at least one first code domain random number and an index of at least one frequency hopping periodicity based on an index of a frequency hopping periodicity in which the time domain resource occupied by the first antenna port is located.

Optionally, the network device may indicate different seventh correspondences to terminal devices in different cells.

In this way, the network device indicates different seventh correspondences to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the frequency-domain interference randomization, and achieve the better interference randomization effect.

In some embodiments, that the second code domain random number is determined based on at least the frequency domain resource occupied by the first antenna port may include: The second code domain random number is determined based on the frequency domain resource occupied by the first antenna port and a pseudo-random sequence.

Optionally, the pseudo-random sequence may be c( ).

Optionally, the second code domain random number may satisfy a formula (53), a formula (54), a formula (55), or a formula (56).

In the formula (53), the formula (54), the formula (55), or the formula (56), A2represents the second code domain random number, the mathematical symbol Σ represents summation, the mathematical symbol mod represents a modulo operation, c( ) is the pseudo-random sequence, k represents an index of a frequency hopping bandwidth and/or an index of a transmit bandwidth that correspond/corresponds to the frequency domain resource occupied by the first antenna port, Y is the maximum quantity that is of supported antenna ports and that is multiplexed through cyclic shifting on one comb, the quantity of the Fourier transform points, or the quantity of the subcarriers occupied by the first antenna port on one OFDM symbol.

It should be noted that m in the formula (53), the formula (54), the formula (55), or the formula (56) is irrelevant to a sequence length M. In the formula (53), the formula (54), the formula (55), or the formula (56), an example in which m is an integer ranging from 0 to 7 is used for description, and a value range of m in the formula (53), the formula (54), the formula (55), or the formula (56) is not limited in this application.

In some other embodiments, that the second code domain random number is determined based on at least the frequency domain resource occupied by the first antenna port may include: The second code domain random number is determined based on one of a plurality of eighth correspondences and the frequency domain resource occupied by the first antenna port.

Optionally, one of the plurality of eighth correspondences may be indicated by the network device to the terminal device. For example, the configuration information of the reference signal may include indication information indicating one of the plurality of eighth correspondences, and/or one of the plurality of eighth correspondences.

For example, the network device may select one eighth correspondence from the plurality of eighth correspondences, and indicate the selected eighth correspondence to the terminal device.

Optionally, one eighth correspondence may include a correspondence between at least one second code domain random number and at least one frequency domain resource.

For example, the at least one second code domain random number corresponds one-to-one to the at least one frequency domain resource.

For example, the terminal device may obtain, from the correspondence between at least one second code domain random number and at least one frequency domain resource based on the frequency domain resource occupied by the first antenna port, the second code domain random number corresponding to the frequency domain resource occupied by the first antenna port.

For example, a specific implementation of the eighth correspondence is similar to that of the seventh correspondence. For details, refer to the descriptions of the seventh correspondence. Details are not described herein again.

In this way, the second code domain random number obtained by the terminal device randomly changes on different frequency domain resources, and then the cyclic shift value occupied by the first antenna port of the terminal device is determined based on the second code domain random number, so that the cyclic shift value occupied by the terminal device randomly changes at different sending moments.

Optionally, the network device may indicate different eighth correspondences to terminal devices in different cells.

In this way, the network device indicates different eighth correspondences to terminal devices in different cells, so that a terminal device that causes interference to the terminal device randomly changes, to implement the interference randomization, and achieve the better interference randomization effect.

Optionally, a value of the cyclic shift value may satisfy αϵ{0, 1, . . . , K×Y−1}, where Y is a maximum quantity that is of supported antenna ports and that is multiplexed through cyclic shifting on one comb, or a quantity of cyclic shift values that can be configured by using a higher-layer parameter on one comb, and a value of Y is determined based on a configured quantity of reference signal combs, and K is an integer greater than 1.

Alternatively, optionally, a value of the cyclic shift value may satisfy a E {0, 1, . . . , Y−1}, where Y is a quantity M of Fourier transform points, M=2x, x is a positive integer, and a value of M is determined based on a system bandwidth or a sounding bandwidth of the reference signal.

Alternatively, optionally, a value of the cyclic shift value may satisfy a E {0, 1, . . . , Y−1}, where Y is a quantity of subcarriers occupied by the first antenna port on one OFDM symbol.

In some embodiments, when the first code domain offset is the first code domain random number, a cyclic shift value αithat is occupied by antenna port piand that is determined based on the first code domain random number A1may satisfy the following formula:

Optionally, in the formula (1), nSRScsmay be replaced with nSRScs+nSRScsOffsetwhere nSRScsOffsetis the first code domain random number.

In some embodiments, when the first code domain offset is the second code domain random number, a cyclic shift value αithat is occupied by antenna port piand that is determined based on the second code domain random number A2may satisfy the following formula:

In some embodiments, when the first code domain offset includes the first code domain random number and the second code domain random number, a cyclic shift value αithat is occupied by an antenna port piand that is determined based on a first code domain random number A1and a second code domain random number A2may satisfy the following formula:

The following describes, with reference to Table 20, determining the cyclic shift value of the first antenna port based on the first code domain random number and/or the second code domain random number.

The foregoing scenario1is used as an example. A cyclic shift value of each antenna port (antenna port p0to antenna port p3) of UE1to UE8is determined based on the first code domain random number and/or the second code domain random number. The cyclic shift value (denoted by CS) of an antenna port of each UE may be shown in Table 20.

On frequency domain resource1and/or frequency domain resource1, antenna ports of UE1, UE2, UE5, and UE6use CS0and CS2. UE1is used as an example. The antenna ports of UE1suffer interference from antenna ports of UE5and UE6.

On frequency domain resource2and/or frequency domain resource2, antenna ports of UE1, UE2, UE7, and UE8use CS1and CS3, and the antenna ports of UE1suffer interference from antenna ports of UE7and UE8.

On frequency domain resource n and/or frequency domain resource n, the antenna ports of UE1, UE2, UE5, and UE6use CS1and CS3, and the antenna ports of UE1suffer interference from the antenna ports of UE5and UE6.

It should be noted that, in Table 20, an example in which antenna port p0and antenna port p2of each UE occupy and use one cyclic shift value, and antenna port p and antenna port p3use one cyclic shift value is used. For example, a cyclic shift value used by antenna port p0and antenna port p2is a cyclic shift value with a smaller cyclic shift value index in two cyclic shift values used by the UE, and a cyclic shift value used by antenna port pTand antenna port p3is a cyclic shift value with a larger cyclic shift value index in the two cyclic shift values used by the UE. For ease of understanding, Table 20 shows the UEs, corresponding base sequences, and corresponding cyclic shift values, but does not show the antenna ports.

Optionally, in Table 20, frequency domain resource1may be replaced with frequency domain unit1, subband1, frequency hopping bandwidth1, frequency hopping bandwidth1, or the like. Frequency domain resource2to frequency domain resource n are similar to frequency domain resource1, and details are not described one by one. Sending moment1may be replaced with OFDM symbol1, system frame number1, slot number1, time domain resource1, or time unit1. Sending moment2to sending moment4are similar to sending moment1, and details are not described one by one.

In this way, cyclic shift values used by the antenna ports of UE1randomly change at different sending moments and/or on different frequency domain resources, so that a UE that causes interference to UE1randomly changes. UEs that cause interference to UE1at some sending moments and/or on some frequency domain resources are UE5and UE6. UEs that cause interference to UE1at some sending moments and/or on some frequency domain resources are UE7and UE8. An antenna port that causes interference to the antenna port of UE1randomly changes, to achieve the better interference randomization effect.

According to the communication method shown inFIG.15, the cyclic shift value of the first antenna port of the terminal device is determined based on the first code domain offset, so that the cyclic shift value of antenna port of the terminal device may randomly change at different sending moments and/or on different frequency domain resources. In this way, an antenna port of a terminal device that causes interference to the antenna port of the terminal device randomly changes. Therefore, the interference randomization is implemented, and the better interference randomization effect can be achieved.

For example, the method shown inFIG.13, the method shown inFIG.14, and the method shown inFIG.15may be combined or separately used.

For example, the network device sends configuration information of a reference signal. Correspondingly, the terminal device receives the configuration information of the reference signal. The terminal device sends a reference signal via M antenna ports based on the configuration information. Correspondingly, the network device receives the reference signal via the M antenna ports based on the configuration information. A comb occupied by the first antenna port is determined based on at least a first offset, a cyclic shift value of the first antenna port is determined based on at least a first code domain offset, and/or a start position of a frequency domain resource occupied by the first antenna port is determined based on at least a fourth offset, for a specific implementation, refer to the corresponding descriptions inFIG.13,FIG.14, andFIG.15.

In this application, unless otherwise specified, for same or similar parts in embodiments, refer to each other. In embodiments of this application and the implementations/methods/implementation methods in embodiments, unless otherwise specified or a logical collision occurs, terms and/or descriptions are consistent and may be mutually referenced between different embodiments and between the implementations/methods/implementation methods in embodiments. Technical features in the different embodiments and the implementations/methods/implementation methods in embodiments may be combined to form a new embodiment, implementation, method, or implementation method based on an internal logical relationship of the technical features. The following implementations of this application are not intended to limit the protection scope of this application.

The communication methods provided in embodiments of this application are described above in detail with reference toFIG.5toFIG.15. The following describes in detail communication apparatuses provided in embodiments of this application with reference toFIG.16andFIG.17.

FIG.16is a diagram of a structure of a communication apparatus that can be configured to perform an embodiment of this application.

The communication apparatus1600may be a terminal device or a network device; may be a chip used in a network device or a terminal device; or may be another component having a corresponding function. As shown inFIG.16, the communication apparatus1600may include a processor1601. Optionally, the communication apparatus1600may further include one or both of a memory1602and a transceiver1603. The processor1601and the or both of the memory1602and the transceiver1603may be coupled, for example, may be connected through a communication bus; or the processor1601may be used independently.

Various components of the communication apparatus1600are described with reference toFIG.16.

The processor1601is a control center of the communication apparatus1600, and may be one processor or may be a collective name of a plurality of processing elements. For example, the processor1601is one or more central processing units (CPUs), may be an application-specific integrated circuit (ASIC), or may be one or more integrated circuits configured to implement embodiments of this application, for example, one or more microprocessors (DSPs), or one or more field programmable gate arrays (FPGAs).

The processor1601may perform various functions of the communication apparatus1600by running or executing a software program stored in the memory1602and invoking data stored in the memory1602.

During specific implementation, in an embodiment, the processor1601may include one or more CPUs, for example, a CPU0and a CPU1shown inFIG.16.

During specific implementation, in an embodiment, the communication apparatus1600may alternatively include a plurality of processors, for example, the processor1601and a processor1604shown inFIG.16. Each of the processors may be a single-core processor (single-CPU), or may be a multi-core processor (multi-CPU). The processor herein may be one or more communication devices, circuits, and/or processing cores configured to process data (for example, computer program instructions).

Optionally, the memory1602may be a read-only memory (ROM) or another type of static storage communication device that can store static information and instructions, or a random access memory (RAM) or another type of dynamic storage communication device that can store information and instructions, or may be an electrically erasable programmable read-only memory (,EEPROM), a compact disc read-only memory (CD-ROM) or another compact disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, and the like), a magnetic disk storage medium or another magnetic storage communication device, or any other medium that can be used to carry or store expected program code in a form of instructions or a data structure and that can be accessed by a computer. However, this is not limited thereto. The memory1602may be integrated with the processor1601, or may exist independently, and is coupled to the processor1601through an input/output port (not shown inFIG.16) of the communication apparatus1600. This is not specifically limited in embodiments of this application.

For example, the input port may be configured to implement a receiving function performed by the terminal device or the network device in any one of the foregoing method embodiments, and the output port may be configured to implement a sending function performed by the terminal device or the network device in any one of the foregoing method embodiments.

The memory1602may be configured to store a software program for performing the solutions of this application, and the processor1601controls execution of the software program. For a specific implementation, refer to the following method embodiments. Details are not described herein again.

Optionally, the transceiver1603is configured to communicate with another communication apparatus. For example, when the communication apparatus1600is a network device, the transceiver1603may be configured to communicate with a terminal device. For another example, when the communication apparatus1600is a terminal device, the transceiver1603may be configured to communicate with a network device or the like.

In addition, the transceiver1603may include a receiver and a transmitter (not separately shown inFIG.16). The receiver is configured to implement a receiving function, and the transmitter is configured to implement a sending function. The transceiver1603may be integrated with the processor1601, or may exist independently, and is coupled to the processor1601through the input/output port (not shown inFIG.16) of the communication apparatus1600. This is not specifically limited in embodiments of this application.

It should be noted that a structure of the communication apparatus1600shown inFIG.16does not constitute a limitation on the communication apparatus. An actual communication apparatus may include more or fewer components than those shown in the figure, combine some components, or have different component arrangements.

The actions of the network device inFIG.5toFIG.15may be performed by the processor1601in the communication apparatus1600shown inFIG.16by invoking application program code stored in the memory1602, to instruct the network device to perform the actions.

The actions of the terminal device inFIG.5toFIG.15may be performed by the processor1601in the communication apparatus1600shown inFIG.16by invoking application program code stored in the memory1602, to instruct an application network element to perform the actions. This is not limited in this embodiment.

When the communication apparatus is a network device, the communication apparatus1600may perform any one or more possible design manners related to the network device in the foregoing method embodiments.

When the communication apparatus is a terminal device, the communication apparatus1600may perform any one or more possible design manners related to the terminal device in the foregoing method embodiments.

It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

FIG.17is a diagram of a structure of another communication apparatus according to an embodiment of this application. For ease of description,FIG.17shows only main components of the communication apparatus.

The communication apparatus1700may include a sending module1701and a receiving module1702, and may further include a processing module1703.

The communication apparatus1700may be the terminal device or the network device in the foregoing method embodiments. The sending module1701may also be referred to as a sending unit and is configured to implement a sending function performed by the terminal device or the network device in any one of the foregoing method embodiments. The receiving module1702may also be referred to as a receiving unit and is configured to implement a receiving function performed by the terminal device or the network device in any one of the foregoing method embodiments.

It should be noted that the sending module1701and the receiving module1702may be separately disposed, or may be integrated into one module, namely, a transceiver module. Specific implementations of the receiving module and the sending module are not specifically limited in this application. The transceiver module may include a transceiver circuit, a transceiver machine, a transceiver, or a communication interface.

Optionally, the communication apparatus1700may further include a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform the method in any one of the foregoing method embodiments.

The processing module1703may be configured to implement a processing function performed by the terminal device or the network device in any one of the foregoing method embodiments. The processing module1703may be a processor.

In this embodiment, the communication apparatus1700is presented in a form of functional modules obtained through division in an integrated manner. The module herein may be an ASIC, a circuit, a processor that executes one or more software or firmware programs, a memory, an integrated logic circuit, and/or another component capable of providing the foregoing functions. In a simple embodiment, a person skilled in the art may figure out that the communication apparatus1700may be in a form of the communication apparatus1600shown inFIG.16.

For example, the processor1601in the communication apparatus1600shown inFIG.16may invoke computer-executable instructions stored in the memory1602, so that the communication method in the foregoing method embodiments is performed.

In some embodiments, functions/implementation processes of the processing module1703and the storage module inFIG.17may be implemented by a transceiver1603in the communication apparatus1600shown inFIG.16. In some embodiments, functions/implementation processes of the processing module1703inFIG.17may be implemented by the processor1601in the communication apparatus1600shown inFIG.16by invoking the computer-executable instructions stored in the memory1602.

The communication apparatus1700provided in this embodiment may perform the foregoing communication method. Therefore, for technical effects that can be achieved by the communication apparatus1700, refer to the foregoing method embodiments. Details are not described herein again.

In a possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the network device in the communication method according to any one of the foregoing method embodiments.

The sending module1701is configured to send configuration information, where the configuration information indicates a configuration of a reference signal.

The receiving module1702is configured to receive the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, the first offset is an integer greater than 0, and the first offset is determined based on at least a cell identifier and a time domain resource occupied by the first antenna port; or the first offset is determined based on a cyclic shift value occupied by the first antenna port.

It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the network device in the communication methods shown inFIG.5toFIG.15.

It should be noted that the communication apparatus1700may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

For technical effects of the communication apparatus1700, refer to the technical effects of the communication method in any possible implementation ofFIG.5toFIG.15. Details are not described herein again.

In another possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the terminal device in the communication method according to any one of the foregoing method embodiments.

The receiving module1702is configured to receive configuration information, where the configuration information indicates a configuration of a reference signal.

The sending module1701is configured to send the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, the first offset is an integer greater than 0, and the first offset is determined based on at least a cell identifier and a time domain resource occupied by the first antenna port; or the first offset is determined based on a cyclic shift value occupied by the first antenna port.

It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the terminal device in the communication methods shown inFIG.5toFIG.9.

It should be noted that the communication apparatus1700may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

For technical effects of the communication apparatus1700, refer to the technical effects of the communication method in any possible implementation ofFIG.5toFIG.9. Details are not described herein again.

In a possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the network device in the communication method according to any one of the foregoing method embodiments.

The sending module1701is configured to send configuration information, where the configuration information indicates a configuration of a reference signal.

The receiving module1702is configured to receive the reference signal via M antenna ports based on the configuration information, where a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset is determined based on at least a cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the network device in the communication methods shown inFIG.11andFIG.12.

It should be noted that the communication apparatus1700may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

For technical effects of the communication apparatus1700, refer to the technical effects of the communication method in any possible implementation ofFIG.11andFIG.12. Details are not described herein again.

In another possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the terminal device in the communication method according to any one of the foregoing method embodiments.

The receiving module1702is configured to receive configuration information, where the configuration information indicates a configuration of a reference signal.

The sending module1701is configured to send the reference signal via M antenna ports based on the configuration information, where a start position of a frequency domain resource occupied by each of the M antenna ports is determined based on at least a fourth offset, where the fourth offset is an integer greater than 0, and the fourth offset is determined based on at least a cell identifier and an index of a frequency hopping periodicity corresponding to the reference signal.

It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the terminal device in the communication methods shown inFIG.11andFIG.12.

It should be noted that the communication apparatus1700may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

In still another possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the network device in the communication method according to any one of the foregoing method embodiments.

The sending module1701is configured to send configuration information of a reference signal.

The receiving module1702is configured to receive the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, and the first offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the network device in the communication methods shown inFIG.13toFIG.15.

It should be noted that the communication apparatus1700may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

For technical effects of the communication apparatus1700, refer to the technical effects of the communication method in any possible implementation ofFIG.13toFIG.15. Details are not described herein again.

In still another possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the terminal device in the communication method according to any one of the foregoing method embodiments.

The receiving module1702is configured to receive configuration information of a reference signal.

The sending module1701is configured to send the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a comb occupied by the first antenna port is determined based on at least a first offset, and the first offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the terminal device in the communication methods shown inFIG.13andFIG.15.

It should be noted that the communication apparatus1700may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

For technical effects of the communication apparatus1700, refer to the technical effects of the communication method in any possible implementation ofFIG.13toFIG.15. Details are not described herein again.

In still another possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the network device in the communication method according to any one of the foregoing method embodiments.

The sending module1701is configured to send configuration information of a reference signal.

The receiving module1702is configured to receive the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a start position of a frequency domain resource occupied by the first antenna port is determined based on at least a fourth offset, and the fourth offset is determined based on at least a time domain resource occupied by the first antenna port and a pseudo-random sequence; or the fourth offset is determined based on one of a plurality of ninth correspondences and a time domain resource occupied by the first antenna port, the ninth correspondence includes a correspondence between at least one fourth offset and at least one time domain resource, and the plurality of ninth correspondences correspond to a same frequency scaling factor. It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the network device in the communication methods shown inFIG.13toFIG.15.

It should be noted that the communication apparatus1700may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

For technical effects of the communication apparatus1700, refer to the technical effects of the communication method in any possible implementation ofFIG.13toFIG.15. Details are not described herein again.

In still another possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the terminal device in the communication method according to any one of the foregoing method embodiments.

The receiving module1702is configured to receive configuration information of a reference signal.

The sending module1701is configured to send the reference signal via M antenna ports based on the configuration information, where M is an integer greater than 0, the M antenna ports include at least one first antenna port, a start position of a frequency domain resource occupied by the first antenna port is determined based on at least a fourth offset, and the fourth offset is determined based on at least a time domain resource occupied by the first antenna port and a pseudo-random sequence; or the fourth offset is determined based on one of a plurality of ninth correspondences and a time domain resource occupied by the first antenna port, the ninth correspondence includes a correspondence between at least one fourth offset and at least one time domain resource, and the plurality of ninth correspondences correspond to a same frequency scaling factor. It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the terminal device in the communication methods shown inFIG.13andFIG.15.

It should be noted that the communication apparatus1700may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

For technical effects of the communication apparatus1700, refer to the technical effects of the communication method in any possible implementation ofFIG.13toFIG.15. Details are not described herein again.

In still another possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the network device in the communication method according to any one of the foregoing method embodiments.

The sending module1701is configured to send configuration information of a reference signal.

The receiving module1702is configured to receive the reference signal via M antenna ports based on the configuration information, whereM is an integer greater than 0, the M antenna ports include at least one first antenna port, a cyclic shift value of the first antenna port is determined based on at least a first code domain offset, and the first code domain offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the network device in the communication methods shown inFIG.13toFIG.15.

It should be noted that the communication apparatus1700may be a network device, or may be a chip (system) or another part or component that can be disposed in the network device. This is not limited in this application.

For technical effects of the communication apparatus1700, refer to the technical effects of the communication method in any possible implementation ofFIG.13toFIG.15. Details are not described herein again.

In still another possible design solution, the communication apparatus1700shown inFIG.17is applicable to the system shown inFIG.1, and performs a function of the terminal device in the communication method according to any one of the foregoing method embodiments.

The receiving module1702is configured to receive configuration information of a reference signal.

The sending module1701is configured to send the reference signal via M antenna ports based on the configuration information, whereM is an integer greater than 0, the M antenna ports include at least one first antenna port, a cyclic shift value of the first antenna port is determined based on at least a first code domain offset, and the first code domain offset is determined based on at least a time domain resource occupied by the first antenna port and/or a frequency domain resource occupied by the first antenna port.

It should be noted that all related content of the steps in the foregoing method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.

It should be noted that the receiving module1702and the sending module1701may be separately disposed, or may be integrated into one module, namely, a transceiver module. This is not specifically limited in this application.

Optionally, the communication apparatus1700may further include a processing module1703and a storage module (not shown inFIG.17). The storage module stores a program or instructions. When the processing module1703executes the program or the instructions, the communication apparatus1700is enabled to perform a function of the terminal device in the communication methods shown inFIG.13andFIG.15.

It should be noted that the communication apparatus1700may be a terminal device, or may be a chip (system) or another part or component that can be disposed in the terminal device. This is not limited in this application.

For technical effects of the communication apparatus1700, refer to the technical effects of the communication method in any possible implementation ofFIG.13toFIG.15. Details are not described herein again.

An embodiment of this application provides a communication system. The communication system includes a network device and a terminal device. A quantity of network devices and a quantity of terminal devices are not limited.

The network device is configured to perform an action of the network device in the foregoing method embodiments, and the terminal device is configured to perform an action of the terminal device in the foregoing method embodiments. For a specific execution method and process, refer to the foregoing method embodiments. Details are not described herein again.

An embodiment of this application provides a chip system. The chip system includes a logic circuit and an input/output port. The logic circuit may be configured to implement a processing function related to the communication method provided in embodiments of this application, and the input/output port may be configured to implement sending and receiving functions related to the communication method provided in embodiments of this application.

For example, the input port may be configured to implement a receiving function related to the communication method provided in embodiments of this application, and the output port may be configured to implement a sending function related to the communication method provided in embodiments of this application.

For example, the processor in the communication apparatus1600may be configured to perform, for example, but not limited to, baseband-related processing, and the transceiver in the communication apparatus1600may be configured to perform, for example, but not limited to, radio frequency receiving and sending. The foregoing components may be separately disposed on chips that are independent of each other, or at least some or all of the components may be disposed on a same chip. For example, the processor may further be divided into an analog baseband processor and a digital baseband processor. The analog baseband processor and the transceiver may be integrated on a same chip, and the digital baseband processor may be disposed on an independent chip. With continuous development of integrated circuit technologies, more and more components may be integrated on a same chip. For example, the digital baseband processor may be integrated on a same chip with a plurality of application processors (for example, but not limited to a geometric processor and a multimedia processor). The chip may be referred to as a system-on-chip (system on chip). Whether components are independently disposed on different chips or are integrated and disposed on one or more chips usually depends on specific requirements of a product design. Specific implementation forms of the components are not limited in the discussed embodiments.

In a possible design, the chip system further includes a memory, and the memory is configured to store program instructions and data for implementing functions related to the communication method provided in embodiments of this application.

The chip system may include a chip; or may include a chip and another discrete component.

An embodiment of this application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program or instructions. When the computer program is run or the instructions are run on a computer, the communication method provided in embodiments of this application is performed.

An embodiment of this application provides a computer program product. The computer program product includes a computer program or instructions. When the computer program is run or the instructions are run on a computer, the communication method provided in embodiments of this application is performed.

It should be understood that the term “and/or” in this specification describes only an association relationship between 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. A and B may be singular or plural. In addition, the character “/” in this specification usually indicates an “or” relationship between the associated objects, but may also indicate an “and/or” relationship. For details, refer to the context for understanding.

In this application, at least one means one or more, and a plurality of means two or more. “At least one of the following items (pieces)” or a similar expression thereof means any combination of these items, including a singular item (piece) or any combination of plural items (pieces). For example, at least one of a, b, or c may indicate: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c may be singular or plural.

It should be understood that, in embodiments of this application, sequence numbers of the foregoing processes do not mean execution sequences. The execution sequences of the processes should be determined based on functions and internal logic of the processes, and should not constitute any limitation on implementation processes of embodiments of this application.

A person skilled in the art may clearly understand that, for the purpose of convenient and brief description, for detailed working processes of the foregoing system, apparatus, and unit, refer to corresponding processes in the foregoing method embodiments. Details are not described herein again.