Method, apparatus and readable storage medium for transmitting ranging signals in UWB - Patents.com
By performing time-inverse and conjugation processing on UWB signals, a new physical layer-wide signal is constructed, which solves the problem that the existing technology cannot prevent distance reduction attacks, and realizes the protection and detection of signal integrity.
Patent Information
- Application Number
- JP2024542080
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-01-15
- Filing Date
- 2022-12-30
- Publication Date
- 2025-02-12
- Estimated Expiration
- 2042-12-30
AI Technical Summary
Although the existing IEEE 802.15.4z standard provides encryption protection for UWB ranged signals, it cannot prevent distance reduction attacks, resulting in signal integrity being unable to be guaranteed.
By performing time-inverse and conjugation processing on the signal, a new physical layer-wide signal is constructed to achieve signal integrity protection and detect whether there is interference at the receiving end.
Ensures the integrity of the UWB range signal, while not affecting the range performance, and can detect whether the range process is interfered with.
Smart Images

Figure 2025504428000001_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of wireless communication technologies, and in particular to a method, an apparatus, and a readable storage medium for transmitting ranging signals in ultra-wideband (UWB). [Background technology]
[0002] This application claims priority to Chinese Patent Application No. 202210045268.1, entitled “METHOD FOR TRANSMITTING RANGING SIGNAL IN UWB, APPARATUS, AND READABLE STORAGE MEDIUM,” filed with the State Intellectual Property Office of China on January 15, 2022, the entire contents of which are incorporated herein by reference.
[0003] With the rapid development of mobile communication and Internet technology, people are increasing their demand for location services. Ranging and positioning technology is a key technology in the field of communication perception, and receives great attention from international standard organizations (such as the institute of electrical and electronics engineers (IEEE)). For example, the IEEE 802.15.4z (also called impulse radio (IR) ultra-wideband, i.e., IR-UWB) standard aims to standardize ranging communication processing to determine the location of devices through secure ranging and ranging result exchange. In particular, two communication parties know the distance between two devices by sending ranging sequences to perform high-precision location estimation. This technology is highly demanded and applied in aspects such as personnel positioning in factories, goods positioning in logistics and warehousing, and intelligent sensing of automobile door locks. The rapid increase in the demand for positioning and ranging is accompanied by security issues.
[0004] To solve the security problem in ranging and positioning process, the IEEE 802.15.4z standard proposes to encrypt the ranging sequence. This scheme is effective in defending against early detect / late commit (ED / LC) attacks. However, against other types of distance-reduction attacks, such as Cicada, Cicada++, and GhostPeak, the scheme of encrypting the ranging sequence cannot guarantee security. The distance-reduction attack means that an interference signal is used to allow the signal arrival time estimated by the device receiving the ranging signal to be earlier than the actual time, which results in the two ranging parties mistakenly thinking that the distance is short when the actual distance is long. In other words, the existing IEEE 802.15.4z standard only provides a confidentiality protection mechanism for the ranging signal, but does not provide integrity protection (integrity may be understood as preventing tampering of the ranging signal). Therefore, how to implement integrity protection for the ranging signal has not yet been resolved. Summary of the Invention
[0005] The embodiments of the present application provide a method, an apparatus, and a readable storage medium for transmitting a ranging signal in UWB, so that the receiving end can have the ability to detect whether the ranging process is interfered with, thereby ensuring the integrity of the ranging signal without compromising the ranging performance of the system.
[0006] In the following, the present application will be described from various aspects. It will be understood that cross-reference may be made to the following implementations and beneficial effects of the various aspects.
[0007] In this application, the first device and the second device may be different roles played at different moments by the same device. That is, at a moment, the first device is a transmitting end and performs the operation of the transmitting end, but at another moment, the first device may be a receiving end and perform the operation of the receiving end. The second device is similar to the first device. That is, at a moment, the second device is a transmitting end and performs the operation of the transmitting end, but at another moment, the second device may be a receiving end and perform the operation of the receiving end. In the following, an explanation is provided by using an example in which the first device performs the operation of the transmitting end and the second device performs the operation of the receiving end.
[0008] According to a first aspect, the present application provides a method for transmitting a ranging signal in ultra-wideband, the method includes: a first device receives a first signal from a second device, pre-processes the first signal to obtain a second signal, the pre-processing being channel estimation or power normalization, the first device generates a first ranging signal based on at least the second signal, the first ranging signal meets a signal obtained after a convolution process is performed on the original ranging signal and a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, or the first ranging signal meets a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, the first device sends at least a portion of the first ranging signal, and at least a portion of the first ranging signal supports an integrity protection function and a ranging function.
[0009] In this solution, the first device pre-processes the signal from the second device, and then constructs a new physical layer ranging signal through time reversal and conjugation, which has integrity protection function, so that the receiving end can have the ability to detect whether the ranging process is interfered with, thereby ensuring the integrity of the ranging signal without losing the ranging performance of the system.
[0010] Regarding the first aspect, in a possible implementation, the first signal includes pilot information such as a preamble, the preprocessing is channel estimation, and the second signal is a first channel impulse response from the second device to the first device. That is, the first device preprocessing the first signal to obtain the second signal includes the first device performing channel estimation by using the pilot information included in the first signal to obtain the first channel impulse response from the second device to the first device. The first device generating the first ranging signal based on the second signal includes the first device performing a first processing on the first channel impulse response (second signal) to obtain the second channel impulse response, the first processing includes a time reversal or a time reversal and conjugate processing, and the first device performing a convolution processing based on the second channel impulse response and the original ranging signal to obtain the first ranging signal.
[0011] Optionally, obtaining the first ranging signal after the first device performs a convolution process based on the second channel impulse response and the original ranging signal includes obtaining the first ranging signal after performing a convolution process on the original ranging signal and a response obtained after a normalization process is performed on the second channel impulse response.
[0012] In this solution, the first device constructs the ranging signal waveform through time reversal by using the channel impulse response of the channel between the first device and the second device to implement matching between the ranging signal and the channel, so that the receiving end has the ability to detect whether the ranging process is interfered with, thereby ensuring the integrity of the ranging signal without compromising the ranging performance of the system.
[0013] Regarding the first aspect, in a possible implementation, the first signal is obtained after the original ranging signal is transmitted through a wireless channel, and the pre-processing is power normalization. That is, the first device pre-processing the first signal to obtain the second signal includes the first device performing power normalization on the first signal to obtain the second signal. The first device generating the first ranging signal based on the second signal includes the first device performing time-reversal or time-reversal and conjugate processing on the second signal to obtain the first ranging signal.
[0014] In this solution, after performing power normalization on the received first signal, the first device directly performs inversion and conjugation to obtain a signal (first ranging signal) with integrity protection and ranging function, and sends this signal, so that the receiving end can detect whether the ranging process is interfered with, thereby providing the integrity protection of the ranging signal without impairing the ranging performance of the system. In addition, in this solution, channel estimation is not required, so the ranging performance is not affected by channel estimation error.
[0015] Regarding the first aspect, in a possible implementation, the length of at least a portion of the first ranging signal is equal to the length of the original ranging signal. Alternatively, the length of at least a portion of the first ranging signal is greater than the length of the original ranging signal.
[0016] Regarding the first aspect, in a possible implementation, at least a portion of the first ranging signal is carried in a ranging radio frame.
[0017] Regarding the first aspect, in a possible implementation, before the first device sends at least a portion of the first ranging signal, the method further includes the first device receiving ranging setting information or the first device sending ranging setting information, where the ranging setting information is used to configure one or more of the following information: whether the ranging signal sent in the ranging process supports an integrity protection function, a format of the ranging radio frame carrying the ranging signal, a length of the ranging signal in the ranging process, and a pulse repetition frequency mode.
[0018] Optionally, the ranging configuration information is carried in a ranging channel and preamble selection information element or a ranging response time negotiation information element.
[0019] The solution provides a configuration information negotiation scheme for newly added signals or radio frames that support both ranging and integrity protection functions to lay the foundation for subsequent ranging processing.
[0020] According to a second aspect, the present application provides a method for transmitting a ranging signal in ultra-wideband, the method includes: a second device sends a signal, which is used to generate a first ranging signal, the second device receives a signal used for ranging, the signal used for ranging is obtained after at least a portion of the first ranging signal is transmitted through a wireless channel, at least a portion of the first ranging signal supports an integrity protection function and a ranging function, the second device inputs the original ranging signal and the signal used for ranging to a correlator for performing a correlation operation to obtain a first instant of a maximum value output by the correlator, the original ranging signal is generated based on a first sequence, the second device performs an integrity check on the signal used for ranging to obtain a check result, and if the check result is that the integrity check on the signal used for ranging is successful, the second device determines the first instant as an arrival instant of the signal used for ranging. When a correlation operation result obtained by performing a correlation operation on the second sequence and the check sequence is equal to or greater than a preset threshold, the check result is that the integrity check on the signal used for ranging is successful. When a correlation operation result obtained by performing a correlation operation on the second sequence and the check sequence is smaller than a preset threshold, the check result is that the integrity check on the signal used for ranging is failed. The second sequence is the first sequence, or the second sequence is a sequence obtained after a time reversal process is performed on the first sequence. The check sequence is obtained by performing equal-interval sampling after the real part of the signal used for ranging is obtained, and the start instant of the equal-interval sampling is the first instant, and the length of the check sequence is equal to the length of the first sequence.
[0021] In this solution, the second device sends a signal such that the first device generates a first ranging signal, and the second device performs an integrity check on the received signal to determine whether the ranging process is interfered with, thereby implementing integrity protection of the ranging signal.
[0022] Regarding the second aspect, in a possible implementation, the signal includes pilot information and the second sequence is the same as the first sequence.
[0023] Regarding the second aspect, in a possible implementation, the signal is the original ranging signal and the second sequence is a sequence obtained after a time reversal process is performed on the first sequence.
[0024] Regarding the second aspect, in a possible implementation, the check sequence being obtained by performing equal-interval sampling on the signal used for ranging after the real part is acquired includes that the check sequence is generated based on the polarity of the sample sequence, and the sample sequence is acquired after equal-interval sampling is performed after the real part of the signal used for ranging is acquired.
[0025] Regarding the second aspect, in a possible implementation, a length of at least a portion of the first ranging signal is equal to a length of the original ranging signal.
[0026] Regarding the second aspect, in a possible implementation, at least a portion of the first ranging signal is carried in a ranging radio frame.
[0027] Regarding the second aspect, in a possible implementation, before the second device receives a signal used for ranging, the method further includes the second device sending ranging setting information or the second device receiving ranging setting information, where the ranging setting information is used to configure one or more of the following information: whether the ranging signal sent in the ranging process supports an integrity protection function, the format of the ranging radio frame carrying the ranging signal, the length of the ranging signal sent in the ranging process, and the pulse repetition frequency mode.
[0028] According to a third aspect, the present application provides a communication device. The communication device can be a first device or a chip in the first device, for example, a Wi-Fi chip. The communication device includes a transceiver module configured to receive a first signal, and a processing module configured to pre-process the first signal to obtain a second signal, where the pre-processing includes channel estimation or power normalization, and the processing module is further configured to generate a first ranging signal based on at least the second signal, where the first ranging signal meets a signal obtained after a convolution process is performed on the original ranging signal and a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, or the first ranging signal meets a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, and the transceiver module is further configured to send at least a portion of the first ranging signal, where at least a portion of the first ranging signal supports an integrity protection function and a ranging function.
[0029] Regarding the third aspect, in a possible implementation, the first signal includes pilot information, the pre-processing includes channel estimation, and the second signal is a first channel impulse response from the second device to the first device. The processing module is specifically configured to obtain a second channel impulse response after performing a first processing on the first channel impulse response, where the first processing includes a time reversal or a time reversal and conjugate processing, and to perform a convolution processing based on the second channel impulse response and the original ranging signal.
[0030] Optionally, the processing module is specifically configured to perform a convolution process on the original ranging signal and a response obtained after a normalization process is performed on the second channel impulse response.
[0031] Regarding the third aspect, in a possible implementation, the first signal is obtained after the original ranging signal is transmitted through a wireless channel, and the pre-processing includes power normalization. The processing module is specifically configured to obtain the first ranging signal after performing time-reversal or time-reversal and conjugate processing on the second signal.
[0032] Regarding the third aspect, in a possible implementation, a length of at least a portion of the first ranging signal is equal to a length of the original ranging signal.
[0033] Regarding the third aspect, in a possible implementation, at least a portion of the first ranging signal is carried in a ranging radio frame.
[0034] Regarding the third aspect, in a possible implementation, the transceiver module is further configured to receive or send ranging setting information, and the ranging setting information is used to configure one or more of the following information: whether the ranging signal sent in the ranging process supports an integrity protection function, the format of the ranging radio frame carrying the ranging signal, the length of the ranging signal in the ranging process, and the pulse repetition frequency mode.
[0035] According to a fourth aspect, the present application provides a communication device. The communication device may be a second device or a chip in the second device, for example, a Wi-Fi chip. The communication device includes a transceiver module configured to send a signal, the signal being used to generate a first ranging signal, the transceiver module further configured to receive a signal used for ranging, the signal being obtained after at least a portion of the first ranging signal is transmitted through a wireless channel, the at least a portion of the first ranging signal supporting an integrity protection function and a ranging function; a correlation calculation module configured to input the original ranging signal and the signal used for ranging to a correlator for performing a correlation calculation to obtain a first moment of a maximum value output by the correlator, the original ranging signal being generated based on a first sequence; and an integrity check module configured to perform an integrity check on the signal used for ranging to obtain a check result, the correlation calculation result obtained by performing a correlation calculation on the second sequence and the check sequence is equal to or greater than a preset threshold. when the check result is that the integrity check on the signal used for ranging is successful, or when a correlation operation result obtained by performing a correlation operation on the second sequence and the check sequence is smaller than a preset threshold, the check result is that the integrity check on the signal used for ranging fails, wherein the second sequence is the first sequence, or the second sequence is a sequence obtained after a time reversal process is performed on the first sequence, the check sequence is obtained by performing equal-interval sampling after a real part of the signal used for ranging is obtained, a start instant of the equal-interval sampling is the first instant, and a length of the check sequence is equal to a length of the first sequence; and a determination module configured to determine the first instant as an arrival instant of the signal used for ranging when the check result is that the integrity check on the signal used for ranging is successful.
[0036] Regarding the fourth aspect, in a possible implementation, the signal includes pilot information and the second sequence is the same as the first sequence.
[0037] Regarding the fourth aspect, in a possible implementation, the signal is the original ranging signal and the second sequence is a sequence obtained after a time reversal process is performed on the first sequence.
[0038] Regarding the fourth aspect, in a possible implementation, the check sequence being obtained by performing equal-interval sampling on the signal used for ranging after the real part is acquired includes that the check sequence is generated based on the polarity of the sample sequence, and the sample sequence is acquired after equal-interval sampling is performed after the real part of the signal used for ranging is acquired.
[0039] Regarding the fourth aspect, in a possible implementation, a length of at least a portion of the first ranging signal is equal to a length of the original ranging signal.
[0040] Regarding the fourth aspect, in a possible implementation, at least a portion of the first ranging signal is carried in a ranging radio frame.
[0041] Regarding the fourth aspect, in a possible implementation, the transceiver module is further configured to send or receive ranging setting information, and the ranging setting information is used to configure one or more of the following information: whether the ranging signal sent in the ranging process supports an integrity protection function, the format of the ranging radio frame carrying the ranging signal, the length of the ranging signal sent in the ranging process, and the pulse repetition frequency mode.
[0042] According to a fifth aspect, the present application provides a method for communicating ranging configuration information, the method including: a communication device sending ranging configuration information or a communication device receiving ranging configuration information, the ranging configuration information including a type of ranging radio frame, the type of the ranging radio frame being a radio frame type supporting a ranging function or a radio frame type supporting both a ranging function and an integrity protection function.
[0043] This solution provides a configuration information negotiation scheme for newly added signals or radio frames that support both ranging and integrity protection functions to lay the foundation for subsequent ranging processing.
[0044] According to a sixth aspect, the present application provides a communication device, the communication device includes a transceiver module configured to send ranging configuration information or receive ranging configuration information, the ranging configuration information including a type of ranging radio frame, the type of the ranging radio frame being a radio frame type supporting a ranging function or a radio frame type supporting both a ranging function and an integrity protection function.
[0045] With regard to the fifth or sixth aspect, in a possible implementation, the ranging setting information further includes one or more of: a format of a ranging radio frame, a length of a signal supporting ranging and / or integrity protection functions, and a pulse repetition frequency mode.
[0046] Regarding the fifth or sixth aspect, in a possible implementation, the ranging configuration information is carried in a ranging channel and preamble selection information element or a ranging response time negotiation information element.
[0047] According to a seventh aspect, the present application provides a communication device. The communication device is particularly a first device, and includes a processor and a transceiver. The transceiver is configured to receive a first signal, and the processor is configured to pre-process the first signal to obtain a second signal, the pre-processing including channel estimation or power normalization, and the processor is further configured to generate a first ranging signal based on at least the second signal, and the first ranging signal meets a signal obtained after a convolution process is performed on the original ranging signal and a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, or the first ranging signal meets a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, and the transceiver is further configured to send at least a portion of the first ranging signal, and at least a portion of the first ranging signal supports an integrity protection function and a ranging function.
[0048] Optionally, the communication device further comprises a memory, the memory configured to store the computer program, the computer program comprising program instructions.
[0049] According to an eighth aspect, an embodiment of the present application provides a communication device. The communication device is particularly a second device and includes a processor and a transceiver. The transceiver is configured to send a signal, which is used to generate a first ranging signal, and the transceiver is further configured to receive a signal used for ranging, where the signal used for ranging is obtained after at least a part of the first ranging signal is transmitted through a wireless channel, where at least a part of the first ranging signal supports an integrity protection function and a ranging function, the processor is configured to input the original ranging signal and the signal used for ranging to a correlator for performing a correlation operation to obtain a first moment of a maximum value output by the correlator, where the original ranging signal is generated based on a first sequence, the processor is further configured to perform an integrity check on the signal used for ranging to obtain a check result, and the processor is further configured to determine the first moment as a moment of arrival of the signal used for ranging when the check result is that the integrity check on the signal used for ranging is successful. When a correlation operation result obtained by performing a correlation operation on the second sequence and the check sequence is equal to or greater than a preset threshold, the check result is that the integrity check on the signal used for ranging is successful, or when a correlation operation result obtained by performing a correlation operation on the second sequence and the check sequence is smaller than a preset threshold, the check result is that the integrity check on the signal used for ranging is failed, the second sequence is the first sequence, or the second sequence is a sequence obtained after a time reversal process is performed on the first sequence, the check sequence is obtained by performing equal-interval sampling after the real part of the signal used for ranging is obtained, the start instant of the equal-interval sampling is the first instant, and the length of the check sequence is equal to the length of the first sequence.
[0050] Optionally, the communication device further comprises a memory, the memory configured to store the computer program, the computer program comprising program instructions.
[0051] According to a ninth aspect, an embodiment of the present application provides a communication device. The communication device is implemented in a product form of a chip and includes a processor and an interface circuit. The interface circuit is configured to receive code instructions and send the code instructions to the processor. The processor is configured to run the code instructions to implement a method for transmitting a ranging signal in UWB according to the first aspect, the second aspect, or any one of the possible implementations of any one of the first aspect or the second aspect. Optionally, the communication device further includes a memory, and the memory is connected to the processor by using a circuit. Optionally, the processor and the memory can be physically independent units from each other, or the memory can be integrated with the processor.
[0052] According to a tenth aspect, an embodiment of the present application provides a communication device. The communication device is implemented in a product form of a chip, and includes a processor and an interface circuit. The interface circuit is configured to receive code instructions and send the code instructions to the processor. The processor is configured to run the code instructions to implement a method for communicating ranging setting information according to the fifth aspect or any one of the possible implementations of the fifth aspect. Optionally, the communication device further includes a memory, and the memory is connected to the processor by using a circuit. Optionally, the processor and the memory can be physically independent units from each other, or the memory can be integrated with the processor.
[0053] According to an eleventh aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. The computer program includes program instructions. When the program instructions are run on a computer, the computer is enabled to perform a method for transmitting a ranging signal in UWB according to the first aspect or the second aspect.
[0054] According to a twelfth aspect, an embodiment of the present application provides a computer program product, which when run on a computer, enables the computer to perform the method for transmitting a ranging signal in UWB according to the first aspect or the second aspect.
[0055] According to a thirteenth aspect, an embodiment of the present application provides a communication system, the communication system including a first device as described in the first, third, fifth or sixth aspect, and a second device as described in the second or fourth aspect.
[0056] Through the implementation of the embodiments of the present application, the receiving end can have the ability to detect whether the ranging process is interfered with, thereby ensuring the integrity of the ranging signal without compromising the ranging performance of the system. [Brief description of the drawings]
[0057] In order to describe the technical solutions in the embodiments of the present application more clearly, the following briefly describes the accompanying drawings used to describe the embodiments.
[0058] [Figure 1] FIG. 1 is a schematic diagram of a ranging principle according to an embodiment of the present application; [Diagram 2] FIG. 1 is an architecture diagram of a ranging and positioning system according to an embodiment of the present application. [Diagram 3] 1 is a first schematic flowchart of a method for transmitting a ranging signal in UWB according to an embodiment of the present application; [Figure 4] 2 is a second schematic flowchart of a method for transmitting a ranging signal in UWB according to an embodiment of the present application. [Figure 5a] FIG. 2 is a schematic diagram of a comparison between a successful attack rate with integrity protection and a successful attack rate without integrity protection according to an embodiment of the present application; [Figure 5b] FIG. 1 is a schematic diagram of a comparison between ranging error rates with and without integrity protection according to an embodiment of the present application; [Figure 5c] FIG. 2 is a schematic diagram of a comparison between ranging event detection rates with and without integrity protection according to an embodiment of the present application; [Figure 6] 13 is a third schematic flowchart of a method for transmitting a ranging signal in UWB according to an embodiment of the present application. [Figure 7] 4 is a fourth schematic flowchart of a method for transmitting a ranging signal in UWB according to an embodiment of the present application. [Figure 8] FIG. 2 is a schematic diagram of a frame format of a ranging radio frame according to an embodiment of the present application. [Figure 9] 1 is a schematic diagram of a frame format of STS+ in a ranging radio frame according to an embodiment of the present application. [Figure 10] 1 is a schematic flowchart of a method for transmitting ranging setting information according to an embodiment of the present application; [Figure 11] 1 is a schematic diagram of the structure of a communication device 1 according to an embodiment of the present application. [Figure 12] 1 is a schematic diagram of the structure of a communication device 2 according to an embodiment of the present application. [Figure 13] 1 is a schematic diagram of the structure of a communication device 1000 according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0059] The following clearly describes the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
[0060] In the description of this application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B. The term "and / or" in this specification describes only the association relationship between related objects and indicates that there may be three relationships. For example, A and / or B may represent three cases: only A is present, both A and B are present, and only B is present. In addition, "at least one" means one or more, and "multiple" means two or more. At least one of the following items (parts) or their similar expressions indicates any combination of these items, including any combination of a single item (part) or multiple items (parts). For example, at least one of a, b, or c may represent a, b, c, a and b, a and c, b and c, or a, b, and c. a, b, and c may each be singular or plural.
[0061] In the description of this application, words such as "first" and "second" are merely used to distinguish different objects and do not constitute limitations on quantities or execution sequences. In addition, words such as "first" and "second" are not limited to being specifically different. In addition, the terms "comprise", "have", and any other 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 recited steps or units, and optionally includes additional steps or units that are not recited, or optionally includes additional steps or units that are specific to the process, method, system, product, or device.
[0062] In this application, words such as "example" or "for example" are used to denote providing an example, illustration, or explanation. The use of "example" or "for example" in this application should not be construed as making any embodiment or design solution described preferred or having more advantages over another embodiment or design solution. Rather, the use of words such as "example" or "for example" is intended to present the relevant concept in a particular manner.
[0063] It should be understood that in this application, both "when" and "if" indicate that an apparatus performs the corresponding processing in an object, do not constitute limitations on time, do not require that an apparatus perform a decision action during implementation, and do not imply that there are any other limitations.
[0064] In this application, elements referred to in the singular are intended to denote "one or more" and not "one and only one," unless otherwise specified.
[0065] In an embodiment of the present application, "B corresponding to A" may be understood to indicate that there is a correspondence between A and B, and B may be determined based on A. However, it should be further understood that determining (or generating) B according to (or based on) A does not mean that B is determined (or generated) according to (or based on) A only, and B may alternatively be determined (or generated) according to (or based on) A and / or other information.
[0066] The following briefly explains some relevant contents, terms, or nouns in this application.
[0067] 1. Basic principles of distance measurement
[0068] The basic ranging principle is as follows: Two communication parties calculate the distance between them by measuring the round-trip time of messages. A ranging sequence, which is obtained after pulse shaping and modulation are performed on the ranging sequence sent by the sending end, arrives at the receiving end. The receiving end performs a correlation operation on the received ranging sequence and the locally stored sequence, and obtains the arrival time (t2 and t4) based on the location of the correlation peak. Figure 1 is a schematic diagram of the ranging principle according to an embodiment of the present application. As shown in Figure 1, a first device sends a ranging signal 1 at instant t1, and the ranging signal 1 arrives at a second device at instant t2. After the second device processes the received ranging signal, the second device sends a ranging signal 2 to the first device at instant t3, and the ranging signal 2 arrives at the first device at instant t4. The ranging signal is obtained after pulse shaping and modulation are performed on the ranging sequence. The modulation is, for example, pulse position modulation (PPM) or pulse amplitude modulation (PAM). The distance d between the first device and the second device can be calculated according to the following equations (1-1) and (1-2).
[0069]
number
[0070] , and t RTT =(t4-t1)-(t3-t2)...........(1-2), c represents the speed of light, and t RTT represents the round-trip time of the ranging signal (or message).
[0071] 2. Distance-reduction attack
[0072] Distance-reduction attack is a common attack method against the above ranging process (the ranging process shown in FIG. 1), and may be specifically implemented in several forms, such as Cicada attack, Cicada++ attack, and GhostPeak attack. For specific attack methods, please refer to the description in the prior art. Details will not be described in this application. In the above attack forms (such as Cicada attack, Cicada++ attack, and GhostPeak attack), the attacker aims to generate interference signals to enable the signal arrival time estimated by the device receiving the ranging signal to be earlier than the actual time, so that the two ranging parties mistakenly think that the distance is short when the actual distance is long. This may cause property loss in applications such as intelligent sensing of car door locks and location-based contactless payment.
[0073] 3. Secure ranging solution in IEEE802.15.4z standard
[0074] An early detect / late commit (ED / LC) attack is also a common attack method against the above ranging process (e.g., the ranging process shown in FIG. 1). In the ED / LC attack, an attacker uses the structural predictability of the ranging signal to infer the entire ranging signal early based on the received ranging signal segments, and sends the entire ranging signal to the receiver, allowing the receiver to erroneously estimate the signal arrival time.
[0075] The IEEE 802.15.4z standard proposes a solution for encrypting the ranging sequence, in which a 128-bit key is mainly used to encrypt the 128-bit ranging sequence by using the advanced encryption standard (AES) to obtain a 128-bit random sequence, and the random sequence obtained after pulse shaping and modulation are performed is sent. For the specific encryption process, please refer to the related description in the 802.15.4z standard. The details will not be described in this application.
[0076] Since the ranging sequence is encrypted, an attacker cannot infer the entire ranging signal based on the received ranging signal segments. Therefore, solutions for encrypting the ranging sequence can defend against ED / LC attacks. However, solutions for encrypting the ranging sequence cannot defend against distance reduction attacks such as Cicada, Cicada++, and GhostPeak. In these forms of attack, the attacker does not need to decode or infer a valid ranging signal, but only needs to send a random interference signal to complete the attack. Therefore, solutions for encrypting the ranging sequence cannot defend against such attacks.
[0077] 4. Maximum peak to early peak ratio (MPEP)
[0078] For the above distance reduction attack, in order to defend against the distance reduction attack (or defend against the interference of the interference signal), a suitable MPEP threshold may be set at the receiving end to reduce the probability that the receiving end erroneously determines the invalid peak (the redundant peak caused by the interference signal and appearing before the maximum peak output by the correlator) as the first path. Although this method can defend against the distance reduction attack to a certain extent, the performance of this method depends on the selection of the MPEP threshold. For the selection of the MPEP threshold, an empirical value by using an experiment or an actual test is usually selected. Due to the complexity of the wireless propagation environment and the randomness of the interference signal, even the empirical value obtained by using repeated experiments may not effectively reduce the probability of erroneously determining the invalid peak as the first path.
[0079] In addition, in this method, security is improved at the expense of a degradation of ranging performance. In other words, if a relatively small MPEP threshold is selected, a relatively good effect can be achieved to defend against distance reduction attacks, but the receiving end will usually miss the first path, causing a degradation of ranging accuracy.
[0080] 5. Message time of arrival code (MTAC)
[0081] For the above distance reduction attack, a message arrival time code (MTAC) may be used to detect whether the distance reduction attack occurs in the ranging process. For example, in FIG. 1, the first device may generate an MTAC signal based on the ranging sequence and a key agreed by the two ranging parties (the first device and the second device), and send the MTAC signal to the second device. The MTAC signal may be used for ranging and checking. After receiving the MTAC signal, the second device demodulates and decodes the MTAC signal to recover the ranging sequence, which is used for ranging, and reconstructs the MTAC signal by using the recovered ranging sequence and the key agreed by the two ranging parties (the first device and the second device). The second device may obtain the difference between the reconstructed MTAC signal and the received MTAC signal through comparison (e.g., may perform subtraction between the two signals and calculate the power of the difference signal). If the difference is greater than a threshold, the check fails, which indicates that the ranging signal has been attacked.
[0082] However, in a complex multipath propagation environment, even if there is no distance reduction attack, the received MTAC signal may be distorted (e.g., in a low signal-to-noise ratio condition), the channel estimation may be inaccurate, and as a result, the decoding error rate may be relatively high. Therefore, in this case, there may be a relatively large difference between the reconstructed MTAC signal and the received MTAC signal, and as a result, the check fails. Therefore, it is impossible to accurately determine whether the ranging process is attacked based on MTAC. In addition, the above method for detecting whether a distance reduction attack occurs in the ranging process by using MTAC relies on the detection decision of the receiver (e.g., demodulation and decoding of the MTAC signal). In a multipath channel, channel equalization needs to be performed before the signal detection decision. The implementation complexity of the channel equalization process is high, which causes a dramatic increase in the system implementation cost.
[0083] In conclusion, in the method for encrypting the ranging sequence (point 3), confidentiality protection of the ranging signal can be implemented, but distance reduction attacks cannot be defended against. In the method for setting an appropriate MPEP threshold at the receiving end (point 4), integrity protection of the ranging signal can be implemented, but there is no universal threshold selection method, and it is difficult to balance security and ranging performance. In the MTAC detection method (point 5), it is impossible to accurately determine whether the ranging process has been attacked, and as a result, the integrity of the MTAC signal cannot be guaranteed.
[0084] Confidentiality can be the characteristic that information cannot be used or known by unauthorized individuals, entities, or processes. Integrity can be the characteristic that information is preserved and not damaged or modified, or lost, or that information cannot be altered without authorization during the transmission, exchange, storage, and processing of the information.
[0085] In this application, confidentiality may be understood as the characteristic that devices other than the two ranging parties cannot know the ranging sequence carried in the ranging signal, and integrity may be understood as the characteristic that devices other than the two ranging parties cannot tamper with the ranging sequence carried in the ranging signal. Confidentiality protection may be understood as preventing devices other than the two ranging parties from knowing the ranging sequence carried in the ranging signal. Integrity protection may be understood as determining whether the ranging sequence in the ranging signal has been tampered with by another device or determining the authenticity of the ranging sequence.
[0086] The embodiment of the present application provides a method for transmitting a ranging signal in UWB, in which the waveform of the ranging signal is reconstructed so that the receiving end can have the ability to detect whether the ranging process is interfered with, thereby ensuring the integrity of the ranging signal without compromising the ranging performance of the system.
[0087] The technical solutions provided in the embodiments of the present application can be applied to ranging and positioning scenarios in wireless communication perception. In ranging and positioning scenarios, two communication parties may establish a wireless communication connection through authentication and negotiation according to related protocols. After the wireless communication connection is established, the transmitting end sends a ranging radio frame to the receiving end. After receiving the ranging radio frame, the receiving end calculates the arrival time and returns another ranging radio frame to the transmitting end. The distance between the two parties (the transmitting end and the receiving end) (for example, the above formula (1-1)) is calculated by calculating the message round trip time (for example, the above formula (1-2)) to complete the ranging process.
[0088] FIG. 2 is an architecture diagram of a ranging and positioning system according to an embodiment of the present application. As shown in FIG. 2, the ranging and positioning system includes at least two devices, for example, a first device and a second device. In practical application, the first device and the second device may be different roles played by the same device at different moments. That is, at one moment, the first device is a transmitting end and performs the operation of a transmitting end, while at another moment, the first device may be a receiving end and performs the operation of a receiving end. The second device is similar to the first device. That is, at one moment, the second device is a transmitting end and performs the operation of a transmitting end, while at another moment, the second device may be a receiving end and performs the operation of a receiving end. For example, in FIG. 2, the first device is a transmitting end and the second device is a receiving end.
[0089] The first device includes a signal pre-processing module, an inversion and conjugation module, and a signal generation module. The signal pre-processing module is configured to estimate a channel impulse response (CIR) from the second device to the first device or perform a power normalization operation on the received signal waveform. If the second device sends a channel measurement signal, the signal pre-processing module performs a CIR estimation operation, or if the second device sends an original ranging signal, the signal pre-processing module performs a power normalization operation. The inversion and conjugation module is configured to perform a time reversal and conjugation operation on the pre-processed waveform. The signal generation module is configured to generate an original ranging signal, for example, a scrambled timestamp sequence (STS) in the IEEE 802.15.4z standard. The signal generation module is further configured to generate a ranging signal with integrity protection and ranging functions. If the second device sends a channel measurement signal, the ranging signal is obtained after a convolution operation is performed on the original ranging signal and the inverted and conjugated CIR. If the second device sends an original ranging signal, the ranging signal is the output signal of the inverted and conjugated module. The ranging signal with the integrity protection function and the ranging function is sent to the second device by using an antenna.
[0090] The second device includes a signal transmission module, a Time of Arrival (TOA) estimation module, and an integrity check module. The signal transmission module is configured to send a channel measurement signal or an original ranging signal, which is sent from an antenna port to the first device. The ToA estimation module is configured to perform a ToA estimation by using the ranging signal sent by the first device to obtain a timestamp, which is used for ranging or positioning. The integrity check module is configured to perform a correlation operation on the local ranging signal and a signal obtained after sampling is performed on the received signal to determine whether the received signal has been tampered with.
[0091] The dashed portion of the original ranging signal in FIG. 2 indicates that the first device and the second device obtain the same original ranging signal (eg, STS of the IEEE 802.15.4z standard) by using the same operation.
[0092] It should be understood that both the first device and the second device shown in Fig. 2 have multiple antennas. However, in practical applications, multiple antennas or a single antenna may be configured in the first device. Similarly, a single antenna or multiple antennas may be configured in the second device. This is not limited in this embodiment of the present application.
[0093] The following describes in detail the technical solutions provided in this application with reference to more accompanying drawings.
[0094] In this application, unless otherwise specified, cross-references may be made to the same or similar parts in the embodiments or implementations. In the embodiments and implementations in the embodiments of this application, unless otherwise specified or logical conflict occurs, there is consistency between the terms and / or descriptions in different embodiments and implementations in the embodiments, and cross-references may be made thereto. The technical features in different embodiments and implementations in the embodiments may be combined to form new embodiments or implementations based on their internal logical relationships. The following implementations of this application do not constitute limitations on the protection scope of this application.
[0095] In order to facilitate the description of the technical solutions provided in this application, all the following embodiments provide an explanation by using an example in which the first device is a transmitting end (the party that sends the ranging signal) and the second device is a receiving end (the party that receives the ranging signal). However, in practical applications, the first device and the second device may be different roles played at different moments by the same device. That is, at one moment, the first device is a transmitting end and performs the operation of the transmitting end, but at another moment, the first device may be a receiving end and performs the operation of the receiving end. The second device is similar to the first device.
[0096] Both the first device and the second device in the present application may support the 802.15.4z standard, and may further support the next generation standard of the 802.15.4z standard. Of course, the first device and the second device may further support a narrowband communication standard, such as the Wi-Fi standard (802.11 series standard), the Bluetooth standard, or Zigbee. EMBODIMENT 1
[0097] 3 is a first schematic flowchart of a method for transmitting a ranging signal in UWB according to an embodiment of the present application. As shown in FIG. 3, the method for transmitting a ranging signal in UWB includes but is not limited to the following steps:
[0098] S1: The second device sends a third signal, which is used to generate the first ranging signal.
[0099] Optionally, the third signal may be the original ranging signal. For the manner of generating the third signal, please refer to the description in the following embodiment. Details will not be described in this specification. Alternatively, the third signal is a channel measurement signal and includes pilot information, e.g., a preamble. The pilot information can be used for channel estimation.
[0100] S2: The first device receives a first signal.
[0101] Optionally, when a signal is transmitted over a wireless channel, the signal may be, for example, reflected, diffracted, or scattered by various obstacles, resulting in some changes occurring when the signal sent by the transmitting end arrives at the receiving end. Thus, the first device receives the first signal after wireless channel transmission, while the second device sends a third signal. The first signal and the third signal may carry the same information, although they have different waveforms.
[0102] S3: The first device pre-processes the first signal to obtain a second signal, where the pre-processing includes channel estimation or power normalization.
[0103] Optionally, the first device performs channel estimation to estimate a channel impulse response (CIR) from the second device to the first device. For specific implementation, please refer to the corresponding description in the following embodiment 2. Details will not be described in this specification. Alternatively, the first device performs a power normalization operation on the received first signal. For specific implementation, please refer to the corresponding description in the following embodiment 3. Details will not be described in this specification.
[0104] S4: The first device generates a first ranging signal based on at least the second signal, where the first ranging signal meets a signal obtained after a convolution process is performed on the original ranging signal and a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, or the first ranging signal meets a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal.
[0105] Optionally, the first device performs an inversion and conjugate operation on the pre-processed signal (second signal) to generate a first ranging signal. For a specific manner of generating the first ranging signal, please refer to the description in the following embodiment 2 or embodiment 3. Details will not be described in this specification.
[0106] S5: The first device sends at least a portion of a first ranging signal, where at least a portion of the first ranging signal supports an integrity protection function and a ranging function.
[0107] Optionally, the first device may directly send the first ranging signal or may send a truncated first ranging signal. The truncated length is the length of the original ranging signal. For example, a trailer of the first ranging signal is reserved, and the trailer and the original ranging signal are equal in length. At least a portion of the first ranging signal may be carried in a ranging radio frame for sending.
[0108] S6: A second device receives a signal used for ranging, the signal used for ranging being obtained after at least a portion of the first ranging signal is transmitted through a wireless channel.
[0109] S7: The second device inputs the original ranging signal and the signal used for ranging into a correlator for performing a correlation operation, and obtains a first instant of the maximum value output by the correlator.
[0110] Optionally, the second device performs ToA estimation by using a peak ranging algorithm, i.e., inputting the original ranging signal and the signal used for ranging into a correlator for performing a correlation operation, and obtaining the maximum value instant (first instant) output by the correlator.
[0111] S8: The second device performs an integrity check on the signal used for ranging and obtains a check result.
[0112] S9: If the check result is that the integrity check on the signal used for ranging is successful, the second device determines the first instant as the instant of arrival of the signal used for ranging.
[0113] Optionally, the second device performs sampling on the signal used for ranging, obtains a check sequence through determination, performs correlation operation on the check sequence and the first sequence to obtain a correlation operation result, and obtains a value relationship between the correlation operation result and a preset threshold through comparison to determine whether the integrity check on the signal used for ranging is successful. In the example, if the correlation operation result is equal to or greater than the preset threshold, it indicates that the ranging process is not interfered with and the ranging result is trustworthy; otherwise, if the correlation operation result is less than the preset threshold, it indicates that the ranging process is interfered with and the ranging result is not trustworthy. For a specific integrity check scheme, please refer to the description in the following embodiment 2 or embodiment 3. Details will not be described in this specification.
[0114] In this embodiment of the present application, the signal from the second device is pre-processed, and then a new physical layer ranging signal is constructed through time reversal and conjugation, which has an integrity protection function, so that the receiving end can have the ability to detect whether the ranging process is interfered with, thereby ensuring the integrity of the ranging signal without losing the ranging performance of the system. EMBODIMENT 2
[0115] Figure 4 is a second schematic flowchart of the method for transmitting a ranging signal in UWB according to an embodiment of the present application. The generation and integrity protection of the ranging signal obtained based on channel impulse response (CIR) inversion is mainly described. As shown in Figure 4, the method for transmitting a ranging signal in UWB includes but is not limited to the following steps.
[0116] S101: A second device sends a channel measurement signal, where the channel measurement signal includes pilot information. Correspondingly, a first device receives the channel measurement signal.
[0117] Optionally, the second device may use any signal sent to the first device to carry pilot information. In this embodiment of the present application, the signal carrying pilot information is called a channel measurement signal. The second device sends a channel measurement signal (a third signal including pilot information) to the first device, and correspondingly, the first device receives the channel measurement signal (a first signal including pilot information). In other words, the channel measurement signal includes pilot information, e.g., a preamble. For example, the first device sends a request signal to the second device, and the request signal can be used to request to perform a ranging process (or to request to start a ranging process). After receiving the request signal, the second device feeds back an acknowledgement signal (channel measurement signal) to the first device, and the acknowledgement signal includes pilot information (e.g., a preamble).
[0118] S102: The first device performs channel estimation by using a channel measurement signal to obtain a first channel impulse response from the second device to the first device.
[0119] S103: The first device performs a first processing on the first channel impulse response to obtain a second channel impulse response, where the first processing includes a time reversal processing or a time reversal processing and a conjugate processing.
[0120] S104: The first device generates a first ranging signal based on the second channel impulse response and the original ranging signal, and the first ranging signal is obtained after a convolution process is performed on the second channel impulse response and the original ranging signal.
[0121] S105: A first device sends at least a portion of a first ranging signal, where at least a portion of the first ranging signal supports an integrity protection function and a ranging function.
[0122] Optionally, after receiving the channel measurement signal from the second device, the first device may perform channel estimation by using pilot information in the channel measurement signal to obtain a first channel impulse response from the second device to the first device. For ease of explanation, the first channel impulse response is represented as h 21 The second channel impulse response may be denoted as h'(t). The first device may obtain the second channel impulse response after performing time reversal on the first channel impulse response, or the first device obtains the second channel impulse response after performing time reversal and conjugation on the first channel impulse response. It should be understood that if the first channel impulse response is real, the conjugate operation may not need to be performed on the first channel impulse response, since the conjugate of a real number is a real number. Of course, the conjugate operation may be performed on the first channel impulse response regardless of whether the first channel impulse response is real or complex. For ease of explanation, the second channel impulse response is denoted as h' 21 (-t) and h' 21 (t) is h 21indicates that (t) is conjugated. The first device may generate an original ranging signal based on the first sequence. The first sequence may be a sequence that can be known by both the first device and the second device, for example, a sequence determined by the first device and the second device through negotiation, a preset or predefined sequence, a disclosed sequence, or a sequence defined in a standard. For example, the first sequence may be a scrambled timestamp sequence (STS). A manner of generating an original ranging signal may be shown in the following equation (2-1). p(t)=Σ k X[k]g(t-kT)..........(2-1), p(t) represents the original ranging signal, X[k] represents the first sequence, g(t) represents the rectangular window function, and T represents the spacing between adjacent elements in the first sequence.
[0123] After generating the original ranging signal, the first device may perform convolution on the second channel impulse response and the original ranging signal to generate the first ranging signal. Alternatively, the first device may perform convolution on the original ranging signal and a response obtained after a normalization process is performed on the second channel impulse response to generate the first ranging signal. The first ranging signal has or supports an integrity protection function and a ranging function. In other words, the first ranging signal supports integrity check and ranging. For example, the mathematical formula of the first ranging signal is the following formula (2-2).
[0124]
number
[0125] , s(t) represents the first ranging signal, T s is h' 21represents the period of the waveform of (-t). It should be understood that since a convolution operation is performed in the above equation (2-2), the period of the first ranging signal is longer than the period of the original ranging signal. In other words, the length of the first ranging signal is greater than the length of the original ranging signal.
[0126] Therefore, for the first ranging signal, the first device has two processing schemes. In an implementation, the first device may truncate the first ranging signal to obtain a part of the first ranging signal, and send a part of the first ranging signal. For example, the truncation scheme is to reserve the trailer of the first ranging signal, and the trailer and the original ranging signal p(t) are equal in length. In another implementation, the first device may directly send the first ranging signal without truncating the first ranging signal. At least a part of the first ranging signal supports the integrity protection function and the ranging function.
[0127] S106: A second device receives a signal used for ranging, where the signal used for ranging is obtained after at least a portion of the first ranging signal is transmitted through a wireless channel.
[0128] Optionally, when a signal is transmitted over a wireless channel, the signal may be, for example, reflected, diffracted, or scattered by various obstacles, resulting in some changes when the signal sent by the transmitting end arrives at the receiving end. Thus, some changes occur after at least a part of the first ranging signal sent by the first device is transmitted through the wireless channel. In this embodiment of the present application, the signal obtained after at least a part of the first ranging signal is transmitted through the wireless channel to the second device is referred to as a signal used for ranging. The second device receives the signal used for ranging. For ease of explanation, in this embodiment of the present application, the signal used for ranging and received by the second device is denoted as y(t).
[0129] S107: The second device inputs the original ranging signal and the signal used for ranging into a correlator for performing a correlation operation, and obtains a first instant of the maximum value output by the correlator.
[0130] Optionally, after receiving the signal used for ranging, the second device may input the original ranging signal p(t) and the signal used for ranging y(t) into a correlator for performing a correlation operation to obtain the first instant of the maximum value (denoted as t2) output by the correlator. The manner of generating the original ranging signal may be shown in the above equation (2-1). In other words, the second device generates the original ranging signal p(t) by using the first sequence (e.g., STS) stored locally, performs a correlation operation on the original ranging signal p(t) and the received signal y(t), and records the instant of the correlation peak, which is the first instant t2.
[0131] S108: The second device performs an integrity check on the signal used for ranging and obtains a check result.
[0132] Optionally, to check whether the ranging process is interfered with by an interfering signal (whether the signal used for ranging and received by the second device is interfered with by an interfering signal), the second device may obtain the real part of the received signal y(t) used for ranging, and then perform equal-interval sampling to obtain a sample sequence. The sampling start instant is the first instant (t2), and the sampling interval is T (the interval between adjacent elements in the first sequence). The length of the sample sequence is equal to the total length of the first sequence. For example, if the length of the STS is 128 bits, the length of the sample sequence (or the total amount of samples) is also 128 bits. In an implementation, the second device may directly use the sample sequence as a check sequence (denoted as Y[k]). In another implementation, after obtaining the sample sequence, the second device generates a check sequence (denoted as Y[k]) based on the polarity of each of the samples. If the polarity of the sample in the sample sequence is positive, the corresponding element in the test sequence is 1; otherwise, if the polarity of the sample in the sample sequence is negative, the corresponding element in the test sequence is −1. The second device may perform a correlation operation on the test sequence (Y[k]) and the locally stored first sequence X[k] to obtain a correlation operation result (denoted as z). The correlation operation result z is expressed as follows:
[0133]
number
[0134] , N represents the length of the test sequence Y[k].
[0135] The second device may compare the correlation calculation result z with a preset threshold to obtain a check result. When the correlation calculation result z is equal to or greater than the preset threshold, the check result is that the integrity check on the signal used for ranging is successful, that is, the ranging process is not interfered with by an interference signal. When the correlation calculation result z is smaller than the preset threshold, the check result is that the integrity check on the signal used for ranging fails, that is, the ranging process is interfered with by an interference signal. It should be understood that when the correlation calculation result z is equal to the preset threshold, whether the check result is that the integrity check is successful may be determined based on the actual case. This is not limited in this embodiment of the present application. For example, the absolute value of the preset threshold is equal to the length of the first sequence. If the first sequence has 128 bits, the preset threshold may be ±128.
[0136] S109: If the check result is that the integrity check on the signal used for ranging is successful, the second device determines the first instant as the instant of arrival of the signal used for ranging.
[0137] Optionally, if the check result is that the integrity check on the signal used for ranging is successful, it indicates that the ranging process is not interfered with by the interfering signal. In this case, the second device may use the first instant (t2) as the arrival instant of the signal used for ranging. If the check result is that the integrity check on the signal used for ranging fails, it indicates that the ranging process is interfered with by the interfering signal. In this case, the second device may inform the first device, for example, to send a new ranging signal, to send a ranging signal again at an interval of a time period, or to perform no action.
[0138] In this embodiment of the present application, the first device constructs a ranging signal waveform by using the CIR (first channel impulse response) of the channel between the first device and the second device through time reversal to implement matching between the ranging signal and the channel. The second device completes a time of flight (ToF) measurement based on the received signal by using correlation operation, and determines whether the ranging process is interfered with through sampling, determining, and correlation operation to implement integrity protection of the ranging signal. In this embodiment of the present application, through time reversal, the receiving end can detect whether the ranging process is interfered with, thereby providing integrity protection of the ranging signal. In addition, the receiver only needs to complete a simple correlation operation, so the implementation complexity is low. In addition, both ranging and integrity protection are completed based on the same sequence (first sequence), so the extra overhead introduced by the integrity protection mechanism is small. The receiver no longer relies on a back-off search algorithm to perform ranging. This can improve the ranging accuracy in non-line-of-sight (NLOS) environments and also solve the problem that correlation peaks caused by multipath and interference cannot be distinguished.
[0139] For the two cases of interference and no interference in the ranging process, the following separately analyzes why the technical solution provided in embodiment 2 of the present application can enable the receiving end to have the ability to detect whether the ranging process is interfered with, that is, why the technical solution provided in embodiment 1 of the present application can implement the integrity protection of the ranging signal.
[0140] 1. When there is no interference, the mathematical expression for the signal y(t) used for ranging and received by the second device is shown in equation (2-4) below.
[0141]
number
[0142] , h 12 n(t) represents the channel impulse response (CIR) from the first device to the second device, and n2(t) represents the receiver noise of the second device. The channel satisfies reciprocity, i.e., h 12 (t)=h 21 (t). In other words, the channel impulse response from the first device to the second device is equal to the channel impulse response from the second device to the first device. The following equation (2-5) can be obtained by substituting equation (2-2) into equation (2-4).
[0143]
number
[0144] For ease of explanation, the following formula is introduced:
[0145]
number
[0146] , h e (t) represents the channel impulse response (CIR) of the equivalent channel through which the original ranging signal p(t) passes. In UWB systems, h e (t) has a significant time focusing effect, i.e., when t=0, h e (t) is the peak or when t≠0, h eThe value of (t) is close to 0. In this way, the ranging signal (first ranging signal) generated in this embodiment of the present application may be approximately considered to be able to enable the equivalent channel through which the original ranging signal p(t) passes to be approximately an additive white gaussian noise (AWGN) channel.
[0147] It should be understood that additive white Gaussian noise is a noise signal whose power spectral function is a constant (white noise) and whose amplitude follows a Gaussian distribution.
[0148] It should be further understood that even if the channels do not satisfy reciprocity, the difference between the channel from the second device to the first device and the channel from the first device to the second device is small because the time interval between step S101 and step S105 is very short in this embodiment of the present application. Therefore, h e (t) still has the time focusing effect. In other words, the equivalent channel through which the original ranging signal p(t) passes can also be approximately an additive white Gaussian noise channel.
[0149] 2. When there is interference, the interference behavior may be implemented in two stages: (1) the interference signal interferes with the channel measurement signal sent in step S101, i.e., is used to interfere with the channel estimation process, and (2) the interference signal interferes with at least a part of the first ranging signal sent in step S105, i.e., is used to interfere with the ranging process.
[0150] If the channel estimation process is interfered with, an error will occur in the channel estimation result of the first device, in other words, h 21 It is not possible to obtain an accurate estimate of (t). Thus, h in equation (2-6) above e(t) no longer has a time focusing effect, so p(t) generates inter-symbol interference at the receiving end. After sampling is performed on the received signal (signal y(t) used for ranging) by using the method in this embodiment of the present application, due to the existence of inter-symbol interference, the correlation calculation value between the sample sequence obtained through sampling and the first sequence stored locally is very low (the value of z is small), and as a result, the integrity check fails.
[0151] If the ranging process is interfered with, the mathematical expression for the signal y(t) used for ranging and received by the second device when there is interference is shown in Equation (2-7) below.
[0152]
number
[0153] , s a (t) represents the interference signal, and h a2 (t) represents the channel impulse response from the transmitter of the interference signal to the second device. According to the integrity check provided in this embodiment of the present application, each of the elements in the finally obtained check sequence Y[k] is a sampled value of the original ranging signal and a sampled value of the interference signal.
[0154]
number
[0155] As a result, the correlation result z of Y[k] and X[k] is smaller than the preset threshold, and therefore the integrity check fails.
[0156] The above analyzes the reason why the technical solution provided in this embodiment of the present application can implement the integrity protection of the ranging signal. The following describes the technical effects that can be implemented in this embodiment of the present application by using exemplary simulation data.
[0157] For example, the simulation parameters are: 128 bits STS packet with configuration three, 8th order Butterworth pulse, SYNC Preamble 1 (length 31), Sampling frequency 500 MHz, peak pulse repetition frequency (PRF) 499.2 MHz (PRF 124.8 MHz is also supported), 6-bit DAC (2, 4, or 12-bit DAC are also supported), 802.15.4a ultra-wideband channel model (walking line-of-sight mode), 100 channel implementation, and no frequency offset and perfect timing.
[0158] FIG. 5a is a schematic diagram of a comparison between the attack success rate with and without integrity protection according to an embodiment of the present application. As shown in FIG. 5a, the vertical axis represents the attack success rate in units of percentage (%), and the horizontal axis represents the signal-to-noise ratio (SNR) in units of decibels (dB). From FIG. 5a, it can be understood that the attack success rate is about 50% without integrity protection. However, when integrity protection is implemented (the method provided in this embodiment of the present application is used), the attack success rate is extremely low, not exceeding 10%.
[0159] FIG. 5b is a schematic diagram of a comparison between the ranging error rate with and without integrity protection according to an embodiment of the present application. When the difference between the measured ToA value and the actual ToA is greater than 6 ns (1.8 m distance error), a ranging error is identified. As shown in FIG. 5b, the vertical axis represents the ranging error rate in units of percentage (%), and the horizontal axis represents the signal-to-noise ratio (SNR) in units of decibels (dB). From FIG. 5b, it can be understood that when there is interference, the ranging error rate is significantly reduced by using the method provided in this embodiment of the present application (ranging signal with integrity protection).
[0160] FIG. 5c is a schematic diagram of a comparison between a ranging event detection rate with integrity protection and a ranging event detection rate without integrity protection according to an embodiment of the present application. If the correlator can output a peak higher than the threshold and the integrity check is successful, the ranging event is detected. As shown in FIG. 5c, the vertical axis represents the ranging event detection rate in units of percentage (%), and the horizontal axis represents the signal-to-noise ratio (SNR) in units of decibels (dB). From FIG. 5c, it can be understood that when integrity protection is implemented (the method provided in this embodiment of the present application is used), the ranging event detection rate is not significantly reduced compared to when integrity protection is not implemented. The slight decrease in the ranging event detection rate is caused by channel estimation error. EMBODIMENT 3
[0161] Figure 6 is a third schematic flowchart of the method for transmitting a ranging signal in UWB according to an embodiment of the present application. The generation and integrity protection of the ranging signal obtained through received waveform inversion is mainly described. As shown in Figure 6, the method for transmitting a ranging signal in UWB includes but is not limited to the following steps:
[0162] S201: A second device sends an original ranging signal, where the original ranging signal is generated based on a first sequence.
[0163] Optionally, the manner in which the second device generates the original ranging signal p(t) is shown in Equation (2-1) above and will not be described in detail again herein. The first sequence may be a sequence determined by the first device and the second device through negotiation, a preset or predefined sequence, a disclosed sequence, a sequence defined in a standard, etc. For example, the first sequence may be an STS.
[0164] Optionally, the first device may send a request signal to the second device, which may be used to request to perform a ranging process (or to request to start a ranging process). After receiving the request signal, the second device feeds back an acknowledgement signal to the first device, where the acknowledgement signal includes the original ranging waveform.
[0165] S202: A first device receives a first signal, which is obtained after an original ranging signal is transmitted through a wireless channel.
[0166] Optionally, when a signal is transmitted over a wireless channel, the signal may be, for example, reflected, diffracted, or scattered by various obstacles, resulting in some changes occurring when the signal sent by the transmitting end arrives at the receiving end. Thus, the second device sends an original ranging signal, but the first device receives a first signal. The first signal is obtained after the original ranging signal is transmitted through the wireless channel. For ease of explanation, in this embodiment of the present application, the first signal received by the first device is denoted as y1(t). The mathematical formula for y1(t) is as follows:
[0167]
number
[0168] , h21 (t) represents the channel impulse response from the second device to the first device, and n1(t) represents the receiver noise of the first device.
[0169] S203: The first device acquires a first ranging signal after performing time reversal or time reversal and conjugate processing on the first signal.
[0170] S204: A first device sends at least a portion of a first ranging signal, where at least a portion of the first ranging signal supports an integrity protection function and a ranging function.
[0171] Optionally, after receiving the first signal, the first device may perform time reversal on the first signal y1(t) to obtain the first ranging signal. Alternatively, the first device obtains the first ranging signal after performing processing such as power normalization, time reversal, and conjugation on the first signal y1(t). The first ranging signal has or supports an integrity protection function and a ranging function. In other words, the first ranging signal supports integrity checking and ranging. For ease of explanation, the first ranging signal is denoted as s(t). For example, the first ranging signal is shown in the following equation (2-9):
[0172]
number
[0173] , α represents a power normalization factor and is used to perform power normalization processing on the first signal y1(t). y′1(t) indicates that y1(t) is conjugated. The first device may use the first ranging signal s(t) as a signal with integrity protection and ranging functions and send the signal to the second device.
[0174] From the above equation (2-9), it can be understood that the period of the first ranging signal is longer than the period of the original ranging signal. In other words, the length of the first ranging signal is greater than the length of the original ranging signal. Therefore, for the first ranging signal, the first device has two processing schemes. In an implementation, the first device may truncate the first ranging signal to obtain a part of the first ranging signal, and send a part of the first ranging signal. For example, the truncation scheme is to reserve a trailer of the first ranging signal, and the trailer and the original ranging signal p(t) are equal in length. In another implementation, the first device may directly send the first ranging signal without truncating the first ranging signal. At least a part of the first ranging signal supports the integrity protection function and the ranging function.
[0175] S205: A second device receives a signal used for ranging, where the signal used for ranging is obtained after at least a portion of the first ranging signal is transmitted through a wireless channel.
[0176] S206: The second device inputs the original ranging signal and the signal used for ranging into a correlator for performing a correlation operation, and obtains a first instant of the maximum value output by the correlator.
[0177] Optionally, for the implementation of step S205 and step S206 in this embodiment of the present application, please refer to the implementation of step S106 and step S107 in the above embodiment 2. Details will not be described again in this specification.
[0178] S207: The second device performs an integrity check on the signal used for ranging and obtains a check result.
[0179] Optionally, to check whether the ranging process is interfered with by an interfering signal (whether the signal used for ranging and received by the second device is interfered with by an interfering signal), the second device may obtain a real part of the signal used for ranging (denoted as y(t)), and then perform equal-interval sampling to obtain a sample sequence. The sampling start instant is a first instant (denoted as t2), and the sampling interval is T (the interval between adjacent elements in the first sequence). The length of the sample sequence is equal to the total length of the first sequence. For example, if the length of the STS is 128 bits, the length of the sample sequence (or the total amount of samples) is also 128 bits. In an implementation, the second device may directly use the sample sequence as a check sequence (denoted as Y[k]). In another implementation, after obtaining the sample sequence, the second device generates a check sequence (denoted as Y[k]) based on the polarity of each of the samples. If the polarity of the sample in the sample sequence is positive, the corresponding element in the test sequence is 1; otherwise, if the polarity of the sample in the sample sequence is negative, the corresponding element in the test sequence is -1. The second device may perform a correlation operation on the test sequence (Y[k]) and X[-k] obtained after performing time reversal on the locally stored first sequence X[k] to obtain a correlation operation result (denoted as z). The correlation operation result z is expressed as follows:
[0180]
number
[0181] , N represents the length of the test sequence Y[k].
[0182] The second device may compare the correlation calculation result z with a preset threshold to obtain a check result. When the correlation calculation result z is equal to or greater than the preset threshold, the check result is that the integrity check on the signal used for ranging is successful, that is, the ranging process is not interfered with by the interference signal. When the correlation calculation result z is smaller than the preset threshold, the check result is that the integrity check on the signal used for ranging is unsuccessful, that is, the ranging process is interfered with by the interference signal. It should be understood that when the correlation calculation result z is equal to the preset threshold, whether the check result is that the integrity check is successful may be determined based on the actual case. This is not limited in this embodiment of the present application.
[0183] S208: If the check result is that the integrity check on the signal used for ranging is successful, the second device determines the first instant as the instant of arrival of the signal used for ranging.
[0184] Optionally, if the check result is that the integrity check on the signal used for ranging is successful, it indicates that the ranging process is not interfered with by the interfering signal. In this case, the second device may use the first instant (t2) as the arrival instant of the signal used for ranging. If the check result is that the integrity check on the signal used for ranging fails, it indicates that the ranging process is interfered with by the interfering signal. In this case, the second device may inform the first device, for example, to send a new ranging signal, to send a ranging signal again at an interval of a time period, or to perform no action.
[0185] In this embodiment of the present application, the first device directly performs inversion and conjugation after performing power normalization on the received first signal to obtain a signal (first ranging signal) with integrity protection and ranging function, and sends this signal. The second device completes a time of flight (ToF) measurement based on the received signal by using correlation operation, and determines whether the ranging process is interfered with through sampling, determination, and correlation operation to implement the integrity protection of the ranging signal. Thus, the receiving end can detect whether the ranging process is interfered with, thereby providing the integrity protection of the ranging signal without impairing the ranging performance of the system. In addition, in this embodiment of the present application, channel estimation is not required, and therefore the ranging performance is not affected by channel estimation error.
[0186] For the two cases of interference and no interference in the ranging process, the following separately analyzes why the technical solution provided in embodiment 3 of the present application can enable the receiving end to have the ability to detect whether the ranging process is interfered with, that is, why the technical solution provided in embodiment 2 of the present application can implement the integrity protection of the ranging signal.
[0187] 1. When there is no interference, the mathematical expression of the signal y(t) used for ranging and received by the second device is shown in equation (2-4) above. The channel satisfies reciprocity, i.e., h 12 (t)=h 21 (t). In other words, the channel impulse response from the first device to the second device is equal to the channel impulse response from the second device to the first device. The following equation (2-11) can be obtained by substituting equation (2-9) into equation (2-4).
[0188]
number
[0189] , n e (t) represents the equivalent receiver noise of the second device. n e (t) is expressed as follows:
[0190]
number
[0191] For ease of explanation, the following formula is introduced:
[0192]
number
[0193] , h e (t) represents the channel impulse response (CIR) of the equivalent channel through which p'(-t) passes, which is obtained after time reversal and conjugation are performed on the original ranging signal p(t). For UWB systems, due to the wideband characteristics of UWB systems, h e (t) has a significant time focusing effect, i.e., when t=0, h e (t) is the peak or when t≠0, h e The value of (t) is close to 0. In this manner, the ranging signal (first ranging signal) generated in this embodiment of the present application may be approximately considered to be capable of enabling the equivalent channel through which p'(-t) passes to be approximately an additive white Gaussian noise (AWGN) channel.
[0194] It should be understood that even if the channels do not satisfy reciprocity, the difference between the channel from the second device to the first device and the channel from the first device to the second device is small because the time interval between steps S201 and S204 is very short in this embodiment of the present application. Therefore, h e(t) still has the time focusing effect. In other words, the equivalent channel through which p'(-t) passes can also be approximately an additive white Gaussian noise channel.
[0195] 2. When there is interference, the interference behavior may be implemented in two stages: (1) the interference signal is used to interfere with the original ranging signal sent in step S201, and (2) the interference signal is used to interfere with at least a part of the first ranging signal sent in step S204, i.e., to interfere with the ranging process.
[0196] If the original ranging signal is interfered with, the interference signal will be present in the first signal y1(t) received by the first device. The signal obtained after the first device performs processing (power normalization, time reversal, and conjugation) on y1(t) is sent, and the interference signal will appear in the signal y(t) used for ranging and received by the second device. In this case, according to the integrity check provided in this embodiment of the present application, each of the elements in the finally obtained check sequence Y[k] includes both the sampling value of p'(-t) and the sampling value of the interference signal. As a result, the correlation calculation result z of Y[k] and X[-k] is smaller than the preset threshold, and therefore the integrity check fails.
[0197] If the ranging process is interfered with, the mathematical expression of the signal y(t) used for ranging and received by the second device when there is interference is shown in the above equation (2-7). According to the integrity check provided in this embodiment of the present application, each of the elements in the finally obtained check sequence Y[k] is the sampling value of p'(-t) and the sampling value of the interference signal.
[0198]
number
[0199] As a result, the correlation result z of Y[k] and X[-k] is smaller than the preset threshold, and therefore the integrity check fails. EMBODIMENT 4
[0200] The fourth embodiment of the present application can be implemented together with any one of the first to third embodiments described above, or can be implemented separately, which is not limited to this embodiment of the present application.
[0201] Fig. 7 is a fourth schematic flowchart of the method for transmitting a ranging signal in UWB according to an embodiment of the present application. A radio frame with integrity protection function and ranging function is mainly described. As shown in Fig. 7, the method for transmitting a ranging signal in UWB includes but is not limited to the following steps:
[0202] S301: A first device generates a ranging radio frame, where the ranging radio frame carries a signal supporting an integrity protection function and a ranging function.
[0203] S302: The first device sends a ranging wireless frame.
[0204] Optionally, for ease of description, the signal carried in the ranging radio frame and supporting the integrity protection function and the ranging function is indicated as STS+. The STS+ may be at least a part of the first ranging signal. For a specific generation manner, please refer to the corresponding description in the above embodiment 2 or the corresponding description in the above embodiment 3. Details will not be described again in this specification. The physical layer frame format of 802.15.4z may be reused as the frame format of the ranging radio frame.
[0205] Figure 8 is a schematic diagram of a frame format of a ranging radio frame according to an embodiment of the present application. 8a, 8b, and 8c in Figure 8 show three types of formats of a ranging radio frame. As shown in Figure 8, the ranging radio frame includes one or more of a synchronization (SYNC) field, a start-of-frame delimiter (SFD), an STS+ (a signal supporting an integrity protection function and a ranging function), a physical layer header (PHR) field, and a physical layer payload.
[0206] STS+ (a signal supporting integrity protection and ranging functions) has two formats, format 1 and format 2. Figure 9 is a schematic diagram of a frame format of STS+ in a ranging radio frame according to an embodiment of the present application. From the above embodiment 2 and embodiment 3, it can be understood that an STS+ segment is obtained by performing convolution on an STS segment and another signal. Therefore, an STS+ segment is longer than an STS segment. In view of this, this embodiment of the present application provides two processing methods: truncating an STS+ segment, i.e., format 1, and skipping truncating an STS+ segment, i.e., format 2, so that the STS+ segment and the STS segment are equal in length. For format 1, the truncation method is to delete the header of the STS+ signal obtained after convolution and reserve a trailer of this signal, whose length is equal to that of the STS segment. As shown in Figure 9, the STS+ segment of format 2 is longer than the STS+ segment of format 1, the length of the STS+ segment of format 2 is L1+L2-1, and the length of the STS+ segment of format 1 is L1. L1 is the length of the STS, and L2 is the length of the channel impulse response. However, regardless of the format, the receiving end uses the same processing. In Figure 9, the frame format shown in 8a of Figure 8 is used as an example. The two STS+ formats provided in this embodiment of the present application can be applied to any frame format in Figure 8.
[0207] Optionally, in order to have the integrity protection function without affecting the ranging performance, the pulse repetition frequency (PRF) of STS+ (signal supporting the integrity protection function and the ranging function) may be higher than the PRF of STS (signal supporting only the ranging function). Therefore, new PRF modes may be added for signals supporting both the integrity protection function and the ranging function, including but not limited to 249.6 MHz and 499.2 MHz.
[0208] S303: A second device receives a ranging wireless frame.
[0209] S304: The second device parses the ranging wireless frame.
[0210] Optionally, after receiving the ranging radio frame, the second device parses the ranging radio frame to obtain a signal that supports the integrity protection function and the ranging function and is carried in the ranging radio frame.
[0211] This embodiment of the present application provides a radio frame with integrity protection and ranging functions to help implement integrity protection of ranging signals. EMBODIMENT 5
[0212] The fifth embodiment of the present application can be implemented together with any one or more of the first to fourth embodiments described above, or can be implemented separately, which is not limited to this embodiment of the present application.
[0213] 10 is a schematic flowchart of a method for communicating ranging setting information according to an embodiment of the present application. As shown in FIG. 10, the method for communicating ranging setting information includes, but is not limited to, the following steps:
[0214] S401: A communication device sends ranging setting information, the ranging setting information including a type of ranging radio frame, the type of the ranging radio frame being a radio frame type supporting a ranging function or a radio frame type supporting both a ranging function and an integrity protection function.
[0215] In response, the other communication device receives the ranging setting information.
[0216] Optionally, before the ranging process, the two ranging parties may negotiate on some setting information in the ranging process. In the implementation, the communication device sends ranging setting information to the second device. The ranging setting information may include a type of ranging radio frame. The type of ranging radio frame is a radio frame type supporting a ranging function, or a radio frame type supporting both a ranging function and an integrity protection function. In other words, the ranging radio frame is a regular ranging radio frame, or a ranging radio frame having both a ranging function and an integrity protection function. In other words, the ranging setting information includes whether a ranging signal sent in the ranging process supports an integrity protection function.
[0217] Optionally, the ranging configuration information may further include an STS configuration format, or a format of a ranging radio frame. A typical ranging radio frame (a radio frame that supports only ranging function) has three STS configuration formats, STS configuration 1 to STS configuration 3 (for the specific formats, please refer to the description in the 802.15.4z standard, and the details will not be described in this specification). The format of a ranging radio frame with both ranging function and integrity protection function is shown in Figure 8.
[0218] Optionally, the ranging configuration information may further include an STS+ format (truncated or non-truncated format), i.e., a length of the ranging signal in the ranging process. In the non-truncated format, the length of the ranging signal is greater than the length of the original ranging signal (the signal generated by using the above formula (2-1)). For the truncated format, the length of the ranging signal is equal to the length of the original ranging signal.
[0219] Optionally, a PRF mode needs to be further configured because the PRF of a signal having both integrity protection and ranging functions may be higher than the PRF of a signal supporting only ranging functions, and therefore the ranging setting information may further include a PRF mode (including but not limited to 124.8MHz, 249.6MHz, and 499.2MHz).
[0220] Optionally, the ranging configuration information may be carried in a ranging channel and preamble selection information element (RCPCS IE). For example, an existing field of the RCPCS IE is extended to carry the ranging configuration information. Alternatively, a new information element may be defined to carry the ranging configuration information. For example, the new information element may be called a ranging frame configuration selection information element (RFCS IE), and the ranging configuration information is carried in the newly defined RFCS IE.
[0221] Optionally, the ranging configuration information may be carried in a Ranging Reply Time Negotiation Information Element (RRTN IE). For example, an existing field of the RRTN IE is extended to carry the ranging configuration information. Alternatively, a new information element may be defined. For example, the new information element may be called a Ranging Frame Configuration Selection Information Element (RFCS IE), and the ranging configuration information is carried in the newly defined RFCS IE.
[0222] Optionally, after receiving the ranging setting information, the other communication device reports the ranging setting information to an upper layer and feeds back an acknowledgement (ACK) signal frame to the communication device. In the subsequent ranging process, the two ranging parties complete ranging based on the above agreed ranging frame.
[0223] This embodiment of the present application provides a configuration information negotiation scheme for newly added signals or radio frames that support both ranging and integrity protection functions to lay the foundation for subsequent ranging processing.
[0224] The above describes in detail the method provided in the embodiments of the present application. To facilitate the implementation of the above solutions in the embodiments of the present application, the embodiments of the present application further provide a corresponding apparatus or device.
[0225] In the embodiment of the present application, the first device and the second device may be divided into functional modules based on the above method example. For example, the functional modules may be obtained through division based on the corresponding functions, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in the form of hardware or in the form of software functional modules. It should be noted that in the embodiment of the present application, the module division is an example and is merely a logical function division. In actual implementation, another division scheme may be used. Hereinafter, the communication device in the embodiment of the present application will be described in detail with reference to Figures 11 to 13. The communication device is the first device or the second device. Furthermore, the communication device may be a device in the first device, or the communication device is a device in the second device.
[0226] When an integrated unit is used, FIG. 11 is a schematic diagram of the structure of a communication device 1 according to an embodiment of the present application. As shown in FIG. 11, the communication device 1 includes a transceiver module 11 and a processing module 12.
[0227] In a possible design, the transceiver module 11 is configured to receive a first signal, the processing module 12 is configured to pre-process the first signal to obtain a second signal, the pre-processing including channel estimation or power normalization, the processing module 12 is further configured to generate a first ranging signal based on at least the second signal, the first ranging signal meets a signal obtained after a convolution process is performed on the original ranging signal and a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, or the first ranging signal meets a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, and the transceiver module 11 is further configured to send at least a portion of the first ranging signal, the at least a portion of the first ranging signal supporting the integrity protection function and the ranging function.
[0228] It should be understood that the communication device 1 may correspondingly implement any one of the above embodiments 1 to 3, and the above operations or functions of the units in the communication device 1 are respectively used to implement the corresponding operations of the first device in any one of the above embodiments 1 to 3. For the sake of brevity, the details will not be described again in this specification.
[0229] In another design, the processing module 12 is configured to generate a ranging radio frame, where the ranging radio frame carries a signal supporting the integrity protection function and the ranging function, and the transceiver module 11 is configured to send the ranging radio frame.
[0230] It should be understood that the communication device 1 may correspondingly implement the above embodiment 4, and the above operations or functions of the units in the communication device 1 are respectively used to implement the corresponding operations of the first device in the above embodiment 4. For the sake of brevity, the details will not be described again in this specification.
[0231] In yet another design, the transceiver module 11 is configured to send or receive ranging setting information, where the ranging setting information includes a type of ranging radio frame, where the type of ranging radio frame is a radio frame type supporting a ranging function or a radio frame type supporting both a ranging function and an integrity protection function. Optionally, the processing module 12 is configured to generate the ranging setting information.
[0232] It should be understood that the communication device 1 may correspondingly implement the above embodiment 5, and the above operations or functions of the units in the communication device 1 are respectively used to implement the corresponding operations of the first device in the above embodiment 5. For the sake of brevity, the details will not be described again in this specification.
[0233] 12 is a schematic diagram of the structure of a communication device 2 according to an embodiment of the present application. As shown in FIG. 12, the communication device 2 includes a transceiver module 21, a correlation calculation module 22, an integrity check module 23, and a decision module 24.
[0234] In the design, the transceiver module 21 is configured to send a signal, which is used to generate a first ranging signal; the transceiver module 21 is further configured to receive a signal used for ranging, which is obtained after at least a portion of the first ranging signal is transmitted through a wireless channel, and at least a portion of the first ranging signal supports an integrity protection function and a ranging function; the correlation calculation module 22 is configured to input the original ranging signal and the signal used for ranging to a correlator for performing a correlation calculation to obtain a first moment of a maximum value output by the correlator, the original ranging signal is generated based on a first sequence; the integrity check module 23 is configured to perform an integrity check on the signal used for ranging to obtain a check result, and when a correlation calculation result obtained by performing a correlation calculation on the second sequence and the check sequence is equal to or greater than a preset threshold, the detection module 22 is configured to detect the presence of the signal used for ranging. The check result is that the integrity check on the signal used for ranging is successful, or that the integrity check on the signal used for ranging fails when a correlation operation result obtained by performing a correlation operation on the second sequence and the check sequence is smaller than a preset threshold, the second sequence is the first sequence, or the second sequence is a sequence obtained after a time reversal process is performed on the first sequence, the check sequence is obtained by performing equidistant sampling after a real part of the signal used for ranging is obtained, a start instant of the equidistant sampling is the first instant, and a length of the check sequence is equal to a length of the first sequence, and the decision module 24 is configured to determine the first instant as an arrival instant of the signal used for ranging when the check result is that the integrity check on the signal used for ranging is successful.
[0235] The correlation calculation module 22, the integrity check module 23 and the decision module 24 may be integrated into one module, for example a processing module.
[0236] It should be understood that the communication device 2 may correspondingly implement any one of the above embodiments 1 to 3, and the above operations or functions of the units in the communication device 2 are respectively used to implement the corresponding operations of the second device in any one of the above embodiments 1 to 3. For the sake of brevity, the details will not be described again in this specification.
[0237] Above, the first device and the second device in the embodiment of the present application are described. Below, the possible product forms of the first device and the second device are described. It should be understood that any product having any form and the function of the first device in FIG. 11, and any product having any form and the function of the second device in FIG. 12, fall within the protection scope of the embodiment of the present application. It should be further understood that the following description is merely an example, and the product forms of the first device and the second device in the embodiment of the present application are not limited thereto.
[0238] In a possible product form, the first device and the second device in the embodiments of the present application may be implemented by using a common bus architecture.
[0239] For ease of explanation, Fig. 13 is a schematic diagram of the structure of a communication device 1000 according to an embodiment of the present application. The communication device 1000 may be a first device, a second device, or a chip in the first device or the second device. Fig. 13 shows only the main components of the communication device 1000. In addition to the processor 1001 and the transceiver 1002, the communication device may further include a memory 1003 and an input / output device (not shown in the figure).
[0240] The processor 1001 is mainly configured to process communication protocols and communication data, control the entire communication device, execute software programs, and process data of the software programs. The memory 1003 is mainly configured to store software programs and data. The transceiver 1002 may include a control circuit and an antenna. The control circuit is mainly configured to perform conversion between baseband signals and radio frequency signals and process the radio frequency signals. The antenna is mainly configured to send or receive the radio frequency signals in the form of electromagnetic waves. The input / output device, such as a touch screen, a display screen, or a keyboard, is mainly configured to receive data input by a user and output data to the user.
[0241] After the communication device is powered on, the processor 1001 can read the software program in the memory 1003, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 1001 performs baseband processing on the data to be sent, and then outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal, and then sends the radio frequency signal in the form of electromagnetic waves by using an antenna. When data is sent to the communication device, the radio frequency circuit receives the radio frequency signal by using an antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor 1001. The processor 1001 converts the baseband signal into data and processes the data.
[0242] In another implementation, the radio frequency circuitry and antenna may be located independently from the processor performing the baseband processing, e.g., in a distributed scenario, the radio frequency circuitry and antenna may be located independently and remotely from the communication device.
[0243] The processor 1001, the transceiver 1002, and the memory 1003 may be connected through a communication bus.
[0244] In design, the communication device 1000 may be configured to perform the functions of the first device in the above embodiment 1. The processor 1001 may be configured to perform steps S3 and S4 of FIG. 3 and / or other processing of the techniques described herein. The transceiver 1002 may be configured to perform steps S2 and S5 of FIG. 3 and / or other processing of the techniques described herein.
[0245] In another design, the communication device 1000 may be configured to perform the functions of the second device in the above embodiment 1. The processor 1001 may be configured to perform steps S7 to S9 of FIG. 3 and / or other processes of the techniques described herein. The transceiver 1002 may be configured to perform steps S1 and S6 of FIG. 3 and / or other processes of the techniques described herein.
[0246] In design, the communication device 1000 may be configured to perform the functions of the first device in the above embodiment 2. The processor 1001 may be configured to perform steps S102 to S104 of FIG. 4 and / or other processing of the techniques described herein. The transceiver 1002 may be configured to perform step S105 of FIG. 4 and / or other processing of the techniques described herein.
[0247] In another design, the communication device 1000 may be configured to perform the functions of the second device in the above embodiment 2. The processor 1001 may be configured to perform steps S107 to S109 of FIG. 4 and / or other processing of the techniques described herein. The transceiver 1002 may be configured to perform steps S101 and S106 of FIG. 4 and / or other processing of the techniques described herein.
[0248] In design, the communication device 1000 may be configured to perform the functions of the first device in the above embodiment 3. The processor 1001 may be configured to perform step S203 of FIG. 6 and / or perform other processing of the techniques described herein. The transceiver 1002 may be configured to perform step S202 and step S204 of FIG. 6 and / or perform other processing of the techniques described herein.
[0249] In another design, the communication device 1000 may be configured to perform the functions of the second device in the above embodiment 3. The processor 1001 may be configured to perform steps S206 to S208 of FIG. 6 and / or other processing of the techniques described herein. The transceiver 1002 may be configured to perform steps S201 and S205 of FIG. 6 and / or other processing of the techniques described herein.
[0250] In design, the communication device 1000 may be configured to perform the functions of the first device in the above embodiment 4. The processor 1001 may be configured to perform step S301 of FIG. 7 and / or other processing of the techniques described herein. The transceiver 1002 may be configured to perform step S302 of FIG. 7 and / or other processing of the techniques described herein.
[0251] In another design, the communication device 1000 may be configured to perform the function of the second device in the above-mentioned embodiment 4. The processor 1001 may be configured to perform step S304 of FIG. 7 and / or other processing of the techniques described herein. The transceiver 1002 may be configured to perform step S303 of FIG. 7 and / or other processing of the techniques described herein.
[0252] In design, the communication device 1000 may be configured to perform the functions of the first device in the above-mentioned embodiment 5. The processor 1001 may be configured to generate the ranging setting information of FIG. 10 and / or perform other processing of the techniques described herein. The transceiver 1002 may be configured to perform step S401 of FIG. 10 and / or perform other processing of the techniques described herein.
[0253] In any one of the above designs, the processor 1001 may include a transceiver configured to implement the receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, the interface, or the interface circuit configured to implement the receiving and transmitting functions may be separate or integrated with each other. The transceiver circuit, the interface, or the interface circuit may be configured to read or write code / data. Alternatively, the transceiver circuit, the interface, or the interface circuit may be configured to transmit or forward a signal.
[0254] In any one of the above designs, the processor 1001 may store instructions. The instructions may be a computer program. The computer program runs on the processor 1001 to enable the communication device 1000 to perform the method described in any one of the above method embodiments. The computer program may be fixed in the processor 1001. In this case, the processor 1001 may be implemented by hardware.
[0255] In implementation, the communication device 1000 may include a circuit. The circuit may implement the transmitting, receiving, or communication function in the above method embodiments. The processor and transceiver described in the embodiments of the present application may be implemented on an integrated circuit (IC), an analog IC, a radio frequency integrated circuit (RFIC), a hybrid signal IC, an application-specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver may alternatively be fabricated by using various IC technologies, for example, complementary metal oxide semiconductor (CMOS), N-channel metal oxide semiconductor (NMOS), p-channel metal oxide semiconductor (PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), and gallium arsenide (GaAs).
[0256] The scope of the communication device described in the embodiments of the present application is not limited thereto, and the structure of the communication device may not be limited to that in FIG. 13. The communication device may be an independent device or may be part of a larger device. For example, the communication device may be: (1) An independent integrated circuit IC, chip, chip system, or subsystem; (2) a set having one or more ICs, optionally the IC set may further include a storage component configured to store data and computer programs; (3) ASICs, such as modems (4) A module that can be embedded in another device; (5) Receivers, terminals, intelligent terminals, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc., or (6)Other It could be.
[0257] In a possible product form, the first device and the second device in the embodiments of the present application may be implemented by a general-purpose processor.
[0258] A general-purpose processor for implementing the first device includes a processing circuit and an input / output interface internally connected to and communicating with the processing circuit.
[0259] In design, the general-purpose processor may be configured to perform the functions of the first device in the above embodiment 1. In particular, the processing circuit may be configured to perform steps S3 and S4 of FIG. 3 and / or perform other processing of the techniques described herein. The input / output interface may be configured to perform steps S2 and S5 of FIG. 3 and / or perform other processing of the techniques described herein.
[0260] In design, the general-purpose processor may be configured to perform the functions of the first device in the above embodiment 2. In particular, the processing circuit may be configured to perform steps S102 to S104 of FIG. 4 and / or perform other processing of the techniques described herein. The input / output interface may be configured to perform step S105 of FIG. 4 and / or perform other processing of the techniques described herein.
[0261] In design, the general-purpose processor may be configured to perform the functions of the first device in the above embodiment 3. In particular, the processing circuit may be configured to perform step S203 of FIG. 6 and / or perform other processing of the techniques described herein. The input / output interface may be configured to perform step S202 and step S204 of FIG. 6 and / or perform other processing of the techniques described herein.
[0262] In design, the general-purpose processor may be configured to perform the functions of the first device in the above embodiment 4. In particular, the processing circuit may be configured to perform step S301 of FIG. 7 and / or perform other processing of the techniques described herein. The input / output interface may be configured to perform step S302 of FIG. 7 and / or perform other processing of the techniques described herein.
[0263] In design, the general-purpose processor may be configured to perform the functions of the first device in the above-mentioned embodiment 5. In particular, the processing circuit may be configured to generate the ranging setting information of FIG. 10 and / or perform other processing of the techniques described herein. The input / output interface may be configured to perform step S401 of FIG. 10 and / or perform other processing of the techniques described herein.
[0264] A general-purpose processor for implementing the second device includes a processing circuit and an input / output interface internally connected to and communicating with the processing circuit.
[0265] In design, the general-purpose processor may be configured to perform the functions of the second device in the above embodiment 1. In particular, the processing circuit may be configured to perform steps S7 to S9 of FIG. 3 and / or perform other processing of the techniques described herein. The input / output interface may be configured to perform steps S1 and S6 of FIG. 3 and / or perform other processing of the techniques described herein.
[0266] In design, the general-purpose processor may be configured to perform the functions of the second device in the above embodiment 2. In particular, the processing circuit may be configured to perform steps S107 to S109 of FIG. 4 and / or perform other processing of the techniques described herein. The input / output interface may be configured to perform steps S101 and S106 of FIG. 4 and / or perform other processing of the techniques described herein.
[0267] In design, the general-purpose processor may be configured to perform the functions of the second device in the above embodiment 3. In particular, the processing circuit may be configured to perform steps S206 to S208 of FIG. 6 and / or perform other processing of the techniques described herein. The input / output interface may be configured to perform steps S201 and S205 of FIG. 6 and / or perform other processing of the techniques described herein.
[0268] In design, the general-purpose processor may be configured to perform the functions of the second device in the above embodiment 4. In particular, the processing circuit may be configured to perform step S304 of FIG. 7 and / or perform other processing of the techniques described herein. The input / output interface may be configured to perform step S303 of FIG. 7 and / or perform other processing of the techniques described herein.
[0269] It should be understood that the above communication device in various product forms has any function of the first device or the second device in any one of the above embodiments, and the details will not be described again in this specification.
[0270] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program code, and when the processor executes the computer program code, the electronic device performs the method in any one of the above embodiments.
[0271] An embodiment of the present application further provides a computer program product, which, when run on a computer, enables the computer to perform the method in any one of the above embodiments.
[0272] An embodiment of the present application further provides a communication device. The communication device may be in the form of a chip product. The structure of the communication device includes a processor and an interface circuit. The processor is configured to communicate with another device by using the interface circuit to enable the communication device to implement the method in any one of the above embodiments.
[0273] An embodiment of the present application further provides a wireless communication system, including a first device and a second device. The first device and the second device may implement the method in any one of the above embodiments.
[0274] The method or algorithm steps described in conjunction with the contents disclosed in this application may be implemented by hardware or by a processor by executing software instructions. The software instructions may include corresponding software modules. The software modules may be stored in a Random Access Memory (RAM), a flash memory, an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a Compact Disk Read-Only Memory (CD-ROM), or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, such that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may alternatively be components of the processor. The processor and the storage medium may be disposed in an ASIC. In addition, the ASIC may be located in the core network interface device. Of course, the processor and the storage medium may alternatively reside in the core network interface device as separate components.
[0275] Those skilled in the art should be aware that the functions described in the present application in one or more examples above can be implemented by hardware, software, firmware, or any combination thereof. When the functions are implemented by software, the functions can be stored on or transmitted to a computer-readable medium as one or more instructions or codes in the computer-readable medium. Computer-readable media include computer-readable storage media and communication media. Communication media include any medium that facilitates the transmission of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0276] In the above specific implementation, the objectives, technical solutions and beneficial effects of the present application are further detailed. It should be understood that the above description is only a specific implementation of the present application, and is not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made based on the technical solutions of the present application shall fall within the protection scope of the present application.
[0277] Those skilled in the art may understand that all or part of the process of the method in the above embodiment may be implemented by a computer program by instructing relevant hardware. The program may be stored in a computer-readable storage medium. When the program is executed, the process of the above method embodiment is performed. The above storage medium includes any medium that can store program code, such as a ROM, a random access memory RAM, a magnetic disk, or an optical disk.
Claims
1. 1. A method for transmitting ranging signals in ultra-wideband, comprising: receiving, by a communication device, a first signal; pre-processing, by the communication device, the first signal to obtain a second signal, the pre-processing comprising channel estimation or power normalization; generating, by the communication device, a first ranging signal based on at least the second signal, wherein the first ranging signal meets a signal obtained after a convolution process is performed on the original ranging signal and a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, or the first ranging signal meets a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal; sending, by the communication device, at least a portion of the first ranging signal, wherein at least the portion of the first ranging signal supports an integrity protection function and a ranging function; A method comprising:
2. the first signal includes pilot information, the pre-processing step includes channel estimation, and the second signal is a first channel impulse response from a communication device to the communication device; The step of generating a first ranging signal further comprises: obtaining a second channel impulse response after performing a first processing on the first channel impulse response by the communication device, the first processing including a time reversal or a time reversal and conjugate processing; performing, by the communication device, a convolution process based on the second channel impulse response and the original ranging signal; 2. The method of claim 1, comprising:
3. The step of performing a convolution process based on the second channel impulse response and the original ranging signal further comprises: performing a convolution operation on the original ranging signal and a response obtained after a normalization operation is performed on the second channel impulse response.
3. The method of claim 2 comprising:
4. the first signal is obtained after the original ranging signal is transmitted through a wireless channel, and the pre-processing step includes power normalization; The step of generating a first ranging signal further comprises: Obtaining the first ranging signal after performing a time-reversal or a time-reversal and conjugation process on the second signal by the communication device.
2. The method of claim 1, comprising:
5. The method of claim 1 , wherein a length of at least the portion of the first ranging signal is equal to a length of the original ranging signal.
6. The method of claim 1 , wherein at least the portion of the first ranging signal is carried in a ranging radio frame.
7. Prior to the step of transmitting, by the communication device, at least a portion of the first ranging signal, the method further comprises: The method further includes receiving, by the communication device, ranging setting information, or sending, by the communication device, ranging setting information; The ranging setting information is used to configure one or more of the following information: whether a ranging signal sent in a ranging process supports the integrity protection function, a format of a ranging radio frame carrying the ranging signal, a length of the ranging signal in the ranging process, and a pulse repetition frequency mode.
7. The method according to any one of claims 1 to 6.
8. 1. A method for transmitting ranging signals in ultra-wideband, comprising: sending, by a communication device, a signal, the signal being used to generate a first ranging signal; receiving, by a communication device, a signal used for ranging, the signal used for ranging being obtained after at least a portion of the first ranging signal is transmitted through a wireless channel, the at least the portion of the first ranging signal supporting an integrity protection function and a ranging function; inputting, by the communication device, an original ranging signal and the signal used for ranging into a correlator for performing a correlation operation to obtain a first instant of a maximum value output by the correlator, the original ranging signal being generated based on a first sequence; performing, by the communication device, an integrity check on the signal used for ranging to obtain a check result; when a correlation operation result obtained by performing a correlation operation on the second sequence and the check sequence is equal to or greater than a preset threshold, the check result is that the integrity check on the signal used for ranging is successful, or when a correlation operation result obtained by performing a correlation operation on the second sequence and the check sequence is smaller than the preset threshold, the check result is that the integrity check on the signal used for ranging is unsuccessful, the second sequence is the first sequence, or the second sequence is a sequence obtained after a time reversal process is performed on the first sequence, the check sequence is obtained by performing equal-interval sampling after a real part of the signal used for ranging is obtained, a start instant of the equal-interval sampling is the first instant, and a length of the check sequence is equal to a length of the first sequence; determining, by the communication device, the first instant as the instant of arrival of the signal used for ranging if the check result is that the integrity check on the signal used for ranging is successful; A method comprising:
9. 9. The method of claim 8, wherein the signal includes pilot information and the second sequence is the same as the first sequence.
10. 9. The method of claim 8, wherein the signal is the original ranging signal and the second sequence is the sequence obtained after a time reversal process is performed on the first sequence.
11. The test sequence is obtained by performing equal interval sampling after the real part of the signal used for distance measurement is obtained. The test sequence is generated based on the polarity of a sample sequence, and the sample sequence is acquired after the real part of the signal used for ranging is acquired and then a uniform sampling is performed.
11. The method according to any one of claims 8 to 10, comprising:
12. The method of any one of claims 8 to 11, wherein at least the portion of the first ranging signal is carried in a ranging radio frame.
13. Prior to the step of receiving, by the communication device, a signal used for ranging, the method further comprises: The method further includes sending ranging setting information by the communication device or receiving ranging setting information by the communication device; The ranging setting information is used to configure one or more of the following information: whether the ranging signal sent in the ranging process supports the integrity protection function, a format of a ranging radio frame carrying the ranging signal, a length of the ranging signal sent in the ranging process, and a pulse repetition frequency mode.
13. A method according to any one of claims 8 to 12.
14. 1. A method for communicating ranging setting information, comprising: sending ranging setting information by a communication device or receiving ranging setting information by the communication device; the ranging configuration information includes a type of ranging radio frame, the type of the ranging radio frame being a radio frame type supporting a ranging function or a radio frame type supporting both the ranging function and an integrity protection function; method.
15. 15. The method of claim 14, wherein the ranging configuration information further includes one or more of: a format of the ranging radio frame, a length of a signal supporting the ranging function and / or the integrity protection function, and a pulse repetition frequency mode.
16. The method of claim 14 or 15, wherein the ranging configuration information is carried in a ranging channel and preamble selection information element or a ranging response time negotiation information element.
17. A communication device, comprising: a transceiver module configured to receive a first signal; a processing module configured to pre-process the first signal to obtain a second signal, the pre-processing including channel estimation or power normalization; The processing module is further configured to generate a first ranging signal based on at least the second signal, wherein the first ranging signal meets a signal obtained after a convolution process is performed on the original ranging signal and a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal, or the first ranging signal meets a signal obtained after a time reversal or a time reversal and conjugation process is performed on the second signal; the transceiver module is further configured to send at least a portion of the first ranging signal, the at least a portion of the first ranging signal supporting an integrity protection function and a ranging function. Communications equipment.
18. the first signal includes pilot information, the pre-processing includes channel estimation, and the second signal is a first channel impulse response from a communication device to the communication device; The processing module is specifically configured to obtain a second channel impulse response after performing a first processing on the first channel impulse response, the first processing including a time reversal or a time reversal and conjugate processing, and to perform a convolution processing based on the second channel impulse response and the original ranging signal.
20. The communication device of claim 17.
19. 20. The communication device of claim 18, wherein the processing module is specifically configured to perform a convolution operation on the original ranging signal and a response obtained after a normalization operation is performed on the second channel impulse response.
20. The first signal is obtained after the original ranging signal is transmitted through a wireless channel, and the pre-processing includes power normalization; The processing module is specifically configured to obtain the first ranging signal after performing time-reversal or time-reversal and conjugate processing on the second signal.
20. The communication device of claim 17.
21. 21. The communication device of claim 17, wherein a length of at least the portion of the first ranging signal is equal to a length of the original ranging signal.
22. 22. The communication device of any of claims 17 to 21, wherein at least the portion of the first ranging signal is carried in a ranging radio frame.
23. The transceiver module is further configured to receive ranging configuration information or send ranging configuration information; The ranging setting information is used to configure one or more of the following information: whether a ranging signal sent in a ranging process supports the integrity protection function, a format of a ranging radio frame carrying the ranging signal, a length of the ranging signal in the ranging process, and a pulse repetition frequency mode.
23. A communication device according to any one of claims 17 to 22.
24. A communication device, comprising: a transceiver module configured to transmit a signal, the signal being used to generate a first ranging signal; the transceiver module is further configured to receive a signal used for ranging, the signal used for ranging being obtained after at least a portion of the first ranging signal is transmitted through a wireless channel, and at least the portion of the first ranging signal supports an integrity protection function and a ranging function; a correlation calculation module configured to input an original ranging signal and the signal used for ranging to a correlator for performing a correlation calculation to obtain a first instant of a maximum value output by the correlator, the original ranging signal being generated based on a first sequence; an integrity check module configured to perform an integrity check on the signal used for ranging to obtain a check result, an integrity check module, wherein when a correlation operation result obtained by performing a correlation operation on a second sequence and a check sequence is equal to or greater than a preset threshold, the check result is that the integrity check on the signal used for ranging is successful, or when a correlation operation result obtained by performing a correlation operation on the second sequence and the check sequence is smaller than the preset threshold, the check result is that the integrity check on the signal used for ranging is unsuccessful, the second sequence being the first sequence or the second sequence being a sequence obtained after a time reversal process is performed on the first sequence, the check sequence being obtained by performing equal-interval sampling after a real part of the signal used for ranging is obtained, a start instant of the equal-interval sampling being the first instant, and a length of the check sequence being equal to a length of the first sequence; a determination module configured to determine the first instant as an instant of arrival of the signal used for ranging when the check result is that the integrity check on the signal used for ranging is successful; A communication device comprising:
25. 25. The communications device of claim 24, wherein the signal includes pilot information and the second sequence is the same as the first sequence.
26. 25. The communication device of claim 24, wherein the signal is the original ranging signal and the second sequence is the sequence obtained after a time reversal operation is performed on the first sequence.
27. The test sequence is obtained by performing equal interval sampling after the real part of the signal used for distance measurement is obtained. The test sequence is generated based on the polarity of a sample sequence, and the sample sequence is acquired after the real part of the signal used for ranging is acquired and then a uniform sampling is performed.
27. A communication device according to any one of claims 24 to 26, comprising:
28. 28. The communications device of any one of claims 24 to 27, wherein at least the portion of the first ranging signal is carried in a ranging radio frame.
29. The transceiver module is further configured to send ranging setting information or receive ranging setting information; The ranging setting information is used to configure one or more of the following information: whether the ranging signal sent in the ranging process supports the integrity protection function, a format of a ranging radio frame carrying the ranging signal, a length of the ranging signal sent in the ranging process, and a pulse repetition frequency mode.
29. A communication device according to any one of claims 24 to 28.
30. A communication device, comprising: a transceiver module configured to send ranging setting information or receive ranging setting information; the ranging configuration information includes a type of ranging radio frame, the type of the ranging radio frame being a radio frame type supporting a ranging function or a radio frame type supporting both the ranging function and an integrity protection function; Communications equipment.
31. 31. The communications device of claim 30, wherein the ranging configuration information further includes one or more of: a format of the ranging radio frame, a length of a signal supporting the ranging function and / or the integrity protection function, and a pulse repetition frequency mode.
32. 32. The communication device of claim 30 or 31, wherein the ranging configuration information is carried in a ranging channel and preamble selection information element or a ranging response time negotiation information element.
33. A communications device comprising a processor and a transceiver, the transceiver configured to send or receive signals, the processor configured to execute program instructions to enable the communications device to perform a method according to any one of claims 1 to 13.
34. 17. A communications device comprising a processor and a transceiver, the transceiver configured to send or receive information, the processor configured to execute program instructions to enable the communications device to perform a method according to any one of claims 14 to 16.
35. 14. A computer readable storage medium storing a computer program, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method according to any one of claims 1 to 13.
36. 17. A computer readable storage medium storing a computer program, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method according to any one of claims 14 to 16.
37. A computer program product, when said computer program product is run on a computer, enabling said computer to carry out the method according to any one of claims 1 to 13.
38. A computer program product, when said computer program product is run on a computer, enabling said computer to carry out the method according to any one of claims 14 to 16.
Citation Information
Patent Citations
Verification method and device, storage medium, train and electronic equipment
CN112141169A
Processing module and associated method
US20180254925A1
Electronic device for performing ranging by using ultra-wideband in wireless communication system, and method of operating the electronic device
WO2021010659A1
Method for performing positioning operation on basis of ultra-wideband signal and electronic device supporting same
WO2021215678A1