Exploring historical location data for anonymity preservation in location-based services