Method, apparatus, and server for network inquiry
AssigneeGuangzhou Ucweb Computer Technology Co., Ltd.
InventorAiqiang Fang
Life of this patent
Estimating the term…
Abstract
The present disclosure provides method, apparatus, and server for network inquiry. The method includes receiving location information sent by a client terminal and network information detected by the client terminal, searching for network information in a preset range stored in a database according to the location information, comparing the network information sent by the client terminal with the network information found through searching and identifying the network information found through searching based on a comparison result, and sending the identified network information to the client terminal.
Claims15
A network inquiry method, applied to a server, comprising:
- receiving location information sent by a client terminal and network information detected by the client terminal, wherein the location information includes a positioning mode of the client terminal and a device location, and the positioning mode is a mobile network positioning mode, a global positioning system (GPS) positioning mode, or a Wi-Fi network positioning mode;
- searching for network information in a preset range stored in a database according to the location information, including:
- searching for the network information in a first preset range stored in the database when the positioning mode is the GPS positioning mode or the Wi-Fi network positioning mode, and searching for the network information in a second preset range stored in the database when the positioning mode is the mobile network positioning mode, wherein the first preset range is smaller than the second preset range;
- comparing the network information sent by the client terminal with the network information found through searching, and identifying the network information found through searching based on a comparison result;
- and
- sending identified network information to the client terminal.
A server, comprising:
- a memory, configured to store program instructions;
- a processor, coupled with the memory and, when the program instructions being executed, configured to:
- receive location information sent by a client terminal and network information detected by the client terminal, wherein the location information includes a positioning mode of the client terminal and a device location, and the positioning mode is a mobile network positioning mode, a global positioning system (GPS) positioning mode, or a Wi-Fi network positioning mode;
- search for network information in a preset range stored in a database according to the location information, by performing:
- searching for the network information in a first preset range stored in the database when the positioning mode is the GPS positioning mode or the Wi-Fi network positioning mode, and searching for the network information in a second preset range stored in the database when the positioning mode is the mobile network positioning mode;
- wherein the first preset range is smaller than the second preset range;
- compare the network information sent by the client terminal with the network information found through searching, and identify the network information found through searching based on a comparison result;
- and
- send identified network information to the client terminal.
A non-transitory computer-readable storage medium containing computer-executable program instructions for, when executed by a processor, performing a network inquiry method, the method comprising:
- receiving location information sent by a client terminal and network information detected by the client terminal, wherein the location information includes a positioning mode of the client terminal and a device location, and the positioning mode is a mobile network positioning mode, a global positioning system (OPS) positioning mode, or a Wi-Fi network positioning mode;
- searching for network information in a preset range stored in a database according to the location information, including:
- searching for the network information in a first preset range stored in the database when the positioning mode is the GPS positioning mode or the Wi-Fi network positioning mode, and searching for the network information in a second preset range stored in the database when the positioning mode is the mobile network positioning mode, wherein the first preset range is smaller than the second preset range;
- comparing the network information sent by the client terminal with the network information found through searching, and identifying the network information found through searching based on a comparison result;
- and
- sending identified network information to the client terminal.
Dependencies are inferred from the claim text.