I. Introduction
With wireless communication protocols, vehicles in vehicular ad hoc networks (VANETs) can communicate with other entities to obtain continuous and stable network service, and further, various smart services and applications can be obtained [1]. Data sharing is one of the essential and practical services in VANETs, including sharing of traffic conditions, weather variables, driving assistance, navigation support, entertainment content, etc [1], [2], which can effectively improve traffic conditions and user experience. It is worth noting that large-scale data sharing in VANETs requires vehicles to have certain computing power and a platform to support sharing data. Fortunately, hardware devices and embedded systems installed in vehicles give the opportunity to pool resources [3]. Moreover, cloud storage and computing technologies provide a platform and computing resource for vehicles to access data [2].