A privacy protection two-way selection method and system for platoon following vehicle recruitment
By introducing a two-way selection method of ECC and Paillier keys in the recruitment of vehicles following a convoy, combined with a spatial and temporal partitioning system, the problems of convoy stability and privacy protection are solved, multi-factor decision-making and privacy protection are realized, and communication and decryption overhead is reduced.
Patent Information
- Application Number
- CN202611252162.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies fail to effectively consider vehicle reputation, vehicle attributes, and similarity to future journeys during the fleet recruitment process, resulting in insufficient fleet stability and security. Furthermore, they fail to protect the privacy of vehicle identity, reputation, thresholds, attributes, and journeys, and incur high communication and decryption computation costs.
The system uses a trusted institution to initialize ECC and Paillier keys, defines a vector format and a randomized blinding control matrix, constructs a spatial overlap partitioning and temporal overlap partitioning system, performs vehicle registration and matching requests through a Bloom filter and roadside units (RSUs), and decrypts and constructs the ciphertext of the comparison results on a cloud server to achieve bidirectional selection decision-making.
It enables multi-factor personalized joint decision-making based on follower reputation value, leader reputation value, number of equal attributes, and trip similarity, which improves fleet stability, reduces communication and decryption computation overhead, and protects vehicle privacy.
Smart Images

Figure CN123184847A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle network security technology, and in particular to a privacy-protecting two-way selection method and system for recruiting vehicles to follow a fleet. Background Technology
[0002] In recent years, the number of vehicles has continued to grow, leading to increasingly prominent problems such as road congestion, traffic safety, and environmental pollution. Vehicle platooning and cooperative driving is an important solution to these problems. A vehicle platoon typically consists of a lead vehicle with similar attributes and several following vehicles. The vehicles maintain a fixed distance and drive collaboratively. The lead vehicle issues driving decisions, and the following vehicles adjust their driving strategies according to the lead vehicle's instructions. Platooning can shorten distances between vehicles while ensuring a safe following distance, improve road utilization, and reduce driving energy consumption.
[0003] During convoy operations, situations such as follower vehicles leaving the convoy, task adjustments, changes in road conditions, or convoy expansion may all trigger new follower vehicle recruitment needs. The vehicle reputation value, vehicle attributes, and similarity to future journeys of different roles directly affect the reliability, stability, and safety of convoy operations; therefore, these three factors should be considered core decision-making factors during the recruitment phase. Furthermore, if recruitment is conducted solely by the lead vehicle, selected vehicles may join convoys with low lead vehicle credibility or those whose attributes and future journeys do not match. Conversely, if recruitment is solely by vehicles outside the convoy, the convoy may introduce follower vehicles with low credibility or those whose attributes and future journeys do not match, thus affecting convoy stability and the authenticity of feedback information. Therefore, a personalized two-way selection mechanism is needed to ensure the safe and stable operation of the convoy. However, existing solutions have the following shortcomings: Focusing solely on the leader's reputation value while ignoring the follower's reputation value fails to adapt to the personalized needs of different vehicle roles. Relying solely on route or spatial location matching, without considering both time and space dimensions, means that even with similar routes or locations, significant time differences can prevent candidate vehicles from successfully joining the convoy, or lead to them leaving due to inconsistent driving rhythms. Vehicle attributes directly impact convoy stability, yet this isn't integrated with reputation and itinerary considerations into a comprehensive decision-making system. Limited to one-way selection or centralized allocation, it fails to achieve personalized two-way selection between the leader and candidate vehicles. Furthermore, it doesn't simultaneously protect the privacy of vehicle identities, reputation values, thresholds, attributes, and itineraries; in multi-candidate vehicle scenarios, the amount of encrypted transmission and decryption attempts increases linearly with the number of candidate vehicles, resulting in high communication and decryption computation costs. Summary of the Invention
[0004] To address the shortcomings of existing technologies, this invention provides a privacy-preserving two-way selection method and system for recruiting vehicles to follow a fleet, thereby resolving the technical problems existing in the background art.
[0005] In a first aspect, the present invention provides a privacy-protected two-way selection method for recruiting vehicles to follow a convoy, comprising: The ECC key and Paillier key are initialized using a trusted institution (TA), the vector format and randomized blinding control matrix are defined, and the spatial overlap partitioning system and temporal overlap partitioning system are initialized. The trusted authority (TA) registers the candidate vehicles and generates candidate vehicle certificates and obfuscated trip codes. The trusted organization TA generates a fleet leader vehicle certificate and obfuscated trip code based on the information submitted by the fleet leader vehicle. The convoy leader vehicle constructs a Bloom filter based on future travel points and sends recruitment requests to the roadside unit (RSU). The candidate vehicle constructs a Bloom filter based on future travel points and sends a matching request to the roadside unit (RSU). The roadside unit (RSU) calculates the similarity of the journeys of candidate vehicles and the convoy leader vehicle and aggregates the comparison ciphertext of multiple candidate vehicles to obtain the aggregated comparison ciphertext. The cloud server CSP decrypts and parses the aggregated comparison ciphertext to construct the first comparison result ciphertext and the second comparison result ciphertext. The candidate vehicle makes a decision on whether to initiate a join request based on the encrypted second comparison result, and the convoy leader vehicle makes a decision on whether to accept the join request based on the encrypted first comparison result.
[0006] Secondly, the present invention provides a privacy-protected two-way selection system for recruiting vehicles to follow a fleet, comprising: The initialization module is used to initialize ECC and Paillier keys using a trusted authority (TA), define the vector format and randomized blinding control matrix, and initialize the spatial and temporal overlapping partitioning systems. The vehicle registration module is used to register candidate vehicles using the trusted authority (TA) and generate candidate vehicle certificates and obfuscated trip codes. The fleet construction module is used to generate a fleet leader vehicle certificate and obfuscated trip code based on the information submitted by the trusted authority (TA) according to the information submitted by the fleet leader vehicle. The recruitment module is used to construct a Bloom filter based on the future travel points of the convoy's lead vehicle and send recruitment requests to the roadside units (RSUs). The matching request module is used to construct a Bloom filter based on the future travel points of the candidate vehicles and send a matching request to the roadside unit (RSU). The aggregation module is used to calculate the trip similarity between candidate vehicles and the convoy leader vehicle through the roadside unit (RSU) and aggregate the comparison ciphertext of multiple candidate vehicles to obtain the aggregated comparison ciphertext. The decryption module is used to decrypt and parse the aggregated comparison ciphertext using the cloud server CSP, and construct the first comparison result ciphertext and the second comparison result ciphertext. The bidirectional selection module enables the candidate vehicle to make a decision on whether to initiate a join request based on the encrypted second comparison result, and enables the convoy leader vehicle to make a decision on whether to accept the join request based on the encrypted first comparison result.
[0007] Thirdly, the present invention provides an electronic device, comprising: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and when the computer program is executed by the at least one processor, it implements the privacy-preserving two-way selection method for recruiting vehicles to follow a fleet.
[0008] Fourthly, the present invention provides a computer-readable storage medium storing a computer-executable computer program, which, when executed by a processor, implements the privacy-protected two-way selection method for recruiting vehicles to follow a fleet.
[0009] The beneficial technical effects of this invention are as follows: 1. This invention realizes multi-factor personalized joint decision-making based on follower reputation value, leader reputation value, number of equal attributes, and itinerary similarity; 2. This invention employs spatial overlap partitioning and temporal overlap partitioning, transforming complex spatiotemporal matching into equality verification of partition codes. This enables the introduction of trip similarity, which includes time and spatial information, into the recruitment of following vehicles. The higher the trip similarity, the more it helps to reduce the possibility of candidate vehicles leaving the convoy due to inconsistent driving rhythms after joining, thus improving convoy stability. 3. This invention can protect the privacy of a vehicle’s true identity, reputation value, threshold, attributes and itinerary, and aggregate the comparison ciphertexts of multiple candidate vehicles and the fleet leader vehicle into a single ciphertext. All comparison results can be recovered simply by transmitting and decrypting the aggregated comparison ciphertext. Attached Figure Description
[0010] Figure 1 This is a flowchart illustrating the method of an embodiment of the present invention; Figure 2 This is a schematic diagram of the framework of an embodiment of the present invention; Figure 3 This is a schematic diagram of overlapping partitions in an embodiment of the present invention; Figure 4 This is a structural framework diagram of the system according to an embodiment of the present invention.
[0011] In the diagram, 10 is the initialization module; 20 is the vehicle registration module; 30 is the fleet building module; 40 is the recruitment module; 50 is the matching request module; 60 is the aggregation module; 70 is the decryption module; and 80 is the two-way selection module. Detailed Implementation
[0012] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings: like Figure 1 and 2 As shown, this embodiment provides a privacy-preserving two-way selection method for recruiting vehicles to follow a fleet, including: S1: Initialize the ECC key and Paillier key using the trusted institution TA, define the vector format and randomized blinding control matrix, and initialize the spatial overlap partitioning system and the temporal overlap partitioning system; S2: The trusted organization TA registers the candidate vehicles and generates candidate vehicle certificates and obfuscated trip codes; S3: The trusted organization TA generates a fleet leader vehicle certificate and obfuscated trip code based on the information submitted by the fleet leader vehicle; S4: The convoy leader vehicle constructs a Bloom filter based on future travel points and sends a recruitment request to the roadside unit (RSU); S5: The candidate vehicle constructs a Bloom filter based on future travel points and sends a matching request to the Roadside Unit (RSU); S6: The roadside unit (RSU) calculates the similarity of the journeys of candidate vehicles and the convoy leader vehicle and aggregates the comparison ciphertext of multiple candidate vehicles to obtain the aggregated comparison ciphertext. S7: The cloud server CSP decrypts and parses the aggregated comparison ciphertext, and constructs the first comparison result ciphertext and the second comparison result ciphertext. S8: The candidate vehicle makes a decision on whether to initiate a join request based on the encrypted second comparison result, and the convoy leader vehicle makes a decision on whether to accept the join request based on the encrypted first comparison result.
[0013] In this embodiment, step S1 involves initializing the ECC key and Paillier key using a trusted authority (TA), defining the vector format and randomized blinding control matrix, and initializing the spatial overlap partitioning system and the temporal overlap partitioning system; including: S11: The trusted organization TA initializes the ECC system, selecting an order of... addition cyclic group and its generators .
[0014] S12: The trusted organization TA generates ECC key pairs for itself, the cloud server CSP, and the roadside unit RSU, including: Randomly select the ECC private key of a trusted authority (TA). ECC private key of cloud server CSP ECC private key of roadside unit (RSU) .
[0015] ECC private key based on trusted authority (TA) ECC private key of cloud server CSP ECC private key of roadside unit (RSU) and generator The ECC public keys of the Trusted Authority (TA), the Cloud Server Service Provider (CSP), and the Roadside Unit (RSU) are calculated as follows: ; ; ; In the formula, , , These are the ECC public keys for the Trusted Authority (TA), the Cloud Server (CSP), and the Roadside Unit (RSU), respectively.
[0016] S13: The trusted organization TA initializes the Paillier algorithm and generates a Paillier public key and a Paillier private key for the cloud server CSP, that is: ; ; In the formula, , These are the Paillier public key and Paillier private key for the cloud server CSP, respectively. The core modulus of the Paillier public key; For Paillier generators; For Carmichael functions; It is the modular inverse.
[0017] S14: The trusted organization TA selects a hash function. as well as A set of independent hash functions The output range of each hash function is 1. .
[0018] S15: Definition of the Trusted Organization (TA) 3D vector format, each dimension uses Bit-based binary encoding, the convoy leader vehicle vector and candidate vehicle vector are represented as follows: ; ; In the formula, Vector for the lead vehicle in the convoy; For candidate vehicle vectors; This indicates the following reputation threshold set for the lead vehicle in the convoy; This indicates the navigator's reputation value for the lead vehicle in the convoy; This indicates the trip similarity threshold set for the convoy's lead vehicle; This indicates the similarity score between the convoy's lead vehicle and the candidate vehicles' journeys. These represent the quantified encoding values of each attribute of the lead vehicle in the fleet; This represents the following reputation value of the candidate vehicle; This indicates the pilot reputation threshold set for candidate vehicles; This represents the similarity value between the candidate vehicle's journey and the convoy's lead vehicle; This indicates the trip similarity threshold set for candidate vehicles; These represent the quantized encoding values of each attribute of the candidate vehicle.
[0019] S16: The trusted mechanism TA generates a control matrix for randomization and blinding. and obfuscated journey coding random salt value ,Right now: ; In the formula, For the first Vidi Bit control value, ; For control matrix Total dimensions; The length is in binary bits. To ensure security, TA will periodically update the matrix and random salt values.
[0020] S17: The trusted organization TA initializes the spatial overlap partitioning system and the temporal overlap partitioning system, including: In the spatial dimension, the trusted mechanism TA constructs a spatially overlapping partitioning system. and the corresponding set of partition indexes are For any position , Indicates position In the Group space partitioning The hexagonal space partition number to which it belongs; if two positions satisfy If so, then the two are considered to have an approximate spatial proximity relationship.
[0021] In the time dimension, the trusted organization TA constructs a time-overlapping partitioning system. and the corresponding index set are In this case, the second group of time partitions is shifted by half a time slot relative to the first group of time partitions, for any time... , Indicates time In the The time slot number in the time partition of the group, if two time... satisfy If so, then the two are considered to have a similar temporal proximity. For example... Figure 3 As shown, if two travel points are encoded identically in at least one set of spatial partitions and one set of temporal partitions, they are considered to have an approximate spatiotemporal proximity relationship.
[0022] The trusted institution TA will determine any travel point. The mapping is to a spatiotemporal partitioning code, that is: ; In the formula, Indicates travel points Spatiotemporal partitioning encoding; This indicates a string concatenation operation.
[0023] S18: The trusted organization TA discloses the system parameters: ; in, This represents the total length of the Bloom filter bit array; The side length of the hexagonal spatial partition; The duration of a single slot for time-overlapping partitions.
[0024] Transmitted to the cloud server CSP via a secure channel: ; In the formula, These are the bit aggregation cardinality, the secondary aggregation cardinality, and the multi-candidate vehicle ciphertext aggregation cardinality, respectively; and: , , ,in, This represents the upper limit of bit-blinded random numbers.
[0025] And transmit to the roadside unit (RSU) via a secure channel: .
[0026] In this embodiment, in step S2, the trusted authority (TA) registers the candidate vehicle and generates a candidate vehicle certificate and obfuscated trip code, including: S21: When candidate vehicles When a vehicle registers and accesses the Internet of Vehicles with its real identity, the Trusted Authority (TA) randomly selects an ECC private key, calculates the corresponding ECC public key, and generates a pseudonym for the candidate vehicle based on the candidate vehicle's real identity, the candidate vehicle's ECC private key, and the Trusted Authority's (TA) ECC public key. ; ; In the formula, For candidate vehicles The ECC public key; For candidate vehicles ECC private key; For ECC generators; For candidate vehicles The katakana; This is the bitwise XOR operator; The ECC public key of a trusted authority (TA); For hash functions; This is to verify the true identity of the candidate vehicles.
[0027] S22: The trusted mechanism TA initializes the lead reputation value and follower reputation value of the candidate vehicles, that is: ; ; In the formula, For candidate vehicles The Navigator's Reputation Value; For candidate vehicles Follower reputation value; , It is a scaling factor used to control the range of reputation values; This indicates rounding up to the nearest integer.
[0028] S23: During the registration phase, the candidate vehicles Submit the navigation reputation threshold, trip similarity threshold, vehicle attributes, and several future trip points to the trusted agency TA; In this embodiment, the candidate vehicle The submitted future travel destinations are: ; in, For candidate vehicles Submitted set of future travel points For the first One location point; For the first Each location point corresponds to a time point; For candidate vehicles Number of future travel points submitted.
[0029] S24: For each travel point The trusted mechanism TA uses a spatial overlap partitioning system and a temporal overlap partitioning system to determine travel points. The mapping is to a spatiotemporal partitioning code, that is: ; In the formula, For itinerary points Spatiotemporal partitioning encoding; Indicates location point In the Group space partitioning The hexagonal space partition number to which it belongs; Indicates time In the The time slot number within the time partition group.
[0030] S25: The trusted organization TA generates a confused spatiotemporal partition code for each spatiotemporal partition code, and arranges all the confused spatiotemporal partition codes into an ordered sequence according to the initial run-point order, that is: ; ; In the formula, For candidate vehicles The The location point, the first Group time partition, number Misunderstanding spatiotemporal partitioning coding for group spatial partitioning; To obfuscate the run-length encoding using random salt values; An ordered sequence of confused spatiotemporal partition codes for candidate vehicles.
[0031] S26: The trusted organization TA will select candidate vehicles The following reputation value, leader reputation threshold, trip similarity value, trip similarity threshold, and vehicle attributes are quantized into candidate vehicle vectors, namely: ; In the formula, For candidate vehicle vectors; Indicates candidate vehicles His / her own follower reputation value; Indicates candidate vehicles Set the navigation reputation threshold; Indicates candidate vehicles The trip similarity value between the vehicle and the convoy leader is initially set to 0 by TA. Indicates candidate vehicles Set the trip similarity threshold; These represent the quantized encoding values of each attribute of the candidate vehicle.
[0032] S27: The trusted mechanism TA on candidate vehicle vectors The binary representation of each element is randomized bit-by-bit, i.e.: For candidate vehicle vectors The Victor Bit Select random numbers that satisfy parity constraints Based on random numbers right Blinding is performed to obtain blinded candidate vehicle vectors. The Victor Bit; that is: ; S28: Using bit aggregation cardinality to blind candidate vehicle vectors The Victor The bits undergo their first aggregation, namely: ; In the formula, For the blinded candidate vehicle vector The Victor Bit; Indicates candidate vehicles The Dimensional aggregation features; This is the base number for bit aggregation.
[0033] Concatenate all aggregated features to obtain candidate vehicles A single aggregation of candidate vehicle vectors ,Right now: ; Using a second aggregation cardinality to aggregate candidate vehicle vectors from a first aggregation Performing a second aggregation, we obtain: ; In the formula, These are the candidate vehicle vectors from the second aggregation. It represents the basis of secondary polymerization.
[0034] S29: Utilizing the Paillier public key of the cloud server CSP Candidate vehicle vectors from secondary aggregation Encryption is performed to obtain the ciphertext of the candidate vehicle vector, namely: ; In the formula, The candidate vehicle vector ciphertext; This indicates the use of the Paillier public key of the cloud server CSP. The Paillier encryption algorithm is used for encryption.
[0035] S230: The trusted authority (TA) concatenates the candidate vehicle identifier, the candidate vehicle pseudonym, the candidate vehicle ECC public key, the candidate vehicle vector ciphertext, and the certificate generation timestamp into a candidate vehicle certificate, i.e.: ; In the formula, For candidate vehicles Candidate vehicle certificates, For candidate vehicle identification, Indicated as candidate vehicles; , , These are the pseudonym of the candidate vehicle, the ECC public key of the candidate vehicle, and the vector ciphertext of the candidate vehicle, respectively. Generate a timestamp for the certificate.
[0036] S231: The trusted authority (TA) selects a random number as the temporary private key for signing the candidate vehicle certificate, and calculates the temporary public key for signing the candidate vehicle certificate; it then signs the candidate vehicle certificate using the temporary private key and the temporary public key, i.e.: ; ; In the formula, , Create a temporary public key and a temporary private key for signing the certificate of the candidate vehicle certificate; Signature for candidate vehicle certificate; Indicate the order of the ECC additive cyclic group G; This is the ECC private key of a trusted authority (TA).
[0037] S232: The trusted organization TA communicates with the candidate vehicle via a secure channel. Send the candidate vehicle's ECC private key, candidate vehicle certificate, temporary public key for signing the candidate vehicle certificate, candidate vehicle certificate signature, and an ordered sequence of obfuscated spatiotemporal partition codes: ; and the true identity of the candidate vehicles Navigation Reputation Value of Candidate Vehicles Following reputation value of candidate vehicles The pilot reputation threshold set for candidate vehicles Trip similarity thresholds set for candidate vehicles Candidate vehicle vectors of candidate vehicles Candidate vehicle vectors from a single aggregation Candidate vehicle vectors from secondary aggregation Candidate vehicle vector ciphertext Candidate vehicle certificates Temporary public key for certificate signing of candidate vehicles Signature of candidate vehicle certificate Stored in its local database, that is: .
[0038] In this embodiment, in step S3, the trusted authority (TA) generates a fleet leader vehicle certificate and obfuscated trip code based on the information submitted by the fleet leader vehicle, including: S31: Once the fleet is constructed, the fleet leader vehicle sets a following reputation threshold and a trip similarity threshold for candidate vehicles, and submits the following reputation threshold, trip similarity threshold, its own vehicle attributes, and several future trip points to the trusted institution TA. S32: For the future travel points submitted by the convoy leader vehicle, the trusted organization TA performs overlapping partition mapping, encoding, and obfuscation on them to generate an obfuscated travel encoding sequence for the convoy leader vehicle, i.e.: ; In the formula, Obfuscated route coding sequence for the convoy's lead vehicle; The first vehicle leading the convoy The location point, the first Group time partition, number Misunderstanding spatiotemporal partitioning encoding of group spatial partitions; The number of future travel points submitted for the lead vehicle of the fleet.
[0039] S33: The trusted organization TA retrieves the convoy leader vehicle's reputation value from the database using its pseudonym, and quantifies the convoy leader vehicle's follower reputation threshold, convoy reputation value, trip similarity threshold, trip similarity value, and vehicle attributes into a convoy leader vehicle vector. ,Right now: ; In the formula, This indicates the following reputation threshold set for the lead vehicle in the convoy; This indicates the navigator's reputation value for the lead vehicle in the convoy; This indicates the trip similarity threshold set for the convoy's lead vehicle; This represents the similarity value between the convoy's lead vehicle and the candidate vehicles, with its initial value set to 0 by TA. These represent the quantized encoding values of various vehicle attributes.
[0040] S34: The trusted organization TA provides vector information for the convoy's lead vehicle. The binary representation of each element is randomized bit-by-bit, i.e.: Vector of the convoy lead vehicle The Victor Bit Select random numbers that satisfy parity constraints Based on random numbers right Blinding is performed to obtain the blinded convoy leader vehicle vector. The Victor Bit; that is: ; S35: Using bit aggregation cardinality to perform blinded convoy navigator vehicle vectors The Victor The bits are first aggregated, and then a second aggregation is performed using the second aggregation cardinality, that is:
[0041] ; ; In the formula, The first vector of the convoy leader vehicle in an aggregated convoy Dimensional aggregation features; The vector of the lead vehicle in a single aggregated fleet; The vector of the lead vehicle in the secondary aggregation of the fleet.
[0042] S36: Utilizing the Paillier public key of the cloud server CSP The convoy leader vehicle vector, obtained from the secondary aggregation, is encrypted to obtain the ciphertext of the convoy leader vehicle vector, i.e.: ; In the formula, Vector ciphertext for the lead vehicle in the convoy.
[0043] S37: The trusted authority (TA) concatenates the convoy leader vehicle's vector identifier, pseudonym, ECC public key, ciphertext vector, and certificate generation timestamp into a convoy leader vehicle certificate, i.e.: ; In the formula, Certificate for the lead vehicle of the fleet; Vector identifier for the lead vehicle in the convoy. This indicates that the vehicle is the lead vehicle in the convoy; These are, respectively, the pseudonym of the lead vehicle in the fleet, the ECC public key of the lead vehicle in the fleet, and the vector ciphertext of the lead vehicle in the fleet; This refers to the certificate generation time.
[0044] S38: Select a random number as the temporary private key for signing the fleet navigator vehicle certificate, and calculate the temporary public key for signing the fleet navigator vehicle certificate; then, use the temporary private key and the temporary public key for signing the fleet navigator vehicle certificate to sign the fleet navigator vehicle certificate, i.e.: ; ; In the formula, , A temporary public key and a temporary private key for certificate signing of the lead vehicle in the fleet; Signature of the certificate for the convoy's lead vehicle; This is the ECC private key of a trusted authority (TA).
[0045] S39: The trusted institution TA sends the fleet leader vehicle certificate to the fleet leader vehicle through a secure channel. Temporary public key for certificate signing of the convoy's lead vehicle Signature of the convoy leader vehicle certificate The confuse trip coding sequence of the convoy's lead vehicle ,Right now: .
[0046] At the same time, the trusted organization TA will use the pseudonym of the convoy's lead vehicle. The following reputation threshold set by the convoy leader vehicle for candidate vehicles. similarity threshold of the convoy's lead vehicle's journey , convoy lead vehicle vector A single aggregated convoy of lead vehicles Secondary aggregation of fleet leader vehicle vector The convoy's lead vehicle carries the encrypted vector. , Team Leader Vehicle Certificate Temporary public key for certificate signing of the convoy's lead vehicle Signature of the convoy leader vehicle certificate Stored in its local database, that is: .
[0047] In this embodiment, step S4, where the convoy leader vehicle constructs a Bloom filter based on future travel points and sends a recruitment request to the roadside unit (RSU), includes: S41: If the convoy needs to recruit new following vehicles during its journey, the convoy leader vehicle first selects matching travel points from the convoy leader vehicle's future travel point set according to the recruitment requirements, and let the selected travel point index set be: ; In the formula, For the selected travel point index set; The number of future journey points for the lead vehicle in the fleet.
[0048] S42: The initial length of the convoy's lead vehicle is... Bloom filters and initialize all its bits to For each selected travel point Extract its corresponding 6 confused spatiotemporal partition codes And insert it into the Bloom filter ,pass After mapping using hash functions, the corresponding bit positions are set to 1, resulting in a Bloom filter used for similarity matching in this trip. ,Right now: ; S43: The convoy's lead vehicle was based on publicly available recruitment information and a Bloom filter. The current timestamp generates the recruitment request, i.e.: ; In the formula, Recruitment request for lead vehicle for the fleet; This is to publicly announce the recruitment information; This is the timestamp for the recruitment request.
[0049] S44: The convoy's lead vehicle selects a temporary private key for recruitment signing and generates a temporary public key for recruitment signing. It then signs the recruitment request to obtain the signature of the recruitment request, i.e.: ; ; In the formula, , These are the temporary private key for recruitment signature and the temporary public key for recruitment signature, respectively. For the signature of the recruitment request; The ECC private key for the lead vehicle in the fleet.
[0050] S45: Recruitment Request Signature of recruitment request Recruitment of signature temporary public keys , Team Leader Vehicle Certificate Signature of the convoy leader vehicle certificate Temporary public key for certificate signing of the convoy's lead vehicle Encapsulation, and using the ECC public key of the roadside unit (RSU). Encryption is performed to generate recruitment ciphertext, which is then sent to the Roadside Units (RSUs) in the current area. ;
[0051] In the formula, Recruitment information for lead vehicles in a fleet; A coded recruitment message for the lead vehicle of the convoy.
[0052] S46: After receiving the recruitment ciphertext from the convoy leader vehicle, the roadside unit (RSU) decrypts it using its own private key and verifies the timestamp of the convoy leader vehicle's certificate. and recruitment request timestamp Then verify the signatures on the certificates of the convoy's lead vehicle in turn. With the signature of the recruitment request If both the timestamp and signature are verified, the Roadside Unit (RSU) temporarily stores the fleet leader vehicle certificate. With Bloom filters Broadcast recruitment messages within the coverage area And accept matching applications for candidate vehicles before the recruitment deadline.
[0053] In this embodiment, step S5 involves the candidate vehicle constructing a Bloom filter based on future travel points and sending a matching request to the roadside unit (RSU), including: S51: When a candidate vehicle applies to join the fleet, the candidate vehicle selects the confused spatiotemporal partition code corresponding to the future travel point according to the matching requirements, and constructs a Bloom filter for travel similarity matching. ,Right now: ; In the formula, For candidate vehicles The The location point, the first Group time partition, number Misunderstanding spatiotemporal partitioning encoding for group space partitioning.
[0054] S52: The candidate vehicles are based on the pseudonym of the fleet leader vehicle and a Bloom filter for the candidate vehicles. The current timestamp generates a matching request for candidate vehicles, i.e.: ; In the formula, A pseudonym for the lead vehicle in the convoy; For candidate vehicles Bloom filters; To match the request timestamp; For candidate vehicles The matching request.
[0055] S53: The candidate vehicle selects a temporary private key for signing the matching request, generates a temporary public key for signing the matching request, and signs the matching request, that is: ; ; In the formula, , These are the temporary private key and the temporary public key for signing the matching request for the candidate vehicle, respectively. The signature for the matching request for the candidate vehicle; The ECC private key for the candidate vehicle.
[0056] S54: Matching request for candidate vehicles , Matching the signature of the request Matching request signature temporary public key Candidate vehicle certificates Signature of candidate vehicle certificate Temporary public key for certificate signing of candidate vehicles Encapsulate and use the ECC public key of the roadside unit (RSU) After encryption, the data is sent to the Roadside Units (RSUs) in the current area, i.e.: ; ; In the formula, Matching information for candidate vehicles; This is the ciphertext for matching candidate vehicles.
[0057] S55: After receiving the matching ciphertext of the candidate vehicle, the roadside unit (RSU) decrypts it with its own private key and verifies the timestamp of the candidate vehicle's certificate. and matching request timestamp The validity of the certificate is verified, and the signature of the candidate vehicle certificate for each candidate vehicle is checked sequentially. , Matching the signature of the request For candidate vehicles whose timestamps and signatures have both been verified, the Roadside Unit (RSU) temporarily stores the candidate vehicle certificates. Bloom filters for candidate vehicles .
[0058] In this embodiment, in step S6, the roadside unit (RSU) calculates the trip similarity between candidate vehicles and the convoy leader vehicle and aggregates the comparison ciphertext of multiple candidate vehicles to obtain the aggregated comparison ciphertext, including: S61: The roadside unit (RSU) extracts the vector ciphertext of the platoon leader vehicle. And the candidate vehicle vector ciphertext of each candidate vehicle ; S62: For each candidate vehicle The roadside unit (RSU) calculates its Hamming weight by bitwise AND with the Bloom filter of the convoy leader vehicle and generates a trip similarity, i.e.: ; In the formula, For candidate vehicles Similarity to the route of the lead vehicle in the convoy; The Hamming weight function; Indicates a bitwise AND operation; A scaling factor to control the range of trip similarity; This represents the number of candidate vehicles.
[0059] S63: [Regarding candidate vehicles] Similarity of the route to the convoy's lead vehicle of Bit binary is The roadside unit (RSU) is based on bit aggregation base number. Calculate trip similarity The single-dimensional aggregated value, and based on the quadratic aggregated cardinality. Construct the journey similarity embedding term, that is: ; ; In the formula, For candidate vehicles Single-dimensional aggregated value; For itinerary similarity The Bit; This is an embedding item for trip similarity.
[0060] S64: The Roadside Unit (RSU) uses the Paillier public key of the cloud server CSP. Embedded terms for trip similarity Encryption yields: ; In the formula, For encrypted trip similarity embedding items; Paillier public key for cloud server CSP The Paillier encryption algorithm is used for encryption.
[0061] S65: The roadside unit (RSU) will embed the encrypted trip similarity embedding with the convoy leader vehicle vector ciphertext. and candidate vehicle vector ciphertext Multiplying these results in a comparison ciphertext containing trip similarity. Then, the comparison ciphertexts corresponding to all candidate vehicles are aggregated to obtain the aggregated comparison ciphertext, i.e.: ; ; In the formula, Lead vehicle and candidate vehicles for the fleet Comparison of encrypted text; This is for aggregation and comparison of encrypted text.
[0062] S66: The roadside unit (RSU) will aggregate and compare encrypted text. The pseudonym of the lead vehicle in the convoy ECC public key of the convoy lead vehicle The pseudonyms of each candidate vehicle ECC public keys for each candidate vehicle Send to the cloud server CSP, that is: .
[0063] In this embodiment, in step S7, the cloud server CSP decrypts and parses the aggregated comparison ciphertext to construct the first comparison result ciphertext and the second comparison result ciphertext, including: S71: The cloud server CSP uses Paillier's private key to aggregate and compare ciphertext. Decryption yields the aggregated comparison result: ; In the formula, Indicates the aggregation comparison results; Paillier's decryption algorithm; The Paillier private key of the cloud server CSP; For the route similarity embedding item in the th The candidate vehicle, the first Wei, Di The value of a bit, when or hour, Corresponding itinerary similarity The Each bit value, in the remaining dimensions ; Vector number of the lead vehicle in the fleet Wei, Di Each bit value; For the candidate vehicle vector, the first Wei, Di Each bit value.
[0064] S72: Based on bit aggregation cardinality, secondary aggregation cardinality, and multi-candidate vehicle ciphertext aggregation cardinality By decomposing layer by layer, we obtain the vector of the convoy's lead vehicle and the vector of the 1st vehicle. The candidate vehicle vector at the th The highest difference position of the dimension If the highest difference position This indicates that the vector of the convoy's lead vehicle is related to the first vehicle's vector. The candidate vehicle vector at the th ... The dimensions are all equal; as shown in Table 1: Table 1. Layer-by-layer decomposition algorithm
[0065] S73: The highest difference bit among all attribute dimensions in the cloud server CSP statistics. The number of values of -1 yields the number of attributes with the same value. Comparison results are generated for the convoy leader vehicle and candidate vehicles, respectively. and ; ; ; in, To return to the convoy navigator and candidate vehicles The results of the comparison; The following reputation threshold set for the convoy's lead vehicle and candidate vehicles The highest difference in the following reputation value; The similarity threshold set for the convoy's lead vehicle and the actual similarity of the journey. The highest difference position; Lead vehicle for the convoy With candidate vehicles The number of equal attributes. To return to the candidate vehicle The comparison results; For candidate vehicles The set pilot reputation threshold and the fleet pilot vehicle The highest difference in Navigator Reputation Value; For candidate vehicles The set trip similarity threshold and the actual trip similarity The highest difference position.
[0066] S74: For the lead vehicle of the convoy, the cloud server CSP will assign pseudonyms to each candidate vehicle. ECC public keys for each candidate vehicle Comparison results with the team's lead vehicle The corresponding timestamps are summarized into the first comparison result. After signing the first comparison result using the first comparison result signing private key and the first comparison result signing public key, it is encrypted using the ECC public key of the lead vehicle to obtain the ciphertext of the first comparison result. The ciphertext of the first comparison result is then forwarded to the lead vehicle through the roadside unit (RSU). ; ; ; ; In the formula, This is the first comparison result; Generate a timestamp for the first comparison result; , These are the private key and public key for signing the first comparison result, respectively. Sign the first comparison result; This is the ECC private key for the cloud server CSP; The first comparison result is the encrypted text; The ECC public key for the lead vehicle in the fleet.
[0067] S75: For all candidate vehicles The cloud server CSP will select vehicles The comparison result and the corresponding timestamp generate a second comparison result; after signing the second comparison result using the private key and public key of the second comparison result, it is encrypted using the ECC public key of the candidate vehicle to obtain the ciphertext of the second comparison result, and then forwarded to each candidate vehicle through the roadside unit (RSU). ; ; ; ; In the formula, This is the second comparison result; This is the timestamp used to generate the second comparison result; , These are the private key for signing the second comparison result and the public key for signing the second comparison result, respectively. Sign the second comparison result; This is the encrypted result of the second comparison. The public key for the candidate vehicle's ECC.
[0068] In this embodiment, in step S8, the candidate vehicle makes a decision on whether to initiate a join request based on the second comparison result ciphertext, and the convoy leader vehicle makes a decision on whether to accept the join request based on the first comparison result ciphertext, including: S81: The candidate vehicle Received the encrypted second comparison result Then, use the candidate vehicle's ECC private key. Decrypt and verify the validity of the generated timestamp and the signature of the second comparison result of the cloud server CSP. After verification, candidate vehicles are extracted. The comparison results are used to set a threshold for the number of first equal attributes. ; Regarding the conditions for Navigator Reputation, if Or the pilot reputation threshold set for candidate vehicles. The corresponding binary bit string is at the 1st If the value of the bit is 0, it indicates that the convoy is led by a vehicle. The pilot reputation value meets the requirements of the candidate vehicle The requirements must be met; otherwise, the requirements are not met. Regarding the itinerary similarity condition, if or candidate vehicles The binary bit string corresponding to the set trip similarity threshold is in A value of 0 indicates a similarity of trips. The requirements must be met; otherwise, the requirements must not be met. When the requirements for navigation reputation and itinerary similarity are both met and the number of attributes is equal Greater than or equal to the threshold of the first equal attribute number Then the candidate vehicles Lead vehicle of the convoy Send a join request; otherwise, do not initiate a join request.
[0069] S82: The convoy's lead vehicle Received the encrypted first comparison result Then, use the ECC private key of the convoy's lead vehicle. Decrypt and verify the validity of the generated timestamp and the CSP signature. After successful verification, the convoy's lead vehicle... Extract the comparison results for each candidate vehicle and set a threshold for the number of second equality attributes. ; For conditions that follow reputation value, if or the lead vehicle of the convoy Set the reputation threshold The corresponding binary bit string is at the 1st If the value of the bit is 0, it indicates that the candidate vehicle The required reputation value for following is met; Regarding the itinerary similarity condition, if Or the binary bit string corresponding to the trip similarity threshold set by the convoy's lead vehicle in If the value of the bit is 0, then the trip similarity is... The requirements are met; When both the reputation value condition and the similarity condition are met and the number of attributes is equal... Greater than or equal to the threshold of the number of second equal attributes The convoy's lead vehicle receives candidate vehicles. The request to join must be accepted; otherwise, the request will not be accepted.
[0070] like Figure 4 As shown, a second embodiment of this application provides a privacy-preserving two-way selection system for recruiting vehicles to follow a fleet, comprising: The initialization module 10 is configured to initialize the ECC key and Paillier key using the Trusted Authority (TA), define the vector format and randomized blinding control matrix, and initialize the spatial overlap partitioning system and the temporal overlap partitioning system, as detailed in steps S11-S18 of Embodiment 1.
[0071] The vehicle registration module 20 is configured to register candidate vehicles using the trusted authority TA and generate candidate vehicle certificates and obfuscated trip codes, as detailed in steps S21-S232 of Embodiment 1.
[0072] The fleet construction module 30 is configured to use the trusted authority TA to generate a fleet leader vehicle certificate and obfuscated trip code based on the information submitted by the fleet leader vehicle, as detailed in steps S31-S39 of Embodiment 1.
[0073] The recruitment module 40 is configured to construct a Bloom filter based on the future travel points of the convoy leader vehicle and send a recruitment request to the roadside unit (RSU), as detailed in S41-S46 of Embodiment 1.
[0074] The matching request module 50 is configured to construct a Bloom filter based on the future travel points of the candidate vehicles and send a matching request to the roadside unit (RSU), as detailed in S51-S55 of Embodiment 1.
[0075] The aggregation module 60 is configured to calculate the trip similarity between candidate vehicles and the convoy leader vehicle through the roadside unit (RSU) and aggregate the comparison ciphertext of multiple candidate vehicles to obtain the aggregated comparison ciphertext. For details, please refer to steps S61-S66 of Embodiment 1. The decryption module 70 is configured to decrypt and parse the aggregated comparison ciphertext using the cloud server CSP, and construct the first comparison result ciphertext and the second comparison result ciphertext. For details, please refer to steps S71-S75 of Embodiment 1.
[0076] The bidirectional selection module 80 is configured to enable the candidate vehicle to make a decision on whether to initiate a join request based on the second comparison result ciphertext, and to enable the convoy leader vehicle to make a decision on whether to accept the join request based on the first comparison result ciphertext, as detailed in steps S81-S82 of Embodiment 1.
[0077] A third embodiment of this application provides an electronic device, comprising: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and when the computer program is executed by the at least one processor, it implements the privacy-preserving two-way selection method for recruiting vehicles to follow a fleet.
[0078] The fourth embodiment of this application provides a computer-readable storage medium storing a computer-executable computer program that, when executed by a processor, implements the privacy-preserving two-way selection method for recruiting vehicles to follow a fleet.
[0079] The embodiments and descriptions above are merely illustrative of the principles and preferred embodiments of the present invention. Various changes and modifications may be made to the present invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed.
Claims
1. A privacy-preserving two-way selection method for recruiting vehicles to follow a convoy, characterized in that, include: Initialize ECC and Paillier keys using a trusted institution (TA), define the vector format and randomized blinding control matrix, and initialize the spatial and temporal overlapping partitioning systems. The trusted authority (TA) registers the candidate vehicles and generates candidate vehicle certificates and obfuscated trip codes. The trusted organization TA generates a fleet leader vehicle certificate and obfuscated trip code based on the information submitted by the fleet leader vehicle. The convoy leader vehicle constructs a Bloom filter based on future travel points and sends recruitment requests to the roadside unit (RSU). The candidate vehicle constructs a Bloom filter based on future travel points and sends a matching request to the roadside unit (RSU). The roadside unit (RSU) calculates the similarity of the journeys of candidate vehicles and the convoy leader vehicle and aggregates the comparison ciphertext of multiple candidate vehicles to obtain the aggregated comparison ciphertext. The cloud server CSP decrypts and parses the aggregated comparison ciphertext to construct the first comparison result ciphertext and the second comparison result ciphertext. The candidate vehicle makes a decision on whether to initiate a join request based on the encrypted second comparison result, and the convoy leader vehicle makes a decision on whether to accept the join request based on the encrypted first comparison result.
2. The method according to claim 1, characterized in that: Initialize the ECC key and Paillier key using a trusted authority (TA), including: The trusted authority (TA) generates ECC key pairs for itself, the cloud server CSP, and the roadside unit (RSU); including: Randomly select the ECC private key of the trusted authority (TA), the ECC private key of the cloud server (CSP), and the ECC private key of the roadside unit (RSU); The ECC private key of the Trusted Authority (TA), the ECC private key of the Cloud Server (CSP), the ECC private key of the Roadside Unit (RSU), and the generator calculates the ECC public key of the Trusted Authority (TA), the Cloud Server (CSP), and the Roadside Unit (RSU). The trusted organization (TA) initializes the Paillier algorithm and generates a Paillier public key and a Paillier private key for the cloud server (CSP).
3. The method according to claim 1, characterized in that: The trusted authority (TA) registers candidate vehicles and generates candidate vehicle certificates and obfuscated trip codes, including: When a candidate vehicle registers and accesses the vehicle network with its real identity, the trusted institution TA randomly selects an ECC private key, calculates the corresponding ECC public key, and generates a pseudonym for the candidate vehicle based on the candidate vehicle's real identity, the candidate vehicle's ECC private key, and the trusted institution TA's ECC public key. The trusted agency TA initializes the lead reputation value and follow reputation value of the candidate vehicles; During the registration phase, the candidate vehicles submit a navigation reputation threshold, a trip similarity threshold, vehicle attributes, and several future trip points to the trusted agency (TA). For each travel point, the Trusted Organization (TA) maps the travel point to a spatiotemporal partition code based on a spatial overlap partitioning system and a temporal overlap partitioning system; The trusted organization TA generates a confused spatiotemporal partition code for each spatiotemporal partition code, and arranges all the confused spatiotemporal partition codes into an ordered sequence according to the initial run-point order; The trusted mechanism TA quantifies the following reputation value, navigation reputation threshold, trip similarity value, trip similarity threshold, and vehicle attributes of the candidate vehicles into candidate vehicle vectors. The trusted mechanism TA performs randomized blinding bit by bit on the binary representation of each element of the candidate vehicle vector; The first aggregation is performed on each bit of the blinded candidate vehicle vector using the bit aggregation cardinality, and the second aggregation is performed on all dimensions using the second aggregation cardinality. The candidate vehicle vectors of the secondary aggregation are encrypted using the Paillier public key of the cloud server CSP to obtain the ciphertext of the candidate vehicle vectors. The trusted authority (TA) will concatenate the candidate vehicle identifier, the candidate vehicle pseudonym, the candidate vehicle ECC public key, the candidate vehicle vector ciphertext, and the certificate generation timestamp into a candidate vehicle certificate. The Trusted Authority (TA) selects a random number as the temporary private key for signing the candidate vehicle certificate and calculates the temporary public key for signing the candidate vehicle certificate; and signs the candidate vehicle certificate using the temporary private key and the temporary public key for signing the candidate vehicle certificate. The trusted authority (TA) sends the candidate vehicle's ECC private key, candidate vehicle certificate, temporary public key for the certificate signature of the candidate vehicle certificate, signature of the candidate vehicle certificate, and ordered sequence of the candidate vehicle's obfuscated spatiotemporal partition code to the candidate vehicle through a secure channel.
4. The method according to claim 3, characterized in that: The trusted authority (TA) generates a fleet leader vehicle certificate and obfuscated trip codes based on the information submitted by the fleet leader vehicle, including: Once the fleet is constructed, the fleet leader vehicle sets a following reputation threshold and a trip similarity threshold for candidate vehicles, and submits the following reputation threshold, trip similarity threshold, its own vehicle attributes, and several future trip points to the trusted agency TA. For the future travel points submitted by the convoy leader vehicle, the trusted organization TA performs overlapping partition mapping, encoding, and obfuscation on them to generate an obfuscated travel encoding sequence for the convoy leader vehicle. The trusted organization TA quantifies the following reputation threshold, navigator reputation value, trip similarity threshold, trip similarity value, and vehicle attributes of the fleet's navigator vehicle into a fleet navigator vehicle vector; The trusted mechanism TA performs randomized blinding bit by bit on the binary representation of each element of the convoy's lead vehicle vector; The first aggregation is performed on each bit of the blinded convoy leader vehicle vector using the bit aggregation cardinality, and the second aggregation is performed on all dimensions using the second aggregation cardinality. The ciphertext of the fleet leader vehicle vector is obtained by encrypting the secondary aggregated convoy leader vehicle vector using the Paillier public key of the cloud server CSP. The trusted authority (TA) concatenates the vector identifier of the fleet leader vehicle, the pseudonym of the fleet leader vehicle, the ECC public key of the fleet leader vehicle, the vector ciphertext of the fleet leader vehicle, and the certificate generation timestamp into a certificate for the fleet leader vehicle. Select a random number as the temporary private key for the certificate signing of the fleet navigator vehicle certificate, and calculate the temporary public key for the certificate signing of the fleet navigator vehicle certificate; then use the temporary private key and the temporary public key for the certificate signing of the fleet navigator vehicle certificate to sign the fleet navigator vehicle certificate. The trusted authority (TA) sends the fleet leader vehicle certificate, the fleet leader vehicle certificate signing temporary public key, the fleet leader vehicle certificate signature, and the fleet leader vehicle's obfuscated trip code sequence to the fleet leader vehicle via a secure channel.
5. The method according to claim 4, characterized in that: The convoy leader vehicle constructs a Bloom filter based on future travel points and sends recruitment requests to roadside units (RSUs), including: If the convoy needs to recruit new following vehicles during its journey, the convoy's lead vehicle will first select matching travel points from the set of future travel points of the convoy's lead vehicle based on the recruitment requirements. The convoy's lead vehicle initializes a Bloom filter and initializes all its bits to... For each selected travel point, its corresponding 6 obfuscated spatiotemporal partition codes are extracted and inserted into a Bloom filter. After mapping by each hash function, the corresponding bit position is set to 1, resulting in a Bloom filter used for similarity matching in this trip. The convoy's lead vehicle generates a recruitment request based on publicly available recruitment information, a Bloom filter, and the current timestamp. The convoy's lead vehicle selects a temporary private key for recruitment signing and generates a temporary public key for recruitment signing to sign the recruitment request; The recruitment request, the signature of the recruitment request, the temporary public key of the recruitment signature, the certificate of the convoy leader vehicle, the signature of the certificate of the convoy leader vehicle, and the temporary public key of the certificate signature of the convoy leader vehicle are encapsulated and encrypted with the ECC public key of the roadside unit (RSU) to generate recruitment ciphertext and send it to the roadside unit (RSU) in the current area. After receiving the recruitment ciphertext from the convoy leader vehicle, the Roadside Unit (RSU) decrypts it with its own private key and verifies the validity of the timestamp of the convoy leader vehicle certificate and the recruitment request timestamp. Then, it verifies the signature of the convoy leader vehicle certificate and the signature of the recruitment request in sequence. If both the timestamp and the signature are verified, the Roadside Unit (RSU) temporarily stores the convoy leader vehicle certificate and a Bloom filter, broadcasts the recruitment message within its coverage area, and receives matching applications from candidate vehicles before the recruitment deadline.
6. The method according to claim 5, characterized in that: Candidate vehicles construct Bloom filters based on future travel points and send matching requests to Roadside Units (RSUs), including: When a candidate vehicle applies to join the fleet, the candidate vehicle selects the confused spatiotemporal partition code corresponding to the future travel point according to the matching requirements of this time, and constructs a Bloom filter for travel similarity matching. The candidate vehicle matching request is generated based on the pseudonym of the fleet leader vehicle, the Bloom filter of the candidate vehicle, and the current timestamp. The candidate vehicle selects a temporary private key for signing the matching request and generates a temporary public key for signing the matching request to sign the matching request; The candidate vehicle's matching request, the matching request's signature, the matching request's temporary public key, the candidate vehicle's certificate, the candidate vehicle's certificate's signature, and the candidate vehicle's certificate's temporary public key are encapsulated and encrypted using the Roadside Unit's (RSU) ECC public key to generate the matching ciphertext, which is then sent to the Roadside Unit (RSU) in the current area. After receiving the matching ciphertext of the candidate vehicle, the Roadside Unit (RSU) decrypts it with its own private key and verifies the validity of the timestamp of the candidate vehicle certificate and the timestamp of the matching request. It then sequentially verifies the signature of the candidate vehicle certificate and the signature of the matching request for each candidate vehicle. For candidate vehicles whose timestamps and signatures are verified, the Roadside Unit (RSU) temporarily stores the candidate vehicle certificate and the Bloom filter of the candidate vehicle.
7. The method according to claim 6, characterized in that: The roadside unit (RSU) calculates the trip similarity between candidate vehicles and the convoy leader vehicle and aggregates the comparison ciphertext of multiple candidate vehicles to obtain the aggregated comparison ciphertext, including: The roadside unit (RSU) extracts the vector ciphertext of the convoy's lead vehicle and the candidate vehicle vector ciphertext of each candidate vehicle. For each candidate vehicle, the roadside unit (RSU) calculates its Hamming weight by bitwise AND of the Bloom filter with the convoy leader vehicle and generates a trip similarity. The roadside unit (RSU) calculates a single-dimensional aggregated value of trip similarity based on the bit aggregation cardinality, and constructs a trip similarity embedding term based on the quadratic aggregation cardinality. The roadside unit (RSU) uses the Paillier public key of the cloud server CSP to encrypt the trip similarity embedding item; The roadside unit (RSU) multiplies the encrypted trip similarity embedding with the ciphertext of the convoy leader vehicle vector and the ciphertext of the candidate vehicle vectors to obtain the comparison ciphertext containing trip similarity, and aggregates the comparison ciphertexts corresponding to all candidate vehicles to obtain the aggregated comparison ciphertext. The Roadside Unit (RSU) will send the aggregated comparison ciphertext, the pseudonym of the convoy leader vehicle, the ECC public key of the convoy leader vehicle, the pseudonym of each candidate vehicle, and the ECC public key of each candidate vehicle to the Cloud Server (CSP).
8. The method according to claim 7, characterized in that: The cloud server CSP decrypts and parses the aggregated comparison ciphertext, constructing the first comparison result ciphertext and the second comparison result ciphertext, including: The cloud server CSP uses Paillier's private key to decrypt the aggregated comparison ciphertext and obtain the aggregated comparison result. The aggregation comparison results are decomposed layer by layer based on bit aggregation cardinality, secondary aggregation cardinality, and multi-candidate vehicle ciphertext aggregation cardinality to obtain the convoy leader vehicle vector and candidate vehicle vector at the th... The highest difference bit in dimension 1; if the highest difference bit is -1, it indicates that the convoy leader vehicle vector and the candidate vehicle vector are at the 1st dimension. Dimensional values are equal; The cloud server CSP counts the number of the highest difference bit values of -1 in all attribute dimensions to obtain the number of equal attributes, and generates comparison results for the fleet leader vehicle and candidate vehicles respectively. For the convoy's lead vehicle, the cloud server CSP summarizes the pseudonyms of each candidate vehicle, the ECC public key of each candidate vehicle, the comparison results with the convoy's lead vehicle, and the result generation timestamp into a first comparison result. After signing the first comparison result using the first comparison result signing private key and the first comparison result signing public key, it encrypts the first comparison result using the lead vehicle's ECC public key to obtain the first comparison result ciphertext, and forwards the first comparison result ciphertext to the lead vehicle through the roadside unit RSU. For each candidate vehicle, the cloud server CSP generates a second comparison result by combining the comparison result of the candidate vehicle with the result generation timestamp; after signing the second comparison result using the private key and public key of the second comparison result, it encrypts the second comparison result using the ECC public key of the candidate vehicle to obtain the ciphertext of the second comparison result, and forwards the ciphertext of the second comparison result to each candidate vehicle through the roadside unit RSU.
9. A privacy-preserving two-way selection system for recruiting vehicles to follow a fleet, characterized in that, include: The initialization module is used to initialize ECC and Paillier keys using a trusted authority (TA), define the vector format and randomized blinding control matrix, and initialize the spatial and temporal overlapping partitioning systems. The vehicle registration module is used to register candidate vehicles using the trusted authority (TA) and generate candidate vehicle certificates and obfuscated trip codes. The fleet construction module is used to generate a fleet leader vehicle certificate and obfuscated trip code based on the information submitted by the trusted authority (TA) according to the information submitted by the fleet leader vehicle. The recruitment module is used to construct a Bloom filter based on the future travel points of the convoy's lead vehicle and send recruitment requests to the roadside units (RSUs). The matching request module is used to construct a Bloom filter based on the future travel points of the candidate vehicles and send a matching request to the roadside unit (RSU). The aggregation module is used to calculate the trip similarity between candidate vehicles and the convoy leader vehicle through the roadside unit (RSU) and aggregate the comparison ciphertext of multiple candidate vehicles to obtain the aggregated comparison ciphertext. The decryption module is used to decrypt and parse the aggregated comparison ciphertext using the cloud server CSP, and construct the first comparison result ciphertext and the second comparison result ciphertext. The bidirectional selection module enables the candidate vehicle to make a decision on whether to initiate a join request based on the encrypted second comparison result, and enables the convoy leader vehicle to make a decision on whether to accept the join request based on the encrypted first comparison result.
10. An electronic device, comprising: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, wherein the computer program, when executed by the at least one processor, implements the privacy-preserving two-way selection method for fleet following vehicle recruitment as described in any one of claims 1-8.
