| Time-sensitive networking is a key technology in the development of Ethernet.It provides reliable guarantee for network data stream transmission through clock synchronization,resource reservation and allocation,traffic shaping and scheduling at the network data link layer.The clock synchronization technology is the basis of other functions of the time-sensitive network.Clock synchronization is the synchronization of the local time of distributed network equipments.In Ethernet,it is realized through the exchange of time information of each network node.Some early clock synchronization methods cannot meet the existing network requirements due to its disadvantages.The network clock synchronization protocol in time-sensitive network has been improved on the original basis,but it still cannot solve some clock synchronization problems of the network,especially in terms of the reliability of the network clock synchronization,it is difficult to meet the network requirements.For the problem that the clock synchronization reliability is difficult to meet the requirements,this paper proposes a lightweight method to improve the reliability of network clock synchronization,that is,a link failure response method based on port redundancy.After theoretical analysis and network simulation tests,it is proved that this method can effectively deal with Most of the link failures in the network make it almost completely unaffected by the normal clock synchronization,and the application of this method has little impact on the existing protocol system,and can be applied more conveniently.The network problems that can be solved by the port redundancy-based link failure response method are relatively limited to the link failure problem in the network.Therefore,the dynamic master clock selection method of the network needs to be used.This method can better deal with various network problems by introducing the management system of the Software-Defined Networking.Through experimental tests,this method can effectively improve the local clock synchronization accuracy of the network,so that the clock deviation between network nodes with more interactions is smaller.In our test network,the overall clock synchronization accuracy of the network and the local clock synchronization accuracy is improved.The designed network failure scenarios are effectively dealt with by the network without affecting the clock synchronization. |