发明申请
US20060045088A1 Method of using Patricia tree and longest prefix match for policy-based route look-up
审中-公开
使用Patricia树和最长前缀匹配的方法用于基于策略的路由查找
- 专利标题: Method of using Patricia tree and longest prefix match for policy-based route look-up
- 专利标题(中): 使用Patricia树和最长前缀匹配的方法用于基于策略的路由查找
-
申请号: US10926741申请日: 2004-08-25
-
公开(公告)号: US20060045088A1公开(公告)日: 2006-03-02
- 发明人: Tuyen Nguyen
- 申请人: Tuyen Nguyen
- 申请人地址: US TX Irving 75039
- 专利权人: Nokia Inc.
- 当前专利权人: Nokia Inc.
- 当前专利权人地址: US TX Irving 75039
- 主分类号: H04L12/56
- IPC分类号: H04L12/56
摘要:
A method for using Patricia tree and longest prefix match for policy-based route look-up is described. Five route classes are determined based on a source address, a source address length, a destination address, a destination address length, and an ingress interface. Route classes are prioritized based on their content. A prefix for the first two route classes includes source and destination information. A prefix for the third and fourth route classes includes source information only. A prefix for the fifth route class includes destination information only. Four different route keys are constructed based on the route classes. The route keys are stored in a Patricia tree structure. For routing a data packet, a longest prefix match look-up is performed for a route key in descending priority order for the route classes.