Vehicle digital key attack protection method and system based on double-end synchronization signal
By employing a vehicle digital key attack protection method based on dual-end synchronization signals, the RSSI consistency index of vehicles and mobile devices is calculated, a threshold library is constructed, and anomalies are identified in real time. This solves the problems of relay attacks and threshold adaptability, thereby improving system security and adaptability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- WUHAN JIANGXIA CHUNENG AUTOMOBILE TECHNOLOGY R&D CO LTD
- Filing Date
- 2026-01-14
- Publication Date
- 2026-04-24
AI Technical Summary
Existing vehicle digital key technologies suffer from insufficient protection against relay attacks, poor threshold adaptability, and significant impact from mobile devices and vehicle models, leading to a decline in security and user experience.
By acquiring RSSI data from both the vehicle and mobile terminals, a consistency index is calculated between the two terminals. A consistency index threshold library is constructed that associates different mobile models with vehicle models. Cloud computing is used to identify anomalies in real time and generate personalized thresholds to determine whether to unlock.
It effectively defends against relay attacks, improves system security and identification accuracy, adapts to various mobile device models and complex environments, and enhances user experience.
Smart Images

Figure CN121924486A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle digital key technology, and in particular to a method and system for protecting vehicle digital key from attacks based on dual-end synchronization signals. Background Technology
[0002] With the development of smart car digital key technology, Bluetooth Low Energy (BLE) has become the primary communication method for achieving seamless unlocking and locking between the vehicle and mobile devices. Traditional digital key solutions mainly rely on the vehicle to collect the Received Signal Strength Indicator (RSSI) of the BLE signal from the mobile device to determine whether the user is near the vehicle, thereby controlling the unlocking or locking operation. However, existing technologies have the following main problems: High security risk: Attackers can use relay devices or signal amplifiers to forward remotely moving BLE signals to vehicles, forging signals of approach to the vehicle and inducing unauthorized unlocking. Traditional single-ended RSSI threshold judgment methods cannot effectively detect this type of relay attack.
[0003] Significant differences exist between mobile models: different mobile brands, models, and Bluetooth chips have different transmission power and signal reception characteristics, which can easily lead to misjudgments in the fixed threshold judgment at the vehicle end, reducing user experience and system security.
[0004] Lack of dual-end verification mechanism: Most existing solutions only perform RSSI judgment on the vehicle side, lacking dual-end verification involving the mobile terminal, which allows attackers to easily bypass security protection by forging single-end signals.
[0005] Therefore, existing technologies are insufficient to effectively defend against relay attacks while ensuring user experience, and they are also difficult to adapt to the diverse usage scenarios of multiple mobile and complex vehicle models. Summary of the Invention
[0006] This invention provides a vehicle digital key attack protection method and system based on dual-end synchronization signals, aiming to solve the problems of insufficient relay attack protection, poor threshold adaptability, and significant impact of mobile terminals and vehicle models in the prior art. Firstly, a method for protecting against vehicle digital key attacks based on dual-end synchronization signals is provided, including: Obtain the RSSI data received by the target vehicle from the mobile terminal; Obtain the vehicle-side RSSI data received by the target mobile terminal; Calculate the consistency index between the mobile terminal RSSI data and the vehicle terminal RSSI data; Construct a consistency index threshold library that links different mobile phone models with different vehicle models; Based on the target vehicle terminal and the target mobile terminal, a target threshold is selected from the consistency index threshold library; Based on the dual-end consistency index and the target threshold, determine whether to unlock the target vehicle.
[0007] In some embodiments, calculating the dual-end consistency index based on the mobile terminal RSSI data and the vehicle terminal RSSI data includes: Synchronize the vehicle-side RSSI data with the mobile-side RSSI data in time; For each synchronization moment, calculate the absolute difference between the vehicle-side RSSI data and the mobile-side RSSI data; The average of the absolute differences over all time points is used as the two-end consistency index.
[0008] In some embodiments, the method for averaging the absolute differences over all time points, where the average value is a two-way consistency index, is shown in the following formula: ; In the formula, RRSI diff RRSI is a two-end consistency index. app (i) represents the mobile terminal RSSI data corresponding to time i; RRSI car (i) represents the vehicle-side RSSI data corresponding to time i; n represents the time length, n=1,2,3...i.
[0009] In some embodiments, constructing a consistency index threshold library that associates different mobile phone models with different vehicle models includes: Acquire historical mobile RSSI data and historical vehicle RSSI data for different mobile phone models and different vehicle models; Synchronize the historical mobile terminal RSSI data corresponding to a target mobile model with the historical vehicle terminal RSSI data corresponding to a target vehicle model in time; For each synchronization moment, calculate the absolute difference between the historical vehicle-side RSSI data and the historical mobile-side RSSI data; The average of the absolute differences over all time points is used as the consistency index threshold for associating a target mobile model with a target vehicle model, and a consistency index threshold library for associating different mobile models with different vehicle models is obtained.
[0010] In some embodiments, selecting a target threshold from the consistency index threshold library based on the target vehicle terminal and the target mobile terminal includes: Obtain the vehicle model corresponding to the target vehicle; Obtain the mobile phone model corresponding to the target mobile device; Based on the vehicle model and mobile model, locate the vehicle model and mobile model in the consistency index threshold library; The target thresholds for the associated target vehicle and target mobile device are obtained based on the located vehicle and mobile device models.
[0011] In some embodiments, determining whether to unlock the target vehicle based on the bilateral consistency index and the target threshold includes: When the dual-end consistency index is detected to be less than or equal to the target threshold, it is determined that the target vehicle should be unlocked. When the dual-end consistency index is detected to be greater than the target threshold, a security warning is triggered.
[0012] In some embodiments, before acquiring the RSSI data received by the target vehicle terminal from the mobile terminal, the process includes: Control the target vehicle terminal and the target mobile terminal to pair via Bluetooth; Once successful Bluetooth pairing is detected between the target vehicle and the target mobile device, a Bluetooth connection is established between them.
[0013] Secondly, a vehicle digital key attack protection system based on dual-end synchronization signals is provided, including: The mobile data acquisition module is used to acquire the mobile RSSI data received by the target vehicle. The vehicle-side data acquisition module is used to acquire the vehicle-side RSSI data received by the target mobile terminal; The indicator calculation module is communicatively connected to the mobile data acquisition module and the vehicle-side data acquisition module, and is used to calculate the dual-end consistency index based on the mobile terminal RSSI data and the vehicle-side RSSI data. The threshold library construction module is used to build a consistency index threshold library that associates different mobile phone models with different vehicle models. A threshold selection module, communicatively connected to the threshold library construction module, is used to select a target threshold from the consistency index threshold library based on the target vehicle terminal and the target mobile terminal; and... The unlocking determination module is communicatively connected to the indicator calculation module and the threshold selection module, and is used to determine whether to unlock the target vehicle based on the dual-end consistency indicator and the target threshold.
[0014] Thirdly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the vehicle digital key attack protection method based on dual-end synchronization signals as described above.
[0015] Fourthly, embodiments of the present invention provide an electronic device, including a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor. When the processor executes the computer program, it implements the vehicle digital key attack protection method based on dual-end synchronization signals as described above.
[0016] Compared with the prior art, the advantages of the present invention are as follows: 1. A typical characteristic of relay attacks is that the attacking device relays, amplifies, or delays the signal before forwarding, causing the RSSI (Resonance Signal Indicator) performance of the vehicle and mobile devices to become out of sync. This invention verifies the "RSSI consistency index" between the two ends without relying on absolute distance, scene conditions, or how the mobile phone is held. Therefore, when an attacker forwards the signal, it inevitably disrupts the temporal correlation and strength trend consistency of the RSSI. This invention can identify anomalies in real time through a consistency threshold calculated in the cloud, making relay attacks more difficult to execute.
[0017] 2. Since RSSI strength is significantly affected by the antenna structure of different brands and models of mobile phones, this invention aggregates large-scale data from multiple users, models, and scenarios in the cloud, automatically learns the stability distribution of RSSI for each model, and generates model-level thresholds, thereby effectively offsetting hardware differences and improving overall recognition accuracy. Attached Figure Description
[0018] Figure 1 This is a schematic flowchart of an embodiment of a vehicle digital key attack protection method based on dual-end synchronization signals according to the present invention; Figure 2 This is a flowchart illustrating another embodiment of the vehicle digital key attack protection method based on dual-end synchronization signals of the present invention. Figure 3 This is a schematic diagram of the structure of a vehicle digital key attack protection system based on dual-end synchronization signals according to the present invention. Detailed Implementation
[0019] Referring now to specific embodiments of the invention, examples of which are illustrated in the accompanying drawings. Although the invention will be described in conjunction with specific embodiments, it will be understood that it is not intended to limit the invention to the described embodiments. Rather, it is intended to cover variations, modifications, and equivalents included within the spirit and scope of the invention as defined by the appended claims. It should be noted that the method steps described herein can be implemented by any functional block or functional arrangement, and any functional block or functional arrangement can be implemented as a physical entity or a logical entity, or a combination of both.
[0020] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0021] Note: The examples described below are merely specific examples and are not intended to limit the embodiments of the present invention to the specific steps, values, conditions, data, order, etc. Those skilled in the art can utilize the concept of the present invention to construct more embodiments not mentioned herein by reading this specification.
[0022] Please see Figure 1 This invention provides a method for protecting against vehicle digital key attacks based on dual-end synchronization signals. The method includes: Step S100: Obtain the RSSI data received by the target vehicle from the mobile terminal; Step S200: Obtain the vehicle-side RSSI data received by the target mobile terminal; When the target mobile device approaches the target vehicle, the target vehicle will receive the RSSI data sent by the mobile device, which is the mobile device's RSSI data. At the same time, the target mobile device will also acquire the RSSI data sent by the vehicle that it has received, which is the vehicle's RSSI data.
[0023] The obtained RSSI data is shown in Table (I) below: Table (1)
[0024] Before acquiring RSSI data from the mobile device and the vehicle, it is necessary to control the target vehicle and the target mobile device to pair via Bluetooth. Only when the target vehicle and the target mobile device are successfully paired can the subsequent steps S100 and S200 be performed.
[0025] Bluetooth pairing is performed as follows: the target vehicle broadcasts Bluetooth to initiate Bluetooth pairing; the target vehicle receives the Bluetooth pairing request from the target mobile device and pairs with the target mobile device; after successful Bluetooth pairing, the target vehicle and the target mobile device establish a Bluetooth connection.
[0026] Step S300: Calculate the dual-end consistency index based on the mobile terminal RSSI data and the vehicle terminal RSSI data, including: Step S310: Synchronize the vehicle-side RSSI data with the mobile-side RSSI data in time; Specifically, the timestamp on the vehicle is selected as the reference axis, and the RSSI data of the mobile terminal is mapped onto the time axis of the vehicle. For each moment on the vehicle, if the mobile terminal does not have corresponding time data, linear interpolation is performed using the two points before and after to supplement the mobile terminal data.
[0027] Step S320: For each synchronization time, calculate the absolute difference between the vehicle-side RSSI data and the mobile-side RSSI data; Step S330: Calculate the average of the absolute differences over all time points. The method for using the average as a two-way consistency index is shown in the following formula: ; In the formula, RRSI diff RRSI is a two-end consistency index. app (i) represents the mobile terminal RSSI data corresponding to time i; RRSI car (i) represents the vehicle-side RSSI data corresponding to time i; n represents the time length, n=1,2,3...i.
[0028] Specifically, in this embodiment of the invention, interval sampling is performed at the vehicle end, with 5 samplings, and the consistency index between the two ends is calculated. The sample data is shown in Table (II) below: Table (II)
[0029] Therefore, the calculated value of the two-end consistency index is... .
[0030] Step S400: Construct a consistency index threshold library that associates different mobile phone models with different vehicle models, including: Acquire historical mobile RSSI data and historical vehicle RSSI data for different mobile phone models and different vehicle models; Synchronize the historical mobile terminal RSSI data corresponding to a target mobile model with the historical vehicle terminal RSSI data corresponding to a target vehicle model in time; For each synchronization moment, calculate the absolute difference between the historical vehicle-side RSSI data and the historical mobile-side RSSI data; The average of the absolute differences over all time points is used as the consistency index threshold for associating a target mobile model with a target vehicle model, and a consistency index threshold library for associating different mobile models with different vehicle models is obtained.
[0031] Specifically, in this embodiment of the invention, RSSI data distributions for each group can be generated according to mobile phone model and vehicle model. Each group of RSSI data distributions corresponds to a target mobile phone model and a target vehicle model. The historical mobile terminal RSSI data corresponding to a target mobile phone model and the historical vehicle terminal RSSI data corresponding to a target vehicle model are synchronized in time. For each synchronization moment, the absolute difference between the historical vehicle terminal RSSI data and the historical mobile phone RSSI data is calculated. The average of the absolute differences over all moments is taken as the consistency index threshold for associating a target mobile phone model and a target vehicle model. Therefore, the specific implementation of the obtained consistency index threshold for associating a target mobile phone model and a target vehicle model can be found in step S300, and will not be elaborated further here.
[0032] Finally, based on the consistency index threshold library obtained in the above manner for different mobile phone models and different vehicle models, some of which can be seen in Table (III) below: Table (III)
[0033] Step S500, selecting a target threshold from the consistency index threshold library based on the target vehicle terminal and the target mobile terminal, includes: Obtain the vehicle model corresponding to the target vehicle; Obtain the mobile phone model corresponding to the target mobile device; Based on the vehicle model and mobile model, locate the vehicle model and mobile model in the consistency index threshold library; The target thresholds for the associated target vehicle and target mobile device are obtained based on the located vehicle model and mobile device model.
[0034] Step S600, based on the dual-end consistency index and the target threshold, determines whether to unlock the target vehicle, including: When the dual-end consistency index is detected to be less than or equal to the target threshold, it is determined that the target vehicle should be unlocked. When the dual-end consistency index is detected to be greater than the target threshold, a security warning is triggered.
[0035] Specifically, in this embodiment of the invention, in step S300, the calculated value of the obtained bilateral consistency index is set to... Furthermore, the threshold for the dual-end consistency index of a certain mobile phone model is 2.
[0036] Due to 3 / 5 If the detection is successful, the vehicle will grant passage. Otherwise, a safety warning will be triggered, alerting the user to the safety risks.
[0037] See also Figure 2As shown in the figure, the vehicle digital key attack protection method based on dual-end synchronization signal provided by the present invention specifically includes the following steps: Obtain the RSSI data received by the target vehicle from the mobile terminal; Obtain the vehicle-side RSSI data received by the target mobile terminal; Calculate the consistency index between the mobile terminal RSSI data and the vehicle terminal RSSI data; Construct a consistency index threshold library that links different mobile phone models with different vehicle models; Based on the target vehicle terminal and the target mobile terminal, a target threshold is selected from the consistency index threshold library; Based on the dual-end consistency index and the target threshold, determine whether to unlock the target vehicle.
[0038] Specifically, this invention proposes a vehicle digital key attack protection method based on dual-end synchronization signals, aiming to solve problems such as insufficient relay attack protection, poor threshold adaptability, and significant environmental impact in existing technologies. Its technical solution includes the following key points: 1. Dual-End Consistency Detection: The vehicle and mobile terminals independently collect each other's BLE signal RSSI and calculate a dual-end consistency index to measure the degree of matching between the vehicle and mobile signals. By comparing the signal change trends and short-term fluctuation characteristics at both ends in real time, abnormal signals or relay attacks can be effectively identified.
[0039] 2. Collect a large amount of RSSI data from different mobile phone models and usage scenarios in the cloud, and statistically calculate the historical distribution of the dual-end consistency index and the stability of the RSSI signal. Generate personalized thresholds for each model in the cloud, including the use of consistency reliability thresholds, to achieve automatic adaptation to different mobile phone models.
[0040] 3. Upon receiving the threshold from the cloud, the vehicle determines whether to allow unlocking or locking based on the consistency and stability indicators between the two ends. If the consistency indicator is less than the threshold and the signal is stable, unlocking is performed; if it is higher than the threshold or the signal is unstable, unlocking is refused and an alarm is triggered, thereby improving system security.
[0041] Through the above technical solution, this invention simultaneously collects RSSI data from both the vehicle and mobile terminals, comparing only the "consistency index of change trend" between the two within the same time window, without relying on any absolute distance or static threshold. This dual-end consistency characteristic can be disrupted during signal forwarding and re-emission caused by relay attacks, thus forming a natural basis for security judgment. Therefore, this invention achieves efficient protection against relay attacks while ensuring a smooth vehicle unlocking experience, solving problems in existing technologies such as susceptibility to attacks in single-end RSSI determination, difficulty in adapting fixed thresholds to different mobile phone models, and misjudgments due to complex environments. It possesses high practicality and innovation.
[0042] See also Figure 3 As shown, this embodiment of the invention also provides a vehicle digital key attack protection system based on dual-end synchronization signals, including: The mobile data acquisition module is used to acquire the mobile RSSI data received by the target vehicle. The vehicle-side data acquisition module is used to acquire the vehicle-side RSSI data received by the target mobile terminal; The indicator calculation module is communicatively connected to the mobile data acquisition module and the vehicle-side data acquisition module, and is used to calculate the dual-end consistency index based on the mobile terminal RSSI data and the vehicle-side RSSI data. The threshold library construction module is used to build a consistency index threshold library that associates different mobile phone models with different vehicle models. A threshold selection module, communicatively connected to the threshold library construction module, is used to select a target threshold from the consistency index threshold library based on the target vehicle terminal and the target mobile terminal; and... The unlocking determination module is communicatively connected to the indicator calculation module and the threshold selection module, and is used to determine whether to unlock the target vehicle based on the dual-end consistency indicator and the target threshold.
[0043] In summary, the main innovations of this invention are as follows: 1. A typical characteristic of relay attacks is that the attacking device relays, amplifies, or delays the signal before forwarding, causing the RSSI (Resonance Signal Indicator) performance of the vehicle and mobile devices to become out of sync. This invention verifies the "RSSI consistency index" between the two ends without relying on absolute distance, scene conditions, or how the mobile phone is held. Therefore, when an attacker forwards the signal, it inevitably disrupts the temporal correlation and strength trend consistency of the RSSI. This invention can identify anomalies in real time through a consistency threshold calculated in the cloud, making relay attacks more difficult to execute.
[0044] 2. Since RSSI strength is significantly affected by the antenna structure of different brands and models of mobile phones, this invention aggregates large-scale data from multiple users, models, and scenarios in the cloud, automatically learns the stability distribution of RSSI for each model, and generates model-level thresholds, thereby effectively offsetting hardware differences and improving overall recognition accuracy.
[0045] 3. Compared to relying solely on vehicle-side RSSI for judgment, this invention introduces synchronized data from the APP, enabling the algorithm to possess "two-point verification" capabilities. For a relay attack to forge consistency, it needs to simultaneously manipulate signal changes at both ends, exponentially increasing the difficulty and thus significantly enhancing overall security.
[0046] Specifically, this embodiment corresponds one-to-one with the above method embodiments. The functions of each module have been described in detail in the corresponding method embodiments, so they will not be repeated here.
[0047] Based on the same inventive concept, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements all or part of the method steps of the above method.
[0048] The present invention can implement all or part of the processes in the above methods, or it can be accomplished by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0049] Based on the same inventive concept, embodiments of this application also provide an electronic device, including a memory and a processor. The memory stores a computer program that runs on the processor. When the processor executes the computer program, it implements all or part of the method steps described above.
[0050] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the computer device, connecting all parts of the computer device through various interfaces and lines.
[0051] Memory can be used to store computer programs and / or modules. The processor performs various functions of the computer device by running or executing the computer programs and / or modules stored in the memory, and by accessing data stored in the memory. Memory can primarily include a program storage area and a data storage area. The program storage area can store the operating system and application programs required for at least one function (e.g., sound playback, image playback, etc.); the data storage area can store data created based on mobile usage (e.g., audio data, video data, etc.). Furthermore, memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, RAM, plug-in hard disks, smart media cards (SMC), secure digital cards (SD cards), flash cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0052] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, servers, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0053] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), servers, and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0054] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0055] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0056] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A method for protecting against vehicle digital key attacks based on dual-end synchronization signals, characterized in that, include: Obtain the RSSI data received by the target vehicle from the mobile terminal; Obtain the vehicle-side RSSI data received by the target mobile terminal; Calculate the consistency index between the mobile terminal RSSI data and the vehicle terminal RSSI data; Construct a consistency index threshold library that links different mobile phone models with different vehicle models; Based on the target vehicle terminal and the target mobile terminal, a target threshold is selected from the consistency index threshold library; Based on the dual-end consistency index and the target threshold, determine whether to unlock the target vehicle.
2. The vehicle digital key attack protection method based on dual-end synchronization signal as described in claim 1, characterized in that, The step of calculating the dual-end consistency index based on the mobile terminal RSSI data and the vehicle terminal RSSI data includes: Synchronize the vehicle-side RSSI data with the mobile-side RSSI data in time; For each synchronization moment, calculate the absolute difference between the vehicle-side RSSI data and the mobile-side RSSI data; The average of the absolute differences over all time points is used as the two-end consistency index.
3. The vehicle digital key attack protection method based on dual-end synchronization signal as described in claim 2, characterized in that, The method for averaging the absolute differences over all time points, where the average value is the two-way consistency index, is shown in the following formula: ; In the formula, RRSI diff RRSI is a two-end consistency index. app (i) represents the mobile terminal RSSI data corresponding to time i; RRSI car (i) represents the vehicle-side RSSI data corresponding to time i; n represents the time length, n=1,2,3...i.
4. The vehicle digital key attack protection method based on dual-end synchronization signal as described in claim 1, characterized in that, The construction of a consistency index threshold library that associates different mobile phone models with different vehicle models includes: Acquire historical mobile RSSI data and historical vehicle RSSI data for different mobile phone models and different vehicle models; Synchronize the historical mobile terminal RSSI data corresponding to a target mobile model with the historical vehicle terminal RSSI data corresponding to a target vehicle model in time; For each synchronization moment, calculate the absolute difference between the historical vehicle-side RSSI data and the historical mobile-side RSSI data; The average of the absolute differences over all time points is used as the consistency index threshold for associating a target mobile model with a target vehicle model, and a consistency index threshold library for associating different mobile models with different vehicle models is obtained.
5. The vehicle digital key attack protection method based on dual-end synchronization signal as described in claim 1, characterized in that, The step of selecting a target threshold from the consistency index threshold library based on the target vehicle terminal and the target mobile terminal includes: Obtain the vehicle model corresponding to the target vehicle; Obtain the mobile phone model corresponding to the target mobile device; Based on the vehicle model and mobile model, locate the vehicle model and mobile model in the consistency index threshold library; The target thresholds for the associated target vehicle and target mobile device are obtained based on the located vehicle model and mobile device model.
6. The vehicle digital key attack protection method based on dual-end synchronization signal as described in claim 1, characterized in that, The step of determining whether to unlock the target vehicle based on the dual-end consistency index and the target threshold includes: When the dual-end consistency index is detected to be less than or equal to the target threshold, it is determined that the target vehicle should be unlocked. When the dual-end consistency index is detected to be greater than the target threshold, a security warning is triggered.
7. The vehicle digital key attack protection method based on dual-end synchronization signal as described in claim 1, characterized in that, The step is to acquire the mobile terminal RSSI data received by the target vehicle. Before acquiring the vehicle-side RSSI data received by the target mobile terminal, the following steps are included: Control the target vehicle terminal and the target mobile terminal to pair via Bluetooth; Once successful Bluetooth pairing is detected between the target vehicle and the target mobile device, a Bluetooth connection is established between them.
8. A vehicle digital key attack protection system based on dual-end synchronization signals, characterized in that, include: The mobile data acquisition module is used to acquire the mobile RSSI data received by the target vehicle. The vehicle-side data acquisition module is used to acquire the vehicle-side RSSI data received by the target mobile terminal; The indicator calculation module is communicatively connected to the mobile data acquisition module and the vehicle-side data acquisition module, and is used to calculate the dual-end consistency index based on the mobile terminal RSSI data and the vehicle-side RSSI data. The threshold library construction module is used to build a consistency index threshold library that associates different mobile phone models with different vehicle models. A threshold selection module, communicatively connected to the threshold library construction module, is used to select a target threshold from the consistency index threshold library based on the target vehicle terminal and the target mobile terminal; and... The unlocking determination module is communicatively connected to the indicator calculation module and the threshold selection module, and is used to determine whether to unlock the target vehicle based on the dual-end consistency indicator and the target threshold.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the vehicle digital key attack protection method based on dual-end synchronization signal as described in any one of claims 1 to 7.
10. An electronic device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that, When the processor runs the computer program, it implements the vehicle digital key attack protection method based on dual-end synchronization signal as described in any one of claims 1 to 7.