As the energy decarbonization continues to advance, hydrogen is gaining momentum. With the increasing demand for hydrogen and the lack of hydrogen infrastructure, it is urgent to solve the problem of hydrogen supply network layout planning. In order to reduce redundant construction of hydrogen supply network infrastructure and increase the rationality of its layout, this paper conducts research on the optimal layout planning of hydrogen supply network infrastructure in the transportation sector. By constructing a two-stage real-time scheduling model of hydrogen supply network, the unit cost composition of hydrogen supply network is more complete and accurate, and the location, technology type and quantity of each link of hydrogen supply network are obtained. The results show that the unit cost of China's hydrogen supply network is 27.8 CNY/kg in 2035 and 19.04 CNY/kg in 2050 under the baseline scenario. Compared with the results of existing literature, the two-stage real-time scheduling model can reduce by 7 % of the hydrogen energy supply network unit cost by decreasing the transportation vehicles and the investment capacity of fixed hydrogen storage equipment. The proposed method of the hydrogen supply network planning can provide policy-makers with the selection of sustainability pathways for dynamic hydrogen infrastructure development planning.