CN114945022B - Block chain-based Internet of vehicles edge computing sharing method - Google Patents
Block chain-based Internet of vehicles edge computing sharing method Download PDFInfo
- Publication number
- CN114945022B CN114945022B CN202210552277.XA CN202210552277A CN114945022B CN 114945022 B CN114945022 B CN 114945022B CN 202210552277 A CN202210552277 A CN 202210552277A CN 114945022 B CN114945022 B CN 114945022B
- Authority
- CN
- China
- Prior art keywords
- vehicle
- information
- data
- user
- sharing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000003993 interaction Effects 0.000 claims description 43
- 230000008569 process Effects 0.000 claims description 29
- 230000004927 fusion Effects 0.000 claims description 16
- 238000012795 verification Methods 0.000 claims description 14
- 238000013507 mapping Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 9
- 238000004364 calculation method Methods 0.000 abstract description 8
- 238000007726 management method Methods 0.000 description 8
- 230000004931 aggregating effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/0042—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
- G07F17/0057—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/101—Access control lists [ACL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3263—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/84—Vehicles
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention belongs to the technical field of Internet of vehicles, and particularly relates to an Internet of vehicles edge computing sharing method based on a block chain, which comprises the following steps: the system executes different sharing strategies according to the state of the vehicle user, namely, the running vehicle uploads road condition data to an edge computing server through a roadside unit and records the road condition data into a blockchain; the data requester in the system can download the latest shared information table, select an information source according to the reputation value of the data provider, and feed back the information to the vehicle after using the information; vehicles in parking may share resources to the system; the system feeds back the vehicle user according to the result of using the vehicle resource; the edge computing server aggregates and updates the reputation value of the vehicle according to all feedback results and writes the reputation value into a block chain; according to the invention, the information and idle resources acquired by the user in the Internet of vehicles are safely and efficiently shared by adopting the edge calculation and blockchain technology, so that the information and resource utilization efficiency of the network is improved.
Description
Technical Field
The invention belongs to the technical field of Internet of vehicles, and particularly relates to an Internet of vehicles edge computing sharing method based on a block chain.
Background
Firstly, the concept of the internet of things is derived from the internet of things, namely the internet of things of vehicles, is based on the in-vehicle network, the inter-vehicle network and the vehicle mobile internet, and realizes a large system network for wireless communication and information interaction between V2X (Vehicle to Everything) by means of a new generation of information communication technology, so that the internet of things technology is a typical application of the internet of things technology in the field of traffic systems. Then, edge computation is a distributed computing architecture, where the computation of applications, data and services is handled by hub nodes, moving to edge nodes on the network logic. The edge computation is closer to the data source than the centralized cloud computation, and has the characteristics of mobility support, location awareness, low latency, scalability, and the like. The blockchain is then a distributed data storage system, which has properties of non-tamper-resistance, transparency, and decentralization, and can be divided into three types: public chains, private chains, and federation chains. Public chains are completely decentered, private chains are strongly centralized, while federation chains are between the two, weakly centralized. However, the alliance chain is widely used because of the advantages of lower cost, better privacy protection, more flexible management, etc.
With the development of science and technology and economy, the total number of automobiles worldwide is rapidly increasing, and the on-board devices of vehicles can provide massive data sources. Meanwhile, there are data indicating that more than 70% of ordinary vehicles are parked for more than 20 hours per day. It can be seen that a vast population of parked vehicles is a vast pool of distributed resources.
However, vehicles still cannot support mass data storage and large-scale data sharing alone, and vehicle-generated data becomes increasingly subdivided and complex, which increases the burden of data transmission.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a block chain-based internet-of-vehicles edge computing and sharing method, which comprises the following steps: constructing a block chain-based internet-of-vehicles edge computing network, wherein the network comprises a cloud layer, a consensus layer and an edge layer; the vehicle user registers to the system, and the system executes a driving sharing strategy and a parking sharing strategy according to the state of the registered vehicle user;
executing the driving sharing strategy comprises that the vehicle in a driving state uploads real-time road condition information to a block chain of the system; the data requester sends a data request to the system; after verifying the identity information of the data requester, the system sends the latest road condition information in the blockchain to the data requester; the data request selects an information source according to the reputation value of the data provider, and subjective feedback is carried out on the data provider after sharing is finished;
executing the parking sharing policy includes the vehicle in a parked state sharing resources to the system; the system node carries out subjective feedback on the vehicle user according to the resource sharing result of the user;
and the edge computing server aggregates and updates the reputation values of the vehicle users according to subjective feedback results of all the nodes, wherein the subjective feedback comprises an information sharing subjective feedback result and a resource sharing subjective feedback result.
Preferably, the process of registering the vehicle user with the system includes: the vehicle user sends registration information to Road Side Units (RSUs) of an edge layer of the network; the roadside unit sends the registration information to an edge computing server of the consensus layer; the mobile edge computing (Mobile Edge Computing, MEC) server collects and packages the registration information and then sends the packaged registration information to the cloud layer, namely the cloud service provider; the cloud service provider manages the acquired electronic identity information and legal information of the vehicle, and checks the registration information of the vehicle user according to the electronic identity information and legal information, if the verification is passed, the vehicle information is added into a license certificate list, and an identity certificate and blockchain key pair is issued to the vehicle; transmitting the latest license list to all MEC servers and roadside units; if the verification fails, the registration of the vehicle user fails.
Preferably, the process of uploading real-time road condition information to the system by the vehicle user in the driving state comprises the following steps: the method comprises the steps that a vehicle in a running state obtains road condition information through sensor equipment, wherein the road condition information comprises weather conditions, traffic conditions and parking occupancy rate; the vehicle user encrypts road condition information by adopting a secret key and sends the encrypted road condition information to a roadside unit; the roadside units forward the received road condition information to the MEC server; the MEC server regularly receives data forwarded by the roadside units, and integrates the received data to obtain a data block; and uploading the data block to a blockchain for storage.
Preferably, the process of the data requester sending a data request to the system includes: the data requester sends a data request to the system; the system verifies the identity of the data requester, if the verification fails, the system does not respond to the request, and if the verification succeeds, the system sends the latest sharing information to the user; the data requester screens the data provider according to the reputation value of the data provider; the system automatically generates an intelligent contract and sends the data encrypted by the public key to a data requester according to the intelligent contract; the data requester decrypts the encrypted data by adopting the private key of the data requester and pays the vehicle coin to the data provider; the data requester gives subjective feedback to the data provider based on the information obtained.
Preferably, the process of sharing resources to the system by the vehicle user in the parked state includes: the parked vehicle may continue to connect to roadside units to share idle resources to the system; the method comprises the steps of carrying out a first treatment on the surface of the The vehicle user sends the available resource quantity to the system; the system issues tasks according to the available resource quantity and automatically generates intelligent contracts; the vehicle user executes the corresponding issued task and returns the result; after the vehicle user executes the corresponding task, the system pays the vehicle coin to the vehicle according to the intelligent contract, and carries out subjective feedback on the vehicle user according to the task completion condition.
Preferably, the process of aggregating and updating the reputation value of the vehicle user by the edge computing server according to all subjective feedback results includes: the subjective feedback result of information sharing and the subjective feedback result of resource sharing are respectively calculated by adopting a subjective logic mapping operator, so that local opinion of information interaction and local opinion of resource interaction are obtained; the local opinion of information interaction and the local opinion of resource interaction are fused by adopting a discount operator of subjective logic, so that a fused opinion is obtained; calculating three weights of subjective logic, and fusing the three weights, wherein the three weights comprise interaction frequency, time timeliness and track similarity; obtaining a combined recommendation opinion according to the fused three weights and the fused opinion; updating the reputation value in the vehicle user according to the combined recommendation opinion; and comparing the updated reputation value with the set reputation threshold progress, and deleting vehicles below the reputation threshold.
Further, the expression of the subjective logic mapping operator is:
wherein ,bi→j Indicating the degree of trust of user i and user j, u i→j Representing uncertainty of user i and user j, alpha representing positive feedback eventNumber, beta represents the number of negative feedback events, d i→j Representing the degree of distrust of user i and user j, S i→j Representing the probability of successful data transmission, i represents the service requester and j represents the service provider.
Preferably, a weight formula for fusing the local opinion of the information interaction and the local opinion of the resource interaction is as follows:
wherein ,representing the trust degree delta of the vehicle j in the resource interaction process i→j And the opinion weight of the vehicle i to the vehicle j in the information interaction process is represented.
Preferably, the formula of the combined recommendation opinion is:
wherein ,representing the confidence level of the combined recommendation opinion in vehicle j +.>Indicating the degree of distrust of the combined recommendation on vehicle j,/->Representing uncertainty of combined recommendation opinion on vehicle j, X represents a set of all interacted vehicles, +.>Fusion weights representing resource and information interaction procedure, < ->Representing the degree of fusion trust in the resource and information interaction process for vehicle j +.>Representing the degree of fusion distrust to vehicle j during resource and information interaction, +.>And the fusion uncertainty of the resource and the information interaction process to the vehicle j is represented.
Preferably, the formula for updating the reputation value is:
T j =b j +γu j
wherein ,Tj Indicating the final reputation of the vehicle j,indicating the degree of trust of the combined recommendation opinion on the vehicle j,the uncertainty of the combined recommendation opinion on the vehicle j is represented, and gamma represents the uncertainty coefficient.
The invention has the beneficial effects that:
the invention adopts the blockchain technology to store the resources acquired by the vehicle user, thereby improving the safety of data resource storage; the invention provides a new method for updating and aggregating reputation values of vehicle users, which adopts a subjective logic mapping operator to calculate feedback of information and resource sharing interaction so as to obtain local opinion; adopting a subjective logic discount operator to fuse the two local opinions to obtain a fused opinion; adopting a weight fusion operator to fuse the three weight algorithms to obtain fusion weights of information and resource sharing interaction; and finally, weighting the fused opinions through the fused three weights to obtain recommended opinions, and updating the reputation value of the vehicle according to the recommended opinions.
Drawings
FIG. 1 is a system frame diagram of the present invention;
fig. 2 is a flow chart of the system of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Aiming at the problem that vehicles still cannot independently support mass data storage and large-scale data sharing, data generated by the vehicles become more and more subdivided and complicated; according to the method, the system and the device, the edge calculation of the internet of vehicles is combined with the blockchain, and on one hand, the blockchain is integrated into the edge calculation of the internet of vehicles, so that the safety, the privacy and the automatic use of resources are enhanced; distributed control can be built on edge nodes using blockchain technology, which protects the accuracy, consistency and validity of data and rules in their lifecycle in a transparent manner. On the other hand, the Internet of vehicles edge computation is integrated into the blockchain, so that a strong decentralized network and rich network edge computation and storage resources are brought, and a more economical method is introduced for the blockchain computation resource management. The edge servers also provide a powerful storage capacity for the blockchain system, as well as an independent and secure environment.
An embodiment of a block chain-based internet of vehicles edge computing sharing method comprises the following steps: constructing a block chain-based internet-of-vehicles edge computing network, wherein the network mainly comprises a cloud layer, a consensus layer and an edge layer; the vehicle user registers to the system, after the vehicle user passes the registration, the system respectively executes a driving sharing strategy and a parking sharing strategy according to the state of the registered vehicle; executing the driving sharing strategy comprises uploading real-time road condition information to a system by a vehicle user in a driving state; the data requester in the system can download the latest shared data block, select an information source according to the reputation value of the data provider, and perform subjective feedback, including positive feedback and negative feedback, on the vehicle after using the information; executing the parking sharing policy includes that a vehicle user in a parked state may share idle resources to the system; the system carries out subjective feedback, including positive feedback and negative feedback, on the vehicle user according to the resource sharing result of the vehicle user in the parking state; and the edge computing server aggregates and updates the reputation values of the users according to subjective feedback results of all the nodes, wherein the subjective feedback results of the vehicle users comprise subjective feedback results of information sharing and subjective feedback results of resource sharing.
The architecture of the Internet of vehicles based on the alliance blockchain is shown in fig. 1, and the system architecture is divided into three layers as a whole: the cloud layer, the consensus layer and the edge layer are sequentially arranged from top to bottom. The cloud layer is a cloud service provider, the consensus layer is composed of MEC servers, and the edge layer is composed of roadside units and vehicles in the system. The roadside units are used as light nodes of the block chain network and are only responsible for connection and data transmission; the MEC server is used as a full node, namely a consensus node, is responsible for managing the operation and primary management of a certain regional system, and operates a blockchain consensus algorithm. The cloud service provider is responsible for the authorization and management of the whole system. The vehicles are divided into two states of running and parking, and safe data sharing and resource sharing are respectively realized according to different states.
An embodiment of a vehicle resource management method based on federated blockchain technology includes: the cloud service provider manages the whole alliance blockchain and is responsible for identity verification, authorization and access management of the system, roadside units and MEC servers in the system provide services such as transmission, calculation and verification assistance for vehicles, and the vehicles can be added into the system after being registered successfully; namely: the process of registering a vehicle user with a coalition blockchain based internet of vehicles includes: the vehicle user sends registration information to roadside units of an edge service layer of the network; the roadside unit sends the registration information to the MEC server; the MEC server collects and packages the registration information and sends the packaged registration information to the cloud service provider; the cloud service provider manages the acquired electronic identity information legal information of the vehicle, checks the registration information of the vehicle user according to the electronic identity information legal information, if the registration information passes, adds the vehicle information into a license certificate list, issues an identity certificate core block chain key pair to the vehicle, and issues the latest license certificate list to all MEC servers and roadside units; if the verification fails, the registration of the vehicle user fails.
In one embodiment of a vehicle resource management method based on the alliance blockchain technology, a process of registering a vehicle user with a vehicle network based on the alliance blockchain includes:
s1.1: the roadside units of the edge service layer receive registration information of the vehicle, then send the data to the MEC server, the MEC server sorts the collected data and then forwards the collected data to the cloud service provider, and the cloud service provider is responsible for checking; wherein the data arrangement includes de-activation word and de-duplication word processing of the received data.
S1.2: the cloud service provider obtains the electronic identity and legal document of the vehicle through the vehicle management department, and performs auditing and registration according to the electronic identity and legal document;
s1.3: adding the checked vehicle information into a license certificate list (comprising a white list and a black list), then issuing public key/private key pairs of an identity certificate and a blockchain to the corresponding vehicle by the cloud service provider, and issuing the latest information list to all MEC servers and roadside units.
The process of storing the road condition information uploaded by the vehicle user in the running state in the blockchain comprises the following steps: the method comprises the steps that a vehicle user in a driving state obtains road condition information, wherein the road condition information comprises weather conditions, traffic conditions and parking occupancy rate; the vehicle user encrypts road condition information by adopting a secret key and sends the encrypted road condition information to a roadside unit; after receiving the encrypted road condition information, the roadside unit forwards the information to the MEC server; the MEC server integrates the data received at regular intervals to obtain a data block, and broadcasts the data block to other edge servers for verification; and if the verification is passed, uploading the data to the corresponding address in the block chain for storage. The method comprises the following specific steps:
s2.1: the running automobile collects various original data through the equipment such as sensors of the running automobile, wherein the original data comprise information such as weather conditions of roads, traffic conditions, occupancy rate of parking lots and the like; and sharing the original data to the corresponding roadside units (RSU), collecting, sorting and uploading the RSU to the MEC server for storage. For security and privacy protection, the data should be anonymous and should be encrypted and accompanied by a digital signature of the data provider.
S2.2: the MEC server, acting as a data aggregator, will integrate the received raw data periodically into one data block and broadcast the data block to other edge nodes for verification. Before a new data block is inserted into the immutable vehicle blockchain, the edge nodes should agree through the storage certification mechanism of the smart contract. The local controller generates a list of storage addresses for the raw data for each data provider. Finally the MEC server places the information in its local secure storage location.
Storage attestation regarding storage resource contribution: the MEC nodes in each vehicle edge cluster that contribute most to storage space will receive a vehicle coin prize over a period of time, which is an incentive to encourage the edge nodes to provide sufficient storage space for local storage. The token may be used for upgrades and updates of the edge nodes.
S2.3: the data requester first downloads the latest data blocks in the vehicle blockchain from roadside units RSUs within a specific range and searches for data of interest to them through the information index. The data requester selects the optimal provider according to the actual needs of the data requester and the reputation of the data provider, and then generates an intelligent contract.
S2.4: after receiving the request, the RSU first verifies the identity of the data requester, and then sends the information such as the pseudonym private key of the uploaded data, the public key of the data requester, etc. to the nearby MEC server.
S2.5: the MEC server first verifies the credentials of the data requester, then finds the shared data information it needs in the vehicle blockchain, then encrypts the shared data with the public key of the data requester, and then sends the data directly to the requester.
S2.6: after obtaining the shared data, the data requester pays the vehicle coin to the provider and generates a record of the data sharing event and adds this record as a data block into the blockchain. In addition, each vehicle has a wallet account to store and manage personal car tokens. In the payment process, in order to protect privacy, a random pseudonym is used as a public key of a wallet account of a certain vehicle, named as a wallet address, and replaces a real address of the wallet account to protect privacy. The mapping between the wallet account and the corresponding wallet address is recorded in trusted rights.
S2.7: after the transaction is finished, the data requester feeds back a reputation value to the system according to the actual condition of the data, and the MEC server packages all the transactions and updated reputation values into blocks and broadcasts the blocks to the network to achieve consensus. After the consensus process, the blocks are recorded into the blockchain.
The process of a vehicle user in a parked state sharing resources to a system includes: the parked vehicle may continue to connect to roadside units to share idle resources to the system; the parked state vehicle sends the amount of available resources to the system; the system issues tasks according to the available resource quantity and automatically generates intelligent contracts;
the vehicle user executes the corresponding issued task and returns the result; after the vehicle user executes the corresponding task, the system pays the vehicle coin to the vehicle according to the intelligent contract, and carries out subjective feedback on the vehicle user according to the task completion condition. The method comprises the following specific steps of:
s3.1: each car, after entering a parked state, may choose to continue to connect to the system for sharing of idle resources.
S3.2: each vehicle sends its amount of available resources to the system.
S3.3: the system selects the vehicle according to the reputation value of the vehicle and the available resource quantity, issues a task, and generates an intelligent contract to be embedded into the block chain system.
S3.4: after triggering the intelligent contract, the resource provider executes the task and returns the calculation result to the server to check the integrity and the correctness; the MEC server then records the transaction, including the signature, reputation value, and calculation result determination.
S3.5: the MEC server updates the reputation value of the vehicle according to the performance of the vehicle in the resource transaction process, packages all transactions into blocks, and broadcasts the blocks to a network to achieve consensus; after the consensus process, the blocks are recorded in the blockchain ledger.
The process of the edge computing server for aggregating and updating the reputation value of the vehicle user according to all subjective feedback results comprises the following steps: the subjective feedback result of information sharing and the subjective feedback result of resource sharing are respectively calculated by adopting a subjective logic mapping operator, so that local opinion of information interaction and local opinion of resource interaction are obtained; the local opinion of information interaction and the local opinion of resource interaction are fused by adopting a discount operator of subjective logic, so that a fused opinion is obtained; calculating three weights of subjective logic, and fusing the three weights, wherein the three weights comprise interaction frequency, time timeliness and track similarity; obtaining a combined recommendation opinion according to the fused three weights and the fused opinion; updating the reputation value in the vehicle user according to the combined recommendation opinion; and comparing the updated reputation value with the set reputation threshold progress, and deleting vehicles below the reputation threshold.
The subjective logic algorithm comprises a mapping operator of subjective logic, a fusion operator of subjective logic and a discount operator of subjective logic. The specific calculation formula comprises:
the expression of the mapping operator of the subjective logic is:
wherein ,bi→j Indicating the degree of trust of user i and user j, u i→j Representing uncertainty of user i and user j, alpha representing positive feedback event number, beta representing negative feedback event number, d i→j Representing the degree of distrust of user i and user j, S i→j Representing the probability of successful transmission of data, i.e. the communication quality; i denotes a service (information or resource) requester, j denotes a service (information or resource) provider. Wherein b i→j ,d i→j ,u i→j ∈[0,1]And b i→j +d i→j +u i→j =1。
The subjective logic opinion can be obtained according to feedback in the information sharing and resource sharing processes through the subjective logic mapping operator.
According to the opinion obtained by the mapping operator of subjective logic, setting the opinion of the system node A on the vehicle i asThe opinion of vehicle i on vehicle j is +.>The fusion opinion of both pairs j is defined as +.>Discount operators according to subjective logic are available:
the three weights comprise interaction frequency, timeliness and track similarity, and the calculation formula is as follows:
interaction frequency IF:
wherein ,Ni→j Representing the total number of interactions of vehicle i with vehicle j over a particular time window,representing the average interaction frequency of the vehicle i with other nodes M.
Timeliness T:
wherein eta and epsilon are preset parameters, and the timeliness can be adjusted. t is t i Indicating the point in time when the shared information is used up, t j Indicating the point in time of the upload of the shared information.
Trajectory similarity Sim:
wherein ,Sspeed Representing the speed similarity of the tracks, S dir Indicating the directional similarity of the tracks.
The speed and direction similarity formula is:
wherein ,indicating the speed or direction of the vehicle i trajectory, +.>Indicating the speed or direction of the trajectory of vehicle j.
The formula for calculating the reputation weight of the local opinion according to the three weights is:
wherein ,IFi→j Representing the interaction frequency of vehicle user i and vehicle user j, T j i Indicating the time timeliness of vehicle user i and vehicle user j,the trajectory similarity of the vehicle user i and the vehicle user j is represented. />
According to the weight formula and the discount operator, the weight fusion formula is expressed as:
wherein ,representing the trust degree delta of the vehicle j in the resource interaction process i→j And the opinion weight of the vehicle i to the vehicle j in the information interaction process is represented.
According to the weight fusion formula and the discount operator, the formula for obtaining the combined recommendation opinion is as follows:
where X represents the aggregate of all vehicles with interactions.
Reputation through resource sharing processReputation derived from the information sharing process +.>Obtaining +.>And then obtaining three weights of two workshops through calculating interaction frequency, timeliness and track similarity. And then obtaining a final weight formula through a weight fusion formula. Finally, obtaining the combined recommendation opinion according to the fused weight formula and discount formula>The expression of the final opinion is:
wherein ,Tj The final reputation of vehicle j is represented, γ being the uncertainty coefficient, defaulting to 0.5.
While the foregoing is directed to embodiments, aspects and advantages of the present invention, other and further details of the invention may be had by the foregoing description, it will be understood that the foregoing embodiments are merely exemplary of the invention, and that any changes, substitutions, alterations, etc. which may be made herein without departing from the spirit and principles of the invention.
Claims (6)
1. A block chain-based internet of vehicles edge computing sharing method comprises the following steps: constructing a block chain-based internet-of-vehicles edge computing network, wherein the network comprises a cloud layer, a consensus layer and an edge layer; characterized in that the method comprises the following steps: the vehicle user registers to the system, and the system executes a driving sharing strategy and a parking sharing strategy according to the vehicle state of the registered user;
executing the driving sharing strategy comprises that the vehicle in a driving state uploads real-time road condition information to a block chain of the system; the data requester sends a data request to the system; after verifying the identity information of the data requester, the system sends the latest road condition information in the blockchain to the data requester; the data requester selects an information source according to the reputation value of the data provider and carries out subjective feedback on the data provider after sharing is finished;
executing the parking sharing policy includes the vehicle in a parked state sharing resources to the system; the system node carries out subjective feedback on the vehicle user according to the resource sharing result of the user;
the edge computing server aggregates and updates reputation values of the vehicle users according to subjective feedback results of all nodes, wherein the subjective feedback comprises subjective feedback results of information sharing and subjective feedback results of resource sharing; the method specifically comprises the following steps: the subjective feedback result of information sharing and the subjective feedback result of resource sharing are respectively calculated by adopting a subjective logic mapping operator, so that local opinion of information interaction and local opinion of resource interaction are obtained; the local opinion of information interaction and the local opinion of resource interaction are fused by adopting a discount operator of subjective logic, so that a fused opinion is obtained; calculating three weights of subjective logic, and fusing the three weights, wherein the three weights comprise interaction frequency, time timeliness and track similarity; obtaining a combined recommendation opinion according to the fused three weights and the fused opinion; updating the reputation value in the vehicle user according to the combined recommendation opinion; comparing the updated reputation value with the set reputation threshold progress, and deleting vehicles below the reputation threshold;
the expression of the subjective logical mapping operator is:
wherein ,bi→j Indicating the degree of trust of user i and user j, u i→j Representing uncertainty of user i and user j, alpha representing positive feedback event number, beta representing negative feedback event number, d i→j Representing the degree of distrust of user i and user j, S i→j Representing the probability of successful data transmission, i representing the service requester and j representing the service provider;
the weight fusion formula for fusing the local opinion of information interaction and the local opinion of resource interaction is as follows:
wherein ,representing the trust degree delta of the vehicle j in the resource interaction process i→j The opinion weight of the vehicle i to the vehicle j in the information interaction process is represented;
the formula of the combined recommendation opinion is:
wherein ,representing the confidence level of the combined recommendation opinion in vehicle j +.>Indicating the degree of distrust of the combined recommendation on vehicle j,/->Indicating uncertainty of the combined recommendation opinion for vehicle j, X indicates the set of all interacted vehicles,fusion weights representing resource and information interaction procedure, < ->Representing the degree of fusion trust in the resource and information interaction process for vehicle j +.>Representing the degree of fusion distrust to vehicle j during resource and information interaction, +.>And the fusion uncertainty of the resource and the information interaction process to the vehicle j is represented.
2. The blockchain-based internet of vehicles edge computing sharing method of claim 1, wherein the process of registering the vehicle user with the system comprises: the vehicle user sends registration information to roadside units at the edge layer of the network; the roadside unit sends the registration information to an edge computing server of the consensus layer; the MEC server collects and packages the registration information and then sends the packaged registration information to the cloud layer, namely the cloud service provider; the cloud service provider manages the acquired electronic identity information and legal information of the vehicle, and checks the registration information of the vehicle user according to the electronic identity information and legal information, if the verification is passed, the vehicle information is added into a license certificate list, and an identity certificate and blockchain key pair is issued to the vehicle; transmitting the latest license list to all MEC servers and roadside units; if the verification fails, the registration of the vehicle user fails.
3. The blockchain-based internet of vehicles edge computing sharing method of claim 1, wherein the uploading of real-time traffic information to the system by the vehicle user in the driving state comprises: the method comprises the steps that a vehicle in a running state obtains road condition information through sensor equipment, wherein the road condition information comprises weather conditions, traffic conditions and parking occupancy rate; the vehicle user encrypts road condition information by adopting a secret key and sends the encrypted road condition information to a roadside unit; the roadside units forward the received road condition information to the MEC server; the MEC server regularly receives data forwarded by the roadside units, and integrates the received data to obtain a data block; and uploading the data block to a blockchain for storage.
4. The blockchain-based internet of vehicles edge computing sharing method of claim 1, wherein the process of the data requester sending the data request to the system comprises: the data requester sends a data request to the system; the system verifies the identity of the data requester, if the verification fails, the system does not respond to the request, and if the verification succeeds, the system sends the latest sharing information to the user; the data requester screens the data provider according to the reputation value of the data provider; the system automatically generates an intelligent contract and sends the data encrypted by the public key to a data requester according to the intelligent contract; the data requester decrypts the encrypted data by adopting the private key of the data requester and pays the vehicle coin to the data provider; the data requester gives subjective feedback to the data provider based on the information obtained.
5. The blockchain-based internet of vehicles edge computing sharing method of claim 1, wherein the process of sharing resources to the system by the vehicle user in the parked state comprises: the parked vehicle may continue to connect to roadside units to share idle resources to the system; the parked state vehicle sends the amount of available resources to the system; the system issues tasks according to the available resource quantity and automatically generates intelligent contracts; the vehicle user executes the corresponding issued task and returns the result; after the vehicle user executes the corresponding task, the system pays the vehicle coin to the vehicle according to the intelligent contract, and carries out subjective feedback on the vehicle user according to the task completion condition.
6. The blockchain-based internet of vehicles edge computing sharing method of claim 1, wherein the formula for updating the reputation value is:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210552277.XA CN114945022B (en) | 2022-05-20 | 2022-05-20 | Block chain-based Internet of vehicles edge computing sharing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210552277.XA CN114945022B (en) | 2022-05-20 | 2022-05-20 | Block chain-based Internet of vehicles edge computing sharing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114945022A CN114945022A (en) | 2022-08-26 |
CN114945022B true CN114945022B (en) | 2023-05-23 |
Family
ID=82910135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210552277.XA Active CN114945022B (en) | 2022-05-20 | 2022-05-20 | Block chain-based Internet of vehicles edge computing sharing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114945022B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115460255B (en) * | 2022-09-23 | 2024-03-29 | 电子科技大学 | Named data networking system based on block chain |
CN116866865B (en) * | 2023-09-04 | 2024-01-26 | 江西五十铃汽车有限公司 | Whole vehicle controller data sharing method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111756546A (en) * | 2020-06-15 | 2020-10-09 | 杭州电子科技大学 | Block chain consensus method based on dynamic credit mechanism in Internet of vehicles environment |
CN112348204A (en) * | 2020-11-05 | 2021-02-09 | 大连理工大学 | Safe sharing method for marine Internet of things data under edge computing framework based on federal learning and block chain technology |
CN113268543A (en) * | 2021-05-19 | 2021-08-17 | 重庆邮电大学 | Block chain-based security content sharing management method in Internet of vehicles |
CN113380024A (en) * | 2021-05-27 | 2021-09-10 | 重庆邮电大学 | Reputation updating method and trust calculation method based on Internet of vehicles |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11425111B2 (en) * | 2018-11-14 | 2022-08-23 | Intel Corporation | Attestation token sharing in edge computing environments |
US10856360B1 (en) * | 2019-05-23 | 2020-12-01 | Verizon Patent And Licensing Inc. | System and method for sharing multi-access edge computing resources in a wireless network |
-
2022
- 2022-05-20 CN CN202210552277.XA patent/CN114945022B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111756546A (en) * | 2020-06-15 | 2020-10-09 | 杭州电子科技大学 | Block chain consensus method based on dynamic credit mechanism in Internet of vehicles environment |
CN112348204A (en) * | 2020-11-05 | 2021-02-09 | 大连理工大学 | Safe sharing method for marine Internet of things data under edge computing framework based on federal learning and block chain technology |
CN113268543A (en) * | 2021-05-19 | 2021-08-17 | 重庆邮电大学 | Block chain-based security content sharing management method in Internet of vehicles |
CN113380024A (en) * | 2021-05-27 | 2021-09-10 | 重庆邮电大学 | Reputation updating method and trust calculation method based on Internet of vehicles |
Non-Patent Citations (3)
Title |
---|
A Secure Data Request and Sharing Model Based on Consortium Blockchain in Vehicular Edge Computing Environment;Lang Zhang;《IEEEXplore》;全文 * |
基于区块链的共享汽车智能合约算法设计;刘永相;李彦斌;林亮;江冰;刘期烈;谢冬菊;;计算机应用(第S1期);全文 * |
基于边缘计算与强化学习的配电物联网体系架构研究与应用;官国飞;宋庆武;张万生;徐妍;李澄;蒋超;;机械与电子(第07期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114945022A (en) | 2022-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114945022B (en) | Block chain-based Internet of vehicles edge computing sharing method | |
US20230418589A1 (en) | Transport component acceptance | |
CN110348670B (en) | Vehicle computing resource allocation method in urban computing environment | |
US20230382329A1 (en) | Vehicle-based health monitoring | |
JP2023532179A (en) | Energy sharing based on demand | |
JP2023171369A (en) | Transportation means charge offload management | |
US20240025293A1 (en) | Transport battery health | |
CN115941332A (en) | Vehicle credibility measuring method based on block chain and recommendation trust | |
US20240073037A1 (en) | Internal certificate authority for electronic control unit | |
US20230408277A1 (en) | Electric vehicle destination routing prediction | |
US20230258731A1 (en) | Demand response optimization | |
US20230226941A1 (en) | Electric transport charging determination | |
US20230227046A1 (en) | Mobility index determination | |
US11623540B2 (en) | Transport recharge level determination | |
US11411766B2 (en) | Secure controller area network (CAN) transceiver | |
US20220300915A1 (en) | Decommissioning transport batteries | |
US20230219453A1 (en) | Transport battery repurposing | |
US20240059184A1 (en) | Balancing battery capacity in a group of vehicles | |
US20240239226A1 (en) | Managing availability of limited charging stations | |
US12000706B2 (en) | Vehicle carbon footprint management | |
US20240109449A1 (en) | Determining vehicle charging locations | |
US20240208537A1 (en) | Driver modifications of improper actions | |
US20240211964A1 (en) | Modeling driver style to lower a carbon footprint | |
US20240112227A1 (en) | Vehicle carbon use limitation | |
US20240106663A1 (en) | Vehicle temporary certificate authentication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |