摘要 |
A user device may determine an access point within communication range of the user device; determine whether location information, associated with the access point, is stored by the user device in the data structure; and obtain, based on the determination that the location information is not stored by the user device, a location of the user device. When obtaining the location information of the user device, the user device may invoke location identification hardware. The user device may store the obtained location information of the user device, in the data structure, as location information corresponding to the access point; obtain, based on the determination that the location information is stored in the data structure, the location information of the user device from the data structure; generate a location record identifying the location of the user device; and store or output the location record. |
主权项 |
1. A method comprising:
determining, by a user device, an access point within communication range of the user device; determining, by the user device, whether location information, associated with the access point, is stored by the user device in a data structure; obtaining, by the user device and based on the determination that the location information is not stored by the user device, location information of the user device, the obtaining including:
invoking location identification hardware associated with the user device; storing, by the user device and based on the determination that the location information is not stored by the user device, the obtained location information of the user device, in the data structure, as location information corresponding to the access point; obtaining, by the user device and based on the determination that the location information is stored in the data structure, the location information of the user device from the data structure; generating, by the user device, a location record identifying the location of the user device; and storing or outputting, by the user device, the location record. |