Revocable vehicle position ciphertext matching method based on Internet of Vehicles
By adopting RPC-MPKET technology and identity-based public key encryption mechanism in the Internet of Vehicles environment, the problems of data leakage, repeated counting and calculation delay in traditional encryption technology are solved, and safe and efficient vehicle position data transmission and traffic signal optimization are achieved.
Patent Information
- Application Number
- CN202510165415.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-02-14
AI Technical Summary
In the Internet of Vehicles environment, traditional data encryption technology has problems such as data leakage, repeated counting and calculation delay, making it difficult to effectively protect the privacy of vehicle location data and support dynamic traffic signal optimization.
The revocable vehicle position ciphertext matching method based on RPC-MPKET is adopted, and the root search method of the Van der Mondr matrix is used for encryption, decryption and testing, and an identity-based public key encryption and time private key revocation mechanism is introduced to support public channel transmission and reduce the cost of establishing a secure channel.
It realizes the safe transmission of vehicle position data in the intelligent traffic signal system, supports the vehicle to revoke its ciphertext matching authorization to the traffic management center, reduces the risk of privacy leakage and calculation delay, and improves the efficiency and security of traffic signal optimization.
Smart Images

Figure CN119946619A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data encryption, and in particular to a revocable vehicle position ciphertext matching method based on an Internet of Vehicles. Background Art
[0002] In a certain city, the traffic management department decided to introduce an intelligent traffic management system at the busy main intersections in the city center. Each vehicle is equipped with an on-board device, which sends the vehicle's real-time location, speed, and driving route data to the traffic management center through the Internet of Vehicles technology. This data is used to build a vehicle relationship network to accurately observe the traffic flow at each intersection. The traffic management center uses the traffic light optimization system to dynamically adjust the traffic light time at each intersection based on the traffic flow data and traffic light control strategy.
[0003] Traditional traffic lights usually use a fixed timing scheme and cannot be adjusted dynamically according to real-time traffic conditions, resulting in long-term stagnation of vehicles in some directions, while the traffic capacity in other directions is not fully utilized. This static signal light control method not only reduces the traffic efficiency of the intersection, but also aggravates exhaust emissions. Therefore, the introduction of Internet of Vehicles (IOV) technology provides new technical support to solve this problem. Through the Internet of Vehicles, vehicles can send their own location, speed and other data, and the traffic light system can dynamically optimize traffic signals based on this data. However, this data sharing has brought convenience to the optimization of traffic lights, but it has also caused many privacy and security issues.
[0004] Data leakage risk. If this data is transmitted or stored in plain text, it may lead to data leakage risk. The traffic light system may record the driving trajectory of each vehicle, resulting in the violation of driver privacy; if the traffic light system is attacked by hackers, the personal data of the vehicle may be stolen or abused; drivers may be reluctant to share data for fear of privacy leakage, which will affect the promotion and implementation of intelligent transportation systems. Double counting problem. During peak hours, the traffic light system needs to count the traffic flow on each road to dynamically adjust the green light duration. However, directly using encrypted data may lead to the problem of double counting: if a vehicle sends encrypted information multiple times, the system may count multiple times, resulting in inaccurate traffic flow statistics. Since encrypted data cannot be directly parsed, it is difficult for the system to distinguish whether there are duplicate vehicles or invalid data. Computational delay problem. In the process of dynamically optimizing the timing of traffic lights, the system needs to count the traffic flow on each road in real time, and these calculations need to rely on dynamic data provided by vehicles. If the system cannot directly process encrypted data, it needs to decrypt the data and analyze it first, which will bring about the problem of computational delay.
[0005] The existing PKEET construction focuses on the equality test of two ciphertexts. Using the traditional PKEET, the cloud server needs to perform two equality tests, and the computational cost will increase linearly with the number of users. The PKE-MET construction proposed by relevant scholars is suitable for equivalence tests between multiple ciphertexts, but this method does not support revocation operations. Once the server trapdoor is authorized, the user's test permission can be permanently obtained, and any ciphertext of the user can be tested for equivalence at any time without permission. Summary of the invention
[0006] The purpose of the present invention is to provide a revocable vehicle location ciphertext matching method based on the Internet of Vehicles, which utilizes RPC-MPKET technology to safely send vehicle location data to an intelligent traffic signal system. In addition, if a vehicle wants to hide its past route, it can revoke its ciphertext matching authorization to the traffic control center.
[0007] A revocable vehicle position ciphertext matching method based on Internet of Vehicles, comprising: The vehicle uses the public key to encrypt the vehicle position to obtain the ciphertext; The ciphertext sent by the vehicle to the traffic control center; The traffic control center calculates the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic lights based on the congestion situation determined by the number of vehicles.
[0008] Preferably, before the vehicle uses the public key to encrypt the vehicle position to obtain the ciphertext, it also includes generating system parameters, specifically: Algorithm input security parameters , output system parameters ; in, It is The cyclic group of is a large prime number, is from A randomly selected generator in ; are five collision-resistant hash functions, among which yes The bit length of the elements in is: .
[0009] Preferably, after generating the system parameters, the process further includes generating a public-private key pair and a time key, specifically: Randomly select three elements And set the public key and private key : Long-term key pairs are for ; Time key generation algorithm input private key and time , randomly selected And set as follows: .
[0010] Preferably, the vehicle uses a public key to encrypt the vehicle position to obtain a ciphertext including: In time , multiple vehicles in the system Use the public key to encrypt the location information and send the ciphertext Store to cloud server; Random Selection , and calculate the ciphertext : calculate : Select an The number of times is The polynomial , randomly selected And calculate the ciphertext: The final ciphertext is .
[0011] Preferably, the traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic lights based on the congestion situation determined by the number of vehicles, including: Authentication vehicle information, based on vehicle ( ) The corresponding time private key s and long-term private keys As input, return trapdoor s ; Perform an equivalence test on the encrypted data of the vehicles in the system to determine whether they contain the same message: Testing Algorithms ; Algorithm Input Group ciphertext , the corresponding long-term private key And the temporary private key corresponding to the user at the time of ciphertext generation ; Returns 1 if the following equation is satisfied, otherwise returns 0: calculate if , then this equation produces a unique set ; calculate , if the equation holds, then , returns 1, otherwise returns 0.
[0012] Preferably, the traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic lights based on the number of vehicles to determine the congestion situation, and further includes the vehicle revoking the test authority of the traffic control center, specifically: The user revokes the authority of TMC at time t, the user enters time t, and the user stops distributing the corresponding time private key to the traffic control center.
[0013] Preferably, the traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the position ciphertexts sent by all vehicles on the current street within T minutes, and after dynamically adjusting the parameters of the traffic lights based on the number of vehicles to determine the congestion situation, further includes decrypting the ciphertext, specifically: Given user Private key ,time The key of time and ciphertext , perform the decryption operation: Calculate the following equation: , then checks whether the following equation holds, and returns message (m) if the equation holds: .
[0014] A revocable vehicle position ciphertext matching system based on Internet of Vehicles, comprising: A data processing module, used for the vehicle to encrypt the vehicle position using a public key to obtain a ciphertext; Data transmission module, used for ciphertext sent by vehicles to the traffic control center; The data testing module is used by the traffic control center to obtain the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and to dynamically adjust the parameters of the traffic lights based on the congestion situation determined by the number of vehicles.
[0015] An electronic device comprises: a chip, a processor and a memory, wherein the memory is used to store computer program code, and the computer program code comprises computer instructions. When the chip executes the computer instructions, the electronic device executes a revocable vehicle position ciphertext matching method based on the Internet of Vehicles.
[0016] A computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor of an electronic device, the processor executes a revocable vehicle position ciphertext matching method based on an Internet of Vehicles.
[0017] The beneficial effects of the present invention are: 1. The present invention proposes a new RPC-MPKET concept, which is designed for a cloud-based vehicle networking environment. Using the RPC-MPKET technology, vehicle location data can be securely sent to the intelligent traffic signal system. In addition, if the vehicle wants to hide its past route, it can revoke its ciphertext matching authorization to the traffic control center; 2. The present invention adopts the root-finding method of the Vandermonde matrix for encryption, decryption and testing processes, which do not require bilinear pairing operations. A revocation mechanism for identity-based public key encryption is introduced, which is divided into a long-term private key and a time private key. The time private key is updated regularly, supports public channel transmission, reduces the establishment cost, and ensures privacy and security. When the user wants to revoke the authorization, they will stop distributing the time private key to the traffic control center. This is better than using a secure channel to transmit a trapdoor with a time unit, because it can be done through a public channel, thereby saving the cost of establishing a secure channel; 3. The present invention can achieve the security of OW-CPA, OW-CCA, and IND-CCA. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] Figure 1 A flowchart of a revocable vehicle position ciphertext matching method based on the Internet of Vehicles of the present invention; Figure 2 A schematic diagram of a revocable vehicle location ciphertext matching system model based on the Internet of Vehicles of the present invention; Figure 3 A schematic diagram of traffic conditions at a certain intersection of the present invention; Figure 4 The figure is a schematic diagram of the hardware structure of an electronic device of the present invention. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0023] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0024] Existing PKEET constructions focus on testing the equality of two ciphertexts. In such a scenario, three users (named Alice, Bob, and Caroline) apply to the cloud server to check whether the ciphertexts they received are encrypted with the same message. Using traditional PKEET, the cloud server needs to perform two equality tests, namely Alice and Bob, and Bob and Caroline. In addition, if the underlying messages are not the same, the cloud server can obtain redundant information, such as Alice and Bob received the same message, while Bob and Caroline did not. In addition, the computational cost will increase linearly with the number of users. Privacy leakage and computational overhead prevent this simple method from being applied in practice. The PKE-MET construction proposed by relevant scholars is suitable for performing equivalence tests between multiple ciphertexts, but this method does not support revocation operations. Once the server trapdoor is authorized, the user's test permissions can be permanently obtained, and any ciphertext of the user can be tested for equivalence at any time without permission.
[0025] The present invention proposes a new RPC-MPKET concept, which is designed for a cloud-based Internet of Vehicles environment. Using the RPC-MPKET technology, vehicle location data can be securely sent to an intelligent traffic signal system. In addition, if a vehicle wants to hide its past route, it can revoke its ciphertext matching authorization to the traffic control center; the present invention adopts the root-finding method of the Vandermonde matrix for encryption, decryption and testing processes, which do not require bilinear pairing operations. A revocation mechanism for identity-based public key encryption is introduced, which is divided into a long-term private key and a time private key. The time private key is updated regularly, supports public channel transmission, reduces the establishment cost, and ensures privacy and security. When the user wants to revoke the authorization, they will stop distributing the time private key to the traffic control center. This is better than using a secure channel to transmit a trapdoor with a time unit, because it can be done through a public channel, thereby saving the cost of establishing a secure channel; the present invention can achieve the security of OW-CPA, OW-CCA, and IND-CCA.
[0026] Example 1 A revocable vehicle location ciphertext matching method based on the Internet of Vehicles, reference Figure 1 ,include: S100, the vehicle uses a public key to encrypt the vehicle position to obtain a ciphertext; S200, ciphertext sent by the vehicle to the traffic control center; S300, the traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic lights based on the congestion situation determined by the number of vehicles.
[0027] The present invention provides a revocable vehicle ciphertext position matching method. The system monitors the position and speed information of the vehicle in real time, and uses the ciphertext equivalence test technology to evaluate the traffic flow. PKEET technology ensures that the privacy of the vehicle is not leaked, and finds out the vehicles in the same position (for example, the vehicle in street A with longitude and latitude 335124S, 1511254E, the vehicle in street B with longitude and latitude (335124S, 1511254.234E, ...), so as to facilitate the traffic management department to adjust the traffic light duration according to the traffic conditions of the congested road section. Based on these data, the traffic management center can dynamically adjust the traffic light time of the intersection, give priority to diverting the traffic flow of the congested road section, so as to optimize the traffic flow to the greatest extent and ensure smooth roads.
[0028] Assume that the system has Vehicles Assume that vehicle A encrypts The location information and speed of the vehicle at that moment are sent to the traffic control center. At the same time, A generates an authorization to the traffic center. Similarly, vehicle B encrypts time( or ) and sends the location information and speed of the vehicle to the traffic control center, and vehicle B generates an authorization to the traffic center. . And so on, A vehicle can encrypt its vehicle information into ciphertext and send it to the traffic control center at any time. However, in order to facilitate the optimization of intelligent traffic lights, Within time (eg ) traffic flow data. The traffic management center, as a storage center and a trusted third party, is responsible for performing ciphertext equivalence tests. The traffic management center will collect the location information of each vehicle, perform ciphertext equivalence tests, and send the test results to A and B. Revocation operation: Since the location information is constantly updated, the driver does not want his previous trajectory to be uploaded to the traffic management center. If he wants to revoke the authorization on his own, he will stop distributing the current time private key to the traffic management center, thereby stopping the vehicle's equivalence authorization.
[0029] Preferably, before the vehicle uses the public key to encrypt the vehicle position to obtain the ciphertext, it also includes generating system parameters, specifically: Algorithm input security parameters , output system parameters ; in, It is The cyclic group of is a large prime number, is from A randomly selected generator in ; are five collision-resistant hash functions, among which yes The bit length of the elements in is: .
[0030] Preferably, after generating the system parameters, it also includes generating a public-private key pair and a time key, specifically: Randomly select three elements And set the public key and private key : Long-term key pairs are for ; Time key generation algorithm input private key and time , randomly selected And set as follows: .
[0031] Preferably, the vehicle uses a public key to encrypt the vehicle position to obtain a ciphertext including: In time , multiple vehicles in the system Use the public key to encrypt the location information and send the ciphertext Store to cloud server; Random Selection , and calculate the ciphertext : calculate : Select an The number of times is The polynomial , randomly selected And calculate the ciphertext: The final ciphertext is .
[0032] Preferably, the traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic light based on the congestion situation determined by the number of vehicles, including: Authentication vehicle information, based on vehicle ( ) The corresponding time private key s and long-term private keys As input, return trapdoor s ; Perform an equivalence test on the encrypted data of the vehicles in the system to determine whether they contain the same message: Testing Algorithms ; Algorithm Input Group ciphertext , the corresponding long-term private key And the temporary private key corresponding to the user at the time of ciphertext generation ; Returns 1 if the following equation is satisfied, otherwise returns 0: calculate if , then this equation produces a unique set ; calculate , if the equation holds, then , returns 1, otherwise returns 0.
[0033] Preferably, the traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic lights based on the number of vehicles to determine the congestion situation, and further includes the vehicle revoking the test authority of the traffic control center, specifically: The user revokes the authority of TMC at time t, the user enters time t, and the user stops distributing the corresponding time private key to the traffic control center.
[0034] If the user wants to revoke the TMC's permission at time t, the user enters time t, and the user stops distributing the corresponding time private key to the cloud server. For example, suppose there are (n) cars, and the public key and private key of each car are ), the corresponding time key is , the corresponding ciphertext is ,in .
[0035] Preferably, the traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the position ciphertexts sent by all vehicles on the current street within T minutes, and after dynamically adjusting the parameters of the traffic lights based on the number of vehicles to determine the congestion situation, it also includes decrypting the ciphertext, specifically: Given user Private key ,time The key of time and ciphertext , perform the decryption operation: Calculate the following equation: , then checks whether the following equation holds, and returns message (m) if the equation holds: .
[0036] refer to Figure 3 , Figure 3 (a) shows a busy intersection with a traditional traffic light that uses a fixed timing method. This method cannot dynamically adjust to real-time traffic conditions, so vehicles may need to stop for a long time in one direction, while the capacity in other directions is not fully utilized. This static control method of traffic lights reduces the efficiency of intersection channels and increases exhaust emissions. Figure 3 (b) shows that through the IOV technology of the Internet of Vehicles and the ciphertext matching technology of the present invention, the vehicle can transmit its location, speed and other data in a ciphertext state, and the traffic light system can dynamically optimize the traffic signal based on these data without decryption. This not only protects the privacy of vehicle data, but also can dynamically adjust the duration of traffic lights.
[0037] Example 2 A revocable vehicle location ciphertext matching system based on the Internet of Vehicles, reference Figure 2 ,include: A data processing module, used for the vehicle to encrypt the vehicle position using a public key to obtain a ciphertext; Data transmission module, used for ciphertext sent by vehicles to the traffic control center; The data testing module is used by the traffic control center to obtain the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and to dynamically adjust the parameters of the traffic lights based on the congestion situation determined by the number of vehicles.
[0038] The system of the present invention includes two entities: a vehicle and a traffic control center (cloud server).
[0039] (1) Vehicle: Encrypt or decrypt ciphertext; authorize the traffic control center (cloud server) to conduct equivalence testing, and revoke authorization for the test operation of the traffic control center.
[0040] (2) Traffic Control Center: Responsible for storing ciphertext and performing equivalence tests, and returning the test results to the vehicle. In order to optimize traffic flow and reduce waiting time, the traffic control center will set traffic lights and dynamically adjust the traffic light time at the intersection.
[0041] In time , multiple vehicles in the system Use the public key to encrypt the location information and send the ciphertext Stored in the cloud server. When the user needs to perform an equivalence test on the encrypted data, the long-term private key will be sent and time private key To the cloud server, where the long-term private key Transmitted through a secure channel, and the time private key Transmitted through public channels and updated periodically. The cloud server tests the encrypted data of the vehicle in the system to determine whether it contains the same message. When the vehicle wants to revoke the cloud server's test permission, it stops distributing the latest time private key, thereby revoking the authorization.
[0042] Example 3 An electronic device includes: a chip, a processor and a memory, the memory is used to store computer program code, the computer program code includes computer instructions, and when the chip executes the computer instructions, the electronic device executes a revocable vehicle position ciphertext matching method based on the Internet of Vehicles.
[0043] refer to Figure 4 , the electronic device 2 includes a processor 21, a memory 22, an input device 23, and an output device 24. The processor 21, the memory 22, the input device 23, and the output device 24 are coupled via a connector, and the connector includes various interfaces, transmission lines, or buses, etc., which are not limited in the embodiments of the present invention. It should be understood that in various embodiments of the present invention, coupling refers to mutual connection in a specific manner, including direct connection or indirect connection through other devices, for example, through various interfaces, transmission lines, buses, etc.
[0044] The processor 21 may be one or more graphics processing units (GPUs). When the processor 21 is a GPU, the GPU may be a single-core GPU or a multi-core GPU. Optionally, the processor 21 may be a processor group consisting of multiple GPUs, and the multiple processors are coupled to each other via one or more buses. Optionally, the processor may also be other types of processors, etc., which are not limited in the embodiments of the present invention.
[0045] The memory 22 can be used to store computer program instructions and various computer program codes including program codes for executing the scheme of the present invention. Optionally, the memory includes but is not limited to random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM), or portable read only memory (CD-ROM), which is used for related instructions and data.
[0046] The input device 23 is used to input data and / or signals, and the output device 24 is used to output data and / or signals. The output device 24 and the input device 23 may be independent devices or an integrated device.
[0047] Example 4 A computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor of an electronic device, the processor executes a revocable vehicle position ciphertext matching method based on an Internet of Vehicles.
[0048] The present invention proposes a new RPC-MPKET concept, which is designed for a cloud-based Internet of Vehicles environment. Using the RPC-MPKET technology, vehicle location data can be securely sent to an intelligent traffic signal system. In addition, if a vehicle wants to hide its past route, it can revoke its ciphertext matching authorization to the traffic control center; the present invention adopts the root-finding method of the Vandermonde matrix for encryption, decryption and testing processes, which do not require bilinear pairing operations. A revocation mechanism for identity-based public key encryption is introduced, which is divided into a long-term private key and a time private key. The time private key is updated regularly, supports public channel transmission, reduces the establishment cost, and ensures privacy and security. When the user wants to revoke the authorization, they will stop distributing the time private key to the traffic control center. This is better than using a secure channel to transmit a trapdoor with a time unit, because it can be done through a public channel, thereby saving the cost of establishing a secure channel; the present invention can achieve the security of OW-CPA, OW-CCA, and IND-CCA.
[0049] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A revocable vehicle position ciphertext matching method based on the Internet of Vehicles, characterized in that: include: The vehicle uses the public key to encrypt the vehicle position to obtain the ciphertext; The ciphertext sent by the vehicle to the traffic control center; The traffic control center calculates the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic lights based on the congestion situation determined by the number of vehicles.
2. A revocable vehicle position ciphertext matching method based on the Internet of Vehicles according to claim 1, characterized in that: Before the vehicle uses the public key to encrypt the vehicle position to obtain the ciphertext, it also includes generating system parameters, specifically: Algorithm input security parameters , output system parameters ; in, It is The cyclic group of is a large prime number, is from A randomly selected generator in ; are five collision-resistant hash functions, among which yes The bit length of the elements in is: 。 3. The revocable vehicle position ciphertext matching method based on the Internet of Vehicles according to claim 2, characterized in that: After generating the system parameters, the public-private key pair and the time key are generated, specifically: Randomly select three elements And set the public key and private key : Long-term key pairs are for ; Time key generation algorithm input private key and time , randomly selected And set as follows: 。 4. The revocable vehicle position ciphertext matching method based on the Internet of Vehicles according to claim 3 is characterized in that: The vehicle uses a public key to encrypt the vehicle position to obtain a ciphertext including: In time , multiple vehicles in the system Use the public key to encrypt the location information and send the ciphertext Store to cloud server; Random Selection , and calculate the ciphertext : calculate : Select an The number of times is The polynomial , randomly selected And calculate the ciphertext: The final ciphertext is .
5. The revocable vehicle position ciphertext matching method based on the Internet of Vehicles according to claim 1, characterized in that: The traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic lights based on the number of vehicles to determine the congestion situation, including: Authentication vehicle information, based on vehicle ( ) The corresponding time private key s and long-term private keys As input, return trapdoor s ; Perform an equivalence test on the encrypted data of the vehicles in the system to determine whether they contain the same message: Testing Algorithms ; Algorithm Input Group ciphertext , the corresponding long-term private key And the temporary private key corresponding to the user at the time of ciphertext generation ; Returns 1 if the following equation is satisfied, otherwise returns 0: calculate if , then this equation produces a unique set ; calculate , if the equation holds, then , returns 1, otherwise returns 0.
6. The revocable vehicle position ciphertext matching method based on the Internet of Vehicles according to claim 1, characterized in that: The traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic lights based on the number of vehicles to determine the congestion situation. It also includes the vehicle revoking the test authority of the traffic control center, specifically: The user revokes the authority of TMC at time t, the user enters time t, and the user stops distributing the corresponding time private key to the traffic control center.
7. The revocable vehicle position ciphertext matching method based on the Internet of Vehicles according to claim 1, characterized in that: The traffic control center obtains the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and dynamically adjusts the parameters of the traffic lights based on the number of vehicles to determine the congestion situation, and then also includes decrypting the ciphertext, specifically: Given user Private key ,time The key of time and ciphertext , perform the decryption operation: Calculate the following equation: , then checks whether the following equation holds, and returns message (m) if the equation holds: 。 8. A revocable vehicle location ciphertext matching system based on the Internet of Vehicles, characterized in that: include: A data processing module, used for the vehicle to encrypt the vehicle position using a public key to obtain a ciphertext; Data transmission module, used for ciphertext sent by vehicles to the traffic control center; The data testing module is used by the traffic control center to obtain the number of vehicles traveling on the current street within T minutes based on the matching of the location ciphertexts sent by all vehicles on the current street within T minutes, and to dynamically adjust the parameters of the traffic lights based on the congestion situation determined by the number of vehicles.
9. An electronic device, characterized in that: include: A chip, a processor and a memory, wherein the memory is used to store computer program code, wherein the computer program code includes computer instructions. When the chip executes the computer instructions, the electronic device executes a revocable vehicle position ciphertext matching method based on the Internet of Vehicles as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor of an electronic device, the processor executes a revocable vehicle position ciphertext matching method based on the Internet of Vehicles as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Safety information source identification method for vehicle formation revocable instruction sharing
CN117294428A
Ciphertext revocable attribute encryption-based urban Internet of Vehicles cross-chain method and system
CN118233861A
Certificate revocation and management for autonomous vehicles
US20230188361A1