Unmanned surface vehicles (USV) can use global navigation satellite systems (GNSS) and inertial navigation systems (INS) for combined positioning and navigation. However, buildings such as port facilities and bridges blocking GNSS signals will increase the error in the discriminator output in the GNSS vector tracking loop and reduce positioning accuracy. Meanwhile, due to the cumulative error in the inertial navigation system, the credibility of the navigation results when the signal is blocked is further reduced. In this regard, this study proposes a robust integrated navigation optimization method. Specifically, the RTS smoothing optimized Kalman filter is used to constrain the carrier phase error and code phase error output by the discriminator, which can dynamically adjust the gain of the vector tracking loop, thereby improving the signal tracking capability. Simultaneously, the prediction results of the gated recurrent unit (GRU) network optimized based on the attention mechanism are combined with the inertial navigation system to improve navigation accuracy. Furthermore, an adaptive Kalman filter is utilized as the integrated navigation filter. The actual path of the carrier refers to the navigation solution of the existing receiver. In the open environment, the proposed optimization method reduces horizontal positioning error and speed error by 44.7% and 37.1% respectively compared with existing methods. Simultaneously, it can effectively improve the robustness of positioning in signal obstruction environments. The proposed integrated navigation method provides new possibilities for optimizing USV navigation solutions.