In order to reduce the total staying time of ships and improve the operational efficiency of bulk cargo terminals,a ship staying trajectory planning method based on time series optimization estimation algorithm was proposed.By introducing time series analysis methods,a ship staying time prediction model was constructed.On this basis,with the aim of minimizing the total staying time of the ship,the objective function for ship staying trajectory planning was constructed,and the constraint conditions were determined.Genetic algorithm was selected to solve the objective function,and through its iterative optimization process,the optimal ship staying trajectory planning scheme was obtained,so as to realize the effective planning of ship staying trajectory.The experimental results show that the minimum number of iterations for solving the ship staying trajectory planning model obtained by the proposed method is 7,and the total staying time of the ship is reduced to 28 minutes.The above results indicate that the ship staying trajectory planning of this method is reasonable and improves the operational efficiency of bulk cargo terminals.