WO2021023095A1 - 基于通信通道检测中继攻击的方法及设备 - Google Patents
基于通信通道检测中继攻击的方法及设备 Download PDFInfo
- Publication number
- WO2021023095A1 WO2021023095A1 PCT/CN2020/105912 CN2020105912W WO2021023095A1 WO 2021023095 A1 WO2021023095 A1 WO 2021023095A1 CN 2020105912 W CN2020105912 W CN 2020105912W WO 2021023095 A1 WO2021023095 A1 WO 2021023095A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- channel
- identifier
- vehicle
- ranging
- service data
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R25/00—Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
- B60R25/20—Means to switch the anti-theft system on or off
- B60R25/2018—Central base unlocks or authorises unlocking
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00896—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
- H04W12/121—Wireless intrusion detection systems [WIDS]; Wireless intrusion prevention systems [WIPS]
- H04W12/122—Counter-measures against attacks; Protection against rogue devices
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2325/00—Indexing scheme relating to vehicle anti-theft devices
- B60R2325/10—Communication protocols, communication systems of vehicle anti-theft devices
- B60R2325/101—Bluetooth®
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2325/00—Indexing scheme relating to vehicle anti-theft devices
- B60R2325/10—Communication protocols, communication systems of vehicle anti-theft devices
- B60R2325/108—Encryption
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2325/00—Indexing scheme relating to vehicle anti-theft devices
- B60R2325/20—Communication devices for vehicle anti-theft devices
- B60R2325/202—Personal digital assistant [PDA]
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2325/00—Indexing scheme relating to vehicle anti-theft devices
- B60R2325/20—Communication devices for vehicle anti-theft devices
- B60R2325/205—Mobile phones
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2325/00—Indexing scheme relating to vehicle anti-theft devices
- B60R2325/20—Communication devices for vehicle anti-theft devices
- B60R2325/207—Satellites
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C2209/00—Indexing scheme relating to groups G07C9/00 - G07C9/38
- G07C2209/60—Indexing scheme relating to groups G07C9/00174 - G07C9/00944
- G07C2209/63—Comprising locating means for detecting the position of the data carrier, i.e. within the vehicle or within a certain distance from the vehicle
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C2209/00—Indexing scheme relating to groups G07C9/00 - G07C9/38
- G07C2209/60—Indexing scheme relating to groups G07C9/00174 - G07C9/00944
- G07C2209/63—Comprising locating means for detecting the position of the data carrier, i.e. within the vehicle or within a certain distance from the vehicle
- G07C2209/64—Comprising locating means for detecting the position of the data carrier, i.e. within the vehicle or within a certain distance from the vehicle using a proximity sensor
Definitions
- This application relates to the field of communication technology, and in particular to a method and device for detecting relay attacks based on a communication channel.
- PEPS Passive entry and passive start
- the PEPS system includes electronic key equipment and vehicle-mounted equipment.
- the electronic key equipment can be carried by the user and the vehicle-mounted equipment can be built into the car.
- the vehicle-mounted device sends a business request to the electronic key device, and the electronic key device generates a business instruction in response to the business request, and the business instruction carries the authentication data generated by the key.
- the in-vehicle device receives the service instruction from the electronic key device and the verification key is passed, and determines that the distance between the electronic key device and the in-vehicle device is within a preset distance, the in-vehicle device controls the car's door lock to open according to the key.
- the relay device can forward the service request instruction sent by the vehicle-mounted device to the electronic key device, and then transfer the service sent by the electronic key device The instructions are forwarded to the on-board equipment.
- the vehicle-mounted device can be triggered to open the door lock of the car. It can be seen that the security of the existing PEPS system is poor.
- This application provides a method and device for detecting relay attacks based on a communication channel to solve the problem of poor security of the existing PEPS system.
- this application provides a method for detecting a relay attack based on a communication channel, and the method is applied to a vehicle-mounted device.
- the vehicle-mounted device and the first device are connected through a first communication channel and a second communication channel, and the first communication channel and the second communication channel are independent of each other.
- the in-vehicle device maintains the channel identification determination rule of the second communication channel
- the in-vehicle device can receive the first identification from the first device through the first communication channel, and the first identification is used to identify the same type as the second communication channel Communication channel.
- the vehicle-mounted device can determine the channel identifier of the second communication channel, and further, detect whether the channel identifier of the second communication channel matches the first identifier.
- the vehicle-mounted device When the distance between the vehicle-mounted device and the first device is within the preset distance, and the channel identifier of the second communication channel matches the first identifier, the vehicle-mounted device responds to the pre-received service instruction to open the door.
- the embodiment of the service instruction pre-received by the vehicle-mounted device is described in detail below, which will not be detailed here.
- the first identifier is generated according to the channel identifier determination rule, and the first identifier is used to identify a communication channel of the same type as the second communication channel. Furthermore, the vehicle-mounted device can determine whether the vehicle-mounted device and the electronic key device are relayed attacks by comparing whether the calculated channel identifier and the received channel identifier are the same. It can be seen that with this implementation method, the vehicle-mounted device can determine whether the vehicle-mounted device and the electronic key device are relayed attacks based on the channel identifier, and respond to the business instruction to open the door in the absence of relay attacks, thereby improving PEPS The security of the system.
- the first communication channel can be a business data channel or a ranging channel, where the business data channel is used to transmit business data, the ranging channel is used to transmit ranging data, and the business data channel is for example It is a Bluetooth channel, and the ranging channel is, for example, a UWB channel.
- the in-vehicle device can receive the session ciphertext from the first device through the service data channel, the session ciphertext contains the ranging channel identifier, and the ranging channel identifier is used to identify the For the ranging channel, the ranging channel identifier is, for example, the UWB channel identifier.
- the in-vehicle device can receive the ranging confirmation character ACK frame from the first device through the ranging channel, and the ranging ACK frame contains the service data channel identifier and the service data channel identifier
- the service data channel identifier is, for example, a Bluetooth channel identifier.
- the session ciphertext is obtained by encrypting the ranging channel identifier.
- the ranging channel identifier is a UWB channel identifier
- the service data channel is, for example, a Bluetooth channel.
- the UWB channel identifier can be transmitted in the form of Bluetooth session ciphertext.
- the service data channel when the second communication channel is a service data channel, contains physical channel information specific to the service data channel, for example, the transmission frequency band of the service data channel, Time domain information, frequency domain information, multipath delay information, signal strength, signal phase, etc. Therefore, the vehicle-mounted device can extract one or more physical characteristic information of the second communication channel as the second communication channel according to the first rule Then, the service data channel identifier of the second communication channel can be generated according to the channel information of the second communication channel, and the service data channel identifier can uniquely identify the second communication channel.
- the ranging channel may include the universally unique identification code UUID of the ranging channel, the ranging channel address, the session identifier of the ranging channel, the preamble sequence of the ranging channel session, and the ranging channel.
- the vehicle-mounted device Based on the physical feature information such as the time stamp returned from the frame, the vehicle-mounted device can obtain the specified information in the channel information of the second communication channel as the ranging channel identifier of the second communication channel according to the second rule.
- the first rule is used to instruct the vehicle-mounted device to determine the service data channel identifier
- the second rule is used to instruct the vehicle-mounted device to determine the ranging channel identifier
- the designated information refers to physical feature information designated as the ranging channel identifier.
- the channel information of the service data channel is the physical feature information of the service channel, and different physical channels have different physical features, so each service data channel corresponds to a unique service data channel identifier.
- the designated information as the identification of the ranging channel is unique information of the ranging channel. Therefore, each ranging channel also corresponds to a unique ranging channel identification. It can be seen that each communication channel corresponds to a unique channel identifier. Based on this, with this implementation method, the vehicle-mounted device can detect whether it is relayed based on the channel identifier.
- the vehicle-mounted device after determining the channel identifier of the second communication channel, the vehicle-mounted device also needs to detect whether the channel identifier of the second communication channel matches the first identifier before opening the door.
- the channel identifier of the second communication channel and the first identifier are service data channel identifiers, due to the influence of weather and other factors, the physical characteristic information of the service data channel will change. Therefore, even The service data channel is not attacked by the relay, and the first identifier generated by the electronic key device may be different from the identifier generated by the vehicle-mounted device, but the similarity is relatively high.
- the in-vehicle device can detect whether the similarity parameter between the channel identifier of the second communication channel and the first identifier is greater than the preset threshold. If the similarity parameter between the channel identifier of the second communication channel and the first identifier is greater than the preset threshold, If the threshold is set, it is determined that the channel identifier of the second communication channel matches the first identifier.
- the similarity parameter indicates the degree of similarity between the channel ID of the second communication channel and the first ID. The smaller the similarity parameter, the smaller the degree of similarity between the channel ID of the second communication channel and the first ID, and the larger the similarity parameter.
- the vehicle-mounted device can detect whether it is relayed or not based on the similarity parameters of the two service data channel identifiers.
- the vehicle-mounted device detects that the channel identifier of the second communication channel is the same as the first identifier, and then determines the channel identifier of the second communication channel Match with the first identifier.
- the ranging channel identifier is, for example, a preamble sequence. Since the preamble sequence can uniquely identify the ranging channel, based on this, with this implementation, the vehicle-mounted device can determine whether the received preamble sequence is the same as the extracted local preamble sequence. , To determine whether the attack is relayed.
- the vehicle-mounted device may first establish a service data channel with the first device, and then the vehicle-mounted device may receive service instructions through the service data channel, and then the vehicle-mounted device may establish a ranging channel with the first device.
- the vehicle-mounted device can perform ranging on the first device when it is determined that there is a legal service instruction, thereby reducing resource consumption caused by ranging.
- this application provides a method for detecting a relay attack based on a communication channel, and the method is also applied to the vehicle device side.
- the first rule and the second rule are preset in the in-vehicle device.
- the in-vehicle device can receive a service instruction from the first device.
- the service instruction includes the first service data channel identifier and the first ranging channel identifier.
- a service data channel identifier is used to identify the service data channel to which the electronic key device is connected, and the first ranging channel identifier is used to identify the ranging channel to which the electronic key device is connected.
- the vehicle-mounted device can determine the second service data channel identifier and the second ranging channel identifier.
- the second service data channel identifier is used to identify the service data channel to which the vehicle-mounted device is connected, and the second ranging channel identifier is used to identify the location of the vehicle-mounted device. Connected ranging channel. Furthermore, the in-vehicle device can detect whether the first service data channel identifier matches the second service data channel identifier, and whether the first ranging channel identifier and the second ranging channel identifier are the same. When the distance between the vehicle-mounted device and the first device is within the preset distance, the first service data channel identifier and the second service data channel identifier match, and the first ranging channel identifier and the second ranging channel identifier are the same, the vehicle The device only responds to business instructions to open the door.
- the first rule and the second rule are preset in the vehicle device and the electronic key device. Furthermore, after the vehicle device receives the two-channel identifier generated by the electronic key device, it can generate two channel identifiers corresponding to the local end. Furthermore, the on-vehicle device can detect whether there is a relay attack based on the matching relationship between the two pairs of channel identifiers, and respond to the service instruction to open the car door in a scenario where there is no relay attack. It can be seen that with this implementation method, the vehicle-mounted device can determine whether the vehicle-mounted device and the electronic key device are relayed attacks based on the channel identifier, and respond to the business instruction to open the door in the absence of relay attacks, thereby improving PEPS The security of the system.
- the present application provides a method for detecting relay attacks based on a communication channel.
- the method is applied to an electronic key device side, and the method corresponds to the method described in the first aspect.
- the electronic key device is connected to the second device through a first communication channel and a second communication channel, and the first communication channel and the second communication channel are independent of each other.
- the electronic key device may generate a first identifier, and further, send the first identifier to the second device through the first communication channel.
- the in-vehicle device is triggered to execute the method of the first aspect.
- the first identifier please refer to the first aspect, which will not be repeated here.
- the electronic key device uses the channel identification determination rule of the second communication channel to generate the first identification, and uses the first communication channel to transmit the channel identification of the second communication channel, thereby being able to establish the correspondence between the first communication channel and the second communication channel .
- Using this implementation method can facilitate the vehicle-mounted device to verify whether the peer device is an electronic key device according to the communication channel, and further enable the vehicle-mounted device to respond to business instructions to open the door in the absence of a relay attack, thereby improving the security of the PEPS system Sex.
- the electronic key device generating the first identifier includes: when the second communication channel is a business data channel, the business data channel contains physical channel information unique to the business data channel, and the electronic key device can follow the first rule One or more physical feature information of the second communication channel is extracted as the channel information of the second communication channel, and then the service data channel identifier of the second communication channel is generated according to the channel information of the second communication channel.
- the second communication channel is a ranging channel
- the electronic key device can obtain the designated information in the channel information of the second communication channel as the first identifier according to the second rule.
- the method for generating the first identifier by the electronic key device is the same as the method for generating the channel identifier of the second communication channel by the vehicle-mounted device described in the first aspect.
- the meaning of the service data channel, the meaning of the ranging channel, the meaning of the service data channel identifier, and the meaning of the ranging channel are as described in the first aspect, and will not be detailed here.
- the electronic key device when the first identifier is the service data channel identifier, can carry the service data channel identifier in the ranging confirmation character ACK frame, and pass it through the ranging channel Send the ranging ACK frame.
- the ranging ACK frame is a response frame of the electronic key device to the ranging frame sent by the second device, and the second device can calculate the distance to the electronic key device according to the ranging frame and each ranging ACK frame.
- the electronic key device can encrypt the ranging channel identifier to obtain the session ciphertext, and then send the session ciphertext through the service data channel.
- the ranging channel identifier is the UWB channel identifier
- the service data channel is, for example, the Bluetooth channel.
- the electronic key device can encrypt the UWB channel identifier to obtain the Bluetooth session ciphertext, and then send the session ciphertext to the second through the Bluetooth channel equipment.
- the ranging channel identifier can be prevented from being counterfeited and tampered, thereby improving the accuracy of detection, and further, the security of the PEPS system can be improved.
- the electronic key device can send service instructions to the second device through the service data channel after establishing the first communication channel with the second device, so as to facilitate the vehicle
- the device verifies the legality of the business instruction, and then the electronic key device establishes a ranging channel with the second device.
- the vehicle-mounted device can perform ranging when it is determined that there is a legal service instruction, thereby reducing resource consumption caused by ranging.
- the present application provides a method for detecting relay attacks based on a communication channel.
- the method is also applied to the electronic key device side, and the method corresponds to the method described in the third aspect.
- the first rule and the second rule are preset on the electronic key device side, and further, after the business data channel and the ranging channel are established with the second device, the electronic key device can determine the first business data channel according to the first rule And determine the first ranging channel identifier according to the second rule, the first business data channel identifier is used to identify the business data channel, the first ranging channel identifier is used to identify the ranging channel, and then the electronic key device can generate a business instruction ,
- the service instruction includes the first service data channel identifier and the first ranging channel identifier, and then the electronic key device sends the service instruction to the second device through the service data channel.
- the in-vehicle device is triggered to execute the method of the third aspect.
- the first rule and the second rule are preset in the in-vehicle device and the electronic key device. Furthermore, the electronic key device can determine the channel identifiers of the two communication channels connected to the local end, and then, the two channels The identifier is carried in the service instruction and sent to the vehicle-mounted device side, thereby triggering the vehicle-mounted device to detect whether there is a relay attack based on the two channel identifiers, and respond to the service instruction to open the car door in a scenario where there is no relay attack.
- the vehicle-mounted device can determine whether the vehicle-mounted device and the electronic key device are relayed attacks based on the channel identifier, and respond to the business instruction to open the door in the absence of relay attacks, thereby improving PEPS The security of the system.
- this application also provides an in-vehicle device that has the function of realizing the behavior of the in-vehicle device in the foregoing method.
- the function can be realized by hardware, or by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above-mentioned functions.
- the structure of the foregoing vehicle-mounted device includes a processor and a transceiver, and the processor is configured to process the terminal device to perform corresponding functions in the foregoing method.
- the transceiver is used to implement the communication between the vehicle-mounted device and the electronic key device.
- the in-vehicle device may further include a memory, which is used for coupling with the processor and stores the necessary program instructions and data of the in-vehicle device.
- the present application also provides an electronic key device, which has the function of realizing the behavior of the electronic key device in the above method.
- the function can be realized by hardware, or by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above-mentioned functions.
- the structure of the above electronic key device includes a processor and a transceiver, and the processor is configured to process the electronic key device to perform corresponding functions in the above method.
- the transceiver is used to realize the communication between the electronic key device and the vehicle-mounted device.
- the electronic key device may further include a memory for coupling with the processor, which stores the necessary program instructions and data of the electronic key device.
- the present application also provides a chip.
- the chip includes a processor and an interface, the interface is coupled to the processor, and the processor is used to execute computer programs or instructions and implement the first and second aspects.
- the present application also provides a chip.
- the chip includes a processor and an interface, the interface is coupled to the processor, and the processor is used to execute computer programs or instructions and implement the third aspect and the first aspect.
- this application provides a computer-readable storage medium having instructions stored in the computer-readable storage medium, which when run on a computer, cause the computer to execute the first, second, and third aspects ,
- the fourth aspect any possible design of the first aspect, or any possible design of the third aspect.
- the channel identification determination rules are preset in the vehicle equipment and electronic key equipment provided in this application. Furthermore, in the communication process, the electronic key device uses the channel identification determination rules to generate the channel identification and send it to the The opposite device of the electronic key device.
- the channel identifier is the identifier of the communication channel to which the electronic key device is currently connected.
- the vehicle-mounted device receives the channel identifier from the peer device of the vehicle-mounted device, it generates the channel identifier of the communication channel received by the vehicle-mounted device according to the channel identification determination rule, and further, the vehicle-mounted device communicates with the vehicle-mounted device by detecting the received channel identifier. Whether the generated channel identifier matches is used to determine whether there is a relay attack between the vehicle-mounted device and the electronic key device, and further, whether to open the vehicle door.
- Fig. 1A is a schematic diagram of an exemplary scenario of a PEPS system provided by the present application.
- FIG. 1B is a schematic diagram of an exemplary scenario of a relay attack provided by this application.
- FIG. 2A is an exemplary system architecture diagram of a mobile vehicle communication system 10 provided by the present application.
- FIG. 2B is an exemplary functional structure diagram of a vehicle-mounted device 100 provided by the present application.
- FIG. 2C is an exemplary functional structure diagram of an electronic key device 200 provided by the present application.
- 3A is an exemplary method flowchart of the method 100 for detecting relay attacks based on communication channels provided by the present application
- FIG. 3B is an exemplary method flowchart of the method 200 for detecting relay attacks based on the communication channel provided by the present application;
- FIG. 3C is an exemplary method flowchart of the method 300 for detecting relay attacks based on the communication channel provided by the present application;
- FIG. 3D is an exemplary method flowchart of a method 400 for detecting relay attacks based on a communication channel provided by the present application
- 4A is an exemplary signaling interaction diagram of a method 500 for detecting relay attacks based on a communication channel provided by the present application
- 4B is an exemplary signaling interaction diagram of a method 600 for detecting relay attacks based on a communication channel provided by the present application
- 4C is an exemplary signaling interaction diagram of a method 700 for detecting relay attacks based on a communication channel provided by the present application;
- 4D is an exemplary signaling interaction diagram of a method 800 for detecting relay attacks based on a communication channel provided by the present application
- FIG. 4E is a schematic diagram of a communication channel in a relay attack scenario provided by this application.
- FIG. 5A is a schematic diagram of an exemplary structure of a vehicle-mounted device 50 provided by the present application.
- FIG. 5B is a schematic diagram of an exemplary structure of a vehicle-mounted device 51 provided by the present application.
- FIG. 6A is a schematic diagram of an exemplary structure of an electronic key device 60 provided by the present application.
- FIG. 6B is a schematic diagram of an exemplary structure of an electronic key device 61 provided by the present application.
- first, second, etc. may be used in the following embodiments to describe a certain type of object, the object should not be limited to these terms. These terms are only used to distinguish specific objects of this class of objects.
- the terms first, second, etc. may be used to describe the channel identification, but the channel identification should not be limited to these terms. These terms are only used to distinguish identifiers that indicate different communication channels.
- the terms first, second, etc. may be used to describe other types of objects in the same way, which will not be repeated here.
- FIG. 1A shows an exemplary scenario diagram of a passive entry and start (PEPS) system.
- the vehicle-mounted device and the electronic key device in the PEPS system can establish a business data channel, for example , Vehicle-mounted equipment and electronic key equipment use this service data channel to transmit service data.
- a distance measurement channel may be established between the vehicle-mounted device and the electronic key device.
- the vehicle-mounted device can transmit distance measurement data to the electronic key device through the distance measurement channel.
- the distance measurement data is used for the vehicle device to detect the distance to the electronic key device.
- the vehicle control module in the vehicle-mounted device performs a door opening operation according to the received service data.
- the ranging channel and the business data channel are independent of each other, and while the vehicle-mounted device and the electronic key device use the business data channel to transmit business data, the vehicle-mounted device and the electronic key device are still using the ranging channel to transmit the ranging data.
- the PEPS system involved in this application is a communication system for mobile vehicles.
- the communication system has the function of keyless entry and start.
- the communication system includes vehicle-mounted equipment and electronic key equipment that are connected wirelessly.
- the vehicle-mounted equipment involved in this application can be installed in a mobile vehicle.
- the vehicle-mounted device may be configured as one or more servers with wireless communication function, or one or more antenna modules, processors, etc.
- the electronic key device involved in this application can be configured as an independent device, or can be configured as another electronic device carrying electronic key related applications.
- the electronic devices include, for example, mobile phones, tablet computers, and wearable electronic devices (such as smart watches) with wireless communication functions.
- Exemplary embodiments of portable electronic devices include but are not limited to carrying Or portable electronic devices with other operating systems.
- the above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface or a touch panel. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface or a touch panel.
- the service data channel is a channel used to transmit service data.
- the service data may include, for example, service requests and service instructions, and the service data channel may, but is not limited to, a Bluetooth channel.
- the ranging channel is a channel used to transmit ranging data.
- the ranging data can include, for example, ranging frames and ranging acknowledgement (acknowledgement, ACK) frames.
- the ranging channel can, but is not limited to, use ultra-wideband (ultra wideband, UWB) UWB channel established by the module.
- the preset distance is, for example, 2 meters to 10 meters.
- the relay attack involved in this application refers to a relay device that enlarges the distance between the vehicle-mounted device and the electronic key device through an attack method. That is, in a scenario where the distance between the vehicle-mounted device and the electronic key device is greater than the preset distance, the relay device relays the service instruction from the electronic key device to the vehicle-mounted device, so that when the vehicle-mounted device and the electronic key device are far away , The operation of opening the door by means of attack.
- the preset distance is 2 meters, that is, when the distance between the vehicle-mounted device and the electronic key device is less than or equal to 2 meters, the vehicle-mounted device responds to the business instruction to open the door.
- the distance between the vehicle-mounted device and the electronic key device is 10 meters
- the distance between the relay device and the vehicle-mounted device is 2 meters
- the relay device can forward business instructions from the electronic key device to The vehicle-mounted device, in turn, triggers the vehicle-mounted device to open the door.
- the business data channel and the ranging channel are two independent communication channels. Therefore, only when the Bluetooth channel and the ranging channel shown in Figure 1A are connected to the electronic key device, the vehicle device and the electronic key The device is not attacked by relay. If the Bluetooth channel shown in FIG. 1A is connected to an electronic key device, but the ranging channel is connected to other devices, the Bluetooth channel has been attacked by a relay.
- a relay attack scenario is shown in Figure 1B.
- a relay device is added between the vehicle-mounted device and the electronic key device.
- the relay device can establish a ranging channel and a first service data channel with the vehicle-mounted device, and Establish a second business data channel with the electronic key device. Then, the relay device receives the service request sent by the in-vehicle device through the first service data channel, and sends the service request to the electronic key device through the second service data channel, and further, the relay device receives the service request through the second service data channel.
- the business instruction sent by the electronic key device, and the business instruction is sent to the vehicle-mounted device through the first business data channel. Based on this, as long as the distance between the relay device and the vehicle-mounted device is within the preset distance, the vehicle-mounted device can be triggered to open the door, resulting in poor safety of the PEPS system.
- the relay device in Figure 1B and the vehicle-mounted device and the electronic key device respectively transmit business data through two business data channels, from a logical level, the business data is still transferred between the vehicle-mounted device and the electronic key device.
- the relay device does not establish an actual pairing relationship with the vehicle device and the electronic key device.
- the relay device forwards the business data packet to extend the data interaction between the electronic key device and the vehicle device. Scope of action.
- the "first service data channel” and “second service data channel” illustrated in FIG. 1B refer to the two communication channels between the relay device and the vehicle-mounted device and the electronic key device, and the two communication channels It functions as a business data channel in the implementation scenario of this application.
- the service data channels to which the relay device is connected in other embodiments of the present application all have this meaning, which will not be repeated in the following related embodiments of the present application.
- this application provides a method and equipment for detecting relay attacks based on a communication channel.
- the vehicle-mounted device can detect whether the current PEPS system is safe (that is, whether the current PEPS system is relayed attack) according to the identification of the communication channel, and further, after determining the safety of the PEPS system, the vehicle-mounted device unlocks the vehicle door lock, thereby Improve the safety of the PEPS system.
- FIG. 2A illustrates an exemplary system architecture diagram of a mobile vehicle communication system 10.
- the communication system 10 includes a vehicle 12, one or more wireless carrier systems 14, a ground communication network 16, a computer 18, and a call center 20.
- the disclosed method can be used with any number of different systems and is not specifically limited to the operating environment shown here.
- the architecture, construction, setup, and operation of the system 10 and its individual components are generally known in the prior art. Therefore, the following paragraphs simply provide an overview of an example communication system 10, and other systems not shown herein can also use the disclosed method.
- the vehicle 12 may be implemented on a car or may take the form of a car.
- the example system can also be implemented on other vehicles or take the form of other vehicles, such as cars, trucks, motorcycles, buses, boats, airplanes, helicopters, lawn mowers, snow shovel, RV, amusement park vehicles , Agricultural equipment, construction equipment, trams, golf carts, trains and trams and other vehicles.
- robotic devices can also be used to perform the methods and systems described herein.
- vehicle electronics 28 are shown in FIG. 2A, including an information communication unit 30, a microphone 32, one or more buttons 34 or other control inputs, an audio system 36, a visual display 38, and a global positioning system (global positioning system). , GPS) module 40 and multiple vehicle security modules (VSM) 42.
- GPS global positioning system
- VSM vehicle security modules
- Suitable network connections include controller area network (CAN), media oriented systems transport (MOST), local interconnect network (LIN), local area network (LAN) And other suitable connections, such as Ethernet or compliant with the known International Organization for Standardization (ISO), the Society of Automotive Engineers (SAE), and the Institute of Electrical and Electronics Engineers (Institute of Electrical) and electronics engineers, IEEE) standards and other connections specified, this is only a small list.
- CAN controller area network
- MOST media oriented systems transport
- LIN local interconnect network
- LAN local area network
- Ethernet such as Ethernet or compliant with the known International Organization for Standardization (ISO), the Society of Automotive Engineers (SAE), and the Institute of Electrical and Electronics Engineers (Institute of Electrical) and electronics engineers, IEEE) standards and other connections specified, this is only a small list.
- ISO International Organization for Standardization
- SAE Society of Automotive Engineers
- IEEE Institute of Electrical and Electronics Engineers
- the information communication unit 30 can be an original equipment manufacturer (OEM) installation (embedded) or aftermarket equipment, which is installed in a vehicle and can be used on the wireless carrier system 14 to perform wireless sound and/ Or data communication. This enables the vehicle to communicate with the call center 20, other vehicles that enable information communication, or some other entities or devices.
- the information communication unit preferably uses radio broadcasting to establish a communication channel (sound channel and/or data channel) with the wireless carrier system 14 so that voice and/or data transmission can be sent and received on the channel.
- a communication channel sound channel and/or data channel
- the information communication unit 30 enables the vehicle to provide a variety of different services, including those related to navigation, telephone, emergency rescue, diagnosis, infotainment, and the like.
- Data can be sent via a data connection (for example, via packet data transmission on a data channel, or via a voice channel using techniques known in the art).
- a data connection for example, via packet data transmission on a data channel, or via a voice channel using techniques known in the art.
- voice communication for example, a live advisor or voice response unit at the call center 20
- data communication for example, providing GPS location data or vehicle diagnostic data to the call center 20
- SMS can be used to send and receive data (for example, packet data protocol (PDP));
- the information communication unit can be configured for mobile termination and/or initiation, or configured for application termination and/or Initiated.
- the information communication unit 30 utilizes cellular communication in accordance with the global system for mobile communication (GSM) or code division multiple access (CDMA) standards, and therefore includes standards for voice communication (for example, hands-free calling)
- GSM global system for mobile communication
- CDMA code division multiple access
- a cellular chipset a wireless modem for data transmission
- an electronic processing device 52 one or more digital memory devices 54 and dual antennas 56.
- the modem can be implemented by software stored in the information communication unit and executed by the processor 52, or it can be a separate hardware component located inside or outside the information communication unit 30.
- the modem can use any number of different standards or protocols (such as EVDO (CDMA20001xEV-DO, EVDO), CDMA, general packet radio service, GPRS), and enhanced data rate GSM evolution technology (enhanced data rate for GSM). evolution, EDGE)) to run.
- EVDO CDMA20001xEV-DO, EVDO
- CDMA compact disc-to-media
- GPRS general packet radio service
- EDGE enhanced data rate GSM evolution technology
- Wireless networking between vehicles and other networked devices can also be performed using the information communication unit 30.
- the information communication unit 30 can be configured to wirelessly communicate according to one or more wireless protocols (for example, IEEE 802.11 protocol, worldwide interoperability for microwave access (WiMAX), or any one of Bluetooth) .
- WiMAX worldwide interoperability for microwave access
- the information communication unit When used for packet-switched data communication such as transmission control protocol/internet protocol (TCP/IP), the information communication unit can be configured with a static IP address, or can be set to Another device (such as a router) or automatically receives the assigned IP address from a network address server.
- TCP/IP transmission control protocol/internet protocol
- the information communication unit can be configured with a static IP address, or can be set to Another device (such as a router) or automatically receives the assigned IP address from a network address server.
- the processor 52 may be any type of device capable of processing electronic instructions, including a microprocessor, a microcontroller, a main processor, a controller, a vehicle communication processor, and an application specific integrated circuit (ASIC). It can be a dedicated processor used only for the information communication unit 30 or can be shared with other vehicle systems.
- the processor 52 executes various types of digital storage instructions, such as storing the first identification sent by the electronic key device 200.
- the processor 52 can also execute programs or process data, for example, execute the detection operations in the method embodiments for detecting relay attacks based on communication channels described later in this specification.
- the information communication unit 30 can be used to provide various range of transportation services, including wireless communication with other parts of the transportation.
- Such services include: turn-by-turn direct 1ns and other navigation-related services provided in conjunction with the GPS-based vehicle navigation module 40; airbag deployment notifications and interface modules with one or more collision sensors (For example, the main body control module (not shown)) is provided in conjunction with other emergency or roadside rescue related services.
- infotainment-related services where music, web pages, movies, TV shows, video games, and/or other information are downloaded by the infotainment module and stored for current or later playback.
- the services listed above are by no means an exhaustive list of all the capabilities of the information communication unit 30, but merely a list of some services that the information communication unit can provide.
- the above modules can be implemented in the form of software instructions stored inside or outside the information communication unit 30, they may be hardware components located inside or outside the information communication unit 30, or they may be integrated and integrated with each other. / Or shared, or integrated and/or shared with other systems located throughout the vehicle, to name just a few possibilities.
- the VSM 42 located outside the information communication unit 30 When the VSM 42 located outside the information communication unit 30 is working, they can use the vehicle communication bus 44 to exchange data and commands with the information communication unit 30.
- the GPS module 40 receives radio signals from GPS satellites 60. From these signals, the GPS module 40 can determine the location of the vehicle, and the location of the vehicle is used to provide navigation and other location-related services to the vehicle driver.
- the navigation information can be presented on the display 38 (or other display in the vehicle) or can be presented in language, for example when steering navigation is provided.
- the navigation module (which may be part of the GPS module 40) in a dedicated vehicle can be used to provide navigation services, or some or all of the navigation services can be completed via the information communication unit 30, where the location information is sent to a remote location for convenience Provide navigation maps, map annotations (points of interest, restaurants, etc.), route calculations, etc. for transportation.
- the location information can be provided to the call center 20 or other remote computer systems, such as the computer 18, for other purposes, such as fleet management.
- new or updated map data can be downloaded from the call center 20 to the GPS module 40 via the information communication unit 30.
- the vehicle 12 can include other vehicle safety modules VSM 42 in the form of electronic hardware components.
- the other vehicle safety modules VSM 42 are located in the entire vehicle and usually receive input from one or more sensors. , And use the sensed input to perform diagnostics, monitoring, control, reporting, and/or other functions.
- Each of the VSMs 42 is preferably connected to other VSMs through a communication bus 44, and also to the information communication unit 30, and can be programmed to run vehicle system and subsystem diagnostic tests.
- one VSM 42 can be an engine control module (ECM) that controls various aspects of engine operation (for example, fuel ignition and ignition timing), and the other VSM 42 can be one or the other that regulates the power train of the vehicle.
- ECM engine control module
- a powertrain control module for the operation of multiple components, and another VSM 42 can be a main control module that manages various electrical components (such as electric door locks and headlights of the vehicle) located in the entire vehicle.
- the engine control module is equipped with on-board diagnostics (OBD) features, which provide a large amount of real-time data, such as data received from various sensors (including vehicle emission sensors), and provide standardized series Diagnostic trouble codes (DTS), diagnostic trouble codes allow technicians to quickly identify and repair faults in vehicles.
- OBD on-board diagnostics
- DTS Diagnostic trouble codes
- the vehicle electronics 28 also includes a plurality of vehicle user interfaces, which provide a device for providing and/or receiving information for vehicle drivers and passengers, including a microphone 32, a button 34, an audio system 36 and a visual display 38.
- vehicle user interface broadly includes any suitable form of electronic equipment, including hardware and software components, which are located on the vehicle and enable the user of the vehicle to communicate with the components of the vehicle Or communicate through parts of the vehicle.
- the microphone 32 provides audio input to the information communication unit, so that the driver or other passengers can provide voice commands and perform hands-free protection calls via the wireless carrier system 14. For this purpose, it can be connected to an on-vehicle automated sound processing unit, which utilizes human machine interface (HMI) technology known in the prior art.
- HMI human machine interface
- the Button 34 allows manual user input to information communication unit 30 to initiate wireless telephone calls and provide other data, response, or control inputs. Separate buttons can be used to initiate emergency calls and regular service help calls to the call center 20.
- the audio system 36 provides audio output to vehicle drivers and can be a dedicated stand-alone system or part of the main vehicle audio system. According to the specific embodiment shown here, the audio system 36 is operatively connected to the vehicle bus 44 and the entertainment bus 46, and can provide amplitude modulation (AM), frequency modulation (FM), satellite broadcasting, and digital Multifunctional disc (digital versatile disc, DVD) and other multimedia functions. This function can be provided in combination with the infotainment module described above or independently.
- AM amplitude modulation
- FM frequency modulation
- DVD digital Multifunctional disc
- the visual display 38 is preferably a graphic display, such as a touch screen on the dashboard or a head-up display reflecting off the windshield, and can be used to provide various input and output functions.
- a graphic display such as a touch screen on the dashboard or a head-up display reflecting off the windshield.
- Various other vehicle user interfaces can also be utilized, as the interface in Figure 2A is only an example of a specific implementation.
- the wireless carrier system 14 is preferably a cellular telephone system, including a plurality of cellular towers 70 (only one is shown), one or more mobile switching centers (mobile switching centers, MSC) 72, and the wireless carrier system 14 is connected to the ground network 16 Any other networking components required.
- Each cell tower 70 includes transmitting and receiving antennas and base stations. Base stations from different cell towers are directly connected to the MSC 72 or connected to the MSC 72 via an intermediate device (such as a base station controller).
- the cellular system can implement any suitable communication technology, including, for example, analog technology (for example, an advanced mobile phone system (AMPS)) or newer digital technology (for example, CDMA (for example, CDMA2000) or GSM/GPRS).
- each base station can respond to a single cell tower or a single base station can serve each cell tower, and each base station can be connected to a single MSC. This is just a list A small set of possible settings.
- different wireless carrier systems in the form of satellite communication can be used to provide one-way or two-way communication with the vehicle. This can be done using one or more communication satellites 62 and uplink transmitting stations 64.
- the one-way communication can be, for example, a satellite broadcast service, where program content (news, music, etc.) is received by a transmitting station 64, packaged for upload, and then sent to a satellite 62, which broadcasts the program to users.
- the two-way communication can be, for example, a satellite phone service that uses satellite 62 to relay phone communication between vehicle 12 and station 64. If used, this satellite phone can be added to or used in place of the wireless carrier system 14.
- the ground network 16 may be a conventional land-based radio communication network, which connects to one or more fixed telephones and connects the wireless carrier system 14 to the call center 20.
- the ground network 16 may include a public switched telephone network (PSTN), such as the PSTN used to provide wired telephones, packet-switched data communications, and Internet infrastructure.
- PSTN public switched telephone network
- One or more parts of the ground network 16 can use standard wired networks, optical fiber or other optical networks, cable networks, power lines, other wireless networks (such as wireless local area networks (WLAN)), or provide broadband wireless access (broadband wireless access, BWA) network and any combination thereof.
- WLAN wireless local area networks
- BWA broadband wireless access
- the terrestrial network 16 may also include one or more short message service centers (SMSC) for storing, uploading, converting, and/or transmitting short messages (short message service, SMS) between the sender and the receiver. ).
- SMSC short message service center
- the SMSC may receive an SMS message from the call center 20 or a content provider (for example, an external short message entity or ESME), and the SMSC may transmit the SMS message to the vehicle 12 (for example, a mobile terminal device). SMSCs and their functions are known to the skilled person.
- the call center 20 does not have to be connected via the ground network 16, but may include wireless telephone equipment so that it can communicate directly with the wireless network (e.g., the wireless carrier system 14).
- the computer 18 can be one of a plurality of computers that can be accessed via a private or public network (such as the Internet). Each of these computers 18 can be used for one or more purposes.
- a vehicle can access a web server via the information communication unit 30 and the wireless carrier system 14.
- Other such accessible computers 18 can be, for example: a service center computer, in which diagnostic information and other vehicle data can be uploaded from the vehicle via the information communication unit 30; a client used by vehicle owners or other users for, for example, the following purposes Computer: Access or receive vehicle data, or set or configure user parameters, or control vehicle functions; or third-party libraries, whether through communication with vehicle 12 or call center 20, or with both, vehicle data Or other information is provided to or from the third-party library.
- the computer 18 can also be used to provide Internet connections, such as domain name server (DNS) services, or as a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) or other suitable protocols to assign IP addresses to vehicles 12 network address server.
- DNS domain name server
- DHCP dynamic host configuration
- the call center 20 is designed to provide a variety of different system back-end functions to the vehicle electronics 28, and according to the exemplary embodiment shown here, the call center 20 generally includes one or more switches 80, servers 82, and databases. 84. On-site consultant 86, and automatic voice response system (VRS) 88, all of which are known in the prior art. These various call center components are preferably connected to each other via a wired or wireless local area network.
- the switch 80 can be a private branch exchange (PBX), which routes incoming signals, so that the voice transmission is usually sent to the on-site consultant 86 through ordinary telephones or to the automatic voice response system 88 using VoIP.
- PBX private branch exchange
- the on-site consultant phone can also use voice over internet phone (VoIP), as indicated by the dotted line in FIG. 2A.
- VoIP voice over internet phone
- VoIP and other data communications through the switch 80 are implemented via a modem (not shown) connected between the switch 80 and the network 90.
- the data transmission is passed to the server 82 and/or the database 84 via the modem.
- the database 84 can store account information, such as user authentication information, vehicle identifiers, profile records, behavior patterns and other related user information.
- Data transmission can also be performed by wireless systems, such as 802.1lx, GPRS, etc.
- SMS short message service
- PDP personal data packet data
- the call center 20 may be configured for mobile termination and/or origination, or configured for application termination and/or origination.
- FIG. 2B illustrates an exemplary functional structure diagram of a vehicle-mounted device 100 provided in this application.
- the vehicle-mounted device 100 is coupled to the mobile vehicle shown in FIG. 2A.
- the vehicle-mounted device 100 may include a sensor system 101, a control system 102, a peripheral device 103, a power supply 104, a computing device 105, and a user interface 106.
- the computing device 105 may include a processor 1051 and a memory 1052.
- the computing device 105 may be a controller or a part of the controller of the in-vehicle device 100.
- the memory 1052 may include instructions 1053 executable by the processor 1051 and may also store map data 1054.
- the components of the in-vehicle device 100 may be configured to work in a manner of interconnecting with each other and/or with other components coupled to various systems.
- the power supply 104 may provide power to all components of the in-vehicle device 100.
- the computing device 105 may be configured to receive data from the sensor system 101, the control system 102, and the peripheral device 103 and control them.
- the computing device 105 may receive ranging data from the sensor system 101, and calculate the ranging result based on the ranging data, and then the computing device 105 may send the ranging result to the control system 102 to trigger the control system 102 to perform subsequent operations .
- the computing device 105 may be configured to generate a display of images on the user interface 106 and receive input from the user interface 106.
- the in-vehicle device 100 may include more, fewer, or different systems, and each system may include more, fewer, or different components.
- the systems and components shown can be combined or divided in any manner.
- the sensor system 101 may include several sensors for sensing information about the environment in which the in-vehicle device 100 is located.
- the sensors of the sensor system include a GPS module 1011, an inertial measurement unit (IMU) 1012, a radio detection and radar ranging (RADAR) unit 1013, a laser ranging (LIDAR) unit 1014, a camera 1015, An actuator 1016 and UWB module(s) 1017 for modifying the position and/or orientation of the sensor.
- the sensor system 101 is configured to send a ranging frame to the UWB module 2031 through the UWB module 1017, and receive a ranging ACK frame from the UWB module 2031, and then the sensor system 101 may send related ranging data to the computing device 105 , To trigger the calculation device 105 to calculate the distance measurement result.
- the computing device 105 may locate the vehicle according to the ranging data and positioning algorithm of one or more UWB modules, and generate a ranging result.
- the sensor system 101 may also include additional sensors, including, for example, sensors that monitor the internal systems of the vehicle 100 (for example, monitors, fuel gauges, oil temperature, etc.).
- the sensor system 101 may also include other sensors.
- the GPS module 1011 may be any sensor used to estimate the geographic location of the vehicle.
- the GPS module 1011 may include a transceiver to estimate the position of the vehicle-mounted device 100 relative to the earth based on satellite positioning data.
- the computing device 105 may be used in conjunction with the map data 1054 to use the GPS module 1011 to estimate the position of the lane boundary on the road on which the vehicle can travel.
- the GPS module 1011 may also take other forms.
- the IMU 1012 may be used to sense the position and orientation changes of the vehicle based on the inertial acceleration and any combination thereof.
- the combination of sensors may include, for example, an accelerometer and a gyroscope. Other combinations of sensors are also possible.
- the RADAR unit 1013 can be regarded as an object detection system, which is used to detect characteristics of an object using radio waves, such as the distance, height, direction, or speed of the object.
- the RADAR unit 1013 can be configured to transmit radio waves or microwave pulses, which can bounce off any object in the wave's path.
- the object may return part of the energy of the wave to the receiver (for example, a dish antenna or an antenna), and the receiver may also be part of the RADAR unit 1013.
- the RADAR unit 1013 may also be configured to perform digital signal processing on the received signal (bounced from the object), and may be configured to recognize the object.
- LIDAR Light Detection and Ranging
- the LIDAR unit 1014 includes a sensor that uses light to sense or detect objects in the environment where the vehicle is located.
- LIDAR is an optical remote sensing technology that can measure the distance to the target or other attributes of the target by illuminating the target with light.
- the LIDAR unit 1014 may include a laser source and/or laser scanner configured to emit laser pulses, and a detector for receiving reflections of the laser pulses.
- the LIDAR unit 1014 may include a laser rangefinder reflected by a rotating mirror, and scan laser light around the digitized scene in one or two dimensions, so as to collect distance measurement values at specified angular intervals.
- the LIDAR unit 1014 may include components such as light (eg, laser) sources, scanners and optical systems, light detectors and receiver electronics, and location and navigation systems.
- the LIDAR unit 1014 can be configured to image objects using ultraviolet light (UV), visible light, or infrared light, and can be used for a wide range of targets, including non-metallic objects.
- UV ultraviolet light
- narrow laser beams can be used to map physical features of objects with high resolution.
- wavelengths in the range from about 10 microns (infrared) to about 250 nanometers (UV) may be used.
- Light is usually reflected via backscatter.
- Different types of scattering are used for different LIDAR applications, such as Rayleigh scattering, Mie scattering and Raman scattering, and fluorescence.
- LIDAR may therefore be referred to as Rayleigh laser RADAR, Mie LIDAR, Raman LIDAR, and sodium/iron/potassium fluorescent LIDAR.
- the appropriate combination of wavelengths may allow remote mapping of objects, for example, by looking for wavelength-dependent changes in the intensity of the reflected signal.
- Three-dimensional (3D) imaging can be achieved using both scanning LIDAR systems and non-scanning LIDAR systems.
- 3D gated viewing laser radar (3D gated viewing laser radar)
- Imaging LIDAR can also use high-speed detector arrays that are usually constructed on a single chip using complementary metal oxide semiconductor (CMOS) and hybrid complementary metal oxide semiconductor/charge coupled device (CCD) manufacturing technologies And modulation sensitive detector array to perform.
- CMOS complementary metal oxide semiconductor
- CCD charge coupled device
- modulation sensitive detector array to perform.
- each pixel can be processed locally by demodulating or gating at high speed so that the array can be processed to represent an image from the camera.
- thousands of pixels can be acquired at the same time to create a 3D point cloud representing the object or scene detected by the LIDAR unit 1014.
- the point cloud may include a set of vertices in a 3D coordinate system. These vertices can be defined by X, Y, Z coordinates, and can represent the outer surface of the object.
- the LIDAR unit 1014 may be configured to create a point cloud by measuring a large number of points on the surface of an object, and may output the point cloud as a data file. As a result of the 3D scanning process of the object through the LIDAR unit 1014, the point cloud can be used to identify and visualize the object.
- the point cloud can be directly rendered to visualize the object.
- the point cloud can be converted into a polygonal or triangular mesh model through a process that can be called surface reconstruction.
- Example techniques for converting a point cloud into a 3D surface may include Delaunay triangulation, alpha shape, and rotating sphere. These techniques include constructing a network of triangles on the existing vertices of the point cloud.
- Other example techniques may include converting a point cloud into a volumetric distance field, and reconstructing such a defined implicit surface through a moving cube algorithm.
- the camera 1015 may be used for any camera (for example, a still camera, a video camera, etc.) that acquires an image of the environment in which the vehicle is located. To this end, the camera may be configured to detect visible light, or may be configured to detect light from other parts of the spectrum, such as infrared light or ultraviolet light. Other types of cameras are also possible.
- the camera 1015 may be a two-dimensional detector, or may have a three-dimensional spatial range.
- the camera 1015 may be, for example, a distance detector configured to generate a two-dimensional image indicating the distance from the camera 1015 to several points in the environment. To this end, the camera 1015 may use one or more distance detection techniques.
- the camera 1015 may be configured to use structured light technology, in which the vehicle 100 uses a predetermined light pattern, such as a grid or a checkerboard pattern, to illuminate objects in the environment, and the camera 1015 is used to detect the reflection of the predetermined light pattern from the object . Based on the distortion in the reflected light pattern, the in-vehicle device 100 may be configured to detect the distance of the point on the object.
- the predetermined light pattern may include infrared light or light of other wavelengths.
- the actuator 1016 may be configured to modify the position and/or orientation of the sensor, for example.
- the sensor system 101 may additionally or alternatively include components other than those shown.
- the UWB module 1017 can be used to send a ranging frame to the UWB module 2031 in the electronic key device 200 (see the structural diagram of the electronic key device shown in FIG. 2C for details), and then the UWB module 1017 receives the response frame sent by the UWB module 2031. Furthermore, the UWB module 1017 determines the distance between the vehicle and the electronic key device 200 according to the time stamp in the ranging frame and the time stamp in the response frame.
- the control system 102 may be configured to control the operation of the in-vehicle device 100 and its components.
- the control system 102 may include a braking unit 1023, a sensor fusion algorithm 1024, a computer vision system 1025, a navigation or pathing system 1026, and an obstacle avoidance system 1027.
- the control system 102 may also be configured to obtain the distance calculation result transmitted by the calculation device 105, and further, when the distance indicated by the distance calculation result is within a preset distance, control the door of the vehicle to open or start the engine of the vehicle.
- the braking unit 1023 may be any combination of mechanisms configured to decelerate the in-vehicle device 100.
- the braking unit 1023 may use friction to slow the wheels/tires 1014.
- the braking unit 1023 may be configured to be regenerative and convert the kinetic energy of the wheels/tires 1014 into electric current.
- the braking unit 1023 may also take other forms.
- the sensor fusion algorithm 1024 may include, for example, an algorithm executable by the computing device 105 (or a computer program product storing the algorithm).
- the sensor fusion algorithm 1024 can be configured to accept data from sensors as input.
- the data may include, for example, data representing information sensed at the sensors of the sensor system 101.
- the sensor fusion algorithm 1024 may include, for example, a Kalman filter, a Bayesian network, or another algorithm.
- the sensor fusion algorithm 1024 can also be configured to provide various evaluations based on data from the sensor system 101, including, for example, evaluation of individual objects and/or features in the environment in which the vehicle is located, evaluation of specific situations, and/or Based on the assessment of the possible impact of a specific situation. Other evaluations are also possible.
- the computer vision system 1025 may be any system configured to process and analyze the images captured by the camera 1015 in order to identify objects and/or features in the environment in which the vehicle is located, including, for example, lane information, traffic Signals and obstacles. To this end, the computer vision system 1025 may use an object recognition algorithm, a structure from motion (SFM) algorithm, video tracking, or other computer vision technologies. In some examples, the computer vision system 1025 may be additionally configured to map the environment, follow objects, estimate the speed of objects, and so on.
- SFM structure from motion
- the navigation and route control system 1026 may be any system configured to determine the driving route of the vehicle.
- the navigation and route control system 1026 may additionally be configured to dynamically update the driving route while the vehicle is in operation.
- the navigation and route control system 1026 may be configured to combine data from the sensor fusion algorithm 1024, the GPS module 1011, and one or more predetermined maps to determine a driving route for the vehicle.
- the obstacle avoidance system 1027 may be any system that is configured to recognize, evaluate, and avoid or otherwise overcome obstacles in the environment in which the in-vehicle device 100 is located.
- the control system 102 may additionally or alternatively include components other than those shown.
- the peripheral device 103 may be configured to allow the in-vehicle device 100 to interact with external sensors, other vehicles, and/or users.
- the peripheral device 103 may include, for example, a wireless communication system 1031, a touch screen 1032, a microphone 1033, and/or a speaker 1034.
- the wireless communication system 1031 may be any system configured to be directly or wirelessly coupled to one or more other vehicles, sensors, or other entities via a communication network. To this end, the wireless communication system 1031 may include antennas and chipsets for communicating with other vehicles, sensors, or other entities directly or through an air interface.
- the chipset or the entire wireless communication system 1031 may be arranged to communicate according to one or more other types of wireless communication (eg, protocols), such as those described in Bluetooth, IEEE 802.11 (including any IEEE 802.11 revision) Communication protocols, cellular technologies (such as GSM, CDMA, universal mobile telecommunications system (UMTS), EV-DO, WiMAX or long term evolution (LTE)), Zigbee, dedicated short-range communications (dedicated short-range communications) range communications, DSRC) and radio frequency identification (RFID) communications, etc.
- the wireless communication system 1031 may also take other forms.
- the touch screen 1032 may be used by the user to input commands to the in-vehicle device 100.
- the touch screen 1032 may be configured to sense at least one of the position and movement of the user's finger via capacitance sensing, resistance sensing, or surface acoustic wave process, or the like.
- the touch screen 1032 may be capable of sensing finger movement in a direction parallel to or in the same plane as the touch screen surface, in a direction perpendicular to the touch screen surface, or in both directions, and may also be capable of sensing The level of pressure on the touch screen surface.
- the touch screen 1032 may be formed of one or more translucent or transparent insulating layers and one or more translucent or transparent conductive layers.
- the touch screen 1032 may also take other forms.
- the microphone 1033 may be configured to receive audio (eg, voice commands or other audio input) from the user of the in-vehicle device 100.
- the speaker 1034 may be configured to output audio to the user of the in-vehicle device 100.
- the peripheral device 103 may additionally or alternatively include components other than those shown.
- the power supply 104 may be configured to provide power to some or all components of the in-vehicle device 100.
- the power source 104 may include, for example, a rechargeable lithium ion battery or a lead-acid battery.
- one or more battery packs may be configured to provide power.
- Other power supply materials and configurations are also possible.
- the power source 104 and the energy source 1012 may be implemented together, as in some all-electric vehicles.
- the processor 1051 included in the computing device 105 may include one or more general-purpose processors and/or one or more special-purpose processors (for example, digital signal processors, etc.). As far as the processor 1051 includes more than one processor, such processors may work alone or in combination.
- the computing device 105 may implement the function of controlling the in-vehicle device 100 based on the input received through the user interface 106.
- the memory 1052 may further include one or more volatile storage components and/or one or more non-volatile storage components, such as optical, magnetic and/or organic storage devices, and the memory 1052 may be fully or partially connected to the processor 1051 integrated.
- the memory 1052 may contain instructions 1053 (for example, program logic) executable by the processor 1051 to run various vehicle functions, including the various embodiments of the method for detecting relay attacks based on communication channels described in this specification.
- the components of the in-vehicle device 100 may be configured to work in a manner of interconnecting with other components inside and/or outside of their respective systems. To this end, the components and systems of the in-vehicle device 100 may be communicatively linked together through a system bus, a network, and/or other connection mechanisms.
- FIG. 2C illustrates an exemplary functional structure diagram of an electronic key device 200 provided in the present application.
- the electronic key device 200 includes a processor 201, a secure element (SE) 202, a sensor 203, a peripheral device 204, and a power supply 205.
- SE secure element
- the structure illustrated in this application does not constitute a specific limitation on the electronic key device 200.
- the electronic key device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- the processor 201 may be configured to process operations of various data sent to the in-vehicle device 100. Based on this, the processor 201 is used to generate the channel identification of each communication channel, and is also used to transmit the generated channel identification to the SE.
- the processor 201 may include a controller 2011.
- the controller 2011 is configured to perform an operation of transmitting the channel identifier of the second communication channel on the first communication channel. In still other embodiments, the controller 2011 is further configured to perform the operation of transmitting the channel identifier of the first communication channel on the second communication channel.
- a service application (applet) (not shown in the figure) is set in the SE 202.
- the applet is used to generate service instructions and is also used to add the channel identifier of the communication channel to the service instructions.
- the sensor 203 may include a sensor for measuring the distance between the electronic key device 200 and the in-vehicle device 100.
- the sensor 203 includes, for example, UWB module(s) 2031.
- the UWB module 2031 can be used to receive the ranging frame from the UWB module 1017 in the in-vehicle device 100 (see the structural diagram of the electronic key device shown in Fig. 2B for details), and then the UWB module 2031 sends a response frame to the UWB module 1017 to make the calculation
- the device 105 calculates the distance between the in-vehicle device 100 and the electronic key device 200 based on the time stamp provided by the UWB module 1017.
- the peripheral device 204 may be configured to allow the electronic key device 200 to interact with external sensors or vehicles.
- the peripheral device 204 may include, for example, a wireless communication system 2041.
- the wireless communication system 2041 may include an antenna and a chipset for communicating with the vehicle-mounted device 100, sensors or other entities directly or through an air interface.
- the chipset or the entire wireless communication system 2041 may be arranged to communicate according to one or more other types of wireless communication (eg, protocols), such as those described in Bluetooth, IEEE 802.11 (including any IEEE 802.11 revision) Communication protocols, cellular technologies (such as GSM, CDMA, UMTS, EV-DO, WiMAX or LTE), Zigbee, DSRC and RFID communications, etc.
- the wireless communication system 2041 may also take other forms.
- the power supply 205 may be configured to provide power to some or all components of the electronic key device 200.
- the power source 205 may include, for example, a rechargeable lithium ion battery or a lead-acid battery.
- one or more battery packs may be configured to provide power.
- Other power supply materials and configurations are also possible.
- each functional module illustrated in FIG. 2C may be configured and used in an independent electronic key device.
- the functional modules shown in FIG. 2C can be coupled with corresponding functional modules in other electronic devices.
- the functional modules of the electronic device implement the following embodiments of the method for detecting relay attacks based on communication channels in this application, the An electronic device is used as the electronic key device 200.
- the method for detecting relay attacks based on the communication channel of the present application will be exemplarily described below.
- the first rule is preset in both the in-vehicle device and the electronic key device.
- the second rule is preset in both the in-vehicle device and the electronic key device.
- the first rule and the second rule are preset in both the in-vehicle device and the electronic key device.
- the service data channel identifier is used to identify the service data channel
- the ranging channel identifier is used to identify the ranging channel.
- the first rule is used to instruct the vehicle-mounted device and the electronic key device to determine the service data channel identifier.
- the first rule is used to instruct the vehicle-mounted device and the electronic key device to extract the service data channel information of the connected service data channel, and then use the extracted service data channel information to generate the service data channel identifier.
- the service data channel information is, for example, at least one of physical communication characteristics such as the transmission frequency band, time domain information, frequency domain information, multipath delay information, signal strength, and signal phase of the service data channel.
- the first rule is used to instruct the vehicle-mounted device and the electronic key device to use any channel information of the connected service data channel as the service data channel identifier.
- the first rule indicates that the vehicle-mounted device and the electronic key device will both use the multipath delay information of the service data channel as the service data channel identifier.
- the service data channel identifier is determined by the physical characteristics of the service data channel. Generally, these physical characteristics only have a matching relationship between devices that establish two physical service data channels, and different physical channels have different physical characteristics.
- the second rule is used to instruct vehicle-mounted equipment and electronic key equipment to determine the identification of the ranging channel.
- the second rule may indicate that the universally unique identifier (UUID) of the ranging channel, the address of the ranging channel, the session identifier of the ranging channel, the preamble sequence and the ranging frame of the ranging channel session One of the returned timestamps, designated as the ranging channel identifier.
- UUID universally unique identifier
- the information used as the identification of the ranging channel is referred to as designated information.
- the second rule indicates that both the vehicle-mounted device 100 and the electronic key device 200 use the UWB address as the ranging channel identifier.
- the second rule may indicate that the ranging channel identifier is generated according to the ciphertext or message authentication code generated by the session key of the ranging channel.
- the vehicle-mounted device 100 and the electronic key device 200 may both be based on the UWB session key.
- the ciphertext generated based on the preset algorithm is used as the ranging channel identifier; for another example, the vehicle-mounted device 100 and the electronic key device 200 may both generate the ranging channel identifier according to the message authentication code.
- FIG. 3A is an exemplary method flowchart of the method 100 for detecting a relay attack based on a communication channel.
- the method 100 for detecting a relay attack based on a communication channel includes the following steps:
- Step S101 The vehicle-mounted device receives a first identifier from the first device through the first communication channel.
- the first device is the device connected to the vehicle-mounted device.
- the first identifier is used to identify a communication channel of the same type as the second communication channel.
- the first communication channel and the second communication channel are independent of each other, and both the first communication channel and the second communication channel are used to connect the vehicle-mounted device and the first device.
- the first communication channel is a service data channel
- the second communication channel is a ranging channel
- the first identifier is a ranging channel identifier.
- the first communication channel is a Bluetooth channel
- the second communication channel is a UWB channel
- the first identifier is a UWB channel identifier.
- the first communication channel is a ranging channel
- the second communication channel is a service data channel
- the first identifier is a service data channel identifier.
- the first communication channel is a UWB channel
- the second communication channel is a Bluetooth channel
- the first identification is a Bluetooth channel identification.
- the first communication channel is a service data channel
- the first identifier is a ranging channel identifier
- the ranging channel identifier may be transmitted in the first communication channel in the form of session ciphertext.
- the ranging channel identifier can be added to the service data channel by an electronic key device, for example.
- the UWB channel identifier can be transmitted through the Bluetooth channel in the form of Bluetooth session ciphertext. For details, see the embodiment shown in Fig. 4B, which will not be described in detail here.
- the first communication channel is a ranging channel
- the first identifier is a service data channel identifier
- the service data channel identifier may be included in a ranging confirmation character (acknowledgement, ACK) frame transmitted by the ranging channel transmission.
- ACK ranging confirmation character
- the Bluetooth channel identifier can be carried in the ranging ACK frame and transmitted through the UWB channel. For details, it is described in the embodiment shown in Fig. 4A, which will not be described in detail here.
- Step S102 The vehicle-mounted device determines the channel identifier of the second communication channel.
- the in-vehicle device may determine the channel identification of the second communication channel according to the channel identification determination rule corresponding to the second communication channel.
- the type of the communication channel identified by the first identifier involved in step S101 is the same as the type of the second communication channel, and the rules for generating channel identifiers for the vehicle-mounted device and the electronic key device are the same, so the vehicle-mounted device can Determine whether there is a relay attack by detecting the relationship between the two identifiers.
- the first identifier is a UWB channel identifier, then the first identifier identifies the UWB channel to which the electronic key device is connected.
- the vehicle-mounted device can determine the identifier of the UWB channel to which the vehicle-mounted device is connected, and further, the vehicle-mounted device can determine whether the two UWB channel identifiers are the same to determine whether it is being attacked by a relay. If the two UWB channel identifiers are the same, the vehicle-mounted device can determine that it has not suffered a relay attack. If the two UWB channel identifiers are not the same, the vehicle-mounted device can determine that it has suffered a relay attack.
- the first identifier is, for example, a service data channel identifier
- the second communication channel is a service data channel.
- the in-vehicle device can extract at least one piece of channel information of the second communication channel according to the first rule, and then, according to the extracted At least one piece of information in the channel information generates a service data channel identifier of the second communication channel.
- the second communication channel is, for example, a Bluetooth channel.
- the vehicle-mounted device can extract the transmission frequency band and multipath delay information of the Bluetooth channel, and then generate a Bluetooth channel identifier according to the transmission frequency band and multipath delay information.
- the first identifier is, for example, a ranging channel identifier
- the second communication channel is a ranging channel.
- the vehicle-mounted device obtains the designated information in the channel information of the second communication channel according to the second rule as the second communication channel. Ranging channel identification.
- the second communication channel is, for example, a UWB channel, and the vehicle-mounted device can extract the UWB channel identifier of the preamble sequence of the UWB channel.
- the channel identifier of the second communication channel matches the first identifier, it means that the second communication channel is the communication channel between the vehicle-mounted device and the electronic key device, and the first device is the electronic key device, that is, the vehicle device and the electronic key There is no relay attack between devices. If the channel identification of the second communication channel does not match the first identification, it means that the second communication channel is not a communication channel between the vehicle-mounted device and the electronic key device, and the first device is the relay device, that is, between the vehicle-mounted device and the electronic key device. There is a relay attack between.
- the channel identifier and the first identifier of the second communication channel are service data channel identifiers
- the vehicle-mounted device may use at least one of calculating the similarity and calculating the gradient of the two to calculate the channel identifier and the first identifier of the second communication channel.
- a identified similarity parameter and then it is determined whether the similarity parameter is greater than a preset threshold.
- the similarity parameter indicates the similarity between the channel identifier of the second communication channel and the first identifier. The smaller the similarity parameter, the smaller the similarity between the channel identifier of the second communication channel and the first identifier, and the larger the similarity parameter.
- the channel identifier of the second communication channel is more similar to the first identifier.
- the vehicle-mounted device determines that the channel identifier of the second communication channel matches the first identifier.
- the similarity parameter between the channel identifier of the second communication channel and the first identifier is greater than the preset threshold, indicating that the channel identifier of the second communication channel is basically the same as the service data channel information corresponding to the first identifier, and further, the service data channel is explained No relay attack.
- the similarity parameter between the channel identifier of the second communication channel and the first identifier is greater than the preset threshold, it means that the channel identifier of the second communication channel is different from the service data channel information corresponding to the first identifier, which in turn proves that the vehicle equipment and electronics
- the business data channel between the key devices is subject to relay attacks.
- the vehicle-mounted device can detect whether it is relayed or not based on the similarity parameters of the two Bluetooth channel identifiers.
- the channel identifier of the second communication channel and the first identifier are ranging channel identifiers
- the vehicle-mounted device can detect whether the channel identifier of the second communication channel is the same as the first identifier.
- the first identifier is the same, and the in-vehicle device determines that the channel identifier of the second communication channel matches the first identifier.
- the channel identifier of the second communication channel is the same as the first identifier, indicating that the second communication channel and the ranging channel identified by the first identifier are the same ranging channel, and further indicating that the first device is an electronic key device, that is, a vehicle There is no relay attack between the device and the electronic key device.
- the channel identifier of the second communication channel is different from the first identifier, it indicates that the second communication channel and the ranging channel identified by the first identifier are not a ranging channel, and further indicates that the first device is a relay device.
- the vehicle-mounted device when the vehicle-mounted device establishes a UWB channel with the first device, the preamble sequence of the UWB channel can be determined, and the preamble sequence can uniquely identify the UWB channel . Based on this, the vehicle-mounted device can determine whether the received preamble sequence is the same as the extracted local preamble sequence to determine whether it is being attacked by a relay.
- Step S103 When the distance between the vehicle-mounted device and the first device is within a preset distance, and the channel identifier of the second communication channel matches the first identifier, the vehicle-mounted device opens the vehicle door in response to the pre-received service instruction.
- the sensor system 101 After the vehicle-mounted device establishes the ranging channel with the first device, the sensor system 101 always sends ranging frames to the first device at a certain frequency through the ranging channel, and then receives the distance measurement frame from the first device.
- the ranging ACK frame and further, the sensor system 101 transmits each set of ranging frame and ranging ACK frame to the computing device 105.
- the calculating means 105 calculates the current distance between the vehicle-mounted device and the first device according to each group of ranging frames and ranging ACK frames. Then, the computing device 105 sends the obtained current distance to the control system 102.
- the control system 102 determines whether the current distance is within the preset distance. If the current distance between the vehicle-mounted device and the first device is within the preset distance, and the channel identifier of the second communication channel matches the first identifier, the control system 102 The door that controls the vehicle opens.
- the ranging frame sent by the vehicle-mounted device may include the identification identifier generated by the vehicle-mounted device. Furthermore, after the vehicle-mounted device receives the ranging ACK frame, it may detect whether the ranging ACK frame contains the identification identifier, if The identification identifier is included in the ranging ACK frame, and the vehicle-mounted device calculates the distance between the vehicle-mounted device and the first device according to the corresponding ranging frame and the ranging ACK frame.
- the identification identifier is, for example, a nonce random number. The random number may be randomly generated by the vehicle-mounted device and carried in the first ranging frame.
- the business instruction is generated by the electronic key device and transmitted to the vehicle-mounted device at any time after the electronic key device establishes the business data channel.
- the vehicle-mounted device can receive the service instruction at any time before opening the door.
- the in-vehicle device may send a service request to the first device after detecting that the distance between the in-vehicle device and the first device is within a preset distance, and further, the in-vehicle device receives the service instruction from the first device. In other embodiments, after the in-vehicle device is connected to the service data channel, it can receive service instructions through the service data channel.
- the channel identification rules of the maintenance service data channel or the ranging channel in the vehicle equipment and the electronic key device are determined. Then, the vehicle equipment can determine the rules according to the corresponding channel identification and determine the rules of the channel to which the vehicle equipment is connected. The information determines the channel identification. Furthermore, after receiving the identification of the same type of communication channel, the vehicle-mounted device can determine whether the vehicle-mounted device and the electronic key device are connected by comparing the calculated channel identification and the received channel identification. Relay attacks, and in the absence of relay attacks, respond to business instructions to open the door, thereby improving the security of the PEPS system.
- the vehicle-mounted device may receive a service instruction through the service data channel. After receiving the service instruction, the vehicle-mounted device and the first A device establishes a ranging channel, and sends a ranging frame to the first device through the ranging channel. Furthermore, the above method 100 is executed.
- the vehicle-mounted device can perform ranging on the first device when it is determined that there is a legal service instruction, thereby reducing resource consumption caused by ranging.
- FIG. 3B is an exemplary method flowchart of the method 200 for detecting a relay attack based on a communication channel.
- the method 200 for detecting a relay attack based on a communication channel (hereinafter referred to as the method 200) is an embodiment of the electronic key device 200, and the method 200 corresponds to the method 100.
- the method 200 includes the following steps:
- Step S201 The electronic key device establishes a first communication channel with the second device.
- the first communication channel is a communication channel between the electronic key device and the second device.
- the first communication channel may be a service data channel or a ranging channel.
- Step S202 The electronic key device generates a first identifier.
- the first identifier is used to identify a communication channel of the same type as the second communication channel.
- the second communication channel is the communication channel between the electronic key device and the second device.
- the second communication channel is independent of the first communication channel. If the first communication channel is a service data channel, the first identifier is a ranging channel identifier. If the first communication channel is a ranging channel, the first identifier is a service data channel identifier.
- the first communication channel is a service data channel
- the first identifier is a ranging channel identifier.
- the electronic key device can determine the ranging channel identifier according to the second rule.
- the first communication channel is, for example, a Bluetooth channel
- the second communication channel is a UWB channel
- the first identifier is a UWB channel identifier.
- the first communication channel is a ranging channel
- the first identifier is a service data channel identifier.
- the electronic key device can determine the service data channel identifier according to the first rule.
- the first communication channel is a UWB channel
- the second communication channel is a Bluetooth channel
- the first identification is a Bluetooth channel identification.
- the electronic key device when it generates the service data channel identifier, it may use the service session key as a parameter, so as to prevent the service data channel identifier from being counterfeited and tampered with.
- the operation process of the electronic key device generating the channel identification is similar to the operation process of the vehicle-mounted device generating the channel identification, and will not be detailed here in this application.
- Step S203 The electronic key device sends the first identifier to the second device through the first communication channel.
- the first identifier is a ranging channel identifier
- the electronic key device may encrypt the ranging channel identifier to obtain the session ciphertext, and then transmit the session ciphertext on the service data channel.
- the electronic key device may encrypt the UWB channel identifier to generate a Bluetooth session ciphertext, and then transmit the Bluetooth session ciphertext to the second device through the Bluetooth channel.
- the first identifier is a service data channel identifier. The electronic key device may add the service data channel identifier to the ranging ACK frame, and transmit the ranging ACK frame through the first communication channel.
- the first identifier is, for example, a UWB channel identifier
- the electronic key device can continuously receive the ranging frame sent by the second device, and then send the ranging ACK frame of the ranging frame to the second device.
- each ranging ACK frame may include a UWB channel identifier, or a designated ranging ACK frame may include a UWB channel identifier.
- each ranging ACK frame may also include an identification identifier, which is generated by the vehicle-mounted device and included in the ranging frame.
- the electronic key device sends the channel identifier corresponding to the second communication channel through the first communication channel, thereby establishing the corresponding relationship between the first communication channel and the second communication channel, thereby facilitating the determination of the first communication channel and the second communication channel.
- the communication channel is connected to the same device.
- the electronic key device also sends business instructions to the second device through the business data channel.
- the electronic key device may receive the service request from the second device, and then send the service instruction to the second device through the service data channel.
- the first communication channel is a business data channel.
- the electronic key device can immediately send a business instruction to the second device to trigger the vehicle-mounted device to detect the business instruction, and then communicate with the second device. Establish a ranging channel. For example, the electronic key device wakes up the UWB module 1017 after sending a service instruction to the second device. If the second device is a vehicle-mounted device, after the vehicle-mounted device wakes up the UWB module 1017, the electronic key device establishes a UWB channel with the second device.
- the vehicle-mounted device After receiving the channel identification and business instruction, the vehicle-mounted device performs a series of verifications based on the channel identification. It is determined that there is no relay attack between the vehicle-mounted device and the electronic key device, and the vehicle-mounted device and the electronic key After the distance of the device is within the preset distance, the door is opened in response to the business instruction. Refer to the description of method 100 for details of the operations performed by the vehicle-mounted device, which will not be detailed here in this application.
- the electronic key device uses the first communication channel to transmit the channel identifier of the second communication channel, and can establish the corresponding relationship between the first communication channel and the second communication channel, so as to provide the corresponding relationship between the channels to the vehicle-mounted device.
- the in-vehicle device verifies whether the peer device is an electronic key device according to the communication channel, thereby enabling the in-vehicle device to respond to business instructions to open the door of the vehicle in the absence of a relay attack, thereby improving the security of the PEPS system.
- FIG. 3C is an exemplary method flowchart of a method 300 for detecting a relay attack based on a communication channel.
- the implementation scenario of the method 300 for detecting a relay attack based on a communication channel (hereinafter referred to as the method 300) is, for example, the first rule and the second rule are preset in the vehicle-mounted device 100 and the electronic key device 200.
- the method 300 includes the following steps:
- Step S301 The vehicle-mounted device receives a service instruction from the first device.
- the service instruction includes a first service data channel identifier and a first ranging channel identifier
- the first service data channel identifier is used to identify the service data channel to which the electronic key device is connected
- the first ranging channel identifier is used for Identify the ranging channel to which the electronic key device is connected.
- the business instruction contains the digital key generation in the electronic key device, which is used for the vehicle-mounted device to verify that the electronic key device holds a legal digital key.
- the first service data channel identifier is, for example, the first Bluetooth channel identifier
- the first ranging channel identifier is, for example, the first UWB channel
- the first Bluetooth channel identifier is used to identify the location of the electronic key device.
- the connected Bluetooth channel, the first UWB channel is used to identify the UWB channel to which the electronic key device is connected.
- Step S302 The vehicle-mounted device determines the second service data channel identifier and the second ranging channel identifier.
- the second service data channel identifier is used to identify the service data channel to which the vehicle-mounted device is connected
- the second ranging channel identifier is used to identify the ranging channel to which the vehicle-mounted device is connected.
- the operation of the in-vehicle device to determine the second service data channel identifier and the second ranging channel identifier is described in detail in the relevant description in the method 100, which will not be described in detail here in this application.
- the second service data channel identifier is, for example, the second Bluetooth channel identifier
- the second ranging channel identifier is, for example, the second UWB channel
- the second Bluetooth channel identifier is used to identify the vehicle device connected to
- the second UWB channel is used to identify the UWB channel to which the vehicle-mounted device is connected.
- the first device is an electronic key device; otherwise, it means that the first device is an electronic key device.
- the device is a relay device.
- Step S303 When the distance between the vehicle-mounted device and the first device is within the preset distance, the first service data channel identifier matches the second service data channel identifier, and the first ranging channel identifier and the second ranging channel identifier are the same. At the same time, the in-vehicle device responds to business instructions to open the door.
- the vehicle-mounted device sends a service request to the first device. After the service instruction of the first device is verified, the vehicle-mounted device continues to proceed. The distance judgment, when the distance between the vehicle-mounted device and the first device is within the preset distance, execute S105. This application will not be repeated here.
- FIG. 3D is an exemplary method flowchart of a method 400 for detecting a relay attack based on a communication channel.
- the method 400 for detecting a relay attack based on a communication channel (hereinafter referred to as the method 400) is an embodiment of the electronic key device 200, and the method 400 corresponds to the method 300.
- the method 400 includes the following steps:
- Step S401 The electronic key device establishes a business data channel and a ranging channel with the second device.
- Step S402 The electronic key device determines the first service data channel identifier and the first ranging channel identifier.
- Step S403 the electronic key device generates a business instruction.
- the processor 201 may determine the first service data channel identifier and the first ranging channel identifier, and then the processor 201 may combine the first service data channel identifier with the first ranging channel
- the identifier is transmitted to the applet in SE 2011, and the applet generates a service instruction including the first service data channel identifier and the first ranging channel identifier.
- Step S404 The electronic key device sends a business instruction to the second device through the business data channel.
- the controller 2012 may perform an operation of transmitting a service instruction on a service data channel.
- the electronic key device may execute step S401 after receiving the service request. This application will not be repeated here.
- the in-vehicle device executes the operations described in the method 300, which will not be detailed here in this application.
- the channel identification determination rules are preset in the vehicle-mounted equipment and electronic key equipment provided in this application. Furthermore, in the communication process, the electronic key device uses the channel identification determination rules to generate the channel identification and send it to the pair of electronic key equipment. ⁇ End equipment.
- the channel identifier is the identifier of the communication channel to which the electronic key device is currently connected.
- the vehicle-mounted device receives the channel identifier from the peer device of the vehicle-mounted device, it generates the channel identifier of the communication channel received by the vehicle-mounted device according to the channel identification determination rule, and further, the vehicle-mounted device communicates with the vehicle-mounted device by detecting the received channel identifier. Whether the generated channel identifiers are the same is used to determine whether there is a relay attack between the vehicle-mounted device and the electronic key device, and further, whether to open the vehicle door.
- the vehicle-mounted device is, for example, the vehicle-mounted device 100 described in FIG. 2B
- the electronic key device may be the electronic key device 200 described in FIG. 2C.
- the first rule and the second rule are set in both the in-vehicle device 100 and the electronic key device 200.
- the service data channel is, for example, a Bluetooth channel
- the ranging channel is, for example, a UWB channel.
- the initial states of the vehicle device 100 and the electronic key device 200 are as follows: the Bluetooth module of the vehicle device 100 is paired with the Bluetooth module of the electronic key device 200 in advance, and then, before the vehicle device 100 and the electronic key device 200 establish a Bluetooth channel, UWB Both the module 1017 and the UWB module 2031 are in sleep mode, that is, the UWB module 1017 and the UWB module 2031 have not established a UWB channel and do not perform UWB data interaction. After the in-vehicle device 100 and the electronic key device 200 establish a Bluetooth channel, the UWB module 1017 and the UWB module 2031 are awakened, the UWB channel is established, and distance measurement is performed through UWB data interaction.
- the following takes an implementation scenario where the vehicle-mounted device and the electronic key device are not attacked by relay as an example to introduce the communication process between the vehicle-mounted device 100 and the electronic key device 200.
- FIG. 4A illustrates a signaling interaction diagram of a method 500 for detecting a relay attack based on a communication channel.
- the method 500 for detecting a relay attack based on a communication channel includes the following steps:
- Step S501 the in-vehicle device 100 and the electronic key device 200 establish a Bluetooth channel A.
- the Bluetooth module of the vehicle-mounted device 100 establishes a connection with the Bluetooth module of the electronic key device 200 to form a Bluetooth channel A.
- the certain distance is greater than the preset distance described in this application.
- the processor 201 in the electronic key device 200 may wake up the UWB module 2031 to receive the ranging frame.
- the electronic key device 200 also extracts the transmission frequency band, multipath delay information, and signal strength information of Bluetooth channel A according to the first rule, and then generates a Bluetooth channel according to the transmission frequency band, multipath delay information and signal strength information of Bluetooth channel A.
- the electronic key device 200 may also use the Bluetooth session key to participate in the calculation to obtain BT01, so that BT01 cannot be forged or tampered with.
- step S502 the electronic key device 200 generates a business instruction.
- SE 202 generates business instructions.
- Step S503 The electronic key device 200 sends a service instruction to the vehicle-mounted device 100 through the Bluetooth channel A.
- step S504 the in-vehicle device 100 wakes up the UWB module 1017, and establishes a UWB channel A with the electronic key device 200.
- the in-vehicle device 100 can use the service key to authenticate the service instruction.
- the electronic key device 200 is considered to be a legal electronic key device.
- the in-vehicle device 100 wakes up the UWB module 1017 to make the UWB module 1017 Connect with UWB module 2031 to obtain UWB channel A.
- Step S505 The in-vehicle device 100 sends a ranging frame to the electronic key device 200 through the UWB channel A.
- the UWB module 1017 sends a ranging frame to the UWB module 2031.
- Step S506 the electronic key device 200 sends a ranging ACK frame to the in-vehicle device 100.
- the UWB module 2031 sends a ranging ACK frame to the UWB module 1017.
- the ranging ACK frame is a data frame in response to the ranging frame, and the ranging ACK frame contains the Bluetooth channel identifier BT01.
- the processor 201 may carry the Bluetooth channel identifier BT01 in the ranging ACK frame, and then the controller 2011 calls the UWB channel A to transmit the ranging ACK frame.
- the UWB module 1017 continues to send ranging frames to the UWB module 2031 according to the preset frequency. Accordingly, the UWB module 2031 also continuously returns ranging ACK frames to the UWB module 1017 according to the preset frequency . Furthermore, the in-vehicle device measures the distance between the in-vehicle device 100 and the electronic key device 200 according to each group of ranging frames and ranging ACK frames.
- step S507 the in-vehicle device 100 detects whether it is a relay attack based on the Bluetooth channel identifier BT01.
- the vehicle-mounted device 100 After the vehicle-mounted device 100 receives the ranging ACK frame, it can extract the transmission frequency band, multipath delay information, and signal strength information of the Bluetooth channel connected to the vehicle-mounted device 100 according to the first rule, and then, according to the extracted transmission frequency band, multipath The delay information and signal strength information generate the Bluetooth channel identification. Exemplarily, the vehicle-mounted device 100 may also use the Bluetooth session key to calculate the Bluetooth channel identity.
- the Bluetooth channel to which the vehicle-mounted device 100 is connected is the Bluetooth channel A, so the Bluetooth channel identifier obtained by the vehicle-mounted device 100 is BT01. Furthermore, the in-vehicle device 100 can determine that there is no relay attack between the in-vehicle device 100 and the electronic key device 200.
- Step S508 When the distance between the vehicle-mounted device 100 and the electronic key device 200 is within the preset distance, the vehicle-mounted device 100 opens the vehicle door in response to the service instruction.
- the preset distance is, for example, 2 meters.
- the distance between the in-vehicle device 100 and the electronic key device 200 is less than or equal to 2 meters, the in-vehicle device 100 opens the door in response to the service instruction.
- the in-vehicle device 100 performs a ranging operation when it is determined that the electronic key device 200 has a legal business instruction, thereby saving resources.
- the electronic key device 200 binds the Bluetooth channel and the UWB channel by using the UWB channel to transmit the Bluetooth channel identification.
- the in-vehicle device 100 detects whether it is relayed through the Bluetooth channel identification.
- FIG. 4B illustrates a signaling interaction diagram of a method 600 for detecting a relay attack based on a communication channel.
- the method 600 for detecting a relay attack based on a communication channel includes the following steps:
- step S601 the vehicle-mounted device 100 and the electronic key device 200 establish Bluetooth channel A and UWB channel A, and determine the UWB channel identifier UWB01.
- the electronic key device 200 determines the UWB channel identifier UWB01 according to the second rule.
- the second rule indicates, for example, to use the preamble sequence of UWB channel A as the UWB channel identifier UWB01.
- the in-vehicle device 100 has been measuring the distance between the in-vehicle device 100 and the electronic key device 200. The operation process of the distance measurement of the vehicle-mounted device 100 will not be detailed here in this application.
- the electronic key device 200 can send service instructions to the in-vehicle device 100 through the Bluetooth channel A at any time.
- step S602 the electronic key device 200 sends the UWB channel identifier UWB01 to the in-vehicle device 100 through the Bluetooth channel A.
- the processor 201 may encrypt UWB01 to obtain the ciphertext of the Bluetooth session, and then the processor 201 calls the Bluetooth channel A to transmit the ciphertext of the Bluetooth session.
- step S603 the in-vehicle device 100 detects whether it is a relay attack according to the UWB channel identifier UWB01.
- the processor 1051 obtains the preamble sequence of the UWB channel connected to the local end (the vehicle-mounted device 100 end) as the UWB channel identifier of the local end according to the second rule, and then the processor 1051 can determine the local end Whether the UWB channel identifier is UWB01. It should be understood that the local UWB channel identifier obtained by the processor 1051 in this embodiment is UWB01, and further, the vehicle-mounted device 100 can determine that there is no relay attack between the vehicle-mounted device 100 and the electronic key device 200.
- Step S604 When the distance between the vehicle-mounted device 100 and the electronic key device 200 is within a preset distance, the vehicle-mounted device 100 opens the vehicle door in response to the service instruction.
- step S604 The specific execution process of step S604 is similar to step S508 of method 500, and the detailed process can be referred to the description of step S508, which will not be repeated here.
- the electronic key device 200 binds the Bluetooth channel and the UWB channel by using the Bluetooth channel to transmit the UWB channel identifier.
- the in-vehicle device 100 detects whether it is relayed through the UWB channel identification.
- FIG. 4C illustrates a signaling interaction diagram of a method 700 for detecting a relay attack based on a communication channel.
- the method 700 for detecting a relay attack based on a communication channel includes the following steps:
- step S701 the in-vehicle device 100 and the electronic key device 200 establish Bluetooth channel A and UWB channel A, and determine the Bluetooth channel identifier BT01 and the UWB channel identifier UWB01.
- step S702 the electronic key device 200 generates a business instruction.
- the service instruction includes the Bluetooth channel identification BT01 and the UWB channel identification UWB01.
- the processor 201 may determine BT01 and UWB01, and then, the processor 201 transmits BT01 and UWB01 to the applet in SE 2011, and the applet generates a service instruction including BT01 and UWB01.
- the electronic key device 200 may receive the service request sent by the vehicle-mounted device 100, and then the electronic key device 200 executes step S702.
- step S703 the electronic key device 200 sends a service instruction to the vehicle-mounted device 100 through the Bluetooth channel A.
- step S704 the vehicle-mounted device 100 verifies the Bluetooth channel connected to the vehicle-mounted device 100 according to BT01, and verifies the UWB channel connected to the vehicle-mounted device 100 according to UWB01.
- Step S705 When the distance between the vehicle-mounted device 100 and the electronic key device 200 is within a preset distance, the vehicle-mounted device 100 opens the vehicle door in response to the service instruction.
- the vehicle-mounted device 100 continuously measures the distance between the vehicle-mounted device 100 and the electronic key device 200.
- the vehicle-mounted device 100 for distance measurement please refer to the description of the foregoing embodiment, which is not described in detail here in this application.
- the methods 500 to 700 are all embodiments in the implementation scenario where the vehicle-mounted device and the electronic key device are not attacked by relays.
- the following takes the implementation scenario of the vehicle-mounted device and the electronic key device being relayed as an example to carry out the technical solutions of the present application. description.
- FIG. 4D illustrates a signaling interaction diagram of a method 800 for detecting a relay attack based on a communication channel.
- the logical Bluetooth channel A between the vehicle device 100 and the electronic key device 200 in this embodiment is at least one relay device that forwards the Bluetooth interaction data packet of the vehicle device 100 and the electronic key 200 The way is relayed.
- Bluetooth channel A can be equivalent to two Bluetooth channels, Bluetooth channel A1 and Bluetooth channel A2.
- Bluetooth channel A1 is the Bluetooth channel between the electronic key device 200 and the relay device
- Bluetooth channel A2 is the relay device and Bluetooth channel between in-vehicle devices 100.
- the relay device when the relay device attacks the in-vehicle device 100 and the electronic key device 200, the relay device receives the ranging frame sent by the in-vehicle device 100 and returns a ranging ACK frame to the in-vehicle device 100. In some embodiments, the relay device may also send a ranging frame to the electronic key device 200. Based on this, a UWB channel B1 is established between the electronic key device 200 and the relay device, and a UWB channel B2 is established between the in-vehicle device 100 and the relay device.
- the method 800 for detecting relay attacks based on a communication channel includes the following steps:
- Step S801 the electronic key device 200 sends a first service instruction to the vehicle-mounted device 100 through the Bluetooth channel A.
- this step occurs after the in-vehicle device 100 and the electronic key device 200 are relayed to establish the Bluetooth channel A through the relay.
- the first service instruction contains the cipher text for the in-vehicle device 100 to open the door.
- the UWB module 1017 is awakened, and then the in-vehicle device 100 accesses the UWB channel.
- the in-vehicle device 100 is connected to UWB channel B, for example.
- the in-vehicle device 100 continuously sends ranging frames to the relay device and receives the ranging ACK frame sent by the relay device to measure the distance between the in-vehicle device 100 and the relay device.
- the relay device may also send a ranging frame to the electronic key device 200, and correspondingly, the electronic key device 200 sends a ranging ACK frame to the relay device.
- the operation process of the distance measurement of the vehicle-mounted device 100 will not be detailed here in this application.
- the vehicle-mounted device 100 executes step S802.
- Step S802 The in-vehicle device 100 sends a service request to the relay device through the Bluetooth channel A2.
- Step S803 The relay device sends a service request to the electronic key device 200 through the Bluetooth channel A1.
- step S804 the electronic key device 200 determines the channel identifier BT02 corresponding to the Bluetooth channel A1 and the channel identifier UWB02 of the UWB channel B1.
- the electronic key device 200 determines BT02 according to the first rule, and determines UWB02 according to the second rule.
- UWB02 is, for example, the preamble sequence of UWB channel B1.
- step S805 the electronic key device 200 generates a second service instruction.
- the second service instruction not only includes the ciphertext calculated by the key to open the car door, but also includes BT02 and UWB02.
- Step S806 The electronic key device 200 sends a second service instruction to the relay device through the Bluetooth channel A1.
- Step S807 The relay device sends the second service instruction to the vehicle-mounted device 100 through the Bluetooth channel A2.
- Step S808 the vehicle-mounted device 100 determines the Bluetooth channel identifier BT03 and the UWB channel identifier UWB03.
- BT03 indicates Bluetooth channel A2
- UWB03 indicates UWB channel B2.
- the in-vehicle device 100 determines BT03 according to the first rule, and determines UWB03 according to the second rule.
- UWB03 is, for example, the preamble sequence of UWB channel B2.
- step S809 the in-vehicle device 100 determines that BT03 and BT02 do not match, and UWB02 is different from UWB03.
- the channel information of the Bluetooth channel A2 is different from the channel information of the Bluetooth channel A1. Therefore, the Bluetooth channel identification generated using the same type of channel information does not match, that is, the channel identification of the Bluetooth channel A1 is BT02, and the channel identification of the Bluetooth channel A2
- the channel identifier is BT03, and the similarity parameter of BT02 and BT03 is less than the preset threshold.
- BT03 is different from BT02, indicating that Bluetooth channel A has been attacked by a relay.
- UWB02 is different from UWB01, which means that the UWB channel connected to the vehicle-mounted device 100 and the UWB channel connected to the electronic key device 200 are not the same UWB channel, which in turn indicates that there is a relay attack.
- step S810 the in-vehicle device 100 outputs alarm information.
- the relay scenario illustrated in FIG. 4E is only a schematic description, and does not constitute a limitation on the relay scenario involved in this application.
- there may be multiple relay devices between the vehicle-mounted device 100 and the electronic key device 200 and the vehicle-mounted device 100 and the electronic key device 200 may be connected to different relay devices respectively, and the relay devices may also Communication is performed to transmit the data generated by the electronic key device 200 to the in-vehicle device 100.
- the present application may also use the method 500 or the method 600 illustrated in the method for detecting relay attacks based on the communication channel to perform communication. Specifically, this application will not be described in detail here.
- the method 500 to the method 800 are described schematically, and do not limit the method of detecting relay attacks based on the communication channel involved in the present application.
- other operation steps may also be included.
- the operation steps of the above-mentioned methods can be exchanged. This application will not be detailed here.
- the channel identification determination rules are preset in the vehicle equipment and electronic key equipment provided in this application. Furthermore, in the communication process, the electronic key device uses the channel identification determination rules to generate the channel identification, and Send to the peer device of the electronic key device.
- the channel identifier is the identifier of the communication channel to which the electronic key device is currently connected.
- the vehicle-mounted device receives the channel identifier from the peer device of the vehicle-mounted device, it generates the channel identifier of the communication channel received by the vehicle-mounted device according to the channel identification determination rule, and further, the vehicle-mounted device communicates with the vehicle-mounted device by detecting the received channel identifier. Whether the generated channel identifiers are the same is used to determine whether there is a relay attack between the vehicle-mounted device and the electronic key device, and further, whether to open the vehicle door.
- the solutions of the method for detecting relay attacks based on the communication channel provided by the embodiments of the present application are introduced from the perspective of each device itself and the interaction between each device.
- the above-mentioned in-vehicle equipment, electronic key equipment, etc. in order to realize the above-mentioned functions, include at least one of the hardware structure and the software module corresponding to each function.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed by hardware or computer software-driven hardware depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
- the vehicle-mounted device may include a processing module and a transceiver module.
- the transceiving module can be used to perform the transceiving of information between the vehicle-mounted device and the electronic key device in method 100, method 300, method 500 to method 800.
- the processing module may be used to perform operations of the vehicle-mounted device in addition to information transceiving in method 100, method 300, method 500 to method 800.
- the vehicle-mounted device 50 includes a processor 501 and a transceiver 502.
- the transceiver 502 can perform the sending and receiving of information between the vehicle-mounted device and the electronic key device in the method 100 to the method 800.
- the processor 501 may perform operations of the vehicle-mounted device in methods 100 to 800 except for information transceiving.
- the transceiver 502 may be used to receive a first identifier from a first device through a first communication channel, the first identifier is used to identify a communication channel of the same type as the second communication channel, the first communication channel and The second communication channels are independent of each other and both are used to connect the vehicle-mounted device and the first device.
- the processor 501 may be used to determine the channel identifier of the second communication channel.
- the processor 501 may also be configured to open the door in response to the pre-received service instruction when the distance between the vehicle-mounted device and the first device is within a preset distance and the channel identifier of the second communication channel matches the first identifier.
- the transceiver 502 may be used to receive a service instruction from the first device.
- the service instruction includes a first service data channel identifier and a first ranging channel identifier, and the first service data channel identifier is used to identify The service data channel to which the electronic key device is connected, and the first ranging channel identifier is used to identify the ranging channel to which the electronic key device is connected.
- the processor 501 may be used to determine a second service data channel identifier and a second ranging channel identifier, the second service data channel identifier is used to identify the service data channel to which the vehicle device is connected, and the second ranging channel identifier is used to identify the vehicle The ranging channel to which the device is connected.
- the processor 501 may also be configured to match the first service data channel identifier and the second service data channel identifier when the distance between the vehicle-mounted device and the first device is within a preset distance, and the first ranging channel identifier and the second When the identification of the ranging channel is the same, open the door in response to the business instruction.
- Fig. 5A is a description of the vehicle-mounted device of the present application from the perspective of an independent functional entity.
- each independently running functional entity can be integrated into one hardware entity.
- the vehicle-mounted device 51 can include a processor 511, a transceiver 512, and a memory. 513.
- the memory 513 may be used to store programs/codes pre-installed on the vehicle-mounted device 51, and may also store codes for execution by the processor 511.
- the vehicle-mounted device 51 of the present application may correspond to the vehicle-mounted device in the embodiment corresponding to the method 100, the method 300, the method 500 to the method 800 of the present application, and the transceiver 512 is used to execute the embodiment corresponding to the transceiver 512.
- the processor 511 is configured to perform other processing of the in-vehicle device in addition to the information transceiving in the embodiments corresponding to the foregoing method 100, method 300, method 500 to method 800. I will not repeat them here.
- the electronic key device may include a processing module and a transceiver module.
- the transceiving module may be used to perform the transceiving of information between the electronic key device and the vehicle-mounted device in method 200, method 400 to method 800.
- the processing module may be used to perform operations of the electronic key device in addition to information transceiving in method 200, method 400 to method 800.
- the electronic key device 60 includes a processor 601 and a transceiver 602.
- the transceiver 602 can perform the sending and receiving of information executed by the electronic key device in the embodiments corresponding to the method 200, the method 400 to the method 800.
- the processor 601 may perform operations of the electronic key device in the corresponding embodiments of the method 200, the method 400 to the method 800, except for information transmission and reception.
- the processor 601 may be used to establish a first communication channel with a second device.
- the processor 601 can also be used to generate a first identification, the first identification is used to identify the same type of communication channel as the second communication channel, the second communication channel is used to connect the electronic key device and the second device, the first communication channel and The second communication channels are independent of each other.
- the transceiver 602 may be used to send the first identifier to the second device through the first communication channel.
- the processor 601 may be used to establish a service data channel and a ranging channel with the second device.
- the processor 601 may also be used to determine a first service data channel identifier and a first ranging channel identifier, the first service data channel identifier is used to identify the service data channel, and the first ranging channel identifier is used to identify the ranging channel .
- the processor 601 may also be used to generate service instructions, where the service instructions include a first service data channel identifier and a first ranging channel identifier.
- the transceiver 602 may be used to send service instructions to the second device through the service data channel.
- Fig. 6A is a description of the electronic key device of the present application from the perspective of an independent functional entity.
- each independently running functional entity can be integrated into one hardware entity.
- the electronic key device 61 can include a processor 611, a transceiver 612, and Storage 613.
- the memory 613 may be used to store programs/codes pre-installed in the electronic key device 61, and may also store codes for execution by the processor 611.
- the electronic key device 61 of the present application may correspond to the electronic key device in the embodiments corresponding to the method 200, the method 400 to the method 800 of the present application, and the transceiver 612 is used to execute the electronic key device in the embodiment corresponding to the transceiver 612.
- the processor 611 is configured to perform other processing of the electronic key device in the embodiments corresponding to the above method 200, method 400 to method 800 except for information transmission and reception. I will not repeat them here.
- this application also provides a computer storage medium, wherein the computer storage medium set in any device can store a program, and when the program is executed, it can be implemented including Figure 3A to Figure 4E provides part or all of the steps in the various embodiments of the method for detecting relay attacks based on the communication channel.
- the storage medium in any device can be a magnetic disk, an optical disc, a read-only memory (read-only memory, ROM), or a random access memory (random access memory, RAM), etc.
- the transceiver may be a wired transceiver, a wireless transceiver or a combination thereof.
- the wired transceiver may be an Ethernet interface, for example.
- the Ethernet interface can be an optical interface, an electrical interface or a combination thereof.
- the wireless transceiver may be, for example, a wireless local area network transceiver, a cellular network transceiver or a combination thereof.
- the processor may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP.
- the processor may further include a hardware chip.
- the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
- ASIC application-specific integrated circuit
- PLD programmable logic device
- the aforementioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (generic array logic, GAL), or any combination thereof.
- the memory may include volatile memory, such as random-access memory (RAM); the memory may also include non-volatile memory, such as read-only memory (read-only memory). memory, ROM), flash memory (flash memory), hard disk drive (HDD) or solid-state drive (SSD); the memory may also include a combination of the above types of memories.
- FIG. 5B and FIG. 6B may also include a bus interface.
- the bus interface may include any number of interconnected buses and bridges. Specifically, one or more processors represented by a processor and various circuits of a memory represented by a memory are linked together.
- the bus interface can also link various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, will not be further described herein.
- the bus interface provides the interface.
- the transceiver provides a unit for communicating with various other devices on the transmission medium.
- the processor is responsible for managing the bus architecture and general processing, and the memory can store messages used by the processor when performing operations.
- the various illustrative logic units and circuits described in the embodiments of this application can be implemented by general-purpose processors, digital signal processors, application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, Discrete gates or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions.
- the general-purpose processor may be a microprocessor, and optionally, the general-purpose processor may also be any traditional processor, controller, microcontroller, or state machine.
- the processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration achieve.
- the steps of the method or algorithm described in the embodiments of the present application can be directly embedded in hardware, a software unit executed by a processor, or a combination of the two.
- the software unit can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM or any other storage medium in the field.
- the storage medium may be connected to the processor, so that the processor can read information from the storage medium, and can store and write information to the storage medium.
- the storage medium may also be integrated into the processor.
- the processor and the storage medium may be set in the ASIC, and the ASIC may be set in the UE.
- the processor and the storage medium may also be provided in different components in the UE.
- the size of the sequence number of each process does not mean the order of execution.
- the execution order of each process should be determined by its function and internal logic, rather than the implementation process of the embodiment. Constitute any limitation.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or message.
- the center transmits to another website, computer, server, or message center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a message storage device such as a server or a message center integrated with one or more available media.
- the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- Lock And Its Accessories (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种基于通信通道检测中继攻击的方法及设备,其中,车载设备与第一设备通过第一通信通道和第二通信通道连接,第一通信通道和第二通信通道相互独立。车载设备通过第一通信通道从第一设备接收第一标识,第一标识所标识的通信通道与第二通信通道的类型相同。然后,车载设备确定第二通信通道的通道标识。由于第一标识所标识的通信通道与第二通信通道的类型相同,所以,当第二通信通道的通道标识与第一标识匹配,说明第二通信通道与第一标识所标识的通信通道是同一条通信通道,进而说明不存在中继攻击。基于此,车载设备与第一设备的距离在预设距离之内时,车载设备可以响应业务指令打开车门。
Description
本申请涉及通信技术领域,尤其涉及一种基于通信通道检测中继攻击的方法及设备。
被动无钥匙进入与启动(passive entry passive start,PEPS)系统是目前应用在汽车上的常用系统。PEPS系统包括电子钥匙设备和车载设备,其中,电子钥匙设备可以被用户携带,车载设备可以被内置在汽车中。在实际应用中,车载设备向电子钥匙设备发送业务请求,电子钥匙设备响应该业务请求生成业务指令,该业务指令中携带密钥生成的鉴权数据。车载设备从电子钥匙设备接收到该业务指令以及验证密钥通过,并确定该电子钥匙设备距离该车载设备的距离在预设距离内之后,该车载设备根据密钥控制汽车的门锁打开。
基于PEPS系统的工作原理,若在车载设备和电子钥匙设备之间设置中继设备,该中继设备能够将车载设备发送的业务请求指令转发到电子钥匙设备,然后,将电子钥匙设备发送的业务指令转发到车载设备。这样能够在车载设备和电子钥匙设备之间的距离大于预设距离的场景下,使得车载设备被触发打开汽车的门锁。可见,现有PEPS系统的安全性较差。
发明内容
本申请提供了一种基于通信通道检测中继攻击的方法及设备,以解决现有PEPS系统安全性差的问题。
第一方面,本申请提供了一种基于通信通道检测中继攻击的方法,所述方法应用于车载设备端。其中,车载设备与第一设备通过第一通信通道和第二通信通道连接,第一通信通道和第二通信通道相互独立。本实施例中,车载设备中维护第二通信通道的通道标识确定规则,车载设备可以通过第一通信通道从第一设备接收第一标识,该第一标识用于标识与第二通信通道类型相同的通信通道。然后,车载设备可以确定第二通信通道的通道标识,进而,检测第二通信通道的通道标识与第一标识是否匹配。当车载设备与第一设备的距离在预设距离之内,且第二通信通道的通道标识与第一标识匹配时,车载设备响应预先接收的业务指令打开车门。其中,车载设备预先接收的业务指令的实施例详见下文描述,此处不再详述。
其中,该第一标识根据通道标识确定规则生成,且第一标识用于标识与第二通信通道类型相同的通信通道。进而,车载设备可以通过比对所计算的通道标识和所接收的通道标识是否相同,确定车载设备和电子钥匙设备之间是否被中继攻击。可见,采用本实现方式,该车载设备可以根据通道标识确定车载设备和电子钥匙设备之间是否被中继攻击,并在不存在中继攻击的场景下,响应业务指令打开车门,从而能够提高PEPS系统的安全性。
一种可能的实现方式中,第一通信通道可以是业务数据通道,也可以是测距通道,其中,业务数据通道用于传输业务数据,测距通道用于传输测距数据,业务数据通道例如是蓝牙通道,测距通道例如是UWB通道。基于此,当第一通信通道是业务数据通道时,车载设备可以通过该业务数据通道从第一设备接收会话密文,该会话密文中包含测距通道标识,测距通道标识用于标识所述测距通道,测距通道标识例如是UWB通道标识。相应的,当第一通信通道是测距通道时,车载设备可以通过该测距通道从第一设备接收测距确认字符ACK帧,测距ACK帧中包含业务数据通道标识,业务数据通道标识用于标识业务数据通道,业务数据通道标识例如是蓝牙通道标识。采用本实现方式,建立两条相互独立的通信通道对应 关系的方式较为灵活,从而能够为车载设备检测是否存在中继攻击提供信息依据。
一种可能的实现方式中,会话密文是将测距通道标识加密得到的。例如,测距通道标识是UWB通道标识,业务数据通道例如是蓝牙通道,那么,UWB通道标识可以以蓝牙会话密文的形式传输。采用本实现方式,能够防止该测距通道标识被仿冒和篡改,从而提高检测的准确性,进而,能够提高PEPS系统的安全性。
一种可能的实现方式中,结合上述可能的实现方式,当第二通信通道是业务数据通道时,由于业务数据通道包含该业务数据通道特有的物理通道信息,例如,业务数据通道的传输频段、时域信息、频域信息、多径延迟信息、信号强度、信号相位等,所以,车载设备可以根据第一规则提取该第二通信通道的一项或多项物理特征信息作为该第二通信通道的通道信息,然后,可以根据该第二通信通道的通道信息生成第二通信通道的业务数据通道标识,该业务数据通道标识能够唯一标识第二通信通道。相应的,当第二通信通道是测距通道时,测距通道可以包括测距通道的通用唯一识别码UUID、测距通道地址、测距通道的会话标识、测距通道会话的前导序列和测距帧返回的时间戳等物理特征信息,基于此,车载设备可以根据第二规则获取第二通信通道的通道信息中的指定信息作为第二通信通道的测距通道标识。其中,第一规则用于指示车载设备确定业务数据通道标识,第二规则用于指示车载设备确定测距通道标识,指定信息是指被指定作为测距通道标识的物理特征信息。
其中,业务数据通道的通道信息是该业务通道的物理特征信息,且不同物理通道具备不同的物理特征,所以,每条业务数据通道对应唯一的业务数据通道标识。相应的,作为测距通道标识的指定信息,是测距通道的唯一信息,所以,每条测距通道也对应唯一的测距通道标识。可见,每条通信通道对应唯一的通道标识,基于此,采用本实现方式,车载设备能够根据通道标识检测是否被中继攻击。
一种可能的实现方式中,车载设备在确定第二通信通道的通道标识之后,在打开车门之前,还需要检测第二通信通道的通道标识和第一标识是否匹配。根据上述描述,一些实施例中,当第二通信通道的通道标识和第一标识是业务数据通道标识时,由于受到天气等因素的影响,业务数据通道的物理特征信息会发生变化,因此,即使业务数据通道未被中继攻击,电子钥匙设备端生成的第一标识与车载设备根据生成标识也可能不同,但是相似度相对较高。所以,本实施例中,车载设备可以检测第二通信通道的通道标识与第一标识的相似度参数是否大于预设阈值,若第二通信通道的通道标识与第一标识的相似度参数大于预设阈值,则确定第二通信通道的通道标识与第一标识相匹配。其中,相似度参数指示第二通信通道的通道标识与第一标识的相似程度,相似度参数越小,说明第二通信通道的通道标识与第一标识的相似程度越小,相似度参数越大,说明第二通信通道的通道标识与第一标识的相似程度越高。所以,采用本实现方式,车载设备可以根据两业务数据通道标识的相似度参数,检测是否被中继攻击。另一些实施例中,当第二通信通道的通道标识和第一标识是测距通道标识时,车载设备检测第二通信通道的通道标识与第一标识相同,则确定第二通信通道的通道标识与所述第一标识相匹配。示例性的,测距通道标识例如是前导序列,由于前导序列可以唯一标识测距通道,基于此,采用本实现方式,车载设备可以根据所接收的前导序列与所提取的本端的前导序列是否相同,确定是否被中继攻击。
一种可能的实现方式中,车载设备可以与第一设备先建立业务数据通道,然后,车载设备可以通过该业务数据通道接收业务指令,然后,车载设备再与第一设备建立与测距通道。采用本实现方式,车载设备能够在确定存在合法业务指令的情况下,对第一设备进行测距,从而能够减少测距产生的资源消耗。
第二方面,本申请提供了一种基于通信通道检测中继攻击的方法,该方法同样应用于车载设备端。本实施例中,车载设备中预置第一规则和第二规则,进而,车载设备可以从第一设备接收业务指令,该业务指令包含第一业务数据通道标识和第一测距通道标识,第一业务数据通道标识用于标识电子钥匙设 备所连接的业务数据通道,第一测距通道标识用于标识电子钥匙设备所连接的测距通道。然后,车载设备可以确定第二业务数据通道标识和第二测距通道标识,第二业务数据通道标识用于标识车载设备所连接的业务数据通道,第二测距通道标识用于标识车载设备所连接的测距通道。进而,车载设备可以检测第一业务数据通道标识与第二业务数据通道标识是否匹配,且第一测距通道标识和第二测距通道标识是否相同。当车载设备与第一设备的距离在预设距离之内,第一业务数据通道标识和第二业务数据通道标识相匹配,且第一测距通道标识和第二测距通道标识相同时,车载设备才响应业务指令打开车门。
本实施例中,车载设备和电子钥匙设备中均预置第一规则和第二规则,进而,车载设备在接收到电子钥匙设备生成的两通道标识之后,可以生成本端对应的两个通道标识,进而,车载设备可以根据两对通道标识的匹配关系,检测是否存在中继攻击,并在不存在中继攻击的场景下,响应业务指令打开车门。可见,采用本实现方式,该车载设备可以根据通道标识确定车载设备和电子钥匙设备之间是否被中继攻击,并在不存在中继攻击的场景下,响应业务指令打开车门,从而能够提高PEPS系统的安全性。
第三方面,本申请提供了一种基于通信通道检测中继攻击的方法,所述方法应用于电子钥匙设备端,所述方法与第一方面所述的方法相对应。其中,本实施例中,电子钥匙设备例如与第二设备通过第一通信通道和第二通信通道连接,第一通信通道和第二通信通道相互独立。然后,电子钥匙设备可以生成第一标识,进而,通过所述第一通信通道向所述第二设备发送所述第一标识。进而,触发车载设备执行第一方面的方法。其中,关于第一标识的描述详见第一方面所述,此处不再赘述。
其中,电子钥匙设备使用第二通信通道的通道标识确定规则生成第一标识,并使用第一通信通道传输第二通信通道的通道标识,从而能够建立第一通信通道和第二通信通道的对应关系。采用本实现方式,能够便于车载设备根据通信通道验证对端设备是否是电子钥匙设备,进而,使得车载设备在不存在中继攻击的情况下,响应业务指令打开车门,从而能够提高PEPS系统的安全性。
一种可能的实现方式中,电子钥匙设备生成第一标识包括:当第二通信通道是业务数据通道时,业务数据通道包含该业务数据通道特有的物理通道信息,电子钥匙设备可以根据第一规则提取该第二通信通道的一项或多项物理特征信息作为该第二通信通道的通道信息,然后,根据该第二通信通道的通道信息生成第二通信通道的业务数据通道标识。当第二通信通道是测距通道时,电子钥匙设备可以根据第二规则获取第二通信通道的通道信息中的指定信息作为第一标识。其中,电子钥匙设备生成第一标识的方法,与第一方面所述的车载设备生成第二通信通道的通道标识的方法相同。此外,业务数据通道的含义,测距通道的含义,业务数据通道标识的含义,以及测距通道的含义均如第一方面所述,此处不再详述。
一种可能的实现方式中,结合上述可能的实现方式,当第一标识是业务数据通道标识时,电子钥匙设备可以将业务数据通道标识携带在测距确认字符ACK帧中,并通过测距通道发送测距ACK帧。其中,测距ACK帧是电子钥匙设备对第二设备发送的测距帧的应答帧,第二设备可以根据测距帧和每个测距ACK帧计算与电子钥匙设备的距离。当第一标识是测距通道标识时,电子钥匙设备可以将测距通道标识加密得到会话密文,然后,通过业务数据通道发送会话密文。例如,测距通道标识是UWB通道标识,业务数据通道例如是蓝牙通道,那么,电子钥匙设备可以对UWB通道标识加密得到蓝牙会话密文,然后,通过蓝牙通道将该会话密文发送到第二设备。采用本实现方式,建立两条相互独立的通信通道对应关系的方式较为灵活,从而能够为车载设备检测是否存在中继攻击提供信息依据。此外,通过将测距通道标识加密得到会话密文,能够防止该测距通道标识被仿冒和篡改,从而提高检测的准确性,进而,能够提高PEPS系统的安全性。
一种可能的实现方式中,若第一通信通道是业务数据通道,电子钥匙设备可以在与第二设备建立第一通信通道之后,通过该业务数据通道向第二设备发送业务指令,以便于车载设备验证业务指令的合法 性,然后,电子钥匙设备再与第二设备建立测距通道。采用本实现方式,使得车载设备在确定存在合法业务指令的情况下进行测距,从而能够减少测距产生的资源消耗。
第四方面,本申请提供了一种基于通信通道检测中继攻击的方法,所述方法同样应用于电子钥匙设备端,所述方法与第三方面所述的方法相对应。本实施例中,电子钥匙设备端预置第一规则和第二规则,进而,在与第二设备建立业务数据通道和测距通道之后,电子钥匙设备可以根据第一规则确定第一业务数据通道标识,并根据第二规则确定第一测距通道标识,第一业务数据通道标识用于标识业务数据通道,第一测距通道标识用于标识测距通道,然后,电子钥匙设备可以生成业务指令,该业务指令包括第一业务数据通道标识和第一测距通道标识,然后,电子钥匙设备通过业务数据通道向第二设备发送业务指令。进而,触发车载设备执行第三方面的方法。
本实施例中,车载设备和电子钥匙设备中均预置第一规则和第二规则,进而,电子钥匙设备可以确定本端所连接的两条通信通道的通道标识,然后,将该两个通道标识携带在业务指令中发送到车载设备端,从而触发车载设备根据该两个通道标识,检测是否存在中继攻击,并在不存在中继攻击的场景下,响应业务指令打开车门。可见,采用本实现方式,该车载设备可以根据通道标识确定车载设备和电子钥匙设备之间是否被中继攻击,并在不存在中继攻击的场景下,响应业务指令打开车门,从而能够提高PEPS系统的安全性。
第五方面,本申请还提供了一种车载设备,该车载设备具有实现上述方法中车载设备行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,上述车载设备的结构中包括处理器和收发器,所述处理器被配置为处理该终端设备执行上述方法中相应的功能。所述收发器用于实现上述车载设备与电子钥匙设备之间的通信。所述车载设备还可以包括存储器,所述存储器用于与处理器耦合,其保存该车载设备必要的程序指令和数据。
第六方面,本申请还提供了一种电子钥匙设备,该电子钥匙设备具有实现上述方法中电子钥匙设备行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,上述电子钥匙设备的结构中包括处理器和收发器,所述处理器被配置为处理该电子钥匙设备执行上述方法中相应的功能。所述收发器用于实现上述电子钥匙设备与车载设备之间的通信。所述电子钥匙设备还可以包括存储器,所述存储器用于与处理器耦合,其保存该电子钥匙设备必要的程序指令和数据。
第七方面,本申请还提供了一种芯片,所述芯片包括处理器和接口,所述接口与所述处理器耦合,所述处理器用于执行计算机程序或指令,并实现第一方面、第二方面或第一方面任意可能的设计中的基于通信通道检测中继攻击的方法。
第八方面,本申请还提供了一种芯片,所述芯片包括处理器和接口,所述接口与所述处理器耦合,所述处理器用于执行计算机程序或指令,并实现第三方面、第四方面或第三方面任意可能的设计中的基于通信通道检测中继攻击的方法。
第九方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行第一方面、第二方面、第三方面、第四方面、第一方面任意可能的设计中或第三方面任意可能的设计中的方法。
为提高PEPS系统的安全性,本申请提供的车载设备和电子钥匙设备中预设通道标识确定规则,进而,在通信过程中,电子钥匙设备使用该通道标识确定规则生成通道标识,并发送到该电子钥匙设备的对端设备。该通道标识是电子钥匙设备当前连接的通信通道的标识。相应的,车载设备从该车载设备的 对端设备接收通道标识之后,根据该通道标识确定规则生成车载设备所接收的通信通道的通道标识,进而,车载设备通过检测所接收的通道标识与车载设备生成的通道标识是否相匹配,来确定该车载设备与该电子钥匙设备之间是否存在中继攻击,进而,确定是否打开车门。
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1A是本申请提供的一种PEPS系统的示例性场景示意图;
图1B是本申请提供的一种中继攻击的示例性场景示意图;
图2A是本申请提供的一种移动交通工具通信系统10的示例性系统架构图;
图2B是本申请提供的一种车载设备100的示例性功能结构图;
图2C是本申请提供的一种电子钥匙设备200的示例性功能结构图;
图3A是本申请提供的基于通信通道检测中继攻击的方法100的示例性方法流程图;
图3B是本申请提供的基于通信通道检测中继攻击的方法200的示例性方法流程图;
图3C是本申请提供的基于通信通道检测中继攻击的方法300的示例性方法流程图;
图3D是本申请提供的基于通信通道检测中继攻击的方法400的示例性方法流程图;
图4A是本申请提供的基于通信通道检测中继攻击的方法500的示例性信令交互图;
图4B是本申请提供的基于通信通道检测中继攻击的方法600的示例性信令交互图;
图4C是本申请提供的基于通信通道检测中继攻击的方法700的示例性信令交互图;
图4D是本申请提供的基于通信通道检测中继攻击的方法800的示例性信令交互图;
图4E是本申请提供的中继攻击场景下的通信信道示意图;
图5A是本申请提供的车载设备50的示例性结构示意图;
图5B是本申请提供的车载设备51的示例性结构示意图;
图6A是本申请提供的电子钥匙设备60的示例性结构示意图;
图6B是本申请提供的电子钥匙设备61的示例性结构示意图。
下面将结合本申请中的附图,对本申请的技术方案进行清楚地描述。
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,尽管在以下实施例中可能采用术语第一、第二等来描述某一类对象,但所述对象不应限于这些术语。这些术语仅用来将该类对象的具体对象进行区分。例如,以下实施例中可能采用术语第一、第二等来描述通道标识,但通道标识不应限于这些术语。这些术语仅用来将指示不同通信通道的标识进行区分。以下实施例中可能采用术语第一、第二等来描述的其他类对象同理,此处不再赘述。
以下对本申请的实施场景进行描述。
图1A示出了一种被动无钥匙进入与启动(passive entry passive start,PEPS)系统的示例性场景示意图,如图1A所示,PEPS系统中的车载设备与电子钥匙设备例如可以建立业务数据通道,车载设备与电子钥匙设备使用该业务数据通道传输业务数据。车载设备和电子钥匙设备之间例如还可以建立测距通道,车载设备可以通过该测距通道与电子钥匙设备传输测距数据,该测距数据用于车载设备检测与 电子钥匙设备的距离。当车载设备根据测距通道的测距数据确定车载设备与电子钥匙设备的距离在预设距离内时,车载设备中的汽车控制模块根据所接收的业务数据执行开门操作。其中,测距通道和业务数据通道相互独立,并且,车载设备与电子钥匙设备使用业务数据通道传输业务数据的同时,车载设备与电子钥匙设备依然在使用测距通道传输测距数据。
本申请所涉及的PEPS系统是移动交通工具的通信系统。该通信系统具有无钥匙进入与启动的功能。该通信系统包括通过无线连接的车载设备和电子钥匙设备。
本申请所涉及的车载设备可以被设置在移动交通工具中。该车载设备可以被配置为具备无线通讯功能的一个或者多个服务器,或者一个或者多个天线模组、处理器等。
本申请所涉及的电子钥匙设备可以被配置为独立的设备,也可以被配置为搭载电子钥匙相关应用程序的其他电子设备。该电子设备例如包括手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如具有触敏表面或触控面板的膝上型计算机(laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是具有触敏表面或触控面板的台式计算机。
示例性的,业务数据通道是用于传输业务数据的通道,业务数据例如可以包括业务请求和业务指令,业务数据通道可以但不限于是蓝牙通道。测距通道是用于传输测距数据的通道,测距数据例如可以包括测距帧和测距确认字符(acknowledgement,ACK)帧,测距通道可以但不限于是使用超宽带(ultra wide band,UWB)模块建立的UWB通道。预设距离例如是2米到10米。
本申请涉及的中继攻击是指,中继设备通过攻击手段放大车载设备和电子钥匙设备之间的距离。即,在车载设备和电子钥匙设备之间的距离大于预设距离的场景下,中继设备将业务指令从电子钥匙设备中继转发到车载设备,以在车载设备和电子钥匙设备距离较远时,通过攻击手段打开车门的操作。例如,预设距离是2米,即车载设备和电子钥匙设备之间的距离小于或者等于2米时,车载设备响应业务指令打开车门。但是,一种示例性场景下,车载设备和电子钥匙设备之间的距离是10米,中继设备与车载设备之间的距离是2米,中继设备可以将业务指令从电子钥匙设备转发到车载设备,进而触发车载设备打开车门。
可以理解的是,业务数据通道和测距通道是相互独立的两条通信通道,所以,只有当图1A中示意的蓝牙通道和测距通道所连接均是电子钥匙设备时,车载设备和电子钥匙设备才没有被中继攻击。若图1A中示意的蓝牙通道连接电子钥匙设备,但是测距通道所连接的是其他设备时,则蓝牙通道已经被中继攻击。
例如,一种中继攻击的场景如图1B所示,车载设备和电子钥匙设备之间加入了中继设备,该中继设备例如可以与车载设备建立测距通道和第一业务数据通道,并与电子钥匙设备建立第二业务数据通道。然后,该中继设备通过第一业务数据通道接收车载设备发送的业务请求,并将该业务请求通过第二业务数据通道发送到电子钥匙设备,进而,该中继设备通过第二业务数据通道接收电子钥匙设备发送的业务指令,并将该业务指令通过第一业务数据通道发送到车载设备。基于此,只要该中继设备与车载设备之间的距离在预设距离之内,即可触发车载设备打开车门,导致PEPS系统的安全性较差。
需要说明的是,虽然图1B中的中继设备与车载设备和电子钥匙设备分别通过两条业务数据通道传输业务数据,但是从逻辑层面讲,业务数据依然由车载设备和电子钥匙设备之间以业务数据包的形式交互,中继设备并未与车载设备和电子钥匙设备建立实际的配对关系,中继设备通过转发业务数据包的方式,延长了电子钥匙设备和车载设备之间进行数据交互的作用范围。基于此,图1B中示意的“第一业 务数据通道”和“第二业务数据通道”是指中继设备分别与车载设备和电子钥匙设备之间的两条通信通道,且该两条通信通道在本申请实施场景中起到业务数据通道功能。此外,本申请其他实施例中涉及的中继设备所连接的业务数据通道均是该含义,本申请下文相关的实施例对此将不再赘述。
为提高PEPS系统的安全性,本申请提供了一种基于通信通道检测中继攻击的方法及设备。本申请中车载设备能够根据通信通道的标识检测当前PEPS系统是否安全(即,当前PEPS系统是否被中继攻击),进而,在确定PEPS系统安全之后,车载设备打开交通工具的门锁,从而能够提高PEPS系统的安全性。
以下对本申请的系统框架进行描述。
图2A示意了一种移动交通工具通信系统10的示例性系统架构图。其中,通信系统10包括交通工具12、一个或多个无线载波系统14、地面通信网络16、计算机18以及呼叫中心20。应该理解的是,所公开的方法能够与任何数量的不同系统一起使用,并不特定地限于此处示出的运行环境。同样,系统10的架构、构造、设置和运行以及它的单独部件在现有技术中通常是已知的。因此,以下的段落仅仅简单地提供了一个示例通信系统10的概述,本文没有示出的其它系统也能够使用所公开的方法。
交通工具12可实现在汽车上或可采取汽车的形式。然而,示例系统还可实现在其它车辆上或采取其它车辆的形式,诸如轿车、卡车、摩托车、公交车、船、飞机、直升机、割草机、铲雪车、休旅车、游乐园车辆、农业设备、施工设备、有轨电车、高尔夫球车、火车和电车等其它车辆。此外,机器人装置也可用于执行本文描述的方法和系统。
一些交通工具电子件28在图2A中示出,包括信息通讯单元30、麦克风32、一个或多个按钮34或者其它控制输入、音频系统36、可视显示器38、以及全球定位系统(global position system,GPS)模块40和多个交通工具安全单元(vehicle security module,VSM)42。这些设备中的一些能够直接连接到信息通讯单元,例如麦克风32和按钮34,而其它的使用一个或多个网络连接实现间接连接,例如通信总线44或者娱乐总线46。合适的网络连接的实例包括控制器局域网(controller area network,CAN)、媒体导向系统转移(media oriented systems transport,MOST)、局部互联网络(local interconnect network,LIN)、局域网(local area network,LAN)以及其它合适的连接,例如以太网或者符合已知的国际标准化组织(international organization for standardization,ISO)、美国机动车工程师学会(society of automotive engineers,SAE)和国际电气与电子工程师学会(institute of electrical and electronics engineers,IEEE)标准和规定的其它连接,这仅仅列举一小部分。
信息通讯单元30可以是原始设备制造商(original equipment manufacturer,OEM)安装(嵌入)或者配件市场设备,它安装在交通工具中,且能够在无线载波系统14上且经无线联网进行无线声音和/或数据通信。这能使交通工具与呼叫中心20、其它启用信息通讯的交通工具、或者一些其它实体或者设备通信。信息通讯单元优选地使用无线电广播来与无线载波系统14建立通信通道(声音信道和/或数据信道),使得声音和/或数据传输能够在信道上被发送和接收。通过提供声音和数据通信,信息通讯单元30能使交通工具提供多种不同的服务,包括与导航、电话、紧急救援、诊断、信息娱乐等相关联的那些服务。数据能够经数据连接(例如经数据信道上的分组数据传输,或者经使用现有技术中已知技术的声音信道)被发送。对于包括声音通信(例如,在呼叫中心20处具有现场顾问live advisor或者声音响应单元)和数据通信(例如,提供GPS位置数据或者车辆诊断数据至呼叫中心20)两者的组合服务,系统可利用在声音信道上的单个呼叫,并根据需要在声音信道上在声音和数据传输之间切换,这可以使用本领域技术人员已知的技术来完成。此外,可使用短消息服务SMS发送和接收数据(例如,分组数据协议(packet data protocol,PDP));信息通讯单元可被配置为移动终止和/或发起,或者被配置为应 用终止和/或发起。
信息通讯单元30根据全球移动通信系统(global system for mobile communication,GSM)或者码分多址(code division multiple access,CDMA)标准利用蜂窝通信,因此包括用于声音通信(例如免提呼叫)的标准蜂窝芯片集、用于数据传输的无线调制解调器、电子处理设备52、一个或多个数字存储器设备54以及双天线56。应该明白,调制解调器能够通过存储在信息通讯单元内的软件实施且由处理器52执行,或者它能够是位于信息通讯单元30内部或者外部的分开的硬件部件。调制解调器能够使用任何数量的不同标准或者协议(例如EVDO(CDMA20001xEV-DO,EVDO)、CDMA、通用分组无线服务技术(general packet radio service,GPRS)和增强型数据速率GSM演进技术(enhanced data rate for GSM evolution,EDGE))来运行。交通工具和其它联网设备之间的无线联网也能够使用信息通讯单元30来执行。为此目的,信息通讯单元30能够被配置为根据一个或多个无线协议(例如,IEEE 802.11协议、全球微波互联接入(worldwide interoperability for microwave access,WiMAX)或者蓝牙中的任何一种)无线通信。当用于例如传输控制协议/因特网互联协议(transmission control protocol/internet protocol,TCP/IP)的分组交换数据通信时,信息通讯单元能够被配置具有静态IP地址,或者能够被设置以从网络上的另一个设备(例如路由器)或者从网络地址服务器自动接收所分配的IP地址。
处理器52可以是能够处理电子指令的任何类型的设备,包括微处理器、微控制器、主处理器、控制器、交通工具通信处理器、以及专用集成电路(application specific integrated circuit,ASIC)。它能够是仅用于信息通讯单元30的专用处理器或者能够与其它交通工具系统共享。处理器52执行各种类型的数字存储指令,例如存储电子钥匙设备200发送的第一标识。处理器52还能够执行程序或者处理数据,例如,执行本说明书下文所述的基于通信通道检测中继攻击的方法实施例中的检测操作。
信息通讯单元30能够被用于提供不同范围的交通工具服务,包括与来自交通工具其他部分的无线通信。这样的服务包括:转向指引(turn-by-turn direct 1ns)以及与基于GPS的交通工具导航模块40结合提供的其它导航相关联的服务;安全气囊部署通知以及与一个或多个碰撞传感器接口模块(例如主体控制模块(未图示))结合提供的其它紧急或路边救援相关联的服务。使用一个或多个诊断模块的诊断报告。以及信息娱乐相关联的服务,其中音乐、网页、电影、电视节目、视频游戏和/或其它信息被信息娱乐模块下载,并被存储用于当前或稍后回放。以上列出的服务决不是信息通讯单元30的所有能力的详尽列表,而仅仅是信息通讯单元能够提供的一些服务的列举。此外,应该理解,至少一些上述模块能够以存储在信息通讯单元30内部或外部的软件指令的形式实施,它们可以是位于信息通讯单元30内部或外部的硬件部件,或者它们可以是彼此集成的和/或共享的,或者与位于整个交通工具中的其它系统集成和/或共享,这仅列举几种可能性。位于信息通讯单元30外部的VSM 42在工作的情况下,它们可利用交通工具通信总线44与信息通讯单元30交换数据和命令。
GPS模块40从GPS卫星60接收无线电信号。从这些信号,GPS模块40能够确定交通工具的位置,该交通工具的位置被用于给交通工具驾驶者提供导航和其它位置相关联的服务。导航信息能够被呈现在显示器38上(或者交通工具内的其它显示器)或者能够用语言呈现,例如当提供转向导航时完成。能够使用专用的交通工具内的导航模块(可以是GPS模块40的一部分)来提供导航服务,或者一些或全部导航服务可以经信息通讯单元30来完成,其中位置信息被发送到远程位置,以便于为交通工具提供导航地图、地图标注(感兴趣的点、餐馆等)、路线计算等等。位置信息能够被提供给呼叫中心20或者其它远程计算机系统,例如计算机18,以用于其它的目的,例如车队管理。并且,新的或者更新的地图数据能够经信息通讯单元30从呼叫中心20下载至GPS模块40。
除了音频系统36和GPS模块40之外,交通工具12能够包括电子硬件部件形式的其它交通工具安全模块VSM 42,其它交通工具安全模块VSM42位于整个交通工具中,通常从一个或多个传感器接收输入,并使用所感测到的输入来执行诊断、监测、控制、报告和/或其它功能。VSM 42中的每一个优选地通过通信总线44连接到其它VSM,也连接到信息通讯单元30,并且能够被编程以运行交通工具系统和子系统诊断测试。例如,一个VSM 42能够是控制发动机运行的各方面(例如,燃料点火和点火时间)的发动机控制模块(engine control module,ECM),另一个VSM 42能够是调节交通工具的动力传动系的一个或多个部件的运行的动力传动系控制模块,且另一个VSM 42能够是管理位于整个交通工具中的各个电部件(如同交通工具的电动门锁和前灯)的主体控制模块。根据一个实施例,发动机控制模块装备有车载诊断(on board diagnostics,OBD)特征,车载诊断特征提供大量实时数据,例如从各种传感器(包括交通工具排放传感器)接收的数据,并提供标准化系列的诊断故障代码(DTS),诊断故障代码允许技术人员快速地识别和维修交通工具内的故障。如本领域的技术人员所明白的,以上提及的VSM仅仅是可以在交通工具12内使用的一些模块的实例,许多其它的模块也是可能的。
交通工具电子件28还包括多个交通工具用户接口,为交通工具司乘人员提供了提供和/或接收信息的装置,包括麦克风32、按钮34、音频系统36和可视显示器38。如在本文所使用的,术语“交通工具用户接口”广泛地包括任何合适形式的电子设备,包括硬件和软件部件,该电子设备位于交通工具上,且能使交通工具用户与交通工具的部件通信或者通过交通工具的部件通信。麦克风32提供了至信息通讯单元的音频输入,以能使驾驶者或者其他司乘人员提供声音命令,并执行经无线载波系统14的免提护叫。为此目的,它能够连接到车载自动化声音处理单元,车载自动化声音处理单元利用现有技术中已知的人机接口(human machine interface,HMI)技术。按钮34允许手动用户输入至信息通讯单元30,以发起无线电话呼叫和提供其它数据、响应或者控制输入。分开的按钮能够被用于发起紧急呼叫以及常规服务求助呼叫至呼叫中心20。音频系统36提供音频输出至交通工具司乘人员且能够是专用的单机系统或者主交通工具音频系统的一部分。根据此处所示的具体实施例,音频系统36可运行地联接到交通工具总线44和娱乐总线46,且能够提供调幅(amplitude modulation,AM)、调频(frequency modulation,FM)和卫星广播、数字多功能光盘(digital versatile disc,DVD)和其它多媒体功能。这个功能能够与以上描述的信息娱乐模块结合提供或者独立提供。可视显示器38优选地是图形显示器,例如仪表板上的触摸屏或者从挡风玻璃反射的抬头显示器,且能够被用于提供多种输入和输出功能。各种其它交通工具用户接口也能够被利用,因为图2A中的接口仅仅是一种具体实施方案的实例。
无线载波系统14优选地是蜂窝电话系统,包括多个蜂窝塔70(仅示出一个)、一个或多个移动交换中心(mobile switching center,MSC)72以及将无线载波系统14与地面网络16连接所要求的任何其它的联网部件。每个蜂窝塔70包括发送和接收天线以及基站,来自不同蜂窝塔的基站直接连接到MSC72或者经中间装置(例如基站控制器)连接到MSC 72。蜂窝系统可实施任何合适的通信技术,包括例如模拟技术(例如模拟移动通信系统(advanced mobile phone system,AMPS))或者更新的数字技术(例如CDMA(例如CDMA2000)或GSM/GPRS)。如本领域的技术人员将会明白的,各种蜂窝塔/基站/MSC设置都是可能的,且可与无线载波系统14一起使用。例如,基站和蜂窝塔能够共同位于相同的地点,或者它们能够彼此定位较远,每个基站能够响应单个的蜂窝塔或者单个基站能够服务各个蜂窝塔,各个基站能够联接到单个MSC,这仅仅列举一小部分可能的设置。
除了使用无线载波系统14之外,卫星通信形式的不同无线载波系统能够被用于提供与交通工具的单向或者双向通信。这能够使用一个或多个通信卫星62和上行链路发射站64来完成。单向通信能够是例如卫星广播服务,其中节目内容(新闻、音乐等)被发射站64接收、打包用于上传、且接下来发送到 卫星62,卫星62将节目广播到用户。双向通信能够是例如使用卫星62在交通工具12和站64之间中继电话通信的卫星电话服务。如果使用,这种卫星电话能够被附加到无线载波系统14或者代替无线载波系统14使用。
地面网络16可以是常规的陆基无线电通信网络,它连接到一个或多个固定电话,并将无线载波系统14连接到呼叫中心20。例如,地面网络16可包括公共交换电话网络(public switched telephone network,PSTN),例如被用于提供有线电话、分组交换数据通信以及互联网基础设施的PSTN。地面网络16的一个或多个部分能够通过使用标准的有线网络、光纤或者其它光学网络、电缆网络、电力线、其它无线网络(例如无线局域网(wireless local area networks,WLAN))、或者提供宽带无线访问(broadband wireless access,BWA)的网络及其任何组合来实施。地面网络16还可以包括用于存储、上传、转换和/或在发送者和接收者之间传输短消息(short message service,SMS)的一个或多个短消息服务中心(short message service center,SMSC)。例如,SMSC可以从呼叫中心20或者内容提供商(例如,外部短消息实体或者ESME)接收SMS消息,且SMSC可以将SMS消息传输给交通工具12(例如,移动终端设备)。SMSC和它们的功能对于技术人员来说是已知的。此外,呼叫中心20不必经地面网络16连接,但是可以包括无线电话设备,使得它能够直接与无线网络(例如无线载波系统14)通信。
计算机18能够是多个计算机中的一个,这多个计算机可经私人或者公共网络(例如互联网)访问。每个这样的计算机18都能够被用于一个或多个目的,例如交通工具可经信息通讯单元30和无线载波系统14访问网页服务器。其它这样的可访问计算机18能够是例如:服务中心计算机,其中诊断信息和其它交通工具数据能够经信息通讯单元30从交通工具上传;交通工具所有者或者其他用户为例如如下目的而使用的客户端计算机:访问或者接收交通工具数据,或者设置或配置用户参数,或者控制交通工具的功能;或者第三方库,无论是通过与交通工具12还是呼叫中心20通信,或者与两者通信,交通工具数据或者其它信息被提供至或者来自该第三方库。计算机18还能够被用于提供互联网连接,例如域名服务器(domain name server,DNS)服务,或者作为使用动态主机配置协议(dynamic host configuration protocol,DHCP)或者其它合适的协议来分配IP地址给交通工具12的网络地址服务器。
呼叫中心20被设计以提供多种不同的系统后端功能给交通工具电子件28,并且根据在此示出的示例性实施例,呼叫中心20通常包括一个或多个交换机80、服务器82、数据库84、现场顾问86、以及自动声音响应系统(automatic voice response system,VRS)88,它们在现有技术中全部都是已知的。这些各种呼叫中心部件优选地经有线或者无线局域网彼此联接。交换机80能够是专用交换分机(private branch exchange,PBX),路由进入的信号,使得声音传输通常通过普通电话发送到现场顾问86或者使用VoIP发送到自动声音响应系统88。现场顾问电话也能够使用网络语音电话业务(voice over internet phone,VoIP),如图2A中的虚线所指示。VoIP和通过交换机80的其它的数据通信经连接在交换机80和网络90之间的调制解调器(未图示)来实施。数据传输经调制解调器传递到服务器82和/或数据库84。数据库84能够存储账户信息,例如用户身份验证信息、交通工具标识符、数据图表(profile)记录、行为模式以及其它有关的用户信息。数据传输也可以由无线系统来执行,例如802.1lx,GPRS等等。此外,可使用短消息服务(SMS)发送和/或接收数据(例如,PDP);且呼叫中心20可被配置为移动终止和/或发起,或者被配置为应用终止和/或发起。虽然所阐述的实施例已经被描述为它将会与使用现场顾问86的有人控制的呼叫中心20一起使用,但是将会明白呼叫中心可代替使用VRS 88作为自动顾问,或者VRS 88和现场顾问86的组合可以被使用。
图2B示意了本申请提供的一种车载设备100的示例性功能结构图。车载设备100耦合到图2A示意的移动交通工具中,车载设备100可包括传感器系统101、控制系统102、外围设备103、电源104、计 算装置105以及用户接口106。计算装置105可包括处理器1051和存储器1052。计算装置105可以是车载设备100的控制器或控制器的一部分。存储器1052可包括处理器1051可运行的指令1053,并且还可存储地图数据1054。车载设备100的组件可被配置为以与彼此互连和/或与耦合到各系统的其它组件互连的方式工作。例如,电源104可向车载设备100的所有组件提供电力。计算装置105可被配置为从传感器系统101、控制系统102和外围设备103接收数据并对它们进行控制。例如,计算装置105可以从传感器系统101接收测距数据,并根据该测距数据计算测距结果,然后,计算装置105可以将测距结果发送到控制系统102,以触发控制系统102执行后续操作。计算装置105可被配置为在用户接口106上生成图像的显示并从用户接口106接收输入。
在其它示例中,车载设备100可包括更多、更少或不同的系统,并且每个系统可包括更多、更少或不同的组件。此外,示出的系统和组件可以按任意种的方式进行组合或划分。
传感器系统101可包括用于感测关于车载设备100所位于的环境的信息的若干个传感器。如图所示,传感器系统的传感器包括GPS模块1011、惯性测量单元(inertial measurement unit,IMU)1012、无线电检测和雷达测距(RADAR)单元1013、激光测距(LIDAR)单元1014、相机1015、用于为修改传感器的位置和/或朝向的致动器1016以及(一个或多个)UWB模块1017。示例性的,传感器系统101用于通过UWB模块1017向UWB模块2031发送测距帧,并从UWB模块2031接收测距ACK帧,然后,传感器系统101可以将相关的测距数据发送到计算装置105,以触发计算装置105计算测距结果。计算装置105可以根据一个或多个UWB模块的测距数据和定位算法对车辆进行定位,并生成测距结果。传感器系统101也可包括额外的传感器,包括例如监视车辆100的内部系统的传感器(例如,监视器、燃油量表、机油温度,等等)。传感器系统101也可以包括其它传感器。
GPS模块1011可以为用于估计交通工具的地理位置的任何传感器。为此,GPS模块1011可能包括收发器,基于卫星定位数据,估计车载设备100相对于地球的位置。在示例中,计算装置105可用于结合地图数据1054使用GPS模块1011来估计交通工具可在其上行驶的道路上的车道边界的位置。GPS模块1011也可采取其它形式。
IMU 1012可以是用于基于惯性加速度及其任意组合来感测交通工具的位置和朝向变化。在一些示例中,传感器的组合可包括例如加速度计和陀螺仪。传感器的其它组合也是可能的。
RADAR单元1013可以被看作物体检测系统,其用于使用无线电波来检测物体的特性,诸如物体的距离、高度、方向或速度。RADAR单元1013可被配置为传送无线电波或微波脉冲,其可从波的路线中的任何物体反弹。物体可将波的一部分能量返回至接收器(例如,碟形天线或天线),该接收器也可以是RADAR单元1013的一部分。RADAR单元1013还可被配置为对接收到的信号(从物体反弹)执行数字信号处理,并且可被配置为识别物体。
其它类似于RADAR的系统已用在电磁波谱的其它部分上。一个示例是LIDAR(光检测和测距),其可使用来自激光的可见光,而非无线电波。
LIDAR单元1014包括传感器,该传感器使用光感测或检测交通工具所位于的环境中的物体。通常,LIDAR是可通过利用光照射目标来测量到目标的距离或目标的其它属性的光学遥感技术。作为示例,LIDAR单元1014可包括被配置为发射激光脉冲的激光源和/或激光扫描仪,和用于为接收激光脉冲的反射的检测器。例如,LIDAR单元1014可包括由转镜反射的激光测距仪,并且以一维或二维围绕数字化场景扫描激光,从而以指定角度间隔采集距离测量值。在示例中,LIDAR单元1014可包括诸如光(例如,激光)源、扫描仪和光学系统、光检测器和接收器电子器件之类的组件,以及位置和导航系统。
在示例中,LIDAR单元1014可被配置为使用紫外光(UV)、可见光或红外光对物体成像,并且可用 于广泛的目标,包括非金属物体。在一个示例中,窄激光波束可用于以高分辨率对物体的物理特征进行地图绘制。
在示例中,从约10微米(红外)至约250纳米(UV)的范围中的波长可被使用。光通常经由后向散射被反射。不同类型的散射被用于不同的LIDAR应用,诸如瑞利散射、米氏散射和拉曼散射以及荧光。基于不同种类的后向散射,作为示例,LIDAR可因此被称为瑞利激光RADAR、米氏LIDAR、拉曼LIDAR以及钠/铁/钾荧光LIDAR。波长的适当组合可允许例如通过寻找反射信号的强度的依赖波长的变化对物体进行远程地图绘制。
使用扫描LIDAR系统和非扫描LIDAR系统两者可实现三维(3D)成像。“3D选通观测激光RADAR(3D gated viewing laser radar)”是非扫描激光测距系统的示例,其应用脉冲激光和快速选通相机。成像LIDAR也可使用通常使用互补金属氧化物半导体(complementary metal oxide semiconductor,CMOS)和混合互补金属氧化物半导体/电荷耦合器件(charge coupled device,CCD)制造技术在单个芯片上构建的高速检测器阵列和调制敏感检测器阵列来执行。在这些装置中,每个像素可通过以高速解调或选通来被局部地处理,以使得阵列可被处理成表示来自相机的图像。使用此技术,可同时获取上千个像素以创建表示LIDAR单元1014检测到的物体或场景的3D点云。
点云可包括3D坐标系统中的一组顶点。这些顶点例如可由X、Y、Z坐标定义,并且可表示物体的外表面。LIDAR单元1014可被配置为通过测量物体的表面上的大量点来创建点云,并可将点云作为数据文件输出。作为通过LIDAR单元1014的对物体的3D扫描过程的结果,点云可用于识别并可视化物体。
在一个示例中,点云可被直接渲染以可视化物体。在另一示例中,点云可通过可被称为曲面重建的过程被转换为多边形或三角形网格模型。用于将点云转换为3D曲面的示例技术可包括德洛内三角剖分、阿尔法形状和旋转球。这些技术包括在点云的现有顶点上构建三角形的网络。其它示例技术可包括将点云转换为体积距离场,以及通过移动立方体算法重建这样定义的隐式曲面。
相机1015可以用于获取交通工具所位于的环境的图像的任何相机(例如,静态相机、视频相机等)。为此,相机可被配置为检测可见光,或可被配置为检测来自光谱的其它部分(诸如红外光或紫外光)的光。其它类型的相机也是可能的。相机1015可以是二维检测器,或可具有三维空间范围。在一些示例中,相机1015例如可以是距离检测器,其被配置为生成指示从相机1015到环境中的若干点的距离的二维图像。为此,相机1015可使用一种或多种距离检测技术。例如,相机1015可被配置为使用结构光技术,其中车辆100利用预定光图案,诸如栅格或棋盘格图案,对环境中的物体进行照射,并且使用相机1015检测从物体的预定光图案的反射。基于反射的光图案中的畸变,车载设备100可被配置为检测到物体上的点的距离。预定光图案可包括红外光或其它波长的光。
致动器1016例如可被配置为修改传感器的位置和/或朝向。传感器系统101可额外地或可替换地包括除了所示出的那些以外的组件。
UWB模块1017可以用于向电子钥匙设备200中的UWB模块2031(详见图2C示意的电子钥匙设备的结构图)发送测距帧,然后,UWB模块1017接收UWB模块2031发送的应答帧。进而,UWB模块1017根据测距帧中的时间戳和应答帧中的时间戳确定交通工具和电子钥匙设备200的距离。
控制系统102可被配置为控制车载设备100及其组件的操作。为此,控制系统102可包括制动单元1023、传感器融合算法1024、计算机视觉系统1025、导航或路线控制(pathing)系统1026以及避障系统1027。控制系统102还可以被配置为获取计算装置105传输的距离计算结果,进而,在该距离计算结果指示的距离在预设距离之内时,控制交通工具的门打开或启动交通工具的发动机。
制动单元1023可以是被配置为使车载设备100减速的机构的任意组合。例如,制动单元1023可使用摩擦来减慢车轮/轮胎1014。作为另一示例,制动单元1023可被配置为再生的(regenerative)并且将车轮/轮胎1014的动能转换为电流。制动单元1023也可采取其它形式。
传感器融合算法1024可以包括例如计算装置105可运行的算法(或者存储算法的计算机程序产品)。传感器融合算法1024可被配置为接受来自传感器的数据作为输入。所述数据可包括例如表示在传感器系统101的传感器处感测到的信息的数据。传感器融合算法1024可包括例如卡尔曼滤波器、贝叶斯网络或者另外的算法。传感器融合算法1024还可被配置为基于来自传感器系统101的数据来提供各种评价,包括例如对交通工具所位于的环境中的个体物体和/或特征的评估、对具体情形的评估和/或基于特定情形的可能影响的评估。其它评价也是可能的。
计算机视觉系统1025可以是被配置为处理和分析由相机1015捕捉的图像以便识别交通工具所位于的环境中的物体和/或特征的任何系统,所述物体和/或特征包括例如车道信息、交通信号和障碍物。为此,计算机视觉系统1025可使用物体识别算法、从运动中恢复结构(structure from motion,SFM)算法、视频跟踪或其它计算机视觉技术。在一些示例中,计算机视觉系统1025可以额外地被配置为地图绘制环境、跟随物体、估计物体的速度,等等。
导航和路线控制系统1026可以是被配置为确定交通工具的驾驶路线的任何系统。导航和路线控制系统1026可以额外地被配置为在交通工具处于操作中的同时动态地更新驾驶路线。在一些示例中,导航和路线控制系统1026可被配置为结合来自传感器融合算法1024、GPS模块1011和一个或多个预定地图的数据以便为交通工具确定驾驶路线。
避障系统1027可以是被配置为识别、评估和避免或者以其它方式越过车载设备100所位于的环境中的障碍物的任何系统。
控制系统102可以额外地或可替换地包括除了所示出的那些以外的组件。
外围设备103可被配置为允许车载设备100与外部传感器、其它车辆和/或用户交互。为此,外围设备103可包括例如无线通信系统1031、触摸屏1032、麦克风1033和/或扬声器1034。
无线通信系统1031可以是被配置为直接地或经由通信网络无线耦合至一个或多个其它车辆、传感器或其它实体的任何系统。为此,无线通信系统1031可包括用于直接或通过空中接口与其它车辆、传感器或其它实体通信的天线和芯片集。芯片集或整个无线通信系统1031可被布置为根据一个或多个其它类型的无线通信(例如,协议)来通信,所述无线通信诸如蓝牙、IEEE 802.11(包括任何IEEE 802.11修订版)中描述的通信协议、蜂窝技术(诸如GSM、CDMA、通用移动通信系统(universal mobile telecommunications system,UMTS)、EV-DO、WiMAX或长期演进(long term evolution,LTE))、紫蜂、专用短程通信(dedicated short range communications,DSRC)以及射频识别(radio frequency identification,RFID)通信,等等。无线通信系统1031也可采取其它形式。
触摸屏1032可被用户用来向车载设备100输入命令。为此,触摸屏1032可被配置为经由电容感测、电阻感测或者表面声波过程等等来感测用户的手指的位置和移动中的至少一者。触摸屏1032可能够感测在与触摸屏表面平行或与触摸屏表面在同一平面内的方向上、在与触摸屏表面垂直的方向上或者在这两个方向上的手指移动,并且还可能够感测施加到触摸屏表面的压力的水平。触摸屏1032可由一个或多个半透明或透明绝缘层和一个或多个半透明或透明导电层形成。触摸屏1032也可采取其它形式。
麦克风1033可被配置为从车载设备100的用户接收音频(例如,声音命令或其它音频输入)。类似地,扬声器1034可被配置为向车载设备100的用户输出音频。
外围设备103可以额外地或可替换地包括除了所示出的那些以外的组件。
电源104可被配置为向车载设备100的一些或全部组件提供电力。为此,电源104可包括例如可再充电锂离子电池或铅酸电池。在一些示例中,一个或多个电池组可被配置为提供电力。其它电源材料和配置也是可能的。在一些示例中,电源104和能量源1012可一起实现,如一些全电动车中那样。
包括在计算装置105中的处理器1051可包括一个或多个通用处理器和/或一个或多个专用处理器(例如,数字信号处理器等)。就处理器1051包括多于一个处理器而言,这种处理器可单独工作或组合工作。计算装置105可实现基于通过用户接口106接收的输入控制车载设备100的功能。
存储器1052进而可包括一个或多个易失性存储组件和/或一个或多个非易失性存储组件,诸如光、磁和/或有机存储装置,并且存储器1052可全部或部分与处理器1051集成。存储器1052可包含可由处理器1051运行的指令1053(例如,程序逻辑),以运行各种车辆功能,包括本说明书中描述的基于通信通道检测中继攻击的方法的各实施例。
车载设备100的组件可被配置为以与在其各自的系统内部和/或外部的其它组件互连的方式工作。为此,车载设备100的组件和系统可通过系统总线、网络和/或其它连接机制通信地链接在一起。
图2C示意了本申请提供的一种电子钥匙设备200的示例性功能结构图。电子钥匙设备200包括处理器201、安全单元(secure element,SE)202、传感器203、外围设备204和电源205。
可以理解的是,本申请示意的结构并不构成对电子钥匙设备200的具体限定。在本申请另一些实施例中,电子钥匙设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器201可以被配置为处理发送至车载设备100的各种数据的操作。基于此,处理器201用于生成各通信通道的通道标识,还用于将所生成的通道标识传输到SE。处理器201可以包括控制器2011,一些实施例中,控制器2011用于执行在第一通信通道传输第二通信通道的通道标识的操作。又一些实施例中,控制器2011还用于执行在第二通信通道传输第一通信通道的通道标识的操作。
SE 202中设置有业务应用(applet)(图中未示出),该applet用于生成业务指令,还用于将通信通道的通道标识添加到业务指令中。
传感器203可以包括用于测量电子钥匙设备200与车载设备100距离的传感器。传感器203例如包括(一个或多个)UWB模块2031。UWB模块2031可以用于从车载设备100中的UWB模块1017(详见图2B示意的电子钥匙设备的结构图)接收测距帧,然后,UWB模块2031向UWB模块1017发送应答帧,以使计算装置105基于UWB模块1017提供的时间戳计算车载设备100和电子钥匙设备200之间距离。
外围设备204可以被配置为允许电子钥匙设备200与外部传感器或者车辆交互。为此,外围设备204可以包括例如无线通信系统2041。其中,无线通信系统2041可包括用于直接或通过空中接口与车载设备100、传感器或其它实体通信的天线和芯片集。芯片集或整个无线通信系统2041可被布置为根据一个或多个其它类型的无线通信(例如,协议)来通信,所述无线通信诸如蓝牙、IEEE 802.11(包括任何IEEE 802.11修订版)中描述的通信协议、蜂窝技术(诸如GSM、CDMA、UMTS、EV-DO、WiMAX或LTE)、紫蜂、DSRC以及RFID通信,等等。无线通信系统2041也可采取其它形式。
电源205可被配置为向电子钥匙设备200的一些或全部组件提供电力。为此,电源205可以包括例如可再充电锂离子电池或铅酸电池。在一些示例中,一个或多个电池组可被配置为提供电力。其它电源材料和配置也是可能的。
可以理解的是,一些施例中,图2C示意的各功能模块可以被配置在独立的电子钥匙设备中使用。另一些实施例中,图2C示意的各功能模块可以与其他电子设备中相应的功能模块耦合,当电子设备的功能模块实现本申请以下基于通信通道检测中继攻击的方法的实施例时,该电子设备被用作电子钥匙设 备200。
以下对本申请的基于通信通道检测中继攻击的方法进行示例性描述。
一些实施例中,车载设备和电子钥匙设备中均预置第一规则。或者,另一些实施例中,车载设备和电子钥匙设备中均预置第二规则。又一些实施例中,车载设备和电子钥匙设备中均预置第一规则和第二规则。其中,业务数据通道标识用于标识业务数据通道,测距通道标识用于标识测距通道。
其中,第一规则用于指示车载设备和电子钥匙设备确定业务数据通道标识。一些实施例中,第一规则用于指示车载设备和电子钥匙设备提取所连接业务数据通道的业务数据通道信息,然后,使用所提取的业务数据通道信息生成业务数据通道标识。业务数据通道信息例如是该业务数据通道的传输频段、时域信息、频域信息、多径延迟信息、信号强度、信号相位等物理通信特征中的至少一个。另一些实施例中,第一规则用于指示车载设备和电子钥匙设备将所连接业务数据通道的任意通道信息作为业务数据通道标识。例如,第一规则指示车载设备和电子钥匙设备将均将业务数据通道的多径延迟信息作为业务数据通道标识。一些实施例中,业务数据通道标识由业务数据通道的物理特征确定,通常这些物理特征只在建立两条物理业务数据通道的设备间具有匹配关系,不同物理通道具备不同的物理特征。
第二规则用于指示车载设备和电子钥匙设备确定测距通道标识。一些实施例中,第二规则可以指示将测距通道的通用唯一识别码(universally unique identifier,UUID)、测距通道地址、测距通道的会话标识、测距通道会话的前导序列和测距帧返回的时间戳中的一个,指定为测距通道标识。本申请中,将作为测距通道标识的信息称为指定信息。例如,第二规则指示车载设备100和电子钥匙设备200均将UWB地址作为测距通道标识。另一些实施例中,第二规则可以指示根据测距通道的会话密钥生成的密文或者消息鉴别码生成测距通道标识,例如,车载设备100和电子钥匙设备200可以均根据UWB会话密钥基于预设算法生成的密文作为测距通道标识;再如,车载设备100和电子钥匙设备200可以均根据消息鉴别码生成测距通道标识。
基于此,参见图3A,图3A是基于通信通道检测中继攻击的方法100的一种示例性方法流程图。基于通信通道检测中继攻击的方法100(以下简称方法100)包括以下步骤:
步骤S101,车载设备通过第一通信通道从第一设备接收第一标识。
其中,第一设备是车载设备所连接的设备。第一标识用于标识与第二通信通道类型相同的通信通道。第一通信通道和第二通信通道相互独立,且第一通信通道和第二通信通道均用于连接车载设备与第一设备。
一些实施例中,第一通信通道是业务数据通道,那么,第二通信通道就是测距通道,相应的,第一标识是测距通道标识。例如,如图4A示意的实施例,第一通信通道是蓝牙通道,那么,第二通信通道就是UWB通道,相应的,第一标识是UWB通道标识。另一些实施例中,第一通信通道是测距通道,那么,第二通信通道是业务数据通道,相应的,第一标识是业务数据通道标识。例如,如图4B示意的实施例,第一通信通道是UWB通道,那么,第二通信通道就是蓝牙通道,相应的,第一标识是蓝牙通道标识。
示例性的,一些实施例中,第一通信通道是业务数据通道,第一标识是测距通道标识,该测距通道标识可以以会话密文的形式在第一通信通道中传输。其中,该测距通道标识例如可以由电子钥匙设备添加到业务数据通道中。例如,UWB通道标识可以以蓝牙会话密文的形式,通过蓝牙通道传输。详见图4B示意的实施例所述,此处不再详述。另一些实施例中,第一通信通道是测距通道,第一标识是业务数据通道标识,该业务数据通道标识可以包含于该测距通道所传输的测距确认字符(acknowledgement,ACK)帧中传输。例如,蓝牙通道标识可以被携带在测距ACK帧中,通过UWB通道传输。详见图4A示意的实施例所述,此处不再详述。
步骤S102,车载设备确定第二通信通道的通道标识。
其中,车载设备可以根据第二通信通道对应的通道标识确定规则确定第二通信通道的通道标识。
可以理解的是,步骤S101中涉及的第一标识所标识的通信信道的类型,与第二通信通道的类型相同,并且,车载设备和电子钥匙设备生成通道标识的规则相同,所以,车载设备可以通过检测两标识的关系确定当前是否存在中继攻击。示例性的,第一标识例如UWB通道标识,那么,第一标识所标识的是电子钥匙设备连接的UWB通道。车载设备可以确定车载设备所连接的UWB通道的标识,进而,车载设备可以通过检测该两UWB通道标识是否相同,确定是否被中继攻击。若两UWB通道标识相同,则车载设备可以确定没有遭受到中继攻击,若两UWB通道标识不相同,则车载设备可以确定遭受到中继攻击。
一些实施例中,第一标识例如是业务数据通道标识,第二通信通道是业务数据通道,车载设备可以根据第一规则提取第二通信通道的通道信息中的至少一个信息,然后,根据所提取的通道信息中的至少一个信息生成第二通信通道的业务数据通道标识。如图4A示意的实施例,第二通信通道例如是蓝牙通道,车载设备可以提取该蓝牙通道的传输频段和多径延迟信息,然后,根据传输频段和多径延迟信息生成蓝牙通道标识。另一些实施例中,第一标识例如是测距通道标识,第二通信通道则是测距通道,车载设备根据第二规则获取第二通信通道的通道信息中的指定信息作为第二通信通道的测距通道标识。如图4B示意的实施例,第二通信通道例如是UWB通道,车载设备可以提取该UWB通道的前导序列UWB通道标识。
进一步的,若第二通信通道的通道标识与第一标识匹配,说明第二通信通道是车载设备与电子钥匙设备之间通信通道,第一设备即为电子钥匙设备,也即车载设备与电子钥匙设备之间未被中继攻击。若第二通信通道的通道标识与第一标识不匹配,说明第二通信通道不是车载设备与电子钥匙设备之间通信通道,第一设备即为中继设备,也即车载设备与电子钥匙设备之间存在中继攻击。
一些实施例中,第二通信通道的通道标识和第一标识是业务数据通道标识,车载设备可以使用计算相似度和计算二者梯度中至少一种方式,计算第二通信通道的通道标识与第一标识的相似度参数,然后,确定相似度参数是否大于预设阈值。相似度参数指示第二通信通道的通道标识与第一标识的相似程度,相似度参数越小,说明第二通信通道的通道标识与第一标识的相似程度越小,相似度参数越大,说明第二通信通道的通道标识与第一标识的相似程度越高。基于此,若第二通信通道的通道标识与第一标识的相似度参数大于预设阈值,车载设备确定第二通信通道的通道标识与第一标识相匹配。其中,第二通信通道的通道标识与第一标识的相似度参数大于预设阈值,说明第二通信通道的通道标识与第一标识所对应的业务数据通道信息基本相同,进而,说明业务数据通道未被中继攻击。反之,若第二通信通道的通道标识与第一标识的相似度参数大于预设阈值,说明第二通信通道的通道标识与第一标识所对应的业务数据通道信息不同,进而证明车载设备和电子钥匙设备之间业务数据通道受到中继攻击。
例如,受到天气等因素的影响,蓝牙通道的多径延迟信息等物理通道信息会发生变化,因此,即使该蓝牙通道未被中继攻击,电子钥匙设备端根据该蓝牙通道的信息生成的第一标识,与车载设备根据生成的该蓝牙通道的信息生成的标识也可能不同,但是相似度相对较高。所以,本实施例中,车载设备可以根据两蓝牙通道标识的相似度参数,检测是否被中继攻击。
另一些实施例中,第二通信通道的通道标识和第一标识是测距通道标识,车载设备可以检测第二通信通道的通道标识与第一标识是否相同,若第二通信通道的通道标识与第一标识相同,车载设备确定第二通信通道的通道标识与第一标识相匹配。其中,第二通信通道的通道标识与第一标识相同,说明第二通信信道与第一标识所标识的测距信道是同一条测距通道,进而说明第一设备是电子钥匙设备,也即车载设备和电子钥匙设备之间未被中继攻击。反之,若第二通信通道的通道标识与第一标识不同,说明第 二通信信道与第一标识所标识的测距信道不是一条测距通道,进而说明第一设备是中继设备。
示例性的,第二通信通道是UWB通道,且UWB通道标识是前导序列的场景下,车载设备与第一设备建立UWB通道时,可以确定该UWB通道的前导序列,前导序列可以唯一标识UWB通道。基于此,车载设备可以根据所接收的前导序列与所提取的本端的前导序列是否相同,确定是否被中继攻击。
步骤S103,当车载设备与第一设备的距离在预设距离之内,且第二通信通道的通道标识与第一标识匹配时,车载设备响应预先接收的业务指令打开车门。
其中,车载设备在与第一设备建立的测距通道之后,传感器系统101一直通过该测距通道按照一定频率向第一设备发送测距帧,然后,从第一设备接收每个测距帧的测距ACK帧,进而,传感器系统101将每组测距帧和测距ACK帧发送到计算装置105。计算装置105根据每组测距帧和测距ACK帧计算车载设备与第一设备的当前距离。然后,计算装置105将所得到的当前距离发给控制系统102。控制系统102判断当前距离是否在预设距离之内,若车载设备与第一设备的当前距离在预设距离之内,且第二通信通道的通道标识与第一标识相匹配时,控制系统102控制交通工具的门打开。
示例性的,车载设备所发送的测距帧中可以包括该车载设备生成的识别标识,进而,车载设备接收到测距ACK帧之后,可以检测该测距ACK帧中是否包含该识别标识,若该测距ACK帧中包含该识别标识,车载设备根据相应测距帧和该测距ACK帧计算车载设备与第一设备的距离。该识别标识例如是nonce随机数。该随机数可以是车载设备随机生成,并携带在第一个测距帧中的。
此外,该业务指令由电子钥匙设备生成,并在电子钥匙设备建立业务数据通道之后的任意时刻传输到车载设备。相应的,车载设备可以在打开车门之前的任意时刻接收到该业务指令。
一些实施例中,车载设备可以在检测到该车载设备与第一设备的距离在预设距离之内之后,向第一设备发送业务请求,进而,车载设备从第一设备接收到该业务指令。另一些实施例中,车载设备连接业务数据通道之后,即可通过该业务数据通道接收业务指令。
可见,采用本实现方式,车载设备和电子钥匙设备中维护业务数据通道或者测距通道的通道标识确定规则,然后,该车载设备可以根据相应的通道标识确定规则以及该车载设备所连接的通道的信息确定通道标识,进而,该车载设备可以在接收到同类型通信通道的标识之后,通过比对所计算的通道标识和所接收的通道标识是否相同,确定车载设备和电子钥匙设备之间是否被中继攻击,并在不存在中继攻击的场景下,响应业务指令打开车门,从而能够提高PEPS系统的安全性。
此外,在一种可能的实现方式中,在执行步骤S101之前,车载设备在建立业务数据通道连接之后,可以通过该业务数据通道接收业务指令,在接收到该业务指令之后,该车载设备与第一设备建立测距通道,并通过该测距通道向第一设备发送测距帧。进而,执行上述方法100。
采用本实现方式,车载设备能够在确定存在合法业务指令的情况下,对第一设备进行测距,从而能够减少测距产生的资源消耗。
参见图3B,图3B是基于通信通道检测中继攻击的方法200的一种示例性方法流程图。基于通信通道检测中继攻击的方法200(以下简称方法200)是电子钥匙设备200端的实施例,方法200与方法100相对应。方法200包括以下步骤:
步骤S201,电子钥匙设备与第二设备建立第一通信通道。
其中,第一通信通道是电子钥匙设备与第二设备之间的通信通道。与方法100相对应的,第一通信通道可以是业务数据通道或者测距通道。
步骤S202,电子钥匙设备生成第一标识。
其中,第一标识用于标识与第二通信通道类型相同的通信通道。第二通信通道是电子钥匙设备与第 二设备之间的通信通道。第二通信通道与第一通信信道相互独立。若第一通信通道是业务数据通道,第一标识则是测距通道标识,若第一通信通道是测距通道,第一标识则是业务数据通道标识。
一些实施例中,第一通信通道是业务数据通道,第一标识则是测距通道标识。电子钥匙设备可以根据第二规则确定测距通道标识。与方法100相对应的,第一通信通道例如是蓝牙通道,那么,第二通信通道就是UWB通道,相应的,第一标识是UWB通道标识。另一些实施例中,第一通信通道是测距通道,第一标识则是业务数据通道标识。电子钥匙设备可以根据第一规则确定该业务数据通道标识。例如,第一通信通道是UWB通道,那么,第二通信通道就是蓝牙通道,相应的,第一标识是蓝牙通道标识。示例性的,电子钥匙设备在生成该业务数据通道标识时,可以将业务会话密钥作为参数,从而能够防止该业务数据通道标识被仿冒和篡改。其中,电子钥匙设备生成通道标识的操作过程,与车载设备生成通道标识的操作过程相似,本申请此处不再详述。
步骤S203,电子钥匙设备通过第一通信通道向第二设备发送第一标识。
一些实施例中,第一标识是测距通道标识,电子钥匙设备可以将该测距通道标识加密得到会话密文,然后,在业务数据通道上传输该会话密文。例如,电子钥匙设备可以将UWB通道标识加密生成蓝牙会话密文,然后,通过蓝牙通道向第二设备传输该蓝牙会话密文。另一些实施例中,第一标识是业务数据通道标识。电子钥匙设备可以将该业务数据通道标识添加到测距ACK帧,并通过第一通信通道传输该测距ACK帧。示例性的,第一标识例如是UWB通道标识,电子钥匙设备可以不断的接收第二设备发送的测距帧,然后,向第二设备发送测距帧的测距ACK帧。其中,每个测距ACK帧中均可以包含UWB通道标识,或者在指定测距ACK帧中包含UWB通道标识。此外,每个测距ACK帧中还可以包含识别标识,该识别标识由车载设备生成,并包含在测距帧中。
根据本实施例的描述,电子钥匙设备通过第一通信通道发送第二通信通道对应的通道标识,从而建立第一通信通道和第二通信通道的对应关系,进而便于确定第一通信通道和第二通信通道连接的是同一设备。
此外,电子钥匙设备还通过业务数据通道向第二设备发送业务指令。一些实施例中,电子钥匙设备可以从第二设备接收业务请求,然后,通过业务数据通道向第二设备发送业务指令。另一些实施例中,第一通信通道是业务数据通道,电子钥匙设备在建立业务数据通道之后,可以立即向第二设备发送业务指令,以触发车载设备检测业务指令,然后,再与第二设备建立测距通道。例如,电子钥匙设备向第二设备发送业务指令之后唤醒UWB模块1017。若第二设备是车载设备,在车载设备唤醒UWB模块1017之后,电子钥匙设备与第二设备建立UWB通道。
可以理解的是,车载设备接收到通道标识和业务指令之后,根据通道标识执行一系列的验证,在确定该车载设备与电子钥匙设备之间不存在中继攻击,且该车载设备与该电子钥匙设备的距离在预设距离之内之后,响应业务指令打开车门。车载设备执行的操作详见方法100的描述,本申请此处不再详述。
可见,采用本实现方式,电子钥匙设备使用第一通信通道传输第二通信通道的通道标识,能够建立第一通信通道和第二通信通道的对应关系,从而向车载设备提供通道的对应关系,以便于车载设备根据通信通道验证对端设备是否是电子钥匙设备,进而,使得车载设备在不存在中继攻击的情况下,响应业务指令打开车门,从而能够提高PEPS系统的安全性。
参见图3C,图3C是基于通信通道检测中继攻击的方法300的一种示例性方法流程图。基于通信通道检测中继攻击的方法300(以下简称方法300)的实施场景例如是车载设备100和电子钥匙设备200中均预置第一规则和第二规则。方法300包括以下步骤:
步骤S301,车载设备从第一设备接收业务指令。
其中,该业务指令中包含第一业务数据通道标识和第一测距通道标识,该第一业务数据通道标识用于标识电子钥匙设备所连接的业务数据通道,该第一测距通道标识用于标识电子钥匙设备所连接的测距通道。业务指令包含电子钥匙设备中的数字密钥生成,用于车载设备验证电子钥匙设备持有合法的数字密钥。
示例性的,参考图4C和图4D,第一业务数据通道标识例如是第一蓝牙通道标识,第一测距通道标识例如是第一UWB通道,第一蓝牙通道标识用于标识电子钥匙设备所连接的蓝牙通道,第一UWB通道用于标识电子钥匙设备所连接的UWB通道。
步骤S302,车载设备确定第二业务数据通道标识和第二测距通道标识。
其中,该第二业务数据通道标识用于标识车载设备所连接的业务数据通道,该第二测距通道标识用于标识车载设备所连接的测距通道。本实施例中,车载设备确定第二业务数据通道标识和第二测距通道标识的操作,详见方法100中的相关描述,本申请此处不再详述。
示例性的,参考图4C和图4D,第二业务数据通道标识例如是第二蓝牙通道标识,第二测距通道标识例如是第二UWB通道,第二蓝牙通道标识用于标识车载设备所连接的蓝牙通道,第二UWB通道用于标识车载设备所连接的UWB通道。
进一步的,若第一业务数据通道标识和第二业务数据通道标识相匹配,且第一测距通道标识和第二测距通道标识相同,说明第一设备是电子钥匙设备,否则,说明第一设备是中继设备。
步骤S303,当车载设备与第一设备的距离在预设距离之内,第一业务数据通道标识和第二业务数据通道标识相匹配,且第一测距通道标识和第二测距通道标识相同时,车载设备响应业务指令打开车门。
其中,方法300与方法100中相同的部分,可以参照方法100的操作及实施场景,例如,车载设备向第一设备发送业务请求,在对第一设备的业务指令验证通过后,车载设备继续进行距离判断,当车载设备与第一设备的距离在预设距离之内时,执行S105。本申请此处不再赘述。
参见图3D,图3D是基于通信通道检测中继攻击的方法400的一种示例性方法流程图。基于通信通道检测中继攻击的方法400(以下简称方法400)是电子钥匙设备200端的实施例,方法400与方法300相对应。方法400包括以下步骤:
步骤S401,电子钥匙设备与第二设备建立业务数据通道和测距通道。
步骤S402,电子钥匙设备确定第一业务数据通道标识和第一测距通道标识。
步骤S403,电子钥匙设备生成业务指令。
示例性的,结合图2C,本实施例中,处理器201可以确定第一业务数据通道标识和第一测距通道标识,然后,处理器201将第一业务数据通道标识和第一测距通道标识传输到SE 2011中的applet中,该applet生成包含第一业务数据通道标识和第一测距通道标识的业务指令。
步骤S404,电子钥匙设备通过业务数据通道向第二设备发送业务指令。
其中,结合图2C,控制器2012可以执行在业务数据通道传输业务指令的操作。
其中,方法400与方法200中相同的部分,可以参照方法200的操作及实施场景,例如,电子钥匙设备可以在接收到业务请求之后,执行步骤S401。本申请此处不再赘述。
可以理解的是,车载设备接收到业务指令之后,执行方法300所述的操作,本申请此处不再详述。
综上,本申请提供的车载设备和电子钥匙设备中预设通道标识确定规则,进而,在通信过程中,电子钥匙设备使用该通道标识确定规则生成通道标识,并发送到该电子钥匙设备的对端设备。该通道标识是电子钥匙设备当前连接的通信通道的标识。相应的,车载设备从该车载设备的对端设备接收通道标识之后,根据该通道标识确定规则生成车载设备所接收的通信通道的通道标识,进而,车载设备通过检测 所接收的通道标识与车载设备生成的通道标识是否相同,来确定该车载设备与该电子钥匙设备之间是否存在中继攻击,进而,确定是否打开车门。
以下结合图2A至图2C示意的设备,通过实例对本申请所述的基于通信通道检测中继攻击的方法进行描述。
其中,车载设备例如是图2B所述的车载设备100,电子钥匙设备可以是图2C所述的电子钥匙设备200。示例性的,车载设备100和电子钥匙设备200中均设置第一规则和第二规则。本实施例中,业务数据通道例如是蓝牙通道,测距通道例如是UWB通道。基于此,车载设备100和电子钥匙设备200的初始状态如下:车载设备100的蓝牙模块与电子钥匙设备200的蓝牙模块预先配对,然后,在车载设备100与电子钥匙设备200建立蓝牙通道之前,UWB模块1017和UWB模块2031均处于睡眠模式,即UWB模块1017和UWB模块2031未建立UWB通道且不进行UWB数据交互。在车载设备100与电子钥匙设备200建立蓝牙通道之后,UWB模块1017和UWB模块2031被唤醒,建立UWB通道且通过UWB数据交互进行测距。
进一步的,以下以车载设备和电子钥匙设备未被中继攻击的实施场景为例,对车载设备100和电子钥匙设备200之间通信过程进行介绍。
如图4A所示,图4A示意了基于通信通道检测中继攻击的方法500的信令交互图,基于通信通道检测中继攻击的方法500(以下简称方法500)包括如下步骤:
步骤S501,车载设备100与电子钥匙设备200建立蓝牙通道A。
其中,车载设备100与电子钥匙设备200的距离在一定距离内时,车载设备100的蓝牙模块与电子钥匙设备200的蓝牙模块建立连接,形成蓝牙通道A。该一定距离大于本申请所述的预设距离。
示例性的,在建立蓝牙通道A之后,电子钥匙设备200中的处理器201可以唤醒UWB模块2031,以接收测距帧。此外,电子钥匙设备200例如还根据第一规则提取蓝牙通道A的传输频段、多径延迟信息和信号强度信息,然后,根据蓝牙通道A的传输频段、多径延迟信息和信号强度信息生成蓝牙通道标识BT01。示例性的,电子钥匙设备200还可以使用蓝牙会话密钥参与计算得到BT01,以使BT01无法被伪造或者篡改。
步骤S502,电子钥匙设备200生成业务指令。
结合图2C,SE 202生成业务指令。
步骤S503,电子钥匙设备200通过蓝牙通道A向车载设备100发送业务指令。
步骤S504,车载设备100唤醒UWB模块1017,并与电子钥匙设备200建立UWB通道A。
其中,车载设备100接收业务指令之后,可以利用业务密钥对业务指令进行鉴权,通过后认为电子钥匙设备200是合法的电子钥匙设备,进而,车载设备100唤醒UWB模块1017,使得UWB模块1017与UWB模块2031连接,得到UWB通道A。
步骤S505,车载设备100通过UWB通道A向电子钥匙设备200发送测距帧。
其中,UWB模块1017向UWB模块2031发送测距帧。
步骤S506,电子钥匙设备200向车载设备100发送测距ACK帧。
其中,UWB模块2031向UWB模块1017发送测距ACK帧。测距ACK帧是响应测距帧的数据帧,测距ACK帧中包含蓝牙通道标识BT01。
结合图2C,处理器201可以将蓝牙通道标识BT01携带在测距ACK帧中,然后,控制器2011调用UWB通道A传输测距ACK帧。
需要指出的是,在步骤S504之后,UWB模块1017持续按照预设频率向UWB模块2031发送测距帧, 相应的,UWB模块2031同样按照该预设频率持续的向UWB模块1017回复测距ACK帧。进而,车载设备根据每组测距帧和测距ACK帧测量车载设备100与电子钥匙设备200的距离。
步骤S507,车载设备100根据蓝牙通道标识BT01检测是否被中继攻击。
车载设备100在接收到测距ACK帧之后,可以根据第一规则提取车载设备100所连接的蓝牙通道的传输频段、多径延迟信息和信号强度信息,然后,根据所提取的传输频段、多径延迟信息和信号强度信息生成蓝牙通道标识。示例性的,车载设备100同样可以使用蓝牙会话密钥计算蓝牙通道标识。
由于本实施例中,车载设备100所连接的蓝牙通道是蓝牙通道A,所以,车载设备100得到的蓝牙通道标识是BT01。进而,车载设备100可以确定车载设备100与电子钥匙设备200之间未被中继攻击。
步骤S508,在车载设备100与电子钥匙设备200的距离在预设距离之内时,车载设备100响应业务指令打开车门。
示例性的,预设距离例如是2米,当车载设备100与电子钥匙设备200的距离小于或者等于2米时,车载设备100响应业务指令打开车门。
采用本实现方式,车载设备100在确定电子钥匙设备200具备合法业务指令时,再执行测距操作,从而能够节省资源。另外,电子钥匙设备200通过使用UWB通道传输蓝牙通道标识的方式,将蓝牙通道和UWB通道绑定。车载设备100通过蓝牙通道标识检测是否被中继。
如图4B所示,图4B示意了基于通信通道检测中继攻击的方法600的信令交互图,基于通信通道检测中继攻击的方法600(以下简称方法600)包括如下步骤:
步骤S601,车载设备100与电子钥匙设备200建立蓝牙通道A和UWB通道A,并确定UWB通道标识UWB01。
其中,蓝牙通道A和UWB通道A的建立过程可以如上述任一实施例所述,此处不再赘述。
本实施例中,在建立UWB通道A之后,电子钥匙设备200根据第二规则确定UWB通道标识UWB01。示例性的,第二规则例如指示将UWB通道A的前导序列作为UWB通道标识UWB01。此外,在建立UWB通道A之后,车载设备100一直在测量车载设备100与电子钥匙设备200的距离。车载设备100测距的操作过程,本申请此处不再详述。
此外,本实施例中,在建立蓝牙通道A之后,电子钥匙设备200可以随时通过蓝牙通道A向车载设备100发送业务指令。
步骤S602,电子钥匙设备200通过蓝牙通道A向车载设备100发送UWB通道标识UWB01。
其中,处理器201可以将UWB01加密得到蓝牙会话密文,然后,处理器201调用蓝牙通道A传输蓝牙会话密文。
步骤S603,车载设备100根据UWB通道标识UWB01检测是否被中继攻击。
示例性的,车载设备100接收UWB01之后,处理器1051根据第二规则获取本端(车载设备100端)连接的UWB通道的前导序列作为本端的UWB通道标识,然后,处理器1051可以判断本端的UWB通道标识是否是UWB01。应理解,本实施例中处理器1051得到的本端的UWB通道标识是UWB01,进而,车载设备100可以确定车载设备100与电子钥匙设备200之间未被中继攻击。
步骤S604,在车载设备100与电子钥匙设备200的距离在预设距离之内时,车载设备100响应业务指令打开车门。
其中,步骤S604的具体执行过程与方法500的步骤S508相似,详细过程可参见步骤S508的描述,此处不再赘述。
采用本实现方式,电子钥匙设备200通过使用蓝牙通道传输UWB通道标识的方式,将蓝牙通道和 UWB通道绑定。车载设备100通过UWB通道标识检测是否被中继。
如图4C所示,图4C示意了基于通信通道检测中继攻击的方法700的信令交互图,基于通信通道检测中继攻击的方法700(以下简称方法700)包括如下步骤:
步骤S701,车载设备100与电子钥匙设备200建立蓝牙通道A和UWB通道A,并确定蓝牙通道标识BT01和UWB通道标识UWB01。
步骤S702,电子钥匙设备200生成业务指令。
其中,该业务指令中包含蓝牙通道标识BT01和UWB通道标识UWB01。示例性的,处理器201可以确定BT01和UWB01,然后,处理器201将BT01和UWB01传输到SE 2011中的applet中,该applet生成包含BT01和UWB01的业务指令。
一种可选的实现方式中,电子钥匙设备200可以接收车载设备100发送的业务请求,然后,电子钥匙设备200执行步骤S702。
步骤S703,电子钥匙设备200通过蓝牙通道A向车载设备100发送业务指令。
步骤S704,车载设备100根据BT01验证车载设备100连接的蓝牙通道,并根据UWB01验证车载设备100连接的UWB通道。
其中,本实施例的验证过程详见方法500和方法600的相关描述,本申请此处不再赘述。
步骤S705,在车载设备100与电子钥匙设备200的距离在预设距离之内时,车载设备100响应业务指令打开车门。
其中,本实施例中,车载设备100持续测量车载设备100与电子钥匙设备200的距离。车载设备100测距的操作过程详见上述实施例的描述,本申请此处不再详述。
方法500至方法700均是车载设备和电子钥匙设备未被中继攻击的实施场景下的实施例,以下以车载设备和电子钥匙设备被中继攻击的实施场景为例,对本申请的技术方案进行描述。
如图4D所示,图4D示意了基于通信通道检测中继攻击的方法800的信令交互图。示例性的,如图4E示意的场景图,本实施例中车载设备100与电子钥匙设备200逻辑上的蓝牙通道A是至少一个中继设备转发车载设备100和电子钥匙200的蓝牙交互数据包的方式被中继的。相应的,蓝牙通道A可以等效为蓝牙通道A1和蓝牙通道A2两条蓝牙通道,其中,蓝牙通道A1是电子钥匙设备200与中继设备之间的蓝牙通道,蓝牙通道A2是中继设备与车载设备100之间的蓝牙通道。此外,本实施例中,当中继设备攻击车载设备100与电子钥匙设备200时,中继设备接收车载设备100发送的测距帧,并向车载设备100回复测距ACK帧。一些实施例中,中继设备还可以向电子钥匙设备200发送测距帧。基于此,电子钥匙设备200与中继设备之间建立UWB通道B1,车载设备100与中继设备的之间建立UWB通道B2。
基于通信通道检测中继攻击的方法800(以下简称方法800)包括如下步骤:
步骤S801,电子钥匙设备200通过蓝牙通道A向车载设备100发送第一业务指令。
其中,本步骤发生在车载设备100与电子钥匙设备200被中继设备通过中继建立蓝牙通道A之后。第一业务指令包含车载设备100打开车门的密文。
进而,车载设备100验证第一业务指令是合法指令之后,唤醒UWB模块1017,然后,车载设备100接入UWB通道。车载设备100例如接入UWB通道B。
然后,车载设备100持续向中继设备发送测距帧,并接收中继设备发送的测距ACK帧,以测量车载设备100与中继设备的距离。一些实施例中,中继设备还可以向电子钥匙设备200发送测距帧,相应的,电子钥匙设备200向中继设备发送测距ACK帧。车载设备100测距的操作过程,本申请此处不再详述。
进一步的,当车载设备100检测到该车载设备100与中继设备的距离例如小于或者等于2米时,车 载设备100执行步骤S802。
步骤S802,车载设备100通过蓝牙通道A2向中继设备发送业务请求。
步骤S803,中继设备通过蓝牙通道A1向电子钥匙设备200发送业务请求。
步骤S804,电子钥匙设备200确定蓝牙通道A1对应的通道标识BT02,以及UWB通道B1的通道标识UWB02。
其中,电子钥匙设备200根据第一规则确定BT02,并根据第二规则确定UWB02。UWB02例如是UWB通道B1的前导序列。
步骤S805,电子钥匙设备200生成第二业务指令。
示例性的,该第二业务指令中不仅包含打开车门的密钥计算出的密文,还包含BT02和UWB02。
步骤S806,电子钥匙设备200通过蓝牙通道A1向中继设备发送第二业务指令。
步骤S807,中继设备通过蓝牙通道A2向车载设备100发送第二业务指令。
步骤S808,车载设备100确定蓝牙通道标识BT03和UWB通道标识UWB03。
其中,BT03指示蓝牙通道A2,UWB03指示UWB通道B2。车载设备100根据第一规则确定BT03,并根据第二规则确定UWB03。UWB03例如是UWB通道B2的前导序列。
步骤S809,车载设备100确定BT03与BT02不匹配,且UWB02与UWB03不同。
其中,蓝牙通道A2的通道信息与蓝牙通道A1的通道信息不同,因此,使用相同的种类的通道信息生成的蓝牙通道标识也不匹配,即,蓝牙通道A1的通道标识是BT02,蓝牙通道A2的通道标识是BT03,且BT02和BT03的相似度参数小于预设阈值。
BT03与BT02不同,说明蓝牙通道A已经被中继攻击。同理,UWB02与UWB01不同,说明车载设备100所连接的UWB通道与电子钥匙设备200所连接的UWB通道不是同一条UWB通道,进而,说明存在中继攻击。
步骤S810,车载设备100输出报警信息。
可以理解的是,图4E示意的中继场景仅仅是一种示意性描述,对本申请所涉及的中继场景不构成限制。在另一些实施例中,车载设备100和电子钥匙设备200之间可以存在多台中继设备,并且,车载设备100和电子钥匙设备200可以分别连接不同的中继设备,中继设备之间也可以进行通信,以将电子钥匙设备200生成的数据传输给车载设备100。相应的,对应图4E示意的中继场景,本申请还可以采用方法500或者方法600示意的基于通信通道检测中继攻击的方法执行通信,具体的,本申请此处不再详述。
此外,方法500至方法800均是示意性描述,对本申请所涉及的基于通信通道检测中继攻击的方法不构成限制。在其他一些实施例中,在本申请技术思想的基础上,还可以包括其他操作步骤。在另一些实施例中,在本申请技术思想的基础上,上述各方法的操作步骤可以调换。本申请此处不再详述。
综上,为提高PEPS系统的安全性,本申请提供的车载设备和电子钥匙设备中预设通道标识确定规则,进而,在通信过程中,电子钥匙设备使用该通道标识确定规则生成通道标识,并发送到该电子钥匙设备的对端设备。该通道标识是电子钥匙设备当前连接的通信通道的标识。相应的,车载设备从该车载设备的对端设备接收通道标识之后,根据该通道标识确定规则生成车载设备所接收的通信通道的通道标识,进而,车载设备通过检测所接收的通道标识与车载设备生成的通道标识是否相同,来确定该车载设备与该电子钥匙设备之间是否存在中继攻击,进而,确定是否打开车门。
上述本申请提供的实施例中,分别从各个设备本身、以及从各个设备之间交互的角度对本申请实施例提供的基于通信通道检测中继攻击的方法的各方案进行了介绍。例如上述车载设备、电子钥匙设备等 为实现上述功能,包含了执行各个功能相应的硬件结构和软件模块中的最少一种。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
例如,一些实施例中,车载设备可以包括处理模块和收发模块。所述收发模块可以用于执行方法100、方法300、方法500至方法800中车载设备与电子钥匙设备之间信息的收发。所述处理模块可以用于执行方法100、方法300、方法500至方法800中车载设备除信息收发之外的操作。
可以理解的是,以上各个模块的划分仅仅是一种逻辑功能的划分,实际实现时,所述收发模块的功能可以集成到收发器,所述处理模块的功能可以集成到处理器实现。如图5A所示,车载设备50包括处理器501和收发器502。所述收发器502可以执行方法100至方法800中车载设备与电子钥匙设备之间信息的收发。所述处理器501可以执行方法100至方法800中车载设备除信息收发之外的操作。
例如,一些实施例中,该收发器502可以用于通过第一通信通道从第一设备接收第一标识,第一标识用于标识与第二通信通道类型相同的通信通道,第一通信通道和第二通信通道相互独立,且均用于连接车载设备和第一设备。该处理器501可以用于确定第二通信通道的通道标识。该处理器501还可以用于当车载设备与第一设备的距离在预设距离之内,且第二通信通道的通道标识与第一标识匹配时,响应预先接收的业务指令打开车门。
再如,另一些实施例中,该收发器502可以用于从第一设备接收业务指令,业务指令包含第一业务数据通道标识和第一测距通道标识,第一业务数据通道标识用于标识电子钥匙设备所连接的业务数据通道,第一测距通道标识用于标识电子钥匙设备所连接的测距通道。该处理器501可以用于确定第二业务数据通道标识和第二测距通道标识,第二业务数据通道标识用于标识车载设备所连接的业务数据通道,第二测距通道标识用于标识车载设备所连接的测距通道。该处理器501还可以用于当车载设备与第一设备的距离在预设距离之内,第一业务数据通道标识和第二业务数据通道标识相匹配,且第一测距通道标识和第二测距通道标识相同时,响应业务指令打开车门。
具体内容可以参考方法100、方法300、方法500至方法800对应的实施例中车载设备相关的描述,此处不再赘述。
图5A是从独立功能实体的角度对本申请的车载设备进行描述。在另一种实施场景中,各独立运行的功能实体可以集成在一个硬件实体中,相应的,如图5B所示,本实施场景中,车载设备51可以包括处理器511、收发器512和存储器513。其中,存储器513可以用于存储车载设备51预装的程序/代码,也可以存储用于处理器511执行时的代码等。
应理解,本申请的车载设备51可对应于本申请的方法100、方法300、方法500至方法800对应的实施例中的车载设备,其中收发器512用于执行收发器512对应的实施例中车载设备执行的信息的收发,处理器511用于执行上述方法100、方法300、方法500至方法800对应的实施例中车载设备除了信息收发之外的其它处理。在此不再赘述。
具体内容可以参考方法100、方法300、方法500至方法800对应的实施例中车载设备相关的描述,此处不再赘述。
同理,一些实施例中,电子钥匙设备可以包括处理模块和收发模块。所述收发模块可以用于执行方法200、方法400至方法800中电子钥匙设备与车载设备之间信息的收发。所述处理模块可以用于执行方法200、方法400至方法800中电子钥匙设备除信息收发之外的操作。
可以理解的是,以上各个模块的划分仅仅是一种逻辑功能的划分,实际实现时,所述收发模块的功能可以集成到收发器,所述处理模块的功能可以集成到处理器实现。如图6A所示,电子钥匙设备60包括处理器601和收发器602。所述收发器602可以执行方法200、方法400至方法800对应的实施例中电子钥匙设备所执行的信息的收发。所述处理器601可以执行方法200、方法400至方法800对应的实施例中电子钥匙设备除信息收发之外的操作。
例如,一些实施例中,该处理器601可以用于与第二设备建立第一通信通道。该处理器601还可以用于生成第一标识,第一标识用于标识与第二通信通道类型相同的通信通道,第二通信通道用于连接电子钥匙设备和第二设备,第一通信通道和第二通信通道相互独立。该收发器602可以用于通过第一通信通道向第二设备发送所述第一标识。
再如,另一些实施例中,该处理器601可以用于与第二设备建立业务数据通道和测距通道。该处理器601还可以用于确定第一业务数据通道标识和第一测距通道标识,第一业务数据通道标识用于标识业务数据通道,第一测距通道标识用于标识所述测距通道。该处理器601还可以用于生成业务指令,业务指令包括第一业务数据通道标识和第一测距通道标识。该收发器602可以用于通过业务数据通道向第二设备发送业务指令。
具体内容可以参考方法200、方法400至方法800对应的实施例中电子钥匙设备相关的描述,此处不再赘述。
图6A是从独立功能实体的角度对本申请的电子钥匙设备进行描述。在另一种实施场景中,各独立运行的功能实体可以集成在一个硬件实体中,相应的,如图6B所示,本实施场景中,电子钥匙设备61可以包括处理器611、收发器612和存储器613。其中,存储器613可以用于存储电子钥匙设备61预装的程序/代码,也可以存储用于处理器611执行时的代码等。
应理解,本申请的电子钥匙设备61可对应于本申请的方法200、方法400至方法800对应的实施例中的电子钥匙设备,其中收发器612用于执行收发器612对应的实施例中电子钥匙设备执行的信息的收发,处理器611用于执行上述方法200、方法400至方法800对应的实施例中电子钥匙设备除了信息收发之外的其它处理。在此不再赘述。
具体内容可以参考方法200、方法400至方法800对应的实施例中电子钥匙设备相关的描述,此处不再赘述。
具体实现中,对应车载设备和电子钥匙设备,本申请还分别提供一种计算机存储介质,其中,设置在任意设备中的计算机存储介质可存储有程序,该程序执行时,可实施包括图3A至图4E提供的基于通信通道检测中继攻击的方法的各实施例中的部分或全部步骤。任意设备中的存储介质均可为磁碟、光盘、只读存储记忆体(read-only memory,ROM)或随机存储记忆体(random access memory,RAM)等。
本申请中,收发器可以是有线收发器,无线收发器或其组合。有线收发器例如可以为以太网接口。以太网接口可以是光接口,电接口或其组合。无线收发器例如可以为无线局域网收发器,蜂窝网络收发器或其组合。处理器可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。处理器还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。存储器可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器也可以包括非易失性存储器(non-volatile memory), 例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器还可以包括上述种类的存储器的组合。
图5B和图6B中还可以包括总线接口,总线接口可以包括任意数量的互联的总线和桥,具体由处理器代表的一个或多个处理器和存储器代表的存储器的各种电路链接在一起。总线接口还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发器提供用于在传输介质上与各种其他设备通信的单元。处理器负责管理总线架构和通常的处理,存储器可以存储处理器在执行操作时所使用的报文。
本领域技术任何还可以了解到本申请实施例列出的各种说明性逻辑块(illustrative logical block)和步骤(step)可以通过电子硬件、电脑软件,或两者的结合进行实现。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本申请实施例保护的范围。
本申请实施例中所描述的各种说明性的逻辑单元和电路可以通过通用处理器,数字信号处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信号处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信号处理器核,或任何其它类似的配置来实现。
本申请实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件单元、或者这两者的结合。软件单元可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中,ASIC可以设置于UE中。可选地,处理器和存储媒介也可以设置于UE中的不同的部件中。
应理解,在本申请的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对实施例的实施过程构成任何限定。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或报文中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或报文中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、报文中心等报文存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
本说明书的各个部分均采用递进的方式进行描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点介绍的都是与其他实施例不同之处。尤其,对于装置和系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例部分的说明即可。
另外,本申请提及的“第一”以及“第二”等序数词,用于对多个相同属性但包含不同内容的对象 进行区分。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。
Claims (29)
- 一种基于通信通道检测中继攻击的方法,其特征在于,所述方法包括:车载设备通过第一通信通道从第一设备接收第一标识,所述第一标识用于标识与第二通信通道类型相同的通信通道,所述第一通信通道和所述第二通信通道相互独立,且均用于连接所述车载设备和所述第一设备;所述车载设备确定所述第二通信通道的通道标识;当所述车载设备与所述第一设备的距离在预设距离之内,且所述第二通信通道的通道标识与所述第一标识匹配时,所述车载设备响应预先接收的业务指令打开车门。
- 如权利要求1所述的方法,其特征在于,所述车载设备通过第一通信通道从第一设备接收第一标识,包括:当所述第一通信通道是业务数据通道时,所述车载设备通过所述业务数据通道从所述第一设备接收会话密文,所述业务数据通道用于传输业务数据,测距通道标识用于标识所述测距通道;或者,当所述第一通信通道是测距通道时,所述车载设备通过所述测距通道从所述第一设备接收测距确认字符ACK帧,所述测距ACK帧中包含业务数据通道标识,所述测距通道用于传输测距数据。
- 如权利要求2所述的方法,其特征在于,所述会话密文是将测距通道标识加密得到的。
- 如权利要求1所述的方法,其特征在于,所述车载设备确定所述第二通信通道的通道标识,包括:当所述第二通信通道是业务数据通道时,所述车载设备根据第一规则提取所述第二通信通道的通道信息中的至少一个信息,所述第二通信通道的通道信息包括以下一项或多项:业务数据通道的传输频段、时域信息、频域信息、多径延迟信息、信号强度、信号相位,所述第一规则用于指示所述车载设备确定业务数据通道标识;所述车载设备根据所述通道信息中的至少一个信息生成所述第二通信通道的业务数据通道标识;或者,当所述第二通信通道是测距通道时,所述车载设备根据第二规则获取所述第二通信通道的通道信息中的指定信息作为所述第二通信通道的测距通道标识,所述第二通信通道的通道信息包括测距通道的通用唯一识别码UUID、测距通道地址、测距通道的会话标识、测距通道会话的前导序列和测距帧返回的时间戳,所述第二规则用于指示所述车载设备确定测距通道标识。
- 如权利要求1至4中任一项所述的方法,其特征在于,在所述车载设备确定所述第二通信通道的通道标识之后,在所述车载设备响应预先接收的业务指令打开车门之前,还包括:当所述第二通信通道的通道标识和所述第一标识是业务数据通道标识时,所述车载设备检测所述第二通信通道的通道标识与所述第一标识的相似度参数大于预设阈值,则确定所述第二通信通道的通道标识与所述第一标识相匹配;或者,当所述第二通信通道的通道标识和所述第一标识是测距通道标识时,所述车载设备检测所述第二通信通道的通道标识与所述第一标识相同,则确定所述第二通信通道的通道标识与所述第一标识相匹配。
- 如权利要求1至5中任一项所述的方法,其特征在于,所述车载设备通过第一通信通道从第一设备接收第一标识之前,还包括:所述车载设备通过与所述第一设备相连接的业务数据通道接收业务指令;所述车载设备建立与所述第一设备相连接的测距通道。
- 一种基于通信通道检测中继攻击的方法,其特征在于,所述方法包括:车载设备从第一设备接收业务指令,所述业务指令包含第一业务数据通道标识和第一测距通道标识,所述第一业务数据通道标识用于标识电子钥匙设备所连接的业务数据通道,所述第一测距通道标识用于标识所述电子钥匙设备所连接的测距通道;所述车载设备确定第二业务数据通道标识和第二测距通道标识,所述第二业务数据通道标识用于标识所述车载设备所连接的业务数据通道,所述第二测距通道标识用于标识所述车载设备所连接的测距通道;当所述车载设备与所述第一设备的距离在预设距离之内,所述第一业务数据通道标识和所述第二业务数据通道标识相匹配,且所述第一测距通道标识和所述第二测距通道标识相同时,所述车载设备响应所述业务指令打开车门。
- 一种基于通信通道检测中继攻击的方法,其特征在于,所述方法包括:电子钥匙设备与第二设备建立第一通信通道;所述电子钥匙设备生成第一标识,所述第一标识用于标识与第二通信通道类型相同的通信通道,所述第二通信通道用于连接所述电子钥匙设备和所述第二设备,所述第一通信通道和所述第二通信通道相互独立;所述电子钥匙设备通过所述第一通信通道向所述第二设备发送所述第一标识。
- 如权利要求8所述的方法,其特征在于,所述电子钥匙设备生成第一标识包括:当所述第二通信通道是业务数据通道时,所述电子钥匙设备根据第一规则提取所述第二通信通道的通道信息中的至少一个信息,所述第二通信通道的通道信息包括以下一项或多项:业务数据通道的传输频段、时域信息、频域信息、多径延迟信息、信号强度、信号相位,所述第一规则用于指示车载设备确定业务数据通道标识;所述电子钥匙设备根据所述通道信息中的至少一个信息生成所述第二通信通道的业务数据通道标识,得到所述第一标识;或者,当所述第二通信通道是测距通道时,所述电子钥匙设备根据第二规则获取所述第二通信通道的通道信息中的指定信息作为所述第二通信通道的测距通道标识,得到所述第一标识,所述第二通信通道的通道信息包括测距通道的通用唯一识别码UUID、测距通道地址、测距通道的会话标识、测距通道会话的前导序列和测距帧返回的时间戳,所述第二规则用于指示所述车载设备确定测距通道标识。
- 如权利要求9所述的方法,其特征在于,所述电子钥匙设备通过所述第一通信通道向所述第二设备发送所述第一标识,包括:当所述第一标识是业务数据通道标识时,所述电子钥匙设备将所述业务数据通道标识携带在测距确认字符ACK帧中,并通过所述测距通道发送所述测距ACK帧;或者,当所述第一标识是测距通道标识时,所述电子钥匙设备将所述测距通道标识加密得到会话密文,并通过所述业务数据通道测距通道发送所述会话密文。
- 如权利要求9或10所述的方法,其特征在于,当所述第一通信通道是所述业务数据通道时,电子钥匙设备与第二设备建立第一通信通道之后,生成第一标识之前,还包括:所述电子钥匙设备通过所述业务数据通道向所述第二设备发送业务指令;所述电子钥匙设备与所述第二设备建立所述测距通道。
- 一种基于通信通道检测中继攻击的方法,其特征在于,所述方法包括:电子钥匙设备与第二设备建立业务数据通道和测距通道;所述电子钥匙设备确定第一业务数据通道标识和第一测距通道标识,所述第一业务数据通道标识用于标识所述业务数据通道,所述第一测距通道标识用于标识所述测距通道;所述电子钥匙设备生成业务指令,所述业务指令包括所述第一业务数据通道标识和所述第一测距通道标识;所述电子钥匙设备通过所述业务数据通道向所述第二设备发送所述业务指令。
- 一种车载设备,其特征在于,所述车载设备包括处理器和收发器,其中,所述收发器,用于通过第一通信通道从第一设备接收第一标识,所述第一标识用于标识与第二通信通道类型相同的通信通道,所述第一通信通道和所述第二通信通道相互独立,且均用于连接所述车载设备和所述第一设备;所述处理器,用于确定所述第二通信通道的通道标识;所述处理器,还用于当所述车载设备与所述第一设备的距离在预设距离之内,且所述第二通信通道的通道标识与所述第一标识匹配时,响应预先接收的业务指令打开车门。
- 如权利要求13所述的车载设备,其特征在于,所述收发器,还用于当所述第一通信通道是业务数据通道时,通过所述业务数据通道从所述第一设备接收会话密文,所述业务数据通道用于传输业务数据,测距通道标识用于标识所述测距通道;所述收发器,还用于当所述第一通信通道是测距通道时,通过所述测距通道从所述第一设备接收测距确认字符ACK帧,所述测距ACK帧中包含业务数据通道标识,所述测距通道用于传输测距数据,所述业务数据通道标识用于标识所述业务数据通道。
- 如权利要求14所述的车载设备,其特征在于,所述会话密文是将测距通道标识加密得到的。
- 如权利要求13所述的车载设备,其特征在于,所述处理器,还用于当所述第二通信通道是业务数据通道时,根据第一规则提取所述第二通信通道的通道信息中的至少一个信息,所述第二通信通道的通道信息包括以下一项或多项:业务数据通道的传输频段、时域信息、频域信息、多径延迟信息、信号强度、信号相位,所述第一规则用于指示所述车载设备确定业务数据通道标识;所述处理器,还用于根据所述通道信息中的至少一个信息生成所述第二通信通道的业务数据通道标识;所述处理器,还用于当所述第二通信通道是测距通道时,根据第二规则获取所述第二通信通道的通道信息中的指定信息作为所述第二通信通道的测距通道标识,所述第二通信通道的通道信息包括测距通道的通用唯一识别码UUID、测距通道地址、测距通道的会话标识、测距通道会话的前导序列和测距帧返回的时间戳,所述第二规则用于指示所述车载设备确定测距通道标识。
- 如权利要求13至16中任一项所述的车载设备,其特征在于,所述处理器,还用于当所述第二通信通道的通道标识和所述第一标识是业务数据通道标识时,检测所述第二通信通道的通道标识与所述第一标识的相似度参数大于预设阈值,则确定所述第二通信通道的通道标识与所述第一标识相匹配;所述处理器,还用于当所述第二通信通道的通道标识和所述第一标识是测距通道标识时,检测所述第二通信通道的通道标识与所述第一标识相同,则确定所述第二通信通道的通道标识与所述第一标识相匹配。
- 如权利要求13至17中任一项所述的车载设备,其特征在于,所述收发器,还用于通过与所述第一设备相连接的业务数据通道接收业务指令;所述处理器,还用于建立与所述第一设备相连接的测距通道。
- 一种车载设备,其特征在于,所述车载设备包括处理器和收发器,其中,所述收发器,用于从第一设备接收业务指令,所述业务指令包含第一业务数据通道标识和第一测距通道标识,所述第一业务数据通道标识用于标识电子钥匙设备所连接的业务数据通道,所述第一测距通道标识用于标识所述电子钥匙设备所连接的测距通道;所述处理器,用于确定第二业务数据通道标识和第二测距通道标识,所述第二业务数据通道标识用于标识所述车载设备所连接的业务数据通道,所述第二测距通道标识用于标识所述车载设备所连接的测距通道;所述处理器,还用于当所述车载设备与所述第一设备的距离在预设距离之内,所述第一业务数据通道标识和所述第二业务数据通道标识相匹配,且所述第一测距通道标识和所述第二测距通道标识相同时,响应所述业务指令打开车门。
- 一种电子钥匙设备,其特征在于,所述电子钥匙设备包括处理器和收发器,其中,所述处理器,用于与第二设备建立第一通信通道;所述处理器,还用于生成第一标识,所述第一标识用于标识与第二通信通道类型相同的通信通道,所述第二通信通道用于连接所述电子钥匙设备和所述第二设备,所述第一通信通道和所述第二通信通道相互独立;所述收发器,用于通过所述第一通信通道向所述第二设备发送所述第一标识。
- 如权利要求20所述的电子钥匙设备,其特征在于,所述处理器,还用于当所述第二通信通道是业务数据通道时,根据第一规则提取所述第二通信通道的通道信息中的至少一个信息,所述第二通信通道的通道信息包括以下一项或多项:业务数据通道的传输频段、时域信息、频域信息、多径延迟信息、信号强度、信号相位,所述第一规则用于指示车载设备确定业务数据通道标识;所述处理器,还用于根据所述通道信息中的至少一个信息生成所述第二通信通道的业务数据通道标识,得到所述第一标识;所述处理器,还用于当所述第二通信通道是测距通道时,根据第二规则获取所述第二通信通道的通道信息中的指定信息作为所述第二通信通道的测距通道标识,得到所述第一标识,所述第二通信通道的通道信息包括测距通道的通用唯一识别码UUID、测距通道地址、测距通道的会话标识、测距通道会话的前导序列和测距帧返回的时间戳,所述第二规则用于指示所述车载设备确定测距通道标识。
- 如权利要求21所述的电子钥匙设备,其特征在于,所述处理器,还用于当所述第一标识是业务数据通道标识时,将所述业务数据通道标识携带在测距确认字符ACK帧中,并通过所述测距通道发送所述测距ACK帧;所述处理器,还用于当所述第一标识是测距通道标识时,将所述测距通道标识加密得到会话密文,并通过所述业务数据通道测距通道发送所述会话密文。
- 如权利要求21或22所述的电子钥匙设备,其特征在于,所述收发器,还用于通过所述业务数据通道向所述第二设备发送业务指令;所述处理器,还用于与所述第二设备建立所述测距通道。
- 一种电子钥匙设备,其特征在于,所述电子钥匙设备包括处理器和收发器,其中,所述处理器,用于与第二设备建立业务数据通道和测距通道;所述处理器,还用于确定第一业务数据通道标识和第一测距通道标识,所述第一业务数据通道标识用于标识所述业务数据通道,所述第一测距通道标识用于标识所述测距通道;所述处理器,还用于生成业务指令,所述业务指令包括所述第一业务数据通道标识和所述第一测距通道标识;所述收发器,用于通过所述业务数据通道向所述第二设备发送所述业务指令。
- 一种计算机可读存储介质,其特征在于,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1至6中任一项所述的方法,或执行如权利要求7所述的方法,或执行如权利要求8至11中任一项所述的方法,或执行如权利要求12所述的方法。
- 一种计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行如权利要求1至6中任一项所述的方法,或使得计算机执行如权利要求7所述的方法,或使得计算机执行如权利要求8至11中任一项所述的方法,或使得计算机执行如权利要求12所述的方法。
- 一种芯片,其特征在于,与存储器相连或者包括存储器,用于读取并执行所述存储器中存储的软件程序,以实现如权利要求1至6中任一项所述的方法,或以实现如权利要求7所述的方法,或以实现如权利要求8至11中任一项所述的方法,或以实现如权利要求12所述的方法。
- 一种通信系统,其特征在于,包括:车载设备与电子钥匙设备;所述车载设备,用于执行如权利要求1至6中任一项所述的方法;所述电子钥匙设备,用于执行如权利要求8至11中任一项所述的方法。
- 一种通信系统,其特征在于,包括:车载设备与电子钥匙设备;所述车载设备,用于执行如权利要求7项所述的方法;所述电子钥匙设备,用于执行如权利要求12所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910712929.X | 2019-08-02 | ||
| CN201910712929.XA CN110363899B (zh) | 2019-08-02 | 2019-08-02 | 基于通信通道检测中继攻击的方法及设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021023095A1 true WO2021023095A1 (zh) | 2021-02-11 |
Family
ID=68222128
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/105912 Ceased WO2021023095A1 (zh) | 2019-08-02 | 2020-07-30 | 基于通信通道检测中继攻击的方法及设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110363899B (zh) |
| WO (1) | WO2021023095A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114954353A (zh) * | 2021-02-24 | 2022-08-30 | 丰田自动车株式会社 | 信息处理设备、信息处理方法、以及系统 |
| CN119987661A (zh) * | 2025-01-10 | 2025-05-13 | 北京玄戒技术有限公司 | 数据存储方法、数据加载方法、装置、电子设备和介质 |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110363899B (zh) * | 2019-08-02 | 2021-06-15 | 华为技术有限公司 | 基于通信通道检测中继攻击的方法及设备 |
| CN110972063B (zh) * | 2019-10-25 | 2020-12-11 | 珠海格力电器股份有限公司 | 一种测距方法、装置、系统及可读介质 |
| CN113810886A (zh) * | 2020-05-27 | 2021-12-17 | 华为技术有限公司 | 验证方法及装置 |
| CN114071435B (zh) * | 2020-08-04 | 2024-05-17 | 上海海拉电子有限公司 | 一种基于蓝牙的车辆钥匙定位方法及系统 |
| CN114550343A (zh) * | 2020-11-10 | 2022-05-27 | Oppo广东移动通信有限公司 | 基于uwb的智能锁控制方法及装置、介质和电子设备 |
| JP2022171035A (ja) * | 2021-04-30 | 2022-11-11 | 株式会社東海理化電機製作所 | 通信装置、プログラム、およびシステム |
| US12542805B2 (en) * | 2021-05-12 | 2026-02-03 | Red Bend Ltd. | Detecting and mitigating Bluetooth based attacks |
| CN115993789A (zh) * | 2021-10-20 | 2023-04-21 | 北京骑胜科技有限公司 | 车辆控制方法、终端、服务器及程序产品 |
| CN118353590A (zh) * | 2023-01-13 | 2024-07-16 | 华为技术有限公司 | 通信方法及通信装置 |
| CN120238556B (zh) * | 2025-06-03 | 2025-07-25 | 重庆长安汽车股份有限公司 | 数据转发方法、装置、车辆、存储介质及程序产品 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150135268A1 (en) * | 2013-11-14 | 2015-05-14 | Multinnovation, Inc. | System and method to improve network security |
| CN105899413A (zh) * | 2013-12-03 | 2016-08-24 | 胡夫北美汽车零件制造股份有限公司 | 防止中继攻击的车辆控制系统 |
| CN106612130A (zh) * | 2015-10-26 | 2017-05-03 | 现代自动车株式会社 | 解决蓝牙兼容性问题的方法和装置 |
| US20170190420A1 (en) * | 2015-12-30 | 2017-07-06 | Namsung Co., Ltd. | Automatic flight control system and method for unmanned drone |
| CN107968766A (zh) * | 2016-10-19 | 2018-04-27 | 中国移动通信有限公司研究院 | 一种身份认证的方法及装置 |
| CN108632745A (zh) * | 2017-03-15 | 2018-10-09 | 恩智浦有限公司 | 安全设备 |
| CN109318856A (zh) * | 2017-07-31 | 2019-02-12 | 通用汽车环球科技运作有限责任公司 | 用于扩展车辆中被动进入及被动启动系统的范围的系统和方法 |
| CN110363899A (zh) * | 2019-08-02 | 2019-10-22 | 华为技术有限公司 | 基于通信通道检测中继攻击的方法及设备 |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102012007286A1 (de) * | 2012-04-12 | 2013-10-17 | Giesecke & Devrient Gmbh | Kontaktlose Transaktion |
| CN102673515B (zh) * | 2012-05-23 | 2016-08-31 | 杨涛 | 基于rfid的抗中继攻击的被动无钥开锁和启动方法 |
| US9215075B1 (en) * | 2013-03-15 | 2015-12-15 | Poltorak Technologies Llc | System and method for secure relayed communications from an implantable medical device |
| US8930045B2 (en) * | 2013-05-01 | 2015-01-06 | Delphi Technologies, Inc. | Relay attack prevention for passive entry passive start (PEPS) vehicle security systems |
| CN104935426B (zh) * | 2014-03-21 | 2018-11-30 | 华为技术有限公司 | 密钥协商方法、用户设备和近距离通信控制网元 |
| CA3158974A1 (en) * | 2016-07-08 | 2018-01-11 | Airbiquity Inc. | Automatic secure data transfer with a motor vehicle |
| CN106274796A (zh) * | 2016-08-08 | 2017-01-04 | 清华大学 | 一种汽车无钥匙控制系统 |
| US10229601B2 (en) * | 2017-01-30 | 2019-03-12 | GM Global Technology Operations LLC | System and method to exhibit vehicle information |
| CN109936833B (zh) * | 2017-12-15 | 2021-08-13 | 蔚来(安徽)控股有限公司 | 车辆虚拟钥匙生成使用方法及其系统以及用户终端 |
-
2019
- 2019-08-02 CN CN201910712929.XA patent/CN110363899B/zh active Active
-
2020
- 2020-07-30 WO PCT/CN2020/105912 patent/WO2021023095A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150135268A1 (en) * | 2013-11-14 | 2015-05-14 | Multinnovation, Inc. | System and method to improve network security |
| CN105899413A (zh) * | 2013-12-03 | 2016-08-24 | 胡夫北美汽车零件制造股份有限公司 | 防止中继攻击的车辆控制系统 |
| CN106612130A (zh) * | 2015-10-26 | 2017-05-03 | 现代自动车株式会社 | 解决蓝牙兼容性问题的方法和装置 |
| US20170190420A1 (en) * | 2015-12-30 | 2017-07-06 | Namsung Co., Ltd. | Automatic flight control system and method for unmanned drone |
| CN107968766A (zh) * | 2016-10-19 | 2018-04-27 | 中国移动通信有限公司研究院 | 一种身份认证的方法及装置 |
| CN108632745A (zh) * | 2017-03-15 | 2018-10-09 | 恩智浦有限公司 | 安全设备 |
| CN109318856A (zh) * | 2017-07-31 | 2019-02-12 | 通用汽车环球科技运作有限责任公司 | 用于扩展车辆中被动进入及被动启动系统的范围的系统和方法 |
| CN110363899A (zh) * | 2019-08-02 | 2019-10-22 | 华为技术有限公司 | 基于通信通道检测中继攻击的方法及设备 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114954353A (zh) * | 2021-02-24 | 2022-08-30 | 丰田自动车株式会社 | 信息处理设备、信息处理方法、以及系统 |
| CN119987661A (zh) * | 2025-01-10 | 2025-05-13 | 北京玄戒技术有限公司 | 数据存储方法、数据加载方法、装置、电子设备和介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110363899B (zh) | 2021-06-15 |
| CN110363899A (zh) | 2019-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110363899B (zh) | 基于通信通道检测中继攻击的方法及设备 | |
| US10551838B2 (en) | Method and system for multiple sensor correlation diagnostic and sensor fusion/DNN monitor for autonomous driving application | |
| US10712556B2 (en) | Image information processing method and augmented reality AR device | |
| US9963106B1 (en) | Method and system for authentication in autonomous vehicles | |
| US10952243B2 (en) | Method, system and device for network communications within a vehicle | |
| US10992860B2 (en) | Dynamic seam adjustment of image overlap zones from multi-camera source images | |
| US10608941B2 (en) | Dual-network for fault tolerance | |
| US11892560B2 (en) | High precision multi-sensor extrinsic calibration via production line and mobile station | |
| US10845803B2 (en) | Method and apparatus for simultaneous processing and logging of automotive vision system with controls and fault monitoring | |
| US10424176B2 (en) | AMBER alert monitoring and support | |
| US11647164B2 (en) | Methods and systems for camera sharing between autonomous driving and in-vehicle infotainment electronic control units | |
| US10818110B2 (en) | Methods and systems for providing a mixed autonomy vehicle trip summary | |
| US20200294385A1 (en) | Vehicle operation in response to an emergency event | |
| CN110175686A (zh) | 监测车辆保养质量 | |
| JP7568504B2 (ja) | 受光装置及び測距装置 | |
| US10560253B2 (en) | Systems and methods of controlling synchronicity of communication within a network of devices | |
| JP2017220051A (ja) | 画像処理装置、画像処理方法、および車両 | |
| CN113132893A (zh) | 一种高精度定位方法、车载终端及系统 | |
| CN114466333B (zh) | 一种基于eSIM和5G的车联网控制系统 | |
| CN116359943A (zh) | 使用无源图像传感器和现有光源的飞行时间相机 | |
| ISMAIL et al. | Potential and limitation of Internet of Things (IOT) application in the automotive industry: An overview | |
| US20230150536A1 (en) | Vehicle-road collaboration | |
| CN111819626B (zh) | 一种语音交互的方法及装置 | |
| CN113132074B (zh) | 信息传输方法、通信设备与系统、计算机可读存储介质 | |
| JP7619295B2 (ja) | 車両用装置、情報統合方法 |
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: 20850582 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20850582 Country of ref document: EP Kind code of ref document: A1 |