A method of communication and a communication apparatus
By performing ranging signal and security detection in non-overlapping time periods within the UWB system, combined with channel switching and signal interval adjustment, the security and reliability issues of the UWB system under malicious attacks are resolved, enabling accurate identification and effective defense against attack behaviors.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2024-11-29
- Publication Date
- 2026-05-29
AI Technical Summary
Current UWB systems have low security and reliability when facing malicious attacks, are easily affected, and lack effective defense and countermeasure mechanisms.
The system performs ranging signal transmission and reception and communication environment security checks within non-overlapping time periods. It identifies attack behaviors by detecting the presence of ultra-wideband signals or malformed signals in the air interface, and activates defense mechanisms by changing channels or adjusting ranging signal intervals when the communication environment is determined to be insecure.
It improves the security and reliability of the UWB system, enabling it to accurately identify attack behaviors and take effective defensive measures, ensuring the stability and accuracy of communication.
Smart Images

Figure CN122120770A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more specifically, to a method and communication apparatus for a ranging system. Background Technology
[0002] Ultra-wideband (UWB) technology is a short-range wireless communication technology that uses pulse signals with an extremely wide spectrum for communication, enabling it to provide accurate positioning and ranging services in complex environments and high-interference scenarios.
[0003] However, current UWB systems are vulnerable to malicious attacks, resulting in low system security and reliability. Summary of the Invention
[0004] This application provides a communication method and communication device that can improve the security and reliability of UWB systems.
[0005] In a first aspect, a method of communication is provided, which can be performed by a first communication device or by a component of the first communication device (e.g., a chip, circuit, or chip system).
[0006] The method includes: sending or receiving a first ranging signal in a first time period, the first ranging signal being used to determine the distance between a first communication device and a second communication device; and performing security detection on the communication environment in a second time period, wherein the first time period and the second time period do not overlap.
[0007] Based on the above scheme, the first communication device can transmit and receive ranging signals in the first time period and perform security detection on the communication environment in the second time period. The first and second time periods do not overlap, that is, the second time period is a time period specifically used for security detection. This can accurately identify attack behaviors in the communication environment and improve the security and reliability of the ultra-wideband system.
[0008] For example, the first communication device stops transmitting ranging signals during the second time period.
[0009] In conjunction with the first aspect, some implementation methods perform security detection on the communication environment, including: detecting whether there is an ultra-wideband signal in the air interface, wherein the bandwidth of the ultra-wideband signal is greater than a second threshold.
[0010] Based on the above scheme, the first communication device can determine whether the communication environment is secure by detecting whether there is an ultra-wideband signal in the air interface. This is not limited by the type of attack, is applicable to various scenarios, and is simple and efficient.
[0011] In conjunction with the first aspect, in some implementation methods, security detection of the communication environment is performed, including: detecting whether there are malformed signals in the air interface, wherein the malformed signal includes a first part field and a second part field, and the difference between the power of the first part field and the power of the second part field is greater than a first threshold.
[0012] Based on the above scheme, the first communication device can determine whether the communication environment is secure by detecting whether there are abnormal signals in the air interface according to the characteristics of common attack types. This can more accurately detect certain specific attack types and has higher reliability.
[0013] In conjunction with the first aspect, in some implementations, the method further includes: sending or receiving a second ranging signal during a first time period, the second ranging signal being used to determine the distance between the first communication device and the second communication device, the bandwidth of the first ranging signal being greater than the bandwidth of the second ranging signal; wherein, performing security detection on the communication environment includes: determining whether the difference between the first ranging result and the second ranging result is greater than a third threshold, the first ranging result being determined based on the first ranging signal, and the second ranging result being determined based on the second ranging signal.
[0014] Based on the above scheme, the first communication device can determine whether the communication environment is safe by comparing the ranging results of the ultra-wideband module and the narrowband module, which is more efficient.
[0015] In conjunction with the first aspect, in some implementations, the method further includes sending the results of the security detection to a second communication device.
[0016] In conjunction with the first aspect, in some implementations, the first ranging signal is transmitted or received on the first channel, and the time interval between two adjacent first ranging signals within a first time period is the first time interval. If the communication environment is determined to be insecure, the method further includes: transmitting or receiving a third ranging signal on the first channel during a third time period, and the time interval between two adjacent third ranging signals within the third time period is the second time interval; or, transmitting or receiving a third ranging signal on the second channel during the third time period, and the time interval between two adjacent third ranging signals within the third time period is the first time interval; or, transmitting or receiving a third ranging signal on the second channel during the third time period, and the time interval between two adjacent third ranging signals within the third time period is the second time interval; wherein the third ranging signal is used to determine the distance between the first communication device and the second communication device, the second time interval is different from the first time interval, the second channel is different from the first channel, and the third time period is after the second time period.
[0017] Based on the above scheme, when the communication environment is determined to be insecure, the first communication device can activate the defense mechanism by changing the communication channel and / or changing the time interval of the ultra-wideband signal transmission, thereby ensuring communication security and improving the reliability of the ultra-wideband system.
[0018] In one implementation, the first communication device includes a first ultra-wideband module, and both the first channel and the second channel are operating channels of the first ultra-wideband module. Specifically, transmitting or receiving a third ranging signal on the second channel during a third time period includes: transmitting or receiving the third ranging signal on the second channel of the first ultra-wideband module during the third time period.
[0019] As another implementation, the first communication device includes a first ultra-wideband module and a second ultra-wideband module, a first channel is the working channel of the first ultra-wideband module, and a second channel is the working channel of the second ultra-wideband module. The third time period includes sending or receiving a third ranging signal on the second channel of the second ultra-wideband module during the third time period.
[0020] Optionally, in this implementation, the method further includes: determining the distance between the first communication device and the second communication device based on the third ranging signal; transmitting or receiving a fourth ranging signal on the first channel of the first ultra-wideband module during a third time period, wherein the time interval between two adjacent fourth ranging signals during the third time period is the first time interval.
[0021] For example, the fourth ranging signal is not used to determine the distance between the first and second communication devices. For instance, the fourth ranging signal is used as information in honeypot technology.
[0022] Based on the above scheme, the first communication device can use honeypots as a security protection method in wireless ranging to improve the security and reliability of the ultra-wideband system.
[0023] Secondly, a communication method is provided, which can be executed by a first communication device or by components of the first communication device (e.g., a chip, circuit, or chip system). The first communication device includes a first ultra-wideband module and a second ultra-wideband module. The first ultra-wideband module operates via a first channel, and the second ultra-wideband module operates via a second channel; the first channel and the second channel are different.
[0024] The method includes: transmitting or receiving a first ranging signal on a first channel; determining the distance between a first communication device and a second communication device based on the first ranging signal; and transmitting or receiving a second ranging signal on a second channel.
[0025] For example, the second ranging signal is not used to determine the distance between the first communication device and the second communication device. For instance, the second ranging signal is used as information in honeypot technology.
[0026] Based on the above scheme, the first and second communication devices can use honeypots as a security protection method during wireless ranging, thereby improving the security and reliability of the ultra-wideband system.
[0027] Thirdly, a communication method is provided, which can be executed by a first communication device or by a component of the first communication device (e.g., a chip, circuit, or chip system).
[0028] The method includes: transmitting or receiving a first ranging signal on a first channel during a first time period, wherein the time interval between two adjacent first ranging signals within the first time period is a first time interval; transmitting or receiving a second ranging signal on a first channel during a second time period, wherein the time interval between two adjacent second ranging signals within the second time period is a second time interval; or, transmitting or receiving a second ranging signal on a second channel during a second time period, wherein the time interval between two adjacent second ranging signals within the second time period is a first time interval; or, transmitting or receiving a second ranging signal on a second channel during a second time period, wherein the time interval between two adjacent second ranging signals within the second time period is a second time interval.
[0029] The first ranging signal and the second ranging signal are both used to determine the distance between the first communication device and the second communication device. The second time interval is different from the first time interval, the second channel is different from the first channel, and the second time period is after the first time period.
[0030] Based on the above scheme, after the first ranging signal is exchanged, the first communication device can activate the defense mechanism by changing the communication channel and / or changing the time interval of the ranging signal transmission, thereby reducing the possibility of being attacked, ensuring communication security, and improving the reliability of the ultra-wideband system.
[0031] In conjunction with the third aspect, in some implementations, the first communication device includes a first ultra-wideband module, and both the first channel and the second channel are operating channels of the first ultra-wideband module. Specifically, transmitting or receiving a second ranging signal on the second channel during a second time period includes: transmitting or receiving the second ranging signal on the second channel of the first ultra-wideband module during the second time period.
[0032] In conjunction with the third aspect, in some implementations, the first communication device includes a first ultra-wideband module and a second ultra-wideband module, with a first channel serving as the operating channel for the first ultra-wideband module and a second channel serving as the operating channel for the second ultra-wideband module. Specifically, transmitting or receiving a second ranging signal on the second channel during a second time period includes: transmitting or receiving a second ranging signal on the second channel of the second ultra-wideband module during the second time period.
[0033] Optionally, in this implementation, the method further includes: determining the distance between the first communication device and the second communication device based on the second ranging signal; transmitting or receiving a third ranging signal through the first channel of the first ultra-wideband module during a second time period, wherein the time interval between two adjacent third ranging signals during the second time period is the first time interval.
[0034] Fourthly, a communication device is provided, which may be a first communication device or a component of the first communication device (e.g., a chip, circuit, or chip system).
[0035] The device includes: a transceiver unit for transmitting or receiving a first ranging signal during a first time period, the first ranging signal being used to determine the distance between a first communication device and a second communication device; and a processing unit for performing security detection on the communication environment during a second time period, the first time period and the second time period not overlapping.
[0036] For example, the first communication device stops transmitting ranging signals during the second time period.
[0037] In conjunction with the fourth aspect, in some implementations, the processing unit is specifically used to: detect whether an ultra-wideband signal exists in the air interface, wherein the bandwidth of the ultra-wideband signal is greater than the second threshold.
[0038] In conjunction with the fourth aspect, in some implementations, the processing unit is specifically used to: detect whether there is a distorted signal in the air interface, wherein the distorted signal includes a first part field and a second part field, and the difference between the power of the first part field and the power of the second part field is greater than a first threshold.
[0039] In conjunction with the fourth aspect, in some implementations, the transceiver unit is further configured to: send or receive a second ranging signal during a first time period, the second ranging signal being used to determine the distance between the first communication device and the second communication device, the bandwidth of the first ranging signal being greater than the bandwidth of the second ranging signal; wherein, the processing unit is specifically configured to: determine whether the difference between the first ranging result and the second ranging result is greater than a third threshold, the first ranging result being determined based on the first ranging signal, and the second ranging result being determined based on the second ranging signal.
[0040] In conjunction with the fourth aspect, in some implementations, the transceiver unit is also used to: send the security detection results to the second communication device.
[0041] In conjunction with the fourth aspect, in some implementations, the first ranging signal is transmitted or received on the first channel, and the time interval between two adjacent first ranging signals within a first time period is the first time interval. If the communication environment is determined to be insecure, the transceiver unit is further configured to: transmit or receive a third ranging signal on the first channel during a third time period, and the time interval between two adjacent third ranging signals within the third time period is the second time interval; or, transmit or receive a third ranging signal on the second channel during the third time period, and the time interval between two adjacent third ranging signals within the third time period is the first time interval; or, transmit or receive a third ranging signal on the second channel during the third time period, and the time interval between two adjacent third ranging signals within the third time period is the second time interval; wherein the third ranging signal is used to determine the distance between the first communication device and the second communication device, the second time interval is different from the first time interval, the second channel is different from the first channel, and the third time period is after the second time period.
[0042] In one implementation, the first communication device includes a first ultra-wideband module, and both the first channel and the second channel are operating channels of the first ultra-wideband module. Specifically, the transceiver unit is used to transmit or receive a third ranging signal through the second channel of the first ultra-wideband module during a third time period.
[0043] As another implementation, the first communication device includes a first ultra-wideband module and a second ultra-wideband module. The first channel is the working channel of the first ultra-wideband module, and the second channel is the working channel of the second ultra-wideband module. Specifically, the transceiver unit is used to send or receive a third ranging signal on the second channel of the second ultra-wideband module during a third time period.
[0044] Optionally, in this implementation, the processing unit is further configured to: determine the distance between the first communication device and the second communication device based on the third ranging signal; the transceiver unit is further configured to: send or receive a fourth ranging signal on the first channel of the first ultra-wideband module during a third time period, wherein the time interval between two adjacent fourth ranging signals during the third time period is the first time interval.
[0045] Fifthly, a communication device is provided, which may be a first communication device or a component of the first communication device (e.g., a chip, circuit, or chip system).
[0046] The device includes: a transceiver unit for transmitting or receiving a first ranging signal on a first channel; a processing unit for determining the distance between a first communication device and a second communication device based on the first ranging signal; the transceiver unit is also used for transmitting or receiving a second ranging signal on a second channel.
[0047] In a sixth aspect, a communication device is provided, which may be a first communication device or a component of the first communication device (e.g., a chip, circuit, or chip system).
[0048] The device includes: a transceiver unit configured to transmit or receive a first ranging signal on a first channel during a first time period, wherein the time interval between two adjacent first ranging signals within the first time period is a first time interval; the transceiver unit is further configured to: transmit or receive a second ranging signal on the first channel during a second time period, wherein the time interval between two adjacent second ranging signals within the second time period is a second time interval; or, transmit or receive a second ranging signal on the second channel during a second time period, wherein the time interval between two adjacent second ranging signals within the second time period is a first time interval; or, transmit or receive a second ranging signal on the second channel during a second time period, wherein the time interval between two adjacent second ranging signals within the second time period is a second time interval.
[0049] The first ranging signal and the second ranging signal are both used to determine the distance between the first communication device and the second communication device. The second time interval is different from the first time interval, the second channel is different from the first channel, and the second time period is after the first time period.
[0050] In conjunction with the sixth aspect, in some implementations, the first communication device includes a first ultra-wideband module, and both the first channel and the second channel are operating channels of the first ultra-wideband module. Specifically, the transceiver unit is used to: transmit or receive a second ranging signal through the second channel of the first ultra-wideband module during a second time period.
[0051] In conjunction with the sixth aspect, in some implementations, the first communication device includes a first ultra-wideband module and a second ultra-wideband module, with a first channel serving as the operating channel for the first ultra-wideband module and a second channel serving as the operating channel for the second ultra-wideband module. Specifically, the transceiver unit is used to: transmit or receive a second ranging signal via the second channel of the second ultra-wideband module during a second time period.
[0052] Optionally, in this implementation, the device further includes: a processing unit, configured to determine the distance between the first communication device and the second communication device based on the second ranging signal; the transceiver unit is further configured to: transmit or receive a third ranging signal on the first channel of the first ultra-wideband module during a second time period, wherein the time interval between two adjacent third ranging signals during the second time period is a first time interval.
[0053] In a seventh aspect, a communication device is provided, comprising: a memory for storing a program; and at least one processor for executing the computer program or instructions stored in the memory to perform the method provided in any of the foregoing aspects or their implementations.
[0054] In one implementation, the device is a first communication device.
[0055] In another implementation, the device is a chip, chip system, or circuit used in a first communication device.
[0056] Eighthly, a communication apparatus is provided, comprising: at least one processor and a communication interface, the at least one processor being configured to obtain a computer program or instructions stored in a memory via the communication interface to execute the method provided in any of the foregoing aspects or their implementations. The communication interface may be implemented in hardware or software.
[0057] In one implementation, the device also includes a memory.
[0058] Ninthly, a processor is provided for executing the methods provided in the foregoing aspects.
[0059] Unless otherwise specified, or if it does not contradict its actual function or internal logic in the relevant description, the transmission and acquisition / reception operations involved in the processor can be understood as processor output and reception, input and other operations, or as transmission and reception operations performed by radio frequency circuits and antennas. This application does not limit them in this regard.
[0060] In a tenth aspect, a computer-readable storage medium is provided that stores program code for execution by a device, the program code including methods for performing any of the foregoing aspects or their implementations.
[0061] In an eleventh aspect, a computer program product containing instructions is provided, which, when executed on a computer, cause the computer to perform the method provided by any of the above aspects or their implementations.
[0062] In a twelfth aspect, a chip is provided, comprising a processor and a communication interface. The processor reads instructions stored in a memory through the communication interface and executes the methods provided in any of the above aspects or their implementations. The communication interface can be implemented in hardware or software.
[0063] Optionally, as one implementation, the chip also includes a memory that stores computer programs or instructions. The processor is used to execute the computer programs or instructions stored in the memory. When the computer programs or instructions are executed, the processor is used to perform the methods provided by any of the above aspects or their implementations.
[0064] When the method provided in this application is executed by a chip, this application does not limit the specific number of chips implementing the method. For example, it can be executed by one chip, or by two or more chips. Furthermore, when the number of chips implementing the method is two or more, the chip manufacturers are not limited; they can be from the same manufacturer or different manufacturers.
[0065] In a thirteenth aspect, a computer program is provided that, when run on a computer, causes the methods provided by any of the foregoing aspects or their implementations to be executed.
[0066] In a fourteenth aspect, a communication system is provided, including the first communication device and the second communication device described above.
[0067] It should be understood that any incomplete detailed descriptions of aspects four through fourteen and any of their implementation methods, as well as their beneficial effects, can be found in aspects one through three. Attached Figure Description
[0068] Figure 1 This is a schematic diagram of a network architecture applicable to embodiments of this application.
[0069] Figure 2 This is a schematic diagram of a broadband-narrowband combined ranging scheme provided in an embodiment of this application.
[0070] Figure 3 This is a schematic flowchart of a communication method 300 provided in this application.
[0071] Figure 4 This is a schematic diagram showing the distribution of the first and second time periods in the time domain provided in this application.
[0072] Figure 5 This is a schematic diagram of the communication architecture of the first communication device and the second communication device provided in this application.
[0073] Figure 6 This is a flowchart illustrating a communication method 600 provided in this application.
[0074] Figure 7 This is a flowchart illustrating a communication method 700 provided in this application.
[0075] Figure 8 This is a flowchart illustrating a communication method 800 provided in this application.
[0076] Figure 9 and Figure 10 A schematic diagram of the structure of a communication device provided in an embodiment of this application. Detailed Implementation
[0077] The technical solutions in this application will now be described with reference to the accompanying drawings.
[0078] The technical solutions provided in this application can be applied to various communication systems, such as 5th generation (5G) systems (or new radio (NR) systems), long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, and LTE time division duplex (TDD) systems. The technical solutions provided in this application can also be applied to device-to-device (D2D) communication, vehicle-to-everything (V2X) communication, machine-to-machine (M2M) communication, machine-type communication (MTC), and Internet of Things (IoT) communication systems or other communication systems.
[0079] This application's embodiments can also be applied to wireless local area networks (WLANs), for example, supporting IEEE 802.11 related standards, such as 802.11a / b / g standards, 802.11n standards, 802.11ac standards, 802.11ax standards (i.e., Wi-Fi 6, also known as the high efficient (HE) standard), 802.11be standards (i.e., Wi-Fi 7, also known as the extremely high throughput (EHT) standard), 802.11bn standards (i.e., Wi-Fi 8, also known as the ultra high reliability (UHR) standard) or next-generation Wi-Fi 8 standards, and also including 802.11ad, 802.11ay standards, etc. The embodiments of this application can also be applied to wireless local area network systems that support integrated millimeter wave (IMMW), wireless local area network systems that support ultra-wideband (UWB) such as the 802.15 series standards, sensing systems such as the 802.11bf series standards, or wireless positioning such as 802.11az. This application can also support standard protocols such as Sparklink and Nearlink.
[0080] Exemplary examples of this application can be applied to wireless personal area networks (WPANs) based on ultra-wideband (UWB) technology. WPANs can be used for communication between digital auxiliary devices such as telephones, computers, and peripherals within a small range, typically within 10 meters. Technologies supporting wireless personal area networks include Bluetooth, ZigBee, ultra-wideband, IrDA infrared connectivity (infrared), and HomeRF. From a network architecture perspective, WPANs are located at the bottom layer of the overall network architecture, used for wireless connections between devices within a small range, i.e., point-to-point short-range connections, and can be considered short-range wireless communication networks.
[0081] Figure 1 This is a schematic diagram illustrating an application scenario applicable to an embodiment of this application. For example... Figure 1As shown, in a typical UWB ranging scenario 100, there are usually at least two UWB ranging devices (i.e., such as...). Figure 1 The UWB ranging devices 110 and 120 shown measure distance by sending ultra-wideband pulse signals.
[0082] Specifically, the UWB ranging device 110 (or UWB ranging device 120) may include one or more UWB modules, each UWB module including a transmitter and a receiver. For example, the transmitter of the UWB ranging device 110 can periodically send ultra-wideband pulse signals and accurately record the transmission time of the signals. The receiver of the UWB ranging device 120 can receive the signals and record the arrival time of the signals. Optionally, the transmitter of the UWB ranging device 120 can also periodically send ultra-wideband pulse signals and accurately record the transmission time of the signals, and the receiver of the UWB ranging device 110 is used to receive the signals and record the arrival time of the signals. Based on the transmission and arrival times of the one or more signals mentioned above, the distance between the UWB ranging device 110 and the UWB ranging device 120 can be obtained. The specific ranging principle of UWB technology will be described in detail below.
[0083] For example, the UWB ranging device in this application can be any device involved in a UWB system. For instance, it may include, but is not limited to, communication servers, routers, switches, bridges, computers, mobile phones, in-vehicle devices, wearable devices, Internet of Things (IoT) devices, smart home devices, drones, etc. As another example, the UWB ranging device may include a chip, which can be located in a communication server, router, switch, or user terminal, etc.
[0084] It should be understood that the communication systems described above as applicable to this application are merely illustrative, and the application of this application is not limited to these systems. Those skilled in the art will readily understand that the various aspects of this application can be extended to other networks employing various standards or protocols. Examples include WLANs, high-performance radio local area networks (HIPERLANs), wide area networks (WANs), or other networks now known or developed in the future.
[0085] To facilitate understanding of the technical solutions of the embodiments of this application, some terms or concepts that may be involved in the embodiments of this application will be briefly described first.
[0086] 1. UWB technology
[0087] Ultra-wideband (UWB) technology is a short-range wireless communication technology that achieves high-speed data transmission and precise positioning by transmitting and receiving signals over a wide spectrum (typically exceeding 500MHz) of low-power radio waves. In the field of wireless communication, UWB technology has attracted significant attention due to its high-precision ranging capabilities and remarkable advantages in short-range communication. By using pulse signal communication over an extremely wide spectrum, UWB technology can provide accurate positioning and ranging services in complex environments and high-interference scenarios.
[0088] UWB technology is divided into two modes depending on the application scenario: high-rate pulse (HRP) and low-rate pulse (LRP). These two modes have different characteristics in terms of data transmission rate, application scenarios, and power consumption. HRP mode aims for high-speed transmission and is suitable for scenarios requiring fast data transmission and high-precision positioning. HRP UWB data transmission rates can reach hundreds of Mbps, making it ideal for systems with high real-time requirements. Current high-precision UWB positioning generally uses HRP mode.
[0089] UWB ranging is a method for precise distance measurement using UWB technology. The basic principle of UWB ranging is based on time-of-flight (ToF) technology, which calculates distance by measuring the time it takes for a signal to travel from the transmitter to the receiver. The UWB transmitter sends an extremely short pulse signal that travels at the speed of light. When the receiver receives the signal, it records the arrival time of the signal and calculates the propagation time, which is the ToF. Time-of-flight is the core concept of UWB ranging. By measuring the total time from transmission to reception and combining this with the signal propagation speed (usually the speed of light), the distance can be calculated using formula (1):
[0090] Distance = Flight time × Speed of light (1)
[0091] For example, if the flight time of the signal is t, then the distance d can be calculated by d = c × t, where c is the speed of light.
[0092] For example, UWB ranging can be further divided into one-way ranging and two-way ranging. In one-way ranging, the UWB system calculates the distance by measuring the signal's flight time from the transmitter to the receiver. The signal is transmitted from the transmitting device to the receiving device, which calculates the distance the signal has traveled based on the known speed of signal propagation (usually the speed of light) and the signal's arrival time, thus achieving the ranging purpose. Two-way ranging eliminates the requirement for clock synchronization by transmitting the signal bidirectionally between devices. Specifically, the transmitter first sends a signal, and the receiver immediately sends an acknowledgment signal upon receiving the signal. The transmitter calculates the distance based on the round-trip time (RTT) of the signal.
[0093] 2. Wideband-Narrowband Combined Ranging Scheme
[0094] Narrowband (NB) technology uses a small spectral bandwidth for communication, typically in the range of 10kHz to 200kHz. Due to its narrow bandwidth, it can operate in low signal-to-noise ratio environments and has good anti-interference capabilities. NB technology also has advantages in power consumption, coverage, and sensitivity, and is commonly used in low-power wide-area networks (LPWANs) and IoT devices. UWB ranging solutions combining NB technology can achieve high-precision ranging and communication by combining the advantages of both technologies.
[0095] In a combined broadband-narrowband ranging scheme, the UWB module is responsible for high-precision ranging, while the NB module is used for long-distance signal transmission and communication, as well as low-precision ranging. In a common scenario, the NB module is used for coarse positioning and the transmission of configuration and synchronization information related to UWB high-precision positioning. The UWB module then performs high-precision positioning based on the coarse positioning results and the configuration information.
[0096] Figure 2 This is a schematic diagram of a broadband-narrowband combined ranging scheme, such as... Figure 2 As shown, the method 200 includes the following steps.
[0097] S201, Device A sends signal #1 to Device B through the NB module.
[0098] Specifically, signal #1 is a signal transmitted via NB technology, therefore signal #1 is an NB signal.
[0099] Optionally, signal #1 is used to configure the synchronization information of the UWB module to device B.
[0100] S202, Device B's NB module and UWB module exchange T,F synchronization scheduling data (T,F sync,scheduledata).
[0101] After device B receives signal #1 through its NB module, the NB module of device B can send T,F synchronization scheduling data to the UWB module of device B according to signal #1. This synchronization scheduling data can be used by the UWB module of device B to schedule or receive UWB signals in subsequent processes, as shown in S205.
[0102] S203, Device B sends signal #2 to Device A through the NB module.
[0103] Specifically, signal #2 is a signal transmitted via NB technology, therefore signal #2 is an NB signal.
[0104] Optionally, signal #2 is used to configure the synchronization information of the UWB module to device A.
[0105] S204, Device A's NB module and UWB module exchange T,F synchronization data.
[0106] After device A receives signal #2 through the NB module, the NB module of device A can send T,F synchronization data to the UWB module of device A according to signal #2. This synchronization data can be used by the UWB module of device A to schedule or receive UWB signals in subsequent processes, as shown in S206.
[0107] S205, Device A sends signal #3 to Device B through the UWB module.
[0108] Specifically, signal #3 is a signal transmitted using UWB technology, therefore signal #3 is a UWB signal.
[0109] S206, Device B sends signal #4 to Device A via the UWB module.
[0110] Specifically, signal #4 is a signal transmitted using UWB technology, therefore signal #4 is a UWB signal.
[0111] Using signals #3 and #4, device A can determine the distance between device A and device B.
[0112] S207, Status signaling for communication between device A and device B.
[0113] For example, status signaling may include a timestamp.
[0114] Optionally, status signaling can be transmitted via UWB technology, NB technology, or out-of-band (OOB) technology, without restriction.
[0115] It should be understood that one exchange of UWB signals between the transceiver devices constitutes one ranging cycle, such as... Figure 2As shown in S205 and S206, therefore, Figure 2 Taking a single measuring wheel as an example, in practical applications, there can be one or more measuring wheels, without limitation.
[0116] Current UWB systems (referring to any communication system using UWB technology, including systems using only UWB technology and systems using a combined wideband-narrowband ranging scheme) lack effective defense and countermeasure mechanisms. UWB systems are vulnerable to certain types of malicious attacks, such as cicada++ attacks, ghost peak attacks, ultra-wideband accurate deafening (UWBAD) attacks, denial-of-service (DOS) attacks, and distance-shortening attacks, leading to inaccurate ranging results or limited system functionality. For example, when subjected to DOS or distance-shortening attacks, the system often cannot recover quickly, affecting not only the accuracy of ranging but also reducing system reliability. Furthermore, narrowband technologies, such as Bluetooth or fixed-frequency communication, due to their limited spectrum resources, may affect subsequent UWB ranging processes when faced with signal congestion, thus impacting overall communication quality and security.
[0117] In view of this, this application proposes a communication method and communication device that can improve the security and reliability of UWB systems.
[0118] It should be understood that the embodiments shown below illustrate the method using examples such as a first communication device and a second communication device as the execution subject for interaction. However, this application does not limit the execution subject; any program capable of running the code of the method provided in the embodiments of this application can communicate according to the method provided in the embodiments of this application. The execution subject of the method provided in the embodiments of this application can be a first communication device and a second communication device, or a functional module in the first communication device and a second communication device capable of calling and executing a program. For example, Figure 3 The first communication device in the process can also be a chip, chip system, or processor that supports the methods that the first communication device can implement, or it can be a logic module or software that can implement all or part of the functions of the first communication device. Figure 3 The second communication device can also be a chip, chip system or processor that supports the methods that the terminal communication device can implement, or it can be a logic module or software that can implement all or part of the functions of the second communication device.
[0119] Figure 3 This is a schematic flowchart of a communication method 300 provided in this application. Figure 3 As shown, the method 300 includes the following steps.
[0120] S310, the first communication device transmits a first ranging signal in a first time period, and correspondingly, the second communication device receives the first ranging signal in the first time period. Alternatively, the second communication device transmits the first ranging signal in the first time period, and correspondingly, the first communication device receives the first ranging signal in the first time period.
[0121] It should be understood that the ranging signal in this application (including the first ranging signal and the third ranging signal, fourth ranging signal, etc. mentioned below) refers to ultra-wideband signals in a broad sense. For example, signals transmitted and received on low-power radio waves with a wide spectrum (usually exceeding 500MHz) can be called ultra-wideband signals, or in other words, the bandwidth of an ultra-wideband signal is greater than the second threshold.
[0122] The ultra-wideband signal can support UWB protocols (such as the 802.15 series protocols) or other high-bandwidth protocols (such as the high-precision positioning protocol in Sparklink Position (SLP)). The second threshold can be the bandwidth value specified by any of the above protocols, or the bandwidth value specified by regulations. For example, the second threshold can be 500MHz or 1GHz, etc.
[0123] Optionally, the aforementioned ranging signal can be replaced with an ultra-wideband signal, a ranging frame, or a ranging data packet, etc. For example, the first ranging signal, the third ranging signal, and the fourth ranging signal can be replaced with a first ultra-wideband signal, a second ultra-wideband signal, and a third ultra-wideband signal, respectively.
[0124] The first ranging signal is used to determine the distance between the first communication device and the second communication device. In other words, the first and second communication devices can obtain the distance between them by exchanging the first ranging signal. The specific ranging method can be unidirectional or bidirectional, without limitation. S310 can be understood as a step in the ranging process.
[0125] The first time period can also be called the ranging window. In the ranging window, the first communication device and the second communication device can exchange one or more ultra-wideband signals to achieve ranging. The first ranging signal can be understood as any ultra-wideband signal exchanged between the first communication device and the second communication device in the ranging window.
[0126] In this application, the first communication device can be any device supporting ultra-wideband communication, for example, it can be... Figure 1 The UWB ranging device 110 or UWB device 120 shown are examples. Similarly, the second communication device can be any device supporting ultra-wideband communication; for example, it can be... Figure 1The UWB ranging device 120 or UWB device 110 shown.
[0127] S320, the first communication device performs a security check on the communication environment during the second time period.
[0128] The second time period can also be called the detection window. During the detection window, the first communication device can detect whether the communication environment is secure in order to detect attacks in a timely manner and ensure the security and reliability of the ultra-wideband system.
[0129] In this application, the first time period and the second time period do not overlap. That is to say, the ranging window and the detection window are independent of each other and do not interfere with each other.
[0130] Optionally, the location of the second time period in the time domain can be random or periodic, without restriction. The second time period can be predefined by the protocol, or it can be determined through negotiation between the first and second communication devices, or it can be determined by either the first or second communication device and then sent to the other.
[0131] For example, Figure 4 This is a schematic diagram illustrating the time-domain distribution of the first and second time periods provided in this application, as shown below. Figure 4 As shown, the entire process in the time domain includes a ranging window (i.e., the first time period) and a detection window (i.e., the second time period). In the ranging window, the first and second communication devices execute the ranging process and transmit and receive ranging signals. In the detection window, the first and second communication devices perform security checks on the communication environment. In other words, a detection window can be introduced into the ranging process, or the detection window can be randomly interspersed within the ranging window.
[0132] Where t1 is the starting point of ranging window 1, T1 is the time length of ranging window 1, t2 is the starting point of detection window 1, T2 is the time length of ranging window 1, t3 is the starting point of ranging window 2, T3 is the time length of ranging window 2, t4 is the starting point of detection window 2, T4 is the time length of ranging window 2. T1, T2, T3, T4, t1, t2, t3, and t4 can be generated through negotiation between the first communication device and the second communication device, or can be randomly generated according to the application scenario and notified to the other party.
[0133] In one implementation, the first communication device stops transmitting ranging signals during a second time period. Similarly, the second communication device also stops transmitting ranging signals during the second time period. In other words, the first and second communication devices can refrain from transmitting and receiving ranging signals within the detection window, and only perform security checks on the communication environment.
[0134] In this application, performing security testing on the communication environment can also be referred to as determining whether the communication environment is secure, or performing environmental testing, or detecting attack behavior, or determining whether attack behavior exists in the communication environment, etc. Similarly, the result of security testing can be that the communication environment is secure, or that no attack behavior exists in the communication environment. The result of security testing can also be that the communication environment is insecure, or that attack behavior exists in the communication environment.
[0135] Based on the above scheme, the first communication device can transmit and receive ranging signals in the first time period and perform security detection on the communication environment in the second time period. The first and second time periods do not overlap, that is, the second time period is a time period specifically used for security detection. This can accurately identify attack behaviors in the communication environment and improve the security and reliability of the ultra-wideband system.
[0136] As an example, security testing of a communication environment includes detecting the presence of ultra-wideband (UWB) signals in the air interface, or determining whether the communication environment is secure by detecting UWB signals in the air interface.
[0137] Specifically, detecting the presence of an ultra-wideband signal in the air interface can mean that the first communication device receives a signal during a second time period and determines whether the bandwidth of the signal is greater than a second threshold. If the bandwidth of the signal is greater than the second threshold, it is determined that an ultra-wideband signal exists in the air interface, thus determining that the communication environment is insecure. If the bandwidth of the signal is less than or equal to the second threshold, it is determined that an ultra-wideband signal does not exist in the air interface, thus determining that the communication environment is secure.
[0138] In this application, the first and second communication devices can stop transmitting and receiving ultra-wideband (UWB) signals during a second time period. Therefore, if an UWB signal is detected in the air interface during the second time period, it can be assumed that the UWB signal was sent by an attacking device, or that the UWB signal is an attack signal or an illegal signal, thus determining that the communication environment is insecure. If no UWB signal is detected in the air interface during the second time period, it can be assumed that no attacking device exists, thus determining that the communication environment is secure.
[0139] It should be understood that during the second time period, other communication devices besides the first and second communication devices may perform ranging procedures to send ultra-wideband signals to determine the distance. In this example, determining whether the communication environment is safe by whether an ultra-wideband signal is detected in the air interface during the second time period may result in false detections. The possibility of false detections can be reduced in the following two ways.
[0140] One approach is to detect whether an ultra-wideband (UWB) signal with power greater than a fourth threshold exists in the air interface. If the power of the UWB signal in the air interface is greater than or equal to the fourth threshold, the communication environment is determined to be insecure. If the power of the UWB signal in the air interface is less than the fourth threshold or no UWB signal exists, the communication environment is determined to be secure. Specifically, if, during the second time period, other communication devices besides the first and second communication devices determine distance by sending an UWB signal, since the destination of the UWB signal is not the first communication device, the power of the UWB signal reaching the first communication device should be relatively low, for example, less than the fourth threshold. Therefore, if the first communication device detects an UWB signal with power greater than the fourth threshold in the air interface during the second time period, it can be considered that the UWB signal was sent by an attacking device, thus determining that the communication environment is insecure.
[0141] Optionally, the fourth threshold can be an empirical value determined by the first communication device itself, or a value predefined by the protocol, without restriction.
[0142] Another approach is to prevent all communication devices within a certain area from transmitting ultra-wideband (UWB) signals during the second time period. This ensures that if the first communication device detects an UWB signal over the air interface during the second time period, it can be determined that the UWB signal was sent by an attacking device, thus confirming that the communication environment is insecure. For example, the protocol can predefine the specific time range of the second time period and predefine that all communication devices within a certain area during the second time period will not transmit UWB signals. For instance, the protocol can predefine a parameter value A, where the area can be a region centered on the first communication device with a radius equal to parameter value A. Alternatively, the area can be the maximum range that the UWB signals of both the first and second communication devices can cover.
[0143] Based on the above scheme, the first communication device can determine whether the communication environment is secure by detecting whether there is an ultra-wideband signal in the air interface. This is not limited by the type of attack, is applicable to various scenarios, and is simple and efficient.
[0144] As another example, security detection of a communication environment includes detecting the presence of malformed signals in the air interface, or determining the security of the communication environment by whether malformed signals are detected in the air interface. The malformed signal includes a first part field and a second part field, where the difference between the power of the first part field and the power of the second part field is greater than a first threshold.
[0145] In common attack types, such as short-range attacks and ultra-wideband precision jamming attacks, the attack signals constructed by the attacking devices share a characteristic: the power of certain fields is significantly higher than the power of other fields. In this application, such attack signals are referred to as distorted signals. Therefore, security detection can be performed based on this characteristic of distorted signals. Specifically, detecting the presence of distorted signals in the air interface can mean that the first communication device receives a signal during a second time period and determines whether the characteristics of the signal conform to the aforementioned feature. For example, if the difference between the power of a certain field of a signal and the power of other fields of the signal is greater than a first threshold, it can be considered that distorted signals exist in the air interface, thus determining that the communication environment is insecure. If the difference between the power of a certain field of a signal and the power of other fields of the signal is less than or equal to the first threshold, it can be considered that distorted signals do not exist in the air interface, thus determining that the communication environment is secure.
[0146] In one implementation, the first part of the field can be the field with the highest power in the malformed signal, and the second part of the field can be the field with the lowest power in the malformed signal.
[0147] Optionally, the first part of the field can be one or more fields, and the second part of the field can also be one or more fields. In addition to the first and second part fields, the malformed signal may include other fields, or it may include only the first and second part fields.
[0148] In this application, distorted signals may also be referred to as unreasonable signals, abnormal signals, unconventional signals, etc.
[0149] Optionally, the first threshold can be an empirical value determined by the first communication device itself, or it can be a value predefined by the protocol, without restriction.
[0150] In one implementation, the difference between the power of the first field and the power of the second field can be obtained by subtracting the power of the first field from the power of the second field; for example, the power of the first field minus (-) the power of the second field. Alternatively, the difference between the power of the first field and the power of the second field can be the ratio between the power of the first field and the power of the second field; for example, the power of the first field is divided by ( / ) the power of the second field.
[0151] For example, the first part of the field can be a scrambled timestamp sequence (STS) field, a synchronization (SYNC) field, or a pilot field, etc., which can be used for time synchronization in a UWB ranging system.
[0152] Based on the above scheme, the first communication device can determine whether the communication environment is secure by detecting whether there are abnormal signals in the air interface according to the characteristics of common attack types. This can more accurately detect certain specific attack types and has higher reliability.
[0153] Optionally, the first ranging signal is transmitted or received in the first channel to detect whether there is an ultra-wideband signal or a distorted signal in the air interface. Alternatively, it can be replaced by detecting whether there is an ultra-wideband signal or a distorted signal in the first channel.
[0154] As another example, security detection of a communication environment includes: determining whether the difference between a first ranging result and a second ranging result is greater than a third threshold, wherein the first ranging result is determined based on a first ranging signal and the second ranging result is determined based on a second ranging signal.
[0155] Specifically, in broadband-narrowband combined ranging schemes, for example, such as Figure 2 As shown, a relatively accurate high-precision ranging result (the first ranging result) can be obtained by transmitting and receiving an ultra-wideband signal (i.e., the first ranging signal). A relatively ambiguous ranging result (the second ranging result) can be obtained by transmitting and receiving a narrowband signal (i.e., the second ranging signal). If an attack exists in the communication environment, the attack signal sent by the attacking device may affect the first ranging result, for example, causing it to differ significantly from the true value. This results in a large gap between the first and second ranging results. By comparing the first and second ranging results, a preliminary, rough assessment of the security of the communication environment can be made.
[0156] In this example, the method may further include: a first communication device transmitting a second ranging signal during a first time period, and correspondingly, a second communication device receiving the second ranging signal during the first time period. Alternatively, the second communication device transmitting the second ranging signal during the first time period, and correspondingly, the first communication device receiving the second ranging signal during the first time period. Wherein, the bandwidth of the first ranging signal is greater than the bandwidth of the second ranging signal. Further, the first communication device can determine a first ranging result based on the first ranging signal, and can determine a second ranging result based on the second ranging signal.
[0157] For example, the narrowband signal in this application refers to a signal with a small bandwidth, which is generally between several hundred hertz and several thousand hertz, or a bandwidth of less than 4 megahertz (MHz) is generally referred to as narrowband.
[0158] Optionally, the third threshold can be an empirical value determined by the first communication device itself, or a value predefined by the protocol, without restriction.
[0159] Optionally, the above examples can be implemented individually or in combination. For example, security detection of the communication environment includes: first determining whether the difference between the first ranging result and the second ranging result is greater than a third threshold, and then detecting whether there is an ultra-wideband signal in the air interface; or, first determining whether the difference between the first ranging result and the second ranging result is greater than a third threshold, and then detecting whether there is a distorted signal in the air interface; or, first detecting whether there is an ultra-wideband signal in the air interface, and then detecting whether there is a distorted signal in the air interface.
[0160] Optionally, the method 300 further includes: S330, the first communication device sends the security detection result to the second communication device, and correspondingly, the second communication device receives the security detection result.
[0161] Specifically, if the first communication device performs a security check on the communication environment, it can send the security check result to the second communication device.
[0162] It should be understood that in the method of this application, the security detection of the communication environment can be performed solely by the first communication device, or it can be performed by both the first and second communication devices; there is no limitation on this. When both the first and second communication devices perform the security detection of the communication environment, step S330 may not be executed.
[0163] For example, security test results can be transmitted via narrowband signals.
[0164] Optionally, if the communication environment is determined to be insecure, the method 300 further includes: S340, the first communication device activates a defense mechanism.
[0165] For example, the defense mechanism may include changing the communication channel and / or changing the time interval for ultra-wideband signal transmission.
[0166] Specifically, current ultra-wideband (UWB) ranging systems typically transmit ranging signals at fixed time intervals. This allows attack devices to pinpoint these intervals through prior eavesdropping and then launch attacks precisely at those times. Furthermore, the UWB signal between the first and second communication devices requires transmission through a specific channel. If an attack device sends an attack signal through this channel, it can also disrupt the ranging process between the first and second communication devices. For example, assuming the first ranging signal is transmitted or received on a first channel, and the time interval between two adjacent first ranging signals is a first time interval, then determining the communication environment as insecure can be understood as determining that using the first time interval and / or the first channel for communication is insecure. Therefore, by changing the time interval for transmitting the ranging signal, the first communication device can prevent attack devices from accurately pinpointing the time to send attack data packets, thus rendering the attack ineffective. Alternatively, if the first and second communication devices support multiple channels for ranging, they can negotiate to change channels, thereby avoiding attacks.
[0167] Specifically, assuming that the first ranging signal is sent or received on the first channel, and the time interval between two adjacent first ranging signals within the first time period is the first time interval, if the communication environment is determined to be insecure, the first communication device may activate the defense mechanism in any of the following ways.
[0168] Method 1: The first communication device transmits a third ranging signal on the first channel during a third time period, and correspondingly, the second communication device receives the third ranging signal on the first channel during the third time period; or, the second communication device transmits the third ranging signal on the first channel during the third time period, and correspondingly, the first communication device receives the third ranging signal on the first channel during the third time period. The time interval between two adjacent third ranging signals within the third time period is the second time interval.
[0169] Method 2: The first communication device transmits a third ranging signal on the second channel during a third time period, and correspondingly, the second communication device receives the third ranging signal on the second channel during the third time period; or, the second communication device transmits a third ranging signal on the second channel during a third time period, and correspondingly, the first communication device receives the third ranging signal on the second channel during the third time period. The time interval between two adjacent third ranging signals within the third time period is the first time interval.
[0170] Method 3: The first communication device transmits a third ranging signal on the second channel during a third time period, and correspondingly, the second communication device receives the third ranging signal on the second channel during the third time period; or, the second communication device transmits a third ranging signal on the second channel during a third time period, and correspondingly, the first communication device receives the third ranging signal on the second channel during the third time period. The time interval between two adjacent third ranging signals within the third time period is the second time interval.
[0171] In this method, the second time interval differs from the first time interval, the second channel differs from the first channel, and the third time interval is after the second time interval. Therefore, method 1 can be understood as only changing the time interval for transmitting the ranging signal, method 2 can be understood as only changing the communication channel, and method 3 can be understood as changing both the time interval for transmitting the ranging signal and the communication channel.
[0172] It should be understood that the third time period is also a ranging window, and the third time period can be a detection window that starts after the second time period.
[0173] Optionally, the second time interval can be determined by the first communication device and indicated to the second communication device, or the second time interval can be determined by the second communication device and indicated to the first communication device, or the second time interval can be determined through negotiation between the first and second communication devices. Similarly, the second channel can be determined by the first communication device and indicated to the second communication device, or the second channel can be determined by the second communication device and indicated to the first communication device, or the second channel can be determined through negotiation between the first and second communication devices.
[0174] For example, the third ranging signal is also used to determine the distance between the first communication device and the second communication device. The main difference between the third ranging signal and the first ranging signal is that the first ranging signal is a ranging signal sent or received in the first time period, while the third ranging signal is a ranging signal sent or received in the third time period. Therefore, the formats of the third ranging signal and the first ranging signal can be the same or different, without limitation.
[0175] Based on the above scheme, when the communication environment is determined to be insecure, the first communication device can activate the defense mechanism by changing the communication channel and / or changing the time interval of the ultra-wideband signal transmission, thereby ensuring communication security and improving the reliability of the ultra-wideband system.
[0176] In one implementation, the first communication device includes a first ultra-wideband module, and the first channel is the working channel of the first ultra-wideband module of the first communication device. Then the second channel can also be the working channel of the first ultra-wideband module.
[0177] In this implementation, Method 1, which mentions that the first communication device transmits or receives a third ranging signal on a first channel during a third time period, includes: the first communication device transmitting or receiving a third ranging signal on a first channel of the first ultra-wideband module during the third time period. Methods 2 and 3, which mention that the first communication device transmits or receives a third ranging signal on a second channel during a third time period, include: the first communication device transmitting or receiving a third ranging signal on a second channel of the first ultra-wideband module during the third time period.
[0178] Specifically, the first communication device may support only one ultra-wideband module, and methods 1, 2, and 3 described above can all be executed by the first ultra-wideband module of the first communication device. The first ultra-wideband module can support different operating channels. When the first communication device determines that the communication environment is insecure, method 1 can be understood as: the first communication device keeps the operating channel of its first ultra-wideband module unchanged, and changes the transmission time interval of the ranging signal from a first time interval to a second time interval. Methods 2 and 3 can be understood as: the first communication device switches the operating channel of its first ultra-wideband module from the first channel to the second channel. In method 2, the first communication device keeps the transmission time interval of the ranging signal unchanged. In method 3, the first communication device changes the transmission time interval of the ranging signal from the first time interval to the second time interval.
[0179] In another implementation, the first communication device includes a first ultra-wideband module and a second ultra-wideband module. The first channel is the working channel of the first ultra-wideband module of the first communication device, and the second channel can be the working channel of the second ultra-wideband module of the first communication device.
[0180] In this implementation, Method 1, where the first communication device transmits or receives a third ranging signal on a first channel during a third time period, includes: the first communication device transmitting or receiving a third ranging signal on a first channel of a first ultra-wideband module during the third time period. Methods 2 and 3, where the first communication device transmits or receives a third ranging signal on a second channel during a third time period, include: the first communication device transmitting or receiving a third ranging signal on a second channel of a second ultra-wideband module during the third time period.
[0181] Specifically, the first communication device can support multiple ultra-wideband modules. For example, the first communication device includes a first ultra-wideband module and a second ultra-wideband module. Mode 1 described above can be executed by the first ultra-wideband module of the first communication device, and modes 2 and 3 can be executed by the second ultra-wideband module of the first communication device. Furthermore, each ultra-wideband module can support one or more operating channels. The operating channels supported by the first ultra-wideband module include a first channel, and the operating channels supported by the second ultra-wideband module include a second channel. When the first communication device determines that the communication environment is insecure, Mode 1 can be understood as: the first communication device keeps the operating channel of its first ultra-wideband module unchanged and changes the transmission time interval of the ranging signal from the first time interval to the second time interval. Modes 2 and 3 can be understood as: the first communication device continues to execute the ranging process using its second ultra-wideband module, and this second ultra-wideband module operates on the second channel. In Mode 2, the first communication device keeps the transmission time interval of the ranging signal unchanged. In Mode 3, the first communication device changes the transmission time interval of the ranging signal from the first time interval to the second time interval.
[0182] Optionally, in this implementation, assuming the defense mechanism is the above-mentioned method 2 or method 3, the method further includes: the first communication device determines the distance between the first communication device and the second communication device based on the third ranging signal, and sends or receives a fourth ranging signal on the first channel in the third time period, wherein the time interval between two adjacent fourth ranging signals is the first time interval.
[0183] Specifically, the third ranging signal can be used to determine the distance between the first communication device and the second communication device, while the fourth ranging signal is not used to determine the distance between the first communication device and the second communication device. The fourth ranging signal is used as information in honeypot technology.
[0184] It should be understood that honeypot technology is a network security technology, referring to a virtual or real system intentionally exposed to attacking devices to lure them into believing it is a legitimate target, thereby enhancing the security capabilities of the actual system. When an attack is detected on the first channel, the ultra-wideband module currently used for ranging (i.e., the first ultra-wideband module) can be used as a honeypot. Both ranging parties continue to send ranging signals on the currently attacked frequency band (i.e., the first channel), and the transmission interval of the ranging signals can remain the first time interval, but the ranging data from the ultra-wideband module is not used. That is, the ultra-wideband module is used as a honeypot to confuse the attacking device, making it believe that its attack has not been detected. In reality, the attacking device's behavior does not affect the real ranging service, because the first communication device restarts another module (i.e., the second ultra-wideband module) and changes the channel (i.e., switches to the second channel) to perform the real ranging service.
[0185] For example, the main difference between the fourth ranging signal and the first ranging signal is that the first ranging signal is a ranging signal sent or received in the first time period, while the fourth ranging signal is a ranging signal sent or received in the third time period. Therefore, the formats of the fourth ranging signal and the first ranging signal can be the same or different, without limitation.
[0186] Optionally, since the fourth ranging signal is used as information in the honeypot technology, the fourth ranging signal and the first ranging signal have the same format, which can be used to confuse the attacking device, activate countermeasures, and ensure communication security.
[0187] Based on the above scheme, the first communication device can use honeypots as a security protection method in wireless ranging to improve the security and reliability of the ultra-wideband system.
[0188] Figure 5 This is a schematic diagram of the communication architecture of the first and second communication devices provided in this application, as shown below. Figure 5 As shown, the first communication device includes UWB module 1 (an example of a first ultra-wideband module) and UWB module 2 (an example of a second ultra-wideband module), and the second communication device includes UWB module 1 and UWB module 2. UWB module 1 of the first communication device and UWB module 2 of the second communication device form a set of UWB communication modules, which can communicate with each other. UWB module 2 of the first communication device and UWB module 2 of the second communication device form a set of UWB communication modules, which can communicate with each other. Assuming that the first and second communication devices interact with UWB signal #1 (an example of a first ranging signal) on channel 1 (an example of a first channel) via UWB module 1 during the first time period, and the communication environment is determined to be insecure during the second time period, the first and second communication devices can switch to channel 2 (an example of a second channel) of UWB module 2 for ranging during the third time period, i.e., sending and receiving UWB signal #2 (an example of a third ranging signal). During this third time period, the first and second communication devices interact with UWB signal #3 (an example of a fourth ranging signal) on channel 1 via UWB module 1. The format and time interval parameters of UWB signal #3 and UWB signal #1 can be kept consistent. Thus, UWB signal #3 can be used as information in honeypot technology. That is, UWB module 1 of the first and second communication devices are modules in honeypot technology used to confuse attacking devices.
[0189] Figure 6 This is a flowchart illustrating a communication method 600 provided in this application. Method 600 can be considered a specific implementation of method 300, such as... Figure 6 As shown, the method 600 includes the following steps.
[0190] S601. After the nth ranging operation (an example of the first time period), device A (an example of the first communication device) enters the detection window (an example of the second time period).
[0191] S602. Device A first determines whether the difference between the first ranging result (such as R NB ) and the second ranging result (such as R UWB ) is greater than the third threshold (such as S1). For example, device A can calculate Δ = |R NB - R UWB |. If Δ < S1, it is preliminarily determined that the communication environment is safe, and S603 can be continued. If Δ ≥ S1, it is determined that the communication environment is unsafe, and S605 is executed.
[0192] S603. Device A determines whether there is a certain signal in the channel, and whether the difference between the power of the first partial field (such as P1) and the power of the second partial field (such as P2) is greater than the first threshold (such as S2 = 4). For example, device A can calculate MR = P1 / P2. If MR < 4, it is determined that the communication environment is safe, and S604 is executed. If MR ≥ 4, it is determined that the communication environment is unsafe, and S605 is executed.
[0193] It should be understood that here, the first threshold is taken as 4 for illustration, and the specific value of the first threshold in this application is not limited.
[0194] S604. Device A continues to execute the ranging process.
[0195] S605. Device A activates the defense mechanism, which can include changing the communication channel and / or changing the time interval of the ultra-wideband signal transmission. Specifically, the methods 1, 2 or 3 described above can be referred to.
[0196] In one implementation, the defense mechanism in method 300 can be implemented separately. The following is described in conjunction with Figure 7 and Figure 8 .
[0197] Figure 7 is a schematic flowchart of a communication method 700 provided by this application. As Figure 7 shown, the method 700 includes the following steps.
[0198] S710. The first communication device sends the first ranging signal on the first channel. Correspondingly, the second communication device receives the first ranging signal on the first channel; or, the second communication device sends the first ranging signal on the first channel. Correspondingly, the first communication device receives the first ranging signal on the first channel.
[0199] The first ranging signal is used to determine the distance between the first communication device and the second communication device. In other words, the first communication device can determine the distance between itself and the second communication device based on the first ranging signal.
[0200] In method 700, both the first communication device and the second communication device include a first ultra-wideband module and a second ultra-wideband module. The first ultra-wideband module of the first communication device and the first ultra-wideband module of the second communication device both operate on the first channel, and the second ultra-wideband module of the first communication device and the second ultra-wideband module of the second communication device both operate on the second channel. The first channel and the second channel are different.
[0201] The first communication device can be any device that supports ultra-wideband communication; for example, it can be... Figure 1 The UWB ranging device 110 or UWB device 120 shown are examples. Similarly, the second communication device can be any device supporting ultra-wideband communication; for example, it can be... Figure 1 The UWB ranging device 120 or UWB device 110 shown.
[0202] S720, the first communication device transmits a second ranging signal on the second channel, and correspondingly, the second communication device receives the second ranging signal on the second channel; or, the second communication device transmits a second ranging signal on the second channel, and correspondingly, the first communication device receives the second ranging signal on the second channel.
[0203] The second ranging signal is not used to determine the distance between the first communication device and the second communication device; instead, it is used as information in the honeypot technology.
[0204] For example, such as Figure 5As shown, the first communication device includes UWB module 1 (an example of a second ultra-wideband module) and UWB module 2 (an example of a first ultra-wideband module), and the second communication device includes UWB module 1 and UWB module 2. UWB module 1 of the first communication device and UWB module 2 of the second communication device form a set of UWB communication modules, which can communicate with each other. UWB module 2 of the first communication device and UWB module 2 of the second communication device form a set of UWB communication modules, which can communicate with each other. During a certain period of time, the first communication device and the second communication device can exchange UWB signal #4 (an example of a first ranging signal) on channel 1 (an example of a first channel) through UWB module 2, and exchange UWB signal #5 (an example of a second ranging signal) on channel 2 (an example of a second channel) through UWB module 1. UWB signal #4 can be used to determine the distance between the first communication device and the second communication device, while UWB signal #5 is not used to determine the distance between the first communication device and the second communication device. UWB signal #5 can be used as information in the honeypot technology, that is, the UWB module 1 of the first communication device and the UWB module 1 of the second communication device are modules in the honeypot technology to confuse the attacking device.
[0205] It should be understood that the first ranging signal in method 700 can be considered as the first ranging signal in method 300, and the second ranging signal in method 700 can be considered as the fourth ranging signal in method 300. In method 700, both the first ranging signal and the second ranging signal refer to ultra-wideband signals. For the meaning of ultra-wideband signals, please refer to method 300.
[0206] For example, in S710, the first communication device transmits or receives a first ranging signal on a first channel during a first time period; in S720, the first communication device also transmits or receives a second ranging signal on a second channel during a first time period. The first time period refers to any time range.
[0207] Based on the above scheme, the first and second communication devices can use honeypots as a security protection method during wireless ranging, thereby improving the security and reliability of the ultra-wideband system.
[0208] Figure 8 This is a flowchart illustrating a communication method 800 provided in this application, as shown below. Figure 8 As shown, the method 800 includes the following steps.
[0209] S810, the first communication device transmits a first ranging signal on the first channel during a first time period, and correspondingly, the second communication device receives the first ranging signal on the first channel during the same time period. Alternatively, the second communication device transmits the first ranging signal on the first channel during a first time period, and correspondingly, the first communication device receives the first ranging signal on the first channel during the same time period.
[0210] The time interval between two adjacent first ranging signals within the first time period is the first time interval.
[0211] The first ranging signal is used to determine the distance between the first communication device and the second communication device. In other words, the first communication device can determine the distance between itself and the second communication device based on the first ranging signal.
[0212] The first time period refers to any time range.
[0213] After S810, the first communication device and the second communication device can perform any one of S820a, S820b and S820c.
[0214] S820a, the first communication device transmits a second ranging signal on the first channel during a second time period, and correspondingly, the second communication device receives the second ranging signal on the first channel during the second time period; or, the second communication device transmits the second ranging signal on the first channel during a second time period, and correspondingly, the first communication device receives the second ranging signal on the first channel during the second time period. The time interval between two adjacent second ranging signals is called the second time interval.
[0215] S820b, the first communication device transmits a second ranging signal on the second channel during a second time period, and correspondingly, the second communication device receives the second ranging signal on the second channel during the same time period; or, the second communication device transmits the second ranging signal on the second channel during a second time period, and correspondingly, the first communication device receives the second ranging signal on the second channel during the same time period. The time interval between two adjacent second ranging signals is the first time interval.
[0216] S820c, the first communication device transmits a second ranging signal on the second channel during a second time period, and correspondingly, the second communication device receives the second ranging signal on the second channel during the same time period; or, the second communication device transmits the second ranging signal on the second channel during a second time period, and correspondingly, the first communication device receives the second ranging signal on the second channel during the same time period. The time interval between two adjacent second ranging signals is called the second time interval.
[0217] The second ranging signal is also used to determine the distance between the first communication device and the second communication device. The second time interval is different from the first time interval, the second channel is different from the first channel, and the second time period is after the first time period.
[0218] In other words, the first communication device can change the time interval for transmitting the ranging signal, or change the communication channel, or change both the time interval for transmitting the ranging signal and the communication channel in the second time period, thereby ensuring communication security.
[0219] It should be understood that the first ranging signal in method 800 can be considered as the first ranging signal in method 300, and the second ranging signal in method 800 can be considered as the third ranging signal in method 300. In method 800, both the first ranging signal and the second ranging signal refer to ultra-wideband signals. The meaning of ultra-wideband signals can be found in method 300. Furthermore, the first time period in method 800 can be considered as the first time period in method 300, and the second time period in method 800 can be considered as the third time period in method 300. S820a can be considered as mode 1 in method 300, S820b can be considered as mode 2 in method 300, and S820c can be considered as mode 3 in method 300.
[0220] The second time period refers to any time range after the first time period.
[0221] Based on the above scheme, after the first ranging signal is exchanged, the first communication device can activate the defense mechanism by changing the communication channel and / or changing the time interval of the ranging signal transmission, thereby reducing the possibility of being attacked, ensuring communication security, and improving the reliability of the ultra-wideband system.
[0222] In one implementation, the first communication device includes a first ultra-wideband module, and the first channel and the second channel are both working channels of the first ultra-wideband module of the first communication device.
[0223] In this implementation, S820a mentions that the first communication device transmits or receives a second ranging signal on the first channel during a second time period, which includes: the first communication device transmitting or receiving a second ranging signal on the first channel of the first ultra-wideband module during the second time period. S820b and S820c mention that the first communication device transmits or receives a second ranging signal on the second channel during a second time period, which includes: the first communication device transmitting or receiving a second ranging signal on the second channel of the first ultra-wideband module during the second time period.
[0224] In another implementation, the first communication device includes a first ultra-wideband module and a second ultra-wideband module. The first channel is the working channel of the first ultra-wideband module of the first communication device, and the second channel can be the working channel of the second ultra-wideband module of the first communication device.
[0225] In this implementation, S820a mentions that the first communication device transmits or receives a second ranging signal on the first channel during a second time period, including: the first communication device transmits or receives a second ranging signal on the first channel of the first ultra-wideband module during the second time period. S820b and S820c mention that the first communication device transmits or receives a second ranging signal on the second channel during a second time period, including: the first communication device transmits or receives a second ranging signal on the second channel of the second ultra-wideband module during the second time period.
[0226] Optionally, in this implementation, assuming that the first communication device and the second communication device execute S820b or S820c after S810, the method further includes: the first communication device determining the distance between the first communication device and the second communication device based on the second ranging signal, and sending or receiving a third ranging signal on the first channel during a second time period, wherein the time interval between two adjacent third ranging signals is the first time interval.
[0227] Specifically, the second ranging signal can be used to determine the distance between the first communication device and the second communication device, while the third ranging signal is not used to determine the distance between the first communication device and the second communication device; the third ranging signal is used as information in the honeypot technology. The third ranging signal in method 800 can be regarded as the fourth ranging signal in method 300.
[0228] It should be understood that for any parts of Methods 700 and 800 that are not described in detail, please refer to Method 300, which will not be repeated here.
[0229] It is understood that, in order to achieve the functions in the above embodiments, the base station and terminal include hardware structures and / or software modules corresponding to perform each function. Those skilled in the art should readily recognize that, based on the units and method steps described in conjunction with the embodiments disclosed in this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0230] Figure 9 and Figure 10 This is a schematic diagram of the structure of a communication device provided in the embodiments of this application. These communication devices can be used to implement the functions of the first communication device in the above method embodiments, and therefore can also achieve the beneficial effects of the above method embodiments. In the embodiments of this application, the communication device can be the first communication device, or it can be a module (such as a chip) applied to the first communication device.
[0231] like Figure 9 As shown, the communication device 2000 includes a processing unit 2010 and a transceiver unit 2020. The communication device 2000 is used to implement the above-mentioned... Figure 3 , Figure 7 or Figure 8 The function of the first communication device in the method embodiment shown.
[0232] When the communication device 2000 is used to achieve Figure 3 In the method embodiment shown, the first communication device functions as follows: the transceiver unit 2020 is used to send or receive a first ranging signal in a first time period, the first ranging signal being used to determine the distance between the first communication device and the second communication device; the processing unit 2010 is used to perform security detection on the communication environment in a second time period, the first time period and the second time period not overlapping.
[0233] When the communication device 2000 is used to achieve Figure 7 In the method embodiment shown, the first communication device functions as follows: the transceiver unit 2020 is used to: send or receive a first ranging signal on the first channel; the processing unit 2010 is used to: determine the distance between the first communication device and the second communication device based on the first ranging signal; the transceiver unit 2020 is also used to: send or receive a second ranging signal on the second channel.
[0234] When the communication device 2000 is used to achieve Figure 7 In the method embodiment shown, the first communication device functions as follows: the transceiver unit 2020 is used to: transmit or receive a first ranging signal on a first channel during a first time period, wherein the time interval between two adjacent first ranging signals within the first time period is a first time interval; the transceiver unit 2020 is also used to: transmit or receive a second ranging signal on a first channel during a second time period, wherein the time interval between two adjacent second ranging signals within the second time period is a second time interval; or, transmit or receive a second ranging signal on a second channel during a second time period, wherein the time interval between two adjacent second ranging signals within the second time period is a first time interval; or, transmit or receive a second ranging signal on a second channel during a second time period, wherein the time interval between two adjacent second ranging signals within the second time period is a second time interval.
[0235] For a detailed description of the functions performed by the processing unit 2010 and the transceiver unit 2020, please refer to [reference needed]. Figure 3 The method shown in 300 is described in detail, or refer to the relevant description. Figure 7 The relevant description of method 700 shown, or Figure 8 The relevant description of method 800 is shown.
[0236] like Figure 10As shown, the communication device 3000 includes a processor 3010 and an interface circuit 3020. The processor 3010 and the interface circuit 3020 are coupled to each other. It is understood that the interface circuit 3020 can be a transceiver or an input / output interface. Optionally, the communication device 3000 may also include a memory 3030 for storing instructions executed by the processor 3010, or storing input data required by the processor 3010 to execute instructions, or storing data generated after the processor 3010 executes instructions. Sometimes, the interface circuit 3020 can also be understood as part of the processor 3010, in which case the communication device 3000 includes the processor 3010.
[0237] When the communication device 3000 is used to achieve Figure 3 , Figure 7 or Figure 8 In the method shown, the processor 3010 is used to implement the functions of the processing unit 2010, and the interface circuit 3020 is used to implement the functions of the transceiver unit 2020.
[0238] When the aforementioned communication device is a chip applied to the first communication device, the chip implements the functions of the first communication device in the above method embodiments. The chip receiving information from the second communication device can be understood as the information being first received by other modules (such as an RF module or antenna) in the first communication device, and then sent to the chip by these modules. The chip sending information to the second communication device can be understood as the information being first sent to other modules (such as an RF module or antenna) in the first communication device, and then sent to the second communication device by these modules.
[0239] It is understood that the processor in the embodiments of this application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor.
[0240] The method steps in the embodiments of this application can be implemented in hardware or in software instructions executable by a processor. The software instructions can consist of corresponding software modules, which can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. The storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. Alternatively, the ASIC can reside in a base station or terminal. The processor and storage medium can also exist as discrete components in a base station or terminal.
[0241] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video optical disc; or it can be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both types of storage media.
[0242] In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of different embodiments are consistent and can be referenced by each other. The technical features of different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0243] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, or B exists alone, where A and B can be singular or plural. In the textual description of this application, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. "Including at least one of A, B, and C" can mean: including A; including B; including C; including A and B; including A and C; including B and C; including A, B, and C.
[0244] In this application, descriptions such as "when," "under the circumstances," "if," and "if" all refer to the device making corresponding actions under certain objective circumstances. They are not time-limited, nor do they require the device to make a judgment action during implementation, nor do they imply any other limitations.
[0245] It should be understood that in the various embodiments of this application, the terms "first," "second," and various numerical designations are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the sequence numbers of the above processes does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.
[0246] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0247] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0248] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0249] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0250] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0251] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0252] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication method, characterized in that, Applied to a first communication device, comprising: Sending or receiving a first ranging signal during a first time period, the first ranging signal being used to determine the distance between the first communication device and the second communication device; Security checks on the communication environment are performed in the second time period, and the first and second time periods do not overlap.
2. The method according to claim 1, characterized in that, The security detection of the communication environment includes: The system detects whether ultra-wideband signals and / or distorted signals exist in the air interface. The distorted signal includes a first part field and a second part field. The difference between the power of the first part field and the power of the second part field is greater than a first threshold, and the bandwidth of the ultra-wideband signal is greater than a second threshold.
3. The method according to claim 1, characterized in that, The method further includes: During the first time period, a second ranging signal is sent or received. The second ranging signal is used to determine the distance between the first communication device and the second communication device. The bandwidth of the first ranging signal is greater than the bandwidth of the second ranging signal. The security detection of the communication environment includes: Determine whether the difference between the first ranging result and the second ranging result is greater than a third threshold, wherein the first ranging result is determined based on the first ranging signal and the second ranging result is determined based on the second ranging signal.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: The security test result is sent to the second communication device.
5. The method according to any one of claims 1 to 4, characterized in that, The first ranging signal is transmitted or received on the first channel, and the time interval between two adjacent first ranging signals within the first time period is the first time interval. If the communication environment is determined to be insecure, the method further includes: In a third time period, a third ranging signal is transmitted or received on the first channel, and the time interval between two adjacent third ranging signals within the third time period is a second time interval; or... During a third time period, a third ranging signal is transmitted or received on the second channel, wherein the time interval between two adjacent third ranging signals within the third time period is the first time interval; or... During the third time period, a third ranging signal is sent or received on the second channel, and the time interval between two adjacent third ranging signals during the third time period is the second time interval. The third ranging signal is used to determine the distance between the first communication device and the second communication device. The second time interval is different from the first time interval, the second channel is different from the first channel, and the third time interval is after the second time interval.
6. The method according to claim 5, characterized in that, The first communication device includes a first ultra-wideband module, and both the first channel and the second channel are working channels of the first ultra-wideband module.
7. The method according to claim 5, characterized in that, The first communication device includes a first ultra-wideband module and a second ultra-wideband module. The first channel is the operating channel of the first ultra-wideband module, and the second channel is the operating channel of the second ultra-wideband module. The step of transmitting or receiving a third ranging signal on the second channel during a third time period includes: During the third time period, the third ranging signal is transmitted or received on the second channel of the second ultra-wideband module; The method further includes: The distance between the first communication device and the second communication device is determined based on the third ranging signal; During the third time period, a fourth ranging signal is transmitted or received on the first channel of the first ultra-wideband module, and the time interval between two adjacent fourth ranging signals during the third time period is the first time interval.
8. A communication method, characterized in that, Applied to a first communication device, the first communication device including a first ultra-wideband module and a second ultra-wideband module, wherein the first ultra-wideband module operates via a first channel and the second ultra-wideband module operates via a second channel, and the first channel and the second channel are different, the method includes: Sending or receiving a first ranging signal on the first channel; The distance between the first communication device and the second communication device is determined based on the first ranging signal. Sending or receiving a second ranging signal on the second channel.
9. A communication method, characterized in that, Applied to a first communication device, the method includes: A first ranging signal is transmitted or received on the first channel during a first time period, and the time interval between two adjacent first ranging signals within the first time period is the first time interval. During a second time period, a second ranging signal is transmitted or received on the first channel, and the time interval between two adjacent second ranging signals within the second time period is the second time interval; or, In the second time period, a second ranging signal is transmitted or received on the second channel, and the time interval between two adjacent second ranging signals within the second time period is the first time interval; or, In the second time period, a second ranging signal is sent or received in the second channel, and the time interval between two adjacent second ranging signals in the second time period is the second time interval. Wherein, both the first ranging signal and the second ranging signal are used to determine the distance between the first communication device and the second communication device, the second time interval is different from the first time interval, the second channel is different from the first channel, and the second time period is after the first time period.
10. The method according to claim 9, characterized in that, The first communication device includes a first ultra-wideband module, and both the first channel and the second channel are working channels of the first ultra-wideband module.
11. The method according to claim 10, characterized in that, The first communication device includes a first ultra-wideband module and a second ultra-wideband module, the first channel is the operating channel of the first ultra-wideband module, and the second channel is the operating channel of the second ultra-wideband module. The step of transmitting or receiving a second ranging signal on the second channel during a second time period includes: During the second time period, the second ranging signal is transmitted or received on the second channel of the second ultra-wideband module; The method further includes: The distance between the first communication device and the second communication device is determined based on the second ranging signal; During the second time period, a third ranging signal is sent or received on the first channel of the first ultra-wideband module, and the time interval between two adjacent third ranging signals during the second time period is the first time interval.
12. A communication device, characterized in that, include: The unit is used to perform the method as described in any one of claims 1 to 7, or includes a unit for performing the method as described in claim 8, or includes a unit for performing the method as described in any one of claims 9 to 11.
13. A communication device, characterized in that, include: A processor coupled to a memory for storing a computer program, the processor for executing the computer program stored in the memory to cause the apparatus to perform the method as claimed in any one of claims 1 to 7, or to cause the apparatus to perform the method as claimed in claim 8, or to cause the apparatus to perform the method as claimed in any one of claims 9 to 11.
14. A computer-readable storage medium, characterized in that, The storage medium stores a computer program or instructions that, when executed by a communication device, implement the method as described in any one of claims 1 to 7, or the method as described in claim 8, or the method as described in any one of claims 9 to 11.
15. A computer program product, characterized in that, Includes a computer program that, when run, implements the method as described in any one of claims 1 to 7, or implements the method as described in claim 8, or implements the method as described in any one of claims 9 to 11.