To more accurately predict the trajectory or navigation trend of the ship,further enhance maritime traffic safety,and improve the level of maritime safe navigation,a prediction model was presented based on a sliding window bidirectional conv-olutional long short-term memory neural network(SW-BiConvLSTM).The model used a sliding window to extract pre-processed AIS data,input the extracted data into the bidirectional convolutional long short-term memory neural network,and output it through the sliding window to finally predict the ship's future trajectory.The prediction results of this model were compared with that of LSTM,GRU,and ConvLSTM models in three scenarios:straight sailing,turning,and continuous turning,showing that compared with the comparison model,this model performs better in single-and multi-step experiments.