华南理工大学学报(自然科学版) ›› 2023, Vol. 51 ›› Issue (11): 1-9.doi: 10.12141/j.issn.1000-565X.220769

所属专题: 2023年电子、通信与自动控制

• 电子、通信与自动控制 • 上一篇    下一篇

TSN中基于链路负载均衡的AVB流量带宽分配方法

陆以勤 熊欣 王猛 覃健诚 潘伟锵   

  1. 华南理工大学 电子与信息学院,广东 广州 510640
  • 收稿日期:2022-11-22 出版日期:2023-11-25 发布日期:2023-04-11
  • 通信作者: 陆以勤(1968-),男,教授,博士生导师,主要从事时间敏感网络、网络安全研究。 E-mail:eeyqlu@scut.edu.cn
  • 作者简介:陆以勤(1968-),男,教授,博士生导师,主要从事时间敏感网络、网络安全研究。E-mail:eeyqlu@scut.edu.cn
  • 基金资助:
    国家重点研发计划项目(2020YFB1805302)

A Bandwidth Allocation Method of AVB Traffic Based on Link Load Balancing in TSN

LU Yiqin XIONG Xin WANG Meng QIN Jiancheng PAN Weiqiang   

  1. School of Electronic and Information Engineering,South China University of Technology,Guangzhou 510640,Guangdong,China
  • Received:2022-11-22 Online:2023-11-25 Published:2023-04-11
  • Contact: 陆以勤(1968-),男,教授,博士生导师,主要从事时间敏感网络、网络安全研究。 E-mail:eeyqlu@scut.edu.cn
  • About author:陆以勤(1968-),男,教授,博士生导师,主要从事时间敏感网络、网络安全研究。E-mail:eeyqlu@scut.edu.cn
  • Supported by:
    the National Key R&D Program of China(2020YFB1805302)

摘要:

时间敏感网络(TSN)作为新一代以太网技术,因其能够保障时间敏感流量的低延迟和低抖动传输而在工业控制、车载网等领域发挥着越来越重要的作用。基于信用的整形(CBS)技术作为TSN关键整形技术之一,通过预留带宽保障了音视频桥接(AVB)流量的确定性传输。现有基于网络演算的带宽分配方法基本上未考虑路由对AVB流量可调度性的影响,并且在网络规模较大时带宽分配结果差且求解时间长,因此,文中提出了一种基于链路负载均衡的AVB流量带宽分配方法:首先采用链路负载均衡的路由算法为每一条AVB流量计算最优路径;然后基于流量路径和网络演算分析了各交换机出端口流量的到达曲线和服务曲线,从而获得各端口流量的最坏转发时延;最后建立了带宽分配的优化目标及约束,采用启发式算法对带宽分配进行求解,并在求解过程中对带宽参数配置进行了优化。实验结果表明,与现有基于网络演算的带宽分配方法相比,基于链路负载均衡的AVB流量带宽分配方法可以使AVB流量的可调度性提升15~45个百分点,优化参数配置可以使带宽求解速度提升1倍以上且得到更优的带宽分配结果,能够很好地应对大规模动态变化的TSN网络。

关键词: 时间敏感网络, 基于信用的整形, 网络演算, 负载均衡路由, 带宽分配

Abstract:

As a new generation technology of Ethernet, time sensitive networking (TSN) plays an increasingly important role in industrial control, vehicle network and other fields, as it guarantees low-delay and low-jitter transmission of time sensitive traffic. As one of the key shaping technologies of TSN, credit-based shaping (CBS) guarantees the deterministic transmission of audio video bridging (AVB) traffic by reserving bandwidth. The existing bandwidth allocation methods based on network calculus mostly do not consider the impact of routing on the schedulability of AVB traffic, and the bandwidth allocation results are poor and the solution time is long when the network is in a large scale. Therefore, this paper proposed a bandwidth allocation method based on link load balancing. Firstly, the link load balancing routing algorithm was used to calculate the optimal path for each AVB traffic. Then, based on the flow path and network calculus, the arrival and service curves of each switch’s outbound port traffic were analyzed to obtain the worst-case forwarding delay. Finally, the optimization objectives and constraints for bandwidth allocation were established, a heuristic algorithm was used to solve bandwidth allocation, and the bandwidth parameter configuration was optimized during the solving process. The experimental results show that the AVB traffic bandwidth allocation method based on link load balancing can improve the schedulability of AVB traffic by 15 to 45 percentage points, compared with existing bandwidth allocation methods. Optimizing parameter configuration can increase the bandwidth solving speed by more than twice and obtain better bandwidth allocation results, which can effectively cope with large-scale dynamic changes in TSN networks.

Key words: time-sensitive networking, credit-based shaping, network calculus, load balance routing, bandwidth allocation

中图分类号: