发明名称 |
METHOD AND APPARATUS FOR SEARCHING FOR PACKET CLASSIFICATION RULE |
摘要 |
The present invention relates to the field of network communications. Provided are a method and an apparatus for searching for a packet classification rule. The method comprises the following steps: performing minimum-range classification of data packet classification rules in a rule set according to a domain, so as to obtain multiple minimum ranges; allocating an equivalent ID number for each minimum range, so as to obtain an equivalent rule general table formed by the equivalent ID numbers; classifying the domain to obtain multiple sub-domains; separately allocating an equivalent ID number for each sub-domain, so as to obtain an equivalent rule sub-table formed by the equivalent sub-ID numbers; obtaining an equivalent mapping table according to the equivalent rule general table and the equivalent rule sub-table; and searching for a data packet according to the equivalent mapping table, the equivalent rule sub-table and the equivalent rule general table. The problems are solved that a conventional method is only applicable to a scenario with a small-size rule set, the pre-processing speed is low and the memory demand is excessively great. |
申请公布号 |
WO2015043254(A1) |
申请公布日期 |
2015.04.02 |
申请号 |
WO2014CN80445 |
申请日期 |
2014.06.20 |
申请人 |
ZTE CORPORATION |
发明人 |
LI, YU;CHENG, CHEN;ZHANG, WEI;LIU, HENGQI;WANG, XIAOMING;CHEN, WEI |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|