Patent ID: 9560621
Date: 2017-01-31
CPC Classifications: H04L,H04W

Claim:
1. A method, comprising: acquiring a Media Access Control (MAC) address of a network equipment used by a terminal to access a network; determining whether a database indicating locations associated with respective MAC addresses includes the acquired MAC address; in the event that the database indicating locations associated with respective MAC addresses includes the acquired MAC address, determining that a current location of the terminal corresponds to a location associated with the acquired MAC address that is stored in the database; in the event that the database indicating locations associated with respective MAC addresses does not include the acquired MAC address, acquiring an Internet Protocol (IP) address of the terminal; determining whether a database indicating locations associated with respective IP addresses includes a location relating to the IP address of the terminal; in the event that the database indicating locations associated with respective IP addresses includes the location relating to the IP address of the terminal, determining that the current location of the terminal corresponds to the location relating to the IP address of the terminal that is stored in the database; and outputting the current location of the terminal.