基于两级表存储和查询传输层信息的IP分片处理方法技术

技术编号:6064226 阅读:539 留言:0更新日期:2012-04-11 18:40
本发明专利技术公开了一种基于两级表存储和查询传输层信息的IP分片处理方法,目的是为网络设备提供一种存储开销小、实现简单的IP分片处理方案,降低网络设备成本和复杂度。技术方案是先设计由分片报文解析模块、网络层传输层分片数据缓存区、控制模块、哈希模块、地址生成模块、两级表、超时维护模块组成的IP分片报文处理逻辑,两级表由初始分片信息表、冲突分片信息表组成,然后由IP分片报文处理逻辑对IP分片分为首片分片报文、其它分片(中间片或者尾片)报文、非分片报文进行处理,同时对两级表中存储的分片信息进行周期维护。采用本发明专利技术消耗的存储空间少,提高了分片信息存储和传输层信息查询的效率,特别适合基于FPGA等可编程器件实现逻辑处理的网络设备。

IP fragmentation processing method for storing and querying transmission layer information based on two level table

The invention discloses a slice processing method of two level table storage and query information transmission layer based on IP, the purpose is to provide a small amount of storage, the realization of a simple IP slice processing scheme for network equipment, reduce the cost and complexity of network equipment. The technical scheme is first designed by fragment message parsing module, network layer transport layer slice data buffer, control module, hash module, address generation module, two level table, timeout maintenance module IP partitioned message processing logic two level table by the initial patch information table, conflict slice information table then, by the IP fragment message processing logic of the IP chip is divided into the first slicing message, the other fragments (intermediate or tail piece) message, non - fragment message processing, and storage of two tables in the fragment information maintenance cycle. The invention has less storage space, improves the efficiency of information inquiry of the slice information storage and transmission layer, and is especially suitable for network devices realizing logical processing based on programmable devices such as FPGA.

【技术实现步骤摘要】

【技术保护点】
1.一种基于两级表存储和查询传输层信息的IP分片处理方法,其特征在于包括以下步骤:第一步,设计IP分片报文处理逻辑,IP分片报文处理逻辑与报文头缓存区、完整网络层传输层信息缓存区和系统控制逻辑相连,它从报文头缓存区取报文头数据,从报文头数据提取并存储完分片信息或者查询获得传输层信息后构造由网络层和传输层信息组成的分片处理结果,将分片处理结果写入完整网络层传输层信息缓存区;IP分片报文处理逻辑的参数包括尝试距离、尝试阈值、超时维护周期通过系统控制逻辑设置;IP分片报文处理逻辑由分片报文解析模块、网络层传输层分片数据缓存区、控制模块、哈希模块、地址生成模块、两级表、超时维护模块组成;分片报文解析模...

【技术特征摘要】

【专利技术属性】
技术研发人员:赵国鸿陆华彪苏金树陈一骄陈曙晖唐勇孙志刚崔向东毛席龙吕高锋李韬
申请(专利权)人:中国人民解放军国防科学技术大学
类型:发明
国别省市:43

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1