发明名称 ROUTING TABLE ESTABLISHMENT METHOD AND DEVICE AND ROUTING TABLE LOOKUP METHOD AND DEVICE
摘要 The embodiments of the present invention relate to a routing table establishment method and device and a routing table lookup, method and device. The routing table establishment method includes: partitioning a data structure of a routing table into a trunk and a TRIE sub-tree (101); adding entries of the routing table to the TRIE sub-tree (102); and storing an upgrade sub-node of the TRIE sub-tree's root in the trunk, where the height of the TRIE sub-tree is smaller than or equal to a set height threshold (103), and the upgrade sub-node of the TRIE sub-tree's root is a sub-root among prefix sub-nodes included in the TRIE sub-tree's root. Thereby ensuring the high compression ratio of the routing table; and the height of the TRIE sub-tree is controlled according to the height threshold, thereby reducing times for accessing a memory, improving lookup speed, and reducing lookup delay.
申请公布号 US2013034096(A1) 申请公布日期 2013.02.07
申请号 US201213649633 申请日期 2012.10.11
申请人 HUAWEI TECHNOLOGIES CO., LTD.;HUAWEI TECHNOLOGIES CO., LTD. 发明人 HU RUI;CHEN HONGFEI;GONG JUN;ZHAI SUPING;WANG XIAOZHONG;ZHAO HEXUAN
分类号 H04L12/44 主分类号 H04L12/44
代理机构 代理人
主权项
地址