Multi-field classification dynamic rule updates
First Claim
1. A method for applying a plurality of rules organized into a first decision tree to data packets within a network computer system, comprising the steps of:
- (a) deleting one of the plurality of filter rules or adding a new rule;
(b) if deleting one filter rule in step (a), then providing an incremental delete of the one filter rule from the first decision tree to a network data plane processor for application to network data packets;
(c) if adding a new rule in step (a), then;
(c1) determining a parameter responsive to the new rule addition;
(c2) comparing the parameter to a first threshold; and
(c3) responsive to the comparison of the parameter to the first threshold either;
(c3i) providing an incremental insertion of the one filter rule to the first decision tree to a network data plane processor;
or (c3ii)(1) rebuilding the plurality of rules and new rule into a second decision tree; and
(c3ii)(2) providing the second decision tree to the network data plane processor.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to a method and computer system device for applying a plurality of rules to data packets within a network computer system. A filter rule decision tree is updated by adding or deleting a rule. If deleting a filter rule then the decision tree is provided to a network data plane processor with an incremental delete of the filter rule. If adding a filter rule then either providing an incremental insertion of the filter rule to the decision tree or rebuilding the first decision tree into a second decision tree responsive to comparing a parameter to a threshold. In one embodiment the parameter and thresholds relate to depth values of the tree filter rule chained branches. In another the parameter and thresholds relate to a total count of rule additions since a building of the relevant tree.
-
Citations
19 Claims
-
1. A method for applying a plurality of rules organized into a first decision tree to data packets within a network computer system, comprising the steps of:
-
(a) deleting one of the plurality of filter rules or adding a new rule;
(b) if deleting one filter rule in step (a), then providing an incremental delete of the one filter rule from the first decision tree to a network data plane processor for application to network data packets;
(c) if adding a new rule in step (a), then;
(c1) determining a parameter responsive to the new rule addition;
(c2) comparing the parameter to a first threshold; and
(c3) responsive to the comparison of the parameter to the first threshold either;
(c3i) providing an incremental insertion of the one filter rule to the first decision tree to a network data plane processor;
or(c3ii)(1) rebuilding the plurality of rules and new rule into a second decision tree; and
(c3ii)(2) providing the second decision tree to the network data plane processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system device in communication with a network computer system control point configured to apply a plurality of rules to data packets organized in a first decision tree, the device comprising:
-
a processor; and
a memory coupled to the processor, the memory containing one or more sequences of instructions for controlling a network device, wherein execution of the one or more sequences of instructions by the processor causes the processor to perform the steps of;
(a) deleting one of the plurality of filter rules or adding a new rule;
(b) if deleting one filter rule in step (a), then providing an incremental delete of the one filter rule from the first decision tree to a network data plane processor for application to network data packets;
(c) if adding a new rule in step (a), then;
(c2) determining a parameter responsive to the new rule addition;
(c2) comparing the parameter to a first threshold; and
(c3) responsive to the comparison of the parameter to the first threshold either;
(c3i) providing an incremental insertion of the one filter rule to the first decision tree to a network data plane processor;
or(c3ii)(1) rebuilding the plurality of rules and new rule into a second decision tree; and
(c3ii)(2) providing the second decision tree to the network data plane processor. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An article of manufacture comprising a computer usable medium having a computer readable program embodied in said medium, wherein the computer readable program, when executed on a computer within a network computer system, causes the computer to:
-
(a) delete one of the plurality of filter rules organized into a first decision tree or adding a new rule to the plurality of rules;
(b) if deleting one filter rule in step (a), then provide an incremental delete of the one filter rule from the first decision tree to a network data plane processor for application to network data packets;
(c) if adding a new rule in step (a), then;
(c1) determine a parameter responsive to the new rule addition;
(c2) compare the parameter to a first threshold; and
(c3) responsive to the comparison of the parameter to the first threshold either;
(c3i) provide an incremental insertion of the one filter rule to the first decision tree to a network data plane processor;
or(c3ii)(1) rebuild the plurality of rules and new rule into a second decision tree;
(c3ii)(2) provide the second decision tree to the network data plane processor; and
(c3ii)(3) update the first threshold to a second threshold responsive to the second decision tree. - View Dependent Claims (18, 19)
-
Specification