The principle of network position


At present, there are generally two types of network positioning in mainstream use, namely, positioning based on Internet information (wired network, wireless WiFi, router, etc.), and positioning based on cellular data (base station):

Internet information positioning principle:
Query the IP address of the network according to the operator information to obtain the approximate or precise location.
Because the current network is mostly wired access (and then connected to the router to convert to wireless or wired for use), the relevant information generally includes relevant location information at the network operator.
The advantage is that even a device that does not have a positioning function and does not support a cellular data network (SIM card) can obtain approximate location information based on the relevant location of the connected network;
The disadvantage is that some companies, shopping malls, and communities only use one corresponding external network information, so the positioning may have a large error range at this time.
Cellular data network positioning (base station positioning):
Based on the base station connected to the user's mobile phone, the approximate location of the user is calculated.
Each base station has a specific code. Base station positioning is similar to satellite positioning. By performing triangulation based on the base station information that the mobile phone can connect to, it generally requires at least three base stations to perform positioning.
The disadvantage is that because the coverage area of ​​the base station is very large (generally a single base station can cover 3~5 kilometers), the accuracy of three base stations after triangulation may only reach 600m~2000m