A method for sharing Internet of Vehicles data based on cross-chain technology

By building an alliance chain and using smart contracts on Internet of Vehicles devices, cross-domain synchronization of vehicle information is achieved, solving the problem of frequent vehicle registration in traditional Internet of Vehicles systems, improving data sharing efficiency and system reliability, and ensuring data security. security.

CN114980023BActive Publication Date: 2024-09-17KUNMING UNIV OF SCI & TECH
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202210627133.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-02
Publication Date
2024-09-17
Estimated Expiration
2042-06-02

AI Technical Summary

Technical Problem

In traditional Internet of Vehicles systems, vehicles need to frequently register their identities when traveling in different areas, resulting in high pressure on roadside units and low efficiency in cross-regional data sharing.

Method used

Build a consortium chain on Internet of Vehicles devices, and use smart contracts to monitor requests, register and identify new vehicles, store information, and synchronize across chains to avoid repeated registration and achieve cross-domain synchronization of vehicle information.

Benefits of technology

It improves the cross-regional data sharing efficiency of the Internet of Vehicles, reduces latency and throughput, enhances system reliability, and ensures data security through digital signatures and Merkel verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114980023B
    Figure CN114980023B
Patent Text Reader

Abstract

The present invention relates to a method for sharing data in an Internet of Vehicles based on cross-chain technology, and belongs to the technical field of blockchain and Internet of Vehicles. The present invention builds a consortium chain on Internet of Vehicles devices in different regions, and arranges smart contracts on the chain to realize request monitoring, registration identification, vehicle information storage and cross-chain synchronization of new vehicles, and synchronizes the vehicle information to Internet of Vehicles in other regions, so that the vehicle can share data with vehicles in other domains without repeated registration. Compared with the prior art, the present invention not only improves the efficiency of cross-regional data sharing in the Internet of Vehicles, but also can improve the throughput of the Internet of Vehicles, reduce latency, and enhance the reliability of the Internet of Vehicles system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a vehicle networking data sharing method based on cross-chain technology, belonging to the technical field of blockchain and vehicle networking. Background Art

[0002] The Internet of Vehicles is a network that provides wireless communications between vehicles and infrastructure and between vehicles. Its main purpose is to provide a data sharing platform between nearby vehicles, so as to analyze the driving information of vehicles, share road conditions information and calculate the optimal traffic route to reduce road congestion. In traditional Internet of Vehicles systems, vehicles in motion need to share their own data, such as speed, location, identity, etc., with surrounding vehicles to achieve safe driving. When vehicles are driving in Internet of Vehicles in different regions, they need to submit their identity registration to the Internet of Vehicles system in the region to obtain data sharing permissions. This requires vehicles to frequently access roadside units for identity registration during driving and upload their own information for data sharing. However, with the increase in the number of vehicles connected to the network, the data that needs to be shared is growing exponentially, resulting in increasing pressure on roadside units and low efficiency of cross-regional data sharing in Internet of Vehicles. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method for sharing Internet of Vehicles data based on a cross-chain. By building a consortium chain on Internet of Vehicles devices in different regions, smart contracts are arranged on the chain to realize request monitoring, registration identification, vehicle information storage and cross-chain synchronization of new vehicles entering the network, and synchronize the vehicle information to the Internet of Vehicles in adjacent regions, so that when the vehicle is traveling in other domains, it can share data with vehicles in other domains without repeated registration, thereby solving the above-mentioned problem.

[0004] Compared with the prior art, the present invention not only improves the data sharing efficiency of the Internet of Vehicles across regions, but also can improve the throughput of the Internet of Vehicles, reduce latency, and enhance the reliability of the Internet of Vehicles system.

[0005] The entire cross-chain data sharing process of the present invention uses digital signatures and Merkel verification to ensure that the data in the cross-chain process is not tampered with or forged.

[0006] The technical solution of the present invention is: a method for sharing vehicle network data based on cross-chain technology, wherein the devices in the vehicle network include a road side unit (RSU, Road Side Unit), a base station (BSU, Base Station Unit) and an on-board unit (OBU, On Board Unit), etc.

[0007] The specific steps of the method are:

[0008] Step 1: First, determine the coverage of the Internet of Vehicles in each area based on administrative or traffic area divisions. In the selected area, consider the traffic conditions and the sparseness of base station layout to implement the roadside unit deployment plan. Select the base stations and roadside units in the area to jointly constitute the target equipment responsible for the Internet of Vehicles data sharing system.

[0009] The roadside unit deployment plan is: first divide the selected area into grids with a grid width of 300m, then mark the range covered by the base station on the grid, and in the grids that are not covered by the base station, deploy the roadside units to intersections with heavy traffic to ensure that each grid is covered by the base station or roadside unit.

[0010] Step 2: Build a consortium chain on the target device in the selected area. The nodes in the consortium blockchain are required to be composed of roadside units, base stations and vehicle-mounted units running in the area. Only nodes authenticated by the consortium blockchain can participate in consensus and data sharing.

[0011] The system formed by the alliance chain is responsible for the identity recognition and information binding of the on-board units traveling in the area, and provides communication services and data sharing services between traveling vehicles.

[0012] Step 3: Arrange a smart contract on the alliance blockchain, and the smart contract includes:

[0013] The supervision contract is responsible for supervising the requests of the on-board unit, setting the access frequency per unit time, recording malicious access and illegal access nodes, and blacklisting malicious nodes.

[0014] The information binding contract is responsible for registering and identifying the on-board unit and storing the vehicle information.

[0015] The consensus contract is responsible for reaching consensus on the newly registered vehicle unit information among other nodes in the domain and storing the vehicle information in the chain.

[0016] The data sharing contract is responsible for reviewing and authorizing data sharing between on-board units in the area, and sharing vehicle location, speed and other data in real time.

[0017] The cross-chain synchronization contract is responsible for synchronizing the information on the alliance blockchain in this area to the alliance blockchain in another area through cross-chain operations, thereby realizing the synchronization of vehicle information.

[0018] Step 4: When an unconnected vehicle-mounted unit enters area A, the vehicle needs to apply for registration with the Internet of Vehicles to which area A belongs. After receiving the registration request, the nearest alliance chain node first executes the supervision contract to determine whether the vehicle-mounted unit is a malicious attacker. If not, it continues to execute the information binding contract, registers the vehicle in the Internet of Vehicles system, generates identity information, and then executes the consensus contract to store the vehicle information on the alliance blockchain. If the supervision contract determines that the vehicle-mounted unit is a malicious attacker, the malicious vehicle-mounted unit will be blacklisted and prohibited from accessing Internet of Vehicles services.

[0019] The area A refers to the area covered by the same Internet of Vehicles after being divided in Step 1. The roadside units, base stations, and vehicle-mounted units in area A constitute alliance chain A.

[0020] Step 5: The cross-chain unit in alliance chain A executes the scheduled task, triggers the cross-chain synchronization contract, and synchronizes the on-board unit information data in alliance chain A to alliance chain B in the adjacent area by submitting a cross-domain data sharing request to the cross-chain routing.

[0021] The cross-chain unit refers to a base station unit or roadside unit in alliance chain A that has been assigned a scheduled task. This unit triggers the cross-chain synchronization contract on the alliance chain at a regular interval.

[0022] The cross-chain routing refers to a component in the wecross project developed by the WeBank team. The cross-chain routing manages the cross-chain adapters of different blockchains. When a call request is received from the business layer, the final destination of the request is determined through the call target field in the request packet, and then the corresponding cross-chain adapter is selected to complete the forwarding of the request, and finally a cross-chain call is completed.

[0023] The area B refers to the area covered by the same Internet of Vehicles after being divided in Step 1. The roadside units, base stations, and vehicle-mounted units in area B constitute alliance chain B.

[0024] Step 6: When the on-board unit in area A travels to area B, the node in the alliance chain B directly identifies the on-board unit through the information binding contract. After the identification is passed, the on-board unit directly applies to the alliance chain node for inter-vehicle data sharing. After the application is passed, data sharing between the on-board units in area A and the on-board units in area B is realized.

[0025] The specific steps of Step 5 are:

[0026] Step 5.1: A node in alliance chain A initiates a cross-domain request, digitally signs its own unique identity, the legal certificate it holds, the legal certificate of the neighboring node, and the timestamp, and sends it to cross-chain router A.

[0027] Step 5.2: After receiving the request, cross-chain router A verifies the legitimacy of the signature. If the verification is successful, it will send the data sharing request to cross-chain router B through the P2P network.

[0028] Step 5.3: After receiving the request, cross-chain router B will verify the signature and permissions of the data sharing request, and then convert the shared data into the data of alliance chain B and send it to the chain, and wait for the receipt of the chain.

[0029] Step 5.4: Cross-chain router B obtains the data on-chain receipt and the Merkle proof of the data on-chain receipt from alliance chain B, proving that the cross-chain data is indeed stored in alliance chain B.

[0030] Step 5.5: Cross-chain router B returns the on-chain receipt and the Merkle proof of the on-chain receipt to cross-chain router A, which verifies it and returns the success message to alliance chain A.

[0031] The beneficial effects of the present invention are:

[0032] (1) The present invention introduces a blockchain architecture into the Internet of Vehicles systems in different regions and utilizes the decentralized advantages of the alliance chain to achieve traceability and non-tamperability of communication data, thereby improving the security of the Internet of Vehicles system.

[0033] (2) The present invention uses cross-chain technology to synchronize vehicle information in different regional Internet of Vehicles, so that when a vehicle is traveling in another domain, it can share data with vehicles in that domain without repeated registration, thereby improving the cross-domain data sharing efficiency of the Internet of Vehicles.

[0034] (3) The present invention innovatively introduces base station units into the Internet of Vehicles system. By utilizing the high density and wide distribution characteristics of the base station units, it can well support the authentication and communication of vehicles in the Internet of Vehicles across different areas while moving at high speed, thereby improving the communication efficiency of the Internet of Vehicles system.

[0035] (4) The entire cross-chain data sharing process of the present invention uses digital signatures and Merkel verification to ensure that the data in the cross-chain process is not tampered with or forged, thereby ensuring the security of the cross-chain data.

[0036] (5) The present invention implements supervision of malicious nodes and cross-chain data sharing by deploying self-constructed smart contracts, which simplifies the data sharing process and improves the authentication efficiency of the vehicle network. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a flow chart of the steps of the present invention;

[0038] Figure 2 It is a system structure diagram of the present invention;

[0039] Figure 3 It is a flowchart of cross-chain data sharing. DETAILED DESCRIPTION

[0040] The present invention will be further described below in conjunction with the accompanying drawings and specific implementation methods.

[0041] Example 1: Figure 1-3 As shown in the figure, a method for sharing Internet of Vehicles data based on cross-chain technology, the specific steps are:

[0042] Step 1: First, determine the coverage of the Internet of Vehicles in each area based on administrative or traffic area divisions. In the selected area, consider the traffic conditions and the sparseness of base station layout to implement the roadside unit deployment plan. Select the base stations and roadside units in the area to jointly constitute the target equipment responsible for the Internet of Vehicles data sharing system.

[0043] The roadside unit deployment plan is: first divide the selected area into grids with a grid width of 300m, then mark the range covered by the base station on the grid, and in the grids that are not covered by the base station, deploy the roadside units to intersections with heavy traffic to ensure that each grid is covered by the base station or roadside unit.

[0044] Step 2: Build a consortium chain on the target device in the selected area. The nodes in the consortium blockchain are required to be composed of roadside units, base stations and vehicle-mounted units running in the area. Only nodes authenticated by the consortium blockchain can participate in consensus and data sharing.

[0045] The system formed by the alliance chain is responsible for the identity recognition and information binding of the on-board units traveling in the area, and provides communication services and data sharing services between traveling vehicles.

[0046] Step 3: Arrange a smart contract on the alliance blockchain, and the smart contract includes:

[0047] The supervision contract is responsible for supervising the requests of the on-board unit, setting the access frequency per unit time, recording malicious access and illegal access nodes, and blacklisting malicious nodes.

[0048] The information binding contract is responsible for registering and identifying the on-board unit and storing the vehicle information.

[0049] The consensus contract is responsible for reaching consensus on the newly registered vehicle unit information among other nodes in the domain and storing the vehicle information in the chain.

[0050] The data sharing contract is responsible for reviewing and authorizing data sharing between on-board units in the area, and sharing vehicle location, speed and other data in real time.

[0051] The cross-chain synchronization contract is responsible for synchronizing the information on the alliance blockchain in this area to the alliance blockchain in another area through cross-chain operations, thereby realizing the synchronization of vehicle information.

[0052] A smart contract is a computer protocol designed to disseminate, verify or execute contracts in an information-based manner. Once an event triggers a clause in the contract, the contract content is automatically executed. Smart contracts not only eliminate the possibility of third-party intervention and ensure accuracy in contract execution, but also ensure reliability through automated execution, greatly improving the efficiency of interactions.

[0053] Step 4: When an unconnected vehicle-mounted unit enters area A, the vehicle needs to apply for registration with the Internet of Vehicles to which area A belongs. After receiving the registration request, the nearest alliance chain node first executes the supervision contract to determine whether the vehicle-mounted unit is a malicious attacker. If not, it continues to execute the information binding contract, registers the vehicle in the Internet of Vehicles system, generates identity information, and then executes the consensus contract to store the vehicle information on the alliance blockchain. If the supervision contract determines that the vehicle-mounted unit is a malicious attacker, the malicious vehicle-mounted unit will be blacklisted and prohibited from accessing Internet of Vehicles services.

[0054] The area A refers to the area covered by the same Internet of Vehicles after being divided in Step 1. The roadside units, base stations, and vehicle-mounted units in area A constitute alliance chain A.

[0055] Step 5: The cross-chain unit in alliance chain A executes the scheduled task, triggers the cross-chain synchronization contract, and synchronizes the on-board unit information data in alliance chain A to alliance chain B in the adjacent area by submitting a cross-domain data sharing request to the cross-chain routing.

[0056] The cross-chain unit refers to a base station unit or roadside unit in alliance chain A that has been assigned a scheduled task. This unit triggers the cross-chain synchronization contract on the alliance chain at a regular interval.

[0057] The cross-chain routing refers to a component in the wecross project developed by the WeBank team. The cross-chain routing manages the cross-chain adapters of different blockchains. When a call request is received from the business layer, the final destination of the request is determined through the call target field in the request packet, and then the corresponding cross-chain adapter is selected to complete the forwarding of the request, and finally a cross-chain call is completed.

[0058] The area B refers to the area covered by the same Internet of Vehicles after being divided in Step 1. The roadside units, base stations, and vehicle-mounted units in area B constitute alliance chain B.

[0059] Step 6: When the on-board unit in area A travels to area B, the node in the alliance chain B directly identifies the on-board unit through the information binding contract. After the identification is passed, the on-board unit directly applies to the alliance chain node for inter-vehicle data sharing. After the application is passed, data sharing between the on-board units in area A and the on-board units in area B is realized.

[0060] The specific steps of Step 5 are:

[0061] Step 5.1: A node in alliance chain A initiates a cross-domain request, digitally signs its own unique identity, the legal certificate it holds, the legal certificate of the neighboring node, and the timestamp, and sends it to cross-chain router A.

[0062] Digital signatures use asymmetric key encryption technology to perform cryptographic transformations on data units. This data transformation allows the recipient of the data unit to confirm the source and integrity of the data unit and protect the data, which can prevent forgery, denial, impersonation and tampering in network information security. The Merkle proof is based on the Merkle tree. The hash value of the transaction on the chain is calculated in pairs with the hash value obtained by requesting the full node, and the root hash value is finally obtained. By comparing whether the root hash value is consistent, it is determined whether the transaction is written into the blockchain. The Merkle proof provides a method that only requires the full block header information in the chain to prove whether the transaction exists in a certain block.

[0063] Step 5.2: After receiving the request, cross-chain router A verifies the legitimacy of the signature. If the verification is successful, it will send the data sharing request to cross-chain router B through the P2P network.

[0064] Step 5.3: After receiving the request, cross-chain router B will verify the signature and permissions of the data sharing request, and then convert the shared data into the data of alliance chain B and send it to the chain, and wait for the receipt of the chain.

[0065] Step 5.4: Cross-chain router B obtains the data on-chain receipt and the Merkle proof of the data on-chain receipt from alliance chain B, proving that the cross-chain data is indeed stored in alliance chain B.

[0066] Step 5.5: Cross-chain router B returns the on-chain receipt and the Merkle proof of the on-chain receipt to cross-chain router A, which verifies it and returns the success message to alliance chain A.

[0067] The specific implementation modes of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.

Claims

1. A method for sharing Internet of Vehicles data based on cross-chain technology, characterized by: Step 1: First, determine the coverage of the Internet of Vehicles in each region based on administrative or traffic area divisions. Implement the roadside unit deployment plan in the selected area by comprehensively considering traffic conditions and sparse base station layout. Select base stations and roadside units in the area to jointly constitute the target equipment responsible for the Internet of Vehicles data sharing system. Step 2: Build a consortium chain on the target device in the selected area. The nodes in the consortium chain are required to be composed of the roadside units, base stations and vehicle-mounted units running in the area. Only nodes certified by the consortium chain can participate in consensus and data sharing; Step 3: Deploy smart contracts on the consortium chain; Step 4: When an onboard unit that has not been connected to the network enters area A, the vehicle needs to apply for registration with the Internet of Vehicles to which area A belongs. After receiving the registration request, the nearest alliance chain node first executes the supervision contract to determine whether the onboard unit is a malicious attacker. If not, it continues to execute the information binding contract, registers the vehicle in the Internet of Vehicles system, generates identity information, and then executes the consensus contract to store the vehicle information on the alliance chain; if the supervision contract determines that the onboard unit is a malicious attacker, the malicious onboard unit will be added to the blacklist and prohibited from accessing Internet of Vehicles services; Area A refers to the area covered by the same Internet of Vehicles after being divided in Step 1. The roadside units, base stations, and vehicle-mounted units in area A constitute alliance chain A; Step 5: The cross-chain unit in the alliance chain A executes the scheduled task, triggers the cross-chain synchronization contract, and synchronizes the on-board unit information data in the alliance chain A to the alliance chain B in the adjacent area by submitting a cross-domain data sharing request to the cross-chain route; The cross-chain unit refers to a base station unit or roadside unit in the alliance chain A that has a scheduled task, and this unit regularly triggers the cross-chain synchronization contract on the alliance chain; Area B refers to the area covered by the same Internet of Vehicles after being divided in Step 1. The roadside units, base stations, and vehicle-mounted units in area B constitute alliance chain B; Step 6: When the on-board unit in area A travels to area B, the node in the alliance chain B directly identifies the on-board unit through the information binding contract. After the identification is passed, the on-board unit directly applies to the alliance chain node for inter-vehicle data sharing. After the application is passed, data sharing between the on-board units in area A and area B is realized; The smart contract includes: The supervision contract is responsible for supervising the requests of the vehicle-mounted unit, setting the access frequency per unit time, recording malicious access and illegal access nodes, and blacklisting malicious nodes; The information binding contract is responsible for registering and identifying the vehicle-mounted unit and storing the vehicle information; The consensus contract is responsible for reaching consensus on the newly registered vehicle unit information among other nodes in the domain and storing the vehicle information in the chain; The data sharing contract is responsible for reviewing and authorizing data sharing between on-board units in the area, and sharing vehicle location, speed and other data in real time; The cross-chain synchronization contract is responsible for synchronizing the information on the alliance chain in this area to the alliance chain in another area through cross-chain operations, thereby realizing the synchronization of vehicle information.

2. The method for sharing Internet of Vehicles data based on cross-chain technology according to claim 1 is characterized in that: The roadside unit deployment plan is specifically as follows: first, the selected area is divided into grids with a grid width of 300m, and then the range covered by the base station is marked on the grid. In the grids that are not covered by the base station, the roadside units are deployed at intersections with heavy traffic flow to ensure that each grid is covered by the base station or roadside unit.

3. The method for sharing Internet of Vehicles data based on cross-chain technology according to claim 1 is characterized in that: The system formed by the alliance chain is responsible for the identity recognition and information binding of the on-board units traveling in the area, and provides communication services and data sharing services between traveling vehicles.

4. The method for sharing Internet of Vehicles data based on cross-chain technology according to claim 1 is characterized in that: The specific steps of Step 5 are: Step 5.1: A node in consortium chain A initiates a cross-domain request, digitally signs its own unique identity, the legal certificate it holds, the legal certificate of the neighboring node, and the timestamp, and sends it to cross-chain router A; Step 5.2: After receiving the request, cross-chain router A verifies the legitimacy of the signature. If the verification is successful, it will send the data sharing request to cross-chain router B through the P2P network; Step 5.3: After receiving the request, cross-chain router B will verify the signature and permissions of the data sharing request, then convert the shared data into the data of alliance chain B and send it to the chain, and wait for the receipt of the chain; Step 5.4: Cross-chain router B obtains the data on-chain receipt and the Merkle proof of the data on-chain receipt from alliance chain B, proving that the cross-chain data is indeed stored in alliance chain B; Step 5.5: Cross-chain router B returns the on-chain receipt and the Merkle proof of the on-chain receipt to cross-chain router A, which verifies it and returns the success message to alliance chain A.

Citation Information

Patent Citations

  • A vehicle networking architecture based on block chain and a working method thereof

    CN109068299A

  • An Internet of Vehicles data exchange model based on a block chain

    CN109922149A

  • Internet-of-things data sharing method and system based on cross-chain technology

    CN110941850A

  • Intelligent Internet of Vehicles implementation method and system based on blockchain technology

    CN111050303A

  • Cross-domain anonymous authentication method and system based on block chain

    CN112039872A