As the value of vehicle data grows, it’s more vital than ever to keep it safe. Since onboard diagnosing scanners, commonly used to store vehicle data, are IoT devices (mostly connected with RFID sensors and tags), reliability and capacity challenges must be addressed to keep data safely and efficiently. To address this, a recent study proposed a solution that uses blockchain and IPFS to store vehicle data securely and effectively. Users can control their vehicle data and access the system using a DApp, an Ethereum-based distributed software.
All data created by a car, such as mileage, speed, engine status, and battery state, is referred to as vehicle data. The OBD scanner, which collects data by connecting it to the OBD terminal located on the car and the app attached to the OBD scanner, can check vehicle information. Unfortunately, this method of collecting vehicle data has security issues, such as data tampering, and may jeopardize personal information. Blockchains are commonly used as a means of resolving these security concerns.
What was the problem?
On the other hand, vehicle data is generated in massive quantities in a short time; in fact, Intel CEO said in 2016 that the autonomous cars test vehicle would produce around 4 TB of data every day. As a result, storing significant amounts of vehicle data in the blockchain is both a cost and a storage challenge.
The study mentioned above presents a system that securely stores and processes massive volumes of data to overcome the blockchain capacity issue, including such vehicle data, by integrating blockchain and InterPlanetary File System (IPFS), a peer-to-peer decentralized file system.
Process of Operation
Users can subscribe to the system, and when they do, they must provide their Ethereum address, public key, file list name, and vehicle identifying number (VIN). The user’s Ethereum address, public key, and private key are automatically placed by reading the Keystore file containing the user’s Ethereum key information. The operator must provide the file list name and VIN value.
Receiving vehicle data and saving it in the user’s contract via data compression, string separation, IPFS upload, and data encryption is the method of preserving vehicle data. An OBD-II scanner generates vehicle data in real-time and then will be uploaded and copied to the DApp. The data are in the backlog if the DApp is not operating or if the user is not signed in. The most current stat from the queues is sent while the DApp is active and the user checks in.
The user can start accessing the FileList contract in the user’s UserData contract by entering the user’s Ethereum address, private key, and FileList contractual name and file name into the DApp. Identity verification is conducted to access the FileList contract by checking the mapping data to see if they have access to the FileList.
Establishing a FileList contract to be exchanged is a big part of the data sharing process. The information requester gives users his Ethereum address and public key. The user gives the DApp their details, the data requester’s relevant data, and the name of the new FileList contract to be exchanged with the data recipient. The DApp uses the input data to construct a new sharing FileList contract in the user information contract. The information from the newly generated is saved in the user’s data contract and insurance provider.
To strengthen the integrity and authenticity of the information, the suggested scheme encodes vehicle data. It records the hash value of connected vehicles in a blockchain that used a digital signature mechanism and effectively runs and processes vehicle data with high data sizes. The speed of uploading data was tested using data from various sizes to predict the efficiency of uploading vehicle data. It was established that the higher the data size, the faster and more effective the upload was.
Furthermore, it was established that the upload technique employing the system costs the same amount of gasoline even though the data volume increased in terms of fuel consumption.
Also, vehicle data matching to personal details may be easily and securely saved and accessed by utilizing the suggested system. Individuals can gain ownership of their data by exchanging vehicle data with other individuals utilizing public key encryption methods and smart contracts. The approach is especially well suited to data sharing with insurance firms. The safety of the simple user verification process will be increased in the end, and DApps built on web browsers, and Android apps are expected to be adopted.