Patent ID: 7392241

Claim:
A searching method for a Security Policy Database comprising: building a peer table, wherein the peer table includes fields of peer identification, address, prefix, and type; building a set of peer-based Security Policy Databases composed of a plurality of peer-based Security Policy Databases; searching the peer table to locate a Security Policy Database within the set of peer-based Security Policy Databases by comparing the set of peer-based Security Policy Databases with the field of address of the peer table so as to obtain a corresponding peer-based Security Policy Database; and searching the corresponding peer-based Security Policy Database so as to obtain a security policy; wherein the step of building a peer table further comprises the step of building data in the peer table according to a default peer gateway; the data comprises the peer identification, the address, the type and the prefix; and the peer identification is 0, the address is 0, and the prefix is 0.