The purpose is to improve the ship scheduling capability of the Maritime Silk Road transportation network and advance the international digital trade capabilities along China’s Maritime Silk Road. The optimization process of ship network scheduling based on a simulated annealing- (SA-) improved genetic algorithm (GA) is studied. Then, according to the time-varying stochastic frontier gravity model, the potential of international digital trade between China and the countries on the western route of the Maritime Silk Road is analyzed. The model is simulated and verified. The results reveal that the improved GA has obvious advantages over other algorithms in the message delivery rate of the high-speed and low-speed TT Controller Area Network (TTCAN) protocol for ship control. Regardless of the external environment and the number of message nodes, the message delivery rate is above 95%, showing a high delivery rate and the best network scheduling effect. The total volume and proportion of trade between China and the countries along the western route of the Maritime Silk Road can represent a good growth trend over time, and the proportion of digital trade exports has increased from 9.75% in 2009 to 45.12% in 2020. China has great potential for the development of the countries along the Silk Road as a whole. The main contribution of the research is to construct the ship network scheduling optimization process of the GA improved by the SA and use the time-varying stochastic frontier gravity model to study the digital trade potential between China and the countries along the Maritime Silk Road. The data information management system for network dispatching of marine ships has been improved, and the optimal dispatching efficiency has been enhanced.