在配置有大规模虚拟链路(Virtual Link,VL)的AFDX网络中,仿真流量管制(Traffic Policing)机制的配置便捷性和运算高效性是需要考虑的。在OPNET仿真平台上设计包含预处理和后处理操作的AFDX网络仿真工具,在完整地模拟交换机内部流量管制机制的前提下保证了运行效率。通过对配置文件的预处理操作,该模型解决了一次性加载大规模VL配置数据的问题;考虑了多级交换拓扑结构下成组VL共享流量管制账户(Traffic Policing Account,TPA)的情况,在流量管制模块中实现了含有大规模VL的令牌漏桶算法。通过设计测试实验,验证了AFDX网络仿真模型处理大规模VL的能力,通过改变流量管制的参数以及对比使能和不使能流量管制功能情况下的仿真时间,证明了流量管制模块的有效性与高效性。
For Avionics Full Duplex Switched Ethernet( AFDX) networks with a large number of Virtual Links( VLs) ,the availability of configuration and the efficiency of simulation implementation should be taken into consideration,especially for traffic policing mechanism. The AFDX network simulation model that contains preprocessing and postprocessing operation is developed on the OPNET simulation platform. It can ensure the operating efficiency while completely simulating the internal traffic policing mechanism of the exchanger. By preprocessing the configuration file,the model solves the problem of disposable loading mass VL configuration data. A token leak bucket algorithm with large scale VL is implemented in the traffic control module. Through the designed experiment,it is proved that the AFDX network simulation model has the ability of processing large-scale VL,and the traffic control module has high effectiveness and efficiency.