Ship path planning is crucial for the shipping industry, especially for the development of autonomous ships. Many algorithms have been developed over the last few decades to solve the ship path planning problem. However, it is still challenging for ship path planning in an inland waterway. In this paper, an improved RRT algorithm for ship path planning in complex inland waterways is proposed. The improved algorithm has a path shearing and smoothing module, and the function of keeping a safe distance between a moving ship and obstacles. In addition, the algorithm has been tested in two inland waterway scenarios, and the results have confirmed its feasibility and reliability. The path planning algorithm proposed in this research seeks to reduce the risks faced by ship navigation in inland water. It has theoretical and practical significance in improving navigation safety in complex inland waters.
As global economies continue to expand, maritime trade is projected to double by the year 2050. In this context, the development of a new generation of maritime intelligent supervision systems, which rely on precise information perception and machine learning-based technologies, is crucial for ensuring the safety of maritime navigation. Traditional methods for detecting abnormal ship behavior often suffer from inadequate feature extraction capabilities, leading to ineffective and inaccurate anomaly detection. To address this issue, this paper introduces a Transformer-GSA encoder detection model. This model enhances ship information data through BCE-GAN, extracts multi-layer convolutional features, and utilizes the Transformer-GSA module to capture the dependencies between trajectory features and time-series data, thereby effectively identifying abnormal ship behaviors. An evaluation conducted using AIS data from the Yantai-Qingdao route in January 2021 demonstrates that the model achieves an accuracy of 96.26%, with a reduced parameter count of 12.11M. These results confirm the model’s efficacy and superiority in detecting abnormal ship trajectories, contributing to the reduction of maritime accidents and illegal activities, alleviating the management burden on duty personnel, and enhancing the quality of intelligent ship traffic services and port operation efficiency under the maritime Internet of Things architecture.