Ranging method and device

CN120077292APending Publication Date: 2025-05-30HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280100893.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-10-14
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing ranging methods have low ranging accuracy in wireless communication systems and cannot be effectively improved.

Method used

By dynamically selecting the time domain sequence or frequency domain sequence of the ranging signal, the power allocation priority of the signal is optimized according to the channel state information, and the root mean square bandwidth and signal-to-noise ratio of the signal are improved, thereby improving the ranging accuracy.

Benefits of technology

It achieves higher ranging accuracy and smaller distance ambiguity range in multipath environments, and is suitable for a variety of communication scenarios and resource unit types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120077292A_ABST
    Figure CN120077292A_ABST
Patent Text Reader

Abstract

A ranging method and device relate to the field of communication. The ranging method comprises: a first communication device receiving a first ranging signal formed after a second ranging signal from a second communication device passes through a channel and information corresponding to the second ranging signal for indicating a time domain sequence or a frequency domain sequence of the second ranging signal (S141), the time domain sequence or the frequency domain sequence of the second ranging signal is determined according to channel state information measured by the first communication device; and ranging according to the time domain sequence or the frequency domain sequence of the first ranging signal and the second ranging signal (S142). The ranging accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Distance measurement method and device Technical Field

[0001] The present application relates to the field of communications, and in particular to a ranging method and device. Background Art

[0002] Ranging is one of the key steps in achieving positioning in various wireless systems, such as cellular (long term evolution (LTE), new radio (NR) and wireless fidelity (WiFi) communication technologies). Ranging is achieved by sending and receiving specific signals to measure the signal's propagation distance. The devices that send and receive signals are called transmitters and receivers, respectively. Existing reference signals such as sounding reference signals (SRS) and positioning reference signals (PRS) can be used for ranging, but the ranging accuracy is low and needs to be improved.

[0003] Summary of the Invention

[0004] The embodiments of the present application provide a distance measurement method and device for solving the problem of low distance measurement accuracy in existing distance measurement methods.

[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0006] In a first aspect, a ranging method is provided. The method includes: a first communication device receiving a first ranging signal formed by a second ranging signal from a second communication device passing through a channel, and information corresponding to the second ranging signal indicating a time domain sequence or a frequency domain sequence of the second ranging signal, where the time domain sequence or the frequency domain sequence is determined based on channel state information measured by the first communication device. Ranging is performed based on the time domain sequence or the frequency domain sequence of the first ranging signal and the second ranging signal.

[0007] In an embodiment of the present application, ranging is performed using information of the second ranging signal (a time domain sequence or a frequency domain sequence) and a first ranging signal formed after the second ranging signal passes through a channel, and the time domain sequence or the frequency domain sequence is determined based on channel state information measured by the first communication device. That is, the time domain sequence or the frequency domain sequence of the ranging signal can be dynamically selected based on the channel state to improve ranging accuracy.

[0008] In one possible design, the time domain sequence includes a discrete sequence obtained by discretizing the second ranging signal in the time domain in terms of time and amplitude; the frequency domain sequence includes resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units.

[0009] In an embodiment of the present application, a sequence obtained by discretizing the time and amplitude of the second ranging signal in the time domain is used as a time domain sequence, and resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units are used as a frequency domain sequence, so that both the frequency domain sequence and the time domain sequence can represent the characteristics of the second ranging signal.

[0010] In one possible design, the time domain sequence or frequency domain sequence of the second ranging signal is determined according to the power allocation priority of the resource unit of the first communication device; the power allocation priority is determined according to the channel state information corresponding to the resource unit.

[0011] In an embodiment of the present application, the power allocation priority of the resource unit is determined based on the channel state information corresponding to the resource unit, and the power allocation priority can be used to determine the time domain sequence or frequency domain sequence of the second ranging signal. The resource unit for generating the second ranging signal is selected based on the power allocation priority of the resource unit. The selected resource unit has a strong channel gain. When the total allocated power is limited, the second ranging signal is generated based on the selected resource unit, which can maximize the product of the root mean square bandwidth of the signal and the square root of the SNR, thereby improving the ranging accuracy.

[0012] Then, a time domain sequence or a frequency domain sequence of the second ranging signal is determined based on the power allocation priority, so that both the frequency domain sequence and the time domain sequence can represent the characteristics of the second ranging signal.

[0013] In one possible design, the method may further include: sending an ordered resource unit set to the second communication device; the ordered resource unit set indicates the resource units and the power allocation priorities corresponding to the resource units.

[0014] In an embodiment of the present application, a first communication device sends an ordered set of resource units to a second communication device, providing a way for the second communication device to determine the resource units and their corresponding power allocation priorities. Indicating power allocation priorities based on the ordered set of resource units provides finer granularity and more flexible ordering of resource units, thereby increasing the flexibility of power allocation priorities.

[0015] In one possible design, the method may further include: receiving a first set of resource units from a second communication device; the ordered set of resource units may be selected from the first set of resource units.

[0016] In an embodiment of the present application, the second communication device sends a first resource unit set to the first communication device. The ordered resource unit set can be selected from the first resource unit set, so that the selected ordered resource unit set meets the requirements of the second communication device.

[0017] In one possible design, a resource unit includes any one of the following: a subcarrier, a resource block, a component carrier, and a subband.

[0018] In the embodiments of the present application, taking into account that in actual application scenarios, resource units may be subcarriers, resource blocks, component carriers, or subbands, ordered resource unit sets are designed for various resource unit types, so that the embodiments of the present application can be applied to multiple communication scenarios.

[0019] In one possible design, the method may further include: when the resource unit is a subcarrier or a resource block, receiving first information from a second communication device for determining the number of subcarriers or determining the number of resource blocks.

[0020] In an embodiment of the present application, the maximum number of resource units included in the ordered resource unit set is limited by setting the first information, thereby reducing the size of the ordered resource units, thereby consuming fewer signaling resources when transmitting the ordered resource units, and meeting the requirements of communication systems with greater restrictions on communication resource occupation.

[0021] In one possible design, when the resource unit is a component carrier or a subband, the ordered resource unit set includes a component carrier with the highest priority or a subband with the highest priority.

[0022] In the embodiment of the present application, when the resource unit is a component carrier or a subband, setting an ordered resource unit set to include a component carrier with the highest priority or a subband with the highest priority is consistent with resource unit setting in existing communication systems.

[0023] In one possible design, when the resource unit is a subcarrier, the channel state information includes: the frequency f of each subcarrier k The channel amplitude value h on k , the power allocation priority of the resource unit p k Calculated by the following formula:

[0024] p k =|h k f k |.

[0025] In an embodiment of the present application, a corresponding power allocation priority calculation method is designed for the scenario where the resource unit is a subcarrier, which can be applied to the power allocation priority calculation in the scenario where the resource unit is a subcarrier.

[0026] In one possible design, when the resource unit is a resource block, a component carrier, or a subband, the channel state information includes: the frequency f of each subcarrier in the resource block, component carrier, or subband k The channel amplitude value h onk , the size p of the power allocation priority of the resource block, component carrier, or subband j Calculated by the following formula:

[0027]

[0028] In the embodiments of the present application, a corresponding power allocation priority calculation method is designed for scenarios where the resource units are resource blocks, component carriers, or subbands, and can be applied to power allocation priority calculation in scenarios where the resource units are resource blocks, component carriers, or subbands.

[0029] In one possible design, the frequency is a baseband frequency or a radio frequency frequency; the method may further include: receiving second information from a second communication device for indicating whether to use the baseband frequency or the radio frequency frequency to determine the power allocation priority.

[0030] In the embodiments of the present application, considering that ranging based on baseband frequency provides a larger unambiguous distance, the distance to a target can be determined within a large range. Ranging using radio frequency provides a smaller unambiguous distance but higher accuracy, enabling accurate ranging of targets within a small range. The second communication device determines the power allocation priority based on the ranging scenario, indicating whether to use baseband frequency or radio frequency through second information, so that the ranging effect meets the ranging requirements.

[0031] In a second aspect, a ranging method is provided, the method including: a second communication device sends a second ranging signal and information indicating a time domain sequence or a frequency domain sequence of the second ranging signal to a first communication device, where the time domain sequence or the frequency domain sequence is determined based on channel state information measured by the first communication device.

[0032] In an embodiment of the present application, a second ranging signal and information indicating a time domain sequence or a frequency domain sequence of the second ranging signal are sent to a first communication device by a second communication device. The information of the second ranging signal (the time domain sequence or the frequency domain sequence) and the first ranging signal formed after the second ranging signal passes through the channel can be used for ranging, and the time domain sequence or the frequency domain sequence is determined based on the channel state information measured by the first communication device. That is, the time domain sequence or the frequency domain sequence of the ranging signal can be dynamically selected based on the channel state to improve ranging accuracy.

[0033] In one possible design, the time domain sequence includes a discrete sequence obtained by discretizing the second ranging signal in the time domain in terms of time and amplitude; the frequency domain sequence includes resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units.

[0034] In an embodiment of the present application, a sequence obtained by discretizing the time and amplitude of the second ranging signal in the time domain is used as a time domain sequence, and resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units are used as a frequency domain sequence, so that both the frequency domain sequence and the time domain sequence can represent the characteristics of the second ranging signal.

[0035] In one possible design, the time domain sequence or frequency domain sequence of the second ranging signal is determined according to the power allocation priority of the resource unit of the first communication device; the power allocation priority is determined according to the channel state information corresponding to the resource unit.

[0036] In an embodiment of the present application, the power allocation priority of the resource unit is determined based on the channel state information corresponding to the resource unit, and the power allocation priority can be used to determine the time domain sequence or frequency domain sequence of the second ranging signal. The resource unit for generating the second ranging signal is selected based on the power allocation priority of the resource unit. The selected resource unit has a strong channel gain. When the total allocated power is limited, the second ranging signal is generated based on the selected resource unit, which can maximize the product of the root mean square bandwidth of the signal and the square root of the SNR, thereby improving the ranging accuracy.

[0037] In one possible design, the method further includes receiving, from the first communication device, an ordered set of resource units indicating resource units and power allocation priorities corresponding to the resource units.

[0038] In an embodiment of the present application, a first communication device sends an ordered set of resource units to a second communication device, providing a way for the second communication device to determine the resource units and the power allocation priorities corresponding to the resource units.

[0039] In one possible design, the method further includes sending a first set of resource units for selecting an ordered set of resource units to the first communication device.

[0040] In an embodiment of the present application, the second communication device sends a first resource unit set to the first communication device. The ordered resource unit set can be selected from the first resource unit set, so that the selected ordered resource unit set meets the requirements of the second communication device.

[0041] In one possible design, a resource unit includes any one of the following: a subcarrier, a resource block, a component carrier, and a subband.

[0042] In the embodiments of the present application, taking into account that in actual application scenarios, resource units may be subcarriers, resource blocks, component carriers, or subbands, ordered resource unit sets are designed for various resource unit types, so that the embodiments of the present application can be applied to multiple communication scenarios.

[0043] In one possible design, the method further includes: when the resource unit is a subcarrier or a resource block, sending first information for determining the number of subcarriers or the number of resource blocks to the first communication device.

[0044] In an embodiment of the present application, the maximum number of resource units included in the ordered resource unit set is limited by setting the first information, thereby reducing the size of the ordered resource units, thereby consuming fewer signaling resources when transmitting the ordered resource units, and meeting the requirements of communication systems with greater restrictions on communication resource occupation.

[0045] In one possible design, when the resource unit is a component carrier or a subband, the ordered resource unit set includes a component carrier with the highest priority or a subband with the highest priority.

[0046] In the embodiment of the present application, when the resource unit is a component carrier or a subband, setting an ordered resource unit set to include a component carrier with the highest priority or a subband with the highest priority is consistent with resource unit setting in existing communication systems.

[0047] In one possible design, when the resource unit is a subcarrier, the channel state information includes: the frequency f of each subcarrier k The channel amplitude value h on k , the power allocation priority of the resource unit p k Calculated by the following formula:

[0048] p k =|h k f k |.

[0049] In an embodiment of the present application, a corresponding power allocation priority calculation method is designed for the scenario where the resource unit is a subcarrier, which can be applied to the power allocation priority calculation in the scenario where the resource unit is a subcarrier.

[0050] In one possible design, when the resource unit is a resource block, a component carrier, or a subband, the channel state information includes: the frequency f of each subcarrier in the resource block, component carrier, or subband k The channel amplitude value h on k , the size p of the power allocation priority of the resource block, component carrier, or subband j Calculated by the following formula:

[0051]

[0052] In the embodiments of the present application, a corresponding power allocation priority calculation method is designed for scenarios where the resource units are resource blocks, component carriers, or subbands, and can be applied to power allocation priority calculation in scenarios where the resource units are resource blocks, component carriers, or subbands.

[0053] In one possible design, the frequency is a baseband frequency or a radio frequency frequency; the method may further include: sending second information to the first communication device to indicate whether to use the baseband frequency or the radio frequency frequency to determine the power allocation priority.

[0054] In the embodiments of the present application, considering that ranging based on baseband frequency provides a larger unambiguous distance, the distance to a target can be determined within a large range. Ranging using radio frequency provides a smaller unambiguous distance but higher accuracy, enabling accurate ranging of targets within a small range. The second communication device determines the power allocation priority based on the ranging scenario, indicating whether to use baseband frequency or radio frequency through second information, so that the ranging effect meets the ranging requirements.

[0055] In a third aspect, the present application provides a ranging device, which may be a first communication device or a chip or system-on-chip in the first communication device. The ranging device may implement the functions performed by the first communication device in the possible designs of the first or second aspects described above. The functions may be implemented by hardware or by hardware executing corresponding software. The hardware or software may include one or more modules corresponding to the above functions.

[0056] In a fourth aspect, the present application provides a ranging device, which may be a second communication device or a chip or system-on-chip in the second communication device. The ranging device may implement the functions performed by the second communication device in the possible designs of the first or second aspects described above. The functions may be implemented by hardware or by hardware executing corresponding software. The hardware or software may include one or more modules corresponding to the above functions.

[0057] In a fifth aspect, the present application provides a communication device, which includes a processor, and the processor is used to enable the communication device to execute the method of the first aspect or the second aspect by running computer instructions and / or through logic circuits.

[0058] In a possible implementation, the communication device further includes a memory, and the memory is used to store computer instructions and / or configuration files of logic circuits.

[0059] In a possible implementation, the communication device further includes a transceiver, and the transceiver is used to receive and / or send signals.

[0060] In a possible implementation, the communication device is a chip.

[0061] In a sixth aspect, the present application provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed, the method of the first aspect or the second aspect is executed.

[0062] In a seventh aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method of the first or second aspect described above.

[0063] In an eighth aspect, the present application provides a communication system, which includes the communication device of the third aspect and the communication device of the fourth aspect.

[0064] Among them, the beneficial effects described in the third to eighth aspects of this application can refer to the analysis of the beneficial effects of the first or second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] FIG1 is a power spectrum density distribution diagram of different signals with equal power provided by an embodiment of the present application;

[0066] FIG2 is a schematic diagram of a scenario in which transmission and reception are separated and active target ranging is provided in an embodiment of the present application;

[0067] FIG3 is a schematic diagram of a scenario in which a transmitter and a receiver are co-located and a passive target ranging is provided in an embodiment of the present application;

[0068] FIG4 is a schematic diagram of a scenario in which transmission and reception are separated and passive target ranging is provided in an embodiment of the present application;

[0069] FIG5 is a schematic diagram of another scenario of bi-location of transmitter and receiver and passive target ranging provided by an embodiment of the present application;

[0070] FIG6 is a schematic diagram of another scenario of bi-location of transmitter and receiver and passive target ranging provided by an embodiment of the present application;

[0071] FIG7 is a schematic diagram of a matched filtering process provided by an embodiment of the present application;

[0072] FIG8 is a schematic diagram of the distribution of output results of a matched filtering according to an embodiment of the present application;

[0073] FIG9 is a schematic diagram of a response of a multipath channel in the time domain provided by an embodiment of the present application;

[0074] FIG10 is a schematic diagram of a response of a multipath channel in the frequency domain provided in an embodiment of the present application;

[0075] FIG11 is a schematic diagram of the distribution of a sounding reference signal and a positioning reference signal in the frequency domain according to an embodiment of the present application;

[0076] FIG12 is a schematic diagram of signal power allocation in an orthogonal frequency division multiplexing system provided in an embodiment of the present application;

[0077] FIG13 is a schematic diagram of a communication system structure provided in an embodiment of the present application;

[0078] FIG14 is a schematic diagram of an interactive process of a ranging method provided in an embodiment of the present application;

[0079] FIG15 is a schematic diagram of an interaction flow of another ranging method provided in an embodiment of the present application;

[0080] FIG16 is a schematic diagram of an interaction flow of another ranging method provided in an embodiment of the present application;

[0081] FIG17 is a schematic diagram of an interaction flow of another ranging method provided in an embodiment of the present application;

[0082] FIG18 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0083] FIG19 is a schematic structural diagram of another communication device provided in an embodiment of the present application;

[0084] Figure 20 is a structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0085] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship. For example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences. At the same time, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0086] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0087] Before introducing the embodiments of the present application, some terms involved in the embodiments of the present application are explained.

[0088] Root mean square bandwidth (RMS BW): For a time domain signal s(t), its root mean square bandwidth is defined as:

[0089]

[0090] Where f is the frequency, S(f) is the Fourier transform (i.e., spectrum) of the signal, and |S(f)| 2 is the power spectral density of the signal. Signals with the same power and maximum frequency do not necessarily have the same RMS bandwidth. Taking Figure 1 as an example, signals A, B, and C have the same power but different power spectral density distributions, so their RMS bandwidths are different, in the following order: A < B <C。

[0091] Cramer-Rao lower bound (CRLB / CRB): Ranging systems typically use unbiased estimators for ranging, and CRLB is a lower bound on the variance of an unbiased estimator, describing the best performance that an unbiased estimator can achieve. Based on the CRLB principle, the lower bound of the accuracy ∈ of ranging using a signal s(t) under Gaussian white noise conditions is inversely proportional to the root mean square bandwidth of s(t) and also inversely proportional to the square root of the signal-to-noise ratio (SNR). That is, the larger the root mean square bandwidth and the larger the SNR, the smaller the lower bound of the ranging accuracy, the higher the ranging accuracy, and the better the ranging performance. It can be expressed as:

[0092]

[0093] Where α is a constant. Therefore, to achieve higher ranging accuracy, the received signal's SNR or RMS bandwidth should be increased. Existing signal power allocation methods typically distribute power evenly or within fixed frequency bands. The resulting power spectrum fails to maximize the product of the square root of the SNR and the RMS bandwidth, resulting in lower ranging accuracy.

[0094] Range ambiguity: Range ambiguity occurs when, in certain ranging situations, the ranging system is unable to determine which of multiple possible locations the target's true position is. The occurrence of range ambiguity is related to the ranging signal used by the ranging system. Different signals have different unambiguous ranges when used for ranging. For example, for a single-carrier signal, the unambiguous range is its wavelength; for a dual-carrier signal, the unambiguous range is the signal propagation speed divided by the frequency difference between the two carriers; and for an orthogonal frequency division multiplexing (OFDM) signal, the unambiguous range is the signal propagation speed divided by the interval between the subcarrier frequencies.

[0095] The premise for CRLB to measure ranging accuracy is that there is no range ambiguity. This is because when range ambiguity exists, the estimator of the ranging system may become biased, while CRLB is only applicable to unbiased estimators.

[0096] Line of sight (LOS) and non-line of sight (NLOS): The signal propagation path from the transmitter directly to the receiver is LOS, and the signal propagation path from the transmitter to the receiver after reflection from an object is NLOS.

[0097] Multipath environment: refers to the situation where the ranging signal can reach the receiver through both LOS and NLOS.

[0098] Ranging is achieved by sending a specific signal, receiving it, and measuring the signal's propagation distance. The devices that send and receive the signal are called transmitters and receivers, respectively. The transmitter and receiver can be the same device or different devices. The transmitter and receiver can be located in the same location, even sharing a common antenna, or they can be located separately; the former is called co-location, while the latter is called split-location. Ranging scenarios include both active and passive target ranging.

[0099] For example, as shown in Figure 2, the transmitter and receiver are different devices, and the ranging object is a receiver, which is a scenario where the transmitter and receiver are separated and there is active target ranging. As shown in Figure 3, the transmitter and receiver are the same device, and the ranging object is neither a transmitter nor a receiver, which is a scenario where the transmitter and receiver are co-located and there is passive target ranging. As shown in Figure 4, the transmitter and receiver are different devices, and the ranging object is neither a receiver nor a transmitter, which is a scenario where the transmitter and receiver are separated and there is passive target ranging. As shown in Figure 5, the transmitter and receiver are different devices, and the ranging object is neither a receiver nor a transmitter. Compared with the scenario shown in Figure 4, the difference is that the transmitter and receiver are of the same device type, but it is still a scenario where the transmitter and receiver are separated and there is passive target ranging.

[0100] For example, Figure 6 illustrates a ranging scenario with a bi-directional transmitter and receiver and a passive target. The base station acts as a transmitter, sending signals, and the terminal acts as a receiver. The terminal processes the received signal using matched filtering to determine the signal propagation distance. The measured distance consists of two values: the length of the Loss of Sight (LOS) and the length of the Non-Loss of Sight (NLOS). The LOS is the signal propagation path from the transmitter directly to the receiver, while the NLOS is the signal propagation path from the transmitter to the receiver after reflection from an object. Which of these two values ​​is used in practice depends on the specific application.

[0101] The process of the ranging method based on matched filtering is as follows: (1) the transmitter and receiver agree in advance to send a signal; (2) the transmitter sends a signal and the receiver receives the signal; (3) the receiver performs a matched filtering operation based on the agreed transmitted signal and estimates the delay of signal propagation. Finally, the signal propagation distance is calculated by the signal propagation speed and delay.

[0102] The process of matched filtering is shown in Figure 7, where x(t) is the transmitted signal and y(t) is the received signal formed after the transmitted signal x(t) passes through the channel. * (-t) is the filter coefficient used by the matched filter, and m(t) is the signal output by the matched filter. An example of the matched filter output is shown in Figure 8, where τ1 corresponds to the line-of-sight path and τ2 corresponds to the non-line-of-sight path. This output corresponds to the scenario in Figure 6, where the two peaks in the matched filter output correspond to the LOS and NLOS paths, respectively. The signal propagation speed is fixed. The time corresponding to the peak of the matched filter output can be used to estimate the signal propagation delay along a particular path (LOS or NLOS). This, combined with the signal propagation speed, can be used to estimate the multipath length, thus enabling ranging.

[0103] The distribution of signal power over frequency is called the power spectrum. Given the same power, different power spectra generally result in different RMS bandwidths. In a multipath environment, the channel is frequency-nonflat. As shown in Figure 9, the time-domain response of a multipath channel, h(t), contains two multipaths. The corresponding frequency-domain response, H(f), for this multipath channel is shown in Figure 10. As can be seen, the amplitude distribution in the frequency domain is no longer flat. When a signal passes through a frequency-nonflat channel, its power spectrum changes due to the effects of the channel, thereby altering the RMS bandwidth and SNR, ultimately affecting the signal's ranging accuracy.

[0104] The existing 5G NR standard specifies reference signals for positioning in the uplink and downlink: the SRS and PRS, respectively. These positioning reference signals can actually be used for ranging. In fact, positioning methods such as round trip time (RTT)-based positioning and time difference of arrival (TDOA)-based positioning are both based on ranging.

[0105] As shown in Figure 11, the SRS and PRS are evenly spaced in the frequency domain. Furthermore, both SRS and PRS have the same power across different frequencies. In a multipath environment, this power allocation scheme cannot adjust the signal power spectrum based on the channel response, resulting in poor ranging accuracy.

[0106] In an OFDM system, signal power is allocated to the K subcarriers on either side of the signal bandwidth, while no power is allocated to the subcarriers in the middle of the signal bandwidth, as shown in Figure 12. If the channel gain on the K subcarriers on either side of the signal bandwidth is very small, this power allocation scheme will result in almost no signal reception at the receiver. In a multipath environment, this power allocation scheme still cannot adjust the signal power spectrum according to the channel response, resulting in poor ranging accuracy.

[0107] In order to solve the above technical problems, an embodiment of the present application provides a ranging method. The method provided by the embodiment of the present application is described below in conjunction with the drawings in the specification.

[0108] The ranging method provided in the embodiments of the present application can be applied to various communication systems, such as LTE systems, 5G mobile communication systems, communication systems evolved after 5G, WiFi systems, or systems integrating multiple communication systems, etc., and the embodiments of the present application are not limited thereto. Among them, 5G can also be referred to as NR.

[0109] The ranging method provided in the embodiments of the present application can be applied to various communication scenarios, for example, it can be applied to one or more of the following communication scenarios: enhanced mobile broadband (eMBB), ultra-reliable low latency communication (URLLC), machine type communication (MTC), massive machine type communication (mMTC), device to device (D2D), vehicle to everything (V2X), vehicle to vehicle (V2V), and Internet of Things (IoT), etc.

[0110] The following describes the ranging method provided in an embodiment of the present application by taking the communication system shown in FIG13 as an example.

[0111] FIG13 is a schematic diagram of a communication system provided in an embodiment of the present application. As shown in FIG13 , the communication system may include:

[0112] The first communication device and the second communication device, wherein the first communication device can be a network device or a terminal, and the second communication device can also be a network device or a terminal; the network device can be a transmitter or a receiver; the terminal can be a transmitter or a receiver.

[0113] It should be noted that Figure 13 is only an exemplary framework diagram, and the number of nodes included in Figure 13 and the status of each node are not limited. In addition to the nodes shown in Figure 13, other nodes may also be included, such as core network devices, gateway devices, application servers, etc., without limitation. Terminals communicate with network devices via wired or wireless means, such as through next-generation (NG) interfaces.

[0114] Among them, the network device is a device with wireless transceiver functions, which is used to communicate with the terminal device, and can also be a device that connects the terminal device to the wireless network. The network device can be used to implement at least one function of resource scheduling, wireless resource management, and wireless resource control of the terminal. Specifically, the network device may include a node in the radio access network (also referred to as a base station, and also referred to as a radio access network (radio access network, RAN) node (or device)), a transceiver point (transmission receive point, TRP), a transmission point (transmission point, TP) and any other access node. In an embodiment of the present application, the device for implementing the function of the network device may be a network device; it may also be a device that can support the network device to implement the function, such as a chip system, which can be installed in the network device or used in combination with the network device.

[0115] Specifically, the network device can be an evolved Node B (eNB or eNodeB) in LTE; or a next generation node B (gNB) in a 5G network or a base station in a future evolved public land mobile network (PLMN), a broadband network gateway (BNG), an aggregation switch or a non-third generation partnership project (3GPP) access device, etc. Optionally, the network devices in the embodiments of the present application may include various forms of base stations, such as: macro base stations, micro base stations (also known as small stations), relay stations, access points, devices that implement base station functions in communication systems evolved after 5G, integrated access and backhaul (IAB) nodes, access points (APs) in WiFi systems, TRPs, TPs, mobile switching centers, and devices that perform base station functions in device-to-device (D2D), vehicle-to-everything (V2X), and machine-to-machine (M2M) communications, etc., and may also include centralized units (CUs) and distributed units (DUs) in cloud radio access networks (C-RAN) systems, and network devices in non-terrestrial networks (NTN) communication systems, that is, they can be deployed on high-altitude platforms or satellites; they can also be various types of devices that constitute access nodes, such as active antenna units (AAUs) and baseband units (BBUs). This embodiment of the present application does not specifically limit this.

[0116] In the implementation of this application, a terminal device is a device with wireless transceiver capabilities, and may specifically refer to user equipment (UE), access terminal, subscriber unit, user station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device. The terminal device can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; can also be deployed on water (such as ships); and can also be deployed in the air (such as aircraft, balloons, and satellites). The terminal device can be a cellular phone, a mobile phone, a tablet computer (pad), a wireless data card, a wireless modem, a satellite terminal, a vehicle-mounted device, a wearable device, a drone, a robot, a smart point of sale (POS) machine, a customer-premises equipment (CPE), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a terminal device in industrial control, a terminal device in self-driving, a terminal device in remote medical, a terminal device in a smart grid, a terminal in transportation safety, a terminal device in a smart city, and a terminal in a smart home.

[0117] In an embodiment of the present application, the device for realizing the function of the terminal device may be a terminal, or a device that can support the terminal to realize the function, such as a chip system, which may be installed in the terminal or used in combination with the terminal.

[0118] FIG14 shows a schematic diagram of the interaction process of the ranging method provided in an embodiment of the present application. As shown in FIG14 , the method may include the following steps:

[0119] S141, the network device sends a second ranging signal and information corresponding to the second ranging signal to the terminal. Correspondingly, the terminal receives a first ranging signal and information corresponding to the second ranging signal from the network device, where the first ranging signal is formed after the second ranging signal passes through the channel.

[0120] The information corresponding to the second ranging signal is used to indicate the time domain sequence or frequency domain sequence of the second ranging signal; the first ranging signal is the signal formed after the second ranging signal sent by the network device passes through the channel. The time domain sequence includes a discrete sequence obtained by discretizing the second ranging signal in the time domain through time and amplitude; the frequency domain sequence includes the resource units of the second ranging signal in the frequency domain and the values ​​corresponding to the resource units. The time domain sequence or frequency domain sequence of the second ranging signal is determined based on channel state information measured by the first communication device; the channel state information may be obtained by the first communication device through channel estimation.

[0121] The resource unit may be one of a subcarrier, a resource block (RB), a component carrier (CC), or a bandwidth partition (BWP).

[0122] After introducing step S142, the process of generating the second ranging signal will be described.

[0123] S142: The terminal performs ranging according to the time domain sequence or the frequency domain sequence of the first ranging signal and the second ranging signal.

[0124] In this case, the network device and the terminal pre-agree on the time to send the second ranging signal. The terminal performs a matched filtering operation or other algorithm operation (for example, Gauss-Newton search method, maximum likelihood estimation method, etc.) based on the received first ranging signal and estimates the signal propagation delay. Finally, the signal propagation distance is calculated by the signal propagation speed and delay.

[0125] In an embodiment of the present application, ranging is performed using information of a second ranging signal (used to indicate a time domain sequence or a frequency domain sequence) and a first ranging signal formed after the second ranging signal passes through a channel, and the time domain sequence or frequency domain sequence is determined based on channel state information measured by the first communication device. That is, the time domain sequence or frequency domain sequence of the ranging signal can be dynamically selected based on the channel state to improve ranging accuracy.

[0126] The following describes the generation process of the second ranging signal. As shown in Figure 15, the terminal first calculates the power allocation priority of each resource unit based on the channel state information corresponding to each resource unit, and then sorts each resource unit according to the power allocation priority to obtain an ordered resource unit set, and then sends the ordered resource unit set to the network device for the network device to generate the second ranging signal based on the ordered resource unit set. Accordingly, the method provided in the embodiment of the present application may also include:

[0127] S153: The terminal calculates the power allocation priority of each resource unit according to the channel state information corresponding to each resource unit.

[0128] Each resource unit may be a resource unit pre-allocated to the terminal by the network device or a resource unit in the first resource unit set S1 indicated by the network device.

[0129] S154: The terminal sorts the resource units according to the power allocation priority to obtain an ordered resource unit set.

[0130] The ordered resource unit set indicates the resource unit and the power allocation priority corresponding to the resource unit. For example, based on existing communication protocols, a terminal typically uses one component carrier or one subband for ranging, and a terminal typically uses multiple resource blocks or subcarriers for ranging. If the resource unit is a component carrier or subband, the ordered resource unit set includes the component carrier with the highest priority or the subband with the highest priority; if the resource unit is a resource block or subcarrier, the ordered resource unit set includes at least one resource block or subcarrier with a higher priority.

[0131] In the embodiments of the present application, taking into account that in actual application scenarios, resource units may be subcarriers, resource blocks, component carriers, or subbands, ordered resource unit sets are designed for various resource unit types, so that the embodiments of the present application can be applied to multiple communication scenarios.

[0132] In one possible implementation, considering that some communication systems have large restrictions on communication resources, such as integrated communication and perception systems, when the resource units in the ordered resource unit set are not unique (for example, the resource units are resource blocks or subcarriers), first information can be pre-set in the terminal. The first information indicates the maximum number of resource units included in the ordered resource unit set, thereby satisfying the communication system's restrictions on communication resources. Alternatively, the first information can also be indicated to the terminal by a network device, that is, the network device sends the first information to the terminal, and the terminal receives the first information accordingly.

[0133] In an embodiment of the present application, the maximum number of resource units included in the ordered resource unit set is limited by setting the first information, thereby reducing the number of ordered resource units in the ordered resource unit set, thereby consuming fewer signaling resources when transmitting the ordered resource units, and meeting the requirements of a communication system with greater restrictions on communication resource occupation.

[0134] The following describes how to calculate power allocation priorities for different resource units:

[0135] In the case where the resource unit is a subcarrier, the channel state information includes: the frequency f of each subcarrier k The channel amplitude value h on k, the power allocation priority of the resource unit p k It can be calculated by the following formula:

[0136] p k =|h k f k |.

[0137] In the case where the resource unit is a resource block, component carrier, or subband, the channel state information includes: the frequency f of each subcarrier in the resource block, component carrier, or subband k The channel amplitude value h on k , the size p of the power allocation priority of the resource block, component carrier, or subband j Calculated by the following formula:

[0138]

[0139] The power allocation priority can be calculated by the above formula. The corresponding resource units are sorted from front to back according to the power allocation priority from large to small, and the ordered resource unit set S2 can be obtained.

[0140] In the embodiment of the present application, methods for calculating the power allocation priority of resource units are designed according to different types of resource units, which can be applied to various communication scenarios.

[0141] In a possible implementation, the frequency in the above formula may be a baseband frequency or a radio frequency frequency.

[0142] The specific frequency to be used for calculation may be preset by the terminal or determined by the terminal itself, or the network device may indicate second information to the terminal, where the second information is used to indicate whether to use the baseband frequency or the radio frequency frequency.

[0143] Baseband frequencies are commonly used in the initial measurement phase of a range measurement target, when the target's position is uncertain. In this case, using baseband frequencies for ranging provides a wider range and allows for rapid target lock-on and distance measurement. RF frequencies are commonly used in the ongoing measurement phase of a range measurement target, when the approximate target position is known and the target's movement between the current and previous measurements is assumed to be minimal. In this case, RF frequencies can be used for ranging, offering higher accuracy.

[0144] S155 , the terminal sends an ordered resource unit set to the network device, and correspondingly, the network device receives the ordered resource unit set from the terminal.

[0145] The ordered resource unit set is a type of information indicating resource units and the power allocation priorities corresponding to the resource units. The information may be in various forms, such as a table or an ordered resource unit number / index. For example, the ordered resource unit set may be S2 = {2, 8, 10, 3, 9, 1, 7, 4, 6, 5}, where each item in "2, 8, 10, 3, 9, 1, 7, 4, 6, 5" identifies a resource unit, and the order of the items indicates the power allocation priorities corresponding to the resource units, for example, in descending order from the front to the back, or in increasing order from the front to the back.

[0146] S156 , the network device allocates the maximum power within the allowed power range to each resource unit in sequence according to the order of each resource unit in the ordered resource unit set, to obtain a non-zero power resource unit set S3 and a corresponding power value set P3 .

[0147] For example, if the total power limit is 100 mW and the maximum power within the allowed power range is 40 mW, then when the ordered resource unit set S2 = {2, 8, 10, 3, 9, 1, 7, 4, 6, 5}, the network device first allocates 40 mW of power to resource unit 2, then allocates 40 mW of power to resource unit 8, and finally allocates the remaining 20 mW of power to resource unit 10. The remaining resource units are not allocated power, and finally the non-zero power resource unit set S3 = {2, 8, 10} and the corresponding power value set P3 = {40 mW, 40 mW, 20 mW} are obtained.

[0148] The above-mentioned power allowable range may be pre-agreed upon by the communication system or specified by an agreement.

[0149] S157: The network device allocates power to each resource unit according to the non-zero power resource unit set and the corresponding power value set, generates a second ranging signal, and executes S141-S142.

[0150] In an embodiment of the present application, the terminal calculates the power allocation priority of each resource unit based on the channel state information corresponding to each resource unit. The channel state information corresponds to the communication characteristics of the resource unit of the terminal, which is obtained by the terminal through channel estimation. The terminal directly calculates the power allocation priority of each resource unit based on the channel state information. The channel state information based on which the calculation is based is more accurate, and the calculated power allocation priority is more in line with the actual state of the channel. In addition, the terminal does not need to feedback the channel state information for the above-mentioned resource units to other devices, and the feedback overhead is low.

[0151] The above mainly introduces the scenario of generating an ordered resource unit set from the terminal side. In another feasible implementation method, an ordered resource unit set can also be generated on the network device side. Compared with generating an ordered resource unit set on the terminal side, the generation principle of the ordered resource unit set on the network device side is the same as that on the terminal side, except that the execution subject and some interaction processes have changed. The following introduces the generation of an ordered resource unit set on the network device side from the perspective of the execution process. The specific generation principle can refer to the description on the terminal side and will not be repeated here. Accordingly, as shown in Figure 16, the method provided in the embodiment of the present application may also include:

[0152] S163: The terminal sends the channel state information corresponding to each resource unit occupied by the terminal to the network device. Correspondingly, the network device receives the channel state information from the terminal.

[0153] S164: The network device calculates the power allocation priority of each resource unit according to the channel state information corresponding to each resource unit.

[0154] S165 , the network device sorts the resource units according to the power allocation priority to obtain an ordered resource unit set.

[0155] In which, the first information can be pre-set in the network device, and the first information indicates the number of resource units that can be included in the ordered resource unit set when the resource units in the ordered resource unit set are not unique (for example, the resource units are resource blocks or subcarriers), thereby meeting the communication system's restrictions on communication occupied resources.

[0156] The above S163-S165 can replace S153-S155 in S153-S157 and is applicable to subsequent steps.

[0157] In an embodiment of the present application, the network device calculates the power allocation priority of each resource unit based on the channel state information corresponding to each resource unit, which is compatible with the protocol (or standard) of the existing communication system, and requires minor changes to the protocol (or standard) of the existing communication system to apply the ranging method provided in the embodiment of the present application.

[0158] In another possible implementation, a network device or terminal may pre-store multiple power allocation strategies, and select a power allocation strategy from the multiple power allocation strategies that maximizes the product of the square root of the SNR and the root mean square bandwidth, and use the resource units indicated by the power allocation strategy for generating a time domain sequence or a frequency domain sequence. The following is an example in which the subject of selecting the maximized power allocation strategy is a terminal. Accordingly, as shown in FIG17 , the generation process of the time domain sequence or the frequency domain sequence may include:

[0159] S171: The terminal calculates the power allocation priority of the resource units indicated by each power allocation strategy according to the channel state information corresponding to each resource unit.

[0160] The terminal is pre-configured with various power allocation strategies q. For example, each power allocation strategy q may be as shown in Table 1, where {} indicates one or a group of resource elements, including multiple power allocation strategies q. Each power allocation strategy q specifies which resource elements of the ranging signal can be allocated power and which resource elements cannot be allocated power. In other words, each power allocation strategy specifies a set of resource elements to which power can be allocated. Index N indicates the corresponding power allocation strategy.

[0161] Table 1

[0162]

[0163] Furthermore, the power allocation priority p of each power allocation strategy q is calculated q It can be calculated by the following formula:

[0164]

[0165] Where k represents the subcarrier number in the resource unit indicated by the power allocation strategy, w k is the power allocated to subcarrier k, h k is the value of frequency domain channel H at subcarrier k, f k is the frequency of subcarrier k.

[0166] S172: The terminal sends a power allocation policy indicated by a power allocation policy with the largest power allocation priority value to the network device. Correspondingly, the network device receives the power allocation policy indicated by the power allocation policy with the largest power allocation priority value from the terminal.

[0167] If the network device is also pre-configured with various power allocation strategies q shown in Table 1, then the index of the power allocation strategy indicating the power allocation strategy with the largest power allocation priority value may be sent in S152. The network device can determine the corresponding power allocation strategy based on the index.

[0168] In the embodiment of the present application, the terminal sends a power allocation strategy indicating a power allocation strategy with the largest power allocation priority value to the network device, which requires less signaling overhead and saves channel overhead.

[0169] S173: The network device allocates power to each resource unit according to the power allocation strategy indicated by the power allocation strategy with the largest power allocation priority value, generates a second ranging signal, and executes S141-S142.

[0170] In the embodiment of the present application, the power allocation strategy indicated by the power allocation strategy having the largest power allocation priority value indicated by the sending index requires less signaling overhead, thereby saving channel overhead.

[0171] In another feasible manner, the subject for selecting a power allocation strategy for maximization may also be a network device. Although the execution subject has changed, the selection principle is consistent with the terminal selection and will not be repeated here.

[0172] To help understand why prioritizing power allocation to resource units with higher power allocation priorities calculated based on channel state information can improve ranging accuracy, the following describes the implementation principle based on the channel model:

[0173] First, let’s introduce the channel model. Assume there is 1 LOS and M NLOS in the channel, and the complex gain of each multipath is α i , the delay is τ i , i=0,1,…,M, time is t, unit impulse function is δ(t), then the time domain channel is

[0174]

[0175] The multipath delay is divided into two parts: the overall delay and the relative delay, that is, an overall delay τ ref For reference,

[0176] τ i =τ ref +Δτ i

[0177] Then the time domain channel can be expressed as (where * represents convolution)

[0178]

[0179] The reference time domain channel is defined as:

[0180]

[0181] Then the time domain channel can be expressed as

[0182] h(t)=h ref (t)*δ(t-τ ref )=h ref (t-τ ref )

[0183] It can be understood that the overall delay τ ref The relationship with the time-frequency domain channel is as follows:

[0184] h ref (t) describes the time domain shape of the channel, τ refis the overall delay of the time domain shape;

[0185] Correspondingly, the frequency domain reference channel H ref (f) is:

[0186]

[0187] It describes the frequency domain shape of the channel;

[0188]

[0189] Describes τ ref The phase rotation brought about (different frequencies have different phase rotations), where j is an imaginary unit.

[0190] Next, we introduce the system model. Assuming that the transmitted signal is x(t), and the transmitting and receiving clocks are synchronized, the received signal is

[0191] y(t)=x(t)*h(t)

[0192] The receiver applies matched filtering to y(t) using x(t), yielding one or more peaks. Each peak corresponds to a time delay. If multipath is resolvable, each time delay corresponds to an estimate of the multipath delay and, therefore, the length of that multipath.

[0193] Then, the problem is: let the real delay of a multipath be τ ref , how to optimize x(t) to improve τ ref What is the estimated accuracy?

[0194] A preliminary analysis is as follows. Because the transmit and receive clocks are synchronized, the receiver can estimate the time domain channel h(t) and the frequency domain channel H(f). The received signal can be decomposed into:

[0195] y(t)=x(t)*h(t)=x(t)*h ref (t)*δ(t-τ ref )=z(t)*δ(t-τ ref )=z(t-τ ref )

[0196] It can be observed that optimizing x(t) is essentially optimizing z(t) to achieve the best delay estimation accuracy.

[0197] Next, we will deduce in detail how to optimize x(t). According to CRB, we use z(t) to estimate the delay accuracy.

[0198]

[0199] in, is the RMS bandwidth, and Z(f) is the spectrum of z(t). is SNR, P n is the noise power.

[0200] In order to facilitate analysis, the system model is transformed from the time domain

[0201] z(t)=x(t)*h ref (t)

[0202] Transform to frequency domain

[0203] Z(f)=X(f)·H ref (f)

[0204] Then minimizing the accuracy ∈ is equivalent to the following optimization problem about X(f), which is to adjust X(f) to maximize |Z(f)| 2 f 2 The corresponding formula for integration in the frequency domain is:

[0205]

[0206] A typical form of the above optimization problem is that for multi-carrier systems such as OFDM, the minimization accuracy ∈ is achieved by adjusting the power w allocated to subcarrier k. k To maximize The sum on each subcarrier is expressed as:

[0207]

[0208]

[0209] Where k is the subcarrier number, w k The power allocated to subcarrier k, h k is the amplitude of the channel at subcarrier k, f k is the frequency of subcarrier k, and W is the total power limit.

[0210] The power allocation strategy obtained by solving the optimization problem is: Under the condition of meeting the power limit, power is allocated to (in, with |h k f k |positive correlation) larger subcarrier, the ranging accuracy ∈ can be minimized.

[0211] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of interaction between each node. It is understandable that each node, such as the first terminal, the first network device, and the second network device, in order to implement the above functions, includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily appreciate that, in combination with the algorithm steps of each example described in the embodiment disclosed herein, the method of the embodiment of the present application can be implemented in the form of hardware, software, or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0212] The embodiments of the present application can divide the network devices and terminals into functional modules according to the above-mentioned method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.

[0213] In specific implementations, the network elements shown in this application, such as network devices and terminals, may adopt the structure shown in Figure 18 or include the components shown in Figure 18. Figure 18 is a schematic diagram of the structure of a communication device provided in an embodiment of this application. When the communication device has the functions of the network device described in an embodiment of this application, the communication device may be a network device or a chip or system-on-chip in the network device. When the communication device has the functions of the terminal described in an embodiment of this application, the communication device may be a terminal or a chip or system-on-chip in the terminal.

[0214] As shown in Figure 18 , the communication device may include a processor 1801, a communication line 1802, and a transceiver 1803. The processor 1801, the memory 1804, and the transceiver 1803 may be connected via the communication line 1802. In one example, the processor 1801 may include one or more CPUs, such as CPU0 and CPU1 in Figure 18 .

[0215] As an optional implementation, the communication device 1800 includes multiple processors. For example, in addition to the processor 1801 in FIG. 18 , it may also include a processor 1807 .

[0216] The processor 1801 may be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 1801 may also be other devices with processing capabilities, such as circuits, devices, or software modules.

[0217] The communication line 1802 is used to transmit information between the various components included in the communication device 1800.

[0218] Transceiver 1803 is used to communicate with other devices or other communication networks. Such other communication networks may be Ethernet, radio access networks (RAN), wireless local area networks (WLAN), etc. Transceiver 1803 may be an interface circuit, a pin, a radio frequency module, a transceiver, or any other device capable of communication.

[0219] Furthermore, the communication device 1800 may further include a memory 1804. The memory 1804 is configured to store instructions, wherein the instructions may be computer programs.

[0220] Among them, the memory 1804 can be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage, magnetic disk storage media or other magnetic storage devices, and optical disc storage includes compact disc, laser disc, optical disc, digital versatile disc, or Blu-ray disc, etc.

[0221] It should be noted that memory 1804 can exist independently of processor 1801 or can be integrated with processor 1801. Memory 1804 can be used to store instructions, program code, or some data. Memory 1804 can be located within or outside of communication device 1800, without limitation. When processor 1801 executes the instructions stored in memory 1804, the method provided in the embodiments of the present application can be implemented.

[0222] As an optional implementation, the communication device 1800 further includes an output device 1805 and an input device 1806. For example, the input device 1806 is a keyboard, a mouse, a microphone, or a joystick, and the output device 1805 is a display screen, a speaker, or the like.

[0223] It should be noted that the communication device may be an embedded device, a chip system, or a device having a structure similar to that shown in FIG18 . Furthermore, the component structure shown in FIG18 does not limit the communication device. In addition to the components shown in FIG18 , the communication device may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0224] In the embodiment of the present application, the chip system can be composed of chips, or can include chips and other discrete devices.

[0225] Figure 19 shows a structural diagram of a distance measuring device, which is applied to the first communication device of a network device. Each module in the device shown in Figure 19 has the function of implementing the corresponding steps in Figures 14 to 17 and can achieve its corresponding technical effects. The beneficial effects of the corresponding steps executed by each module can be referred to the description of the corresponding steps in Figures 14 to 17, and will not be repeated here. The functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The distance measuring device may include:

[0226] The receiving module 191 is configured to receive the first ranging signal and information corresponding to the second ranging signal from the second communication device.

[0227] The information is used to indicate a time domain sequence or a frequency domain sequence of the second ranging signal; the time domain sequence or the frequency domain sequence is determined based on the channel state information measured by the first communication device; the first ranging signal is a signal formed after the second ranging signal sent by the second communication device passes through the channel.

[0228] The processing module 192 is configured to perform ranging according to the time domain sequence or the frequency domain sequence of the first ranging signal and the second ranging signal.

[0229] In one implementation, the time domain sequence includes a discrete sequence obtained by discretizing the second ranging signal in the time domain in terms of time and amplitude;

[0230] The frequency domain sequence includes resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units.

[0231] In one implementation, the time domain sequence or frequency domain sequence of the second ranging signal is determined according to the power allocation priority of the resource unit of the first communication device; the power allocation priority is determined according to the channel state information corresponding to the resource unit.

[0232] In one implementation, the device further includes a sending module configured to send an ordered resource unit set to the second communication device; the ordered resource unit set indicates the resource units and power allocation priorities corresponding to the resource units.

[0233] In one implementation, the receiving module 191 is further configured to receive a first set of resource units from a second communication device; the ordered set of resource units is selected from the first set of resource units.

[0234] In one implementation, a resource unit includes any one of the following: a subcarrier, a resource block, a component carrier, and a subband.

[0235] In one implementation, when the resource unit is a subcarrier or a resource block, the receiving module 191 is further configured to receive first information from the second communication device.

[0236] The first information is used to determine the number of subcarriers or the number of resource blocks.

[0237] In one implementation, when the resource unit is a component carrier or a subband, the ordered resource unit set includes a component carrier with the highest priority or a subband with the highest priority.

[0238] In one implementation, when the resource unit is a subcarrier, the channel state information includes: the frequency f of each subcarrier k The channel amplitude value h on k , the power allocation priority of the resource unit p k Calculated by the following formula:

[0239] p k =|h k f k |.

[0240] In one implementation, when the resource unit is a resource block, a component carrier, or a subband, the channel state information includes: the frequency f of each subcarrier in the resource block, component carrier, or subband. k The channel amplitude value h on k, the size p of the power allocation priority of the resource block, component carrier, or subband j Calculated by the following formula:

[0241]

[0242] In one implementation, the frequency is a baseband frequency or a radio frequency frequency. The receiving module 191 is further configured to receive second information from a second communication device.

[0243] The second information is used to indicate whether to use baseband frequency or radio frequency to determine the power allocation priority.

[0244] Figure 20 shows a structural diagram of another ranging device, which is applied to the second communication device of the terminal. Each module in the device shown in Figure 20 has the function of implementing the corresponding steps in Figures 14 to 17 and can achieve its corresponding technical effects. The beneficial effects of the corresponding steps executed by each module can be referred to the description of the corresponding steps in Figures 14 to 17, and will not be repeated here. The functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The ranging device may include:

[0245] The sending module 201 is configured to send a second ranging signal and information corresponding to the second ranging signal to the first communication device.

[0246] The information is used to indicate a time domain sequence or a frequency domain sequence of the second ranging signal; the time domain sequence or the frequency domain sequence is determined according to the channel state information measured by the first communication device.

[0247] In one implementation, the time domain sequence includes a discrete sequence obtained by discretizing the second ranging signal in the time domain in terms of time and amplitude; the frequency domain sequence includes resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units.

[0248] In one implementation, the time domain sequence or frequency domain sequence of the second ranging signal is determined according to the power allocation priority of the resource unit of the first communication device; the power allocation priority is determined according to the channel state information corresponding to the resource unit.

[0249] In one implementation, the apparatus further includes a receiving module 202 configured to receive an ordered resource unit set from the first communication apparatus; the ordered resource unit set indicates resource units and power allocation priorities corresponding to the resource units.

[0250] In one implementation, the sending module 201 is further configured to send a first resource unit set to the first communication device; the ordered resource unit set is selected from the first resource unit set.

[0251] In one implementation, a resource unit includes any one of the following: a subcarrier, a resource block, a component carrier, and a subband.

[0252] In one implementation, the sending module 201 is further used to send first information to the first communication device when the resource unit is a subcarrier or a resource block; the first information is used to determine the number of subcarriers or the number of resource blocks.

[0253] In one implementation, when the resource unit is a component carrier or a subband, the ordered resource unit set includes a component carrier with the highest priority or a subband with the highest priority.

[0254] In one implementation, when the resource unit is a subcarrier, the channel state information includes: the frequency f of each subcarrier k The channel amplitude value h on k , the power allocation priority of the resource unit p k Calculated by the following formula:

[0255] p k =|h k f k |.

[0256] In one implementation, when the resource unit is a resource block, a component carrier, or a subband, the channel state information includes: the frequency f of each subcarrier in the resource block, component carrier, or subband. k The channel amplitude value h on k , the size p of the power allocation priority of the resource block, component carrier, or subband j Calculated by the following formula:

[0257]

[0258] In one implementation, the frequency is a baseband frequency or a radio frequency frequency; the sending module 201 is further used to send second information to the first communication device, where the second information is used to indicate whether to use the baseband frequency or the radio frequency frequency to determine the power allocation priority.

[0259] The present application also provides a communication system, which is a communication system corresponding to a ranging scenario and may include: a network device and a terminal. The network device may have the functions of the first communication device described above, and the terminal may have the functions of the second communication device described above.

[0260] The embodiments of the present application also provide a computer-readable storage medium. All or part of the processes in the above-mentioned method embodiments can be completed by a computer program to instruct the relevant hardware, and the program can be stored in the above-mentioned computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned method embodiments. The computer-readable storage medium can be a terminal device of any of the above-mentioned embodiments, such as: an internal storage unit including a data sending end and / or a data receiving end, such as a hard disk or memory of the terminal device. The above-mentioned computer-readable storage medium can also be an external storage device of the above-mentioned terminal device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above-mentioned terminal device. Furthermore, the above-mentioned computer-readable storage medium can also include both the internal storage unit of the above-mentioned terminal device and an external storage device. The above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned terminal device. The above-mentioned computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.

[0261] The present application also provides a computer instruction. All or part of the process in the above method embodiment can be completed by the computer instruction to instruct the relevant hardware (such as a computer, processor, network device, and terminal, etc.). The program can be stored in the above computer-readable storage medium.

[0262] The present application also provides a chip system. This chip system can be composed of a chip, or can include a chip and other discrete devices, without limitation. The chip system includes a processor and a transceiver. All or part of the processes in the above method embodiments can be completed by the chip system. For example, the chip system can be used to implement the functions performed by the network device in the above method embodiments, or to implement the functions performed by the terminal in the above method embodiments.

[0263] In one possible design, the above-mentioned chip system also includes a memory, which is used to store program instructions and / or data. When the chip system is running, the processor executes the program instructions stored in the memory to enable the chip system to perform the functions performed by the network device in the above-mentioned method embodiment or the functions performed by the terminal in the above-mentioned method embodiment.

[0264] In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, a baseband processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0265] In an embodiment of the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or a volatile memory (volatile memory), such as a random-access memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in an embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing instructions and / or data.

[0266] It should be noted that the terms "first" and "second" in the specification, claims, and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products, or devices.

[0267] Unless otherwise specified, the "transmission" (transmit / transmission) appearing in the embodiments of the present application refers to bidirectional transmission, including the actions of sending and / or receiving. Specifically, the "transmission" in the embodiments of the present application includes the sending of data, the receiving of data, or the sending of data and the receiving of data. In other words, the data transmission here includes uplink and / or downlink data transmission. Data may include channels and / or signals, uplink data transmission is uplink channel and / or uplink signal transmission, and downlink data transmission is downlink channel and / or downlink signal transmission. The "network" and "system" appearing in the embodiments of the present application express the same concept, and the communication system is the communication network.

[0268] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0269] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0270] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0271] In addition, each frequency unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software frequency unit. If the integrated unit is implemented in the form of a software frequency unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device, such as a single-chip microcomputer, a chip, etc., or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0272] The above is only a specific embodiment of the present application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A distance measurement method, characterized in that: The method comprises: A first communication device receives a first ranging signal and information corresponding to a second ranging signal from a second communication device; the information is used to indicate a time domain sequence or a frequency domain sequence of the second ranging signal; the time domain sequence or the frequency domain sequence is determined based on channel state information measured by the first communication device; wherein the first ranging signal is a signal formed by the second ranging signal sent by the second communication device after passing through a channel; Ranging is performed according to a time domain sequence or a frequency domain sequence of the first ranging signal and the second ranging signal.

2. The distance measurement method according to claim 1, wherein: The time domain sequence includes a discrete sequence obtained by discretizing the second ranging signal in the time domain through time and amplitude; The frequency domain sequence includes resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units.

3. The distance measurement method according to claim 1, wherein: The time domain sequence or frequency domain sequence of the second ranging signal is determined according to the power allocation priority of the resource unit of the first communication device; and the power allocation priority is determined according to the channel state information corresponding to the resource unit.

4. The distance measurement method according to claim 3, characterized in that: The method further comprises: An ordered resource unit set is sent to the second communication device; the ordered resource unit set indicates the resource units and the power allocation priorities corresponding to the resource units.

5. The distance measurement method according to claim 4, characterized in that: The method further comprises: receiving a first set of resource units from the second communication device; The ordered resource unit set is selected from the first resource unit set.

6. The distance measurement method according to any one of claims 2 to 4, characterized in that: The resource unit includes any one of the following: Subcarrier, resource block, component carrier, and subband.

7. The distance measurement method according to claim 6, characterized in that: The method further comprises: In the case where the resource unit is a subcarrier or a resource block, first information is received from the second communication device; the first information is used to determine the number of the subcarriers or the number of the resource blocks.

8. The distance measurement method according to claim 4 or 5, characterized in that: In a case where the resource unit is a component carrier or a subband, the ordered resource unit set includes a component carrier with the highest priority or a subband with the highest priority.

9. The distance measurement method according to any one of claims 2 to 8, characterized in that: In the case where the resource unit is a subcarrier, the channel state information includes: the frequency f of each subcarrier k The channel amplitude value h on k , the size p of the power allocation priority of the resource unit k Calculated by the following formula: p k =|h k f k |。 10. The distance measurement method according to any one of claims 2 to 8, characterized in that: In the case where the resource unit is a resource block, a component carrier, or a subband, the channel state information includes: the frequency f of each subcarrier in the resource block, the component carrier, or the subband k The channel amplitude value h on k , the size p of the power allocation priority of the resource block, the component carrier, or the subband j Calculated by the following formula:

11. The distance measurement method according to claim 9 or 10, characterized in that: The frequency is a baseband frequency or a radio frequency frequency; the method further includes: receiving second information from a second communication device, wherein the second information is used to indicate whether the baseband frequency or the radio frequency frequency is used to determine the power allocation priority.

12. A distance measurement method, characterized in that: The method comprises: The second communication device generates a second ranging signal; The second communication device sends the second ranging signal and information corresponding to the second ranging signal to the first communication device; the information is used to indicate a time domain sequence or a frequency domain sequence of the second ranging signal; the time domain sequence or the frequency domain sequence is determined based on the channel state information measured by the first communication device.

13. The distance measurement method according to claim 12, characterized in that: The time domain sequence includes a discrete sequence obtained by discretizing the second ranging signal in the time domain through time and amplitude; The frequency domain sequence includes resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units.

14. The distance measurement method according to claim 12, wherein: The time domain sequence or frequency domain sequence of the second ranging signal is determined according to the power allocation priority of the resource unit of the first communication device; and the power allocation priority is determined according to the channel state information corresponding to the resource unit.

15. The distance measurement method according to claim 14, characterized in that: The method further comprises: An ordered set of resource units is received from the first communication device; the ordered set of resource units indicates the resource units and the power allocation priorities corresponding to the resource units.

16. The distance measurement method according to claim 15, characterized in that: The method further comprises: A first set of resource units is sent to the first communication device; the ordered set of resource units is selected from the first set of resource units.

17. The distance measurement method according to any one of claims 13 to 15, characterized in that: The resource unit includes any one of the following: Subcarrier, resource block, component carrier, and subband.

18. The distance measurement method according to claim 17, characterized in that: The method further comprises: In the case where the resource unit is a subcarrier or a resource block, first information is sent to the first communication device; the first information is used to determine the number of the subcarriers or the number of the resource blocks.

19. The distance measurement method according to claim 15 or 16, characterized in that: In a case where the resource unit is a component carrier or a subband, the ordered resource unit set includes a component carrier with the highest priority or a subband with the highest priority.

20. The distance measurement method according to any one of claims 13 to 19, characterized in that: In the case where the resource unit is a subcarrier, the channel state information includes: the frequency f of each subcarrier k The channel amplitude value h on k , the size p of the power allocation priority of the resource unit k Calculated by the following formula: p k =|h k f k |。 21. The distance measurement method according to any one of claims 13 to 19, characterized in that: In the case where the resource unit is a resource block, a component carrier, or a subband, the channel state information includes: the frequency f of each subcarrier in the resource block, the component carrier, or the subband k The channel amplitude value h on k , the size p of the power allocation priority of the resource block, the component carrier, or the subband j Calculated by the following formula:

22. The distance measurement method according to claim 20 or 21, characterized in that: The frequency is a baseband frequency or a radio frequency frequency; the method further includes: sending second information to the first communication device, where the second information is used to indicate whether the baseband frequency or the radio frequency frequency is used to determine the power allocation priority.

23. A distance measuring device, characterized in that: The device comprises: a receiving module, configured to receive a first ranging signal and information corresponding to a second ranging signal from a second communication device; the information being used to indicate a time domain sequence or a frequency domain sequence of the second ranging signal; the time domain sequence or the frequency domain sequence being determined based on channel state information measured by the first communication device; wherein the first ranging signal is a signal formed after the second ranging signal sent by the second communication device passes through a channel; A processing module is configured to perform ranging according to a time domain sequence or a frequency domain sequence of the first ranging signal and the second ranging signal.

24. The distance measuring device according to claim 23, characterized in that The time domain sequence includes a discrete sequence obtained by discretizing the second ranging signal in the time domain through time and amplitude; The frequency domain sequence includes resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units.

25. The distance measuring device according to claim 23, characterized in that The time domain sequence or frequency domain sequence of the second ranging signal is determined according to the power allocation priority of the resource unit of the first communication device; and the power allocation priority is determined according to the channel state information corresponding to the resource unit.

26. The distance measuring device according to claim 25, characterized in that The device further includes a sending module configured to send an ordered resource unit set to the second communication device; the ordered resource unit set indicates the resource units and the power allocation priorities corresponding to the resource units.

27. The distance measuring device according to claim 26, characterized in that The receiving module is further configured to receive a first resource unit set from the second communication device; the ordered resource unit set is selected from the first resource unit set.

28. The distance measuring device according to any one of claims 24 to 26, characterized in that: The resource unit includes any one of the following: Subcarrier, resource block, component carrier, and subband.

29. The distance measuring device according to claim 28, characterized in that In the case where the resource unit is a subcarrier or a resource block, the receiving module is further used to receive first information from the second communication device; the first information is used to determine the number of the subcarriers, or determine the number of the resource blocks.

30. The distance measuring device according to claim 26 or 27, characterized in that: In a case where the resource unit is a component carrier or a subband, the ordered resource unit set includes a component carrier with the highest priority or a subband with the highest priority.

31. The distance measuring device according to any one of claims 24 to 30, characterized in that: In the case where the resource unit is a subcarrier, the channel state information includes: the frequency f of each subcarrier k The channel amplitude value h on k , the size p of the power allocation priority of the resource unit k Calculated by the following formula: p k =|h k f k |。 32. The distance measuring device according to any one of claims 24 to 30, characterized in that: In the case where the resource unit is a resource block, a component carrier, or a subband, the channel state information includes: the frequency f of each subcarrier in the resource block, the component carrier, or the subband k The channel amplitude value h on k , the size p of the power allocation priority of the resource block, the component carrier, or the subband j Calculated by the following formula:

33. The distance measuring device according to claim 31 or 32, characterized in that: The frequency is a baseband frequency or a radio frequency frequency; the receiving module is further used to receive second information from a second communication device, where the second information is used to indicate whether the baseband frequency or the radio frequency frequency is used to determine the power allocation priority.

34. A distance measuring device, characterized in that: The device comprises: A sending module, configured to send a second ranging signal and information corresponding to the second ranging signal to a first communication device; the information is used to indicate a time domain sequence or a frequency domain sequence of the second ranging signal; the time domain sequence or the frequency domain sequence is determined based on channel state information measured by the first communication device.

35. The distance measuring device according to claim 34, characterized in that The time domain sequence includes a discrete sequence obtained by discretizing the second ranging signal in the time domain through time and amplitude; The frequency domain sequence includes resource units of the second ranging signal in the frequency domain and values ​​corresponding to the resource units.

36. The distance measuring device according to claim 34, characterized in that The time domain sequence or frequency domain sequence of the second ranging signal is determined according to the power allocation priority of the resource unit of the first communication device; and the power allocation priority is determined according to the channel state information corresponding to the resource unit.

37. The distance measuring device according to claim 36, characterized in that The device further includes a receiving module, configured to receive an ordered resource unit set from the first communication device; the ordered resource unit set indicates the resource units and the power allocation priorities corresponding to the resource units.

38. The distance measuring device according to claim 37, characterized in that The sending module is further configured to send a first resource unit set to the first communication device; the ordered resource unit set is selected from the first resource unit set.

39. The distance measuring device according to any one of claims 35 to 37, characterized in that: The resource unit includes any one of the following: Subcarrier, resource block, component carrier, and subband.

40. The distance measuring device according to claim 39, characterized in that The sending module is further configured to send first information to the first communication device when the resource unit is a subcarrier or a resource block; the first information is used to determine the number of the subcarriers or the number of the resource blocks.

41. The distance measuring device according to claim 37 or 38, characterized in that In a case where the resource unit is a component carrier or a subband, the ordered resource unit set includes a component carrier with the highest priority or a subband with the highest priority.

42. The distance measuring device according to any one of claims 35 to 41, characterized in that: In the case where the resource unit is a subcarrier, the channel state information includes: the frequency f of each subcarrier k The channel amplitude value h on k , the size p of the power allocation priority of the resource unit k Calculated by the following formula: p k =|h k f k |。 43. The distance measuring device according to any one of claims 35 to 41, characterized in that: In the case where the resource unit is a resource block, a component carrier, or a subband, the channel state information includes: the frequency f of each subcarrier in the resource block, the component carrier, or the subband k The channel amplitude value h on k , the size p of the power allocation priority of the resource block, the component carrier, or the subband j Calculated by the following formula:

44. The distance measuring device according to claim 42 or 43, characterized in that The frequency is a baseband frequency or a radio frequency frequency; the sending module is further used to send second information to the first communication device, where the second information is used to indicate whether the baseband frequency or the radio frequency frequency is used to determine the power allocation priority.

45. A communication device, characterized in that The communication device includes a processor, and the processor is configured to execute computer instructions and / or logic circuits to enable the communication device to perform the method according to any one of claims 1 to 22.

46. ​​The device according to claim 45, characterized in that The communication device further includes a memory configured to store the computer instructions and / or a configuration file of the logic circuit.

47. The device according to claim 45 or 46, characterized in that The communication device further includes a transceiver, which is configured to receive and / or send signals.

48. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which, when executed, cause the method according to any one of claims 1 to 22 to be performed.

49. A computer program product comprising instructions, characterized in that When the method is run on a computer, the method according to any one of claims 1 to 22 is executed.

50. A communication system, characterized in that The communication system includes a first communication device and a second communication device; The first communication device is used to execute the method according to any one of claims 1 to 11; the second communication device is used to execute the method according to any one of claims 12 to 22.