Method for Identifying Access Point and Hotspot and Terminal
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorWenjie Liu
Life of this patent
Estimating the term…
Abstract
A method for identifying an access point and a hotspot and a terminal are provided. The method includes the following. An internet protocol (IP) address of a gateway is obtained when a terminal is in a wireless fidelity (Wi-Fi) connection state. Whether a preset Wi-Fi list contains the IP address is determined. The terminal is determined to be connected to a hotspot when the preset Wi-Fi list contains the IP address. The terminal is determined to be connected to an access point when the preset Wi-Fi list does not contain the IP address.
Claims20
A method for identifying an access point and a hotspot, comprising:
- obtaining an internet protocol (IP) address of a gateway when a terminal is in a wireless fidelity (Wi-Fi) connection state;
- determining whether a preset Wi-Fi list contains the IP address;
- determining that the terminal is connected to a hotspot, based on a determination that the preset Wi-Fi list contains the IP address;
- and
- determining that the terminal is connected to an access point, based on a determination that the preset Wi-Fi list fails to contain the IP address.
A terminal comprising:
- at least one processor;
- and
- a computer readable memory, coupled to the at least one processor and storing at least one computer executable instruction therein, which when executed by the at least one processor, cause the at least one processor to carry out actions, comprising:
- obtaining an IP address of a gateway when the terminal is in a Wi-Fi connection state;
- determining whether a preset Wi-Fi list contains the IP address;
- determining that the terminal is connected to a hotspot, based on a determination that the preset Wi-Fi list contains the IP address;
- and
- determining that the terminal is connected to an access point, based on a determination that the preset Wi-Fi list fails to contain the IP address.
A non-transitory computer-readable storage medium storing at least one computer program which, when executed by at least one processor, causes the at least one processor to carry out actions, comprising:
- obtaining an internet protocol (IP) address of a gateway when a terminal is in a wireless fidelity (Wi-Fi) connection state;
- determining whether a preset Wi-Fi list contains the IP address;
- determining that the terminal is connected to a hotspot, based on a determination that the preset Wi-Fi list contains the IP address;
- and
- determining that the terminal is connected to an access point, based on a determination that the preset Wi-Fi list fails to contain the IP address.
Dependencies are inferred from the claim text.