The invention provides a method for carrying out local linear interpolation and prediction based on real-time positioning trajectory data. The method comprises the following steps: 1, reading a pieceof real-time trajectory calculation data; 2, if the solution in the step 1 fails or interpolation prediction needs to be carried out and the number of historical solution data is more than 5, turningto the step 3, otherwise, turning to the step 8; 3, taking out six pieces of latest solved historical track solving data; 4, resolving data of the six historical tracks in the step 3, resolving a linear coefficient, and obtaining a coefficient matrix; 5, carrying out matrix multiplication by using the last five data of the six pieces of data extracted in the step 3 and the coefficient matrix obtained in the step 4 to predict the next coordinate; 6, optimizing the prediction data and the historical trajectory calculation data; 7, adding newly predicted data into a historical trajectory calculation data set after filtering; and 8, carrying out positioning data calculation of the next round, and turning to the step 1.