ISSN 1000-1239 CN 11-1777/TP

计算机研究与发展 ›› 2021, Vol. 58 ›› Issue (1): 153-163.doi: 10.7544/issn1000-1239.2021.20190784

• 网络技术 • 上一篇    下一篇

FlexTSN:一种灵活的TSN交换实现模型

杨翔瑞, 严锦立, 陈波, 彭锦涛, 李军帅, 全巍, 孙志刚   

  1. (国防科技大学计算机学院 长沙 410072) (yangxiangrui11@nudt.edu.cn)
  • 出版日期: 2021-01-01
  • 基金资助: 
    国家自然科学基金项目(61802417);之江实验室开放课题资助(2020LE0AB01)

FlexTSN: A Flexible TSN Switch Implementation Model

Yang Xiangrui, Yan Jinli, Chen Bo, Peng Jintao, Li Junshuai, Quan Wei, Sun Zhigang   

  1. (College of Computer Science and Technology, National University of Defense Technology, Changsha 410072)
  • Online: 2021-01-01
  • Supported by: 
    This work was supported by the National Natural Science Foundation of China (61802417) and the Open Project Funding of Zhejiang Lab (2020LE0AB01).

摘要: 时间敏感网络(time-sensitive networking, TSN)的核心是为标准以太网赋予关键流量的确定性转发服务,同时能够实现混合优先级业务流量的一体化传输,从而成为业界和学术界备受关注的新兴技术.相比于标准以太网交换,TSN交换通过引入高精度的时间同步特性提供门控机制和时间感知的分组调度等服务,使得以太网有能力提供确定性延迟的转发服务.目前,IEEE 802.1 TSN工作组从时间同步、流管理、流控制以及可靠性等方面对TSN的设计实现提供较为完善的标准.而现有的工作难以加快TSN技术的实现和应用,其难点在于目前缺少一种面向TSN的通用交换实现模型进行快速的原型系统搭建和关键技术的验证.为此提出一种灵活的TSN交换的实现模型FlexTSN.FlexTSN基于模块化与功能松耦合的思想,将TSN交换节点解耦为通用处理模块和时间感知模块,支持TSN交换机的快速重构.此外,FlexTSN通过扩展PTP同步协议提供一种轻量级高可靠的网络管理机制用于进行细粒度集中式的状态收集和配置.然后基于该模型在可编程的FPGA平台上实现了一种支持简化的循环队列转发模型(cyclical queuing and forwarding, CQF)的TSN原型系统.通过从资源开销和服务质量等方面进行测试评估,实验结果证明FlexTSN能够实现敏捷的原型系统组网及TSN关键技术的快速验证.

关键词: 现场可编程逻辑门阵列, 时间敏感网络, 模型与实现, 确定性转发, 同步

Abstract: TSN (time-sensitive networking) has gained increasing attention from both industry and academia because of its ability to enable deterministic switching and best effort switching in the same network. Compared with traditional Ethernet, TSN provides quite different mechanisms ranging from time synchronization, gate control mechanism, to time-aware scheduling. This enables the Ethernet to provide the packet forwarding service with deterministic delay. Currently, IEEE 802.1 TSN Group is working on over 17 standards and drafts about TSN. And academic researchers also put much effort into proposing novel mechanisms from frame preemption to flow scheduling. However, there are rare, if exist, general models that enable rapid prototyping of TSN system. And we find this is quite important for rapid design and validation of key technologies in TSN. In this paper, FlexTSN, a flexible TSN switch model with loose-coupling modular design for TSN evaluation, is proposed. The TSN switch pipeline is decoupled into general processing modules and time-aware modules for supporting the rapid building of TSN switches. Moreover, FlexTSN provides a light-weight high-reliable network management mechanism by extending the PTP synchronization protocol for fine-grained centralized network monitoring and configuration. Furthermore, a simplified CQF (cyclical queuing and forwarding) model is adapted based on the FlexTSN prototype. The evaluation result shows that FlexTSN can provide clear abstractions for re-design and rapid evaluation of novel mechanisms in TSN.

Key words: FPGA, time-sensitive networking (TSN), model and implementation, deterministic forwarding, synchronization

中图分类号: