The present invention provides a user-mode stack architecture
system supporting TSN protocol under Tianmai
operating system and its implementation method, the
protocol stack system includes an API module, a management module for deployment management of the
protocol stack, an FD module for socket management, a TSN scheduling module, a
data cache module, a packet receiving and sending module, a table entry management module and an OPS interface module. The user-mode
protocol stack architecture supporting TSN protocol under Tianmai
operating system proposed by the present invention greatly improves data forwarding performance by reducing memory
copying, and expands the support of TSN services to meet the differentiated QoS requirements of users, so as to better support the requirements of TSN services on the
software system side; at the same time, in order to maximize the efficiency of
resource utilization, the user-mode protocol stack and the kernel protocol stack share resources such as ARP table items and
routing table items, and complete the shaping and sending and receiving of TSN key data streams on the
software side through the TSN scheduling module, thereby reducing the
delay and
jitter on the
software side.