发明名称 Packet classification
摘要 Methods and apparatus are provided for classifying data packets in a data processing device ( 1 ) according to a plurality of context-specific sets of processing rules based on context identifiers associated with respective data packets, each context identifier corresponding to a said context-specific rule set to be used for classification of the associated packet, wherein, for each of a predetermined group of data items in each packet, each rule defines a rule range indicating a range of possible values of the corresponding data item for which that rule applies. The method comprises: (a) for each data item in a subset of said group, providing a global search structure which is associated with all of said context identifiers, the global search structure comprising a set of range identifiers indicating, for all possible values of the data item, which of the rule ranges corresponding to that data item in said rule sets a value intersects; (b) for each remaining data item in said group, providing a plurality of local search structures, the local search structures for a said data item being associated with respective sets of the context identifiers such that the context identifier corresponding to each of said rule sets is associated with a said local search structure, wherein each local search structure for a data item comprises a set of range identifiers indicating, for all possible values of the data item, which of the rule ranges corresponding to that data item, in the rule set corresponding to each associated context identifier, a value intersects; (c) for each data packet, performing an item search for each data item in said group using the search structure for that data item which is associated with the context identifier for the data packet, the item search for a said data item comprising selecting the range identifier corresponding to the value of the data item from the set of range identifiers in said search structure; and (d) for each data packet, identifying, based on the selected range identifiers for all data items in the group, at least one rule of any rules applicable to the data packet in the rule set corresponding to the context identifier for the data packet.
申请公布号 US2005114337(A1) 申请公布日期 2005.05.26
申请号 US20040853380 申请日期 2004.05.25
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 LUNTEREN JAN V.
分类号 H04L12/56;H04L29/06;(IPC1-7):G06F7/00 主分类号 H04L12/56
代理机构 代理人
主权项
地址