## 4 Algorithm Description
### The Network Operation Process
It also shows that a static configuration that considers the residual link lifetime has a better life. The following two simulation diagrams reflect the advantages of static configuration considering the residual link lifetime. Figure 5: Routing discovery overhead comparison of different locations. Figure 6: Packet delivery rate comparison of improved AODV and AODV. ### Packet Delivery Rate

Figure 9 shows that the packet delivery rates of transmission Services 1, 2, and 3 in the dynamic addressing hybrid routing mechanism algorithm based on the static configuration in this article are higher than those of traditional AODV routing algorithms. As the distance between the train location and the sink node increases, the gap between the two becomes larger because when the state of a link is not good, the traditional AODV protocol does not replace links and will continue to deteriorate until the link state is broken. However, the improved algorithm will dynamically monitor links and replace links when the link state is not good. Figure 8: Average residual link lifetime comparison of different speeds. Figure 7: Residual link lifetime comparison of different locations. Because Service 2 has high requirements for packet loss rate when calculating the link state weight to select a path, the path with the best packet loss rate is selected. Therefore, Figure 9 shows it has the highest packet delivery rate. Correspondingly, Service 3 pays more attention to delay and has low requirements for packet loss rate, so its packet delivery rate is relatively lower. Due to the same emphasis on delay and packet loss rate in Service 1, the packet delivery rate value in Service 1 is in the middle. The reason why the packet delivery rate of the algorithm in this article can increase is the diversity of the six schemes when updating the path, which ensures that different service types can correspond to the path that best matches the characteristics of the service type, highlighting the overall advantage of dynamic addressing. Overall, this article takes the convergence node as the destination node and sets it at the stations at both ends. The train travels from the starting station to the destination station. When the train travels in the first half of the journey, it will communicate with the destination node of the closer starting station, and the distance between the train and the destination node will increase; When the train travels in the second half of the journey, it will communicate with the destination node at the destination station, and the distance between the train and the destination node will decrease. Therefore, the packet delivery rate will first decrease and then increase as the distance between the source node and the destination node changes. Assuming that each node has 1000 packets of data to be sent within each operation cycle and the network runs 100 rounds, the packet loss rate is calculated by counting the number of data packets successfully received by the destination node when the train runs to a certain location. Figure 10 shows the change curve of packet loss rates for different rounds of nodes at a certain location, and Table 4 shows a comparison of the average packet loss rate. It can be seen that the AODV routing protocol has the highest packet loss rate. Figure 9: Packet delivery rate comparison of different locations. ### End-to-End Delay

Figure 11 shows the end-to-end delay. In this figure, due to the high requirements for packet loss rate in Service 2, the number of hops will increase in most cases due to the changed path. Data will be forwarded through multiple hops, so the queuing delay will significantly increase. Service 3 has a high requirement for the delay, as the changed path will reduce the number of forwarded hops in most cases, so the probability of the number of hops will not increase, or the overall number of hops will not increase significantly. Therefore, data will be forwarded through fewer hops, greatly reducing the queuing delay.