The invention discloses a 
cell base station longitude and 
latitude data 
correction method based on a KNN (K Nearest Neighbor), which comprises the steps of: carrying out 
base station switching signaling cleaning conversion, carrying out cleaning, conversion and 
serialization on 
mobile phone signaling data, and constructing a 
mobile phone user 
base station switching sequence; calculating neighbor base 
station switching data; preprocessing the neighbor base 
station switching data; correcting a neighbor base 
station group; measuring and calculating a 
longitude and a 
latitude of a to-be-verified base station; and correcting the 
longitude and the 
latitude of the to-be-verified base station. By the method, automatic 
verification on a longitude and a latitude of a to-be-verified base station cellis implemented; meanwhile, by the method, the measured and calculated values of the longitude and the latitude of the to-be-verified base station 
cell can be output so as to facilitate carrying out manual correction on the base station 
cell with an longitude and latitude 
abnormality by network optimization personnel. The method adopts a 
big data processing technology; by regularly executing a background task, the base station cell with the longitude and latitude 
abnormality is regularly output; and the method provides a front-end base station cell application management function and is convenient for operation and maintenance personnel to carry out abnormal longitude and latitude base station query and abnormal longitude and latitude correction.