A vehicle key dynamic update method based on Internet of Vehicles
By using the method of dynamically generating shared keys in the Internet of Vehicles, the information leakage problem caused by single keys in the Internet of Vehicles is solved, and the automated management of keys and efficient security is realized.
Patent Information
- Application Number
- CN202111410765.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-25
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2041-11-25
AI Technical Summary
In the existing Internet of Vehicles technology, the vehicle key is single, and all vehicle information will be leaked after being lost, causing significant losses.
The root key of the preceding item and the root key of the latter item are dynamically generated. With the assistance of the roadside unit RSU and the server, the dynamic update of the vehicle key is realized to avoid the loss of the lower key and affect the upper key.
It realizes automated key management, improves the security and work efficiency of keys, and reduces the risk of information leakage.
Smart Images

Figure CN114125774B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of computer information security, and in particular relates to a vehicle key dynamic update method based on Internet of Vehicles. Background Art
[0002] With the development of urban traffic networks, Internet of Vehicles technology will become the main trend of future automobile development. Internet of Vehicles takes vehicles in motion as information perception objects, and uses the new generation of information and communication technology to achieve network connection between vehicles V and X (i.e., vehicles and vehicles, people, roadside units RSU, and servers Server), uses sensor technology to perceive vehicle status information, and uses wireless communication networks and modern intelligent information processing technology to achieve intelligent management of traffic, intelligent decision-making of traffic information services, and intelligent control of vehicles. Internet of Vehicles can distribute, process, and collect vehicle network dynamic data, share data through wireless communication, exchange information between vehicles and other vehicles, buildings or infrastructure, and integrate vehicles into the city network through the network; it can provide protection for the distance between vehicles and reduce the probability of vehicle collision accidents; it can help car owners navigate in real time, and improve the efficiency of traffic operation through communication with other vehicles and network systems. While the Internet of Vehicles is developing rapidly, it is also facing many security threats. Usually, vehicles use public and private keys for encryption and decryption. The key is single. Once lost, all vehicle information will be leaked, causing significant losses. Summary of the invention
[0003] In view of the shortcomings of the prior art, the purpose of the present invention is to propose a vehicle key dynamic update method based on the Internet of Vehicles, which uses the front root key and the back root key to dynamically generate a shared key. The loss of the lower-level key will not affect the upper-level key. The vehicle can dynamically update the key, avoiding the vehicle using a single public key and private key for encryption and decryption, realizing the automatic management of the key, and greatly improving the security and work efficiency of the key.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] A method for dynamically updating a vehicle key based on an Internet of Vehicles comprises the following steps:
[0006] (1) In the IoV, the entities involved in the dynamic key update are the vehicle V, the roadside unit RSU, and the server Server. First, the vehicle V sends an authentication request Authenticate-request to the roadside unit RSU;
[0007] (2) After receiving the authentication request, the roadside unit RSU sends a key update request Key-update-request to the server Server;
[0008] (3) After receiving the key update request, the server updates the counter C i Send the forward key FK, backward key BK and counter C to the roadside unit RSU i , where i represents the number of times the server receives a key update request, C i Represents the value of the counter, C i The calculation formula is:
[0009] C i =C i-1 +1, 1≤i≤n+1, C0=1
[0010] (4) After the roadside unit RSU receives the information sent by the server Serve, it uses the initial shared key RK0 between the roadside unit RSU and the vehicle V to encrypt C i , generate and send Go to vehicle V, calculate and update the shared key RK N , where RK N The calculation formula is:
[0011]
[0012]
[0013]
[0014] Among them, FK(C i ) indicates that the counter value is C i The value of the forward key when C represents the forward key hash value i Power, BK(NC i +1) indicates that the counter value is NC i +1 is the value of the backward key, NC representing the backward key hash value i +1 power, Represents the exclusive OR operation;
[0015] (5) Vehicle V receives E sent by the roadside unit RSU RK (C i ), decrypted using the initial shared key RK0 Get C i , using the same calculation method as in step (4), calculate and update the shared key RK N , using RK N Encryption DONE, generate and send To the roadside unit RSU;
[0016] (6) The roadside unit RSU receives the signal sent by vehicle V Use the RK generated in step (4) N Decryption is performed. If the decryption is successful, DONE is obtained and the key update is completed. Otherwise, the key update fails.
[0017] Technical effects and advantages of the present invention:
[0018] 1. In the present invention, the vehicle uses the front root key and the back root key to dynamically generate a shared key. The loss of the lower key will not affect the upper key, which reduces the risk of information leakage and greatly improves the security of the key.
[0019] 2. In the present invention, the vehicle can dynamically update the key, avoiding the vehicle using a single public key and private key for encryption and decryption, realizing automatic management of the key and improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is an overall flow chart of the updating method of the present invention. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] The present invention is based on the Internet of Vehicles, takes moving vehicles as information perception objects, and uses the new generation of information communication technology to achieve network connection between vehicles V and X (i.e., vehicles and vehicles, people, roadside units RSU, and servers Server), uses sensor technology to perceive vehicle status information, and uses wireless communication networks and modern intelligent information processing technology to achieve intelligent management of traffic, intelligent decision-making of traffic information services, and intelligent control of vehicles.
[0023] Reference Figure 1 The present invention is a method for dynamically updating a vehicle key based on the Internet of Vehicles, comprising the following steps:
[0024] (1) In the IoV, the entities involved in the dynamic key update are the vehicle V, the roadside unit RSU, and the server Server. First, the vehicle V sends an authentication request Authenticate-request to the roadside unit RSU;
[0025] (2) After receiving the authentication request, the roadside unit RSU sends a key update request Key-update-request to the server Server;
[0026] (3) After receiving the key update request, the server updates the counter C i Send the forward key FK, backward key BK and counter C to the roadside unit RSU i , where i represents the number of times the server receives a key update request, C i Represents the value of the counter, C i The calculation formula is:
[0027] C i =C i-1 +1, 1≤i≤n+1, C0=1
[0028] (4) After the roadside unit RSU receives the information sent by the server Serve, it uses the initial shared key RK0 between the roadside unit RSU and the vehicle V to encrypt C i , generate and send Go to vehicle V, calculate and update the shared key RK N , where RK N The calculation formula is:
[0029]
[0030]
[0031]
[0032] Among them, FK(C i ) indicates that the counter value is C i The value of the forward key when C represents the forward key hash value i Power, BK(NC i +1) indicates that the counter value is NC i +1 is the value of the backward key, NC representing the backward key hash value i +1 power, Represents the exclusive OR operation;
[0033] (5) Vehicle V receives E sent by the roadside unit RSU RK (C i ), decrypted using the initial shared key RK0 Get C i , using the same calculation method as in step (4), calculate and update the shared key RK N , using RK N Encryption DONE, generate and send To the roadside unit RSU;
[0034] (6) The roadside unit RSU receives the signal sent by vehicle V Use the RK generated in step (4) N Decryption is performed. If the decryption is successful, DONE is obtained and the key update is completed. Otherwise, the key update fails.
[0035] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A vehicle key dynamic update method based on vehicle networking, characterized in that: The steps include: (1) In the IoV, the entities involved in the dynamic key update are the vehicle V, the roadside unit RSU, and the server Server. First, the vehicle V sends an authentication request Authenticate-request to the roadside unit RSU; (2) After receiving the authentication request, the roadside unit RSU sends a key update request Key-update-request to the server Server; (3) After receiving the key update request, the server updates the counter C i Send the forward key FK, backward key BK and counter C to the roadside unit RSU i , where i represents the number of times the server receives a key update request, C i Represents the value of the counter, C i The calculation formula is: C i =C i-1 +1,1≤i≤n+1,C0=1 (4) After the roadside unit RSU receives the information sent by the server Serve, it uses the initial shared key RK0 between the roadside unit RSU and the vehicle V to encrypt C i , generate and send Go to vehicle V, calculate and update the shared key RK N , where RK N The calculation formula is: Among them, FK(C i ) indicates that the counter value is C i The value of the forward key when C represents the forward key hash value i Power, BK(NC i +1) indicates that the counter value is NC i +1 is the value of the backward key, NC representing the backward key hash value i +1 power, Represents the exclusive OR operation; (5) Vehicle V receives E sent by the roadside unit RSU RK (C i ), decrypted using the initial shared key RK0 Get C i , using the same calculation method as in step (4), calculate and update the shared key RK N , using RK N Encryption DONE, generate and send To the roadside unit RSU; (6) The roadside unit RSU receives the signal sent by vehicle V Use the RK generated in step (4) N Decryption is performed. If the decryption is successful, DONE is obtained and the key update is completed. Otherwise, the key update fails.
Citation Information
Patent Citations
Internet of vehicles group key management method oriented to multiple services and privacy protection
CN105554105A
Node identity authentication method and system suitable for Internet of Vehicles
CN110831004A