CN113115260A - Block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and storage medium - Google Patents

Block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and storage medium Download PDF

Info

Publication number
CN113115260A
CN113115260A CN202110442556.6A CN202110442556A CN113115260A CN 113115260 A CN113115260 A CN 113115260A CN 202110442556 A CN202110442556 A CN 202110442556A CN 113115260 A CN113115260 A CN 113115260A
Authority
CN
China
Prior art keywords
vehicle
communication
block chain
vehicles
authorization
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.)
Granted
Application number
CN202110442556.6A
Other languages
Chinese (zh)
Other versions
CN113115260B (en
Inventor
廖卓凡
庞祥
马银宝
王进
李峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha University of Science and Technology
Original Assignee
Changsha University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Changsha University of Science and Technology filed Critical Changsha University of Science and Technology
Priority to CN202110442556.6A priority Critical patent/CN113115260B/en
Publication of CN113115260A publication Critical patent/CN113115260A/en
Application granted granted Critical
Publication of CN113115260B publication Critical patent/CN113115260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic 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/3236Cryptographic 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 using cryptographic hash functions
    • H04L9/3239Cryptographic 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 using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/84Vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Traffic Control Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and a storage medium, which comprise the following steps: the authorization mechanism carries out initialization authorization on the central processing mechanism and the edge service infrastructure, carries out block chain initialization authorization on the vehicle and sets a block chain communication security certificate for finishing vehicle authorization and authentication processes, so that the central processing mechanism is respectively communicated with all the edge service infrastructures and the vehicle in real time; after the vehicles get on the road, the vehicles communicate with the nearest edge service infrastructure within the service range of the edge service infrastructure, and the vehicles communicate with each other; the edge service infrastructure evaluates the block chain communication security certificate through processing and comparing the communication logs, and uploads the redundant communication logs to the central processing mechanism. Therefore, the vehicle authorization authentication process can be completed quickly and efficiently, the vehicle network is protected from being attacked in automatic driving, and the problems of high cloud computing time delay, insufficient edge computing resources and redundant data are solved.

Description

Block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and a storage medium.
Background
Due to the lack of communication among drivers in autonomous driving, it becomes important to achieve reliable communication between vehicles, and between vehicles and roadside facilities. Because the communication between vehicles must be ensured to be safe and reliable, otherwise, the communication is exposed to the risk of being attacked, and a safety accident is caused.
The existing Internet of vehicles service is mainly provided by a central processing mechanism and has the characteristics of high time delay and unreliability. With the development of 5G technology, edge computing will be more and more popular, and the application scenarios of edge computing will be more and more, for example, in the internet of vehicles, edge computing can provide computing closer to the vehicle, thereby reducing time delay. However, the edge computing server often has no huge computing and storage capacity, and the single edge computing cannot provide complete computing service. In addition, the existing vehicle networking is directly connected through a network protocol, almost no measure for protecting the safety communication exists, and if the existing vehicle networking is attacked by the network, the vehicle is easily controlled maliciously or tampered information is received, so that safety accidents are caused.
Therefore, how to solve the problem of the safety communication of the internet of vehicles in automatic driving is a technical problem to be urgently solved by the technical personnel in the field.
Disclosure of Invention
In view of this, the present invention provides a block chain assisted cloud-side collaborative internet of vehicles communication method, device and storage medium, which can protect a vehicle network from being attacked and solve the problems of high cloud computing delay, insufficient edge computing resources and redundant data. The specific scheme is as follows:
a block chain assisted cloud-edge cooperative Internet of vehicles communication method comprises the following steps:
the authorization mechanism carries out initialization authorization on the central processing mechanism and the edge service infrastructure, carries out block chain initialization authorization on the vehicles, and sets block chain communication safety certificates for finishing vehicle authorization and authentication processes, so that the central processing mechanism respectively communicates with all the edge service infrastructures and all the vehicles in real time;
after the vehicles get on the road, the vehicles communicate with the nearest edge service infrastructure within the service range of the edge service infrastructure, and the vehicles communicate with each other;
and the edge service infrastructure evaluates the block chain communication safety certificate through processing and comparing the communication logs and uploads the redundant communication logs to the central processing mechanism.
Preferably, in the communication method of the block chain assisted cloud-side collaborative internet of vehicles provided by the embodiment of the present invention, the block chain communication security credentials include three levels, i.e., trusted, suspect, and untrusted, the trusted vehicle is a vehicle that can complete authentication, the suspect vehicle needs to be checked by the central processing unit to complete authentication, and the untrusted vehicle does not pass authentication.
Preferably, in the communication method for the blockchain-assisted cloud-side collaborative internet of vehicles provided by the embodiment of the present invention, performing blockchain initialization authorization on a vehicle and setting a blockchain communication security credential for completing vehicle authorization and authentication processes specifically includes:
writing vehicle related information into the block chain, and setting a block chain communication security certificate corresponding to the vehicle and used for finishing vehicle authorization and authentication processes as a credible certificate;
and sharing the vehicle-related information to the central processing mechanism, and giving the vehicle management right to the central processing mechanism.
Preferably, in the communication method of the block chain assisted cloud-edge collaborative internet of vehicles provided by the embodiment of the present invention, the block chain has a block head and a block body;
the blockchain communication security credential is in the blockhead; the block header further comprises a hash value of a previous block given by the authority, a version number for updating a block chain version, a timestamp for recording a communication log time, a random number for a hash algorithm, and a unique information address and a unique MAC address corresponding to each vehicle/edge service infrastructure;
the block body comprises a hash value calculated by adopting an SHA-256 algorithm, a communication log, vehicle related information and driver related information.
Preferably, in the communication method for the block chain assisted cloud-side collaborative internet of vehicles provided by the embodiment of the present invention, the inter-vehicle communication specifically includes:
the first vehicle sends a communication request and a first block header to the second vehicle;
the second vehicle verifies the received first block header after receiving the communication request; if the verification is passed, the second vehicle sends a communication receiving response and a second block header to the first vehicle; if the verification is not passed, the second vehicle sends the first block head to the central processing structure;
the first vehicle verifies the received second block header after receiving the communication response; if the verification is passed, the first vehicle and the second vehicle start to communicate; if the verification is not passed, the first vehicle sends the suspect second block header to the central processing structure.
Preferably, in the communication method of the block chain assisted cloud-side collaborative internet of vehicles provided by the embodiment of the present invention, the evaluation of the block chain communication security credentials by the edge service infrastructure through the processing and comparison of the communication log specifically includes:
the edge service infrastructure collects block bodies and communication logs of all vehicles in a corresponding road section, evaluates the block chain communication security voucher by comparing the communication logs and deep learning calculation so as to judge whether suspicious block heads exist or not, completes the updating of the Mercker roots in all the vehicle block heads and exchanges data to plan a path.
Preferably, in the block chain assisted cloud-edge collaborative internet of vehicles communication method provided in the embodiment of the present invention, the method further includes:
and after the vehicle completes the update of the Mercker root in the block head, deleting the redundant communication log.
Preferably, in the block chain assisted cloud-edge collaborative internet of vehicles communication method provided in the embodiment of the present invention, the method further includes:
when the central processing mechanism receives a suspicious block header from a vehicle or an edge service infrastructure, calculating a hash value comparison according to a stored communication log;
if the communication record is forged or the vehicle is unsafe, the central processing mechanism logs out the untrusted node, sends logout information to the authorization mechanism, and the authorization mechanism stores and processes the vehicle information.
The embodiment of the invention also provides electronic equipment which comprises a processor and a memory, wherein when the processor executes a computer program stored in the memory, the block chain auxiliary cloud-side cooperative vehicle networking communication method provided by the embodiment of the invention is realized.
The embodiment of the invention also provides a computer-readable storage medium for storing a computer program, wherein the computer program is executed by a processor to implement the block chain assisted cloud-side collaborative internet of vehicles communication method provided by the embodiment of the invention.
According to the technical scheme, the block chain assisted cloud-side cooperative vehicle networking communication method provided by the invention comprises the following steps: the authorization mechanism carries out initialization authorization on the central processing mechanism and the edge service infrastructure, carries out block chain initialization authorization on the vehicles, and sets block chain communication safety certificates for finishing vehicle authorization and authentication processes, so that the central processing mechanism is respectively communicated with all the edge service infrastructures and all the vehicles in real time; after the vehicles get on the road, the vehicles communicate with the nearest edge service infrastructure within the service range of the edge service infrastructure, and the vehicles communicate with each other; the edge service infrastructure evaluates the block chain communication security certificate through processing and comparing the communication logs, and uploads the redundant communication logs to the central processing mechanism.
The invention adopts a cloud-edge cooperation mode, provides low-delay service through complete service of a central processing mechanism and an edge service infrastructure distributed architecture, and solves the problems of high delay of cloud computing and insufficient edge computing resources; the block chain is used as a distributed shared account book based on cryptography, and has good safety, the block chain initialization authorization of the vehicle can assist the vehicle network in completing the authorization and authentication process of communication, so that the vehicle network is protected from being attacked, meanwhile, the edge service infrastructure is adopted to complete the processing of communication logs and the evaluation of block chain communication safety certificates, the problem of redundant data is solved, and the vehicle authorization and authentication process is completed quickly and efficiently. In addition, the invention also provides corresponding equipment and a computer readable storage medium for the block chain assisted cloud-side cooperative Internet of vehicles communication method, so that the method has higher practicability, and the equipment and the computer readable storage medium have corresponding advantages.
Drawings
In order to more clearly illustrate the embodiments of the present invention or technical solutions in related arts, the drawings used in the description of the embodiments or related arts will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for block chain assisted cloud-edge collaborative internet of vehicles communication according to an embodiment of the present invention;
FIG. 2 is a schematic communication diagram of a vehicle networking entity according to an embodiment of the present invention;
FIG. 3 is a block diagram of a block chain block design according to an embodiment of the present invention;
fig. 4 is a specific flowchart of a method for block chain assisted cloud-edge collaborative internet of vehicles communication according to an embodiment of the present invention;
FIG. 5 is a detailed flow chart of an inter-vehicle communication process provided by an embodiment of the present invention;
fig. 6 is a detailed flowchart of a vehicle-to-roadside infrastructure communication process according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a block chain assisted cloud-side cooperative Internet of vehicles communication method, which comprises the following steps as shown in figure 1:
s101, an authorization mechanism carries out initialization authorization on a central processing mechanism and edge service infrastructures, carries out block chain initialization authorization on vehicles, sets block chain communication safety certificates for completing vehicle authorization and authentication processes, and enables the central processing mechanism to respectively communicate with all edge service infrastructures and all vehicles in real time.
The cloud-side cooperation refers to cooperation of edge computing and cloud computing, and cooperation is performed on the aspects of resources, computing, storage and the like.
The communication entity designed by the invention comprises the vehicle, the central processing mechanism, the edge service infrastructure and the authorization mechanism shown in figure 2. The authorities refer to regulatory agencies and equipment manufacturers, car manufacturers, etc., which have administrative rights to all central processing agencies, edge infrastructure, and user vehicles. The central processing mechanism is a cloud server with large-scale calculation and storage capacity and can be communicated with all edge infrastructures and vehicles in real time; all data of the edge server can be received, stored and processed, and a planned path and the like can be pre-judged; the system can also communicate with all vehicles to help the vehicles to complete block chain comparison, emergency alarm and the like. The edge service infrastructure comprises roadside units with edge computing capability and a communication base station with an edge server; the roadside unit comprises roadside equipment such as a signal lamp and a rest station; the base station is a communication base station with an edge server, such as 4G, 5G and the like, and is used for collecting and processing vehicle communication data; the edge server calculates the information collected and transmitted by the roadside units, including processing block chain authentication information and the like, and the base station is responsible for maintaining real-time communication with the vehicle. The edge service infrastructure is used for calculating communication data, re-judging the block chain communication security certificate M and communicating with the central processing mechanism; the road condition judgment, the vehicle communication data calculation, the malicious attack detection, the block chain authentication and the like are realized. And the inter-vehicle completes the vehicle networking authentication process according to the block chain communication security certificate.
And S102, after the vehicles get on the road, the vehicles communicate with the nearest edge service infrastructure within the service range of the edge service infrastructure, and the vehicles communicate with each other.
It is understood that the vehicle can communicate with other vehicles, edge service infrastructure, central processing facilities; in this embodiment, communication is efficiently established through a blockchain. The edge service infrastructure is distributed, self-organizing, fixed-location, with time coverage; distributed representatives are available for edge computing task sharing, and the fixation ensures their security and credibility, and the time coverage indicates that the vehicle residence time can satisfy the infrastructure for communication data computation.
And S103, the edge service infrastructure evaluates the block chain communication security certificate through processing and comparing the communication log, and uploads the redundant communication log to a central processing mechanism.
In the block chain assisted cloud-side cooperative vehicle networking communication method provided by the embodiment of the invention, a cloud-side cooperative mode is adopted, and a low-delay service is provided through a complete service of a central processing mechanism and an edge service infrastructure distributed architecture, so that the problems of high cloud computing delay and insufficient edge computing resources are solved; the block chain is used as a distributed shared account book based on cryptography, and has good safety, the block chain initialization authorization of the vehicle can assist the vehicle network in completing the authorization and authentication process of communication, so that the vehicle network is protected from being attacked, meanwhile, the edge service infrastructure is adopted to complete the processing of communication logs and the evaluation of block chain communication safety certificates, the problem of redundant data is solved, and the vehicle authorization and authentication process is completed quickly and efficiently.
In specific implementation, in the above method for communication in a blockchain-assisted cloud-side collaborative internet of vehicles according to the embodiment of the present invention, the blockchain has a blockhead and a blockbody, and is used for authorization of the vehicle during communication between the vehicle and the edge infrastructure and authentication of a communication request during communication between the vehicle and the vehicle. Where the first communication log of the blockchain is the communication log with the authority, as shown in fig. 3, the following is about the design of the blockchain:
in the block header, comprising: a hash value assigned by the authority to the previous block used to determine the uniqueness of the vehicle or infrastructure, a version number used to update the version number of the block chain, a timestamp used to record the time of the communication log, a random number used in the hash algorithm, a vehicle/edge service infrastructure information address (e.g., 8-bit hexadecimal, which can contain about 21 hundred million devices, each vehicle/edge service infrastructure corresponding to a unique information address), a MAC address (12-bit hexadecimal, a unique hardware address), and a block chain communication security credential used to complete the vehicle authorization and authentication process. In this embodiment, the blockchain communication security credential is a flag for completing authentication on vehicle communication quickly, and is created by an authority, the authority of the vehicle is a central processing mechanism and an edge service infrastructure, the blockchain communication security credential includes three levels of credibility, suspicious and untrustworthy, the credible vehicle is a vehicle capable of completing authentication, the suspicious vehicle needs to be checked by the central mechanism to complete authentication, and the untrustworthy vehicle does not pass authentication and can be processed.
The block body comprises: a hash value (fixed value of 64-bit hexadecimal) calculated by the SHA-256 algorithm, a communication log (log record of each communication), vehicle related information and driver related information.
It should be noted that the hash is a mathematical operation equation, an input with an arbitrary length is converted into an output with a fixed length through a hash algorithm, and the hash is a compression algorithm, and it is difficult to find a reverse derivation, i.e. the input cannot be obtained from the output, so the hash is widely used in cryptography, and the hash algorithm commonly used in a block chain is SHA-256.
Specifically, as shown in fig. 4, the communication method of the blockchain assisted cloud-side collaborative vehicle networking provided by the embodiment of the present invention is divided into three stages, including an initialization stage, a communication stage, and a logout stage, where the communication stage includes authentication communication between vehicles and authorization communication between vehicles and edge infrastructure.
In a specific implementation, in an initialization stage, the initializing device is initialized by an authority, and the block chain initialization authorization for the vehicle in step S101 may specifically include: writing vehicle related information (such as license plate number, MAC address, driver information and the like) into a block header of a block chain, and setting a block chain communication security certificate M corresponding to the vehicle as credible (namely, endowing the vehicle with the ability to go on the road); the vehicle-related information is shared to the central processing mechanism, and the vehicle management right is handed to the central processing mechanism.
Since the central processing facility has the ability to communicate with the infrastructure, the vehicle, and share its information for storage by the central processing facility whenever a new infrastructure installation or vehicle authorization is available, the central processing facility is responsible for managing and communicating with all nodes without performing a significant amount of computational tasks.
In particular implementation, during the communication phase, as shown in fig. 5, the inter-vehicle communication includes establishing communication and ending communication, and the inter-vehicle communication establishing process includes three-way handshake and four-way waving. Specifically, the inter-vehicle communication in step S102 may specifically include: when a first vehicle A attempts to establish communication with a second vehicle B, first, the first vehicle A sends a communication request to the second vehicle B and a first block header A of the first vehicle A1(ii) a The second vehicle B starts to verify the received first block header A after receiving the communication request1The verification process is shown as algorithm 1; if the first block head A1If the verification is passed, the second vehicle B sends a response of accepting the communication and a second block header B of the second vehicle B to the first vehicle A1The verification process is shown as algorithm 2; if it isFirst block head A1If the verification is not passed, the second vehicle B sends the first block head A in question to the central processing structure1(ii) a The first vehicle A verifies the received second block head B after receiving the communication response1If the second block head B1If the verification is passed, the first vehicle A and the second vehicle B start to communicate, and the handshake stage is ended; if the second block head B1If the verification is not passed, the first vehicle A sends a suspect second block header B to the central processing structure1. When the communication needs to be ended, the first vehicle A sends an end communication request and a communication log CL to the second vehicle B, and the communication processing process is shown as an algorithm 3; the second vehicle B sends and keeps responding to the first vehicle A after receiving the request, the second vehicle B carries out the communication ending action and processes the communication log CL, and the second vehicle B sends the communication log CL to the first vehicle A and ends responding after finishing the communication action; after the response is closed, the first vehicle a starts processing the communication log CL, processes the communication process as shown in algorithm 3, and finally closes the communication.
Wherein the first block header A is verified1The process of (2) is as follows:
Figure BDA0003035546240000081
verifying second Block header B1The process of (2) is as follows:
Figure BDA0003035546240000082
Figure BDA0003035546240000091
the procedure for processing the communication log is as follows:
Figure BDA0003035546240000092
in the implementation, in the communication phase, as shown in fig. 6, the communication between the vehicle and the edge service infrastructure includes establishing communication and ending communication, and the communication process is an authorization process of the edge service infrastructure for the vehicle. Specifically, the evaluating, by the edge service infrastructure in step S103, the block chain communication security credential by processing and comparing the communication log may specifically include: the edge service infrastructure collects block TC and communication logs CL of all vehicles on a corresponding road section, evaluates the block chain communication security certificate by comparing the communication logs CL and deep learning calculation to judge whether suspicious block heads HC exist or not, finishes updating of the Mercker roots in all vehicle block heads HC, exchanges data, plans a path and other operations. For example, when all the communication logs CL are greater than the square of the number of collected block bodies TC, there is a forged communication record, and the corresponding block head HC is the block head HC that can be determined to be suspicious.
Further, in specific implementation, in the method for block chain assisted cloud-side collaborative vehicle networking communication provided by the embodiment of the present invention, the method may further include: after the vehicle completes the update of the mercker root in the block header HC, the redundant communication log CL is deleted. The vehicle completes the updating of the block head HC within the range of the edge service infrastructure, and deletes redundant data, thereby facilitating the next authorization and reducing the space occupied by the stored communication data and the communication log CL.
Wherein the vehicle communicates with the edge service infrastructure as follows:
Figure BDA0003035546240000093
Figure BDA0003035546240000101
in the implementation, the logout phase is a phase in which the central authority processes untrusted nodes. In the block chain assisted cloud-side collaborative internet of vehicles communication method provided by the embodiment of the present invention, the method may further include: when the central processing mechanism receives a suspicious block head (namely, a safety communication certificate M in the block head is suspicious) from a vehicle or an edge service infrastructure, calculating a hash value according to a stored communication log and comparing the hash value; if the communication record is forged or the vehicle is unsafe, the central processing mechanism logs out the un-trusted node, sends logout information to the authorization mechanism, and the authorization mechanism stores and processes the vehicle information. Therefore, the problem of safe communication of the Internet of vehicles in automatic driving under cloud edge cooperation is further solved.
In practical application, the embodiment of the invention can be applied to the Internet of vehicles to protect the safety of vehicle communication, and is also suitable for a distributed edge Internet of things communication scene.
Correspondingly, the embodiment of the invention also discloses an electronic device, which comprises a processor and a memory; when the processor executes the computer program stored in the memory, the block chain assisted cloud-side collaborative Internet of vehicles communication method disclosed by the foregoing embodiment is implemented.
For more specific processes of the above method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Further, the present invention also discloses a computer readable storage medium for storing a computer program; the computer program when executed by the processor implements the block chain assisted cloud-edge collaborative vehicle networking communication method disclosed above.
For more specific processes of the above method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device and the storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The block chain assisted cloud-side cooperative Internet of vehicles communication method provided by the embodiment of the invention comprises the following steps: the authorization mechanism carries out initialization authorization on the central processing mechanism and the edge service infrastructure, carries out block chain initialization authorization on the vehicles, and sets block chain communication safety certificates for finishing vehicle authorization and authentication processes, so that the central processing mechanism is respectively communicated with all the edge service infrastructures and all the vehicles in real time; after the vehicles get on the road, the vehicles communicate with the nearest edge service infrastructure within the service range of the edge service infrastructure, and the vehicles communicate with each other; the edge service infrastructure evaluates the block chain communication security certificate through processing and comparing the communication logs, and uploads the redundant communication logs to the central processing mechanism. The invention adopts a cloud-edge cooperation mode, provides low-delay service through complete service of a central processing mechanism and an edge service infrastructure distributed architecture, and solves the problems of high delay of cloud computing and insufficient edge computing resources; the block chain is used as a distributed shared account book based on cryptography, and has good safety, the block chain initialization authorization of the vehicle can assist the vehicle network in completing the authorization and authentication process of communication, so that the vehicle network is protected from being attacked, meanwhile, the edge service infrastructure is adopted to complete the processing of communication logs and the evaluation of block chain communication safety certificates, the problem of redundant data is solved, and the vehicle authorization and authentication process is completed quickly and efficiently. In addition, the invention also provides corresponding equipment and a computer readable storage medium for the block chain assisted cloud-side cooperative Internet of vehicles communication method, so that the method has higher practicability, and the equipment and the computer readable storage medium have corresponding advantages.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The block chain assisted cloud-side collaborative internet of vehicles communication method, device and storage medium provided by the invention are introduced in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A block chain assisted cloud-side cooperative Internet of vehicles communication method is characterized by comprising the following steps:
the authorization mechanism carries out initialization authorization on the central processing mechanism and the edge service infrastructure, carries out block chain initialization authorization on the vehicles, and sets block chain communication safety certificates for finishing vehicle authorization and authentication processes, so that the central processing mechanism respectively communicates with all the edge service infrastructures and all the vehicles in real time;
after the vehicles get on the road, the vehicles communicate with the nearest edge service infrastructure within the service range of the edge service infrastructure, and the vehicles communicate with each other;
and the edge service infrastructure evaluates the block chain communication safety certificate through processing and comparing the communication logs and uploads the redundant communication logs to the central processing mechanism.
2. The blockchain-assisted cloud-edge collaborative vehicle networking communication method according to claim 1, wherein the blockchain communication security credentials include three levels of credibility, suspicious and untrustworthy, a credible vehicle is a vehicle capable of completing authentication, a suspicious vehicle needs to be checked by the central processing mechanism to complete authentication, and an untrustworthy vehicle does not pass authentication.
3. The method for blockchain-assisted cloud-edge collaborative vehicle networking communication according to claim 2, wherein performing blockchain initialization authorization on a vehicle and setting a blockchain communication security credential for completing vehicle authorization and authentication processes specifically comprises:
writing vehicle related information into the block chain, and setting a block chain communication security certificate corresponding to the vehicle and used for finishing vehicle authorization and authentication processes as a credible certificate;
and sharing the vehicle-related information to the central processing mechanism, and giving the vehicle management right to the central processing mechanism.
4. The blockchain-assisted cloud-edge collaborative Internet of vehicles communication method of claim 3, wherein the blockchain has a blockhead and a blockbody;
the blockchain communication security credential is in the blockhead; the block header further comprises a hash value of a previous block given by the authority, a version number for updating a block chain version, a timestamp for recording a communication log time, a random number for a hash algorithm, and a unique information address and a unique MAC address corresponding to each vehicle/edge service infrastructure;
the block body comprises a hash value calculated by adopting an SHA-256 algorithm, a communication log, vehicle related information and driver related information.
5. The method for block chain assisted cloud-side collaborative Internet of vehicles communication according to claim 4, wherein communication among vehicles specifically comprises:
the first vehicle sends a communication request and a first block header to the second vehicle;
the second vehicle verifies the received first block header after receiving the communication request; if the verification is passed, the second vehicle sends a communication receiving response and a second block header to the first vehicle; if the verification is not passed, the second vehicle sends the first block head to the central processing structure;
the first vehicle verifies the received second block header after receiving the communication response; if the verification is passed, the first vehicle and the second vehicle start to communicate; if the verification is not passed, the first vehicle sends the suspect second block header to the central processing structure.
6. The method for block chain assisted cloud-edge collaborative Internet of vehicles communication according to claim 5, wherein an edge service infrastructure evaluates the block chain communication security credentials by processing and comparing communication logs, and specifically comprises:
the edge service infrastructure collects block bodies and communication logs of all vehicles in a corresponding road section, evaluates the block chain communication security voucher by comparing the communication logs and deep learning calculation so as to judge whether suspicious block heads exist or not, completes the updating of the Mercker roots in all the vehicle block heads and exchanges data to plan a path.
7. The blockchain assisted cloud-edge collaborative vehicle networking communication method according to claim 6, further comprising:
and after the vehicle completes the update of the Mercker root in the block head, deleting the redundant communication log.
8. The blockchain assisted cloud-edge collaborative vehicle networking communication method according to claim 7, further comprising:
when the central processing mechanism receives a suspicious block header from a vehicle or an edge service infrastructure, calculating a hash value comparison according to a stored communication log;
if the communication record is forged or the vehicle is unsafe, the central processing mechanism logs out the untrusted node, sends logout information to the authorization mechanism, and the authorization mechanism stores and processes the vehicle information.
9. An electronic device comprising a processor and a memory, wherein the processor, when executing a computer program stored in the memory, implements the blockchain assisted cloud-edge collaborative vehicle networking communication method of any of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the blockchain assisted cloud-edge collaborative vehicle networking communication method of any of claims 1 to 8.
CN202110442556.6A 2021-04-23 2021-04-23 Block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and storage medium Active CN113115260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110442556.6A CN113115260B (en) 2021-04-23 2021-04-23 Block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110442556.6A CN113115260B (en) 2021-04-23 2021-04-23 Block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113115260A true CN113115260A (en) 2021-07-13
CN113115260B CN113115260B (en) 2022-06-07

Family

ID=76719845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110442556.6A Active CN113115260B (en) 2021-04-23 2021-04-23 Block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113115260B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180270244A1 (en) * 2017-03-20 2018-09-20 International Business Machines Corporation Unmanned aerial vehicle data management
CN109275122A (en) * 2018-08-03 2019-01-25 暨南大学 A kind of common recognition Protocol Design and its car networking application method proved based on service
CN109687976A (en) * 2019-01-07 2019-04-26 西安邮电大学 Fleet's establishment and management method and system based on block chain and PKI authentication mechanism
CN109756897A (en) * 2018-06-13 2019-05-14 启迪智行科技(北京)有限公司 A kind of the Certificate Authority mechanism and system of car networking
CN110430061A (en) * 2019-07-19 2019-11-08 东南大学 A kind of car networking equipment identities authentication method based on block chain technology
CN110446183A (en) * 2019-06-01 2019-11-12 西安邮电大学 Car networking system and working method based on block chain
CN110795439A (en) * 2018-08-02 2020-02-14 辉达公司 Method and apparatus for enabling map updates using blockchain platform
CN112134698A (en) * 2020-09-10 2020-12-25 江苏大学 Block chain-based vehicle-to-vehicle rapid communication authentication method and system for Internet of vehicles

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180270244A1 (en) * 2017-03-20 2018-09-20 International Business Machines Corporation Unmanned aerial vehicle data management
CN109756897A (en) * 2018-06-13 2019-05-14 启迪智行科技(北京)有限公司 A kind of the Certificate Authority mechanism and system of car networking
CN110795439A (en) * 2018-08-02 2020-02-14 辉达公司 Method and apparatus for enabling map updates using blockchain platform
CN109275122A (en) * 2018-08-03 2019-01-25 暨南大学 A kind of common recognition Protocol Design and its car networking application method proved based on service
CN109687976A (en) * 2019-01-07 2019-04-26 西安邮电大学 Fleet's establishment and management method and system based on block chain and PKI authentication mechanism
CN110446183A (en) * 2019-06-01 2019-11-12 西安邮电大学 Car networking system and working method based on block chain
CN110430061A (en) * 2019-07-19 2019-11-08 东南大学 A kind of car networking equipment identities authentication method based on block chain technology
CN112134698A (en) * 2020-09-10 2020-12-25 江苏大学 Block chain-based vehicle-to-vehicle rapid communication authentication method and system for Internet of vehicles

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JINLIANG XU ET.AL: "Edgence:A Blockchain-Enabled Edge-Computing Platform for Intelligent IoT-Based dApps", 《IEEE XPLORE》 *
汤春明等: "基于BlockChain的车联网数据交换系统设计", 《天津工业大学学报》 *

Also Published As

Publication number Publication date
CN113115260B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN111698255B (en) Service data transmission method, device and system
CN113242230B (en) Multi-level authentication and access control system and method based on intelligent contracts
JP2022528360A (en) Cryptographically secure mechanism for remote control of autonomous vehicles
CN110995718B (en) Power terminal cross-domain authentication method based on block chain
US20140122716A1 (en) Virtual private network access control
CN111970302B (en) Construction equipment authority management method and system
CN115333840B (en) Resource access method, system, equipment and storage medium
CN115580488A (en) Vehicle-mounted network message authentication method based on block chain and physical unclonable function
JP2024505138A (en) Provisioning external functionality for transportation vehicles
CN113612616A (en) Vehicle communication method and device based on block chain
CN113115260B (en) Block chain assisted cloud-side cooperative Internet of vehicles communication method, equipment and storage medium
Feng et al. Autonomous Vehicles' Forensics in Smart Cities
CN105721489A (en) Authentication method and system of IPs in IP white list based on digital certificates
WO2023048185A1 (en) Vehicle security analysis device, method, and program thereof
US20230188361A1 (en) Certificate revocation and management for autonomous vehicles
US11963077B2 (en) Blockchain-based system for connected vehicles
CN109033776A (en) A kind of personnel management methods, system, equipment and computer readable storage medium
AU2021102177A4 (en) A method for verifying device's identity using iot and block chain technology
Zidi et al. Review and Perspectives on the Audit of Vehicle-to-everything Communications
CN110830465B (en) Security protection method for accessing UKey, server and client
CN114979140A (en) Unmanned aerial vehicle urban traffic management interaction method and platform based on edge calculation and computer readable medium
Das et al. Design of a Trust-Based Authentication Scheme for Blockchain-Enabled IoV System
CN113992705A (en) Vehicle networking system construction method, device, equipment and medium based on block chain
Panda et al. Privacy impact assessment of cyber attacks on connected and autonomous vehicles
CN110233816B (en) Industrial data asset authorization management method and equipment

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