A packet classification method through hierarchical rulebase partitioning.
The packet classification method for searching for a rule having a
highest priority and matching among a plurality of rules included in a
specified rulebase with respect to a packet input from an external
network and processing the packet according to the searched rule. The
method includes: a preprocessing step of partitioning the rulebase into a
plurality of independent sub-rulebases based on a specified condition and
producing a hash table on the basis of the sub-rulebases; and a
classification step of classifying the packet by searching the hash table
using a hash key extracted from a packet header of the inputted packet
and mapping the packet on the sub-rulebase corresponding to the packet.