发明授权
- 专利标题: Method and apparatus for mapping prefixes and values of a hierarchical space to other representations
- 专利标题(中): 将分层空间的前缀和值映射到其他表示的方法和装置
-
申请号: US10042847申请日: 2002-01-08
-
公开(公告)号: US06970971B1公开(公告)日: 2005-11-29
- 发明人: Priyank Ramesh Warkhede , Stewart Frederick Bryant
- 申请人: Priyank Ramesh Warkhede , Stewart Frederick Bryant
- 申请人地址: US CA San Jose
- 专利权人: Cisco Technology, Inc.
- 当前专利权人: Cisco Technology, Inc.
- 当前专利权人地址: US CA San Jose
- 代理机构: The Law Office of Kirk D. Williams
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; H04L12/56
摘要:
Methods and apparatus are disclosed for mapping prefixes and/or values of a hierarchical space to other representations while maintaining the original hierarchy, which may be especially useful in conjunction with associative memories, such as binary and ternary content-addressable memories. In one implementation, a set of prefixes associated with a hierarchical space is received. A new representation of the set of prefixes is developed, such as by using a trie representation, with the new representation maintaining the original hierarchical relationship. This new representation may be an optimized representation selected to reduce or minimize the depth of the trie or some other cost. A set of new prefixes are generated along with a set of lookup values. During processing, a value, such as that included in a packet, is converted to one of the lookup values, which is used to generate a lookup word for use in matching against the new prefixes.
信息查询