Patent · US Active

Longest prefix match using binary search tree

US8880507B2 · kind B2 · utility

7Cited by
24References
34Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 27, 2010
Grant dateNov 4, 2014
Priority date
Expiry dateMay 31, 2031

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/9535
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Longest Prefix Match (LPM) is implemented using a binary tree based search algorithm. Masked entries are stored in a plurality of binary search engines, wherein each of the binary search engines stores masked entries of a corresponding mask length. A search value is applied to each of the binary search engines in parallel. The search value is masked within each of the binary search engines, thereby creating a plurality of masked search values, each having a masked length equal to the mask length of the corresponding binary search engine. Each of the masked search values is compared with the masked entries of the corresponding binary search engine. An LPM result is selected from the binary search engine that detects a match, and has the longest corresponding mask length. Alternately, each binary search engine stores masked entries of N mask lengths, and N consecutive comparisons are performed to identify the LPM.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.