Distributed directory replication
First Claim
Patent Images
1. A method for processing a search request of a computer directory containing records hierarchically arranged as a directory information tree (DIT) at a replica server, said method comprising:
- receiving an incoming search request from a client computer;
forming a replicated directory, said forming comprising storing a filtered replica of one or more directory entries matching one or more predetermined search specifications, wherein said filtered replica comprises a duplicate of said one or more directory entries, and wherein said search specifications comprise a base corresponding to a root entry of said search request in said DIT, a scope of said search request under said root entry, a filter corresponding to a search criterion of said search request, and attributes required from the directory entries satisfying said search criterion;
determining whether said search request is semantically contained within said replicated directory using a query containment rule,such that said search request is determined to be semantically contained within the replicated directory only if a base of said search request is the same or a descendant of a base of said filtered replica, andsuch that said search request is determined to be not semantically contained within said replicated directory only if said base of said search request is one of not the same and not a descendant of said base of said filtered replica; and
responding to said search request based on the determining process, wherein the response to said search request when said search request is semantically contained within the filtered replica comprises answering said search request based upon the filtered replica without making a referral of said search request to said replica server, and wherein the response to said search request when said search request is not contained within the filtered replica comprises referring said search request to said replica server.
3 Assignments
0 Petitions
Accused Products
Abstract
A replication model has replicas store selected entries from subtrees. Only entries satisfying a particular search criterion specified by a filter are stored. Query containment is used to determine whether the query can be answered locally, or a referral to a remote server is required.
-
Citations
20 Claims
-
1. A method for processing a search request of a computer directory containing records hierarchically arranged as a directory information tree (DIT) at a replica server, said method comprising:
-
receiving an incoming search request from a client computer; forming a replicated directory, said forming comprising storing a filtered replica of one or more directory entries matching one or more predetermined search specifications, wherein said filtered replica comprises a duplicate of said one or more directory entries, and wherein said search specifications comprise a base corresponding to a root entry of said search request in said DIT, a scope of said search request under said root entry, a filter corresponding to a search criterion of said search request, and attributes required from the directory entries satisfying said search criterion; determining whether said search request is semantically contained within said replicated directory using a query containment rule, such that said search request is determined to be semantically contained within the replicated directory only if a base of said search request is the same or a descendant of a base of said filtered replica, and such that said search request is determined to be not semantically contained within said replicated directory only if said base of said search request is one of not the same and not a descendant of said base of said filtered replica; and responding to said search request based on the determining process, wherein the response to said search request when said search request is semantically contained within the filtered replica comprises answering said search request based upon the filtered replica without making a referral of said search request to said replica server, and wherein the response to said search request when said search request is not contained within the filtered replica comprises referring said search request to said replica server. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for processing a search request of a computer directory containing records hierarchically arranged as a directory information tree (DIT) at a replica server, said method comprising:
-
receiving an incoming search request from a client computer; forming a replicated directory, said forming comprising storing a filtered replica of one or more directory entries matching one or more predetermined search specifications, wherein said filtered replica comprises a duplicate of said one or more directory entries, and wherein said search specifications comprise a base corresponding to a root entry of said search request in said DIT, a scope of said search request under said root entry, a filter corresponding to a search criterion of said search request, and attributes required from the directory entries satisfying said search criterion; determining whether said search request is semantically contained within said replicated directory using a query containment rule, such that said search request is determined to be semantically contained within the replicated directory only if (a) a scope of said filtered replica is a subtree, or (b) said scope of said filtered replica is the same as a scope of said search request and said search request and said filtered replica have the same base, or (c) said scope of said filtered replica is a single-level and said scope of said search request is a base and said base of said search request is a child of a base of said filtered replica, and such that said search request is determined to be not semantically contained within said replicated directory only if one of (a) said scope of said filtered replica is not said subtree, (b) said scope of said filtered replica is not the same as said scope of said search request and said search request and said filtered replica do not have the same base, and (c) said scope of said filtered replica is not said single-level and said scope of said search request is not said base and said base of said search request is not said child of said base of said filtered replica; and responding to said search request based on the determining process, wherein the response to said search request when said search request is semantically contained within the filtered replica comprises answering said search request based upon the filtered replica without making a referral of said search request to said replica server, and wherein the response to said search request when said search request is not contained within the filtered replica comprises referring said search request to said replica server. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method for processing a search request of a computer directory containing records hierarchically arranged as a directory information tree (DIT) at a replica server, said method comprising:
-
receiving an incoming search request from a client computer; forming a replicated directory, said forming comprising storing a filtered replica of one or more directory entries matching one or more predetermined search specifications, wherein said filtered replica comprises a duplicate of said one or more directory entries, and wherein said search specifications comprise a base corresponding to a root entry of said search request in said DIT, a scope of said search request under said root entry, a filter corresponding to a search criterion of said search request, and attributes required from the directory entries satisfying said search criterion; determining whether said search request is semantically contained within said replicated directory using a query containment rule, such that said search request is determined to be semantically contained within the replicated directory entries only if a filter of said search request is more restrictive than a filter of said filtered replica such that any entry satisfying a condition specified by said filter of said search request also satisfies a condition specified by said filtered replica, and such that said search request is determined to be not semantically contained within said replicated directory only if said filter of said search request is not more restrictive than said filter of said filtered replica such that any said entry satisfying said condition specified by said filter of said search request does not also satisfies said condition specified by said filtered replica; and responding to said search request based on the determining process, wherein the response to said search request when said search request is semantically contained within the filtered replica comprises answering said search request based upon the filtered replica without making a referral of said search request to said replica server, and wherein the response to said search request when said search request is not contained within the filtered replica comprises referring said search request to said replica server. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification