发明授权
- 专利标题: Hybrid longest prefix match and fixed match searches
- 专利标题(中): 混合最长前缀匹配和固定匹配搜索
-
申请号: US09723717申请日: 2000-11-28
-
公开(公告)号: US06792423B1公开(公告)日: 2004-09-14
- 发明人: Clark Debs Jeffries , Anthony Matteo Gallo , Natarajan Vaidhyanathan , Colin Beaton Verrilli
- 申请人: Clark Debs Jeffries , Anthony Matteo Gallo , Natarajan Vaidhyanathan , Colin Beaton Verrilli
- 主分类号: G06T1730
- IPC分类号: G06T1730
摘要:
A method and system for finding a longest matching prefix for an input keyword from among multiple prefixes. The prefixes are data strings of varying lengths wherein prefixes of length n or greater are probabilistically a longest prefix match. The method of the present invention begins by mapping the prefixes of length greater than or equal to n1, that is, in the interval [n1, L], into a first lookup system. Remaining prefixes of length less than n1 but greater than or equal to n2, that is, in the interval [n2, n1−1], are mapped into a second index utilizing a second hash function, wherein n2 is less than n1. Further lookup systems on prefixes having lengths in the intervals [n3, n2−1], [n4, n3−1], and so on, may also be utilized, as determined by optimization studies and the statistics of routing tables.
信息查询