Internet of Vehicles pseudonym management system and method based on cuckoo filter
Through Paillier homomorphic encryption and cuckoo filter, efficient management of vehicle identity authentication is achieved, which solves the problems of high certificate storage and management overhead and high communication overhead in traditional solutions, reduces computing and communication overhead, and ensures anonymous identity authentication. security and privacy protection.
Patent Information
- Application Number
- CN202210566760.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-24
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing anonymous identity authentication solutions for the Internet of Vehicles have problems such as high certificate storage and management overhead, high communication overhead, high computing overhead, and difficulty in identity recovery and revocation. Moreover, traditional solutions rely on third-party authorities and are vulnerable to attacks.
Paillier homomorphic encryption is used to implement pseudonym self-updating, and cuckoo filters are used for efficient query services to implement a pseudonym management system for vehicle identity authentication, reducing reliance on third-party authorities, avoiding certificate storage and management overhead, and reducing computing and communication overhead.
It achieves efficient vehicle identity authentication, reduces frequent certificate applications and storage management overhead, ensures message confidentiality and non-tamperability, limits Sybil attacks, and simplifies the identity review and recovery process.
Smart Images

Figure CN115119196B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of wireless network security, and in particular relates to a vehicle networking pseudonym management system and method based on a cuckoo filter. Background Art
[0002] The development of wireless communication technology has made the interconnection between objects simple and common. The Internet of Things (IoT) has also expanded to various fields due to the development of wireless communication technology. VANETs (vehicular ad hoc networks) as an important part of the intelligent transportation system have become a typical representative of the Internet of Things. There are two communication methods using wireless communication technology in VANETs, one is vehicle to vehicle (V2V) communication, and the other is vehicle to roadside unit RSU (RoadSide Unit) communication. In the Internet of Vehicles, in order to improve road safety and provide driving convenience for users, vehicle users need to regularly broadcast safety messages containing road conditions, namely beacon information, so that vehicle users can understand the surrounding driving environment in real time. However, the beacon information also contains some sensitive information about vehicle users, such as identity, location, speed, etc. Once these sensitive information is leaked, it is easy for some criminals to abuse it and illegally obtain private information such as vehicle user trajectory. Therefore, in the process of vehicle user communication, anonymous identity authentication of vehicle users is required. Vehicle users use pseudonym communication to not only achieve anonymous identity authentication, but also protect the privacy of vehicle users. Pseudonyms are random identifiers that represent vehicle identities and need to be changed frequently to resist pseudonym linking attacks. Common pseudonym types include public and private keys and certificates based on asymmetric encryption schemes (most of these require pre-loading a large number of certificates or self-generated certificates, which may cause storage overhead problems, Sybil attacks, and identity recovery and revocation problems faced by self-generated certificates); symmetric keys based on symmetric encryption schemes (such schemes have the problem of non-repudiation of beacon messages and the difficulty of recovering the identity of the message sender under special circumstances); pseudonym IDs in identity-based schemes (in such schemes, vehicle users can generate any number of certificates by themselves, which may cause Sybil attacks); group public keys in group signature schemes (such schemes have group management computational overhead, reliability and stability of group managers, and recovery and revocation of group members).
[0003] Most traditional anonymous authentication schemes use pseudonym preloading to achieve pseudonym generation and update. That is, when a vehicle user registers, a third-party authority loads a large number of pseudonyms for the vehicle user at one time, which not only causes a certain amount of storage overhead, but also the vehicle user has multiple available pseudonyms at the same time, which makes him vulnerable to the threat of Sybil attacks.
[0004] According to the Chinese patent "CN109118775A A traffic monitoring method and system for privacy protection and error packet filtering", the roadside node and driver end request registration from the certificate issuing center end to obtain anonymous certificates and public and private keys. After that, the roadside node and driver end request login from the cloud service provider. Only after obtaining the login token can they join the network. In the verification stage, the roadside node end verifies and filters the driving data packet sent by the driver end, and hashes the vehicle privacy data and adds it to the Bloom filter. The cloud service provider needs to maintain the Bloom filters reported by all roadside nodes to achieve control over the overall traffic situation. However, this technical solution uses the method of issuing certificates and generating login tokens to achieve node access to the network. Since the login token will not change for a period of time, once the attacker obtains the login token, it will pose threats such as counterfeit attacks to the system. The certificate issuing center needs to manage all certificates of the driver end and the roadside node end, resulting in certificate storage and management overhead. The roadside unit needs to upload all Bloom filters to the cloud service provider in order to achieve the cloud service provider's control over the overall traffic situation. The centralization system was not considered in the design.
[0005] The Chinese patent "CN111478769A A distributed trusted identity authentication method, system, storage medium, and terminal" uses a combination of blockchain and dual cuckoo filters to verify the validity of certificates. When a new block is generated, the certification authority writes it into the blockchain and broadcasts it to all cloud terminals. The cloud terminal stores it in the valid certificate filter or the revoked certificate filter according to the certificate operation type code in the block. However, this technical solution uses the method of generating a new block and adding a certificate operation type code to modify the certificate status. Since blockchain data is public, attackers can obtain certificate information from the blockchain, compare the previous and subsequent certificate information, and then implement an identity link attack on the vehicle. Summary of the invention
[0006] Based on the above problems, the purpose of the present invention is to provide a pseudonym management system that does not rely on a third-party authority, uses Paillier homomorphic encryption to achieve pseudonym self-update, and uses an efficient cuckoo filter query service to achieve vehicle identity authentication. While ensuring system security, it avoids the storage overhead caused by pseudonym preloading in traditional solutions, reduces the communication overhead when communicating with a third-party authority, and reduces the computational overhead when authenticating the vehicle identity.
[0007] The present invention proposes a pseudonym management system for Internet of Vehicles based on a cuckoo filter, comprising: a system initialization module, a data initialization, shared key generation and pseudonym update module, a roadside unit RSU pseudonym list acquisition module, a pseudonym verification module, and a pseudonym review module;
[0008] The system initialization module is used to implement: the pseudonym issuing center PP generates public system parameters and its own public-private key pair; the roadside unit RSU applies for registration to the pseudonym issuing center PP, the pseudonym issuing center PP generates a private key for the roadside unit RSU, and the roadside unit RSU generates a public key based on its own private key;
[0009] The data initialization, shared key generation and pseudonym update module is used to realize: the vehicle user and the pseudonym issuance center PP communicate based on the ECIES public key encryption algorithm and the symmetric encryption algorithm; the vehicle user applies for registration to the pseudonym issuance center PP, and the pseudonym issuance center PP generates a unique identity identifier, an initial pseudonym and other initial information for the vehicle user, and sends it to the vehicle user after encryption with a symmetric key; the vehicle user and the pseudonym issuance center PP synchronously update the pseudonym, and the pseudonym issuance center PP inserts the updated pseudonym into the cuckoo filter;
[0010] The roadside unit RSU pseudonym list acquisition module is used to realize: the vehicle user and the roadside unit RSU communicate based on the ECIES public key encryption algorithm; after the vehicle user enters the RSU jurisdiction area, the encrypted pseudonym is sent to the RSU, the RSU decrypts and searches for the pseudonym in the local pseudonym list, if not found, the RSU calls the cuckoo filter query operation of the pseudonym issuing center PP, and saves a set of pseudonym lists updated by the pseudonym issuing center PP locally;
[0011] The pseudonym verification module is used to realize: the vehicle user and the roadside unit RSU communicate based on the ECIES public key encryption algorithm, the vehicle user forwards the received pseudonym within the validity period and its own pseudonym to the RSU, and the RSU performs query verification; the vehicle users communicate with each other through a symmetric encryption algorithm, use the Deffie-Hellman key exchange algorithm to negotiate a symmetric key, and generate a specific identification list for communicating with each other, and the vehicle users use the specific identification to authenticate each other within the validity period of the specific identification;
[0012] The pseudonym review module is used to implement: communication between vehicle users and roadside units RSU and between RSU and pseudonym issuance center PP based on ECIES public key encryption algorithm; pseudonym issuance center PP generates a revocation decryption list of reported vehicles within the revocation period, and calculates the real identity of the vehicle based on the pseudonym of the reported vehicle user.
[0013] The present invention proposes a vehicle networking pseudonym management method based on a cuckoo filter, which is implemented based on a vehicle networking pseudonym management system based on a cuckoo filter. The method comprises:
[0014] Step 1: Initialize system parameters and generate public and private keys; including:
[0015] Step 1.1: The pseudonym issuance center PP constructs a multiplicative cyclic group G with a prime order of l and randomly selects represents a finite field, randomly selects two secret prime numbers p and q, a public prime number z and its public generator h, 2≤h≤z-2, the pseudonym issuing center PP calculates N=pq, λ=lcm(p-1,q-1), λ=lcm(·) represents the calculation of the least common multiple, and constructs the Paillier homomorphic encryption algorithm c:E(m)=g m r N mod N 2 , construct L(x) = (x-1) / N, calculate u = (L(g λ mod N 2 )) -1 mod N;
[0016] Step 1.2: Pseudonym Issuing Center PP selects sk p =(λ,u) as your private key, select X P = (N, g) as its own public key; the pseudonym issuing center PP publishes public parameters params = (G, X P =(N,g),h,l,z,c), store the private key sk p =(λ,u), l represents the order of the multiplicative cyclic group G;
[0017] Step 1.3: Roadside unit RSU applies for registration to pseudonym issuing center PP, and pseudonym issuing center PP selects sk R ∈ R Z q As the private key of the roadside unit RSU, where R represents random selection, R Z q Indicates the selection of random numbers; Roadside Unit RSU calculation as your own public key;
[0018] Step 2: Initial data issuance, shared key generation phase and pseudonym update; including:
[0019] Step 2.1: Based on the ECIES public key encryption algorithm, the vehicle user uses the public key of the pseudonym issuing center PP to encrypt a randomly selected symmetric key, and uses the encrypted symmetric key and unique identity to apply for registration with the pseudonym issuing center PP. The pseudonym issuing center PP generates a unique identity for the vehicle user, and issues an initial pseudonym, a randomized seed, a pseudonym start update time, and a pseudonym expiration timestamp, and encrypts it with a symmetric key and sends it to the vehicle user;
[0020] Step 2.2: The vehicle user uses the symmetric key to decrypt the message sent by the pseudonym issuing center PP, and decrypts the initial pseudonym based on the Paillier decryption algorithm to obtain the unique identity, and compares it with its own unique identity for verification. If the verification is successful, the initial pseudonym is stored, otherwise, go to step 2.1;
[0021] Step 2.3: The vehicle user and the pseudonym issuing center PP synchronously update the pseudonym according to the pseudonym update time and the pseudonym expiration timestamp respectively, and the pseudonym issuing center PP calls the insert operation of the cuckoo filter to insert the updated pseudonym and the pseudonym expiration timestamp into the cuckoo filter;
[0022] Step 3: The vehicle enters the roadside unit RSU area and the RSU obtains the pseudonym list; the specific expression is:
[0023] When a vehicle user enters the jurisdiction of the roadside unit RSU, based on the ECIES public key encryption algorithm, the vehicle user uses the RSU's public key to encrypt its own pseudonym and sends it to the RSU. Based on the decryption method of the ECIES public key encryption algorithm, the RSU uses its own private key to decrypt and obtain the pseudonym, and then checks whether the pseudonym is included in the local pseudonym list. If so, it proves that the vehicle user has been to the RSU area and the pseudonym is discarded; if not, the RSU calls the cuckoo filter query service. If no result is found, it means that the pseudonym is invalid and the pseudonym is discarded; if found, the RSU obtains a set of pseudonym lists updated by the pseudonym issuance center and saves it locally;
[0024] Step 4: The vehicle presents a pseudonym and establishes communication; specifically, it is described as follows:
[0025] When two vehicles communicate for the first time, the receiver first verifies whether the sender's pseudonym is within the validity period. If not, the pseudonym is discarded. If yes, the sender's pseudonym and the receiver's own pseudonym are encrypted using the RSU's public key based on the ECIES public key encryption algorithm and forwarded to the RSU. Based on the decryption method of the ECIES public key encryption algorithm, the RSU uses its own private key to decrypt and obtain the sender's pseudonym and the receiver's own pseudonym, and then searches the local pseudonym list for the sender's pseudonym. If it is not found, a response that the pseudonym is invalid is returned. If it is found and the pseudonym status is "not queried" or "queried", the pseudonym list within T time is returned to the receiver. The vehicles negotiate to generate a symmetric key through the Deffie-Hellman key exchange algorithm, and generate a specific identification list for communicating with each other. After that, the vehicles use the specific identification to authenticate each other within the validity period of the specific identification.
[0026] Step 5: When an illegal vehicle appears, conduct a pseudonym check; including:
[0027] Step 5.1: When vehicle user B finds that vehicle user A has engaged in illegal behavior, based on the ECIES public key encryption algorithm, it sends an encrypted report message to the roadside unit RSU to report vehicle user A. The report message includes the violation evidence and pseudonym of the reported vehicle user A, as well as the pseudonym of the reporting vehicle user B.
[0028] Step 5.2: The roadside unit RSU verifies whether the reporting vehicle user B is a valid user according to step 4. If not, the reporting message is discarded; if yes, the roadside unit RSU verifies whether the reported vehicle user A is a valid user according to step 4; if not, the reporting message is discarded. If yes, the roadside unit RSU verifies whether the violation evidence is true. If not, the reporting message is discarded. If yes, the pseudonym of the reported vehicle user A is encrypted using the public key of the pseudonym issuing center PP based on the ECIES public key encryption algorithm, and forwarded to the pseudonym issuing center PP. The pseudonym issuing center PP uses its own private key to decrypt and obtain the pseudonym of the reported vehicle A;
[0029] Step 5.3: The pseudonym issuing center PP calculates the real identity of the reported vehicle user A and its revocation period t based on the pseudonym. r All pseudonyms in the revocation period are collected, and the pseudonym status change operation of the cuckoo filter is called to set the status of all pseudonyms within the revocation period to "revoked". Based on the ECIES public key encryption algorithm, the pseudonym issuing center PP uses the public key of the roadside unit RSU to encrypt the revoked pseudonym list, and compresses the encrypted revoked pseudonym list and sends it to the roadside unit RSU. After receiving it, the roadside unit RSU decompresses it and uses its own private key to decrypt and obtain the revoked pseudonym list based on the decryption method of the ECIES public key encryption algorithm.
[0030] The beneficial effects of the present invention are:
[0031] The present invention is suitable for realizing efficient vehicle identity authentication in an Internet of Vehicles environment. It solves the problems of frequent certificate application, insufficient vehicle resource utilization, and low certificate utilization rate in the application, storage, and management of pseudonym certificates in traditional anonymous identity authentication. The vehicle user identity authentication in the present invention does not need to use digital certificates, thereby avoiding certificate storage and management overhead; in the present invention, symmetric keys are used between vehicles to realize communication, reducing the dependence on roadside units and third-party authorities; the present invention can realize conditional privacy protection of vehicle users, that is, vehicle users use pseudonyms to realize identity anonymity, and under special circumstances, third-party authorities can conduct identity review and identity recovery for disputed vehicle users; in the present invention, communication between entities ensures message confidentiality and message immutability; in the present invention, vehicle users realize pseudonym self-update, reducing the communication overhead of interaction with third-party authorities, and regularly updating pseudonyms ensures that the same vehicle user has only one legally available pseudonym at the same time, which can effectively limit the witch attack caused by malicious users in the network; the present invention introduces a cuckoo filter, and uses its high efficiency of query, insertion, deletion and other operations to make the pseudonym management process of the present invention more effective. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a framework diagram of the Internet of Vehicles pseudonym management system based on the cuckoo filter in the present invention;
[0033] Figure 2 This is a schematic diagram of the cuckoo filter structure design in the present invention;
[0034] Figure 3 A schematic diagram of the priority queue design in the present invention;
[0035] Figure 4 It is a pseudonym state transition diagram in the present invention;
[0036] Figure 5 This is a flow chart of the initial data issuance, shared key generation phase and pseudonym update process in the present invention;
[0037] Figure 6 A flowchart of the process of a vehicle entering a roadside unit RSU area and a roadside unit RSU obtaining a pseudonym list in the present invention;
[0038] Figure 7 A flowchart of the vehicle pseudonym presentation and communication establishment phase in the present invention;
[0039] Figure 8 This is a flow chart of the pseudonym review phase when an illegal vehicle appears in the present invention. DETAILED DESCRIPTION
[0040] The invention will be further described below with reference to the accompanying drawings and specific implementation examples.
[0041] The present invention proposes a pseudonym management system and method for Internet of Vehicles based on a cuckoo filter. The vehicle user and the pseudonym issuing center PP use Paillier homomorphic encryption to achieve synchronous pseudonym update, which not only avoids the waste of storage space caused by pseudonym preloading in the traditional solution, but also avoids the communication overhead caused by the vehicle user updating the pseudonym by interacting with a third-party authority. The pseudonym issuing center PP inserts the updated pseudonym into the cuckoo filter. When performing vehicle user identity authentication, the roadside unit RSU queries the cuckoo filter to obtain the pseudonym list within a period of time and forwards it to the vehicle. The vehicle saves it locally, and the validity of the pseudonym can be verified locally. The vehicle user does not need to perform complex calculations and avoids interaction with third-party authorities and RSUs, reducing the authentication communication overhead and calculation overhead. The pseudonym state transition service of the cuckoo filter provides a simple and efficient pseudonym state management technology. The additive property of Paillier homomorphic encryption can be used to efficiently obtain the real identity of the vehicle user, thereby revoking the vehicle and imposing penalties on the relevant vehicle users.
[0042] The structural design of the cuckoo filter involved in the present invention is as follows Figure 2 The specific introduction is as follows:
[0043] (I) Data structure
[0044] 1) Array
[0045] Stores pseudonymous fingerprints and states. Each array element is called a "bucket", and each bucket has 4 "slots". Each slot is used to store a fingerprint. The fingerprint is 16 bits long. There are 4[log2(k+1)] bits after the 4 slots to represent the states of the 4 fingerprints, where k is the maximum number of queries.
[0046] 2) Priority Queue
[0047] Storing pseudonyms and the corresponding expiration timestamp τ i , arranged by expiration timestamp priority, used to periodically check the expiration status of the pseudonym. If the first pseudonym in the queue is found to be expired, it will be removed from the queue and the fingerprint in the filter will be deleted. This process is repeated until the first pseudonym in the queue is not expired. The structure of the priority queue is as follows Figure 3 shown.
[0048] (II) Operation
[0049] 1) Bucket index and fingerprint calculation:
[0050] First, the SHA-1 algorithm is used to calculate the 64-bit hash value of the pseudonym. The high 32-bit hash value is used to generate the first index of the pseudonym, and the low 32 bits are truncated to generate a 16-bit fingerprint. The second index is obtained by performing an XOR operation on the first index and the hash value of the fingerprint. This operation can also be used to calculate the first index in reverse.
[0051] 2) Insert operation:
[0052] Insert the pseudonym and expiration timestamp. First calculate the bucket index and fingerprint. If there is an empty slot in the bucket pointed to by the first index, insert the fingerprint directly. Otherwise, calculate the second index. If there is an empty slot in the bucket pointed to by the second index, insert it. Otherwise, randomly select any slot in the two buckets, remove the fingerprint in it, and insert the current fingerprint. Then insert the removed fingerprint into another bucket for relocation. The relocation operation is the same as the process of inserting a new fingerprint until all fingerprints are placed or the maximum number of relocations is exceeded.
[0053] 3) Query operation:
[0054] Calculate the two bucket indexes and fingerprints of the pseudonym. As long as the fingerprint stored in any slot in the two buckets is the same as the fingerprint of the pseudonym to be queried and the status is "unqueried" or "queried", the pseudonym is considered valid, otherwise it is invalid. Each time a query is made, the k value of the pseudonym's status bit is increased by 1.
[0055] 4) Delete operation:
[0056] Deletion occurs when a pseudonym is revoked or expired. For pseudonym providers, expired and revoked pseudonyms are deleted from the valid pseudonym filter and saved to a file to facilitate subsequent accountability. For roadside units, expired and revoked pseudonyms are deleted from the filter and added to the corresponding expired and revoked filters, reducing the storage space of the valid filter and improving the efficiency of querying pseudonyms.
[0057] 5) Pseudonym state transition
[0058] There are four states in the life cycle of a pseudonym, namely, unqueried, queried, expired, and revoked. For each newly inserted pseudonym, the initial state is unqueried, and the terminal state is expired or revoked. When a pseudonym in the unqueried state is queried, the state changes to queried. If the pseudonym is revoked before expiration, it enters the revoked state. Otherwise, it eventually enters the expired state over time. An unqueried pseudonym may also be revoked before being queried, or it may not be queried until it expires. The specific conversion process is as follows: Figure 4 shown.
[0059] In the cuckoo filter, the state bit is used to identify the query times of the pseudonym. The maximum query times is k, so the state requires 4[log2(k+1)] bits to represent. When the query times is 0, it means that the pseudonym is in the unqueried state, and other cases indicate the queried state.
[0060] like Figure 1 As shown, a pseudonym management system for Internet of Vehicles based on a cuckoo filter includes: a system initialization module, a data initialization, shared key generation and pseudonym update module, a roadside unit RSU pseudonym list acquisition module, a pseudonym verification module, and a pseudonym review module;
[0061] System initialization module: The pseudonym issuing center PP generates public system parameters and its own public-private key pair; the RSU applies for registration to the pseudonym issuing center PP, the pseudonym issuing center PP generates a private key for the RSU, and the RSU generates a public key based on its own private key.
[0062] Data initialization, generation of shared keys and pseudonym update module: The vehicle user and the pseudonym issuance center PP communicate based on the ECIES public key encryption algorithm and the symmetric encryption algorithm. The vehicle user applies for registration to the pseudonym issuance center PP, and the pseudonym issuance center PP generates a unique identity for the vehicle user, and issues an initial pseudonym, a randomized seed, a pseudonym start update time, a pseudonym expiration timestamp, and encrypts it with a symmetric key and sends it to the vehicle user. The vehicle user and the pseudonym issuance center PP update the pseudonym synchronously, and the pseudonym issuance center PP inserts the updated pseudonym into the cuckoo filter;
[0063] Roadside unit RSU obtains pseudonym list module: The vehicle user and the roadside unit RSU communicate based on the ECIES public key encryption algorithm. The vehicle user forwards the pseudonym received within the validity period and its own pseudonym to the RSU, and the RSU performs query verification. After the vehicle user enters the RSU jurisdiction area, the encrypted pseudonym is sent to the RSU, which decrypts and queries the pseudonym in the local pseudonym list. If it is not found, the RSU calls the cuckoo filter query operation of the pseudonym issuing center PP and saves a set of pseudonym lists updated by the pseudonym issuing center PP locally;
[0064] Pseudonym verification module: Vehicle users and roadside units RSU communicate based on the ECIES public key encryption algorithm. When two vehicle users communicate for the first time, the receiver verifies the validity period of the pseudonym, and the RSU verifies whether the pseudonym is valid, and returns the pseudonym list within T time corresponding to the valid pseudonym to the receiver; vehicle users communicate with each other through a symmetric encryption algorithm, use the Deffie-Hellman key exchange algorithm to negotiate symmetric keys, and generate a list of specific identifiers for communicating with each other. After that, vehicle users use specific identifiers to authenticate each other within the validity period of the specific identifiers.
[0065] Pseudonym review module: Communication between vehicle users and roadside units RSU and between RSU and pseudonym issuance center PP is based on ECIES public key encryption algorithm. When there is illegal behavior, the reporting vehicle user sends an encrypted report containing its own pseudonym, the pseudonym of the reported vehicle user, and evidence of violation to RSU. RSU uses the method of pseudonym verification module to verify whether both pseudonyms are valid, encrypts the valid pseudonym of the reported vehicle user and sends it to pseudonym issuance center PP. Pseudonym issuance center PP generates a series of pseudonym lists within the revocation period corresponding to the pseudonym, sets its status to "revoked" based on the pseudonym status change operation of cuckoo filter, and forwards it to RSU. RSU stores the revoked pseudonym list. In addition, pseudonym issuance center PP can calculate the real identity of the reported vehicle user based on the pseudonym.
[0066] A method for managing pseudonyms in an Internet of Vehicles based on a cuckoo filter is implemented based on a pseudonym management system for an Internet of Vehicles based on a cuckoo filter. The method comprises:
[0067] Step 1: Initialize system parameters and generate public and private keys; including:
[0068] Step 1.1: First, the pseudonym issuing center PP constructs a multiplicative cyclic group G with a prime order of l, and randomly selects Randomly select two secret large prime numbers p, q, a public large prime number z and its public generator h (2≤h≤z-2), PP calculation N=pq,λ=lcm(p-1,q-1), construct Paillier homomorphic encryption algorithm c:E(m)=g m r N mod N 2 , construct L(x) = (x-1) / N, calculate u = (L(g λ mod N 2 )) -1 mod N;
[0069] Step 1.2: Pseudonym Issuing Center PP selects sk p =(λ,u) as your private key, select X P =(N,g) as its own public key; finally, the pseudonym issuing center PP publishes public parameters params=(G,X P =(N,g),h,l,z,c), store the private key sk p =(λ,u);
[0070] Step 1.3: Roadside unit RSU applies for registration to pseudonym issuing center PP, and pseudonym issuing center PP selects sk R ∈ R Z qAs the private key of the roadside unit RSU, where R represents random selection, R Z q Indicates the selection of a random number. Roadside Unit RSU Calculation as your own public key;
[0071] Step 2: Initial data issuance, shared key generation phase and pseudonym update, such as Figure 5 As shown, the following steps are included:
[0072] Step 2.1: Based on the ECIES (Elliptic Curve Integrated Encryption Scheme) public key encryption algorithm, the vehicle user uses the PP's public key to encrypt a randomly selected symmetric key, and uses the encrypted symmetric key and a unique identity (such as a license plate number, etc.) to apply for registration with the pseudonym issuance center PP. The pseudonym issuance center PP generates a unique identity for the vehicle user, and issues an initial pseudonym, a randomized seed, a pseudonym start update time, a pseudonym expiration timestamp, and encrypts it with a symmetric key and sends it to the vehicle user.
[0073] In this embodiment, based on the ECIES public key encryption algorithm, vehicle user u1 uses the public key X P Encrypt the randomly selected symmetric key Pu1, and use the encrypted symmetric key and unique identity (such as license plate number, etc.) to apply for registration with the pseudonym issuing center PP. Based on the decryption method of the ECIES public key encryption algorithm, the pseudonym issuing center PP uses its own private key sk p Decrypt to obtain the symmetric key Pu1 and generate a unique identity ID for vehicle user u1 u1 , and choose a random seed for it Kana start update time T u1 and pseudonym expiration timestamp τ i Then, the pseudonym issuing center PP uses the Paillier homomorphic encryption algorithm, combined with its own public key X P and randomization seed Generate the initial pseudonym of the current vehicle user u1 Using symmetric key encryption Then send it to the current vehicle user u1;
[0074] Step 2.2: The vehicle user uses the symmetric key to decrypt the message sent by the pseudonym issuing center PP, and decrypts the initial pseudonym based on the Paillier decryption algorithm to obtain the unique identity, and compares it with its own unique identity for verification. If the verification is successful, the initial pseudonym is stored, otherwise, go to step 2.1;
[0075] Step 2.3: The vehicle user and the pseudonym issuing center PP synchronously update the pseudonym according to the pseudonym update time and the pseudonym expiration timestamp respectively, and the pseudonym issuing center PP calls the insertion service of the cuckoo filter to insert the updated pseudonym and the pseudonym expiration timestamp into the cuckoo filter;
[0076] In this embodiment, the vehicle user u1 and the pseudonym issuing center PP use the Paillier homomorphic encryption algorithm and the symmetric key Pu1 to synchronously update the shared random number Then, the pseudonym issuing center PP and vehicle user u1 use the Paillier homomorphic encryption algorithm and shared random numbers Update pseudonym In addition, a pseudonym expiration timestamp τ is set on each pseudonym i , τ i Determines the time for the next pseudonym update. When the pseudonym is successfully updated, the pseudonym issuing center PP calls the pseudonym insertion service of the cuckoo filter to update the pseudonym. and pseudonym expiration timestamp τ i Insert the cuckoo filter.
[0077] Step 3: The vehicle enters the RSU area and the RSU obtains a pseudonym list, such as Figure 6 As shown, the specific expression is: the vehicle user enters the jurisdiction of the roadside unit RSU. Based on the ECIES public key encryption algorithm, the vehicle user uses the public key of the RSU to encrypt its own pseudonym and sends it to the RSU. Based on the decryption method of the ECIES public key encryption algorithm, the RSU uses its own private key to decrypt and obtain the pseudonym, and then first checks whether the local pseudonym list contains the pseudonym. If so, it proves that the vehicle user has been to the RSU area and the pseudonym is discarded; if not, the RSU calls the cuckoo filter query service. If not found, it means that the pseudonym is invalid and the pseudonym is discarded; if found, the RSU obtains a set of pseudonym lists updated by the pseudonym issuance center and saves it locally.
[0078] In this embodiment, vehicle user u1 enters the jurisdiction of the roadside unit RSU and uses the RSU's public key X based on the ECIES public key encryption algorithm. R Encrypt your own pseudonym The encrypted pseudonym is sent to RSU. Based on the decryption method of ECIES public key encryption algorithm, RSU uses its own private key sk R Decryption to obtain pseudonym After that, RSU is in the local pseudonym list List all Search for pseudonyms If it exists, it means that the vehicle user u1 has been to the RSU area before, and the RSU local contains pseudonyms The pseudonym is discarded; if it is not found, the RSU calls the Cuckoo filter query service. If it is not found, it means that the pseudonym If the pseudonym is invalid, the pseudonym is discarded; if it is found, the pseudonym issuing center PP is requested to start the pseudonym update service and update the pseudonym. List of pseudonyms within time t PP will update the pseudonym list later Insert the cuckoo filter and use the RSU's public key X based on the ECIES public key encryption algorithm R Encrypt the pseudonym list within time t The encrypted pseudonym list is sent to the RSU. Based on the decryption method of the ECIES public key encryption algorithm, the RSU uses its own private key sk R After decryption, the pseudonym list Each time the RSU requests the filter service, it forwards the local pseudonym list with the pseudonym query times k to the filter, and the filter updates the pseudonym list to achieve the synchronization of pseudonym data.
[0079] Step 4: Vehicle presents pseudonym and establishes communication phase, such as Figure 7 As shown, the specific expression is:
[0080] When two vehicles communicate for the first time, the receiver first verifies whether the sender's pseudonym is valid. If not, the pseudonym is discarded. If yes, the sender's pseudonym and the receiver's own pseudonym are encrypted using the RSU's public key based on the ECIES public key encryption algorithm and forwarded to the RSU. Based on the decryption method of the ECIES public key encryption algorithm, the RSU uses its own private key to decrypt and obtain the sender's pseudonym and the receiver's own pseudonym, and then searches the local pseudonym list for the sender's pseudonym. If it is not found, a response that the pseudonym is invalid is returned. If it is found and the pseudonym status is "not queried" or "queried", the pseudonym list within T time is returned to the receiver. The vehicles negotiate to generate a symmetric key through the Deffie-Hellman key exchange algorithm, and generate a specific identification list for communicating with each other. After that, the vehicles communicate with each other using the symmetric encryption algorithm within the validity period of the specific identification.
[0081] In this embodiment, when vehicle user u1 uses the current pseudonym When communicating with vehicle user u2 for the first time, vehicle user u1 selects a secret value a (1≤a≤z-2) and calculates the negotiation message α=h a (mod z), the pseudonym The negotiation message α is sent to the vehicle user u2. The vehicle user u2 first checks the pseudonym The expiration timestamp τ iIf it has expired, the pseudonym is discarded; if it has not expired, based on the ECIES public key encryption algorithm, vehicle user u2 uses the public key X of RSU R Encrypt vehicle user u1's pseudonym and its own pseudonym And forward it to RSU. Based on the decryption method of ECIES public key encryption algorithm, RSU uses its own private key sk R Decrypt to obtain the pseudonym of vehicle user u1 and the pseudonym of vehicle user u2 And query Does it exist in the local list List? all If not, the vehicle user u2 is given a pseudonym Invalid response; if present, and The status is "Not Query" or "Query", and the RSU will The corresponding pseudonym list within time T Send it to vehicle user u2, and vehicle user u2 will It is saved locally to facilitate the subsequent local verification of the validity of the pseudonym of vehicle user u1.
[0082] Afterwards, vehicle user u2 selects a secret value b (1≤b≤z-2) and calculates the negotiation message β=h b (mod z), and combined with the negotiation message α to generate the symmetric key u1u2 between vehicle users u1 and u2, and encrypt and generate the special identification list {nym_u2u 1i}', set the expiration timestamp equal to the pseudonym expiration timestamp of vehicle user u1, and vehicle user u2 will encrypt the special identification list {nym_u2u 1i}' and his own pseudonym The vehicle user u1 also combines the negotiation message ω and the negotiation message ξ to generate the symmetric key u1u2 between the vehicle users u1 and u2, and uses the decryption method of the AES-CCM symmetric encryption algorithm to decrypt and obtain the special identification list {nym_u2u 1i}, using the AES-CCM symmetric encryption algorithm to encrypt and generate a special identification list {nym_u1u 2i}', set the expiration timestamp to the pseudonym expiration timestamp of vehicle user u2, use the AES-CCM symmetric encryption algorithm to encrypt the plaintext m to obtain the ciphertext C, and then convert the ciphertext C, {nym_u2u 1i}A random identifier and the encrypted special identifier list of vehicle user u1 {nym_u1u 2i}' is sent to vehicle user u2. After receiving the message, vehicle user u2 can identify the message as sent by vehicle user u1 based on the identifier. Vehicle user u2 uses the decryption method of the AES-CCM symmetric encryption algorithm to decrypt the ciphertext C to obtain the plaintext m, and decrypts {nym_u1u 2i}'Get the special identification list of vehicle user u1{nym_u1u 2i}.
[0083] Step 5: Pseudonym review stage, such as Figure 8 As shown, the following steps are included:
[0084] Step 5.1: Vehicle user B discovers that vehicle user A has engaged in illegal behavior, and then sends an encrypted report message to the roadside unit RSU to report vehicle user A. The report message includes the violation evidence and pseudonym of the reported vehicle user A, as well as the pseudonym of the reporting vehicle user B.
[0085] In this embodiment, when vehicle user u2 finds that vehicle user u1 has illegal behavior, based on the ECIES public key encryption algorithm, the public key X of the roadside unit RSU is used to R Encrypted violation evidence and pseudonym of vehicle user u1 and the pseudonym of vehicle user u2 Send the encrypted report message to RSU; based on the decryption method of ECIES public key encryption algorithm, RSU uses its own private key sk R Decrypt and obtain the report message.
[0086] Step 5.2: The roadside unit RSU first verifies whether the reporting vehicle user B is a valid user according to step 4. If not, the report message is discarded; if yes, the roadside unit RSU verifies whether the reported vehicle user A is a valid user according to step 4; if not, the report message is discarded; if yes, the roadside unit RSU verifies whether the violation evidence is true (for example, it can be verified based on actual traffic conditions); if not, the report message is discarded; if yes, the pseudonym of the reported vehicle user A is encrypted using the public key of PP based on the ECIES public key encryption algorithm, and forwarded to the pseudonym issuance center PP, which uses its own private key to decrypt and obtain the pseudonym of the reported vehicle A.
[0087] Step 5.3: The pseudonym issuing center PP calculates the real identity of the reported vehicle user A and its revocation period t based on the pseudonym. rAll pseudonyms in the revocation period are collected, and the pseudonym status change service of the cuckoo filter is called to set the status of all pseudonyms within the revocation period to "revoked". Based on the ECIES public key encryption algorithm, the pseudonym issuing center PP uses the RSU's public key to encrypt the revoked pseudonym list, and compresses the encrypted revoked pseudonym list and sends it to the roadside unit RSU. After receiving it, the RSU decompresses it and uses its own private key to decrypt and obtain the revoked pseudonym list based on the decryption method of the ECIES public key encryption algorithm.
[0088] In this embodiment, the method for the pseudonym issuing center PP to resolve the real identity of the current vehicle user u1 who has illegal behavior is as follows: According to the additive property of homomorphic encryption, the pseudonym issuing center PP uses the Pillier decryption algorithm You can get the real identity of vehicle user u1
Claims
1. A pseudonym management system for Internet of Vehicles based on Cuckoo filter, characterized in that: include: System initialization module, data initialization, shared key generation and pseudonym update module, roadside unit RSU pseudonym list acquisition module, pseudonym verification module, pseudonym review module; The system initialization module is used to implement: the pseudonym issuing center PP generates public system parameters and its own public-private key pair; the roadside unit RSU applies for registration to the pseudonym issuing center PP, the pseudonym issuing center PP generates a private key for the roadside unit RSU, and the roadside unit RSU generates a public key based on its own private key; The data initialization, shared key generation and pseudonym update module is used to realize: the vehicle user and the pseudonym issuance center PP communicate based on the ECIES public key encryption algorithm and the symmetric encryption algorithm; the pseudonym issuance center PP generates a unique identity for the vehicle user, encrypts it with a symmetric key and sends it to the vehicle user; the vehicle user and the pseudonym issuance center PP synchronously update the pseudonym, and the pseudonym issuance center PP inserts the updated pseudonym into the cuckoo filter; The roadside unit RSU pseudonym list acquisition module is used to realize: the vehicle user and the roadside unit RSU communicate based on the ECIES public key encryption algorithm; after the vehicle user enters the RSU jurisdiction area, the encrypted pseudonym of the vehicle user is sent to the roadside unit RSU; The pseudonym verification module is used to implement: communication between vehicle users and roadside units RSU based on ECIES public key encryption algorithm; vehicle users communicate with each other through symmetric encryption algorithm, use Deffie-Hellman key exchange algorithm to negotiate symmetric keys, and generate a specific identification list for communication with each other, and vehicle users use specific identifications for mutual authentication; The pseudonym review module is used to implement: communication between the vehicle user and the roadside unit RSU and between the RSU and the pseudonym issuance center PP based on the ECIES public key encryption algorithm; the pseudonym issuance center PP calculates the real identity of the vehicle based on the pseudonym of the reported vehicle user.
2. A vehicle networking pseudonym management method based on a cuckoo filter, implemented based on the vehicle networking pseudonym management system based on a cuckoo filter according to claim 1, characterized in that: The method comprises: Step 1: Initialize system parameters and generate public and private keys; The pseudonym issuing center PP generates public system parameters and its own public-private key pair; the roadside unit RSU applies for registration to the pseudonym issuing center PP, the pseudonym issuing center PP generates a private key for the roadside unit RSU, and the roadside unit RSU generates a public key based on its own private key; Step 2: Initial data issuance, shared key generation phase and pseudonym update; The vehicle user and the pseudonym issuing center PP communicate based on the ECIES public key encryption algorithm and the symmetric encryption algorithm; the pseudonym issuing center PP generates a unique identity for the vehicle user, encrypts it with a symmetric key and sends it to the vehicle user; the vehicle user and the pseudonym issuing center PP synchronously update the pseudonym, and the pseudonym issuing center PP inserts the updated pseudonym into the cuckoo filter; Step 3: The vehicle enters the roadside unit RSU area and the RSU obtains the pseudonym list; The vehicle user and the roadside unit RSU communicate based on the ECIES public key encryption algorithm; after the vehicle user enters the RSU jurisdiction area, the encrypted pseudonym is sent to the roadside unit RSU; Step 4: The vehicle presents a pseudonym and establishes communication; The vehicle user and the roadside unit RSU communicate based on the ECIES public key encryption algorithm; the vehicle users communicate with each other through the symmetric encryption algorithm, use the Deffie-Hellman key exchange algorithm to negotiate the symmetric key, and generate a specific identification list for communicating with each other. The vehicle users use the specific identification to authenticate each other; Step 5: Conduct pseudonym review when an illegal vehicle appears; The vehicle user and the roadside unit RSU, as well as the RSU and the pseudonym issuing center PP communicate based on the ECIES public key encryption algorithm; the pseudonym issuing center PP calculates the real identity of the vehicle based on the pseudonym of the reported vehicle user.
3. The method for managing pseudonyms in Internet of Vehicles based on a cuckoo filter according to claim 2, characterized in that: The step 1 comprises: Step 1.1: The pseudonym issuance center PP constructs a multiplicative cyclic group G with a prime order of l and randomly selects represents a finite field, randomly selects two secret prime numbers p and q, a public prime number z and its public generator h, 2≤h≤z-2, the pseudonym issuing center PP calculates N=pq, λ=lcm(p-1,q-1), λ=lcm(×) represents the calculation of the least common multiple, and constructs the Paillier homomorphic encryption algorithm c:E(m)=g m r N modN 2 , construct L(x) = (x-1) / N, calculate u = (L(g λ modN 2 )) -1 modN; Step 1.2: Pseudonym Issuing Center PP selects sk p =(λ,u) as your private key, select X P = (N, g) as its own public key; the pseudonym issuing center PP publishes public parameters params = (G, X P =(N,g),h,l,z,c), store the private key sk p =(λ,u), l represents the order of the multiplicative cyclic group G; Step 1.3: Roadside unit RSU applies for registration to pseudonym issuing center PP, and pseudonym issuing center PP selects sk R ∈ R Z q As the private key of the roadside unit RSU, where R represents random selection, R Z q Indicates the selection of random numbers; Roadside Unit RSU calculation as your public key.
4. The method for managing pseudonyms in Internet of Vehicles based on a cuckoo filter according to claim 2, characterized in that: The step 2 comprises: Step 2.1: Based on the ECIES public key encryption algorithm, the vehicle user uses the public key of the pseudonym issuing center PP to encrypt a randomly selected symmetric key, and uses the encrypted symmetric key and unique identity to apply for registration with the pseudonym issuing center PP. The pseudonym issuing center PP generates a unique identity for the vehicle user, and issues an initial pseudonym, a randomized seed, a pseudonym start update time, and a pseudonym expiration timestamp, and encrypts it with a symmetric key and sends it to the vehicle user; Step 2.2: The vehicle user uses the symmetric key to decrypt the message sent by the pseudonym issuing center PP, and decrypts the initial pseudonym based on the Paillier decryption algorithm to obtain the unique identity, and compares it with its own unique identity for verification. If the verification is successful, the initial pseudonym is stored, otherwise, go to step 2.1; Step 2.3: The vehicle user and the pseudonym issuing center PP synchronously update the pseudonym according to the pseudonym update time and the pseudonym expiration timestamp respectively. The pseudonym issuing center PP calls the insert operation of the cuckoo filter and inserts the updated pseudonym and the pseudonym expiration timestamp into the cuckoo filter together.
5. The method for managing pseudonyms in Internet of Vehicles based on a cuckoo filter according to claim 2, characterized in that: The step 3 is specifically described as follows: the vehicle user enters the jurisdiction of the roadside unit RSU, based on the ECIES public key encryption algorithm, the vehicle user uses the public key of the RSU to encrypt its own pseudonym, and sends it to the RSU. Based on the decryption method of the ECIES public key encryption algorithm, the RSU uses its own private key to decrypt and obtain the pseudonym, and then checks whether the pseudonym is included in the local pseudonym list. If so, it proves that the vehicle user has been to the RSU area, and the pseudonym is discarded; if not, the RSU calls the cuckoo filter query service. If not, it means that the pseudonym is invalid and the pseudonym is discarded; If found, the RSU obtains a set of pseudonym lists updated by the pseudonym issuing center and saves it locally.
6. The method for managing pseudonyms in Internet of Vehicles based on a cuckoo filter according to claim 2, characterized in that: The step 4 is specifically described as follows: When two vehicles communicate for the first time, the receiver first verifies whether the sender's pseudonym is valid. If not, the pseudonym is discarded. If yes, the sender's pseudonym and the receiver's own pseudonym are encrypted using the RSU's public key based on the ECIES public key encryption algorithm and forwarded to the RSU. Based on the decryption method of the ECIES public key encryption algorithm, the RSU uses its own private key to decrypt and obtain the sender's pseudonym and the receiver's own pseudonym, then searches the local pseudonym list for the sender's pseudonym. If it is not found, a response that the pseudonym is invalid is returned; if it is found and the pseudonym status is "not queried" or "queried", the pseudonym list within T time is returned to the receiver; the vehicles negotiate to generate a symmetric key through the Deffie-Hellman key exchange algorithm, and generate a specific identification list for communicating with each other. After that, the vehicles use the specific identification to authenticate each other within the validity period of the specific identification.
7. The method for managing pseudonyms in Internet of Vehicles based on a cuckoo filter according to claim 2, characterized in that: The step 5 comprises: Step 5.1: When vehicle user B finds that vehicle user A has engaged in illegal behavior, based on the ECIES public key encryption algorithm, it sends an encrypted report message to the roadside unit RSU to report vehicle user A. The report message includes the violation evidence and pseudonym of the reported vehicle user A, as well as the pseudonym of the reporting vehicle user B. Step 5.2: The roadside unit RSU verifies whether the reporting vehicle user B is a valid user according to step 4. If not, the reporting message is discarded; if yes, the roadside unit RSU verifies whether the reported vehicle user A is a valid user according to step 4; if not, the reporting message is discarded. If yes, the roadside unit RSU verifies whether the violation evidence is true. If not, the reporting message is discarded. If yes, the pseudonym of the reported vehicle user A is encrypted using the public key of the pseudonym issuing center PP based on the ECIES public key encryption algorithm, and forwarded to the pseudonym issuing center PP. The pseudonym issuing center PP uses its own private key to decrypt and obtain the pseudonym of the reported vehicle A; Step 5.3: The pseudonym issuing center PP calculates the real identity of the reported vehicle user A and its revocation period t based on the pseudonym. r All pseudonyms in the revocation period are collected, and the pseudonym status change operation of the cuckoo filter is called to set the status of all pseudonyms in the revocation period to "revoked". Based on the ECIES public key encryption algorithm, the pseudonym issuing center PP uses the public key of the roadside unit RSU to encrypt the revoked pseudonym list, and compresses the encrypted revoked pseudonym list and sends it to the roadside unit RSU. After receiving it, the roadside unit RSU decompresses it and uses its own private key to decrypt and obtain the revoked pseudonym list based on the decryption method of the ECIES public key encryption algorithm.
