MULTI-RULE APPROACH TO ENCODING A GROUP OF RULES
First Claim
1. A method for encoding one or more key matching rules grouped in a chunk, the method comprising:
- in a rule encoding engine, communicatively coupled to memory and provided with a chunk of key matching rules, building a multi-rule corresponding to the chunk comprising;
storing in the memory a multi-rule header of the multi-rule, the multi-rule header representing headers of the key matching rules.
6 Assignments
0 Petitions
Accused Products
Abstract
A multi-rule approach for encoding rules grouped in a rule chunk is provided. The approach includes a multi-rule with a multi-rule header representing headers of the rules and, in some cases, dimensional data representing dimensional data of the rules. The approach further includes disabling dimension matching of always matching dimensions, responding to an always match rule with a match response without matching, interleaving minimum/maximum values in a range field, interleaving value/mask values in a mask field, and for a given rule of rule chunk, encoding a priority field at the end of dimension data stored for the rule in the multi-rule. Advantageously, this approach provides efficient storage of rules and enables the efficient comparison of rules to keys.
38 Citations
15 Claims
-
1. A method for encoding one or more key matching rules grouped in a chunk, the method comprising:
-
in a rule encoding engine, communicatively coupled to memory and provided with a chunk of key matching rules, building a multi-rule corresponding to the chunk comprising; storing in the memory a multi-rule header of the multi-rule, the multi-rule header representing headers of the key matching rules. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system for encoding one or more key matching rules grouped in a chunk, the system comprising:
-
a memory; at least one interface for receiving a chunk of key matching rules; a rule encoding engine communicatively coupled to the memory and the at least one interface, the rule encoding engine configured to build a multi-rule corresponding to the chunk by; storing in the memory a multi-rule header of the multi-rule, the multi-rule header representing headers of the key matching rules.
-
-
15. A tangible non-transitory computer-readable storage medium having computer readable instructions stored therein for encoding one or more key matching rules grouped in a chunk, which when executed by a rule encoding engine, provided with a chunk in which each key matching rule of the chunk has at least one dimension, cause the rule encoding engine to build a multi-rule corresponding to the chunk by:
storing in memory, communicatively coupled to the rule encoding engine, a multi-rule header of the multi-rule, the multi-rule header representing headers of the key matching rules.
Specification