CN111954191B - Method for preventing vehicle relay attack, user terminal and system thereof - Google Patents

Method for preventing vehicle relay attack, user terminal and system thereof Download PDF

Info

Publication number
CN111954191B
CN111954191B CN201910414452.7A CN201910414452A CN111954191B CN 111954191 B CN111954191 B CN 111954191B CN 201910414452 A CN201910414452 A CN 201910414452A CN 111954191 B CN111954191 B CN 111954191B
Authority
CN
China
Prior art keywords
distance
vehicle
user terminal
gps positioning
bluetooth
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.)
Active
Application number
CN201910414452.7A
Other languages
Chinese (zh)
Other versions
CN111954191A (en
Inventor
龙正军
徐伟
陈文庆
赖瑞福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN201910414452.7A priority Critical patent/CN111954191B/en
Publication of CN111954191A publication Critical patent/CN111954191A/en
Application granted granted Critical
Publication of CN111954191B publication Critical patent/CN111954191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/45Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement
    • G01S19/46Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement the supplementary measurement being of a radio-wave signal type
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/08Position of single direction-finder fixed by determining direction of a plurality of spaced sources of known location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention provides a method for preventing vehicle relay attack, a user terminal and a system, wherein the method comprises the following steps: when the user terminal passes the safety authentication with the vehicle, acquiring a Bluetooth radio frequency signal, a first GPS positioning signal and a second GPS positioning signal of the user terminal, wherein the Bluetooth radio frequency signal, the first GPS positioning signal and the second GPS positioning signal are used for positioning the vehicle; calculating and obtaining a first distance between the vehicle and the user terminal according to the received Bluetooth radio frequency signal; calculating and obtaining a second distance between the vehicle and the user terminal according to the first GPS positioning signal and the second GPS positioning signal; judging whether the vehicle is within a safe distance required by the operation requested to be executed currently according to the first distance and the second distance, if so, executing the corresponding operation, and otherwise, generating an alarm prompt instruction. The invention can prevent the Bluetooth key from relay attack, and greatly improves the anti-theft safety of the vehicle.

Description

Method for preventing vehicle relay attack, user terminal and system thereof
Technical Field
The invention relates to the technical field of preventing vehicle relay attack, in particular to a method for preventing vehicle relay attack, a user terminal and a system thereof.
Background
Along with the development of the low-power consumption Bluetooth technology, more and more automobiles are provided with low-power consumption Bluetooth chips, a portable device is used as a Bluetooth key for unlocking and locking the automobile and a traditional PEPS system is being replaced by the automobile, but Bluetooth has a great vulnerability in information security, is easily attacked by a relay, and has great security risks. Currently, the Bluetooth RSSI positioning cannot prevent the relay attack, and the TOF and AOA positioning technology is not mature, and the mobile phone hardware configuration is not universal, so that no better method for preventing the Bluetooth relay attack exists at present. How to determine that a cell phone is actually in the vicinity of a vehicle, rather than an inserted repeater, is an urgent technical problem to be solved.
Disclosure of Invention
The invention aims to solve the technical problem of providing a method for preventing a vehicle from being attacked by a relay, a user terminal and a system thereof, so as to solve the problem that the Bluetooth key of the vehicle is easy to be attacked by the relay by using portable equipment in the prior art.
In order to solve the technical problem, the invention provides a method for preventing a vehicle relay attack, which is used in a system comprising a vehicle and a user terminal paired with the vehicle, and comprises the following steps:
when the user terminal passes the safety authentication with the vehicle, acquiring a Bluetooth radio frequency signal, a first GPS positioning signal and a second GPS positioning signal of the user terminal, wherein the Bluetooth radio frequency signal, the first GPS positioning signal and the second GPS positioning signal are used for positioning the vehicle;
calculating and obtaining a first distance between the vehicle and the user terminal according to the Bluetooth radio frequency signal;
calculating and obtaining a second distance between the vehicle and the user terminal according to the first GPS positioning signal and the second GPS positioning signal;
judging whether the vehicle is within a safe distance required by the operation requested to be executed currently according to the first distance and the second distance, if so, executing the corresponding operation, and otherwise, generating an alarm prompt instruction.
Wherein the method further comprises: and calibrating the Bluetooth positioning precision and the GPS positioning precision of the user terminal.
The calculating, according to the bluetooth radio frequency signal, a first distance between the vehicle and the user terminal specifically includes:
the method comprises the steps of obtaining the model of the user terminal, searching a set positioning library according to the model, and storing the corresponding relation between the Bluetooth signal intensity received by the user terminal at different positions and the distance between the positions and a vehicle in the positioning library;
comparing the intensity of the Bluetooth radio frequency signal for vehicle positioning with the intensity of Bluetooth signals in the positioning library to obtain a first measurement distance between the vehicle and the user terminal;
and calculating and obtaining the first distance according to the first measured distance and the Bluetooth positioning precision.
The calculating the first distance according to the first measurement distance and the bluetooth positioning accuracy specifically includes:
and calculating the difference value between the first measurement distance and the Bluetooth positioning precision to obtain the first distance.
The calculating, according to the first GPS positioning signal and the second GPS positioning signal, a second distance between the vehicle and the user terminal specifically includes:
calculating a second measurement distance between the vehicle and the user terminal according to the longitude information and the latitude information in the first GPS positioning signal and the longitude information and the latitude information in the second GPS positioning signal;
and calculating the second distance according to the second measured distance and the GPS positioning precision.
The calculating the second measurement distance between the vehicle and the user terminal according to the longitude information and the latitude information in the first GPS positioning signal and the longitude information and the latitude information in the second GPS positioning signal specifically includes:
D=R·arccos[sin(wA)sin(wB)+cos(wA)cos(wB)·cos(jA-jB)]
wherein D is the second distance value, R is the earth radius, jA is the longitude information of the vehicle in the first GPS signal, wA is the latitude information of the vehicle in the first GPS signal, jB is the precision information of the user terminal in the second GPS signal, and wB is the latitude information of the user terminal in the second GPS signal.
Wherein the calculating the second distance according to the second measured distance and the GPS positioning accuracy specifically includes:
and calculating the difference value between the second measurement distance and the GPS positioning precision to obtain the second distance.
Judging whether the vehicle is within a safe distance required by the operation currently performed according to the first distance and the second distance, if so, executing corresponding operation, otherwise, generating an alarm prompt instruction specifically comprises:
judging the magnitude relation between the first distance and the second distance, and obtaining a safety distance interval required by the current operation according to a judging result;
and judging whether the second distance falls into a corresponding safe distance interval, if so, judging that the vehicle is within a safe distance required by the current operation, otherwise, judging that the vehicle is not within the safe distance.
The step of judging the magnitude relation between the first distance and the second distance, and obtaining a safe distance interval required by the current operation of the vehicle according to the judgment result specifically comprises the following steps:
if the first distance is greater than the second distance, the corresponding safe distance interval is (d1+m2+d2, m1+d1), and if the first distance is less than the second distance, the corresponding safe distance interval is (d1+m1+d2, m2+d1), wherein M1 is the first distance, M2 is the second distance, D1 is the bluetooth positioning error of the user terminal, and D2 is the GPS positioning error of the user terminal.
The invention also provides a user terminal for preventing the vehicle relay attack, which is paired with the vehicle and comprises a first Bluetooth unit, a first GPS positioning unit, a first distance calculating unit, a second distance calculating unit and a processing unit, wherein,
the first Bluetooth unit is used for receiving a Bluetooth radio frequency signal for vehicle positioning and a first GPS positioning signal;
the first GPS positioning unit is used for acquiring a second GPS positioning signal of the user terminal;
the first distance calculation unit is used for calculating and obtaining a first distance between the vehicle and the user terminal according to the Bluetooth radio frequency signal;
the second distance calculation unit is used for calculating and obtaining a second distance between the vehicle and the user terminal according to the first GPS positioning signal and the second GPS positioning signal;
and the processing unit is used for judging whether the vehicle is within a safe distance required by the operation requested to be executed currently according to the first distance and the second distance, if so, executing the corresponding operation, and otherwise, generating an alarm prompt instruction.
The invention also provides a system for preventing the vehicle relay attack, which comprises a vehicle and the user terminal, wherein the vehicle comprises a second GPS positioning unit and a second Bluetooth unit,
the second Bluetooth unit is used for sending Bluetooth radio frequency signals for vehicle positioning and sending first GPS positioning signals;
the second GPS positioning unit is used for acquiring the first GPS positioning signal.
The embodiment of the invention has the beneficial effects that: the invention obtains the first distance between the vehicle and the user terminal by utilizing the Bluetooth signal, simultaneously obtains the second distance between the vehicle and the user terminal by calculating the GPS signals of the vehicle and the user terminal, determines the safe distance capable of unlocking and starting the engine by the first distance and the second distance, determines whether the second distance is within the safe distance or not to unlock and start the engine, and takes the GPS positioning technology as the RSSI positioning technology assistance of the mobile phone Bluetooth key.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for preventing a vehicle relay attack according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a user terminal for preventing a vehicle relay attack according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a system for preventing a vehicle relay attack according to an embodiment of the present invention.
Detailed Description
The following description of embodiments refers to the accompanying drawings, which illustrate specific embodiments in which the invention may be practiced.
An embodiment of the present invention provides a method for preventing a vehicle relay attack, which is used in a system including a vehicle and a user terminal paired with the vehicle, and includes the following steps:
s1, after the user terminal and the vehicle pass the security authentication, acquiring a Bluetooth radio frequency signal, a first GPS positioning signal and a second GPS positioning signal of the user terminal, wherein the Bluetooth radio frequency signal, the first GPS positioning signal and the second GPS positioning signal are used for positioning the vehicle.
Specifically, since the intensities of bluetooth signal receptions of different models of mobile phones are different and there is a certain error between the actual distance and the tool measurement distance, in order to improve the calculation accuracy, it is necessary to calibrate the bluetooth positioning accuracy and GPS positioning accuracy of different models of mobile phones. And therefore further comprises, prior to said step S1: and calibrating the Bluetooth positioning precision and the GPS positioning precision of the user terminal.
When the mobile phone receives the pairing request information sent by the Bluetooth at the vehicle end, after the mobile phone and the Bluetooth at the vehicle end pass the security key authentication after the pairing is successful, the Bluetooth at the vehicle end sends a Bluetooth radio frequency signal and a GPS signal for vehicle positioning to the user terminal, and the user terminal receives the Bluetooth radio frequency signal and the GPS signal sent by the vehicle and simultaneously carries out GPS positioning of the user terminal and acquires a second GPS positioning signal of the user terminal.
S2, calculating and obtaining a first distance between the vehicle and the user terminal according to the Bluetooth radio frequency signal, and calculating and obtaining a second distance between the vehicle and the user terminal according to the first GPS positioning signal and the second GPS positioning signal.
After the user terminal receives the Bluetooth radio frequency signal and the GPS signal sent by the vehicle, on one hand, a first distance between the vehicle and the user terminal is calculated according to the Bluetooth radio frequency signal, and on the other hand, a second distance between the vehicle and the user terminal is calculated according to the GPS signal of the vehicle and the GPS signal of the user terminal.
Specifically, a set positioning database is searched according to the types of the user terminals, the set positioning database stores the corresponding relation between the intensities of Bluetooth signals received by the user terminals of different types at different positions and the distance between the positions and the vehicle, and the intensities of the received Bluetooth radio frequency signals for positioning the vehicle are compared, so that a first measurement distance between the vehicle and the user terminal is obtained. For example, assuming that the user terminal is a mobile phone, the mobile phone MODEL is MODEL 3, and the signal intensity received at the current position is 1, a corresponding table of the Bluetooth signal intensity corresponding to MODEL 3 and the distance between the vehicle and the user terminal is searched in a set database, and a first measurement distance corresponding to the Bluetooth signal intensity of 1 is obtained from the corresponding table, wherein the distance is the first measurement distance. And subtracting the Bluetooth calibration precision from the first measured distance to obtain a first distance.
Specifically, acquiring longitude information and latitude information in a first GPS positioning signal, and longitude information and latitude information in a second GPS signal, and calculating a second measurement distance between a vehicle and the user terminal according to the longitude information and latitude information in the first GPS positioning signal and the longitude information and latitude information in the second GPS signal by adopting the following steps:
D=R·arccos[sin(wA)sin(wB)+cos(wA)cos(wB)·cos(jA-jB)]
wherein D is the second measurement distance, R is the earth radius, jA is the longitude information of the vehicle in the first GPS signal, wA is the latitude information of the vehicle in the first GPS signal, jB is the precision information of the user terminal in the second GPS signal, and wB is the latitude information of the user terminal in the second GPS signal.
After the second measurement distance is obtained, the second distance is obtained by subtracting the GPS positioning accuracy from the second measurement distance.
S3, judging whether the vehicle is within a safe distance required by the operation requested to be executed currently according to the first distance and the second distance, if so, executing the corresponding operation, and otherwise, generating an alarm prompt instruction.
Wherein the operation currently requested to be performed is one of unlocking the vehicle, locking the vehicle, and starting the vehicle engine.
After the vehicle and the user terminal establish communication connection through the mobile phone Bluetooth, the user terminal continuously calculates to obtain the first distance and the second distance, and the current operation of the vehicle can be determined through a plurality of first distance values or a plurality of second distance values. Taking the first distance as an example, when the measured first distance value is smaller, the vehicle is unlocked currently, and when the measured first distance value is larger, the vehicle is locked. When the key for starting the engine is triggered, the vehicle is indicated to perform engine starting operation.
When the vehicle is in a state requiring unlocking currently, judging whether the vehicle is in a safe distance for unlocking the vehicle according to the first distance and the second distance, if yes, unlocking the vehicle, otherwise, generating an alarm prompt instruction, if the vehicle is in a state requiring locking currently, judging whether the vehicle is in the safe distance for locking the vehicle according to the first distance and the second distance, if yes, locking the vehicle, otherwise, generating an alarm prompt instruction, if the vehicle is in a state requiring starting the engine currently, judging whether the vehicle is in the safe distance for starting the engine according to the first distance and the second distance, if yes, starting the engine, otherwise, generating an alarm prompt instruction.
Specifically, taking the operation currently requested to be performed by the vehicle as an example of unlocking the vehicle, assuming that the first distance is M1, the second distance is M2, the error of the first distance is D1, the error of the second distance is D2, the magnitudes of the first distance M1 and the second distance M2 are determined, and if the first distance M1 is greater than the second distance M2, the corresponding unlocked safe distance interval is: (d1+m2+d2, m1+d1), if the first distance M1 is smaller than the second distance M2, the corresponding safe distance interval is (d1+m1+d2, m2+d1). After the corresponding safety interval is obtained, judging whether M2 falls in the corresponding safety interval, if so, performing vehicle unlocking operation, otherwise, vibrating or sending a prompt sound by the user terminal to prompt the user.
For example, if M1 is 4M, M2 is 17M, D1 is 2M, D2 is 10M, and it is determined that M2> M1 is obtained first, the corresponding safety interval (d1+m1+d2, m2+d1) is (16, 19), and 17 falls into the (16, 19) interval, so that the vehicle is within the unlocking-possible distance, and the unlocking operation is performed.
According to the method for preventing the vehicle relay attack, the first distance between the vehicle and the user terminal is obtained through the Bluetooth signal, the second distance between the vehicle and the user terminal is obtained through the GPS signal calculation of the vehicle and the user terminal, the safe distance capable of unlocking and starting the engine is determined through the first distance and the second distance, whether the second distance is within the safe distance or not is determined, unlocking and starting the engine is determined, the GPS positioning technology is used as RSSI positioning technology assistance of a mobile phone Bluetooth key, existing resources of the mobile phone and the vehicle are fully utilized, serious vulnerability of the Bluetooth key to relay attack is fully prevented under the condition that cost is not increased, and the anti-theft safety of the vehicle is greatly improved.
Based on the first embodiment of the present invention, the second embodiment of the present invention provides a user terminal for preventing a vehicle relay attack, the user terminal being paired with the vehicle, as shown in fig. 2, the user terminal 1 includes a first bluetooth unit 11, a first GPS positioning unit 12, a first distance calculating unit 13, a second distance calculating unit 14 and a processing unit 15, wherein,
the first bluetooth unit 11 is configured to obtain a bluetooth radio frequency signal and a first GPS positioning signal for positioning a vehicle after the user terminal passes the security authentication with the vehicle;
the first GPS positioning unit 12 is configured to acquire a second GPS positioning signal of the user terminal;
the first distance calculating unit 13 is configured to calculate and obtain a first distance between the vehicle and the user terminal according to the bluetooth radio frequency signal;
the second distance calculating unit 14 is configured to calculate and obtain a second distance between the vehicle and the user terminal according to the first GPS positioning signal and a second GPS positioning signal;
the processing unit 15 is configured to determine, according to the first distance and the second distance, whether the vehicle is currently within a safe distance required by an operation requested to be executed, if so, execute a corresponding operation, and otherwise generate an alarm prompt instruction.
Based on the second embodiment of the present invention, a third embodiment of the present invention provides a system for preventing a vehicle relay attack, as shown in fig. 3, the system 10 includes a vehicle 2 and the foregoing user terminal 1, wherein the vehicle 2 includes a second GPS positioning unit 22 and a second bluetooth unit 21, wherein,
the second bluetooth unit 21 is configured to send a bluetooth radio frequency signal for performing vehicle positioning and send a first GPS positioning signal;
the second GPS positioning unit 22 is configured to acquire the first GPS positioning signal and send the first GPS positioning signal to the second bluetooth unit.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (8)

1. A method of preventing a vehicle relay attack, comprising the steps of:
when the user terminal passes the safety authentication with the vehicle, acquiring a Bluetooth radio frequency signal, a first GPS positioning signal and a second GPS positioning signal of the user terminal, wherein the Bluetooth radio frequency signal, the first GPS positioning signal and the second GPS positioning signal are used for positioning the vehicle;
calculating and obtaining a first distance between the vehicle and the user terminal according to the Bluetooth radio frequency signal;
calculating and obtaining a second distance between the vehicle and the user terminal according to the first GPS positioning signal and the second GPS positioning signal;
judging whether the vehicle is within a safe distance required by the operation requested to be executed currently according to the first distance and the second distance, if so, executing corresponding operation, otherwise, generating an alarm prompt instruction;
the determining whether the vehicle is within a safe distance required by the operation currently requested to be executed according to the first distance and the second distance specifically includes:
judging the magnitude relation between the first distance and the second distance, and obtaining a corresponding safety interval according to a judging result; if the first distance is greater than the second distance, the corresponding safety interval is (d1+m2+d2, m1+d1), and if the first distance is less than the second distance, the corresponding safety interval is (d1+m1+d2, m2+d1), wherein M1 is the first distance, M2 is the second distance, D1 is the bluetooth positioning error of the user terminal, and D2 is the GPS positioning error of the user terminal;
and judging whether the second distance falls into a corresponding safety interval, if so, judging that the vehicle is within the safety distance of the operation currently requested to be executed, otherwise, judging that the vehicle is not within the safety distance of the operation currently requested to be executed.
2. The method according to claim 1, wherein said calculating a first distance between the vehicle and the user terminal from the bluetooth radio frequency signal comprises:
the method comprises the steps of obtaining the model of the user terminal, searching a set positioning library according to the model, and storing corresponding relation tables of Bluetooth signal intensities received by the user terminals of different models at different positions and distances between the positions and vehicles in the positioning library;
comparing the intensity of the Bluetooth radio frequency signal for vehicle positioning with the intensity of the Bluetooth signal in a corresponding relation table of the model of the user terminal in the positioning library to obtain a first measurement distance between the vehicle and the user terminal;
and calculating and obtaining the first distance according to the first measured distance and the Bluetooth positioning precision.
3. The method according to claim 2, wherein said calculating the first distance according to the first measured distance and the bluetooth positioning accuracy comprises:
and calculating the difference value between the first measurement distance and the Bluetooth positioning precision to obtain the first distance.
4. The method according to claim 1, wherein said calculating a second distance between the vehicle and the user terminal from the first GPS positioning signal and the second GPS positioning signal comprises:
calculating a second measurement distance between the vehicle and the user terminal according to the longitude information and the latitude information in the first GPS positioning signal and the longitude information and the latitude information in the second GPS positioning signal;
and calculating the second distance according to the second measured distance and the GPS positioning accuracy.
5. The method according to claim 4, wherein the calculating the second measured distance between the vehicle and the user terminal based on the longitude information and the latitude information in the first GPS positioning signal and the longitude information and the latitude information in the second GPS positioning signal is specifically:
D=R·arccos[sin(wA)sin(wB)+cos(wA)cos(wB)·cos(jA-jB)]
wherein D is the second measurement distance, R is the earth radius, jA is the longitude information of the vehicle in the first GPS positioning signal, wA is the latitude information of the vehicle in the first GPS positioning signal, jB is the precision information of the user terminal in the second GPS positioning signal, wB is the latitude information of the user terminal in the second GPS positioning signal.
6. The method of claim 5, wherein said calculating said second distance based on said second measured distance and said GPS positioning accuracy comprises:
and calculating the difference value between the second measurement distance and the GPS positioning precision to obtain the second distance.
7. A user terminal for preventing a vehicle relay attack, the user terminal being paired with the vehicle, comprising a first bluetooth unit, a first GPS positioning unit, a first distance calculation unit, a second distance calculation unit and a processing unit, wherein,
the first Bluetooth unit is used for acquiring a Bluetooth radio frequency signal and a first GPS positioning signal for vehicle positioning after the user terminal and the vehicle pass the security authentication;
the first GPS positioning unit is used for acquiring a second GPS positioning signal of the user terminal;
the first distance calculation unit is used for calculating and obtaining a first distance between the vehicle and the user terminal according to the Bluetooth radio frequency signal;
the second distance calculating unit is used for calculating and obtaining a second distance between the vehicle and the user terminal according to the first GPS positioning signal and the second GPS positioning signal;
the processing unit is used for judging whether the vehicle is within a safe distance required by the operation requested to be executed currently according to the first distance and the second distance, if so, executing corresponding operation, otherwise, generating an alarm prompt instruction;
the determining whether the vehicle is within a safe distance required by the operation currently requested to be executed according to the first distance and the second distance specifically includes:
judging the magnitude relation between the first distance and the second distance, and obtaining a corresponding safety interval according to a judging result; if the first distance is greater than the second distance, the corresponding safety interval is (d1+m2+d2, m1+d1), and if the first distance is less than the second distance, the corresponding safety interval is (d1+m1+d2, m2+d1), wherein M1 is the first distance, M2 is the second distance, D1 is the bluetooth positioning error of the user terminal, and D2 is the GPS positioning error of the user terminal;
and judging whether the second distance falls into a corresponding safety interval, if so, judging that the vehicle is within the safety distance of the operation currently requested to be executed, otherwise, judging that the vehicle is not within the safety distance of the operation currently requested to be executed.
8. A system for preventing a vehicle relay attack comprising a vehicle and a user terminal according to claim 7, wherein the vehicle comprises a second GPS location unit and a second bluetooth unit, wherein,
the second GPS positioning unit is used for acquiring the first GPS positioning signal and sending the first GPS positioning signal to the second Bluetooth unit;
the second Bluetooth unit is used for receiving the first GPS positioning signal and sending a Bluetooth radio frequency signal for vehicle positioning and the first GPS positioning signal.
CN201910414452.7A 2019-05-17 2019-05-17 Method for preventing vehicle relay attack, user terminal and system thereof Active CN111954191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910414452.7A CN111954191B (en) 2019-05-17 2019-05-17 Method for preventing vehicle relay attack, user terminal and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910414452.7A CN111954191B (en) 2019-05-17 2019-05-17 Method for preventing vehicle relay attack, user terminal and system thereof

Publications (2)

Publication Number Publication Date
CN111954191A CN111954191A (en) 2020-11-17
CN111954191B true CN111954191B (en) 2024-03-05

Family

ID=73335552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910414452.7A Active CN111954191B (en) 2019-05-17 2019-05-17 Method for preventing vehicle relay attack, user terminal and system thereof

Country Status (1)

Country Link
CN (1) CN111954191B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037921B (en) * 2021-02-07 2022-06-07 武汉齐物科技有限公司 Anti-theft method and device for bicycle

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104590208A (en) * 2013-10-31 2015-05-06 通用汽车环球科技运作有限责任公司 Methods, systems and apparatus for providing notification that a vehicle has been accessed
KR20150064910A (en) * 2013-12-04 2015-06-12 동국대학교 산학협력단 Method and apparatus for vehicle control by using mobile terminal
CN105473392A (en) * 2013-08-23 2016-04-06 (株)旲桐 Method for preventing relay attack on vehicle smart key system
CN105608885A (en) * 2015-11-24 2016-05-25 东莞酷派软件技术有限公司 Vehicle management method and device and server
CN106794822A (en) * 2014-09-05 2017-05-31 霍弗·霍斯贝克及弗斯特两合公司 For the method for at least one first functions of Remote Control Vehicle safety device
CN206351676U (en) * 2016-12-15 2017-07-25 连宁 The vehicles and leasing system for lease
CN107089214A (en) * 2017-03-12 2017-08-25 深圳市云海物联网科技有限公司 A kind of electric vehicle control system and method
WO2018028155A1 (en) * 2016-08-11 2018-02-15 深圳市元征科技股份有限公司 Vehicle searching method and system
CN107776535A (en) * 2016-08-25 2018-03-09 大众汽车有限公司 For automatically controlling, user authorizes entering at vehicle and/or engine starts the system authorized
CN108216121A (en) * 2016-12-14 2018-06-29 恩智浦有限公司 Safety vehicle access system, key, vehicle and method therefor
CN109104403A (en) * 2017-06-21 2018-12-28 沃尔沃汽车公司 Method and system for preventing physical layer trunking from attacking
US10235823B1 (en) * 2018-01-24 2019-03-19 Fca Us Llc Passive entry system of a vehicle having relay attack prevention

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160047879A (en) * 2014-10-23 2016-05-03 엘지전자 주식회사 Mobile terminal and control method for the mobile terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105473392A (en) * 2013-08-23 2016-04-06 (株)旲桐 Method for preventing relay attack on vehicle smart key system
CN104590208A (en) * 2013-10-31 2015-05-06 通用汽车环球科技运作有限责任公司 Methods, systems and apparatus for providing notification that a vehicle has been accessed
KR20150064910A (en) * 2013-12-04 2015-06-12 동국대학교 산학협력단 Method and apparatus for vehicle control by using mobile terminal
CN106794822A (en) * 2014-09-05 2017-05-31 霍弗·霍斯贝克及弗斯特两合公司 For the method for at least one first functions of Remote Control Vehicle safety device
CN105608885A (en) * 2015-11-24 2016-05-25 东莞酷派软件技术有限公司 Vehicle management method and device and server
WO2018028155A1 (en) * 2016-08-11 2018-02-15 深圳市元征科技股份有限公司 Vehicle searching method and system
CN107776535A (en) * 2016-08-25 2018-03-09 大众汽车有限公司 For automatically controlling, user authorizes entering at vehicle and/or engine starts the system authorized
CN108216121A (en) * 2016-12-14 2018-06-29 恩智浦有限公司 Safety vehicle access system, key, vehicle and method therefor
CN206351676U (en) * 2016-12-15 2017-07-25 连宁 The vehicles and leasing system for lease
CN107089214A (en) * 2017-03-12 2017-08-25 深圳市云海物联网科技有限公司 A kind of electric vehicle control system and method
CN109104403A (en) * 2017-06-21 2018-12-28 沃尔沃汽车公司 Method and system for preventing physical layer trunking from attacking
US10235823B1 (en) * 2018-01-24 2019-03-19 Fca Us Llc Passive entry system of a vehicle having relay attack prevention

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于OBD和GPS的车载终端系统设计与实现;杨楠;谢冠星;肖雨琳;;国外电子测量技术(第06期);全文 *
杨楠 ; 谢冠星 ; 肖雨琳 ; .基于OBD和GPS的车载终端系统设计与实现.国外电子测量技术.2018,(第06期),全文. *

Also Published As

Publication number Publication date
CN111954191A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN107206966B (en) Device for controlling locking/unlocking and/or starting of a vehicle
US10139481B2 (en) Radio communication system and distance measuring method
JP6127864B2 (en) Vehicle control device and portable communication terminal
US10438430B2 (en) On-vehicle device, mobile device, and vehicle wireless communication system
US10415528B2 (en) Vehicle PEPS system calibration using a mobile device
US20160272154A1 (en) Vehicle control apparatus
US20190080539A1 (en) Key security device
KR20080094587A (en) Keyless entry apparatus
EP3663794B1 (en) In-vehicle wireless communication device and distance information detection method
JP6605754B2 (en) Keyless access system for automobile and method for locating signal generator of access system
JP2011223499A (en) Radio communication system
CN111954191B (en) Method for preventing vehicle relay attack, user terminal and system thereof
CN103150793B (en) The method and system of distance of unblanking is set in the locking system that mobile device controls
JP2019501318A (en) Method for triggering one or more functions in a vehicle
JP5112982B2 (en) Position teaching function user authentication system and position teaching function user authentication method
JP7110168B2 (en) VEHICLE CONTROL DEVICE, VEHICLE CONTROL METHOD, CONTROL PROGRAM, AND VEHICLE CONTROL SYSTEM
JP6163927B2 (en) Loss prevention device
US20200298800A1 (en) Systems And Methods for Activating Vehicle Functions
US10730479B2 (en) Tamper security systems and methods for vehicles
JP2021187196A (en) Vehicle control apparatus, vehicle control system, and vehicle control program
US11214233B2 (en) Electronic key device, electronic key system, and computer readable recording medium
JP5962526B2 (en) Vehicle control device
US11498521B2 (en) Vehicle control apparatus, vehicle control system, and computer readable recording medium
EP4024931A1 (en) Position identification of an unlocking device
US20220229498A1 (en) Method for activating a function of a vehicle by ultra high frequency with an item of portable user equipment and device for activating an associated function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant