Vehicle reputation data evaluation method and device, electronic equipment and readable storage medium

Verify vehicle feedback information through blockchain smart contracts and update reputation scores, solving the problem of insufficient authenticity verification of feedback results in the existing system, realizing security assessment and data privacy protection of vehicle reputation data, improving the authenticity of evaluation and reliability.

CN119402167AActive Publication Date: 2025-02-07JIANGXI UNIV OF SCI & TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411528358.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-07
Estimated Expiration
2044-10-30

AI Technical Summary

Technical Problem

The existing vehicle reputation data evaluation system fails to effectively verify the authenticity of the feedback results, and relies on third-party entities to update the vehicle reputation, which can easily lead to incorrect assessment.

Method used

The vehicle feedback information is automatically verified through smart contracts on the blockchain, the reputation score of the target vehicle is calculated and updated, and the calculation results and ciphertext matrix are broadcast within the communication range for participating in the evaluation of vehicle verification.

Benefits of technology

It realizes automatic security assessment of vehicle reputation data, protects data privacy and security, improves the authenticity and reliability of reputation assessment, and prevents malicious node attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402167A_ABST
    Figure CN119402167A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle reputation data evaluation method and device, electronic equipment and a readable storage medium, and is applied to a trusted authority of a vehicle reputation data evaluation system, and the method comprises the steps: receiving a calculation result of a smart contract on a block chain, the smart contract is used for calculating an updated reputation score of the target vehicle according to the summarized vehicle feedback information after verification; broadcasting the calculation result and the ciphertext matrix in the communication range, so that the vehicles participating in evaluation in the communication range determine whether to trust the updated reputation score of the target vehicle according to the reputation score and the ciphertext matrix; and if the updated reputation score of the target vehicle participating in evaluation of the vehicle trust is determined to be completed, vehicle reputation data evaluation processing is confirmed to be completed. According to the method, the privacy and safety of data are effectively ensured by utilizing the automatic execution and tamper-proof characteristics of the smart contract, so that the vehicle participating in evaluation can use information broadcasted by a trusted authority to verify the authenticity of a feedback result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle network authentication security technology, and in particular to a vehicle reputation data evaluation method, device, electronic device and readable storage medium. Background Art

[0002] As an important part of intelligent transportation systems, security issues have always been the main threat and challenge for vehicular ad-hoc networks (VANETs). In VANETs, ​​vehicles broadcast road traffic information regularly and communicate with other nodes using dedicated short-range communications (DSRC) to facilitate data exchange. Therefore, malicious nodes and data reliability may have a significant impact on network security.

[0003] The reputation evaluation system is considered to be an effective solution to mitigate malicious behavior and improve the credibility of messages in open environments. It evaluates the reputation of a vehicle based on two main aspects: feedback from multiple vehicles and comprehensive reputation from trusted authorities.

[0004] However, existing reputation systems ignore the verification of the authenticity of feedback results. In addition, many existing authentication schemes rely on third-party entities to update the reputation of vehicles. Without verifying the authenticity of feedback results, the reputation updated by third-party entities is often prone to anomalies such as incorrect evaluation. Summary of the invention

[0005] In order to solve the above technical problems, the embodiments of the present application provide a vehicle reputation data evaluation method, device, electronic device and readable storage medium that can automatically evaluate the vehicle feedback reputation data and effectively protect data privacy and security. The specific scheme is as follows: In a first aspect, an embodiment of the present application provides a vehicle reputation data evaluation method, which is applied to a trusted authority of a vehicle reputation data evaluation system, comprising: Receiving a calculation result of a smart contract on a blockchain, wherein the calculation result includes an updated reputation score of a target vehicle, and a calculation triggering condition of the smart contract on the blockchain is that a roadside unit uploads aggregated vehicle feedback information to the blockchain, and the smart contract is used to perform data verification on the aggregated vehicle feedback information, and after the verification is passed, calculate the updated reputation score of the target vehicle according to the aggregated vehicle feedback information; Broadcasting the calculation result and the ciphertext matrix within the communication range, so that participating assessment vehicles within the communication range determine whether to trust the updated reputation score of the target vehicle based on the reputation score and the ciphertext matrix; If the participating assessment vehicles trust the updated reputation score of the target vehicle, it is confirmed that the vehicle reputation data assessment process is completed.

[0006] According to a specific implementation of the embodiment of the present application, before receiving the calculation result of the smart contract on the blockchain, the method further includes: Generate public parameters for data communication between communication entities according to secure hash functions, elliptic curve cryptography, and homomorphic encryption algorithms, wherein the public parameters include an encryption processing function, a system master private key, a system public key, a public key pair, and a private key pair; The private key pair is uploaded to the blockchain, the system master private key is saved locally, and public parameters other than the private key pair and the system master private key are published.

[0007] According to a specific implementation of the embodiment of the present application, the roadside unit uploads the aggregated vehicle feedback information to the blockchain, including: When the roadside unit determines to update the reputation score of the target vehicle, the roadside unit broadcasts the target vehicle reputation update notification information within the communication range; The roadside unit collects feedback data and performs cryptographic verification on the feedback data according to the public parameters, wherein the feedback data is generated and sent by the participating evaluation vehicle within a preset distance from the target vehicle after receiving the reputation update notification information of the target vehicle; If the ciphertext verification of the feedback data is established, the roadside unit generates summarized vehicle feedback information and uploads the summarized vehicle feedback information to the blockchain, wherein the summarized vehicle feedback information includes aggregated encrypted feedback, roadside unit identity information, random signature information, random parameters, timestamp and ciphertext matrix.

[0008] According to a specific implementation of the embodiment of the present application, the method further includes: If the participating evaluation vehicle does not trust the updated reputation score of the target vehicle, receiving the questioning information sent by the participating evaluation vehicle; If the number of received questioning information is greater than or equal to a preset threshold, the target vehicle is listed as a blacklist vehicle, and the identity information of the blacklist vehicle is broadcast.

[0009] According to a specific implementation of the embodiment of the present application, the determining whether to trust the updated reputation score of the target vehicle according to the reputation score and the ciphertext matrix includes: Determining whether to question the updated credibility score of the target vehicle according to the credibility score; If the updated reputation score of the target vehicle is not questioned, then the updated reputation score of the target vehicle is determined to be trusted; If the updated reputation score of the target vehicle is questioned, data verification is performed according to the ciphertext vector in the ciphertext matrix, and if the verification passes, it is determined that the updated reputation score of the target vehicle is trusted; If the verification fails, it is determined that the updated reputation score of the target vehicle is not trusted.

[0010] According to a specific implementation of the embodiment of the present application, the method further includes: Receive registration information of vehicles and roadside units within the communication range; Identity information is sent to the vehicle and the roadside unit respectively according to the registration information.

[0011] According to a specific implementation of the embodiment of the present application, the method further includes: Send pseudonym information to the corresponding vehicle according to the registration information of the vehicle.

[0012] In a second aspect, an embodiment of the present application provides a vehicle reputation data evaluation device, which is applied to a trusted authority of a vehicle reputation data evaluation system, including: A receiving module, configured to receive a calculation result of a smart contract on a blockchain, wherein the calculation result includes an updated reputation score of a target vehicle, and a calculation trigger condition of the smart contract on the blockchain is that a roadside unit uploads aggregated vehicle feedback information to the blockchain, and the smart contract is configured to perform data verification on the aggregated vehicle feedback information, and after the verification is passed, calculate the updated reputation score of the target vehicle according to the aggregated vehicle feedback information; A broadcast module, used for broadcasting the calculation result ciphertext matrix within a communication range, so that participating assessment vehicles within the communication range determine whether to trust the updated reputation score of the target vehicle according to the reputation score and the ciphertext matrix; The confirmation module is used to confirm the completion of the vehicle reputation data evaluation process if the participating evaluation vehicles trust the updated reputation score of the target vehicle.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the vehicle reputation data evaluation method in the aforementioned first aspect or any implementation of the first aspect.

[0014] In a fourth aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle reputation data evaluation method in the aforementioned first aspect or any implementation of the first aspect.

[0015] In summary, this embodiment provides a vehicle reputation data evaluation method, device, electronic device and readable storage medium, which are applied to the trusted authority of the vehicle reputation data evaluation system, including: receiving the calculation results of the smart contract on the blockchain, wherein the smart contract is used to calculate the updated reputation score of the target vehicle based on the verified and summarized vehicle feedback information; broadcasting the calculation results and the ciphertext matrix within the communication range, so that the participating evaluation vehicles within the communication range determine whether to trust the updated reputation score of the target vehicle based on the reputation score and the ciphertext matrix; if the participating evaluation vehicles trust the updated reputation score of the target vehicle, confirming the completion of the vehicle reputation data evaluation process. The present invention utilizes the automatic execution and anti-tampering characteristics of the smart contract to effectively ensure the privacy and security of the data, so that the participating evaluation vehicles can use the information broadcast by the trusted authority to verify the authenticity of the feedback results. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 A schematic diagram of an application scenario of a vehicle reputation data evaluation method provided in an embodiment of the present application; Figure 2 A flow chart of a vehicle reputation data evaluation method provided in an embodiment of the present application; Figure 3 A schematic diagram of the steps for initializing public parameters by a trusted authority provided in an embodiment of the present application; Figure 4 A schematic diagram of the steps for a roadside unit to upload aggregated vehicle information to a blockchain provided in an embodiment of the present application; Figure 5 A schematic diagram of the steps for a trusted authority to process a blacklisted vehicle provided in an embodiment of the present application; Figure 6 A schematic flow chart of the steps for determining whether to trust the updated reputation score of a target vehicle provided in an embodiment of the present application; Figure 7 A schematic diagram of a device module of a vehicle reputation data evaluation device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0019] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0020] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0021] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The drawings only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0022] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.

[0023] As described in the background technology section above, existing vehicle reputation data evaluation schemes cannot guarantee the authenticity of updated reputation data obtained from third-party entities when vehicle reputation data is updated. Since malicious nodes that maliciously attack network data often appear in the network where vehicles move around at will, there is an urgent need for a vehicle reputation data evaluation scheme that can ensure data security and provide a reputation verification mechanism.

[0024] The vehicle reputation data evaluation method provided in the embodiment of the present application can be applied to Figure 1 The vehicle reputation data evaluation system shown. The vehicle reputation data evaluation system in this embodiment includes a trusted authority (TA), a blockchain (Block chain), a road side unit (Road Side Unit, referred to as RSU) and an on-board unit (On Board Unit, referred to as OBU). The trusted authority TA realizes data communication with the road side unit RSU based on the blockchain Block chain, and the road side unit RSU realizes data communication with the on-board unit OBU. It should be noted that the on-board unit OBU in this embodiment can also be directly referred to as a vehicle.

[0025] Before introducing the specific execution steps of the vehicle reputation data evaluation method provided in this embodiment, the cryptographic principles involved in the evaluation calculation process of the vehicle reputation data evaluation method provided in this embodiment are first introduced: A secure hash function is a special function used to map data of any length to a hash value or hash value of a fixed length. It should be noted that the secure hash function in this embodiment can be implemented based on the MD5 (Message-Digest Algorithm 5) or SHA (Secure Hash Algorithm) series of algorithms. In one embodiment, a mapping of a secure hash function, ,in, Represents a set of input values, represents a set of output values, Generates accepts from collection The input and generates a The results in . Indicates that a binary string is input to generate a Coprime positive integers.

[0026] Elliptic Curve Cryptography (ECC) is a powerful and efficient public key cryptography. The Elliptic Curve Discrete Logarithm Problem (ECDLP) is the core problem of ECC and the foundation of its security.

[0027] The elliptic curve discrete logarithm problem refers to the problem of solving a given elliptic curve on an elliptic curve. A base point on and another point (in yes some scalar multiple of , is an integer), at a known base point and another point In the case of problem.

[0028] The Decision Diffie-Hellman (DDH) hypothesis is an important concept in cryptography that relates to the difficulty of the discrete logarithm problem in a specific group. The DDH hypothesis states that given a cyclic group and its generators , and two randomly chosen indices , , (All belong to group The integer set Zq of order q), distinguishing tuples ( , , , )and( , , , ) is difficult.

[0029] The Computational Diffie-Hellman (CDH) assumption states that given a cyclic group and its generators , and two randomly chosen indices and (All belong to group ), compute ,calculate is difficult.

[0030] Homomorphic encryption is a special encryption technique that allows certain types of calculations to be performed on encrypted data, and the encrypted form of the result is the same as the encrypted form of the result of performing the same calculation on the original data.

[0031] The Paillier encryption algorithm is an example of partially homomorphic encryption because it only supports additive homomorphism. and The encrypted version of the sum of the corresponding plaintexts can be obtained by multiplying the two ciphertexts, that is, .

[0032] refer to Figure 2 The present invention provides a method for evaluating vehicle reputation data. Figure 1The vehicle reputation data evaluation system shown in is used as an example to illustrate, including the following steps: S201, receiving the calculation result of the smart contract on the blockchain. The calculation result includes the updated reputation score of the target vehicle. The calculation trigger condition of the smart contract on the blockchain is that the roadside unit uploads the summarized vehicle feedback information to the blockchain. The smart contract is used to perform data verification on the summarized vehicle feedback information, and after the verification is passed, calculate the updated reputation score of the target vehicle based on the summarized vehicle feedback information.

[0033] In this embodiment, the trusted authority TA first needs to receive the registration information of the vehicles and roadside units within the communication range, and send the corresponding identity information to the vehicles and roadside units, so that each communication entity within the communication range of the trusted authority TA can determine the communication object based on the identity information, and only the registered vehicles and roadside units can communicate data within a certain range. The communication range can be determined based on the actual communication capabilities of the trusted authority TA, vehicles, and roadside units in actual application scenarios, and is not limited here.

[0034] In one of the embodiments, after receiving the registration information of a vehicle within the communication range, the trusted authority TA sends pseudonym information to the corresponding vehicle according to the registration information of the vehicle.

[0035] In a specific embodiment, the entity members participating in the communication transmit their respective identity information to the trusted authority TA, and then the trusted authority TA generates and archives the identity information corresponding to each member based on the received information. and roadside units Send their identity information to TA through a secure channel and After receiving the registration information sent by the vehicle, TA Generate pseudonyms , and send the pseudonym to the corresponding vehicle.

[0036] It should be noted that the registration information in this embodiment is the vehicle Identity information sent and roadside units Identity information sent .

[0037] After completing the identity information registration of the entity members participating in the communication, the trusted authority TA will no longer interfere with the data communication of the entity members in the road network until it receives the calculation results sent from the blockchain.

[0038] In actual application scenarios, target vehicles in the road network When the reputation score of the target vehicle needs to be updated, such as After sending the message in VANET, the roadside unit Will start collecting target vehicles The roadside unit collects feedback information from surrounding vehicles and performs calculations, verifications, aggregation and other processing on the feedback information to obtain the summarized vehicle feedback information. The aggregated vehicle feedback information will be uploaded to the blockchain.

[0039] After receiving the aggregated vehicle feedback information, the smart contract on the blockchain automatically verifies the aggregated vehicle feedback information and calculates the credit score according to the contract content, and obtains the calculation result including the updated credit score of the target vehicle.

[0040] It should be noted that the reputation score algorithm in the smart contract in this embodiment can be adaptively configured according to the needs of the actual application scenario and is not defined here.

[0041] The smart contract in this embodiment has the characteristics of automatic execution and tamper-proof, which can effectively protect the privacy and security of reputation data.

[0042] S202, broadcasting the calculation result and the ciphertext matrix within the communication range, so that the participating assessment vehicles within the communication range determine whether to trust the updated reputation score of the target vehicle based on the reputation score and the ciphertext matrix.

[0043] In this embodiment, after obtaining the calculation result sent by the blockchain, that is, obtaining the updated reputation score of the target vehicle, the trusted authority TA will broadcast the updated reputation score and ciphertext matrix of the target vehicle within the communication range of the trusted authority TA.

[0044] After receiving the information broadcast by the trusted authority TA, the participating assessment vehicles within the communication range can directly verify the updated reputation score of the target vehicle based on the information broadcast by the trusted authority TA, and determine whether the updated reputation score of the target vehicle is credible.

[0045] In this embodiment, the participating assessment vehicles can conduct authenticity assessment on the updated reputation score based on the information released by the trusted authority TA, which greatly improves the credibility of the reputation score assessment scheme, realizes effective supervision of the trusted authority TA, and ensures the communication security of the VANET network.

[0046] S203: If the participating assessment vehicles trust the updated reputation score of the target vehicle, confirm that the vehicle reputation data assessment process is completed.

[0047] In this embodiment, if the participating assessment vehicles verify the updated reputation score of the target vehicle based on the reputation score and the ciphertext matrix and determine that the updated reputation score of the target vehicle can be trusted, the trusted authority TA will determine that a vehicle reputation data assessment process has been completed.

[0048] According to a specific implementation of the embodiment of the present application, Figure 3 As shown, before receiving the calculation result of the smart contract on the blockchain, the method also includes: S301, generating public parameters for data communication between communication entities according to a secure hash function, an elliptic curve cryptography, and a homomorphic encryption algorithm, wherein the public parameters include an encryption processing function, a system master private key, a system public key, a public key pair, and a private key pair; S302, upload the private key pair to the blockchain, save the system master private key locally, and publish public parameters except the private key pair and the system master private key.

[0049] In this embodiment, the trusted authority TA selects a secure hash function ,in , as the encryption processing function.

[0050] Then select the parameters As the system master private key, and calculate the system public key based on the elliptic curve discrete logarithm assumption .

[0051] The trusted authority TA generates a public key pair using Paillier encryption and private key pair .

[0052] The trusted authority TA then sends the private key to Upload to the blockchain, Saved locally as a private key and publish public parameters .

[0053] It should be noted that both vehicles and roadside units can obtain public parameters published by trusted authority TA .

[0054] According to a specific implementation of the embodiment of the present application, Figure 4 As shown, the roadside unit uploads the summarized vehicle feedback information to the blockchain, including: S401, when the roadside unit determines to update the reputation score of the target vehicle, the roadside unit broadcasts the target vehicle reputation update notification information within the communication range; S402, the roadside unit collects feedback data and performs ciphertext verification on the feedback data according to public parameters, wherein the feedback data is generated and sent by the participating evaluation vehicles within a preset distance from the target vehicle after receiving the target vehicle's reputation update notification information; S403: If the ciphertext verification of the feedback data is established, the roadside unit generates summarized vehicle feedback information and uploads the summarized vehicle feedback information to the blockchain, where the summarized vehicle feedback information includes aggregated encrypted feedback, roadside unit identity information, random signature information, random parameters, timestamp and ciphertext matrix.

[0055] In this embodiment, when the target vehicle updates its reputation score, the roadside unit It will proactively send update notifications and broadcast target vehicle credit update notification information within its range.

[0056] Roadside Unit Feedback information will be collected from vehicles around the target vehicle and used as a feedback list express, ,in, Indicates information including the level of vehicles involved in the assessment and the authenticity of the information sent by the target vehicle. The evaluations of the target vehicle by neighboring vehicles will be accumulated, and the collected data will be integrated and submitted to the blockchain.

[0057] In the actual implementation process, the roadside unit An intermediate parameter will be randomly selected And calculate the parameters , to generate its own signature ,in, is the feedback list of the target vehicle, yes identity information, yes The private key of is the current timestamp, then the roadside unit The information will be broadcast via public channels .

[0058] vehicle After receiving the message, it will verify Is it established to verify Is the signature valid?

[0059] After verification, the vehicle selects a random number Calculated as an intermediate parameter And generate vehicle signature , then calculate the parameters ,in is the current timestamp.

[0060] Then the vehicle Will use your own private key Calculation verification items To generate a ciphertext vector containing feedback . Last vehicle Roadside Unit Send feedback .

[0061] When the roadside unit After receiving the feedback message sent by the vehicle, the roadside unit verify Is it true? If true, the roadside unit Calculation parameters , to get aggregated encryption feedback .

[0062] Then the roadside unit The intermediate parameters will be randomly selected To calculate the random parameters , and generate random signature information The generated size is The ciphertext matrix ,in, .

[0063] Last roadside unit Summarize vehicle feedback information Uploaded to the blockchain, where the aggregated encrypted feedback is , the roadside unit identity information is , the random signature information is , the random parameters are , the current timestamp is , the ciphertext matrix is ​​the matrix .

[0064] According to a specific implementation of the embodiment of the present application, Figure 5 As shown, the method also includes: S501, if the participating evaluation vehicle does not trust the updated reputation score of the target vehicle, receiving the questioning information sent by the participating evaluation vehicle; S502: If the number of received questioning information is greater than or equal to a preset threshold, the target vehicle is listed as a blacklist vehicle, and the identity information of the blacklist vehicle is broadcast.

[0065] In this embodiment, after the trusted authority TA obtains the feedback processing result, it will broadcast the updated credit score of the target vehicle within the communication range, and the vehicles participating in the evaluation will obtain the credit score from the information broadcast by TA. and the ciphertext matrix .

[0066] If there is any doubt about the updated reputation score, a verification operation can be performed based on the ciphertext vector in the ciphertext matrix. Whether it is true or not, it can be verified whether the feedback information provided by the vehicle has been tampered with. If the verification is successful, the evaluated vehicle will recognize the updated credit score of the target vehicle. On the contrary, if the verification fails, the vehicle will send a questioning message to the trusted authority TA. When the number of vehicles that raise questioning messages exceeds the preset threshold, the trusted authority TA will classify the target vehicle as an attacker, put it on the blacklist and broadcast its identity in the network.

[0067] According to a specific implementation of the embodiment of the present application, Figure 6 As shown, whether to trust the updated reputation score of the target vehicle is determined based on the reputation score and the ciphertext matrix, including: S601, determining whether to question the updated reputation score of the target vehicle according to the reputation score; S602, if the updated reputation score of the target vehicle is not questioned, then determining to trust the updated reputation score of the target vehicle; S603, if the updated reputation score of the target vehicle is questioned, data verification is performed according to the ciphertext vector in the ciphertext matrix, and if the verification passes, the updated reputation score of the target vehicle is determined to be trusted; S604: If the verification fails, determine that the updated reputation score of the target vehicle is not trusted.

[0068] In this embodiment, as described in the specific implementation of the aforementioned steps S501-S502, verify Whether it is established, it can be verified whether the feedback information provided by the vehicle has been tampered with. If the verification is successful, it is determined that the feedback information provided by the vehicle is correct, and the updated reputation score of the target vehicle can be trusted. If the verification fails, it is determined that the feedback information provided by the vehicle is incorrect, and the evaluation vehicle does not trust the updated reputation score of the target vehicle.

[0069] In summary, this embodiment provides a vehicle reputation data evaluation method suitable for VANET. When the vehicle reputation data needs to be updated, the roadside unit automatically collects feedback and verification information provided by the vehicles participating in the evaluation. The automatic execution and tamper-proof characteristics of smart contracts are used to ensure data privacy and security. In the process of vehicle reputation data evaluation, the vehicles participating in the evaluation process can use the information broadcast by the trusted authority to verify the authenticity of the feedback results. The authenticity and reliability of vehicle reputation data evaluation are greatly improved, and the impact of malicious nodes on VANET attacks on network security is avoided.

[0070] Based on the same inventive concept, the embodiment of the present application also provides a vehicle reputation data evaluation device for implementing the vehicle reputation data evaluation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more vehicle reputation data evaluation device embodiments provided below can refer to the limitations of the vehicle reputation data evaluation method above, and will not be repeated here.

[0071] In one embodiment, reference Figure 7 This embodiment also provides a vehicle reputation data evaluation device 700, including: a receiving module 710, a broadcasting module 720 and a confirmation module 730, wherein: A receiving module 710 is used to receive the calculation result of the smart contract on the blockchain, wherein the calculation result includes the updated reputation score of the target vehicle, and the calculation trigger condition of the smart contract on the blockchain is that the roadside unit uploads the summarized vehicle feedback information to the blockchain, and the smart contract is used to perform data verification on the summarized vehicle feedback information, and after the verification is passed, calculate the updated reputation score of the target vehicle according to the summarized vehicle feedback information; A broadcast module 720 is used to broadcast the calculation result and the ciphertext matrix within the communication range, so that the participating assessment vehicles within the communication range determine whether to trust the updated reputation score of the target vehicle according to the reputation score and the ciphertext matrix; The confirmation module 730 is used to confirm the completion of the vehicle reputation data evaluation process if the participating evaluation vehicles trust the updated reputation score of the target vehicle.

[0072] In summary, this embodiment provides a vehicle reputation data evaluation device suitable for VANET. When the vehicle reputation data needs to be updated, the roadside unit automatically collects feedback and verification information provided by the vehicles participating in the evaluation. The automatic execution and tamper-proof characteristics of smart contracts are used to ensure data privacy and security. In the process of vehicle reputation data evaluation, the vehicles participating in the evaluation process can use the information broadcast by the trusted authority to verify the authenticity of the feedback results. The authenticity and reliability of vehicle reputation data evaluation are greatly improved, and the impact of malicious nodes on VANET attacks on network security is avoided.

[0073] Figure 7 The specific implementation of the device shown can refer to the specific implementation of the aforementioned method embodiment, which will not be repeated here.

[0074] In addition, an embodiment of the present application further provides an electronic device, the electronic device comprising: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle reputation data evaluation method in the aforementioned method embodiment.

[0075] It should be noted that the electronic device in this embodiment may be a compound eye detector device, or may be other electronic devices equipped with or connected to the compound eye detector device.

[0076] The embodiment of the present application also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle reputation data evaluation method in the aforementioned method embodiment.

[0077] The electronic devices in the embodiments of the present application may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0078] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Examples of computer-readable storage media may be, but are not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0079] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0080] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0081] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains at least two Internet Protocol addresses; sends a node evaluation request including the at least two Internet Protocol addresses to a node evaluation device, wherein the node evaluation device selects an Internet Protocol address from the at least two Internet Protocol addresses and returns it; receives the Internet Protocol address returned by the node evaluation device; wherein the obtained Internet Protocol address indicates an edge node in a content distribution network.

[0082] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: receives a node evaluation request including at least two Internet Protocol addresses; selects an Internet Protocol address from the at least two Internet Protocol addresses; and returns the selected Internet Protocol address; wherein the received Internet Protocol address indicates an edge node in a content distribution network.

[0083] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0084] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0085] The units involved in the embodiments described in the present application may be implemented by software or hardware. The name of the unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0086] It should be understood that various parts of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.

[0087] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A vehicle reputation data evaluation method, characterized in that: Trusted authorities used in the vehicle reputation data assessment system include: Receiving a calculation result of a smart contract on a blockchain, wherein the calculation result includes an updated reputation score of a target vehicle, and a calculation triggering condition of the smart contract on the blockchain is that a roadside unit uploads aggregated vehicle feedback information to the blockchain, and the smart contract is used to perform data verification on the aggregated vehicle feedback information, and after the verification is passed, calculate the updated reputation score of the target vehicle according to the aggregated vehicle feedback information; Broadcasting the calculation result and the ciphertext matrix within the communication range, so that participating assessment vehicles within the communication range determine whether to trust the updated reputation score of the target vehicle based on the reputation score and the ciphertext matrix; If the participating assessment vehicles trust the updated reputation score of the target vehicle, it is confirmed that the vehicle reputation data assessment process is completed.

2. The method according to claim 1, characterized in that Before receiving the calculation result of the smart contract on the blockchain, the method further includes: Generate public parameters for data communication between communication entities according to secure hash functions, elliptic curve cryptography, and homomorphic encryption algorithms, wherein the public parameters include an encryption processing function, a system master private key, a system public key, a public key pair, and a private key pair; The private key pair is uploaded to the blockchain, the system master private key is saved locally, and public parameters other than the private key pair and the system master private key are published.

3. The method according to claim 2, characterized in that The roadside unit uploads the aggregated vehicle feedback information to the blockchain, including: When the roadside unit determines to update the reputation score of the target vehicle, the roadside unit broadcasts the target vehicle reputation update notification information within the communication range; The roadside unit collects feedback data and performs cryptographic verification on the feedback data according to the public parameters, wherein the feedback data is generated and sent by the participating evaluation vehicle within a preset distance from the target vehicle after receiving the reputation update notification information of the target vehicle; If the ciphertext verification of the feedback data is established, the roadside unit generates summarized vehicle feedback information and uploads the summarized vehicle feedback information to the blockchain, wherein the summarized vehicle feedback information includes aggregated encrypted feedback, roadside unit identity information, random signature information, random parameters, timestamp and ciphertext matrix.

4. The method according to claim 1, characterized in that: The method further comprises: If the participating evaluation vehicle does not trust the updated reputation score of the target vehicle, receiving the questioning information sent by the participating evaluation vehicle; If the number of received questioning information is greater than or equal to a preset threshold, the target vehicle is listed as a blacklist vehicle, and the identity information of the blacklist vehicle is broadcast.

5. The method according to claim 1, characterized in that The determining whether to trust the updated reputation score of the target vehicle according to the reputation score and the ciphertext matrix includes: Determining whether to question the updated credibility score of the target vehicle according to the credibility score; If the updated reputation score of the target vehicle is not questioned, then the updated reputation score of the target vehicle is determined to be trusted; If the updated reputation score of the target vehicle is questioned, data verification is performed according to the ciphertext vector in the ciphertext matrix, and if the verification passes, it is determined that the updated reputation score of the target vehicle is trusted; If the verification fails, it is determined that the updated reputation score of the target vehicle is not trusted.

6. The method according to claim 1, characterized in that The method further comprises: Receive registration information of vehicles and roadside units within the communication range; Identity information is sent to the vehicle and the roadside unit respectively according to the registration information.

7. The method according to claim 6, characterized in that The method further comprises: Send pseudonym information to the corresponding vehicle according to the registration information of the vehicle.

8. A vehicle reputation data evaluation device, characterized in that: Trusted authorities used in the vehicle reputation data assessment system include: A receiving module, configured to receive a calculation result of a smart contract on a blockchain, wherein the calculation result includes an updated reputation score of a target vehicle, and a calculation trigger condition of the smart contract on the blockchain is that a roadside unit uploads aggregated vehicle feedback information to the blockchain, and the smart contract is configured to perform data verification on the aggregated vehicle feedback information, and after the verification is passed, calculate the updated reputation score of the target vehicle according to the aggregated vehicle feedback information; A broadcast module, used for broadcasting the calculation result and the ciphertext matrix within the communication range, so that the participating assessment vehicles within the communication range determine whether to trust the updated reputation score of the target vehicle according to the reputation score and the ciphertext matrix; The confirmation module is used to confirm the completion of the vehicle reputation data evaluation process if the participating evaluation vehicles trust the updated reputation score of the target vehicle.

9. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the vehicle reputation data evaluation method described in any one of claims 1-7.

10. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, which are used to enable the computer to execute the vehicle reputation data evaluation method described in any one of claims 1-7.

Citation Information

Patent Citations

  • Block chain-based privacy protection trust and reputation management method in Internet of Vehicles

    CN116017316A

  • Vehicle identity privacy protection method based on block chain in Internet of Vehicles

    CN116527342A

  • Reputation system for vehicles based on local community

    KR1020130110702A

  • Anonymous messenger reputation system based on blockchain and reputation appraisal method thereof

    KR102042935B1