Geohash-Based Rapid Query Method of Regional Transactions in Blockchain for Internet of Vehicles

Sensors (Basel). 2022 Nov 17;22(22):8885. doi: 10.3390/s22228885.

Abstract

Many researchers have introduced blockchain into the Internet of Vehicles (IoV) to support trading or other authentication applications between vehicles. However, the traditional blockchain cannot well support the query of transactions that occur in a specified area which is important for vehicle users since they are bound to the geolocations. Therefore, the querying efficiency of the geolocation attribute of transactions is vital for blockchain-based applications. Existing work does not well handle the geolocation of vehicles in the blockchain, and thus the querying efficiency is questionable. In this paper, we design a rapid query method of regional transactions in blockchain for IoV, including data structures and query algorithms. The main idea is to utilize the Geohash code to represent the area and serve as the key for transaction indexing and querying, and the geolocation is marked as one of the attributes of transactions in the blockchain. To further verify and evaluate the proposed design, on the basis of the implementation of Ethereum, which is a well-known blockchain, the results show that the proposed design achieves significantly better-querying speed than Ethereum.

Keywords: Geohash; Internet of Vehicles; blockchain; query.

MeSH terms

  • Algorithms
  • Blockchain*
  • Computer Security
  • Internet