Time Sensitive Network(TSN)as a new type of Ethernet protocol standard,solves the problem of deterministic transmission in industrial networks very well,however,most of TSN are still in theoretical research at present.To accelerate the development of the industry internet,a practical TSN network system is urgently needed.This thesis studies the time slots allocation of gate control list(GCL)based on the IEEE802.1Qbv Time Aware Shaper(TAS)in actual TSN system.In order to realize flexible network deployment,and in response to the current 5G Ultra Reliable & Low Latency Communication(URLLC)scenario,we firstly study the combination of the current R15 version 5G system and TSN,then study the time-sensitive scheduling mechanism and 5G-TSN clock synchronization of the 5G system.The main contributions are as follows:First of all,in the scenario of single-hop network node TSN networking,this thesis designs a Traffic Matching based on MAC address and VLAN algorithm,which can statically tag and identify traffic and assign priority queues.Besides,we design three schemes for GCL time slot allocation,namely Number of Single Window and Fixed Window Size,Number of Single Window and Adaptive Window Size,and Adaptive Window Number and Fixed Window Size.Further,the thesis establishes a corresponding mathematical model for the scenario of multi-hop network node TSN networking,and proposes a clock synchronization scheme and a Multi-Hop Adaptive Window Number and Fixed Window Size GCL time slot allocation algorithm that optimizes end-to-end delay.Finally,a TSN physical system is built to deploy the above scheme,and the performance of the above algorithm in terms of end-to-end delay and delay jitter for streams is tested through experiments in single-hop and multi-hop scenarios.Secondly,we apply 5G to TSN scenarios,and design a 5G-TSN system.This thesis proposes a resource allocation algorithm of RB Isolation based on Downlink Local Offload(RBIDLO),which is further divided into user-level and service-level in terms of offload granularity.The algorithm principle is that when the base station allocates resource blocks(RBs)to users,RBs can be reserved in advance according to user or traffic priority,so as to achieve the prior traffic transmission isolation.Finally,a 5G-TSN physical system is built to test the RBIDLO algorithm.The experimental test results show that compared with the 5G system without time-sensitive scheduling mechanism,this algorithm can realize the timely transmission of TSN streams,and the end-to-end transmission latency and latency fluctuations have been reduced by 18% and 30% respectively.Finally,this thesis considers the impact of the clock synchronization accuracy of the5G-TSN system.To make the 5G and TSN systems share the same clock source to reduce the deviation between the clocks and improve the clock synchronization accuracy,this thesis designs a clock synchronization scheme under Terminal Clock Restoration based on System Information Block 9(SIB9)transmission.The SIB9 carries clock information,and after received by the terminal,the clock information will be restored to synchronize the connected TSN system.Finally,the specific implementation steps,and test plan for synchronizing the5G-TSN system using the scheme are given in this thesis. |