Method and apparatus to assemble data segments into full packets for efficient packet-based classification
    4.
    发明授权
    Method and apparatus to assemble data segments into full packets for efficient packet-based classification 有权
    将数据段组合成完整分组的方法和装置,用于有效的基于分组的分类

    公开(公告)号:US07313140B2

    公开(公告)日:2007-12-25

    申请号:US10188087

    申请日:2002-07-03

    IPC分类号: H04L12/28

    摘要: A method may be used for assembling received data segments into full packets in an initial processing stage in a processor. The method may include receiving a plurality of data segments from a packet and determining a first storage location for each of the plurality of data segments. The method may further include storing each of the plurality of data segments in its determined first storage location and determining a second storage location for each of the plurality of data segments, the second storage locations being logically ordered to represent the order the data segments originally occurred in the packet. The method may also include storing each of the plurality of data segments in its determined second storage location to re-assemble the packet and releasing the first storage location associated with each data segment after storing the data segment in its determined second storage location. The method may additionally include, upon the storing of an end of packet data segment from the packet in its determined second storage location, passing control of the plurality of related data segments to a next processing stage in the processor.

    摘要翻译: 可以在处理器的初始处理阶段中使用一种方法将接收的数据段组装成全分组。 该方法可以包括从分组接收多个数据段并且确定多个数据段中的每一个的第一存储位置。 该方法还可以包括将多个数据段中的每一个存储在其确定的第一存储位置中,并且为多个数据段中的每一个确定第二存储位置,第二存储位置被逻辑地排序以表示数据段最初发生的顺序 在包中。 该方法还可以包括将多个数据段中的每一个存储在其确定的第二存储位置中以在将数据段存储在其确定的第二存储位置之后重新组合分组并释放与每个数据段相关联的第一存储位置。 该方法可以另外包括在从分组在其确定的第二存储位置中存储分组数据段的结束时,将多个相关数据段的控制传递到处理器中的下一个处理阶段。