METHOD AND SYSTEM FOR EFFICIENT PARTITIONING AND CONSTRUCTION OF GRAPHS FOR SCALABLE HIGH-PERFORMANCE LONGEST PREFIX MATCHING

    公开(公告)号:US20240354305A1

    公开(公告)日:2024-10-24

    申请号:US18751034

    申请日:2024-06-21

    CPC classification number: G06F16/24558 G06F16/2228

    Abstract: Methods, apparatus, and systems for efficient partitioning and construction of graphs for scalable high-performance search applications. In one aspect a graph-based method for performing a longest prefix match (LPM) is disclosed. A plurality of ternary keys and created or accessed, each representing an Internet Protocol (IP) mask and having a length w and a number of specific bits comprising a prefix length followed by one or more wildcards. The ternary keys are partitioned into subsets as a function of the prefix lengths of the ternary keys. For each subset, a graph is constructed, and the graph is stored in memory. The graphs are searched for a match for an IP address. A result associated with the graph associated with the subset of prefixed with the longest prefix length is returned. Associated apparatus and systems for implementing the methods are also disclosed. In some embodiments, a graph memory engine (GME) is used.

Patent Agency Ranking