发明申请
US20050144553A1 Longest prefix match (LPM) algorithm implementation for a network processor
失效
用于网络处理器的最长前缀匹配(LPM)算法实现
- 专利标题: Longest prefix match (LPM) algorithm implementation for a network processor
- 专利标题(中): 用于网络处理器的最长前缀匹配(LPM)算法实现
-
申请号: US11045634申请日: 2005-01-28
-
公开(公告)号: US20050144553A1公开(公告)日: 2005-06-30
- 发明人: Brian Bass , Jean Calvignac , Marco Heddes , Antonios Maragkos , Piyush Patel , Michael Siegel , Fabrice Verplanken
- 申请人: Brian Bass , Jean Calvignac , Marco Heddes , Antonios Maragkos , Piyush Patel , Michael Siegel , Fabrice Verplanken
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F17/30
- IPC分类号: G06F17/30 ; G06F17/00
摘要:
Novel data structures, methods and apparatus for finding the longest prefix match search when searching tables with variable length patterns or prefixes. To find the exact match or the best matching prefix, patterns have to be compared a bit at a time until the exact or first: match is found. This requires “n” number of comparisons or memory accesses to identify the closest matching pattern. The trees are built in such a way that the matching result is guaranteed to be a best match, whether it is an exact match or a longest prefix match. Using the trail of all the birds and associated prefix lengths enables determination of the correct prefix result from the trail. By construction, the search tree provides the best matching prefix at or after the first compare during walking of the trail or tree.
公开/授权文献
信息查询