Industrial networks,the most fundamental and important part of the Industrial Internet,must be able to transmit data deterministically.This has led to the emergence of Time Sensitive Networking(TSN),which defines mechanisms to provide low latency,low jitter,and low packet loss for deterministic Ethernet.the IEEE 802.1CB standard is the primary solution for network reliability in TSN.It provides seamless redundancy for Ethernet networks through Frame Replication and Elimination(FRER).Current research on FRER is mostly simulation studies,with fewer implementations on physical switches,and most of the research focuses only on the implementation of FRER solutions,without involving the implementation of synergy with other TSN standards,which lacks the guarantee of real-time performance.Among the factors affecting network reliability,the impact of redundant path selection on reliable transmission has also rarely been considered.In this paper,we propose a mechanism to implement frame replication and elimination,which is designed in concert with a time-aware shaper,and combines route planning and gated scheduling algorithms to improve the fault prevention and fault recovery capabilities of the network,meeting the requirements of network reliability and determinism.The main work of this paper includes:(1)In this paper,a time-sensitive network reliability mechanism is designed and implemented.In the network system construction of the hardware environment,a centralized network architecture is adopted to separate the control plane from the data plane.In the data plane,a Linux operating system is installed in the switch and a commercial network card is assembled,which can classify and shape the service flow according to the configuration information issued by the controller,effectively reducing the network delay and guaranteeing the determinism of the service flow transmission;a frame replication and elimination mechanism is implemented,which enables the redundant transmission of data packets and provides reliability assurance.(2)The route planning and gated scheduling algorithms for time-sensitive flows are designed and implemented.Network parameters are determined according to network state information and service flow requirements,and a network model is constructed as the basis for the algorithms in this paper.In the route planning algorithm,the impact of resource allocation on link bandwidth resources is taken into account to plan reasonable redundant paths for time-sensitive flows while satisfying the delay requirements,under the premise of ensuring a low packet loss rate.In the gated scheduling algorithm,the scheduling problem is transformed into a constraint satisfaction problem,and the constraints are established according to the service flow requirements and solved to derive the switch gating configuration information.(3)In order to verify the feasibility and effectiveness of the time-sensitive network reliability mechanism based on frame replication and elimination,the time-sensitive network system architecture and the route planning algorithm and gated scheduling algorithm for time-sensitive flows are experimentally tested and verified.The experimental results of the functional modules of the time-sensitive network system show that the system can implement a complete frame replication and elimination mechanism and perform shaping of time-sensitive flows at the switch egress port,which can effectively reduce the packet loss rate of service flows and achieve low latency and high deterministic transmission.Testing and analysis of the route planning algorithm and the gated scheduling algorithm show that the algorithm has good planning and scheduling performance and can significantly improve the reliability performance of the network. |