The invention relates to an input buffer structure and data forwarding method of an Ethernet switch, which belongs to the technical field of computer network communication. The cache structure of the invention includes different storage areas based on the type of data frame. The storage areas of each type of data frame include the address storage module, the data storage module and the checkout storage module. The data storage module is used to store the data frames in the forwarding port query according to the destination address of the address storage module. The content of the data. When searching the corresponding forwarding port corresponding to the destination address, the data of the corresponding frame is cached to the corresponding data storage module. The data storage time of the data frame is fully utilized, and the data in the received data frame is processed in parallel with the forwarding port of the destination address, which reduces the lookup time and shortens the data frame in the exchange. The forwarding time in the machine improves the efficiency and meets the requirement of time triggered Ethernet switch for delay.
【技术实现步骤摘要】
一种以太网交换机的输入缓存结构及数据转发方法
本专利技术涉及一种以太网交换机的输入缓存结构及数据转发方法,属于计算机网络通信
技术介绍
时间触发以太网是国际上最新的一项基于以太网的新型总线技术,它具备最高等级的安全性、可靠性及确定性网络。该总线技术兼容了时间触发协议和以太网技术的优势,能够在同一个网络平台上兼容普通网络数据流、AFDX(航空电子全双工交换式以太网)数据流和时间触发以太网网络数据流,具备更高的安全性和强有力的容错机制。时间触发以太网TTE交换机能够兼容普通以太网交换机,并且还能够交换转发PCF帧、TT帧、RC帧。由于PCF帧、TT帧、RC帧对于时间延迟敏感,所以如果交换机的交换延迟太大,则这些帧有可能发送失败。所以与TTE终端相对应,需要组成时间触发以太网,则需要配套的TTE交换机。而TTE交换机的交换延迟是其一个重要的指标,目前对TTE交换机的交换延迟一般是采用,例如申请号为CN201710119646.5的专利申请文件,该文件公开了一种时间触发网络中数据包的转发方法,该方法根据网络的业务量和拓扑结构计算时间路由转发表并配置到交换机中,数据包到达时,根据数据包中的特征字段的HASH运算结果查询时间路由转发表得到该数据包允许到达时隙和其输出端口,比较数据到达时隙和允许到达时隙,如果两个时隙相同,则转发,否则丢弃。该方法虽然能够在一定程度上降低数据包的转发延迟,但是该方法实现复杂,需要得到时间路由转发表。
技术实现思路
本专利技术的目的是提供一种以太网交换机输入缓存结构,以解决目前时间触发以太网中的交换延迟问题;同时,本专利技术还提供了一 ...
【技术保护点】
1.一种以太网交换机的输入缓存结构,其特征在于,该缓存结构包括根据数据帧类型划分的不同存储区域,各数据帧类型的存储区域均包括地址存储模块、数据存储模块和校验存储模块,所述地址存储模块用于存储待转发数据帧的目的地址,所述数据存储模块用于在根据地址存储模块中的目的地址进行转发端口查询时存储数据帧的数据内容,所述的校验存储模块用于存储校验值。
【技术特征摘要】
1.一种以太网交换机的输入缓存结构,其特征在于,该缓存结构包括根据数据帧类型划分的不同存储区域,各数据帧类型的存储区域均包括地址存储模块、数据存储模块和校验存储模块,所述地址存储模块用于存储待转发数据帧的目的地址,所述数据存储模块用于在根据地址存储模块中的目的地址进行转发端口查询时存储数据帧的数据内容,所述的校验存储模块用于存储校验值。2.根据权利要求1所述的以太网交换机的输入缓存结构,其特征在于,在将数据帧中的数据全部存入数据帧缓存模块时,计算该数据的校验值。3.根据权利要求2所述的以太网交换机的输入缓存结构,其特征在于,所述的校验存储模块存储的校验值为计算得到的校验值与数据帧中携带的校验值的比较结果。4.根据权利要求1-3中任一项所述的以太网交换机的输入缓存结构,其特征在于,所述的地址存储模块、数据存储模块和校验存储模块均采用缓存FIFO。5.根据权利要求1-3中任一项所述的以太网交换机的输入缓存结构,其特征在于,所述的数据帧包括PCF帧、TT帧、RC帧和或以太网帧。6.根据权利要求2所述的以太网交换机的输...
【专利技术属性】
技术研发人员:陈水忠,卢建政,
申请(专利权)人:中国航空工业集团公司洛阳电光设备研究所,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。