WO2024001372A1 - 一种发起设备、响应设备和信息传输方法 - Google Patents

一种发起设备、响应设备和信息传输方法 Download PDF

Info

Publication number
WO2024001372A1
WO2024001372A1 PCT/CN2023/085847 CN2023085847W WO2024001372A1 WO 2024001372 A1 WO2024001372 A1 WO 2024001372A1 CN 2023085847 W CN2023085847 W CN 2023085847W WO 2024001372 A1 WO2024001372 A1 WO 2024001372A1
Authority
WO
WIPO (PCT)
Prior art keywords
ranging signal
ranging
frame
signal
time interval
Prior art date
Application number
PCT/CN2023/085847
Other languages
English (en)
French (fr)
Inventor
于茜
马超
胡世昌
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024001372A1 publication Critical patent/WO2024001372A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Definitions

  • the embodiments of the present application relate to the field of communications, and in particular, to an initiating device, a responding device, and an information transmission method.
  • ultra-wide band (UWB) wireless ranging technology to achieve intercommunication and positioning between electronic devices requires the exchange of signals between electronic devices.
  • UWB ultra-wide band
  • Embodiments of the present application provide an initiating device, a responding device, and an information transmission method to ensure information security during interactive communication between electronic devices.
  • Embodiments of the present application also provide corresponding communication systems, electronic devices, computer-readable storage media, etc.
  • a first aspect of this application provides an initiating device.
  • the initiating device includes a first sending circuit and a receiving circuit, wherein the first sending circuit is used to send a ranging signal to a responding device, and the ranging signal at least includes a first ranging signal frame. and a second ranging signal frame, the first sending time interval between the first ranging signal frame and the second ranging signal frame is randomly generated; the receiving circuit is configured to receive measurement information returned by the responding device based on the ranging signal.
  • both the initiating device and the responding device are mobile terminals, and interactive communication is carried out between the initiating device and the responding device based on impulse radio UWB (impulse radio-UWB, IR-UWB) technology.
  • the ranging signal and measurement information include data, such as data composed of the synchronization (SYNC) field and the CIR training sequence (CTS).
  • SYNC field is used to complete the time-frequency synchronization of the ranging signal
  • CTS is used to complete the time-frequency synchronization of the ranging signal. Calculation of CIR and completion of ranging.
  • the first sending circuit and the receiving circuit are integrated in a UWB chip of the initiating device, and the first receiving circuit and the sending circuit are integrated in a UWB chip of the responding device.
  • both the initiating device and the responding device obtain the same and randomly generated first sending time interval. After the initiating device sends the first ranging signal frame, it waits for the first sending time interval. The second ranging signal frame is sent after the time interval.
  • the ranging signal may also include a third ranging signal frame, a fourth ranging signal frame, a fifth ranging signal frame, etc., which are communicated in the same manner as the first ranging signal frame and the second ranging signal.
  • the frames are the same.
  • the sending time intervals of multiple ranging signal frames sent by the initiating device to the responding device are randomly generated, so that the attacker cannot determine the regularity of the ranging signals sent by the initiating device to the responding device and cannot send interference signals at the same time. Interference and attacks are carried out to ensure information security during interactive communication between electronic devices.
  • the initiating device further includes a second sending circuit, the second sending circuit is used to send an auxiliary signal to the responding device, and the second sending time interval between the auxiliary signal and the ranging signal is Randomly generated, the auxiliary signal is used to carry the configuration information of the ranging signal.
  • the initiating device and the responding device are applied to narrowband assisted ultra-wideband (NBA-UWB) technology.
  • NBA-UWB narrowband assisted ultra-wideband
  • NBA-UWB technology can reduce the area of the broadband, Power consumption and cost.
  • the ranging signal is an ultra-wideband frame
  • the auxiliary signal is a narrowband frame
  • the narrowband frame carries the configuration information of the ultra-wideband frame and provides time synchronization information for the ultra-wideband frame.
  • the ultra-wideband frame contains CTS to complete ranging, which improves the realizability of the solution.
  • the second ranging signal frame is received by the responding device after receiving the first ranging signal frame and waiting for the first sending time interval.
  • the responding device when the responding device receives the first ranging signal frame, it waits for the first sending time interval before receiving the second ranging signal frame.
  • the responding device receives at the set time, which can avoid After receiving the interference signal sent by the attacker, when the attacker cannot determine the pattern of sending ranging signals from the initiating device to the responding device, and randomly sends interference signals, the responding device will not receive the interference signal, further improving the interactive communication of electronic devices. time information security.
  • the first sending circuit is also used to send the time ciphertext to the response device, so that the response device decrypts the time ciphertext based on the preset key to obtain the first sending time interval.
  • the time ciphertext is obtained by the initiating device encrypting the first sending time interval based on the preset key.
  • the initiating device uses a symmetric key algorithm so that the responding device can also obtain the same sending time interval, which improves the realizability of the solution, and the symmetric key algorithm can be used when the attacker cannot obtain the key. It cannot be cracked, further improving the information security during interactive communication between electronic devices.
  • the first sending time interval is randomly generated by the initiating device and the responding device based on the same algorithm.
  • the initiating device uses the same algorithm as the responding device to randomly generate the sending time interval, which improves the achievability of the solution.
  • the attacker cannot determine the algorithms and parameters used by the initiating device and the responding device, and further Improved information security during interactive communication between electronic devices.
  • the initiating device further includes a ranging circuit, and the ranging circuit is configured to determine the distance between the initiating device and the responding device based on the sending time of the ranging signal and the receiving time of the measurement information.
  • the distance between the initiating device and the responding device can be determined based on the sending time of the ranging signal and the receiving time of the measurement information, which improves the achievability of the solution. sex.
  • a second aspect of the present application provides a response device.
  • the response device includes a first receiving circuit and a sending circuit, wherein the first receiving circuit is used to receive a ranging signal sent by the initiating device, and the ranging signal at least includes a first ranging signal. frame and the second ranging signal frame, and the first sending time interval between the first ranging signal frame and the second ranging signal frame is randomly generated; the sending circuit is configured to send measurement information to the initiating device based on the ranging signal.
  • the responding device further includes a second receiving circuit, the second receiving circuit is used to receive the auxiliary signal sent by the initiating device, and the second sending time interval between the auxiliary signal and the ranging signal It is randomly generated, and the auxiliary signal is used to carry the configuration information of the ranging signal.
  • the ranging signal is an ultra-wideband frame
  • the auxiliary signal is a narrowband frame
  • the first receiving circuit is specifically configured to, after receiving the first ranging signal frame, wait for the first sending time interval and then receive the second ranging signal frame.
  • the first receiving circuit is also configured to receive the time ciphertext sent by the initiating device, and decrypt the time ciphertext based on the preset key to obtain the first sending time interval, time The ciphertext is obtained by the initiating device encrypting the first sending time interval based on the preset key.
  • the first sending time interval is randomly generated by the initiating device and the responding device based on the same algorithm.
  • a third aspect of the present application provides an initiating device.
  • the initiating device includes a first sending circuit, a second sending circuit and a receiving circuit, wherein the first sending circuit is used to send an auxiliary signal to the responding device; the second sending circuit is used to send an auxiliary signal to the responding device.
  • the response device sends a ranging signal.
  • the first sending time interval between the auxiliary signal and the ranging signal is randomly generated.
  • the auxiliary signal is used to carry the configuration information of the ranging signal; the receiving circuit is used to receive the response device's response based on the ranging signal. measurement information.
  • the ranging signal at least includes a first ranging signal frame and a second ranging signal frame, and a second ranging signal frame between the first ranging signal frame and the second ranging signal frame.
  • the sending interval is randomly generated.
  • the ranging signal is an ultra-wideband frame
  • the auxiliary signal is a narrowband frame
  • the ranging signal is received by the responding device after receiving the auxiliary signal and waiting for the first sending time interval.
  • the first sending circuit is also used to send the time ciphertext to the response device, so that the response device decrypts the time ciphertext based on the preset key to obtain the first sending time interval.
  • the time ciphertext is obtained by the initiating device encrypting the first sending time interval based on the preset key.
  • the first sending time interval is randomly generated by the initiating device and the responding device based on the same algorithm.
  • the initiating device further includes a ranging circuit, and the ranging circuit is configured to determine the distance between the initiating device and the responding device based on the sending time of the ranging signal and the receiving time of the measurement information.
  • a fourth aspect of the present application provides a response device.
  • the response device includes a first receiving circuit, a second receiving circuit and a sending circuit, wherein the first receiving circuit is used to receive the auxiliary signal sent by the initiating device; the second receiving circuit is used to Receive the ranging signal sent by the initiating device.
  • the first sending time interval between the auxiliary signal and the ranging signal is randomly generated.
  • the auxiliary signal is used to carry the configuration information of the ranging signal; the sending circuit is used to send the ranging signal to the initiating device based on the ranging signal.
  • the device sends measurement information.
  • the ranging signal at least includes a first ranging signal frame and a second ranging signal frame, and a second ranging signal frame between the first ranging signal frame and the second ranging signal frame.
  • the sending interval is randomly generated.
  • the ranging signal is an ultra-wideband frame
  • the auxiliary signal is a narrowband frame
  • the first receiving circuit is specifically configured to, after receiving the first ranging signal frame, wait for the first sending time interval and then receive the second ranging signal frame.
  • the first receiving circuit is also configured to receive the time ciphertext sent by the initiating device, and decrypt the time ciphertext based on the preset key to obtain the first sending time interval, time The ciphertext is obtained by the initiating device encrypting the first sending time interval based on the preset key.
  • the first sending time interval is randomly generated by the initiating device and the responding device based on the same algorithm.
  • a fifth aspect of the present application provides an information transmission method.
  • the method includes: the initiating device sends a ranging signal to the responding device.
  • the ranging signal at least includes a first ranging signal frame and a second ranging signal frame.
  • the first ranging signal The first sending time interval between the frame and the second ranging signal frame is randomly generated; the initiating device receives the measurement information returned by the responding device based on the ranging signal.
  • the method further includes: the initiating device sends an auxiliary signal to the responding device, the second sending time interval between the auxiliary signal and the ranging signal is randomly generated, and the auxiliary signal is used to Carrying configuration information of ranging signals.
  • the ranging signal is an ultra-wideband frame
  • the auxiliary signal is a narrowband frame
  • the second ranging signal frame is received by the responding device after receiving the first ranging signal frame and waiting for the first sending time interval.
  • the method further includes: the initiating device sends the time ciphertext to the responding device, so that the responding device decrypts the time ciphertext based on the preset key to obtain the first sending time interval , the time ciphertext is obtained by the initiating device encrypting the first sending time interval based on the preset key.
  • the first sending time interval is randomly generated by the initiating device and the responding device based on the same algorithm.
  • the method further includes: determining the distance between the initiating device and the responding device based on the sending time of the ranging signal and the receiving time of the measurement information.
  • a sixth aspect of the present application provides an information transmission method.
  • the method includes: the responding device receives a ranging signal sent by the initiating device.
  • the ranging signal at least includes a first ranging signal frame and a second ranging signal frame.
  • the first ranging signal The first sending time interval between the signal frame and the second ranging signal frame is randomly generated; the responding device sends measurement information to the initiating device based on the ranging signal.
  • the method further includes: the responding device receives an auxiliary signal sent by the initiating device, the second sending time interval between the auxiliary signal and the ranging signal is randomly generated, and the auxiliary signal is Configuration information used to carry ranging signals.
  • the ranging signal is an ultra-wideband frame
  • the auxiliary signal is a narrowband frame
  • the response device is specifically configured to, after receiving the first ranging signal frame, wait for the first sending time interval and then receive the second ranging signal frame.
  • the method further includes: the responding device receives the time ciphertext sent by the initiating device, and decrypts the time ciphertext based on the preset key to obtain the first sending time interval, time The ciphertext is obtained by the initiating device encrypting the first sending time interval based on the preset key.
  • the first sending time interval is randomly generated by the initiating device and the responding device based on the same algorithm.
  • the seventh aspect of this application provides an information transmission method.
  • the method includes: the initiating device sends an auxiliary signal to the responding device; the initiating device sends a ranging signal to the responding device.
  • the first sending time interval between the auxiliary signal and the ranging signal is Randomly generated, the auxiliary signal is used to carry the configuration information of the ranging signal; the initiating device receives the measurement information returned by the responding device based on the ranging signal.
  • the ranging signal at least includes a first ranging signal frame and a second ranging signal frame, and a second ranging signal frame between the first ranging signal frame and the second ranging signal frame.
  • the sending interval is randomly generated.
  • the ranging signal is an ultra-wideband frame
  • the auxiliary signal is a narrowband frame
  • the ranging signal is received by the responding device after receiving the auxiliary signal and waiting for the first sending time interval.
  • the method further includes: the initiating device sends the time ciphertext to the responding device, so that the responding device decrypts the time ciphertext based on the preset key to obtain the first sending time interval , the time ciphertext is obtained by the initiating device encrypting the first sending time interval based on the preset key.
  • the first sending time interval is randomly generated by the initiating device and the responding device based on the same algorithm.
  • the method further includes: the initiating device determines the distance between the initiating device and the responding device based on the sending time of the ranging signal and the receiving time of the measurement information.
  • An eighth aspect of the present application provides an information transmission method, which method includes: the responding device receives an auxiliary signal sent by the initiating device; the responding device receives a ranging signal sent by the initiating device, and the first sending time between the auxiliary signal and the ranging signal The interval is randomly generated, and the auxiliary signal is used to carry the configuration information of the ranging signal; the responding device sends measurement information to the initiating device based on the ranging signal.
  • the ranging signal at least includes a first ranging signal frame and a second ranging signal frame, and a second ranging signal frame between the first ranging signal frame and the second ranging signal frame.
  • the sending interval is randomly generated.
  • the ranging signal is an ultra-wideband frame
  • the auxiliary signal is a narrowband frame
  • the response device is specifically configured to, after receiving the first ranging signal frame, wait for the first sending time interval and then receive the second ranging signal frame.
  • the method further includes: the responding device receives the time ciphertext sent by the initiating device, and decrypts the time ciphertext based on the preset key to obtain the first sending time interval, time The ciphertext is obtained by the initiating device encrypting the first sending time interval based on the preset key.
  • the first sending time interval is randomly generated by the initiating device and the responding device based on the same algorithm.
  • a ninth aspect of the present application provides a communication system, which includes an initiating device as described in the above first aspect or any possible implementation of the first aspect and the above second aspect or any possible implementation of the second aspect. response device.
  • a tenth aspect of the present application provides a communication system, which includes an initiating device as described in the above third aspect or any possible implementation of the third aspect and the above fourth aspect or any possible implementation of the fourth aspect. response device.
  • An eleventh aspect of the present application provides an electronic device.
  • the electronic device includes: a processor, a communication interface and a memory.
  • the memory is used to store program code.
  • the processor is used to call the program code in the memory so that the processor executes the above fifth step.
  • any possible implementation method of the fifth aspect, the sixth aspect, any possible implementation method of the sixth aspect, the seventh aspect, any possible implementation method of the seventh aspect, the eighth aspect or the eighth aspect Any possible way to do it.
  • a twelfth aspect of the present application provides a computer-readable storage medium that stores one or more computer-executable instructions.
  • the processor executes any one of the possibilities of the fifth aspect and the fifth aspect.
  • the sixth aspect, any possible implementation of the sixth aspect, the seventh aspect, any possible implementation of the seventh aspect, the eighth aspect or any possible implementation method of the eighth aspect are executed by a processor.
  • a thirteenth aspect of the present application provides a computer program product that stores one or more computer execution instructions.
  • the processor executes any of the possible implementations of the fifth aspect and the fifth aspect.
  • the processor executes any of the possible implementations of the fifth aspect and the fifth aspect.
  • the processor executes any of the possible implementations of the fifth aspect and the fifth aspect.
  • the sixth aspect any possible implementation of the sixth aspect, the seventh aspect, any possible implementation of the seventh aspect, the eighth aspect, or any possible implementation of the eighth aspect.
  • a fourteenth aspect of the present application provides a chip system.
  • the chip system includes at least one processor and an interface.
  • the interface is used to receive data and/or signals.
  • the at least one processor is used to support computer equipment to implement the above-mentioned fifth aspect and the third aspect.
  • Any possible implementation of the five aspects, the sixth aspect, any possible implementation of the sixth aspect, the seventh aspect, any possible implementation of the seventh aspect, the eighth aspect or any of the eighth aspect Features involved in possible implementations.
  • the chip system may also include a memory, which is used to store necessary program instructions and data for the computer device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the sending time interval of multiple ranging signal frames sent by the initiating device to the responding device is randomly generated, so that the attacker cannot determine the pattern of the ranging signal sent by the initiating device to the responding device, and cannot send interference signals at the same time to interfere and attack. This ensures information security during interactive communication between electronic devices.
  • Figures 1A-1E are schematic diagrams of application scenarios according to embodiments of the present application.
  • Figure 2 is a schematic diagram of an initiating device and a responding device provided by an embodiment of the present application
  • Figure 3 is a schematic diagram of an embodiment of the interaction between the initiating device and the responding device provided by the embodiment of the present application;
  • Figure 4 is a schematic diagram of another embodiment of the initiating device provided by the embodiment of the present application.
  • Figure 5 is a schematic diagram of another embodiment of the interaction between the initiating device and the responding device provided by the embodiment of the present application;
  • Figure 6 is a schematic diagram of another embodiment of the initiating device and the responding device provided by the embodiment of the present application.
  • Figure 7 is a schematic diagram of another embodiment of the interaction between the initiating device and the responding device provided by the embodiment of the present application.
  • Figure 8 is a schematic diagram of another embodiment of the initiating device and the responding device provided by the embodiment of the present application.
  • Figure 9 is a schematic diagram of another embodiment of the interaction between the initiating device and the responding device provided by the embodiment of the present application.
  • Figure 10 is a schematic diagram of another embodiment of the initiating device and the responding device provided by the embodiment of the present application.
  • Figure 11 is a schematic diagram of an embodiment of the information transmission method provided by the embodiment of the present application.
  • Figure 12 is a schematic diagram of another embodiment of the information transmission method provided by the embodiment of the present application.
  • Figure 13 is a schematic diagram of another embodiment of the information transmission method provided by the embodiment of the present application.
  • Figure 14 is a schematic diagram of an embodiment of the communication system provided by the embodiment of the present application.
  • FIG. 15 is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • exemplary means "serving as an example, example, or illustrative.” Any embodiment described herein as “exemplary” is not necessarily to be construed as superior or superior to other embodiments.
  • Embodiments of the present application provide an initiating device, a responding device, and an information transmission method to ensure information security during interactive communication between electronic devices.
  • Embodiments of the present application also provide corresponding communication systems, electronic devices, computer-readable storage media, etc. Each is explained in detail below.
  • the transmitter (TX1) 111 of the first device 110 sends an ultra-wideband signal to the receiver (RX2) 122 of the second device 120.
  • the second device 120 responds by returning an ultra-wideband signal frame to the receiving end (RX1) 112 of the first device 110 through its sending end (TX2) 121.
  • the first device 110 and the second device 120 adopt an impulse radio UWB (impulse radio-UWB, IR-UWB) ranging protocol, specifically the HPR UWB protocol of IEEE802.15a/z.
  • the defined signal format supports data transmission and ranging functions. Ranging is completed through the channel impulse response (CIR) training sequence in the ultra-wideband signal frame.
  • CIR channel impulse response
  • the ultra-wideband signal frame is added A longer scrambled timestamp sequence (STS) data for security protection.
  • STS packet configuration 0 includes the SYNC field, SFD field, PHR field and PHY Payload field, but STS is added to STS packet configuration 1, STS packet configuration 2 and STS packet configuration 3.
  • the first device 110 and the second device 120 can also use narrowband assisted ultra-wideband (NBA-UWB) technology for interactive communication, using a narrowband (NB) signal, that is, Narrowband frame (NB packet) provides time synchronization information for ultra-wideband frame (UWB fragment) signal, ultra-wideband frame, such as UBA frag1, UWB frag2, UWB frag3, etc., until UWB frag N to complete ranging.
  • NBA-UWB narrowband assisted ultra-wideband
  • UWB fragment ultra-wideband frame
  • a complete ranging frame consists of a narrowband frame (NB packet) and an ultra-wideband frame (UWB packet).
  • the narrowband frame provides initial synchronization information and assists the UWB frame in ranging.
  • the ultra-wideband frame consists of the SYNC field and the CIR training sequence (CTS) field.
  • the SYNC field is used to complete the time-frequency synchronization of the signal, and the CTS is used to calculate the CIR and complete ranging.
  • T interval time interval
  • the attacker After receiving Packet1 sent by the mobile terminal, the attacker returns Packet2' (overshadow signal) to the mobile terminal, which serves as the key to the distance between the mobile terminal and the car. is 10 meters, and the time of flight (TOF) between the mobile device and the car is T 1 +T reply +T 2 . At this time, the distance is too far and the car will not unlock. However, when the attacker finds the same address as the attacked After the overshadow signal is sent at a time point, and the attacker sends an overshadow signal at the same time point, the car will mistakenly think that the overshadow signal is an early copy of the legitimate signal sent by the mobile terminal, thereby misjudging the distance between the mobile terminal and the attacker. The distance is determined as T 1 +T reply +T 2 - ⁇ , and the distance is 1 meter. At this time, the car is successfully unlocked by the attacker.
  • an embodiment of the initiating device 210 provided by the embodiment of the present application includes a first sending circuit 211 and a receiving circuit 212
  • an embodiment of the responding device 220 provided by the embodiment of the present application includes a first receiving circuit 222 and Transmitting circuit 221.
  • the first sending circuit 211 is used to send a ranging signal to the responding device 220
  • the receiving circuit 212 is used to receive measurement information returned by the responding device 220 based on the ranging signal.
  • the first receiving circuit 222 is used to receive the ranging signal sent by the initiating device 210
  • the sending circuit 221 is used to send measurement information to the initiating device 210 based on the ranging signal.
  • the ranging signal at least includes a first ranging signal frame and a second ranging signal frame, and the first sending time interval between the first ranging signal frame and the second ranging signal frame is randomly generated.
  • the initiating device 210 and the responding device 220 are movable.
  • the ranging signal may also include a third ranging signal frame, a fourth ranging signal frame, etc.
  • the embodiment of the present application does not The number of ranging signal frames in the ranging signal is not limited.
  • both the initiating device and the responding device are mobile terminals.
  • the initiating device needs to determine the location of the responding device, the initiating device sends a ranging signal to the responding device.
  • the ranging signal is an ultra-wideband frame ( UWB packet), That is, the ranging signal includes at least a first UWB frame (first ranging signal frame) and a second UWB frame (second ranging signal frame).
  • the first sending circuit of the initiating device When the first sending circuit of the initiating device receives the ranging command (the ranging command may come from the central processor of the initiating device), the first sending circuit sends the first UWB frame to the responding device, and the first receiving circuit of the responding device After receiving the first UWB frame, the responding device generates measurement information based on the first UWB frame.
  • the measurement information is also specifically a UWB frame.
  • the responding device continues to send the measurement information to the initiating device through its sending circuit.
  • the receiving circuit of the initiating device After receiving the measurement information, an ultra-wideband frame interaction is completed. After the initiating device sends the first UWB frame, it starts to wait. After waiting for the first sending time interval, the first sending circuit of the initiating device continues to send the second UWB frame to the responding device.
  • the responding device After receiving the first UWB frame, the responding device After the UWB frame, wait begins. After waiting for the first sending time interval, the first receiving circuit of the responding device begins to receive the signal. At this time, the second UWB frame can just be received. That is, the second UWB frame is the response device after receiving the first sending time interval. After a UWB frame, wait for the first sending time interval before receiving.
  • the ranging signal and measurement information include data, such as data composed of the synchronization (SYNC) field and the CIR training sequence (CTS).
  • the SYNC field is used to complete the time-frequency synchronization of the ranging signal
  • the CTS is used to calculate CIR and complete ranging.
  • the data may or may not contain information, and the embodiments of this application do not limit this.
  • the initiating device can also continue to send the third UWB frame, the fourth UWB frame, etc. to the responding device, and the interaction method is the same as the above method.
  • the initiating device 210 also includes a ranging circuit 213, When the interaction is completed, the ranging circuit 213 obtains the sending time of the ranging signal from the first sending circuit 211 and the receiving time of the measurement information from the receiving circuit 212.
  • the time determines the distance between the initiating device 210 and the responding device, that is, the distance between the initiating device 210 and the responding device is determined based on the calculation of time of flight (TOF) and CTS when the initiating device 210 sends the UWB frame and receives the measurement information. distance.
  • TOF time of flight
  • the initiating device can also obtain the angle between the initiating device and the responding device based on the measurement information, or generate an absolute coordinate system between the initiating device and the responding device, thereby determining the specific location of the responding device based on distance, angle and other information.
  • This application implements The example does not limit its specific implementation.
  • the initiating device Before the first sending circuit of the initiating device sends the first UWB frame to the responding device, the initiating device will randomly generate a random number within the preset range based on the Advanced Encryption Standard (AES) algorithm, which can be generated directly using the AES algorithm.
  • AES Advanced Encryption Standard
  • the random number is used as the first sending time interval, or the value of the random number after preset processing can be used as the first sending time interval, and then the first sending time interval is encrypted based on the preset key to obtain the time ciphertext, Then the first sending circuit will send the time ciphertext to the response device.
  • the response device also knows the preset key. Therefore, after the first receiving circuit of the response device receives the time ciphertext, it can use the preset key to encrypt the time. The text is decrypted to obtain the first sending time interval.
  • the initiating device will randomly generate a new sending time interval and send it to the responding device for decryption in the form of time ciphertext. At this time, the responding device The new sending time interval can also be obtained. After the initiating device sends the second UWB frame, it waits for the new sending time interval before sending the third UWB frame. After the responding device receives the second UWB frame, it also waits for the new sending time. After the interval, the third UWB frame can be received, and so on.
  • both the initiating device and the responding device Before the first sending circuit of the initiating device sends the first UWB frame to the responding device, both the initiating device and the responding device obtain the same, random reference value, and then input the reference value into the preset algorithm to obtain the same output. value, this output value can be used as the first sending time interval.
  • the preset algorithm can be any algorithm, such as any function or formula. After inputting the reference value, an output value can be obtained. It only needs to ensure that the random reference values obtained by the initiating device and the responding device are the same. The responding device can obtain the same output value, thereby determining the same first sending time interval.
  • the reference value can be generated by the initiating device and then transmitted to the responding device, or it can be issued separately through an additional synchronization device.
  • the synchronization device generates a random number based on any algorithm, and then The random number is delivered as a reference value to the initiating device and the responding device respectively, so that both the initiating device and the responding device generate the same first sending time interval based on the reference value.
  • the preset algorithm can be rotated after each round of ranging, and the reference value can also use a symmetric secret key algorithm.
  • the reference value can also use a symmetric secret key algorithm.
  • the first sending time interval is generated based on implementation method 1
  • the first sending time interval is generated based on the first UWB frame.
  • a new sending time interval is generated based on implementation method 2.1.
  • the attacker attempts to find the same time point as the initiating device by observing, sends an attack signal (such as an overshadow signal), and interferes with the real ranging signal, and can successfully attack the STS.
  • an attack signal such as an overshadow signal
  • the attacker cannot determine the preset key and cannot find the time point when the initiating device sends the ranging signal.
  • the attacker cannot determine the reference value, even if the reference value is intercepted once. The value cannot be determined by the preset algorithm, and it is impossible to find the time point when the initiating device sends the ranging signal.
  • the initiating device 210 also includes a second sending circuit 214
  • the responding device 220 also includes a second receiving circuit 224.
  • the second sending circuit 214 is used to send an auxiliary signal to the responding device 220.
  • the second receiving circuit The circuit 224 is used to receive the auxiliary signal sent by the initiating device 210, where the second sending time interval between the auxiliary signal and the ranging signal is randomly generated, the auxiliary signal is used to carry the configuration information of the ranging signal, and the response device 220 receives After receiving the assistance signal, the assistance information is also returned to the initiating device 210.
  • narrowband assisted ultra-wideband (NBA-UWB) technology is used between the initiating device 210 and the responding device 220.
  • the ranging signal is an ultra-wideband frame
  • the auxiliary signal is a narrowband frame
  • the narrowband frame carries the ultra-wideband.
  • the configuration information of the frame provides time synchronization information for the ultra-wideband frame.
  • the ultra-wideband frame contains CTS to complete ranging.
  • the ultra-wideband frame is used to assist the initial synchronization of time-frequency information between the initiating device and the responding device. Therefore, the ultra-wideband frame can also include a SYNC field to further accurately complete the time-frequency synchronization.
  • the initiating device determines the time-frequency synchronization information, and then performs multiple ranging signal interactions based on the time-frequency synchronization information. Finally, Determine the distance between the initiating device and the responding device and complete a round of ranging.
  • the first sending time interval and the second sending time interval are randomly generated respectively.
  • the second sending time interval may be different from the first sending time interval. The same, for example, the first sending time interval is 5 milliseconds, and the second sending time interval is 4 milliseconds.
  • the implementation method of generating the second sending time interval can refer to the first sending time interval. I will not go into details here. Control the first sending time interval. and the second transmission time interval is equivalent to controlling the T interval shown in Figure 1D.
  • auxiliary signals can also be multiple times.
  • Multiple rounds of ranging can be performed between the initiating device and the responding device to determine the most accurate distance.
  • the embodiment of the present application places no restrictions on the format, bandwidth, frequency, etc. of the auxiliary signal and the ranging signal.
  • the first sending circuit in the initiating device serves as the sending end and can be integrated into the UWB chip.
  • the second sending circuit serves as the sending end and can be integrated into the Bluetooth chip.
  • the receiving circuit as the receiving end can be divided into an ultra-wideband part and a narrowband part, which are integrated respectively.
  • the UWB chip and the Bluetooth chip can also be packaged in one chip.
  • the first transmitting circuit, the second transmitting circuit and the receiving circuit can also be directly designed into one chip, and the responding device can be designed in the same way.
  • the sending time interval can be randomly generated in the physical layer or application layer of the UWB chip, Bluetooth chip, or specific system on chip (SOC) of the initiating device.
  • SOC system on chip
  • the initiating device 210 can perform ranging with multiple responding devices 220 at the same time.
  • the specific implementation methods are the same. The difference is that when the above implementation method 1 is used to generate the sending time interval, the initiating device 210 The device 210 may use a different preset key with each different responding device 220 .
  • the initiating device 210 can complete the ranging with the responding device 220 through the intermediate device 230 .
  • the initiating device 210 uses the above method to complete the ranging with the intermediate device 230, and then controls the intermediate device 230 to complete the ranging with the responding device 220, and obtains the angle, coordinate and other information between the three devices, and finally determines the initiating device 210. and the distance or location of the response device 220, etc.
  • the sending time interval of the ranging signal sent by the initiating device to the responding device is randomly generated, so that the attacker cannot determine the pattern of the ranging signal sent by the initiating device to the responding device, and cannot send interference signals at the same time to interfere. and attacks, ensuring information security when electronic devices interact and communicate.
  • another embodiment of the initiating device 1010 provided by the embodiment of the present application includes a first sending circuit 1011, a second sending circuit 1014 and a receiving circuit 1012, and another embodiment of the responding device 1020 includes a first receiving circuit. 1022.
  • the second receiving circuit 1024 and the sending circuit 1021 are shown in Figure 10, another embodiment of the initiating device 1010 provided by the embodiment of the present application.
  • the first sending circuit 1011 is used to send an auxiliary signal to the responding device 1020
  • the second sending circuit 1014 is used to send a ranging signal to the responding device 1020
  • the receiving circuit 1012 is used to receive the ranging signal of the responding device 1020 based on the measurement. Measurement information returned from the distance signal.
  • the first receiving circuit 1022 is used to receive the auxiliary signal sent by the initiating device 1010
  • the second receiving circuit 1024 is used to receive the ranging signal sent by the initiating device 1010.
  • the sending circuit 1021 is used to send measurement information to the initiating device 1010 based on the ranging signal.
  • the first sending time interval between the auxiliary signal and the ranging signal is randomly generated, and the auxiliary signal is used to carry the configuration information of the ranging signal.
  • the ranging signal is an ultra-wideband frame and the auxiliary signal is a narrowband frame. In a round of ranging, the ranging signal may only include one ultra-wideband frame.
  • the ranging signal at least includes a first ranging signal frame and a second ranging signal frame, and the second sending time interval between the first ranging signal frame and the second ranging signal frame is randomly generated.
  • the first receiving circuit is specifically configured to, after receiving the first ranging signal frame, wait for the first sending time interval and then receive the second ranging signal frame. That is, the ranging signal is a response device. After receiving the auxiliary signal, the first receiving circuit waits for the first ranging signal frame. Received after the sending interval.
  • the initiating device also includes a ranging circuit, which is used to determine the distance between the initiating device and the responding device based on the sending time of the ranging signal and the receiving time of the measurement information.
  • the first sending circuit is also used to send the time ciphertext to the response device, so that the response device decrypts the time ciphertext based on the preset key to obtain the first sending time interval, and the time ciphertext is the initiating device based on the preset key. Assume that the key is obtained by encrypting the first sending time interval.
  • the first sending time interval is randomly generated by the initiating device and the responding device based on the same algorithm.
  • the above describes the initiating device and the response device provided by the embodiment of the present application.
  • the information transmission method provided by the embodiment of the present application is introduced below.
  • an embodiment of the information transmission method provided by the embodiment of the present application includes:
  • the initiating device generates a first sending time interval.
  • the initiating device encrypts the first sending time interval based on the preset key to obtain the time ciphertext.
  • the initiating device sends the time ciphertext to the responding device.
  • the responding device decrypts the time ciphertext based on the preset key to obtain the first sending time interval.
  • the initiating device sends the first ranging signal frame to the responding device.
  • the responding device sends measurement information to the initiating device based on the first ranging signal frame.
  • the initiating device sends the second ranging signal frame to the responding device.
  • the responding device sends measurement information to the initiating device based on the second ranging signal frame.
  • another embodiment of the information transmission method provided by the embodiment of the present application includes:
  • the initiating device receives the reference value sent by the synchronization device.
  • the responding device receives the reference value sent by the synchronization device.
  • the initiating device generates a first sending time interval based on the reference value.
  • the responding device generates a first sending time interval based on the reference value.
  • the initiating device sends an auxiliary signal to the responding device.
  • the responding device sends auxiliary information to the initiating device based on the auxiliary signal.
  • the initiating device sends a ranging signal to the responding device.
  • the responding device sends measurement information to the initiating device based on the ranging signal.
  • another embodiment of the information transmission method provided by the embodiment of the present application includes:
  • the initiating device sends an auxiliary signal to the responding device.
  • the responding device sends auxiliary information to the initiating device based on the auxiliary signal.
  • the initiating device sends the first ranging signal frame to the responding device.
  • the responding device sends measurement information to the initiating device based on the first ranging signal frame.
  • the initiating device sends the second ranging signal frame to the responding device.
  • the responding device sends measurement information to the initiating device based on the second ranging signal frame.
  • the initiating device determines the distance between the initiating device and the responding device based on the sending time of the ranging signal and the receiving time of the measurement information.
  • the specific implementation of the initiating device and the responding device can refer to the initiating device and the responding device described in Figures 2 to 9, which have the same beneficial effects.
  • the embodiments of the present application will not be used here. Again.
  • an embodiment of the communication system 1400 provided by the embodiment of the present application includes an initiating device 1410 and a responding device 1420.
  • the specific implementation of the initiating device 1410 and the responding device 1420 can be referred to the descriptions in Figures 2 to 10
  • the initiating device and the responding device have the same beneficial effects, and will not be described again in the embodiments of this application.
  • Electronic device 1500 includes: processor 1501, communication interface 1502, storage system 1503, and bus 1504.
  • the processor 1501, the communication interface 1502, and the storage system 1503 are connected to each other through a bus 1504.
  • the processor 1501 is used to control and manage the actions of the electronic device 1500.
  • the processor 1501 is used to execute the information transmission method described in some embodiments of Figures 11 to 13.
  • the communication interface 1502 is used to support the electronic device 1500 to communicate.
  • Storage system 1503 is used to store program codes and data of the electronic device 1500 .
  • the processor 1501 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with this disclosure.
  • the processor 1501 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so on.
  • the bus 1504 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • a computer-readable storage medium is also provided.
  • Computer-executable instructions are stored in the computer-readable storage medium.
  • the device executes the above figure.
  • Information transmission methods are described in some embodiments from 11 to 13.
  • a computer program product in another embodiment, includes computer-executable instructions, and the computer-executable instructions are stored in a computer-readable storage medium; at least one processor of the device can obtain data from a computer-readable storage medium. Reading the storage medium reads the computer execution instructions, and at least one processor executes the computer execution instructions to cause the device to perform the information transmission method described in some embodiments of FIGS. 11 to 13 .
  • a chip system in another embodiment, is also provided.
  • the chip system includes at least one processor and an interface, the interface is used to receive data and/or signals, and at least one processor is used to support the implementation of the above-mentioned Figures 11 to 11.
  • the information transmission method is described in some embodiments of Figure 13.
  • the chip system may also include a memory, which is used to store necessary program instructions and data for the computer device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), magnetic disk or optical disk and other media that can store program code. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请实施例公开了一种发起设备、响应设备和信息传输方法。具体的,发起设备向响应设备发送多个测距信号帧的发送时间间隔为随机生成的,使得攻击者不能确定发起设备向响应设备发送测距信号的规律,无法在相同时刻发送干扰信号进行干扰和攻击,保障了电子设备交互通信时的信息安全。

Description

一种发起设备、响应设备和信息传输方法
本申请要求于2022年6月27日提交中国专利局、申请号为CN202210737465.X、申请名称为“一种发起设备、响应设备和信息传输方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信领域,尤其涉及一种发起设备、响应设备和信息传输方法。
背景技术
随着万物互联时代的到来,电子设备间的通信技术也随之发展。
在电子设备间相互通信的场景中,例如使用超宽带(ultra-wide band,UWB)无线测距技术实现电子设备间的互通和定位,需要电子设备之间交互信号。
但攻击者可以通过找到电子设备间交互信号的规律,并发出干扰信号,使电子设备的信息安全无法得到保障。
发明内容
本申请实施例提供一种发起设备、响应设备和信息传输方法,用于保障电子设备交互通信时的信息安全。本申请实施例还提供了相应的通信系统、电子设备及计算机可读存储介质等。
本申请第一方面提供一种发起设备,该发起设备包括第一发送电路和接收电路,其中,第一发送电路用于向响应设备发送测距信号,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第一发送时间间隔为随机生成的;接收电路用于接收响应设备基于测距信号返回的测量信息。
本申请中,发起设备和响应设备都为移动终端,发起设备和响应设备之间基于脉冲无线电UWB(impulse radio-UWB,IR-UWB)技术进行交互通信。测距信号和测量信息中包括数据,例如为同步(SYNC)字段和CIR训练序列(CIR training sequence,CTS)组成的数据,SYNC字段用来完成测距信号的时频同步,CTS则用来进行CIR的计算并完成测距。
本申请中的第一发送电路和接收电路集成在发起设备的一个UWB芯片中,第一接收电路和发送电路集成在响应设备的一个UWB芯片中。
本申请中,在发起设备发送测距信号之前,发起设备和响应设备都获取到了相同的、且为随机产生的第一发送时间间隔,发起设备发送第一测距信号帧后,等待第一发送时间间隔后再发送第二测距信号帧。
本申请中,测距信号还可能包括第三测距信号帧、第四测距信号帧和第五测距信号帧等,其通信的方式都与第一测距信号帧和第二测距信号帧相同。
该第一方面,发起设备向响应设备发送多个测距信号帧的发送时间间隔为随机生成的,使得攻击者不能确定发起设备向响应设备发送测距信号的规律,无法在相同时刻发送干扰信号进行干扰和攻击,保障了电子设备交互通信时的信息安全。
在第一方面的一种可能的实现方式中,发起设备还包括第二发送电路,第二发送电路用于向响应设备发送辅助信号,辅助信号和测距信号之间的第二发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息。
该种可能的实现方式中,该发起设备和响应设备应用于窄带辅助宽带(narrow band assisted ultra-wideband,NBA-UWB)技术,NBA-UWB技术相较于IR-UWB技术可以降低宽带的面积、功耗及成本。
在第一方面的一种可能的实现方式中,测距信号为超宽带帧,辅助信号为窄带帧。
该种可能的实现方式中,窄带帧承载了超宽带帧的配置信息,为超宽带帧提供时间同步信息,超宽带帧中包含CTS来完成测距,提升了方案的可实现性。
在第一方面的一种可能的实现方式中,第二测距信号帧为响应设备在接收到第一测距信号帧后,等待第一发送时间间隔后进行接收得到的。
该种可能的实现方式中,当响应设备接收到第一测距信号帧后,等待第一发送时间间隔后再接收第二测距信号帧,响应设备在设定好的时刻进行接收,可以避免接收到攻击者发送的干扰信号,当攻击者无法确定发起设备向响应设备发送测距信号的规律,而随机发送干扰信号时,响应设备也不会接收到干扰信号,进一步提升了电子设备交互通信时的信息安全性。
在第一方面的一种可能的实现方式中,第一发送电路还用于向响应设备发送时间密文,以使响应设备基于预设密钥对时间密文进行解密,得到第一发送时间间隔,时间密文为发起设备基于预设密钥对第一发送时间间隔进行加密得到的。
该种可能的实现方式中,发起设备具体采用对称密钥算法使响应设备也能获得相同的发送时间间隔,提升了方案的可实现性,且对称密钥算法在攻击者无法获得密钥的情况下无法被破解,也进一步提升了电子设备交互通信时的信息安全性。
在第一方面的一种可能的实现方式中,第一发送时间间隔为发起设备和响应设备基于相同的算法随机生成的。
该种可能的实现方式中,发起设备具体采用和响应设备相同的算法来随机生成发送时间间隔,提升了方案的可实现性,攻击者无法确定发起设备和响应设备采用的算法和参数,也进一步提升了电子设备交互通信时的信息安全性。
在第一方面的一种可能的实现方式中,发起设备还包括测距电路,测距电路用于根据测距信号的发送时间和测量信息的接收时间确定发起设备和响应设备之间的距离。
该种可能的实现方式中,发起设备与响应设备完成通信交互后,就可以根据测距信号的发送时间和测量信息的接收时间确定发起设备和响应设备之间的距离,提升了方案的可实现性。
本申请第二方面提供一种响应设备,该响应设备包括第一接收电路和发送电路,其中,第一接收电路用于接收发起设备发送的测距信号,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第一发送时间间隔为随机生成的;发送电路用于基于测距信号向发起设备发送测量信息。
在第二方面的一种可能的实现方式中,响应设备还包括第二接收电路,第二接收电路用于接收发起设备发送的辅助信号,辅助信号和测距信号之间的第二发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息。
在第二方面的一种可能的实现方式中,测距信号为超宽带帧,辅助信号为窄带帧。
在第二方面的一种可能的实现方式中,第一接收电路具体用于在接收到第一测距信号帧后,等待第一发送时间间隔后接收第二测距信号帧。
在第二方面的一种可能的实现方式中,第一接收电路还用于接收发起设备发送的时间密文,并基于预设密钥对时间密文进行解密,得到第一发送时间间隔,时间密文为发起设备基于预设密钥对第一发送时间间隔进行加密得到的。
在第二方面的一种可能的实现方式中,第一发送时间间隔为发起设备和响应设备基于相同的算法随机生成的。
本申请第三方面提供一种发起设备,该发起设备包括第一发送电路、第二发送电路和接收电路,其中,第一发送电路用于向响应设备发送辅助信号;第二发送电路用于向响应设备发送测距信号,辅助信号和测距信号之间的第一发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息;接收电路用于接收响应设备基于测距信号返回的测量信息。
在第三方面的一种可能的实现方式中,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第二发送时间间隔为随机生成的。
在第三方面的一种可能的实现方式中,测距信号为超宽带帧,辅助信号为窄带帧。
在第三方面的一种可能的实现方式中,测距信号为响应设备在接收到辅助信号后,等待第一发送时间间隔后进行接收得到的。
在第三方面的一种可能的实现方式中,第一发送电路还用于向响应设备发送时间密文,以使响应设备基于预设密钥对时间密文进行解密,得到第一发送时间间隔,时间密文为发起设备基于预设密钥对第一发送时间间隔进行加密得到的。
在第三方面的一种可能的实现方式中,第一发送时间间隔为发起设备和响应设备基于相同的算法随机生成的。
在第三方面的一种可能的实现方式中,发起设备还包括测距电路,测距电路用于根据测距信号的发送时间和测量信息的接收时间确定发起设备和响应设备之间的距离。
本申请第四方面提供一种响应设备,该响应设备包括第一接收电路、第二接收电路和发送电路,其中,第一接收电路用于接收发起设备发送的辅助信号;第二接收电路用于接收发起设备发送的测距信号,辅助信号和测距信号之间的第一发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息;发送电路用于基于测距信号向发起设备发送测量信息。
在第四方面的一种可能的实现方式中,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第二发送时间间隔为随机生成的。
在第四方面的一种可能的实现方式中,测距信号为超宽带帧,辅助信号为窄带帧。
在第四方面的一种可能的实现方式中,第一接收电路具体用于在接收到第一测距信号帧后,等待第一发送时间间隔后接收第二测距信号帧。
在第四方面的一种可能的实现方式中,第一接收电路还用于接收发起设备发送的时间密文,并基于预设密钥对时间密文进行解密,得到第一发送时间间隔,时间密文为发起设备基于预设密钥对第一发送时间间隔进行加密得到的。
在第四方面的一种可能的实现方式中,第一发送时间间隔为发起设备和响应设备基于相同的算法随机生成的。
本申请第五方面提供一种信息传输方法,该方法包括:发起设备向响应设备发送测距信号,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第一发送时间间隔为随机生成的;发起设备接收响应设备基于测距信号返回的测量信息。
在第五方面的一种可能的实现方式中,该方法还包括:发起设备向响应设备发送辅助信号,辅助信号和测距信号之间的第二发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息。
在第五方面的一种可能的实现方式中,测距信号为超宽带帧,辅助信号为窄带帧。
在第五方面的一种可能的实现方式中,第二测距信号帧为响应设备在接收到第一测距信号帧后,等待第一发送时间间隔后进行接收得到的。
在第五方面的一种可能的实现方式中,该方法还包括:发起设备向响应设备发送时间密文,以使响应设备基于预设密钥对时间密文进行解密,得到第一发送时间间隔,时间密文为发起设备基于预设密钥对第一发送时间间隔进行加密得到的。
在第五方面的一种可能的实现方式中,第一发送时间间隔为发起设备和响应设备基于相同的算法随机生成的。
在第五方面的一种可能的实现方式中,该方法还包括:根据测距信号的发送时间和测量信息的接收时间确定发起设备和响应设备之间的距离。
本申请第六方面提供一种信息传输方法,该方法包括:响应设备接收发起设备发送的测距信号,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第一发送时间间隔为随机生成的;响应设备基于测距信号向发起设备发送测量信息。
在第六方面的一种可能的实现方式中,该方法还包括:响应设备接收发起设备发送的辅助信号,辅助信号和测距信号之间的第二发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息。
在第六方面的一种可能的实现方式中,测距信号为超宽带帧,辅助信号为窄带帧。
在第六方面的一种可能的实现方式中,响应设备具体用于在接收到第一测距信号帧后,等待第一发送时间间隔后接收第二测距信号帧。
在第六方面的一种可能的实现方式中,该方法还包括:响应设备接收发起设备发送的时间密文,并基于预设密钥对时间密文进行解密,得到第一发送时间间隔,时间密文为发起设备基于预设密钥对第一发送时间间隔进行加密得到的。
在第六方面的一种可能的实现方式中,第一发送时间间隔为发起设备和响应设备基于相同的算法随机生成的。
本申请第七方面提供一种信息传输方法,该方法包括:发起设备向响应设备发送辅助信号;发起设备向响应设备发送测距信号,辅助信号和测距信号之间的第一发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息;发起设备接收响应设备基于测距信号返回的测量信息。
在第七方面的一种可能的实现方式中,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第二发送时间间隔为随机生成的。
在第七方面的一种可能的实现方式中,测距信号为超宽带帧,辅助信号为窄带帧。
在第七方面的一种可能的实现方式中,测距信号为响应设备在接收到辅助信号后,等待第一发送时间间隔后进行接收得到的。
在第七方面的一种可能的实现方式中,该方法还包括:发起设备向响应设备发送时间密文,以使响应设备基于预设密钥对时间密文进行解密,得到第一发送时间间隔,时间密文为发起设备基于预设密钥对第一发送时间间隔进行加密得到的。
在第七方面的一种可能的实现方式中,第一发送时间间隔为发起设备和响应设备基于相同的算法随机生成的。
在第七方面的一种可能的实现方式中,该方法还包括:发起设备根据测距信号的发送时间和测量信息的接收时间确定发起设备和响应设备之间的距离。
本申请第八方面提供一种信息传输方法,该方法包括:响应设备接收发起设备发送的辅助信号;响应设备接收发起设备发送的测距信号,辅助信号和测距信号之间的第一发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息;响应设备基于测距信号向发起设备发送测量信息。
在第八方面的一种可能的实现方式中,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第二发送时间间隔为随机生成的。
在第八方面的一种可能的实现方式中,测距信号为超宽带帧,辅助信号为窄带帧。
在第八方面的一种可能的实现方式中,响应设备具体用于在接收到第一测距信号帧后,等待第一发送时间间隔后接收第二测距信号帧。
在第八方面的一种可能的实现方式中,该方法还包括:响应设备接收发起设备发送的时间密文,并基于预设密钥对时间密文进行解密,得到第一发送时间间隔,时间密文为发起设备基于预设密钥对第一发送时间间隔进行加密得到的。
在第八方面的一种可能的实现方式中,第一发送时间间隔为发起设备和响应设备基于相同的算法随机生成的。
本申请提供的第二方面至第八方面及其任意一种可能的实现方式具有和本申请第一方面或第一方面任意一种可能的实现方式相同的有益效果。
本申请第九方面提供一种通信系统,该通信系统包括如上述第一方面或第一方面任意一种可能的实现方式的发起设备和上述第二方面或第二方面任意一种可能的实现方式的响应设备。
本申请第十方面提供一种通信系统,该通信系统包括如上述第三方面或第三方面任意一种可能的实现方式的发起设备和上述第四方面或第四方面任意一种可能的实现方式的响应设备。
本申请第十一方面提供一种电子设备,该电子设备包括:处理器、通信接口和存储器,存储器用于存储程序代码,处理器用于调用存储器中的程序代码以使得处理器执行如上述第五方面、第五方面任意一种可能的实现方式、第六方面、第六方面任意一种可能的实现方式、第七方面、第七方面任意一种可能的实现方式、第八方面或第八方面任意一种可能的实现方式的方法。
本申请第十二方面提供一种存储一个或多个计算机执行指令的计算机可读存储介质,当计算机执行指令被处理器执行时,处理器执行如上述第五方面、第五方面任意一种可能的实现方式、第六方面、第六方面任意一种可能的实现方式、第七方面、第七方面任意一种可能的实现方式、第八方面或第八方面任意一种可能的实现方式的方法。
本申请第十三方面提供一种存储一个或多个计算机执行指令的计算机程序产品,当计算机执行指令被处理器执行时,处理器执行如上述第五方面、第五方面任意一种可能的实现方式、第六方面、第六方面任意一种可能的实现方式、第七方面、第七方面任意一种可能的实现方式、第八方面或第八方面任意一种可能的实现方式的方法。
本申请第十四方面提供了一种芯片系统,该芯片系统包括至少一个处理器和接口,该接口用于接收数据和/或信号,至少一个处理器用于支持计算机设备实现上述第五方面、第五方面任意一种可能的实现方式、第六方面、第六方面任意一种可能的实现方式、第七方面、第七方面任意一种可能的实现方式、第八方面或第八方面任意一种可能的实现方式中所涉及的功能。在一种可能的设计中,芯片系统还可以包括存储器,存储器,用于保存计算机设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
从以上技术方案可以看出,本申请实施例具有以下优点:
发起设备向响应设备发送多个测距信号帧的发送时间间隔为随机生成的,使得攻击者不能确定发起设备向响应设备发送测距信号的规律,无法在相同时刻发送干扰信号进行干扰和攻击,保障了电子设备交互通信时的信息安全。
附图说明
图1A-图1E为本申请实施例的应用场景示意图;
图2为本申请实施例提供的发起设备和响应设备的一个实施例示意图;
图3为本申请实施例提供的发起设备和响应设备交互的一个实施例示意图;
图4为本申请实施例提供的发起设备的另一实施例示意图;
图5为本申请实施例提供的发起设备和响应设备交互的另一实施例示意图;
图6为本申请实施例提供的发起设备和响应设备的另一实施例示意图;
图7为本申请实施例提供的发起设备和响应设备交互的另一实施例示意图;
图8为本申请实施例提供的发起设备和响应设备的另一实施例示意图;
图9为本申请实施例提供的发起设备和响应设备交互的另一实施例示意图;
图10为本申请实施例提供的发起设备和响应设备的另一实施例示意图;
图11为本申请实施例提供的信息传输方法的一个实施例示意图;
图12为本申请实施例提供的信息传输方法的另一实施例示意图;
图13为本申请实施例提供的信息传输方法的另一实施例示意图;
图14为本申请实施例提供的通信系统的一个实施例示意图;
图15为本申请实施例提供的电子设备的一个实施例示意图。
具体实施方式
下面结合附图,对本申请的实施例进行描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。本领域普通技术人员可知,随着技术发展和新场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。
另外,为了更好的说明本申请,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本申请同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本申请的主旨。
本申请实施例提供一种发起设备、响应设备和信息传输方法,用于保障电子设备交互通信时的信息安全。本申请实施例还提供了相应的通信系统、电子设备及计算机可读存储介质等。以下分别进行详细说明。
下面对本申请实施例的应用场景进行举例说明。
在电子类设备或物联网(internet of things,IoT)等无线产品/设备之间的互通和定位时,设备间需要进行无线通信交互。示例性的,如图1A所示,基于超宽带(ultra-wide band,UWB)无线技术,第一设备110的发送端(TX1)111向第二设备120的接收端(RX2)122发送超宽带信号帧,第二设备120进行响应,通过其发送端(TX2)121向第一设备110的接收端(RX1)112返回超宽带信号帧。
其中,如图1B所示,第一设备110和第二设备120采用脉冲无线电UWB(impulse radio-UWB,IR-UWB)测距协议,具体为IEEE802.15a/z的HPR UWB协议,该协议中定义的信号格式支持数传及测距功能,通过超宽带信号帧中的信道脉冲响应(channel impulse response,CIR)训练序列完成测距,同时为了增加安全防护能力,在超宽带信号帧中加入了一段较长的加扰时间戳序列(scrambled timestamp sequence,STS)数据来做安全防护, 例如在STS数据包配置0中,包括SYNC字段、SFD字段、PHR字段和PHY Payload字段,但在STS数据包配置1、STS数据包配置2和STS数据包配置3中都加入了STS。
如图1C所示,第一设备110和第二设备120还可以采用窄带辅助宽带(narrow band assisted ultra-wideband,NBA-UWB)技术进行交互通信,由窄带(narrow-band,NB)信号,即窄带帧(NB packet)为超宽带帧(UWB fragment)信号提供时间同步信息,超宽带帧,例如UBA frag1、UWB frag2、UWB frag3等,直到UWB frag N来完成测距。
具体的,如图1D所示,一个完整的测距帧由窄带帧(NB packet)和超宽带帧(UWB packet)组成,窄带帧提供初始的同步信息,辅助UWB帧进行测距。超宽带帧由SYNC字段和CIR训练序列(CIR training sequence,CTS)字段组成,SYNC字段用来完成信号的时频同步,CTS则用来进行CIR的计算并完成测距。窄带帧和宽带帧发送之间有一定的时间间隔(T interval)。
如图1E所示,针对IEEE 802.15.4z标准下的IR-UWB测距技术,目前已有成功的攻击STS的实例。例如在通过移动终端解锁汽车的场景中,攻击者在同一时间发送攻击信号来干扰真实信号,使得首径检测出现错误,导致测量距离减小做出误判。该攻击方式的实现基础是,攻击者在攻击准备阶段需要通过观察尝试找到和被攻击者一致的时间点发送屏蔽(overshadow)信号,实现攻击。例如可以解锁汽车的移动终端和汽车互相发送Packet1和Packet2来确定彼此的距离,攻击者接收到移动终端发送的Packet1后返回Packet2’(overshadow信号)给移动终端,作为钥匙的移动终端和汽车的距离为10米,移动设备和汽车的飞行时间(time of flight,TOF)为T1+Treply+T2,此时距离过远,汽车不会解锁,但当攻击者找到和被攻击者一致的时间点发送overshadow信号后,且攻击者在同一时间点发送overshadow信号,汽车会误以为overshadow信号为移动终端发送的合法信号的早期副本,从而误判移动终端与攻击者的距离为移动终端和汽车的距离,确定TOF为T1+Treply+T2-δ,得出距离1米,此时汽车被攻击者成功解锁。
下面结合上述应用场景对本申请实施例的提供的发起设备和响应设备进行举例说明。
如图2所示,本申请实施例提供的发起设备210的一实施例包括第一发送电路211和接收电路212,本申请实施例提供的响应设备220的一实施例包括第一接收电路222和发送电路221。
具体的,发起设备210中,第一发送电路211用于向响应设备220发送测距信号,接收电路212用于接收响应设备220基于测距信号返回的测量信息。响应设备220中,第一接收电路222用于接收发起设备210发送的测距信号,发送电路221用于基于测距信号向发起设备210发送测量信息。其中,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第一发送时间间隔为随机生成的。
应理解,发起设备210和响应设备220是可移动的,为了得到实时最准确的距离,测距信号还可能包括第三测距信号帧、第四测距信号帧等,本申请实施例对测距信号中测距信号帧的数量不作限制。
示例性的,如图3所示,发起设备和响应设备都为移动终端,当发起设备需要确定响应设备的位置时,发起设备向响应设备发送测距信号,该测距信号为超宽带帧(UWB packet), 即该测距信号至少包括第一UWB帧(第一测距信号帧)和第二UWB帧(第二测距信号帧)。当发起设备的第一发送电路接收到测距命令(该测距命令可以来自于发起设备的中央处理器)时,第一发送电路发送第一UWB帧给响应设备,响应设备的第一接收电路接收到该第一UWB帧,响应设备基于该第一UWB帧生成测量信息,该测量信息具体也为UWB帧,响应设备继续通过其发送电路将该测量信息发送给发起设备,发起设备的接收电路接收到该测量信息,完成一次超宽带帧的交互。在发起设备发送完第一UWB帧后,开始进行等待,等待第一发送时间间隔后,发起设备的第一发送电路继续向响应设备发送第二UWB帧,同理,响应设备在接收到第一UWB帧后,开始进行等待,等待第一发送时间间隔后,响应设备的第一接收电路开始接收信号,此时刚好可以接收到第二UWB帧,即第二UWB帧为响应设备在接收到第一UWB帧后,等待第一发送时间间隔后进行接收得到的。
其中,测距信号和测量信息中包括数据,例如为同步(SYNC)字段和CIR训练序列(CIR training sequence,CTS)组成的数据,SYNC字段用来完成测距信号的时频同步,CTS则用来进行CIR的计算并完成测距。该数据中可以包含信息,也可以不包含信息,本申请实施例对此不作限制。
可选的,该发起设备还可以继续向响应设备发送第三UWB帧、第四UWB帧等,其交互方式和上述方式相同,如图4所示,该发起设备210还包括测距电路213,当交互完成后,测距电路213从第一发送电路211中获取到测距信号的发送时间,从接收电路212中获取到测量信息的接收时间,根据测距信号的发送时间和测量信息的接收时间确定发起设备210和响应设备之间的距离,即根据发起设备210发送UWB帧和接收到测量信息的飞行时间(time of flight,TOF)和CTS的计算来确定发起设备210和响应设备之间的距离。
可选的,发起设备还可以根据测量信息获取到与响应设备之间的角度,或生成与响应设备之间的绝对坐标系,从而根据距离、角度等信息确定响应设备的具体位置,本申请实施例对其具体实现方式不作限制。
因第一发送时间间隔为随机生成的,为了使响应设备在一次交互中也可以获取到相同的第一发送时间间隔,具体有下述两种实现方式。
实现方式1、基于对称密钥算法
在发起设备的第一发送电路向响应设备发送第一UWB帧之前,发起设备会基于高级加密标准(advanced encryption standard,AES)算法随机在预设范围内生成一个随机数,可以直接采用AES算法生成的随机数作为第一发送时间间隔,也可以采用该随机数经过预设处理后的数值作为第一发送时间间隔,然后基于预设密钥对第一发送时间间隔进行加密,得到时间密文,然后第一发送电路会向响应设备发送时间密文,该响应设备也知道该预设密钥,因此响应设备的第一接收电路接收到该时间密文后,可以用预设密钥对时间密文进行解密,得到第一发送时间间隔。
同样的,在发起设备的第一发送电路向响应设备发送第二UWB帧之前,发起设备会随机生成新的发送时间间隔,并通过时间密文的方式发送给响应设备进行解密,此时响应设备也可以获取到该新的发送时间间隔,发起设备发送第二UWB帧后,等待新的发送时间间隔后再发送第三UWB帧,响应设备接收到第二UWB帧后,同样等待新的发送时间间隔后再进行接收,恰好可以接收到第三UWB帧,后续可以依此类推。
实现方式2、基于相同的算法
在发起设备的第一发送电路向响应设备发送第一UWB帧之前,发起设备和响应设备都会获取一个相同的、随机的参考值,然后将该参考值输入至预设算法,从而得到相同的输出值,该输出值可以作为第一发送时间间隔。其中,预设算法可以为任意的算法,例如任意的函数或公式,输入参考值后就可以得到一个输出值,只需要保证发起设备和响应设备得到的随机的参考值是相同的,发起设备和响应设备就可以得到相同的输出值,从而确定出相同的第一发送时间间隔。
其中,参考值可以是由发起设备生成,然后传输给响应设备的,也可以是通过额外的同步设备分别下发的,如图5所示,同步设备基于任意的算法生成一个随机数,然后将该随机数作为参考值分别下发给发起设备和响应设备,使得发起设备和响应设备都根据该参考值生成相同的第一发送时间间隔。
可选的,为了进一步确保参考值传输的安全性,预设算法可以在每一轮测距结束后进行轮换,参考值也可以使用对称秘钥算法,其具体实现方式可以参考实现方式1,在此不再赘述。
应理解,为了确保攻击者无法找到发送时间间隔之间的规律,可以将上述两种实现方式进行结合,例如在发送第一UWB帧之前,基于实现方式1生成第一发送时间间隔,在发送第二UWB帧之前,基于实现方式2.1生成新的发送时间间隔。
可以理解的是,本申请实施例只需要保证发起设备和响应设备可以获取到相同的发送时间间隔,且每次发送时间间隔都是随机产生的,而对发送时间间隔的具体生成方式不作限制。
总结上述两种实现方式可见,攻击者在攻击准备阶段通过观察尝试找到和发起设备一致的时间点,发送攻击信号(例如overshadow信号),干扰到真实的测距信号,可以成功攻击到STS,而在实现方式1的基础上,攻击者无法确定预设密钥,就无法找到发起设备发送测距信号的时间点,在实现方式2的基础上,攻击者无法确定参考值,即使截获了一次参考值也无法确定预设算法,也就无法找到发起设备发送测距信号的时间点,再即使攻击者确定出了一次的发送时间间隔,在发起设备和响应设备交互的极短时间内,攻击者也很难及时的发送攻击信号,而下一次交互时的发送时间间隔也发生了改变,因此在发送时间间隔是随机生成的情况下,攻击者无法发起攻击。
可选的,如图6所示,发起设备210还包括第二发送电路214,响应设备220还包括第二接收电路224,第二发送电路214用于向响应设备220发送辅助信号,第二接收电路224用于接收发起设备210发送的辅助信号,其中,辅助信号和测距信号之间的第二发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息,响应设备220接收到辅助信号后,同样向发起设备210返回辅助信息。
具体的,发起设备210和响应设备220之间采用窄带辅助宽带(narrow band assisted ultra-wideband,NBA-UWB)技术,测距信号为超宽带帧,辅助信号为窄带帧,窄带帧承载了超宽带帧的配置信息,为超宽带帧提供时间同步信息,超宽带帧中包含CTS来完成测距。
应理解,窄带帧是用于辅助发起设备和响应设备之间完成时频信息的初始同步,因此超宽带帧中同样也可以包含SYNC字段来进一步精确完成时频同步。
示例性的,如图7所示,发起设备和响应设备之间完成一次辅助信号的交互后,发起设备确定时频同步信息,然后基于该时频同步信息进行多次测距信号的交互,最后确定发起设备和响应设备之间的距离,完成一轮测距,此时第一发送时间间隔和第二发送时间间隔都是分别随机产生的,第二发送时间间隔可以和第一发送时间间隔不相同,例如第一发送时间间隔为5毫秒,第二发送时间间隔为4毫秒,第二发送时间间隔生成的实现方式可以参考第一发送时间间隔,此处不再赘述,控制第一发送时间间隔和第二发送时间间隔相当于控制图1D中所示的T interval。
应理解,辅助信号的交互也可以为多次。
发起设备和响应设备之间可以进行多轮测距,从而确定出最准确的距离。本申请实施例对辅助信号和测距信号的格式、带宽和频点等都不作限制。
发起设备中的第一发送电路作为发送端,可以集成在UWB芯片中,第二发送电路作为发送端可以集成在蓝牙芯片中,接收电路作为接收端可以分为超宽带部分和窄带部分,分别集成在UWB芯片和蓝牙芯片中,而UWB芯片和蓝牙芯片也可以封装在一个芯片中,第一发送电路、第二发送电路和接收电路也可以直接设计成一个芯片,响应设备可以相同设计。发送时间间隔可以在发起设备的UWB芯片、蓝牙芯片或特定的系统级芯片(system on chip,SOC)的物理层或应用层中随机生成,本申请实施例对发起设备和响应设备的具体硬件结构和实现方式不作限制。
可选的,如图8所示,发起设备210可以同时与多个响应设备220之间进行测距,其具体实现方式都相同,不同之处在于使用上述实现方式1生成发送时间间隔时,发起设备210可以与每个不同的响应设备220之间使用不同的预设密钥。
可选的,如图9所示,当发起设备210无法直接向响应设备220发送测距信号或辅助信号时,发起设备210可以通过中间设备230完成与响应设备220的测距。例如发起设备210采用上述方式完成与中间设备230的测距,然后控制中间设备230完成与响应设备220的测距,并获取三个设备之间的角度、坐标等信息,最终确定出发起设备210和响应设备220的距离或位置等。
本申请实施例中,发起设备向响应设备发送测距信号的发送时间间隔为随机生成的,使得攻击者不能确定发起设备向响应设备发送测距信号的规律,无法在相同时刻发送干扰信号进行干扰和攻击,保障了电子设备交互通信时的信息安全。
如图10所示,本申请实施例提供的发起设备1010的另一实施例包括第一发送电路1011、第二发送电路1014和接收电路1012,响应设备1020的另一实施例包括第一接收电路1022、第二接收电路1024和发送电路1021。
具体的,发起设备1010中,第一发送电路1011用于向响应设备1020发送辅助信号,第二发送电路1014用于向响应设备1020发送测距信号,接收电路1012用于接收响应设备1020基于测距信号返回的测量信息。响应设备1020中,第一接收电路1022用于接收发起设备1010发送的辅助信号,第二接收电路1024用于接收发起设备1010发送的测距信号, 发送电路1021用于基于测距信号向发起设备1010发送测量信息。其中,辅助信号和测距信号之间的第一发送时间间隔为随机生成的,辅助信号用于承载测距信号的配置信息。
该发起设备1010和响应设备1020之间采用NBA-UWB技术,测距信号为超宽带帧,辅助信号为窄带帧,在一轮测距中,测距信号可以只包括一帧超宽带帧。
可选的,测距信号至少包括第一测距信号帧和第二测距信号帧,第一测距信号帧和第二测距信号帧之间的第二发送时间间隔为随机生成的。第一接收电路具体用于在接收到第一测距信号帧后,等待第一发送时间间隔后接收第二测距信号帧,即测距信号为响应设备在接收到辅助信号后,等待第一发送时间间隔后进行接收得到的。发起设备还包括测距电路,测距电路用于根据测距信号的发送时间和测量信息的接收时间确定发起设备和响应设备之间的距离。
可选的,第一发送电路还用于向响应设备发送时间密文,以使响应设备基于预设密钥对时间密文进行解密,得到第一发送时间间隔,时间密文为发起设备基于预设密钥对第一发送时间间隔进行加密得到的。
可选的,第一发送时间间隔为发起设备和响应设备基于相同的算法随机生成的。
本申请实施例提供的发起设备和响应设备的具体实现方式可以参照前述实施例中图2-图9介绍的发起设备和响应设备,其不同之处仅在于“第一”和“第二”的描述互换,其具有相同的有益效果,此处不再赘述。
以上介绍了本申请实施例提供的发起设备和响应设备,下面介绍本申请实施例提供的信息传输方法。
如图11所示,本申请实施例提供的信息传输方法的一实施例包括:
1101、发起设备生成第一发送时间间隔。
1102、发起设备基于预设密钥对第一发送时间间隔进行加密,得到时间密文。
1103、发起设备向响应设备发送时间密文。
1104、响应设备基于预设密钥对时间密文进行解密,得到第一发送时间间隔。
1105、发起设备向响应设备发送第一测距信号帧。
1106、响应设备基于第一测距信号帧向发起设备发送测量信息。
1107、发起设备向响应设备发送第二测距信号帧。
1108、响应设备基于第二测距信号帧向发起设备发送测量信息。
如图12所示,本申请实施例提供的信息传输方法的另一实施例包括:
1201、发起设备接收同步设备发送的参考值。
1202、响应设备接收同步设备发送的参考值。
1203、发起设备基于参考值生成第一发送时间间隔。
1204、响应设备基于参考值生成第一发送时间间隔。
1205、发起设备向响应设备发送辅助信号。
1206、响应设备基于辅助信号向发起设备发送辅助信息。
1207、发起设备向响应设备发送测距信号。
1208、响应设备基于测距信号向发起设备发送测量信息。
如图13所示,本申请实施例提供的信息传输方法的另一实施例包括:
1301、发起设备向响应设备发送辅助信号。
1302、响应设备基于辅助信号向发起设备发送辅助信息。
1303、发起设备向响应设备发送第一测距信号帧。
1304、响应设备基于第一测距信号帧向发起设备发送测量信息。
1305、发起设备向响应设备发送第二测距信号帧。
1306、响应设备基于第二测距信号帧向发起设备发送测量信息。
1307、发起设备根据测距信号的发送时间和测量信息的接收时间确定发起设备和响应设备之间的距离。
图11至图13提供的信息传输方法中,发起设备和响应设备的具体实现方式可以参考图2-图9所描述的发起设备和响应设备,具有相同的有益效果,本申请实施例在此不再赘述。
如图14所示,本申请实施例提供的通信系统1400的一实施例包括发起设备1410和响应设备1420,该发起设备1410和响应设备1420的具体实现方式可以参考图2-图10所描述的发起设备和响应设备,具有相同的有益效果,本申请实施例在此不再赘述。
如图15所示,为本申请的实施例提供的电子设备1500的一种可能的逻辑结构示意图。电子设备1500包括:处理器1501、通信接口1502、存储系统1503以及总线1504。处理器1501、通信接口1502以及存储系统1503通过总线1504相互连接。在本申请的实施例中,处理器1501用于对电子设备1500的动作进行控制管理,例如,处理器1501用于执行图11至图13部分实施例所描述信息传输方法。通信接口1502用于支持电子设备1500进行通信。存储系统1503,用于存储电子设备1500的程序代码和数据。
其中,处理器1501可以是中央处理器单元,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器1501也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理器和微处理器的组合等等。总线1504可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
在本申请的另一实施例中,还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当设备的至少一个处理器执行该计算机执行指令时,设备执行上述图11至图13部分实施例所描述信息传输方法。
在本申请的另一实施例中,还提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中;设备的至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,至少一个处理器执行该计算机执行指令使得设备执行上述图11至图13部分实施例所描述信息传输方法。
在本申请的另一实施例中,还提供一种芯片系统,该芯片系统包括至少一个处理器和接口,该接口用于接收数据和/或信号,至少一个处理器用于支持实现上述图11至图13部分实施例所描述信息传输方法。在一种可能的设计中,芯片系统还可以包括存储器,存储器,用于保存计算机设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,read-only memory)、随机存取存储器(RAM,random access memory)、磁碟或者光盘等各种可以存储程序代码的介质。

Claims (36)

  1. 一种发起设备,其特征在于,所述发起设备包括第一发送电路和接收电路,其中,
    所述第一发送电路用于向响应设备发送测距信号,所述测距信号至少包括第一测距信号帧和第二测距信号帧,所述第一测距信号帧和所述第二测距信号帧之间的第一发送时间间隔为随机生成的;
    所述接收电路用于接收所述响应设备基于所述测距信号返回的测量信息。
  2. 根据权利要求1所述的设备,其特征在于,所述发起设备还包括第二发送电路,所述第二发送电路用于向响应设备发送辅助信号,所述辅助信号和所述测距信号之间的第二发送时间间隔为随机生成的,所述辅助信号用于承载所述测距信号的配置信息。
  3. 根据权利要求2所述的设备,其特征在于,所述测距信号为超宽带帧,所述辅助信号为窄带帧。
  4. 根据权利要求1-3中任一项所述的设备,其特征在于,所述第二测距信号帧为所述响应设备在接收到所述第一测距信号帧后,等待所述第一发送时间间隔后进行接收得到的。
  5. 根据权利要求4所述的设备,其特征在于,所述第一发送电路还用于向所述响应设备发送时间密文,以使所述响应设备基于预设密钥对所述时间密文进行解密,得到所述第一发送时间间隔,所述时间密文为所述发起设备基于所述预设密钥对所述第一发送时间间隔进行加密得到的。
  6. 根据权利要求4所述的设备,其特征在于,所述第一发送时间间隔为所述发起设备和响应设备基于相同的算法随机生成的。
  7. 根据权利要求1-6中任一项所述的设备,其特征在于,所述发起设备还包括测距电路,所述测距电路用于根据所述测距信号的发送时间和所述测量信息的接收时间确定所述发起设备和所述响应设备之间的距离。
  8. 一种响应设备,其特征在于,所述响应设备包括第一接收电路和发送电路,其中,
    所述第一接收电路用于接收发起设备发送的测距信号,所述测距信号至少包括第一测距信号帧和第二测距信号帧,所述第一测距信号帧和所述第二测距信号帧之间的第一发送时间间隔为随机生成的;
    所述发送电路用于基于所述测距信号向所述发起设备发送测量信息。
  9. 根据权利要求8所述的设备,其特征在于,所述响应设备还包括第二接收电路,所述第二接收电路用于接收所述发起设备发送的辅助信号,所述辅助信号和所述测距信号之间的第二发送时间间隔为随机生成的,所述辅助信号用于承载所述测距信号的配置信息。
  10. 根据权利要求9所述的设备,其特征在于,所述测距信号为超宽带帧,所述辅助信号为窄带帧。
  11. 根据权利要求8-10中任一项所述的设备,其特征在于,所述第一接收电路具体用于在接收到所述第一测距信号帧后,等待所述第一发送时间间隔后接收所述第二测距信号帧。
  12. 根据权利要求11所述的设备,其特征在于,所述第一接收电路还用于接收所述发起设备发送的时间密文,并基于预设密钥对所述时间密文进行解密,得到所述第一发送时间间隔,所述时间密文为所述发起设备基于所述预设密钥对所述第一发送时间间隔进行加密得到的。
  13. 根据权利要求11所述的设备,其特征在于,所述第一发送时间间隔为所述发起设备和响应设备基于相同的算法随机生成的。
  14. 一种发起设备,其特征在于,所述发起设备包括第一发送电路、第二发送电路和接收电路,其中,
    所述第一发送电路用于向响应设备发送辅助信号;
    所述第二发送电路用于向响应设备发送测距信号,所述辅助信号和所述测距信号之间的第一发送时间间隔为随机生成的,所述辅助信号用于承载所述测距信号的配置信息;
    所述接收电路用于接收所述响应设备基于所述测距信号返回的测量信息。
  15. 根据权利要求14所述的设备,其特征在于,所述测距信号至少包括第一测距信号帧和第二测距信号帧,所述第一测距信号帧和所述第二测距信号帧之间的第二发送时间间隔为随机生成的。
  16. 根据权利要求14或15所述的设备,其特征在于,所述测距信号为超宽带帧,所述辅助信号为窄带帧。
  17. 根据权利要求14-16中任一项所述的设备,其特征在于,所述测距信号为所述响应设备在接收到所述辅助信号后,等待所述第一发送时间间隔后进行接收得到的。
  18. 根据权利要求17所述的设备,其特征在于,所述第一发送电路还用于向所述响应设备发送时间密文,以使所述响应设备基于预设密钥对所述时间密文进行解密,得到所述第一发送时间间隔,所述时间密文为所述发起设备基于所述预设密钥对所述第一发送时间间隔进行加密得到的。
  19. 根据权利要求17所述的设备,其特征在于,所述第一发送时间间隔为所述发起设备和响应设备基于相同的算法随机生成的。
  20. 根据权利要求14-19中任一项所述的设备,其特征在于,所述发起设备还包括测距电路,所述测距电路用于根据所述测距信号的发送时间和所述测量信息的接收时间确定所述发起设备和所述响应设备之间的距离。
  21. 一种响应设备,其特征在于,所述响应设备包括第一接收电路、第二接收电路和发送电路,其中,
    所述第一接收电路用于接收所述发起设备发送的辅助信号;
    所述第二接收电路用于接收发起设备发送的测距信号,所述辅助信号和所述测距信号之间的第一发送时间间隔为随机生成的,所述辅助信号用于承载所述测距信号的配置信息;
    所述发送电路用于基于所述测距信号向所述发起设备发送测量信息。
  22. 根据权利要求21所述的设备,其特征在于,所述测距信号至少包括第一测距信号帧和第二测距信号帧,所述第一测距信号帧和所述第二测距信号帧之间的第二发送时间间隔为随机生成的。
  23. 根据权利要求21或22所述的设备,其特征在于,所述测距信号为超宽带帧,所述辅助信号为窄带帧。
  24. 根据权利要求21-23中任一项所述的设备,其特征在于,所述第一接收电路具体用于在接收到所述第一测距信号帧后,等待所述第一发送时间间隔后接收所述第二测距信号帧。
  25. 根据权利要求24所述的设备,其特征在于,所述第一接收电路还用于接收所述发起设备发送的时间密文,并基于预设密钥对所述时间密文进行解密,得到所述第一发送时间间隔,所述时间密文为所述发起设备基于所述预设密钥对所述第一发送时间间隔进行加密得到的。
  26. 根据权利要求24所述的设备,其特征在于,所述第一发送时间间隔为所述发起设备和响应设备基于相同的算法随机生成的。
  27. 一种信息传输方法,其特征在于,包括:
    发起设备向响应设备发送测距信号,所述测距信号至少包括第一测距信号帧和第二测距信号帧,所述第一测距信号帧和所述第二测距信号帧之间的第一发送时间间隔为随机生成的;
    所述发起设备接收所述响应设备基于所述测距信号返回的测量信息。
  28. 根据权利要求27所述的方法,其特征在于,所述方法还包括:
    所述发起设备向响应设备发送辅助信号,所述辅助信号和所述测距信号之间的第二发送时间间隔为随机生成的,所述辅助信号用于承载所述测距信号的配置信息。
  29. 一种信息传输方法,其特征在于,包括:
    响应设备接收发起设备发送的测距信号,所述测距信号至少包括第一测距信号帧和第二测距信号帧,所述第一测距信号帧和所述第二测距信号帧之间的第一发送时间间隔为随机生成的;
    所述响应设备基于所述测距信号向所述发起设备发送测量信息。
  30. 根据权利要求29所述的方法,其特征在于,所述方法还包括:
    所述响应设备接收所述发起设备发送的辅助信号,所述辅助信号和所述测距信号之间的第二发送时间间隔为随机生成的,所述辅助信号用于承载所述测距信号的配置信息。
  31. 一种信息传输方法,其特征在于,包括:
    发起设备向响应设备发送辅助信号;
    所述发起设备向响应设备发送测距信号,所述辅助信号和所述测距信号之间的第一发送时间间隔为随机生成的,所述辅助信号用于承载所述测距信号的配置信息;
    所述发起设备接收所述响应设备基于所述测距信号返回的测量信息。
  32. 根据权利要求31所述的方法,其特征在于,所述测距信号至少包括第一测距信号帧和第二测距信号帧,所述第一测距信号帧和所述第二测距信号帧之间的第二发送时间间隔为随机生成的。
  33. 一种信息传输方法,其特征在于,包括:
    响应设备接收所述发起设备发送的辅助信号;
    所述响应设备接收发起设备发送的测距信号,所述辅助信号和所述测距信号之间的第一发送时间间隔为随机生成的,所述辅助信号用于承载所述测距信号的配置信息;
    所述响应设备基于所述测距信号向所述发起设备发送测量信息。
  34. 根据权利要求33所述的方法,其特征在于,所述测距信号至少包括第一测距信号帧和第二测距信号帧,所述第一测距信号帧和所述第二测距信号帧之间的第二发送时间间隔为随机生成的。
  35. 一种电子设备,包括:处理器、通信接口和存储器,所述存储器用于存储程序代码,所述处理器用于调用所述存储器中的程序代码以使得所述处理器执行如权利要求27-34中任一项所述的方法。
  36. 一种计算机可读存储介质,其上存储有计算机执行指令,其特征在于,所述计算机执行指令被处理器执行时实现如权利要求27-34中任一项所述的方法。
PCT/CN2023/085847 2022-06-27 2023-04-03 一种发起设备、响应设备和信息传输方法 WO2024001372A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210737465.XA CN117336662A (zh) 2022-06-27 2022-06-27 一种发起设备、响应设备和信息传输方法
CN202210737465.X 2022-06-27

Publications (1)

Publication Number Publication Date
WO2024001372A1 true WO2024001372A1 (zh) 2024-01-04

Family

ID=89276063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/085847 WO2024001372A1 (zh) 2022-06-27 2023-04-03 一种发起设备、响应设备和信息传输方法

Country Status (2)

Country Link
CN (1) CN117336662A (zh)
WO (1) WO2024001372A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101536332A (zh) * 2006-11-16 2009-09-16 高通股份有限公司 用于uwb系统的速分多址接入
CN108964867A (zh) * 2018-09-28 2018-12-07 四川中电昆辰科技有限公司 一种测距方法及测距系统
US20190036739A1 (en) * 2017-07-31 2019-01-31 Qualcomm Incorporated Protection of ranging sounding from prefix replay attacks
CN111989592A (zh) * 2020-07-16 2020-11-24 北京小米移动软件有限公司 同步系统中的测距方法、装置、设备及可读存储介质
WO2021118175A1 (ko) * 2019-12-10 2021-06-17 삼성전자 주식회사 UWB(Ultra Wide Band) 통신 시스템에서 STS(Scrambled Timestamp Sequence)를 생성하기 위한 장치 및 방법
CN113093101A (zh) * 2021-03-10 2021-07-09 Oppo广东移动通信有限公司 一种测距方法及装置、设备、存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101536332A (zh) * 2006-11-16 2009-09-16 高通股份有限公司 用于uwb系统的速分多址接入
US20190036739A1 (en) * 2017-07-31 2019-01-31 Qualcomm Incorporated Protection of ranging sounding from prefix replay attacks
CN108964867A (zh) * 2018-09-28 2018-12-07 四川中电昆辰科技有限公司 一种测距方法及测距系统
WO2021118175A1 (ko) * 2019-12-10 2021-06-17 삼성전자 주식회사 UWB(Ultra Wide Band) 통신 시스템에서 STS(Scrambled Timestamp Sequence)를 생성하기 위한 장치 및 방법
CN111989592A (zh) * 2020-07-16 2020-11-24 北京小米移动软件有限公司 同步系统中的测距方法、装置、设备及可读存储介质
CN113093101A (zh) * 2021-03-10 2021-07-09 Oppo广东移动通信有限公司 一种测距方法及装置、设备、存储介质

Also Published As

Publication number Publication date
CN117336662A (zh) 2024-01-02

Similar Documents

Publication Publication Date Title
CN110691356B (zh) 超宽带安全测距
US11728972B2 (en) Methods and architectures for secure ranging
EP3425867A1 (en) Communication devices and associated method
EP3249420B1 (en) Secure wireless ranging
EP1739880B1 (en) Security setting
Barnickel et al. Implementing an attack on Bluetooth 2.1+ secure simple pairing in passkey entry mode
US20110093712A1 (en) Communication device supporting pairing
US20070076748A1 (en) Communication apparatus and communication control method
CN111165000B (zh) 用于蓝牙系统和设备的距离估计和认证
CN110999253B (zh) 网状设备及其方法、计算机可读介质以及电子装置
CN113848771B (zh) 一种uwb锚点自动配置方法、装置、设备及储存介质
WO2024001372A1 (zh) 一种发起设备、响应设备和信息传输方法
KR100889056B1 (ko) 무선 usb 시스템의 aes ccm 연산장치
EP3163831A1 (en) Challenge-response-test image to phone for secure pairing
CN110460363B (zh) 用于灵活安全飞行时间测量的装置和方法
CN110662263A (zh) 用于采用相位跟踪传输安全测距分组的装置和方法
CN113765541B (zh) 一种无人机跳频通信方法、装置、计算机设备及存储介质
WO2023124879A1 (zh) 一种信息反馈方法及相关装置
US20230055972A1 (en) Wireless Fine Time Measurement Authentication
WO2024083179A1 (zh) 基于感知的通信方法及装置
JP2004104475A (ja) 無線通信装置及び方法
CN116723504A (zh) 数据通信装置、方法、蓝牙设备及存储介质
WO2008060824A2 (en) Method and system for secure communication in a communication network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23829562

Country of ref document: EP

Kind code of ref document: A1