摘要 |
A computer-based filtering method driven by a ruleset for positive and negative filtering with flexible comparison operations. Method first creates a ruleset as an ordered collection of rules which has a single ruleset default action. Each rule has a rule action, a comparison operation and at least one comparison data element. Filtering of an object from the ruleset result set is performed with the comparison operation on the object and the comparison data from the ruleset. Filtering step invokes each rule from the ruleset to compare the object with each comparison data element to determine whether or not the object is to be included or excluded from the result set. Filtering stops after the first matching rule is found and then the rule action is taken, or after invoking all rules without finding the matching rule and then the ruleset default action is taken.
|