The invention belongs to the
spaceflight communication technology, and particularly relates to a fast routing lookup method applied to a spaceborne
router, which comprises the following steps: constructing a
heterogeneous network processing platform with a control surface and a data surface separated; generating a routing forwarding table on a control plane, and
processing the routing forwarding table by adopting a leaf-push
type conversion method to obtain an updated routing forwarding table; constructing a
perfect hash function by adopting a ZPHF
algorithm to obtain a hash mapping table; carrying out Bloom mapping by adopting a
perfect hash function to obtain a
Bloom filter mapping table; injecting the Hash mapping table and the
Bloom filter mapping table into a data surface; when a node initiates a routing lookup request, extracting a destination
IP address, querying a bit in the
Bloom filter mapping table, if the bit is 1, accessing the Hash mapping table for matching, if the matching is successful, completing routing lookup, and if the matching is unsuccessful, updating the destination
IP address and performing lookup again; according to the method, the considerable search speed can be guaranteed under the condition of relatively low storage consumption.