Approximating the positions of vessels near underwater devices, such as unmanned underwater vehicles and autonomous underwater vehicles, is crucial for many underwater operations. However, long-term monitoring of vessel trajectories is challenging due to limitations in underwater communications, posing challenges for the execution of underwater exploration missions. Therefore, trajectory prediction based on AIS data is vital in the fusion of underwater detection information. However, traditional models for underwater vessel trajectory prediction typically work well for only small-scale and short-term predictions. In this paper, a novel deep learning method is proposed that leverages a look-back window to decompose the temporal and motion features of ship movement trajectories, enabling long-term vessel prediction in broader sea areas. This research introduces an innovative model structure that enables trajectory features to be simultaneously learned for a larger range of vessels and facilitates long-term prediction. Through this innovative model design, the proposed model can more accurately predict vessel trajectories, providing reliable and comprehensive forecasting results. Our proposed model outperforms the Nlinear model by a 16% improvement in short-term prediction accuracy and an approximately 8% improvement in long-term prediction accuracy. The model also outperforms the Patch model by 5% in accuracy. In summary, the proposed method can produce competitive predictions for the long-term future trajectory trends of ships in large-scale sea areas.