The growing demand for international maritime trade has prompted ships and ports to rapidly develop towards the direction of intelligence,high-speed and low-carbon.However,the safety of the very large ships transporting goods entering and leaving the port and berthing has become an urgent concern.Based on the research of ship entering and leaving port,a port berthing system based on multi-sensor fusion of RTK technology and 5G technology was proposed.The system accurately positions ships and port berthing nodes through RTK,synchronizes the relative position information of ships and docking points in real time through 5G,and provides accurate pilotage for the berthing process of ships entering and leaving ports,which plays an important role in providing integrated management of ships entering and leaving ports and improving the efficiency and safety factor of berthing operations.