GPS tamper-proofing method and device and medium
By obtaining the vehicle's main GPS signal and secondary GPS signal, judging the tampering situation and switching to offline navigation, the problem that the existing technology cannot prevent GPS signal tampering is solved, and the vehicle's safety improvement and driving experience guarantee is achieved.
Patent Information
- Application Number
- CN202411037602.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-03
AI Technical Summary
The prior art cannot effectively prevent GPS signal tampering, resulting in vehicle location being deceived, increasing the risk of traffic accidents and vehicle theft, and cannot guarantee the safety of the vehicle.
By obtaining the vehicle's main GPS signal information and the secondary GPS signal information, we can determine whether the signal meets the preset conditions. If it is tampered, the vehicle network communication of the main GPS module will be stopped, and the signal sent by the secondary GPS module will be used to navigate with the offline map stored by the vehicle. Ensure continuity and security of navigation.
Ensure the driving experience of vehicle users to the greatest extent, improve vehicle safety, prevent GPS signal tampering, and do not affect the implementation of other tamper-proof solutions when used in combination with the existing technology.
Smart Images

Figure CN119071786A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the automotive field, and in particular to a GPS anti-tampering method, device and medium. Background Art
[0002] With the development of technology, the security of vehicle-mounted GPS signals is becoming more and more important. Tampering with GPS signals may cause vehicles to drive on the wrong route, increasing the risk of traffic accidents. It may also lead to vehicle theft or illegal use. Accurate GPS positioning helps with vehicle monitoring and asset protection, preventing vehicles from being lost or illegally transferred.
[0003] In the prior art, the corresponding protection solutions for the problem of GPS data tampering are through ID card encryption, firewalls, security gateways, etc., but these protection measures are still insufficient to prevent GPS signals from being tampered with, especially the inability to determine the tampering of the GPS signal itself from the result. If the protection measures of the prior art are breached, GPS data tampering will still occur, and the safety of the vehicle cannot be guaranteed. Summary of the invention
[0004] In view of the defects in the prior art, the purpose of the present invention is to provide a GPS anti-tampering method, device and medium to avoid security problems caused by vehicle location being deceived and improve vehicle safety.
[0005] In order to achieve the above-mentioned object of the invention, the present invention adopts the following technical solution:
[0006] A first aspect of the present invention provides a GPS anti-tampering method, comprising:
[0007] Obtain vehicle main GPS signal information and secondary GPS signal information;
[0008] Determine whether the primary GPS signal information and the secondary GPS signal information meet the preset conditions;
[0009] When the main GPS signal information and the secondary GPS signal information meet the preset conditions, it is determined that the main GPS signal information has been tampered with;
[0010] When it is identified that the main GPS signal information has been tampered with, the vehicle network communication of the main GPS module is stopped, and the secondary GPS signal information sent by the secondary GPS module is used for navigation in combination with the offline map stored in the vehicle.
[0011] Preferably, the preset condition is that the signal distance between the primary GPS signal information and the secondary GPS signal information is greater than a distance threshold.
[0012] Preferably, the main GPS signal information and the secondary GPS signal information are received through a near field communication protocol gateway.
[0013] According to a second aspect of the present invention, there is provided a GPS anti-tampering device, comprising a main GPS module, a secondary GPS module, a gateway, a condition judgment module, an anti-tampering processing module, and an offline navigation module;
[0014] The main GPS module is used to send the main GPS signal information for communication with the Internet of Vehicles;
[0015] The secondary GPS module is used to send secondary GPS signal information to verify whether the primary GPS signal has been tampered with;
[0016] The gateway is used to receive and transmit the main GPS signal information and the secondary GPS signal information;
[0017] The condition judgment module is used to judge whether the main GPS signal information and the secondary GPS signal information meet the preset conditions. When the main GPS signal information and the secondary GPS signal information meet the preset conditions, it is judged that the main GPS signal information has been tampered with;
[0018] The anti-tampering processing module is used to stop the Internet of Vehicles communication of the main GPS module and enable the offline navigation module after determining that the main GPS signal information has been tampered with;
[0019] The offline navigation module is used to use the secondary GPS signal information sent by the secondary GPS module and combine it with the offline map stored in the vehicle for navigation.
[0020] Preferably, the preset condition is that the signal distance between the primary GPS signal information and the secondary GPS signal information is greater than a distance threshold.
[0021] Preferably, the gateway is a near field communication protocol gateway, which is used to transmit the main GPS signal information and the secondary GPS signal information according to the near field communication protocol.
[0022] According to a third aspect of the present invention, there is provided a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the GPS anti-tampering method as described above is executed.
[0023] Compared with the prior art, the present invention has the following beneficial effects:
[0024] 1. The present invention can maximize the driving experience of vehicle users by continuing navigation by using the alternative solution of secondary GPS signal information and vehicle-mounted offline maps after identifying that the primary GPS signal information has been tampered with.
[0025] 2. The present invention does not affect the implementation and application of other GPS anti-tampering technologies and can be used in combination with existing technologies to greatly improve vehicle safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0027] Figure 1 Schematic diagram of the process of the method described in Examples 1-3 of the present invention;
[0028] Figure 2 It is a conditional structure diagram of the method described in Examples 1-3 of the present invention;
[0029] Figure 3 Schematic diagram of the structure of the device described in Example 2 of the present invention.
[0030] The accompanying drawings are marked as follows:
[0031] 1- Main GPS module;
[0032] 2- Secondary GPS module;
[0033] 3- Gateway;
[0034] 4-Condition judgment module;
[0035] 5- Anti-tampering processing module;
[0036] 6- Offline navigation module. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0038] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0039] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0040] First Embodiment
[0041] The technical solution of the present invention is described in detail below through examples. The following examples are merely exemplary and can only be used to explain and illustrate the technical solution of the present invention, but are not to be construed as limiting the technical solution of the present invention.
[0042] This embodiment provides a GPS anti-tampering method, which is achieved by setting up two vehicle-mounted GPS modules. The main GPS module provides information to the Internet of Vehicles for communication, and the secondary GPS module provides information to the vehicle-mounted T-BOX (vehicle-mounted electrical component). The vehicle-mounted T-BOX compares the difference between the two GPS signals to see if it meets preset conditions and determines whether there is an abnormality. If there is an abnormality, it uses the backup GPS signal to communicate through an offline map.
[0043] Specifically, the method provided in this embodiment includes the following steps:
[0044] In step S1, the vehicle main GPS signal information and the auxiliary GPS signal information are obtained. The vehicle includes a main GPS module and an auxiliary GPS module, which respectively send out the main GPS signal information and the auxiliary GPS signal information, and receive the main GPS signal information and the auxiliary GPS signal information through a gateway.
[0045] Preferably, the main GPS signal information and the secondary GPS signal information are received through the near field communication protocol gateway. The near field communication protocol is a short-range wireless communication technology, and the communication distance is generally between a few centimeters and a few meters. Due to its limited communication distance, the near field communication signal is difficult to be intercepted or interfered with from a long distance, thereby improving the security of data transmission.
[0046] In step S2, it is determined whether the primary GPS signal information and the secondary GPS signal information meet a preset condition.
[0047] Preferably, the preset condition is that the signal distance between the primary GPS signal information and the secondary GPS signal information is greater than a distance threshold.
[0048] In step S3, when the main GPS signal information and the auxiliary GPS signal information meet the preset conditions, it is determined that the main GPS signal information has been tampered with.
[0049] In step S4, the vehicle network communication of the main GPS module is stopped, and the secondary GPS signal information sent by the secondary GPS module is used for navigation in combination with the offline map stored in the vehicle. The method provided in this embodiment can maximize the driving experience of the vehicle user by using the alternative solution of the secondary GPS signal information and the vehicle offline map when it is identified that the main GPS signal information has been tampered with.
[0050] The method provided in this embodiment can be used in combination with existing technologies to improve vehicle safety, for example, in combination with ID card encryption, firewalls, security gateways and other technologies.
[0051] Second Embodiment
[0052] This embodiment provides a GPS anti-tampering device, which is used to implement the GPS anti-tampering method described in the first embodiment. Figure 3 As shown, the device provided in this embodiment includes a main GPS module 1, a secondary GPS module 2, a gateway 3, a condition judgment module 4, an anti-tampering processing module 5, and an offline navigation module 6.
[0053] The main GPS module 1 is used to send the main GPS signal information for the Internet of Vehicles to communicate, and the secondary GPS module 2 is used to send the secondary GPS signal information to check whether the main GPS signal has been tampered with.
[0054] The gateway 3 is used to receive and transmit the main GPS signal information and the secondary GPS signal information. Preferably, the gateway 3 is a near field communication protocol gateway, which is used to transmit the main GPS signal information and the secondary GPS signal information according to the near field communication protocol.
[0055] The condition judgment module 4 is used to judge whether the main GPS signal information and the secondary GPS signal information meet the preset conditions. When the main GPS signal information and the secondary GPS signal information meet the preset conditions, it is judged that the main GPS signal information has been tampered with. Preferably, the preset condition is that the signal distance between the main GPS signal information and the secondary GPS signal information is greater than the distance threshold. The anti-tampering processing module 5 is used to stop the vehicle network communication of the main GPS module and enable the offline navigation module 6 after judging that the main GPS signal information has been tampered with. The offline navigation module 6 is used to use the secondary GPS signal information sent by the secondary GPS module and navigate in combination with the offline map stored in the vehicle.
[0056] Embodiment 3
[0057] This embodiment provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor when it is run. Figure 1 , Figure 2 The steps of a GPS anti-tampering method are shown in . Wherein, the storage medium can be a volatile or non-volatile computer-readable storage medium.
[0058] The above describes the specific embodiments of the present invention. Based on the above description, relevant personnel can make various changes and modifications without departing from the technical concept of the present invention.
Claims
1. A GPS anti-tampering method, characterized in that: include: Obtain vehicle main GPS signal information and secondary GPS signal information; Determine whether the primary GPS signal information and the secondary GPS signal information meet the preset conditions; When the main GPS signal information and the secondary GPS signal information meet the preset conditions, it is determined that the main GPS signal information has been tampered with; When it is identified that the main GPS signal information has been tampered with, the vehicle network communication of the main GPS module is stopped, and the secondary GPS signal information sent by the secondary GPS module is used for navigation in combination with the offline map stored in the vehicle.
2. A GPS anti-tampering method according to claim 1, characterized in that: The preset condition is that the signal distance between the primary GPS signal information and the secondary GPS signal information is greater than a distance threshold.
3. A GPS anti-tampering method according to claim 1, characterized in that: The main GPS signal information and the secondary GPS signal information are received through the near field communication protocol gateway.
4. A GPS anti-tampering device, characterized in that: Including main GPS module, secondary GPS module, gateway, condition judgment module, anti-tampering processing module, and offline navigation module; The main GPS module is used to send the main GPS signal information for communication with the Internet of Vehicles; The secondary GPS module is used to send secondary GPS signal information to verify whether the primary GPS signal has been tampered with; The gateway is used to receive and transmit the main GPS signal information and the secondary GPS signal information; The condition judgment module is used to judge whether the main GPS signal information and the secondary GPS signal information meet the preset conditions. When the main GPS signal information and the secondary GPS signal information meet the preset conditions, it is judged that the main GPS signal information has been tampered with; The anti-tampering processing module is used to stop the Internet of Vehicles communication of the main GPS module and enable the offline navigation module after determining that the main GPS signal information has been tampered with; The offline navigation module is used to use the secondary GPS signal information sent by the secondary GPS module and combine it with the offline map stored in the vehicle for navigation.
5. A GPS anti-tampering device according to claim 4, characterized in that: The preset condition is that the signal distance between the primary GPS signal information and the secondary GPS signal information is greater than a distance threshold.
6. A GPS anti-tampering device according to claim 4, characterized in that: The gateway is a near field communication protocol gateway, which is used to transmit primary GPS signal information and secondary GPS signal information according to the near field communication protocol.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the GPS anti-tampering method according to any one of claims 1 to 3 is executed.
