Invention Application
- Patent Title: METHOD AND DEVICE FOR STORING ROUTING TABLE ENTRY
- Patent Title (中): 用于存储路由表入口的方法和设备
-
Application No.: US13629346Application Date: 2012-09-27
-
Publication No.: US20130024649A1Publication Date: 2013-01-24
- Inventor: Lingbo Guo , Jun Qian
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Main IPC: G06F12/10
- IPC: G06F12/10

Abstract:
The present invention discloses a method and a device for storing a routing table entry. The method includes: splitting a routing table entry into two points according to a range matching policy; obtaining a storage location of the routing table entry in a hierarchical binary tree; and adding each segment related to the routing table entry to the binary tree of each segment according to the storage location. According to the present invention, the routing table entry is stored in the hierarchical binary tree in segments, which significantly reduces the total amount of memory required to be occupied by storage of the routing table entry.
Information query