The invention discloses a method for dynamically screening network points based on
longitude and
latitude, and belongs to the field of general methods for carrying out
distance measurement and data screening on massive geographic
longitude and
latitude data sets. A five-level address
library table and a
physical address library table are created according to an actual address,
longitude and
latitude position information of a user is obtained based on a
mobile device or a PC terminal positioning function, and finally the five-level address
library table and the
physical address library table are read and screened according to the
user information. According to the method, the distance between the website and the user is obtained through the screened
table information and the
user information according to an
algorithm, the website name and the distance are provided for the user, and therefore efficient and
dynamic screening of the physical website is achieved, calculation is conducted through a Haversine
algorithm function, real-time and rapid calculation of the distance in the middle section is ensured, and the real-time
dynamic screening of the physical website is achieved. The method can meet the working requirements of batch screening calculation and mobile calculation scenes, supports the coverage of the whole business scene, and improves the universality.