Claims
- 1. A computer based method for comparing a dominant set of elements to a subordinate set of elements, comprising:retrieving an element from a subordinate set of elements derived from an electronic document and a corresponding element from a dominant set of elements stored in a computer memory; comparing the element from the subordinate set of elements and the corresponding element from the dominant set of elements to each other to determine a directional set comparison result; using the directional set comparison result to make a determination of a directional relationship between the subordinate set of elements and the dominant set of elements; and using the directional relationship to determine if the electronic document is downloadable to a host computer.
- 2. The method of claim 1, wherein the directional set comparison result is indicative of one of the following directional relationships between the dominant set of elements and the subordinate set of elements:EMPTY, wherein there are no elements in both the dominant set of elements and the subordinate set of elements; EQUAL, wherein the elements in the dominant set of elements are identical to the elements in the subordinate set of elements; SUBSET, wherein the dominant set of elements contains all of the elements in the subordinate set of elements, but there are some elements in the dominant set of elements that are not in the subordinate set of elements; SUPERSET, wherein the subordinate set of elements contains all of the elements in the dominant set of elements, but there are some elements in the subordinate set of elements that are not in the dominant set of elements; EMPTY SUBSET, wherein the subordinate set of elements does not have any elements and the dominant set of elements does have some elements; EMPTY SUPERSET, wherein the subordinate set of elements has some elements, but the dominant set of elements does not have any elements; DISJOINT, wherein the subordinate set of elements has some elements and the dominant set of elements has some elements but the subordinate set of elements and the dominant set of elements have no elements in common; and OVERLAP, wherein the subordinate set of elements has some elements and the dominant set of elements has some elements but the subordinate set of elements and the dominant set of elements have only some elements in common and each set contains at least one element that is not in the other set.
- 3. The method of claim 2, wherein the directional set comparison result is based on whether the subordinate set of elements is a subset of the dominant set of elements.
- 4. The method of claim 3, wherein the subordinate set of elements is a subset of the dominant set of elements when the directional set comparison result is indicative is of one of the following directional relationships between the dominant set of elements and the subordinate set of elements: SUBSET, EMPTY SUBSET, EMPTY and EQUAL.
- 5. The method of claim 2, wherein the directional set comparison result is based on whether the subordinate set of elements intersects the dominant set of elements directional set comparison result.
- 6. The method of claim 5, wherein the subordinate set of elements intersects with the dominant set of elements when the directional set comparison result is indicative of one of the following directional relationships between the dominant set of elements and the subordinate set of elements: OVERLAP, SUBSET, EQUAL, SUPERSET.
- 7. The method of claim 2, wherein the directional set comparison result is based on whether the subordinate set of elements is a superset of the dominant set of elements.
- 8. The method of claim 7, wherein the subordinate set of elements is a superset of the dominant set of elements when the directional set comparison result is indicative is of one of the following directional relationships between the dominant set of elements and the subordinate set of elements: SUPERSET, EMPTY SUPERSET, DISJOINT and OVERLAP.
- 9. The method of claim 2, wherein comparing the element from the subordinate set of elements and the corresponding element from the dominant set of elements to each other to determine a directional set comparison result comprises:determining if an element is present in the dominant set of elements and a corresponding element is present in the subordinate set of elements; if the element is not present in the subordinate set of elements and not present in the dominant set of elements, setting the directional set comparison result to EMPTY; if the element is not present in the subordinate set of elements but is present in the dominant set of elements, setting the directional set comparison result to EMPTY SUBSET; if the element is present in the subordinate set of elements but is not present in the dominant set of elements, setting the directional set comparison result to EMPTY SUPERSET; and if the element is present in the subordinate set of elements and is not present in the dominant set of elements, comparing the element from the subordinate set of elements and the corresponding element from the dominant set of elements to each other to determine a directional set comparison result.
- 10. The method of claim 1, wherein each element in the subordinate set of elements comprises a subordinate subset of elements and each corresponding element in the dominant set of elements comprises a dominate subset of elements, the method further comprising:retrieving an element from the subordinate subset of elements and a corresponding element from the dominant subset of elements; and comparing the element from the subordinate subset of elements and the corresponding element from the dominant subset of elements to each other to determine a directional subset comparison result.
- 11. The method of claim 10, further comprising using the directional subset comparison result to make a determination of a directional relationship between the subordinate set of elements and the dominant set of elements.
- 12. The method of claim 11, wherein the directional subset comparison result is indicative of one of the following directional relationships between the dominant subset of elements and the subordinate subset of elements:EMPTY, wherein there are no elements in both the dominant subset of elements and the subordinate subset of elements; EQUAL, wherein the elements in the dominant subset of elements are identical to the elements in the subordinate subset of elements; SUBSET, wherein the dominant subset of elements contains all of the elements in the subordinate subset of elements, but there are some elements in the dominant subset of elements that are not in the subordinate subset of elements; SUPERSET, wherein the subordinate subset of elements contains all of the elements in the dominant subset of elements, but there are some elements in the subordinate subset of elements that are not in the dominant subset of elements; EMPTY SUBSET, wherein the subordinate subset of elements does not have any elements and the dominant subset of elements does have some elements; EMPTY SUPERSET, wherein the subordinate subset of elements has some elements, but the dominant subset of elements does not have any elements; DISJOINT, wherein the subordinate subset of elements has some elements and the dominant subset of elements has some elements but the subordinate subset of elements and the dominant subset of elements have no elements in common; and OVERLAP, wherein the subordinate subset of elements has some elements and the dominant subset of elements has some elements but the subordinate subset of elements and the dominant subset of elements have only some elements in common and each subset contains at least one element that is not in the other set.
- 13. The method of claim 12, wherein the directional set comparison result is based on whether the subordinate subset of elements is a subset of the dominant subset of elements.
- 14. The method of claim 13, wherein the subordinate subset of elements is a subset of the dominant subset of elements when the directional subset comparison result is indicative is of one of the following directional relationships between the dominant subset of elements and the subordinate subset of elements: SUBSET, EMPTY SUBSET, EMPTY and EQUAL.
- 15. The method of claim 12, wherein the directional set comparison result is based on whether the subordinate subset of elements intersects the dominant subset of elements directional subset comparison result.
- 16. The method of claim 15, wherein the subordinate subset of elements intersects with the dominant subset of elements when the directional subset comparison result is indicative of one of the following directional relationships between the dominant subset of elements and the subordinate subset of elements: OVERLAP, SUBSET, EQUAL, SUPERSET.
- 17. The method of claim 12, wherein the directional set comparison result is based on whether the subordinate subset of elements is a superset of the dominant subset of elements.
- 18. By The method of claim 17, wherein the subordinate subset of elements is a superset of the dominant subset of elements when the directional subset comparison result is indicative is of one of the following directional relationships between the dominant subset of elements and the subordinate subset of elements: SUPERSET, EMPTY SUPERSET, DISJOINT and OVERLAP.
- 19. The method of claim 12, wherein comparing the element from the subordinate subset of elements and the corresponding element from the dominant subset of elements to each other to determine a directional subset comparison result comprises:determining if an element is present in the dominant subset of elements and a corresponding element is present in the subordinate subset of elements; if the element is not present in the subordinate subset of elements and not present in the dominant subset of elements, setting the directional element comparison result to EMPTY; if the element is not present in the subordinate subset of elements but is present in the dominant subset of elements, setting the directional element comparison result to EMPTY SUBSET; if the element is present in the subordinate subset of elements but is not present in the dominant subset of elements, setting the directional element comparison result to EMPTY SUPERSET; and if the element is present in the subordinate subset of elements and is not present in the dominant subset of elements, comparing the element from the subordinate subset of elements and the corresponding element from the dominant subset of elements to each other to determine a directional element comparison result.
- 20. The method of claim 10, further comprising merging the directional subset comparison result into the directional set comparison result before using the directional set comparison result to make a determination of a directional relationship between the subordinate set of elements and the dominant set of elements.
- 21. The method of claim 20, wherein the directional subset comparison result is merged into the directional set comparison result according to a relationship illustrated in the following table:NEW MERGE RESULTS12345678PREVIOUS/AOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYACCUMULATEDSUBSETMERGEBEMPTYOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYRESULTSSUBSETCEMPTYOVERLAPDISJOINTSUBSETSUBSETOVERLAPDISJOINTEMPTYSUBSETSUBSETDEMPTYOVERLAPDISJOINTOVERLAPSUPERSETSUPERSETEMPTYEMPTYSUPERSETSUBSETSUPERSETEDISJOINTOVERLAPDISJOINTOVERLAPOVERLAPOVERLAPDISJOINTDISJOINTFOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPGSUBSETOVERLAPOVERLAPSUBSETSUBSETOVERLAPOVERLAPSUBSETHSUPERSETOVERLAPOVERLAPOVERLAPSUPERSETSUPERSETSUPERSETSUPERSETIEQUALOVERLAPOVERLAPSUBSETEQUALSUPERSETSUPERSETEQUALwherein a previous/accumulated merge result is obtained from the directional set comparison result and used to select a row (B-I) in the table, a new merge result is obtained from the directional subset comparison result and used to select a column (2-8) of the table, and a new value indicative of a directional relationship between the dominant set of elements and the subordinate set of elements is:(i) determined from the intersection of the selected row and the selected column (B2 through I8) and (ii) assigned to the directional set comparison result as the directional set comparison result's new value following the merger.
- 22. The method of claim 10, wherein the dominant set of elements are host computer permission sets and the subordinate set of elements are requested permission sets.
- 23. The method of claim 22, wherein the dominant subset of elements is a host computer parameter and the subordinate subset of elements is a requested parameter.
- 24. The method of claims 23, wherein the directional set comparison result is a directional permission sets comparison result.
- 25. The method of claim 24, wherein the directional subset comparison result is a directional permission set comparison result.
- 26. The method of claim 25, further comprising merging the directional permission set comparison result into the directional permission sets comparison result before using the directional permission sets comparison result to make a determination of a directional relationship between the subordinate set of elements and the dominant set of elements.
- 27. The method of claim 26, wherein the directional permission comparison result is merged into the directional permission set comparison result according to a relationship illustrated in the following table:NEW MERGE RESULTS12345678PREVIOUS/AOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYACCUMULATEDSUBSETMERGEBEMPTYOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYRESULTSSUBSETCEMPTYOVERLAPDISJOINTSUBSETSUBSETOVERLAPDISJOINTEMPTYSUBSETSUBSETDEMPTYOVERLAPDISJOINTOVERLAPSUPERSETSUPERSETEMPTYEMPTYSUPERSETSUBSETSUPERSETEDISJOINTOVERLAPDISJOINTOVERLAPOVERLAPOVERLAPDISJOINTDISJOINTFOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPGSUBSETOVERLAPOVERLAPSUBSETSUBSETOVERLAPOVERLAPSUBSETHSUPERSETOVERLAPOVERLAPOVERLAPSUPERSETSUPERSETSUPERSETSUPERSETIEQUALOVERLAPOVERLAPSUBSETEQUALSUPERSETSUPERSETEQUALwherein a previous/accumulated merge result is obtained from the directional permission sets comparison result and used to select a row (B-I) in the table, a new merge result is obtained from the directional permission set comparison result and used to select a column (2-8) of the table, and a new value indicative of a directional relationship between the host computer permission sets and the requested permission sets is: (i) determined from the intersection of the row and the column (B2 through I8) and (ii) assigned to the directional permission sets comparison result as the directional permission sets comparison result's new value following the merger.
- 28. The method of claim 10, wherein the dominant set of elements is a host computer permission set and the subordinate set of elements is a requested permission set.
- 29. The method of claim 28, wherein the dominant subset of elements is a host computer parameter and the subordinate subset of elements is a requested parameter.
- 30. The method of claim 29, wherein the directional set comparison result is a directional permission set comparison result.
- 31. The method of claim 30, wherein the directional subset comparison result is a directional permission comparison result.
- 32. The method of claim 31, further comprising merging the directional permission comparison result into the directional permission set comparison result before using the directional permission set comparison result to make a determination of a directional relationship between the subordinate set of elements and the dominant set of elements.
- 33. The method of claim 32, wherein the directional permission comparison result is merged into the directional permission set comparison result according to a relationship illustrated in the following table:NEW MERGE RESULTS12345678PREVIOUS/AOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYACCUMULATEDSUBSETMERGEBEMPTYOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYRESULTSSUBSETRESULTSCEMPTYOVERLAPDISJOINTSUBSETSUBSETOVERLAPDISJOINTEMPTYSUBSETSUBSETDEMPTYOVERLAPDISJOINTOVERLAPSUPERSETSUPERSETEMPTYEMPTYSUPERSETSUBSETSUPERSETEDISJOINTOVERLAPDISJOINTOVERLAPOVERLAPOVERLAPDISJOINTDISJOINTFOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPGSUBSETOVERLAPOVERLAPSUBSETSUBSETOVERLAPOVERLAPSUBSETHSUPERSETOVERLAPOVERLAPOVERLAPSUPERSETSUPERSETSUPERSETSUPERSETIEQUALOVERLAPOVERLAPSUBSETEQUALSUPERSETSUPERSETEQUALwherein a previous/accumulated merge result is obtained from the directional permission set comparison result and used to select a row (B-I) in the table, a new merge result is obtained from the directional permission comparison result and used to select a column (2-8) of the table, and a new value indicative of a directional relationship between the host computer permission set and the requested permission set is: (i) determined from the intersection of the row and the column (B2 through I8) and (ii) assigned to the directional permission set comparison result as the directional permission set comparison result's new value following the merger.
- 34. The method of claim 32, wherein the directional parameter comparison result is merged into the directional permission comparison result according to a relationship illustrated in the following table:NEW MERGE RESULTS12345678PREVIOUS/AOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYACCUMULATEDSUBSETMERGEBEMPTYOVERLAPDISJONTSUBSETEQUALSUPERSETEMPTYEMPTYRESULTSSUBSETCEMPTYOVERLAPDISJOINTSUBSETSUBSETOVERLAPDISJOINTEMPTYSUBSETSUBSETDEMPTYOVERLAPDISJOINTOVERLAPSUPERSETSUPERSETEMPTYEMPTYSUPERSETSUBSETSUPERSETEDISJOINTOVERLAPDISJOINTOVERLAPOVERLAPOVERLAPDISJOINTDISJOINTFOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPGSUBSETOVERLAPOVERLAPSUBSETSUBSETOVERLAPOVERLAPSUBSETHSUPERSETOVERLAPOVERLAPOVERLAPSUPERSETSUPERSETSUPERSETSUPERSETIEQUALOVERLAPOVERLAPSUBSETEQUALSUPERSETSUPERSETEQUALwherein a previous/accumulated merge result is obtained from the directional permission comparison result and used to select a row (B-I) in the table, a new merge result is obtained from the directional parameter comparison result and used to select a column (2-8) of the table, and a new value indicative of a directional relationship between the host computer permission and the requested permission is: (i) determined from the intersection of the row and the column (B2 through I8) and (ii) assigned to the directional permission comparison result as the directional permission comparison results new value following the merger.
- 35. The method of claim 10, wherein the dominant set of elements is a host computer permission set and the subordinate set of elements is a requested permission set.
- 36. The method of claim 35, wherein the dominant subset of elements is a host computer parameter and the subordinate subset of elements is a requested parameter.
- 37. The method of claim 36, wherein the directional set comparison result is a directional permission comparison result.
- 38. The method of claim 37, wherein the directional subset comparison result is a directional parameter comparison result.
- 39. The method of claim 38, further comprising merging the directional parameter comparison result into the directional permission comparison result before using the directional permission comparison result to make a determination of a directional relationship between the subordinate set of elements and the dominant set of elements.
- 40. The method of claim 10, wherein the dominant set of elements is a host computer parameter and the subordinate set of elements is a requested parameter.
- 41. The method of claim 40, wherein the dominant subset of elements is a host computer primitive and the subordinate subset of elements is a requested primitive.
- 42. The method of claim 41, wherein the directional set comparison result is a directional parameter comparison result.
- 43. The method of claim 42, wherein the directional subset comparison result is a directional primitive comparison result.
- 44. The method of claim 43, further comprising merging the directional primitive comparison result into the directional parameter comparison result before using the directional parameter comparison result to make a determination of a directional relationship between the subordinate set of elements and the dominant set of elements.
- 45. The method of claim 44, wherein the directional primitive comparison result is merged into the directional parameter comparison result according to a relationship illustrated in the following table:NEW MERGE RESULTS12345678PREVIOUS/AOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYACCUMULATEDSUBSETMERGEBEMPTYOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYRESULTSSUBSETCEMPTYOVERLAPDISJOINTSUBSETSUBSETOVERLAPDISJOINTEMPTYSUBSETSUBSETDEMPTYOVERLAPDISJOINTOVERLAPSUPERSETSUPERSETEMPTYEMPTYSUPERSETSUBSETSUPERSETEDISJOINTOVERLAPDISJOINTOVERLAPOVERLAPOVERLAPDISJOINTDISJOINTFOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPGSUBSETOVERLAPOVERLAPSUBSETSUBSETOVERLAPOVERLAPSUBSETHSUPERSETOVERLAPOVERLAPOVERLAPSUPERSETSUPERSETSUPERSETSUPERSETIEQUALOVERLAPOVERLAPSUBSETEQUALSUPERSETSUPERSETEQUALwherein a previous/accumulated merge result is obtained from the directional parameter comparison result and used to select a row (B-I) in the table, a new merge result is obtained from the directional primitive comparison result and used to select a column (2-8) of the table, and a new value indicative of a directional relationship between the host computer parameter and the requested parameter is: (i) determined from the intersection of the row and the column (B2 through I8) and (ii) assigned to the directional parameter comparison result as the directional parameter comparison result's new value following the merger.
- 46. The method of claim 10, wherein the dominant set of elements is a host computer primitive and the subordinate set of elements is a requested primitive.
- 47. The method of claim 46, wherein the dominant subset of elements is a component group from the host computer primitive and the subordinate subset of elements is a component group from the requested primitive.
- 48. The method of claim 47, wherein the directional set comparison result is a directional primitive comparison result.
- 49. The method of claim 48, wherein the directional subset comparison result is a directional component group comparison result.
- 50. The method of claim 49, further comprising merging the directional component group comparison result into the directional primitive comparison result before using the directional primitive comparison result to make a determination of an action to take.
- 51. The method of claim 50, wherein the directional primitive comparison result is merged into the directional parameter comparison result according to a relationship illustrated in the following table:NEW MERGE RESULTS12345678PREVIOUS/AOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYACCUMULATEDSUBSETMERGEBEMPTYOVERLAPDISJOINTSUBSETEQUALSUPERSETEMPTYEMPTYRESULTSSUBSETCEMPTYOVERLAPDISJOINTSUBSETSUBSETOVERLAPDISJOINTEMPTYSUBSETSUBSETDEMPTYOVERLAPDISJOINTOVERLAPSUPERSETSUPERSETEMPTYEMPTYSUPERSETSUBSETSUPERSETEDISJOINTOVERLAPDISJOINTOVERLAPOVERLAPOVERLAPDISJOINTDISJOINTFOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPOVERLAPGSUBSETOVERLAPOVERLAPSUBSETSUBSETOVERLAPOVERLAPSUBSETHSUPERSETOVERLAPOVERLAPOVERLAPSUPERSETSUPERSETSUPERSETSUPERSETIEQUALOVERLAPOVERLAPSUBSETEQUALSUPERSETSUPERSETEQUALwherein a previous/accumulated merge result is obtained from the directional primitive comparison result and used to select a row (B-I) in the table, a new merge result is obtained from the directional component group comparison result and used to select a column (2-8) of the table, and a new value indicative of a directional relationship between the host computer primitive and the requested primitive is: (i) determined from the intersection of the row and the column (B2 through I8) and (ii) assigned to the directional primitive comparison result as the directional primitive comparison result's new value following the merger.
Parent Case Info
This appln claims benefit of Provisional No. 60/080,848 filed Apr. 6, 1998.
US Referenced Citations (21)
Non-Patent Literature Citations (1)
Entry |
S.M. Bellovin et al., “Network Firewalls,” IEEE Communications Magazine, Sep. 1994, pp. 50-57. |
Provisional Applications (1)
|
Number |
Date |
Country |
|
60/080848 |
Apr 1998 |
US |