Claims
- 1. A method for a policy engine to organize policy rules in a way to effect an efficient evaluation of a protocol event, said protocol event having an agent descriptor, a protocol name, and a protocol action, said method comprising:
providing a first associative array having a first key and a first value, wherein said first key corresponds to said agent descriptor and said first value is a reference to a second associative array having a second key and a second value; providing said second associative array, wherein said second key corresponds to said protocol name and said second value is a reference to a third associative array having a third key and a third value; providing said third associative array, wherein said third key corresponds to said protocol action and said third value is a reference to a fourth associative array having a fourth key and a fourth value; and providing said fourth associative array, wherein said fourth key corresponds to any of said rules and said fourth value is a rank number associated with said any rule.
- 2. The method of claim 1, further comprising ordering said rules in decreasing order of rank number.
- 3. The method of claim 2, further comprising incorporating constraints into said ordering.
- 4. The method of claim 2, further comprising ordering in lexical order rules having a same rank number.
- 5. The method of claim 1, wherein said any rule is referenced by a plurality of said fourth associative arrays.
- 6. The method of claim 1, wherein said rank number of said any rule is a relative value dependent on other rank numbers in said fourth associative array.
- 7. An apparatus for a policy engine to organize policy rules in a way to effect an efficient evaluation of a protocol event, said protocol event having an agent descriptor, a protocol name, and a protocol action, said apparatus comprising:
means for providing a first associative array having a first key and a first value, wherein said first key corresponds to said agent descriptor and said first value is a reference to a second associative array having a second key and a second value; means for providing said second associative array, wherein said second key corresponds to said protocol name and said second value is a reference to a third associative array having a third key and a third value; means for providing said third associative array, wherein said third key corresponds to said protocol action and said third value is a reference to a fourth associative array having a fourth key and a fourth value; and means for providing said fourth associative array, wherein said fourth key corresponds to any of said rules and said fourth value is a rank number associated with said any rule.
- 8. The apparatus of claim 7, further comprising means for ordering said rules in decreasing order of rank number.
- 9. The apparatus of claim 8, further comprising means for incorporating constraints into said ordering.
- 10. The apparatus of claim 8, further comprising means for ordering in lexical order rules having a same rank number.
- 11. The apparatus of claim 7, wherein said any rule is referenced by a plurality of said fourth associative arrays.
- 12. The apparatus of claim 7, wherein said rank number of said any rule is a relative value dependent on other rank numbers in said fourth associative array.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a Continuation-In-Part to U.S. Ser. No. 09/479,781 filed Jan. 7, 2000 (Attorney Docket No. KROL0003) and claims priority to U.S. Ser. No. 60/212,126 filed Jan. 16, 2000 (Attorney Docket No. SECU0001PR).
Provisional Applications (1)
|
Number |
Date |
Country |
|
60212126 |
Jun 2000 |
US |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09479781 |
Jan 2000 |
US |
Child |
09878093 |
Jun 2001 |
US |