[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

AU2007201141A1 - Data Tolerance in a X.500 System and Methods - Google Patents

Data Tolerance in a X.500 System and Methods Download PDF

Info

Publication number
AU2007201141A1
AU2007201141A1 AU2007201141A AU2007201141A AU2007201141A1 AU 2007201141 A1 AU2007201141 A1 AU 2007201141A1 AU 2007201141 A AU2007201141 A AU 2007201141A AU 2007201141 A AU2007201141 A AU 2007201141A AU 2007201141 A1 AU2007201141 A1 AU 2007201141A1
Authority
AU
Australia
Prior art keywords
data
database
australia
eid
entry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
AU2007201141A
Inventor
Richard Hans Harvey
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CA Inc
Original Assignee
Computer Associates Think Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from AU2003201310A external-priority patent/AU2003201310A1/en
Application filed by Computer Associates Think Inc filed Critical Computer Associates Think Inc
Publication of AU2007201141A1 publication Critical patent/AU2007201141A1/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

16/03 2007 FRI 10:23 FAX Smoorenburg Attorneys IP AUSTRALIA Q003/089 P/00/011 25/191 Regulation 32(2)
AUSTRALIA
Patents Act 1990 COMPLETE SPECIFICATION STANDARD PATENT Application Number: Lodged: Invention Title: DATA TOLERANCE IN A X.500 SYSTEM AND METHODS The following statement is a full description of this invention, including the best method of performing it known to us COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:23 FAX Smoorenburg Attorneys IP AUSTRALIA Q004/089 1 DATA TOLERANCE IN A X.500 SYSTEM AND METHODS
FIELD
The present invention relates to the field of directory services. In particular, the present invention is directed to application of X.500, LDAP and similar services to a relational database, a database design and use of the database to perform X.500 services.
One aspect of the invention relates to the manner in which data is entered, stored and output from a directory or database.
Other aspects of the present disclosure are directed to an implementation using a RDBMS (Relational Database Management System) and also a table structure and methods of operation of a database application.
PRIOR ART X.500 is the International Standard for Electronic Directories [CCITT891 or [ITU93]. These standards define the services, protocols and information model of a very flexible and general purpose directory. X.500 is applicable to information systems where the data is fairly static telephone directory) but may need to be distributed across organisations or countries), extensible store names, addresses, job titles, devices etc.), object oriented to enforce rules on the data) and/or accessed remotely.
Relational Database Management System (RDBMS) provide facilities for applications to store and manipulate data.
Amongst the many features that they offer are data integrity, consistency, concurrency, indexing mechanisms, query optimisation, recovery, roll-back, security. They also provide many tools for performance tuning, import/export, backup, auditing and application development.
RDBMS are the preferred choice of most large scale managers of data.
They are readily available and known to be reliable and contain many useful management tools. There is a large base of RDBMS installations and therefore a large amount of existing expertise and investment in people and procedures to run these systems, and so data managers are looking to use this when acquiring new systems. Most relational database products support the industry standard SQL (Structured Query Language).
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:23 FAX Smoorenburg Attorneys IP AUSTRALIA Q005/089 2 There has also been a move towards Object Oriented systems which provide data extensibility and the ability to handle arbitrarily complex data items.
In addition, many corporations and government departments have large numbers of database applications which are not interconnected. Data managers are looking for solutions which enable them to integrate their data, and to simplify the management of that data. X.500 and it's associated standards provide a framework and a degree of functionality that enables this to be achieved. The fact that X.500 is an international standard means that data connectivity can be achieved across corporations and between different countries.
The problem, therefore, is to address the need of data managers and implement X.500 with all the flexibility of object-oriented systems but using an SQL product so that it can achieve the scalability and performance inherent in relational systems coupled with the stability, robustness, portability and costeffectiveness of current SQL products.
There have been a number of attempts of solving the above problem and over a considerable period of time. None of the attempts have resulted in a product which has proven to be commercially accepted by the market, and thus in the market place there is a long felt need yet to be addressed.
Figure 1 shows an abstract from the "GOSIPNews" issue No. 4, dated April 1994 (Source: "Interoperability Products" distributed in Australia by the Centre for Open Systems) and which lists X.500 products currently available.
None of these products use a SQL database as an underlying data store, and none of these products therefore address successfully the market need of implementing X.500 using an SQL RDBMS.
The Proceedings of IFIP WG6.6 International Symposium (ISBN: 0444 889 167) have published a paper presented by Francois Perruchond, Cuno Lanz, and Bernard Plattner and entitled "A Relational Data Base Design for an X.500 Directory System Agent". The Directory System disclosed, as with many prior art systems, is relatively slow in operation, particularly where the database is relatively extensive and is incomplete in its implementation of X.500, such as aliases, subsearch and entry information.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:24 FAX Smoorenburg Attorneys IP AUSTRALIA 0006/089 3 Another attempt is disclosed in the proceedings of IREE, ISBN 0909 394 253, proceedings April 22-24, 1991 by C.M.R. Leung. In that disclosure, there is described a database scheme in which a single entry table holds detailed information about each directory object, and is also incomplete in its implementation of X.500.
This approach has been discredited by a number of text books and knowledge in the art, such as "Object-Oriented Modeling and Design" by J.
Rumbaugh, et al, 1991, ISBN 0-13-630054-5, in which at paragraph 17.3.8 it is clearly stated that "putting all entities in the one table is not a good approach to relational database design".
As noted above, there have been a number of attempts made to address prior art problems, but none of the attempts have resulted in a product which has proven to be commercially accepted by the market. Of specific interest in this application are problems associated with end to end efficiency, data tolerance and/ or data transmission and or manipulation, such as the manner in which data is input to, stored in, and or output from a directory and or database.
SUMMARY OF INVENTION An object of the present inventions is to address problems associated with end to end efficiency, data tolerance and/ or data transmission and or manipulation, such as the manner in which data is input to, stored in, and or output from a directory and or database or at least one of the prior art problems.
The present invention provides a method of storing data in a database, the method comprising storing concurrently both a normalised form and a raw form of the data.
X.500 attribute syntaxes define how each attribute should be treated. It has been realised that these definitions or rules can be applied to create a normalised form.
A further feature of the invention resides in a method of providing, as an output from a database, data in response to a directory service, the method being directed to the form in which the data is provided as an output, the method including providing as the output, a raw form of the data. Preferably, the raw COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:24 FAX Smoorenburg Attorneys IP AUSTRALIA I007/089 4 data enables retrieval of data in the same format as the data was input to the directory.
Yet a further invention resides in storing the raw form of data in ASN.1.
Stage nhis form enhances data input and output efficiency.
The invention has recognised that the normalised form can be used to remove problems associated with exact matching, which is necessary when Susing SQL, and the raw form can provide the data as an output in the same form as it was originally input. In the invention, data is stored both in raw form and Snormalised form. In essence, the provision of two types of data, being normal form and raw form, alleviates the need to provide a database structure or method of operation which requires a relatively high level of complexity which can process the one piece of data in a manner which is required to satisfy both indexing and output data form requirements. The present invention processes the raw and normalised forms independently.
This 'normalised form' maybe referred to also as a 'syntax-normalised' form and the 'raw' form maybe referred to as a 'protocol encoded' form.
Preferably, the 'protocol encoded' form is ASN.1.
A further aspect of the present invention provides in a directory service system, having a database in which data is stored in a first form, being a raw form, and a second form, being a normalised form, a method of enabling data in and out of the database, the method including the steps of: finding data in the database using a normalised form of the data, and transferring data out of the database using a raw form of the data.
The normalised form facilitates indexing, and the raw form allows data to be output in the form in which it is input.
A detailed description of the present invention can be found in the summary of invention section and description section numbers 2.5, 3.1.1, 3.14 5.11 With regard to the remainder of the specification as a whole, in general, it seeks to disclose a number of other inventions related to the implementation of X.500 services in a RDBMS which supports SQL or any other relational COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:25 FAX Smoorenburg Attorneys IP AUSTRALIA oo008/089 language. X.500 services can be invoked via a number of protocols, such as X.500 and LDAP.
The scope of the present invention is outlined in this specification, including the claims.
In this document, at the time of filing, SQL is the most popular relational language and although it is only one form of relational language, the intent of the present invention is to have application to any other form of relational language, not just SQL.
These inventions can be related to the following headings: 1. Principle Design 2. Conceptual Design 3. Conceptual Method(s) 4. Logical Design Logical Method(s) 6. Physical Design 7. Example Implementation The X.500 standard in no way dictates how the directory is to be implemented, only its capabilities and behaviour. One key to solving the implementation problem is the realisation that X.500 defines a fixed set of services Add, Modify, Search etc.) that can operate on arbitrary data.
It has been discovered that problems associated with the prior art may be alleviated by a unique approach, by what may be described as inverting relational theory modelling from a data modelling approach to a service modelling approach. That is, from the problem of: processing arbitrary queries on a fixed set of data to the present approach of processing arbitrary data using a fixed set of queries/services.
Each service is modelled (instead of each data type) and the relationships between each service defined (instead of the relationships between each data type).
Implementation of service modelling using relational queries to satisfy X.500 services enables benefits of RDBMS to be exploited.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:25 FAX Smoorenburg Attorneys IP AUSTRALIA 6 The benefits of this approach are many. A summary is illustrated in Figure 3. Some of the benefits include: relatively fast starting time.
the ability to reduce memory requirements relative to memory resident systems.
the ability to base X.500 on any SQL database and thereby protect the Sinvestment in products, expertise and procedures in managing existing Ssystems.
the ability to achieve performance relatively independent of size and relatively independent of the complexity of the data type. Every data type is treated generically. Every data type has an index on it. The result of indexing gives the ability to efficiently search the directory without caching large portions of directory into memory. Unlike the prior art where either only one index can be used to satisfy one given query or large portions of information is system intensively cached and searched in memory.
the ability to support different languages Spanish, Hebrew and Kanji) which may have various collating sequences. Single, double or other byte character sets may also be supported.
using a disk based model to minimise I/O and efficiently retrieve I/O.
the ability to service complex X.500 searches.
the ability to create X.500 databases of far greater size than previously possible, without compromising performance or robustness. The databases can be small or large (250,000, 1 million or more entries).
an optimal table design minimises wastage of disk space.
the ability to leverage off hundreds of man years of relational database developments and use "industrial strength" databases with proven reliability, integrity, security and tools for developing high performance applications.
Based on this unique approach, the following disclosure will detail a number of inventions in an order with reference to Figures 2A and 2B, which illustrates schematically an overview of the present X.500 system. The table and column, names, order of columns and numeric values disclosed are given on an Q009/089 COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:26 FAX Smoorenburg Attorneys IP AUSTRALIA Q010/089 7 arbitrary basis in the overview. The number of columns disclosed represent a preferred operable requirement. Additional columns do not alter the use of the table as herein contemplated.
BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is an illustration of a table which lists X.500 products currently available, none of which use a SQL data base as an underlying data store.
i, Figure 2A is an illustration schematically of an overview of the present invention, particularly the principal design and the corresponding conceptual Ki design, as applied to the provision of a table structure for an X.500 system.
Figure 2B is an illustration schematically of an overview of the present invention, particularly the logical design and the corresponding physical design, as applied to the provision of a table structure for an X.500 system.
Figure 3 is an illustration of a pie chart that provides a summary representation of the benefits of implementing service modeling using relational queries to satisfy X.500 services.
Figure 4 is an illustration of a hierarchy within a hypothetical organisation, arranged as a tree, that is used to explain the services that may be provided according to the present invention.
Figure 5 is an illustration of a hierarchy within a hypothetical organisation, arranged as a tree, that has an alias referencing a different branch of the tree, according to the present invention.
DESCRIPTION OF THE PREFERRED
EMBODIMENTS
1. PRINCIPLE
DESIGN
The X.500 prior art attempts at implementation have been unable to overcome the relatively basic structural and operational differences between the X.500 requirements and functionality and SQL. The X.500 standard has a particular structure by nature, whereas SQL is designed to operate on relational structured tables.
For a typical relational database application, the nature of data is well known, i.e. tables will consist of a number of columns and each column contains data relating to a particular data type (see Table B1). The different data types that can be stored is limited to the columns of the table. The data types are also COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:26 FAX Smoorenburg Attorneys IP AUSTRALIA Q011/089 8 limited to the types supported by the database string, numeric, money, date). The database may also store data of a form not understood by the database per se, but understood by the application e.g. binary data.
Name Surname Title Phone Chris MASTERS Sales Manager 03727-9456 Alana MORGAN Sales Support 03727-9455 Table Bi: Employee Table If a new data type needs to be added mobile) then a new column will have to be added to the table. This can cause problems if data table changes are not easy to implement. Also if the new data type is not well used less than 1% of the organisation) then significant redundant data storage may result.
See Table B2.
Name Surname Title Phone Mobile Chris MASTERS Sales Manager 03 727-9456 018 042671 Alana MORGAN Sales Support 03 727-9455 Table B2: Employee Table In essence, one invention in the application of X.500 resides in overcoming the extensibility by representing the X.500 attributes of the prior art: empl name age salary as described above, as type syntax value, the latter representation being an extensible representation and is thus adapted to implementation with SQL. The latter representation is known as meta-data.
The meta-data "value" may be binary.
A further development based on the above principle design is the adaption of the 'principle design' to X.500. This adaption has been realised by the provision of a 'property table', in which object name and parent name is added to the 'principle design'.
Further benefits accrue from the implementation disclosed above; including: COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:27 FAX Smoorenburg Attorneys IP AUSTRALIA a. independence of complexity of filter the implementation disclosed may utilise a query optimiser provided in SQL, and therefore there is no need to replicate a query optimiser in each proprietary database to which the present invention is applied, b. independence of size the implementation disclosed has the ability to be scaled, c. independence of depth of tree the implementation disclosed has hierarchy comparability, Sd. performance if index is put on the type column, then each and every type is indexed.
2. CONCEPTUAL
DESIGN
The prior art has had difficulty in implementing X.500 as it has not been structured for extensibility, object oriented and hierarchy which are requirements of X.500.
This is addressed, in one form, by functionally decomposing the 'property table' and thus resulting in what is called the Conceptual Design.
The conceptual design resides in providing at least one of: 1. Attribute table, where extensibility is addressed by allowing the definition of a new attribute type in this table by adding a row to the table; 2. Object table, which defines the attributes within each object; and/or 3. Hierarchy table, which defines the relationship between the objects.
In another invention, this problem is addressed by providing table structures in accordance with those disclosed in Figures 2A and 2B.
Yet further inventions reside in addressing problems of data tolerance by providing in the present X.500 system for the replacement of the 'value' column of the object table with value 'norm' and value 'raw' columns and/or replacing the RDN column in the hierarchy table with 'name norm' and 'name raw' columns.
Further, the difficulty in prior art of accommodating aliases is addressed in the present X.500 system by providing an 'alias' column in the hierarchy table.
The 'alias' column is flagged to indicate that, that entry is an alias.
1012/089 COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:27 FAX Smoorenburg Attorneys IP AUSTRALIA Q013/089 Further refinement may be provided by replacing the 'alias' column with alias and A-EID columns. The A-EID provides information about where the alias points.
Still further refinement may be provided by replacing the 'parent' column in 5 the hierarchy table with 'parent' and 'path' columns.
The 'path' addresses the problem of implementing X.500 search, with K aliases and subtrees. The 'path' has at least two unique properties: a) to determine the absolute position in the hierarchy; and b) it is used to determine if San entry is in a given subtree by its prefix.
3. CONCEPTUAL
METHOD
A number of unique methods of interrogating the conceptual design are disclosed in the detailed description following, including: a) mapping the X.500 services into a sequence of SQL statements; b) the search strategy is to apply the filter over the search area using the path or parent columns, and/or; c) in dealing with aliases during navigation where an alias points is cached In the A EID column; d) in dealing with alias during search find the unique set of base objects which define areas of the tree that need to be searched, and then apply b) above to each area of the tree.
A further invention is realised by using the attribute table for incoming data to find the AID from the X.500 object ID and outgoing data read from the database, vice versa.
Furthermore, for any incoming distinguished name, it is navigated to its appropriate EID, then each search is performed as required by X.500.
Still furthermore, for a search, filter and subtree searches can be provided by a single pass resolution and using the path column. One invention is to utilise a 'path' field to simultaneously apply an arbitrary filter over an arbitrary subtree.
The complications of aliases is handled by applying the above method to a uniquely resolved subtree.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:28 FAX Smoorenburg Attorneys IP AUSTRALIA Q014/089 S11 Yet another unique method is to store the "path" of each entry as a string.
Each path will then be prefixed by the path of its parent entry. This is useful for the filter in the search service.
4. LOGICAL DESIGN The logical design is based on a service decomposition of the conceptual design, though the realisation that X.500 service components are independent.
K: ,The advantages accruing from this include: 1. Reduces the number of indexes per table, as more tables are Ki provided. It has been found that primary indexes are most efficient (speed, size) and secondary indexes may have large overheads (speed, size).
2. Enable data in tables to be clustered. Clustering occurs as a result of its primary key (storage structure) and thus data may be organised on disk around its key. E.g. for the 'search' table, surnames may be clustered together.
3. Management smaller tables are easier to manage, e.g. faster to update indexes, collect statistics, audit, backup, etc.
4. Reduced 1/0 speed improvements due to smaller rows, means more rows per page and thus operations perform less LOGICAL
METHODS
A number of unique methods of interrogating the logical design tables are disclosed in the detailed description following.
In addition, one method resides in caching the attribute table. Thus, (with the exception of initial loading) no SQL statements are issued to the database.
in the present X.500 system, conversions are performed in memory. This provides a substantial speed advantage.
Further, validation is performed in memory which avoids database rollback. Roll-backs are time and system consuming.
Still further, for the arbitrary filter, a dynamic SQL equivalent is built. This enables arbitrary complexity in X.500 searches.
Also for search results, the present system utilises set orientation queries of SQL to avoid 'row at a time' processing. Thus search results may be assembled in parallel in memory.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:28 FAX Smoorenburg Attorneys IP AUSTRALIA R015/089 12 6. PHYSICAL
DESIGN
New tables and new columns are introduced to overcome column width and key size restrictions and to achieve space optimisations.
The following text is a disclosure of embodiments of the inventions outlined: 1. PRINCIPLE
DESIGN
With reference to Figure 2A, the principle design addresses the basic problem of representing the extensible, object oriented and hierarchical nature of X.500 in relational tables. In this section it will be disclosed (with examples) that the principle table design can be represented by a single table as shown in Table 1 below.
nt name i arent name I type syntax value Table 1 X.500 Property Table Throughout this and the following sections all column names and their positions in each table are arbitrary. The intent is to define what they contain and how they are used.
1.1 Extensibility For a typical relational database application, the nature of data is well known, tables will consist of a number of columns and each column contains data relating to a particular data type (see Table 1.1 The table is self descriptive, i.e. the relations between data items is implied by being on the same row (this is the basis of relational theory).
Name surname title phone Chris MASTERS Sales Manager 03 727-9456 Alana MORGAN Sales Suport 03 727-9455 Table 1.1 a Typical relational table However, the above approach is not extensible because the number of different data types is limited to the number of columns of the table. If a new data type needs to be added mobile phone number) then a new column will have to be added to the table (see Table 1.1b). Any application accessing this table will need to be updated to explicitly query it.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:29 FAX Smoorenburg Attorneys IP AUSTRALIA 13 Name surname title phone mobile Chris MASTERS Sales Manager 03727-9456 018 042671 Alana MORGAN Sales Support 03 727-9455 Table 1.1 b Relational table with an extra column Other problems also exist in practice. If the new data type is not well used less than 1% of the organisation has a mobile phone) then the table will be 5 sparse if a given person does not have a mobile then that row/column entry will be NULL). Also, the data types are limited to the types supported by the database string, numeric, money, date, etc.).
The solution is to treat the data types as generic. The present invention adopts the method of representing arbitrary attributes XOM [X/OPEN Object Management] API [Application Programming Interface]) as a type, syntax, value combination (see Table 1.1c) Type svntax value Name String Chris Surname String.
MASTERS
Title String Sales Manager Phone Numeric 03 727-9456 Mobile Numeric 018 042671 Table 1.1c Representing arbitrary attributes 1.2 Object Oriented X.500 defines objects people, organisations, etc.) which may contain an arbitrary number of "attributes". Since many objects must appear in the table a mechanism is required to distinguish each object. An "object name" column is added to the table for this purpose (see Table 1.2a).
btname type syntax value Chris Masters Name String Chris Chris Masters Surname String
MASTERS
Chris Masters Title String Sales Manager Chris Masters Phone Numeric 03 727-9456 Chris Masters Mobile Numeric 018042671 Alana Morgan Name String Alana Alraa Morgan Surname Strin
MORGAN
Alana Morgan Title Strin Sales Supor Alana Morgan Phone Numeric 03 727-9455 Table 1.2a Representing objects with arbitrary values B016/089 COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:29 FAX Smoorenburg Attorneys IP AUSTRALIA [a018/089 14 The above method allows any number of attributes to be assigned (related) to an entry. These attributes could be of arbitrary complexity a multi-line postal address could be handled). As the number of columns is fixed new attributes can be added to any object without having to redefine the application. If a new attribute is added then an application that reads the entry will get back an extra row.
1.3 Hierarchical A method of representing hierarchical systems parts explosion) is to use a parent/child combination (see Table 1.3a) Parent child Car engine Car fuel system Engine carburettor Engine pistons Carburettor fuel valve Carburettor air valve Table 1.3a Parts explosion hierarchy X.500 defines its objects to be hierarchical. The relationships between objects follow a tree structure where each object has a parent object and each parent can have zero or more children. This relationship can be represented in a general PROPERTY table by the addition of a "parent name" column, which is used to store the name of the parent object (see Table 1.3b).
object name parent name type syntax value Datacraft root Organisation String Datacraft Datacraft root Address Postal Address PO Box 353 Croydon VIC Chris Masters Datacraft Name String Chris Chris Masters Datacraft Surname String MASTERS Chris Masters Datacraft Title String Sales Manager Chris Masters Datacraft Phone Numeric 03 727-9456 Chris Masters Datacraft Mobile Numeric 018 042671 Alana Morgan Datacraft Name String Alana Alana Morgan Datacraft Surname String MORGAN Alana Morgan Datacraft Title String Sales Support Alana Morgan Datacraft Phone Numeric 03 727-9455 Figure 1.3b X.500 Property Table COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:30 FAX Smoorenburg Attorneys IP AUSTRALIA Q019/089 Note that the root of the tree has no parent. Thus, if both Chris and Alana work for Datacraft and Datacraft is a child of the root then we can say that Chris and Alana are children of Datacraft and that Datacraft is the parent of Chris and Alana.
5 2. CONCEPTUAL
DESIGN
In Section 1 it was shown that a single Property Table could represent the extensible, object oriented and hierarchical nature of X.500 (see Table 2a).
bect name parent name alue Table 2a Property Table With reference to Figure 2A in this section it will be shown that full X.500 functionality can be represented by using three tables as shown below (see Table 2b and Figure 2A).
Hierarchy Table EID Parent Path Allas A EID NameNorm NameRaw Object Table ED AID I V1D istin ValueNorm ValueRa Attribute Table AID Type S t Obectld Table 2b Full Conceptual Design The conceptual design addresses major problems with implementing full X.500 functionality in relational tables. As each major design issue is presented, examples are provided to illustrate the solution.
2.1 Functional Decomposition The Property Table (Figure 2A) can be decomposed into separate tables that reflect the hierarchical, object oriented and extensible nature of X.500, preferably as follows; a Hierarchy Table which defines the structural relationship between objects.
an Object Table which defines the attribute values within each object.
an Attribute Table which defines the different attribute types.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:30 FAX Smoorenburg Attorneys IP AUSTRALIA 16 These tables result from a process called functional decomposition.
To address the problem of correlating the relationships between tables, arbitrary numeric identifiers are introduced. The EID or "entry identifier" correlates each object with its hierarchy information. The AID or "attribute identifier" correlates each value in the object table with its attribute information.
The design is considered very efficient because the repeating groups in the Property table (type-syntax and object name-parent name) have been removed. Also, for SQL, the joining columns are simple integers.
Hierarchy Table -EID Parent Name 0 Datacraft 10 Chris Masters 31 10 Alana Moran o020/089 Object Table
EID
31 31 31 31 Attribute Table
AID
3 4 12 16 A1D 10 16 3 4 12 20 3 4 12 20 Type Name Surame Organisation Title Postal Address Phone Value Datacraft PO Box 123 CROYDON Chris
MASTERS
Sales Manager 03 727-9456 Alana
MORGAN
Sales Suport 03 727-9455 Syntax string string string string address string telephone string Table 2.1 Basic Conceptual Design 2.2 X.500 Attributes X.500 attributes have a protocol identifier which is transferred when any data is communicated between end systems. These identifiers are internationally defined and are called OBJECT IDENTIFIERS 2.5.4.4 means COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:31 FAX Smoorenburg Attorneys IP AUSTRALIA 17 a surname string). Thus an "Objectld" column can be added to the Attribute table so that conversions between X.500 object identifiers and the internal attribute identifiers can be performed.
In addition, X.500 allows an attribute to have an arbitrary number of t 5 values the mobile phone could be treated just as a second telephone i number). Thus a "value identifier" or VID is introduced to identify values within S' an attribute in the Object Table.
Hierarchy Table EID P-arent Name 0 Datacraft 10 o10 Chris Masters Q021/089 Object Table Attribute Table Table 2.2 Conceptual Design with X.500 attributes 2.3 X.500 Names In X.500, each entry uses one or more of its attribute values (Distinguished Values) for naming the entry. A "Disting" column is added to the Object Table to flag the distinguished values.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:31 FAX Smoorenburg Attorneys IP AUSTRALIA 18 The Distinguished Values combine to form a Relative Distinguished Name (RDN) which names the entry. The "Name" column in the Hierarchy table stores the RDN. This is an optimisation that negates the need for the RDN to be constructed from the distinguished values in the Object table.
An entry is uniquely named by a Distinguished Name (DN) which consists of all the RDN's of the of its ancestors down from the root and the RDN of the object itself. An innovation is to add a "path" column to the Hierarchy table which defines the absolute position of the entry in the tree as a list of EID's. The path has three important properties; R022/089 enables fast construction of DN's, (the EID list defines all uth 1) RDN's) 2) enables fast subtree searches (see Conceptual Methods), 3) it is independent of its DN (any of the RDN's in the DN can be renamed without affecting the path).
Hierarchy Table -EID r Parent Path Name r EID a f Object Table EID AID VID Distin 10 1 1 16 1 0 303 1 1 4 1 1 12 1 0 20 1 0 20 2 0 31 3 1 1 31 4 1 1 31 12 1 0 31 20 1 0 Value Datacraft PO Box 123 CROYDON Chris__
MASTERS
Sales Mana er 03 727-9456 018 042671 Alana
MORGAN
Sales Su rt 03 727-9455 COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:32 FAX Smoorenburg Attorneys IP AUSTRALIA 19 023/089 Attribute Table
AID
3 4 12 16 Type Name Surname Organisation Title Postal Address Phone Syntax Obectld string 2.5.4.3 s2.5.4.4 s2.5.4.10 string ~.5.4.12 address string 2.5.4.16 telephone strin 2.5.4.20 Table 2.3 Conceptual Design with X.500 attributes and names 2.4 X.500 Aliases X.500 also has the concept of 'aliases'. An alias object effectively points to another entry and thus provides an alternate name for that entry. Thus an "alias" flag is added to the Hierarchy Table. When an alias is discovered during Navigation the supplied DN contains an alias), then the alias value must be read from the Object Table. This alias DN must be resolved to where the alias points before Navigation of the original entry can continue.
An innovation is to use an "aliased EID" column or AEID to store "where" the alias "points to". This removes the need to repeatedly navigate through an alias.
Hierarchy Table Object Table COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:32 FAX Smoorenburg Attorneys IP AUSTRALIA Q024/089 Attribute Table ID TeS ntax Ob'ectld A Alias Name Distinshed Name2.5.4 3 Name stri 2.5.4.
4 Surname strin 2.4- Organisation strin 2.5.4.12 12 Title strin 2.5.4.12 16 Postal Address address string.5 16 Phone tee .5.4.20 Table 2.4 -Conceptual Design with X.500 attributes, names and aliases X.500 Data Tolerance Every X.500 attribute has a (internationally defined) syntax. X.500 attribute syntaxes define how each attribute should be treated. In all string syntaxes Printable, Numeric etc.) superfluous spaces should be ignored. In some syntaxes the case is not important Case Ignore String and Case Ignore List) and so the names "Chris Masters", "Chris MASTERS" and ChRis MaSTeRS are considered identical.
In order to do comparisons search for a particular value), the syntax rules can be applied to create a normalised form "CHRIS MASTERS"). If this normalised form is stored in the database, then any variations in input form are effectively removed, and exact matching can be used (which is necessary when using SQL).
Both the normalised data and "raw" data are stored in the database. The "raw" data is necessary so that users can retrieve the data in exactly the same format as it was originally input. As per the X.500 and LDAP standard, data received from a user, raw data, accords with ASN.1 (Abstract Syntax Notation No.1). Thus the "Name" column in the Hierarchy Table becomes the "NameRaw" and a "NameNorm" column is added. Similarly, the "Value" column in the Object Table becomes the "ValueRaw" and a "ValueNorm" column is added.
Hierarchy Table COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:32 FAX Smoorenburg Attorneys IP AUSTRALIA 21 025/089 Object Table EID AID VID 10 1 16 1 3 1 4 1 12 1 20 1 20 2 31 3 1 31 4 1 31 12 1 31 20 1 4 1 7 1 Disting 1 0 1 1 0 0 0 1 1 0 0 1 0 ValueNorm
DATACRAFT
PO BOX 123 CROYDON
CHRIS
MASTERS
SALES MANAGER 037279456 018321435
ALANA
MORGAN
SALES SUPPORT 037279455 SUPPORT ENGINEER DATACRAFT
ALANA
MORGAN
ValueRaw Datacraft PO Box 123 CROYDON Chris
MASTERS
Sales Manager 03 727-9456 018 042671 Alana
MORGAN
Sales Support 03 727-9455 Support Engineer Datacraft/Alana,Morgan Attribute Table
AID
1 3 4 12 16 Type Alias Name Name Surname Organisation Title Postal Address Phone Syntax Distinguished Name Case Ignore String Case Ignore String Case Ignore String Case Ignore String Case Ignore List Telephone String Objectid 2.5.4.1 2.5.4.3 2.5.4.4 2.5.4.10 2.5.4.12 2.5.4.16 2.5.4.20 Table 2.5 Full Conceptual Design 3. CONCEPTUAL
METHODS
This section introduces the basic X.500 services and shows how the conceptual table design, shown in Table 3a or Figure 2A, is sufficient to implement X.500 services and their complexities.
Hierarchy Table EID Parent Path Alias A EID NameNorm NameRaw Object Table EID AID VID Distin I ValueNorm ValueRaw Attribute Table AID Type I Syntax ObjectlD Table 3a Conceptual Table Design The example hierarchy shown in Table 3b, as seen in Figure 4, will be used to illustrate these services. Each name in the diagram represents an object COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:33 FAX Smoorenburg Attorneys IP AUSTRALIA @026/089 22 entry in the database. The triangle represents an alias entry, and the dotted line represents the connection between the alias entry and the object that it points to.
The numbers next to each entry are the entry EID's.
In the example, entry has an RDN with a value of "Datacraft", entry "11" has an RDN with a value of "Sales", entry "20" has an RDN with a value of "Network Products" and entry "31" has an RDN with a value of "Alana Morgan".
The DN of entry "31" is made up of a sequence of RDN's, namely, ""Datacraft", "Sales", "Network Products", "Alana Morgan".
The alias entry "Datacraft/Networks" points to the entry "Datacraft", "Sales", "Network Products". When navigating to this entry the navigate process would find the alias entry, then find the DN of the object pointed to by the alias and then navigate from the root to the object entry returning an EID of "20" and a path of "1.11.20.".
Listed below are sample tables which show how data is stored. The Hierarchy table (Table 3c) shows how the entries for the example hierarchy are stored. The Attribute table (Table 3e) shows attributes which are contained in the entry "Datacraft/Sales/Network Products/Chris Masters". The Object table (Table 3d) shows how the values of these attributes are stored.
EID Parent Path Alias A EID NameNorm NameRaw 1 0 1. 0 0 DATACRAFT Datacraft 1 1.10. 1 20 NETWORKS etworks 11 1 1.11. 0 0 SALES Sales 12 1 1.12. 0 0 MARKETING Market 11 1.11.20. 0 0 NETWORK [Network PRODUCTS Products 20 1.11.20.30. 0 0 CHRIS MASTERS Chris Masters 31 20 11.20.31. 0 0 ALANA MORGAN AanaMor n 32 2 1.11.20.32 0 0 PETER EVANS eterEvans Table 3c: Sample Hierarchy Table Table 3d: Sample Object Table COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:33 FAX Smoorenburg Attorneys IP AUSTRALIA Q027/089 23 Table 3e: Sample Attribute Table Distinguished Names For the entry shown in the sample Object Table (Table 3d) two of the attributes, commonName and surname, are distinguished values (or naming values) which combine to form the RDN for the entry. This RDN is stored in the Hierarchy Table.
Multi-valued Attributes In X.500, it is permissible for an attribute to be multi-valued. The VID column is used to distinguish between values for an attribute. In the sample Object Table, the telephoneNumber attribute is multi-valued.
3.1 Mapping Services to SQL 3.1.1 Attribute Types and Values Any data supplied by an X.500 service is supplied as a list of Objectid's and their associated values. These must be converted into AID's (using the Attribute table) and normalised values (using the Object table) for use by the X.500 application. The database returns data as AID's and Raw Values, which must then be converted into Objectld's and their associated values in the X.500 result.
3.1.2 Navigation Each X.500 service supplies a Distinguished Name which is converted into an EID for use by the X.500 application. When the application processes a service it returns one or more EID's. These EID's can then be translated back into Distinguished Names in the X.500 result.
All X.500 services rely on navigating the directory tree. To navigate to a particular entry, the following procedure is performed: Given the DN for the entry, locate the entry in the hierarchy table which has an RDN equal to the first RDN in the DN.
Store the EID.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:34 FAX Smoorenburg Attorneys IP AUSTRALIA Q028/089 24 Recursively, locate the entry which has an RDN equal to the next RDN in the DN and a parent equal to the stored EID.
Example Navigate to the entry "Datacraft/Sales/Network Products/Peter Evans".
This will result in a number of select statements, with each returned EID being used as the value of the PARENT in the next statement.
select EID from HIERARCHY where PARENT 0 and RDN "DATACRAFT" select EID from HIERARCHY where PARENT 1 and RDN "SALES" select EID from HIERARCHY where PARENT 11 and RDN "NETWORK
PRODUCTS"
select EID from HIERARCHY where PARENT 20 and RDN "PETER
EVANS"
3.1.3 Read Selected attributes to be read can be supplied. Only the values of these attributes (if they are present in the entry) will be returned.
'Types only' can be selected as a read option, in which case no values will be returned. All types present in the entry, or those selected, will be returned.
Navigate to the entry to be read. Store the EID. In the Object Table, read the values of all rows which match the stored EID.
Example SRead the entry "Datacraft/HQ/Network Products" and return all types and values.
Navigate to the entry (as in 3.1.2) and then; select AID, VALUERAW from OBJECT where EID 3.1.4 Compare Compare returns a 'matched' or 'not matched' result. A raw value is input but the compare is performed using the normalised value.
Navigate to the required entry. Store the EID. In the Object Table, test for a matching value in all rows which match the stored EID and the specified
AID.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:34 FAX Smoorenburg Attorneys IP AUSTRALIA 9029/089 Example SCompare the telephone Number "03 727 9256" with the entry "Datacraft/Sales/Network Products/Chris Masters".
Navigate to the entry and then; select VALUERAW from OBJECT where EID and AID and VALUENORM "03 727 9456" If a value is selected then return "matched" else return "not matched".
3.1.5 List Navigate to the required entry. Store the EID. In the Hierarchy Table, return the RDN's for all rows with a parent matching the stored EID.
Example List from the entry "Datacraft/Sales".
Navigate to the entry and then; select NAMERAW from HIERARCHY where PARENT 11 3.1.6 Add Entry Navigate to the required parent entry. Store the EID of the parent. Add a new EID to the Hierarchy table and add rows to the Object table for each value in the new entry.
Example Add a new entry under the entry "Datacraft/Sales/Network Products".
Navigate to the entry and then; insert into OBJECT (EID, AID, VID, DISTING, VALUENORM,
VALUERAW)
values (33, 3, 1, 1, EDWIN MAHER, Edwin Maher) and insert into HIERARCHY (EID, PARENT, PATH, ALIAS, A-EID, NAMENORM,
NAMERAW)
values (33, 20, 1.11.20.33.,0,0 EDWIN MAHER, Edwin Maher) 3.1.7 Remove Entry COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:35 FAX Smoorenburg Attorneys IP AUSTRALIA I030/089 26 Navigate to the required entry. Check that the entry is a leaf on the tree, check that it has no subordinate entries on the tree). Store the EID.
Remove the entry from the Hierarchy table. In the Object Table, remove all rows which match the stored EID.
Example Remove an entry (with EID 33) under the entry "Datacraft/Sales/Network Products".
Navigate to the entry and then; delete from OBJECT where EID 33 and delete from HIERARCHY where EID 33 3.1.8 Modify Entry Navigate to the required entry. Store the EID. In the Object Table, Add, Remove or Modify rows matching the stored EID.
Example Modify the entry "Datacraft/Sales/Network Products/Alana Morgan".
Add value title "Branch Manager".
Navigate to the entry and then; select EID, AID, VID, VALUENORM from OBJECT where EID =31 Test the returned rows for an attribute of title. If none exist, the attribute can be added, otherwise the attribute must be checked to see if it can be multivalued and whether it already exists.
Insert into OBJECT (EID, AID, VID, DISTING, VALUENORM,
VALUERAW)
values (31,12,1,0, BRANCH MANAGER, Branch Manager).
3.1.9 Modify RDN Navigate to the required entry. Check that the new name (RDN) does not exist in the current level of the subtree that the new DN is distinct). Store the EID. Modify the entry in the Hierarchy and Object tables.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:35 FAX Smoorenburg Attorneys IP AUSTRALIA 9031/089 27 Example Modify the RDN of the entry "Datacraft/Sales/Network Products/Chris Masters" to "Christine Masters".
Navigate to the entry and then; select EID from HIERARCHY where PARENT and VALUENORM "CHRISTINE
MASTERS"
If no entries are returned then the new RDN may be inserted. First set the old RDN to be a non-distinguished value.
update OBJECT set DISTING 0 where EID 30 and VALUENORM
"CHRIS"
and update HIERARCHY set NAMENORM "CHRISTINE MASTERS" and set NAMERAW "Christine Masters" where EID and insert into OBJECT (EID, AID, VID, DISTING, VALUENORM,
VALUERAW)
values (30, 3, 1, 1, "CHRISTINE", "Christine") 3.2 Search Strategy The most powerful and useful X.500 service is the search service. The search service allows an arbitrary complex filter to be applied over a portion of the Directory Information Tree (the search area).
A filter is a combination of one or more filter items connected by the operators AND, OR and NOT. For example; surname "MASTERS"
AND
title "SALES MANAGER" The Search area is the part of the tree that is covered by the scope of the search (base-object-only, one-level or whole-subtree).
One technique for resolving searches is to apply the filter and then to see if any matching entries are in the search area. In this case a filter is applied to COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:35 FAX Smoorenburg Attorneys IP AUSTRALIA Q032/089 28 the entire tree and EID's for all rows matching the filter are returned. Then, for each EID found, step search up through the hierarchy to see if the entry is a subordinate of the base object the entry has a parent/grandparent/... that is the base object). If the number of matches is large and the subtree small this is very inefficient. This technique doesn't cope with aliases as an alias is not a parent of the object that it points to and many aliases may point to a single object.
A second strategy is to obtain a list of all EID's in the search area and then apply the filter to these EID's. If an alias is resolved that points outside of the original search area then the subtree pointed to by the alias is expanded and the EID's in that subtree are added to the list. The filter is then applied to the set of expanded EID's. This is very poor if the search area is large.
An innovation is to simultaneously apply the filter over the search area (instead of sequentially as in the two methods described above). This is called single pass resolution. This method is considered to provide considerable performance improvement over the above methods because the rows that are retrieved are those that satisfy both the filter and scope requirements of the search.
When performing a one level search the filter is applied to all entries that have a parent equal to the EID of the base object (for example; search where parent 20 will apply the filter to entries 30, 31 and 32).
When performing a subtree search the path is used to expand the search area. The "path" of each entry is a string of numbers "1.10.50.222." which indicates that entry 222 has a parent of 50, a grandparent of 10 and a great grandparent of The path has the unique property that the path of an entry is a prefix of the path of all entries that are subordinate to the entry. That is the path of an entry forms the prefix of the paths of all entries in the subtree below the entry. Therefore when performing a subtree search we obtain the base object of the subtree and then apply the filter to all entries that have a path which is prefixed by the path of the base object (for example; to search for all entries under "Sales" we perform a search where PATH LIKE COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:36 FAX Smoorenburg Attorneys IP AUSTRALIA 1033/089 29 Base Object Search: Navigate to the base object. Store the EID. In the Object Table, read nominated values from rows which match the stored EID where a filter criteria is satisfied, eg, telephone prefix "727".
Example S Search from the base object "Datacraft/Sales/Network Products" for an entry with surname "MORGAN", using a "base-object-only" search.
Navigate to the base object and then; select AID, VALUERAW from OBJECT where EID 20 and AID 4 and NAMENORM
"MORGAN"
One Level Search: Navigate to the base object. Store the EID. Return the list of EID's which have a parent EID matching the stored EID (in Hierarchy table) and have values which satisfy the filter criteria (OBJECT table). In the Object Table, read nominated values for the returned EID's.
Example Search from the base object "Datacraft/Sales/Network Products" for an entry with surname "MORGAN", using a "one-level-only" search.
Navigate to the base object and then; select H.EID from HIERARCHY H, OBJECT O where PARENT 20 and AID 4 and NAMENORM
"MORGAN"
and H.EID O.EID then place the EID's returned into an EIDLIST and select AID, VALUERAW from OBJECT where EID in [EIDLIST] Subtree Search: Navigate to the base object. Store the EID. Return the list of all EID's with a path like that of the base object (Hierarchy table) and have values which satisfy the filter criteria (OBJECT table). In the Object Table, read nominated values for the returned EID's.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:36 FAX Smoorenburg Attorneys IP AUSTRALIA I1034/089 Example Search from the base object "Datacraft/Sales/Network Products" for an entry with surname "MORGAN", using a "whole-subtree" search.
Navigate to the base object and then; select H.EID from HIERARCHY H, OBJECT O where PATH like and AID 4 and NAMENORM "MORGAN" and H.EID O.EID then place the EID's returned into an EIDLIST and select AID, VALUERAW from OBJECT where EID in [EIDLIST] 3.3 Aliases and Navigate Aliases are resolved during navigation if the "don't-dereference-alias" flag is not set and the service is not an update service (add, delete, modify, modifyRDN).
When an alias is discovered during navigation the alias must be resolved.
That is, the object that the alias points to must be obtained. First we check the A_EID column of the Hierarchy table. If the A_EID is 0 then the object that the alias points to must be obtained from the Object table and this object must then be navigated to and the resultant EID stored in the A_EID column. If this is done successfully then the remainder of the path can be navigated. By storing the EID of the aliased object in the A_EID column of the Hierarchy table it is possible to avoid navigating to aliased objects. This can save time, especially if the aliased object is at a low level of the hierarchy.
3.4 Aliases and Search Aliases are dereferenced during a search if the "search-aliases" flag in the search argument is set. The performance of the search service while dereferencing aliases becomes a two step process. Firstly, define the search area and then apply the filter to the entries within the search area. Aliases dereferenced as part of the search service can expand the search area to which the filter is applied. They also restrict the search area in that any dereferenced aliases are excluded from the search area.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:37 FAX Smoorenburg Attorneys IP AUSTRALIA Q035/089 31 Aliases and OneLevel Search If aliases are being dereferenced as part of a one level search and an alias entry is found then the alias must be resolved (using the Object table or the A_EID), The aliased object is then added to the search area to which the filter is applied. In a oneLevel search where aliases are found the search area will consist of non-alias entries directly subordinate to the base object and all dereferenced aliases.
Aliases and Subtree Search If aliases are being dereferenced as part of a whole subtree search and an alias entry is found then the alias must be resolved (using the Object table or the A_EID) and this EID must then be treated as another base object, unless it is part of an already processed sub tree.
When dereferencing aliases during a search the "Path" column can be used to find alias entries within a subtree join. If an alias entry is found that points outside of the current subtree then the subtree pointed to by the alias can also be searched for aliases. One property of the hierarchical tree structure is that each subtree is uniquely represented by a unique base object subtrees do not overlap). When performing a subtree search we build up a list of base objects which define unique subtrees. If no aliases are found then the list will contain only one base object. If an alias is found that points outside of the subtree being processed then we add the aliased object to the list of base objects (unless one or more of the base objects are subordinate to the aliased object in which case the subordinate base object(s) are replaced by the aliased object). The search area will therefore consist of non-alias entries that have a path prefixed by the path of one of the base objects.
4. LOGICAL DESIGN Whilst the Conceptual Design (see Table 4a) is sufficient to implement the X.500 functionality, further performance improvements can be made.
Hierarchy Table EID IParent Path Allas AEID NameRaw COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:37 FAX Smoorenburg Attorneys IP AUSTRALIA Q036/089 32 Object Table EID |AID VID Disting I ValueNorm I ValueRaw Attribute Table AID Type Syntax Objectid Table 4a Conceptual Design Performance improvements in conventional relational design can be achieved because assumptions can be made about the data the data is essentially fixed at the time an application is designed. In X.500, none of the data types are known. However performance improvements can still be made because assumptions can be made about the services these are known at the time the X.500 application is designed.
With reference to Figure 2B, one innovative approach is to recognise that each table can be organised around the major service relationships (instead of around the major data relationships in conventional relational design). It shall be shown that the above tables can be decomposed into a number of smaller and more efficient tables as shown below.
DIT
SEID I PARENT ALIAS
RDN
NAME
EID
RAW
TREE
EID
PATH
ALIAS
EID
AEID
SEARCH
EID AID VID DISTING I NORM
ENTRY
EID AID I VID I RAW COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:37 FAX Smoorenburg Attorneys IP AUSTRALIA 9037/089 33
ATTR
AID I SYNTAX I DESC
OBJECTID
Table 4b Logical Design 4.1 Service Decomposition The practical reality for most RDBMS's is that big tables with many columns do not perform as well as smaller tables with fewer columns. The major reasons are to do with indexing options, 1/O performance and table management (see Sections 4.5 and This is why prior art relational design techniques aim to focus primary information into separate tables and derive secondary information via table joins normalisation and fragmentation techniques).
One innovation in achieving X.500 performance is to decompose the tables around primary service relationships and derive secondary services via joins. This process is called service decomposition. The following considerations are made: Columns that have strong relationships are preferred to be kept together (to avoid unnecessary joins); If the number of significant rows in a given column is independent of the other related columns, then that given column is a candidate for a separate table.
If a column is only used for locating information (input) or only used for returning results (output) then it is a candidate for its own table.
If a column is used as a key for more than one service then it is preferred to be a primary key and therefore in its own table (each table can have only one primary key).
Keys are preferred to be unique or at least strong (non-repetitious).
A first level analysis of column usage is shown in Table 4.1.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:38 FAX Smoorenburg Attorneys IP AUSTRALIA lj3/8 R038/089 X.600 Table EID AID VID Value Value Paren Alias Name Name Path Service Norm Raw t ___Norm Raw- Navigate H R R SR Read 0 S R R Compare 0 S S S- R List H Sgearch .0 S/R S
(S)
filter Search- SIR R R -R
R
result Add 1-/O S Remove i-/O S Modify 0 S S S S Modify 1-/O S S S
S
RDN I_ Table 4.1 Basic column usage Key to symbols in the above table: H Hierarchy table 0 Object table S Supplied value (used in the SQL for Searching the table) R Returned value (value retrieved from the tables) item may or may not be present depending on the options of the service.
From the above information and further analysis, the Conceptual Design tables can be decomposed into a number of smaller tables as described in the following sections.
COMS ID No: SBMI-06641968 Received by IP Australia: ime 10:59 Date 2007-03-16 16/03 2007 FRI 10:38 FAX Smoorenburg Attorneys IP AUSTRALIA R039/089 4.2 Hierarchy Table Decomposition The Hierarchy table contains the following columns: EID Parent Path Alias AEID NameNorm NameRaw Table 4.2a Hierarchy Table The Hierarchy Table contains information about objects and their parents, their names, their absolute positions in the hierarchy and if they are aliases. This table can therefore be split into four tables: DIT, NAME, TREE and ALIAS.
The parent information is used for finding a given child or acting on entries that have a given parent. Finding a given child Parent 0, NameNorm "DATACRAFT") is the basis for Navigation and update checking (checking for the existence of an object before an Add or ModifyRdn). Acting on entries that have a given parent is used during List or OneLevel Search. Thus the DIT (Directory Information Tree) table has information required for Navigation, but allows its PARENT column to be used by other services.
EID PARENT ALIAS RDN Table 4.2b DIT Table An object is differentiated from its siblings via its Relative Distinguished Name (RDN). RDN's are returned for a List (in conjunction with a given Parent) or as part of a full Distinguished Name (Read, Search). Thus the NAME table has information required for returning names (the raw RDN).
EID RAW Table 4.2c NAME Table An object's absolute position in the hierarchy is necessary for building DN's (from which the raw RDN's are retrieved) and for expanding subtrees during Search. Thus the TREE table has information about an entry's Path (the sequence of EID's down from the root).
EID
IPATH
Table 4.2d TREE Table Alias information is cached so that every time an alias is encountered during Navigate it does not have to be repeatedly resolved. Thus the ALIAS COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:39 FAX Smoorenburg Attorneys IP AUSTRALIA a040/089 36 table only contains entries that are aliases. It is also used during OneLevel Search (in conjunction with the DIT Parent column) and Subtree Search (in conjunction with the Path column) to determine if there are any aliases in the search area.
EID A EID Table 4.2e ALIAS Table 4.3 Object Table Decomposition The Object table contains the following columns: EID AID VID I Disting ValueNorm ValueRaw Table 4.3a Object Table The Object Table essentially contains information for finding a particular value AID surname, ValueNorm "HARVEY") and for retrieving values AID surname, ValueRaw "Harvey"). This table can therefore be split into two tables: SEARCH and ENTRY.
The Search Table is used to resolve filters in the Search service. It is also used to find values during Compare, Modify and ModifyRDN. The Search table contains one row for each attribute value of each entry. Only the normalised values are stored in this table.
EID IAID IVID IDISTING NORM Table 4.3b- SEARCH Table The Entry table is used to return values in Reads and Searches. The Entry table contains one row for each attribute value for each entry. The RAW value is the value exactly as initially supplied when the entry was added or modified.
EID I AID VID RAW Table 4.3c- ENTRY Table 4.4 Attribute Table The Attribute table is essentially the same as the Conceptual Design. In practice the "type" field is only descriptive, since any incoming/outgoing X.500 COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:39 FAX Smoorenburg Attorneys IP AUSTRALIA Q041/089 37 Object Identifier gets converted to/from the internal attribute identifier, AID. Thus this column has been renamed DESC to signify that it is a description field.
AID I SYX I DESC Obectld Table 4.4 ATTR Table 4.5 Index Selection Performance when using SQL is achieved because the RDBMS is able to satisfy the query using a relevant index. This means that every query that has a condition (the "where" clause in SQL) is preferred to have an associated index (otherwise the RDBMS has to resort to a table level scan). However in practical RDMS's: The number of indexes is restricted; There may be a high overhead to maintain secondary indexes; Composite indexes may be required to satisfy any one query. Thus, if performing a query across columns type surname and value "SMITH") then separate indexes on type and value may not result in a fully indexed access. A composite index on both type and value may be required.
One innovation of the table decomposition in the previous sections is to maximise the use of primary indexes across tables. This reduces the number of secondary indexes they become primary indexes on their own table).
Following is a list of the indexes for each of the six tables used in the logical design.
Table Primary Key Secondary Index DIT PARENT, RDN EID NAME EID TREE PATH
EID
SEARCH AID, NORM EID, AID, VID ENTRY EID, AID, VID ATTR (cached) Table 4.5 Table indexes for the Logical Design The table design means that many queries can be handled without joins, giving substantial performance improvement.
The joins that are considered necessary are listed below: COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:39 FAX Smoorenburg Attorneys IP AUSTRALIA Q042/089 38 List for returning the RAW-RDNs under a given object (DIT joined with
NAME).
Search Subtree for finding EIDs that match a filter over a whole subtree (where the base object is not the root) (TREE joined with SEARCH).
Search OneLevel for finding EIDs that match a filter one-level under the base object (DIT joined with SEARCH).
S Search Aliases Subtree for finding all the aliases in a subtree (TREE joined with ALIAS).
S Search Aliases OneLevel for finding all the aliases under a given object (DIT joined with ALIAS).
Note that the above joins are first level joins between only two tables).
It is preferable not to use higher order joins.
4.6 input/Output Performance An innovation of decomposing tables around services, which increases the number of tables, is that the new tables are much smaller than the unfragmented tables. This can significantly reduce the amount of I/O for the following reasons: Row Size By reducing the number of columns in any row, the row width will be shortened. This means that more rows will fit onto a page (where it is assumed that one disk I/O returns one "page" of information). In combination with clustering below, whenever a set of rows need to be retrieved, only one (or a few) page(s) may actually have to be read off the disk when reading the attributes of an object, if the ENTRY table is keyed on EID, AID, VID then all the rows relating to that object will be together and will probably be on the same page).
Clustering Each of the fragmented tables is preferred to have their own (independent) primary key which enables them to cluster data according to how it is used. The primary key may dictate the "storage structure". Thus in the SEARCH table, if the primary key is on AID, NORM type, value) then all the data of the same type surname) and similar values Harvey, Harrison) COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:40 FAX Smoorenburg Attorneys IP AUSTRALIA 1043/089 39 will be clustered in the same area of the disk. This means that during a Search surnames beginning with "HAR") similar data will collected together on the one (or just a few) disk page(s). If the rows are small then the number of disk pages that have to be accessed is significantly reduced.
Caching Most commercial RDBMS's have the ability to cache pages frequently accessed. Since tables are effectively input Navigating using the DIT table), or output retrieving information from the ENTRY table) then similar requests Searches over the same portion of the Tree) will tend to result in frequently used pages being cached, meaning frequently invoked queries will gain significant benefits. Also the caching is more efficient since pages are "information intensive" as a result of small row size and clustering.
Management Smaller tables are generally easier to manage: e.g. viewing, creating indexes, collecting statistics, auditing, backups, etc.
LOGICAL METHODS This section describes methods of interrogating the Logical Design tables, with reference to Figure 2B.
Throughout this section, each X.500 method is defined and illustrated with an example. Referring again to Figure 4, which will be referred to in the following discussion as Table 5a, it can be seen thatTable 5a displays a small hierarchy tree which includes an alias reference. The corresponding Table contents are shown in Table
DIT
EID PARENT ALIAS_ RDN 1 0 0 DATACRAFT 1 1 NETWORKS 11 1 0 SALES 12 1 0 MARKETING 11 0 NETWORK PRODUCTS 20 0 CHRIS MASTERS 31 20 0 ALANA MORGAN 32 20 0 PETER EVANS COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:40 FAX Smoorenburg Attorneys IP AUSTRALIA Q~044/089
NAME
EID RAW 1 fDatacraftl [Networks'l 11 [Sales] 12 [Marketing]- (Network Products) lChris Masters] 31 (Alana Morgan] 32 [Peter Evans] NOTE: [..indicates a binary encoding of the exact data entry value.
TREE
EID PATH 1 1 1.10.
11 12 1.12.
1.11.20.
1.11.20,30.
31 1.11.20,31.
32 1.11.20.32.
ALIAS
I EID0 I A-EID 120 ATTRI BUTE SYX DESC
OBJECTID
Object Identif ie rSyltax objectClass 2.5.4.0 ~h~rp ntp afied~blectName 12.5.4.1 0 "ku 4 case lgnoreStringSyntax surname 2.5.4.4 7 Case lqnoreStringSyltax localityName 2.5.4.7 8 Case lgnoreStringSyltax stateOrProvinceName 2.5.4.8 9 Case IgnoreStririgSyfltax streetAddress 2.5.4.9 ICaselgnoreStriigSyftax organiZafiOnNaMO 12 13 CaselgnoreStringSyntax CaselgnoreStriigSyltax Case lgnoreStringSynltax organizationalUnitNarne 2 I54.1 2.5.4.11 rescriotion 2.5.4.13 I ID I J'J.1LOI'SJ'J~ I 16 17 18 PostalAddress CaselqnoreStrifl ylax Case IonoreS tring Syntax IAAA QQ -4.1 postalCode J2.5.4,17 nostOfficeBox t0k~nhAn~NIJmber Ir 1 k KF KnrQ rfnv 2.5.4,20 e ep one u, p IL ItelephoneNumber COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:41 FAX Smoorenburg Attorneys AUSTRALIA Ij4/8 Q045/089
SEARCH
EID AID VID DISTING NORM 1 0 0 0 2.5.6.4 1 10 0 1 DATACRAFT 1 16 0 0 266-268 MAROONDAH HIGHWAY 1_ 17 0 0 3138 0 0 0 2.5.6.1 1 0 1 DATACRAFT /SALES NETWORK PRODUCTS 11 0 0 0 2.5.6.5 11 11 G 1 SALES 11 13 0 0 SALES DEPARTMENT 12 -0 0 0 -2.5.6.5 12 11 0 1 MARKETING 12 13 0 0 MARKETING DEPARTMENT 0 0 0 2.5.6.5 11 0 1 NETWORK PRODUCTS 13 0 0 NETWORK PRODUCTS SECTION 0 0 0 2.5.6.7 3 0 1 CHRIS 4 0 1 MASTERS 12 0 0 SALES MANAGER 20 0 0 03 727 9456 20 10 .018 042 671 31 0 0 0 2.5.6.7 31 3 0 1 ALANA 31 4 0 1 MORGAN 31 12 0 0 SALES SUPPORT 31 20 0 0 037279455 32 0 0 0 2.5.6.7 32 3 0 1 PETER 32 4 0 1 EVANS 32 112 0 0 SALESPERSON -32 -F20 0 0 03 727 9454
ENTRY
EID AID VID RAW 1 0 0 [2.5.6.41 110 0 [Datacrafl 116 0 [266-268 Maroondah Highwayl 117 0 [3138] 0 0 [2.5.6.11 1 0 f Datacraft Sales Network Productsl I1 0 [2.5.6.51 11 11 0 [Sales] 11 13 0 [Sales Depart mentl 12 0 0 12 11 0 IMarketing] 12 13 0 [Marketing Department] 0 0 [2.5.6.51 11 0 [Network Products]l 2013 0 [Network Products Section) COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:41 FAX Smoorenburg Attorneys IP AUSTRALIA 42 Q046/089 31 31 31 31 31 32 32 32 32 0 3 4 12 20 20 0 3 0 0 0 0 0 1 0 0 [2.5.6.7] [Chris] [Masters] [Sales Manager] 727-94561 042 671] [2.5.6.7] lAlanal v 1, [Morgan] 4 12 20 0 3 4 12 0I O IMorgan] 0 0 0 0 0 0 ISales Support] S(03) 727-94551 [2.5.6.71 [Peter] [Evans] [Salesperson] 727-94541 I I 32 I 20 1 0 Table 5b: Example Tables NOTE: indicates a binary encoding of the exact data entry value.
5.1 Common Services Tree Navigation All X.500 services rely on navigating the directory tree, illustrated in Figure 3. The purpose of tree navigation is to retrieve the EID of the entry corresponding to the supplied Distinguished Name. Navigation begins from the root of the tree and continues down the tree until all the RDN's in a DN have been resolved (verified). This process is known as a "Tree Walk".
The DIT Table is the primary table used for tree navigation. Referring to the example hierarchy tree, illustrated as table 5a in Figure 3, resolution of the DN "Datacraft Sales Network Products Peter Evans" involves the following processes: Scan the DIT table for a row containing PARENT 0 "DATACRAFT". The EID for this row is 1, S Scan the DIT table for a row containing PARENT 1 "SALES". The EID for this row is 11.
Scan the DIT table for a row containing PARENT 11 "NETWORK PRODUCTS". The EID for this row is S Scan the DIT table for a row containing PARENT 20 "PETER EVANS". The EID for this row is 32.
and RDN and RDN and RDN and RDN COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:42 FAX Smoorenburg Attorneys IP AUSTRALIA 1047/089 43 The DN has now been resolved and any values relating to the object can be obtained from the Entry Table using the key EID 32.
Aliases Sometimes a DN can contain an alias, which is effectively another DN.
Aliases complicate the tree walk process because the tree walk cannot continue until the alias is resolved. This requires a separate tree walk for the alias.
As an example, consider the DN "Datacraft Networks Peter Evans".
The first two steps in resolving this DN would be: Scan the DIT table for a row containing PARENT 0 and RDN "DATACRAFT". The EID for this row is 1.
Scan the DIT table for a row containing PARENT I and RDN "Networks" The EID for this row is At this stage we discover that this entry is an alias. The Alias Table is checked to see if the EID of the alias has been cached. If this is the first time an attempt has been made to resolve this alias then the A_EID column in the Alias Table will be zero. For the purpose of discussion it will be assumed that this is the first time.
To resolve the alias, the DN of the aliased object must be determined.
This is stored in the "aliasedObjectName" attribute of the alias entry. The aliasedObjectName has an AID 1 (from the ATTR table) and so the DN is obtained from the Entry Table (RAW value) where EID 10 and AID 1.
In this example, the DN of the alias is "Datacraft Sales Network Products". This DN is resolved completely using the normal tree walking technique. The value of EID is At this stage, navigation continues for the unresolved RDN's in the original DN, namely "PETER EVANS". The last step required is then: S Scan the DIT table for a row containing PARENT 20 and RDN "PETER EVANS".
Once an alias has been resolved it can be added (cached) in the Alias Table. This table contains a reference, A_EID, to the aliased object. In the above example, an entry in the Alias Table with an EID of 10 would have an COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:42 FAX Smoorenburg Attorneys IP AUSTRALIA 048/089 44 A_EID of 20. Once an alias has been cached a tree walk is no longer necessary to resolve the alias.
Directory Paths When objects are added to the DIT table, a corresponding row is added to another table called the Tree Table. This table stores the list of the EID's which identify a "Path" to the object.
Distinguished Names Most services require the distinguished name to be returned in the Service Result. Using the directory path from the Tree Table, a DN can be constructed from the RAW RDN values stored in the Name Table.
Entry Information Selection Many of the X.500 Services are requested with an argument called "EntrylnformationSelection" or EIS. The EIS argument is used to indicate what information in the Entry should be returned. Basically, EIS can be optionally; no information attributes and values for selected or all attributes values only for selected or all attributes Entry Information Entry Information is a return parameter for Read and Search. It always contains the Distinguished Names of selected entries and, optionally, attributes and/or values as specified in the EIS argument of the request.
Common Arguments All of the X.500 Services pass a set of common arguments in the Service Request. Common Arguments contain information such as service controls (time limit and size limit), the DN of the requestor of the service and security information.
Common Results Some X.500 Services pass a set of common results in the Service Response. Common Results contain information such as security parameters, the DN of the performer of the service and an alias dereferenced flag.
5.2 Read Service COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:43 FAX Smoorenburg Attorneys IP AUSTRALIA R049/089 A Read operation is used to extract information from an explicitly identified entry.
X.500 definition Argument Description Name A Distinguished Name EntrylnformalionSelection The attributes and values to be returned (ie EIS) Common Arguments Result Description Entry Information The DN plus any attributes and values returned Common Results Method Perform a tree walk using the DIT table, resolving aliases if necessary.
Obtain the base EID.
Using PATH from the Tree Table and the RAW RDN's from the Name Table, build a DN.
If EIS specifies no attributes or values, just return the DN.
If EIS specifies ALL types and values, return the RAW values from the Entry Table for the matching EID.
if EIS specifies selected types and values, obtain the AID's from the Attribute Table and then return selected types and/or values for the matching EID.
Example: Read the entry "Datacraft Sales Network Products Peter Evans".
EIS is set to: attribute Types allAttributes, InfoTypes attributeTypesAndValues.
Using the DIT table perform a Tree Walk traversing EID's 1, 11, 20 and 32 for the normalised RDN's DATACRAFT, SALES, NETWORK PRODUCTS, PETER EVANS. The EID of the selected object is 32.
Extract the PATH from the Tree Table for EID 32. The PATH is 1.11.20.32.
Build aDN from the RAW values in the Name Table for EID's 1, 11, 20, 32.
Using the Entry Table and the Attribute Table, for each matching EID; S return the OBJECTID's from the Attribute Table and the ASN.1 encoded RAW values from the Entry Table COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:43 FAX Smoorenburg Attorneys IP AUSTRALIA 1050/089 2.5.4.0 2.5.4.3 2.5.4.4 2.5.4.9 2.5.4.20 [2.5.6.7]
[PETER]
[EVANS]
[SALESPERSON]
727-9454] return the DN 5.3 Compare Service A Compare operation is used to compare a value (which is supplied as an argument of the request) with the value(s) of a particular attribute type in a particular object entry.
X.500 definition Method S Perform a tree walk using the DIT table, resolving aliases if necessary.
Obtain the EID of the base object.
S From the Attribute Table, obtain the AID of the attribute to be compared.
From the Entry Table, select the row(s) matching the EID and AID.
Compare the value.
Return TRUE or FALSE as the Compare result.
If an alias is dereferenced, return the DN of the selected object, using the path from the Tree Table and the RAW RDN's from the Name Table.
Example Compare the DN "Datacraft Sales Network Products Peter Evans" with a purported AttributeValueAssertion of "title [Salesperson]".
Obtain the EID for the given DN using a TreeWalk. The EID of the selected object is 32.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:43 FAX Smoorenburg Attorneys IP AUSTRALIA Q051/089 47 Using the Attribute table, obtain the AID for "title", ie AID 12.
Using the Search Table locate rows with EID 32 and AID 12 and test for "NORM SALESPERSON".
Return TRUE or FALSE depending on the outcome of this test. In this instance the result would be TRUE.
Since no aliases were dereferenced, the DN of the entry is not returned.
5.4 List Service A list operation is used to obtain a list of immediate subordinates of an explicitly identified entry.
X.500 definition Argument Description Name A Distinguished Name Common Arguments Result Description DistinguishedName The DN of the selected object (returned if an alias is dereferenced) Subordinates A list of RDN's for the subordinate entries (aliases, indicated by an alias flag, are not dereferenced) PartialOutcomeQualifier An indication that an incomplete result was returned, eg, a time limit or size limit restriction.
Common Results Method S Perform a tree walk using the DIT table, resolving aliases if necessary.
Obtain the EID of the base object.
Using the DIT and Name Tables return the ALIAS flag and the RAW RDN PARENT is equal to the EID of the base object.
Example Perform a list for the DN "Datacraft".
Obtain the EID for the DN using a TreeWalk. The EID of the selected object is For each EID with a PARENT 1 return the RAW RDN from the Name Table, ie, [Networks], [Sales], [Marketing] return the alias flags, ie, TRUE, FALSE, FALSE.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:44 FAX Smoorenburg Attorneys IP AUSTRALIA Q 052/089 48 As no alias was dereferenced in the tree walk, the DN of the selected object is not returned. Note also that the alias entry [Networks] is not dereferenced.
Search Service The Search Service is the most complex of all X.500 services. Search arguments indicate where to start the search (baseObject), the scope of the search (subset), the conditions to apply (filter) and what information should be returned (selection). In addition, a flag is passed to-indicate whether aliases should be dereferenced (searchAliases).
The possible values for subset are baseObject, oneLevel and wholeSubtree. Base object indicates that the search filter will only be applied to attributes and values within the base object. OneLevel indicates the Search filter will be applied to the immediate subordinates of the base object. Whole subtree indicates the Search filter will be applied to the base object and all of its subordinates.
A simple example of a filter condition would be: surname "EVANS" or telephoneNumber PRESENT.
X.500 definition Argument Description BaseObject The Distinguished Name of the baseObject Subset baseObject, oneLevel or wholeSubtree Filter search conditions SearchAliases a flag to indicate whether aliases among subordinates of the base object should be dereferenced during the search.
Selection EIS as for READ. The attributes and values to be returned.
Common Arguments Result Description DistinguishedName The DN of the selected object (returned if an alias is dereferenced) Entries Attributes values (as defined in selection) for the entries which satisfy the filter.
PartialOutcomeQualifier An indication that an incomplete result was returned, eg, a time limit or size limit restriction.
Common Results COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:44 FAX Smoorenburg Attorneys IP AUSTRALIA Q053/089 49 The search procedures for each search scope are outlined as follows Base Object Perform a tree walk using the DIT table, resolving aliases if necessary.
Obtain the EID of the base object.
Apply the filter to attributes and values in the Search Table with the EID of the selected object.
If the filter condition is matched, return the Entry Information from the Entry Table.
If an alias is dereferenced, return the DN using the Tree Table to extract the PATH and the Name Table to build the DN.
One Level Perform a tree walk using the DIT table, resolving aliases if necessary.
Obtain the EID of the base object.
Check to see if any aliases exist with PARENT EID and if so resolve them to obtain an aliases dereferenced list.
Using the Search and DIT Tables, apply the filter (attribute/value conditions) and the scope (PARENT EID of selected object and any aliases dereferenced). A list of matching EID's will be returned.
If an alias is dereferenced, return the DN using the Tree Table to extract the PATH and the Name Table to build the DN.
For each matching EID: Return the Entry Information obtained from the Search Table using the Entry Table (as per Read Service).
Whole Subtree Perform a tree walk using the DIT table, resolving aliases if necessary.
Obtain the EID of the base object.
Check to see if any aliases exist with PATH prefix matching the PATH of the selected object.
For each alias discovered, check to see if the alias points outside the current subtree and if it does repeat the previous step. Once all aliases have been resolved, a set of unique base objects will have been found (with no overlapping areas).
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:45 FAX Smoorenburg Attorneys IP AUSTRALIA Q054/089 Using the Search and Tree Tables, apply the filter (attribute/value conditions) and the scope (PATH LIKE PATH prefix of the selected object) to each unique base object. A list of matching EID's will be returned.
If an alias is dereferenced during Navigation (not during searching), return the DN using the Tree Table to extract the PATH and the Name Table to build the
DN.
For each matching EID: Return the Entry Information obtained from the Search Table using the Entry Table (as per Read Service).
Example Perform a search on the baseObject "Datacraft Sales" with: Scope set to WholeSubtree a Filter of "surname, substring initial (Look for all surnames beginning with SearchAliases set to TRUE.
S EIS set to attribute Types allAttributes, InfoTypes attributeTypesAndValues.
Method Obtain the EID for the base object DN using a TreeWalk. The EID of the base object is "11".
From the Tree Table, obtain the PATH for EID 11, ie, "1.11".
Check for any aliases among entries that have a path beginning with There are no aliases in this case.
Obtain the AID for the attribute "surname" in the Attribute Table, ie, 4.
Apply the filter and scope simultaneously. i.e. Using the Search Table, obtain a list of EID's from the target list where AID 4 and the value begins with joined with the Tree Table who's PATH is LIKE The matching EID's are 30 and 31.
Using the Entry Table and the Attribute Table, for each matching EID: -retum the OBJECTID's from the Attribute Table and the ASN.1 encoded RAW values from the Entry Table COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:45 FAX Smoorenburg Attorneys IP AUSTRALIA 1055/089 51 2.5.4.0, 2.5.4.3, [Chris], 2.5.4.4 [Masters] 2.5.4.9 [Sales Manager] 2.5.4.20 727-9456] 2.5.4.20 042 6711 2.5.4.0 [2.5.6.7] 2.5.4.3 [Alana] 2.5.4.4 [Morgan] 2.5.4.9 [Sales Support] 2.5.4.20 727-9454] 5.6 Add Entry Service An AddEntry operation is used to add a leaf entry either an object entry or an alias entry) to the Directory Information Tree.
X.500 definition Argument Description Object The Distinguished Name of the entry o be added Entry A set of attributes to add Common Arguments Result Description NULL
NULL
Method Using the DIT table, tree walk to the parent of the entry to be added (Parent EID).
Using the DIT table, check if the entry exists (check for RDN new RDN and PARENT Parent EID).
S If the entry does not exist, allocate a new EID and add the entry. Insert into the DIT Table, the Name Table, the Tree Table, the Search Table, the Entry Table and, if it is an alias entry, the Alias Table.
Example Under the object with a DN of "Datacraft Marketing" add an object with the following attributes and values.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:46 FAX Smoorenburg Attorneys AUSTRALIA iI5/8 Q 056/089 52 surname [Delahunty] commonName [Mary] title [Marketing Manager] telephoneNumber 727-9523] Obtain the EID for the base object DN using a TreeWalk. The EID of the base object is 12".
Using the DIT Table, look for a duplicate entry, ie, PARENT 12 and RDN ="MARY DELAHUNTY". No duplicates exist.
Add the following rows to the Tables shown.
DIT
EI I PARENT I ALIAS IRDN 33 11 J 0 MARY DELAHUNTY
NAME
IEID RAW 33 [Mar Delahunty
TREE
EID IPATH 33 1.12.21.
SEARCH
EID AID VID DISTING NORM 33 0 0 0 -2.5.6,7 33 3 0 1 DELAHUNTY 33 4 0 1 MARY 33 12 0 0 MARKETING MANAGER 33 20 0 0 037279523
ENTRY
EID AID VID RAW 33 0 0 [2.5.6.71 33 3 0 f~eahuntyl 33 4 0 f Mary] 33 12 0 [Marketing Manager] 33 20 0 1(03) 727-95231 COMS ID No: SBMI-06641968 Received by 113 Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:46 FAX Smoorenburg Attorneys IP AUSTRALIA Q057/089 53 5.7 Remove Entry Service A RemoveEntry operation is used to remove a leaf entry (either an object entry or an alias entry) from the Directory Information Tree.
X.500 definition Argument Description Object The Distinguished Name of the entry to be deleted Common Arguments Result Description NULL
NULL
Method Perform a tree walk using the DIT table. Obtain the EID of the base object.
If the entry exists, and it is a leaf entry, then for the condition EID EID of the selected object, delete from the DIT Table, the Name Table, the Tree Table, the Search Table, the Entry Table and, if it is an alias entry, the Alias Table.
Example Delete the object with a DN of "Datacraft Marketing Mary Delahunty" Method Obtain the EID for the base object DN using a TreeWalk. The EID of the base object is Check that no entries have PARENT 21.
Delete all rows added to the DIT Table, the Name Table, the Tree Table, the Search Table and the Entry Table (refer to Add Entry example) where EID 21.
5.8 Modify Entry Service The ModifyEntry operation is used to perform a series of one or more of the following modifications to a single entry: add a new attribute remove an attribute add attribute values remove attribute values replace attribute values modify an alias COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:46 FAX Smoorenburg Attorneys IP AUSTRALIA Q058/089 54 X.500 definition Argument Description Object The Distinguished Name of the entry to be modified Changes A list of modifications Common Arguments Result __Description NULL
NULL
Method Perform a tree walk using the DIT table. Obtain the EID of the selected object.
For the selected object, perform one or more of the following actions: Add Value, Delete Value, Add Attribute, Delete Attribute The operations required for each action are as follows: Add Value If the attribute exists, add the value to the Entry Table and the Search Table. Checks are: If the attribute is single valued test for an existing value; if the attribute is multi-valued check for a duplicate value.
Delete Value S For the Entry Table and the Search Table, if the value exists, delete it. A Distinguished Value cannot be deleted.
Add Attribute S If the attribute does not exist, add the Attribute Values to the Entry Table and the Search Table.
Delete Attribute For the Entry Table and the Search Table, if the attribute exists, delete it.
Delete all values with AID attr and EID base object. Naming attributes cannot be deleted.
Example Modify the Entry "Datacraft Sales Network Products Chris Masters" with the following changes: Delete Attribute and Value telephoneNumber 018 042 671 Modify Attribute and Value title Sales Assistant The Search and Entry Tables reflect the changes.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:47 FAX Smoorenburg Attorneys IP AUSTRALIA Q059/089
SEARCH
ENTRY
EID
AID
0 3 4 12 20
VID
0 0 0 0
RAW
[Chris] [Masters] [Sales Assistant] 727-94561
I
L 5.9 Modify RDN Service The ModifyRDN operation is used to change the Relative Distinguished Name of a leaf entry (either an object entry or an alias entry) from the Directory Information Tree.
SResult Description NULL
NULL
Method Perform a tree walk using the DIT table. Obtain the EID and Parent EID of the base object.
S Using the DIT table, check for equivalent entries and return error if one is found. An equivalent entry has RDN new RDN and PARENT Parent
EID.
Using the Name Table, replace the old RDN with the new RDN.
Using the DIT Table, replace the old RDN with the new RDN.
Using the Entry Table, insert the new value.
Using the Search Table, locate value old RDN and set DISTING to 0.
Insert the new value.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:47 FAX Smoorenburg Attorneys IP AUSTRALIA Q060/089 56 If deleteOldRDN is set to TRUE the procedures following the Tree Walk are as follows: S Using the DIT table, check for a sibling with the same name and an EID not equal to the base EID Using the Name Table, replace the old RDN with the new RDN.
Using the DIT Table, replace the old RDN with the new RDN.
S Using the Entry Table, delete the old value(s) and insert the new value(s).
Using the Search Table, delete the old value(s) and insert the new value(s).
Example Modify the RDN of "Datacraft Sales Network Products Chris Masters". The new RDN is "Christine Masters".
deleteOldRDN is set to FALSE.
The changes to the Tables will be as follows:
DIT
I EID PARENT I ALIAS I RDN 21 11 0 CHRISTINE MASTERS
NAME
IEID
~RAW
21 [Christine Masters]
SEARCH
EID AID VID DISTING NORM 0 0 0 2.5.6.7 3 0 1 CHRISTINE 3 1 0 CHRIS 4 0 1 MASTERS 12 0 0 SALES ASSISTANT 20 0 0 037279456
ENTRY
EID AID VID RAW 0 0 [2.5.6.7] 3 0 [Christine] 3 1 [Chris] 4 0 [Masters] 12 0 [Sales Assistant] 20 0 727-94561 COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:47 FAX Smoorenburg Attorneys IP AUSTRALIA R061/089 57 5.10 Complications If error, limit or abandon occurs during processing of any of the services, then the processing is discontinued and an appropriate error message returned.
Errors Each X.500 service consists of 3 parts; ARGUMENT, RESULT and ERRORS. In the above descriptions of the services, ARGUMENT and RESULT have been included in the X.500 definitions. Error conditions, however, are many and varied and no attempt is made to describe them in this document. The National Institute of Standards and Technology (NIST) document "Stable Implementation Agreements for Open Systems Interconnection Protocols: Version 3" provides a full coverage of errors for the X.500 standard.
Time Limit Size Limit Time Limit and Size Limit form part of Service Controls. They can be optionally set to some finite limit and included in the Common Arguments.
Time Limit indicates the maximum elapsed time, in seconds, within which the service shall be provided. Size Limit (only applicable to List and Search) indicates the maximum number of objects to be returned. If either limit is reached an error is reported. For a limit reached on a List or a Search, the result is an arbitrary selection of the accumulated results.
Abandon Operations that interrogate the Directory, ie Read, Compare, List and Search, may be abandoned using the Abandon operation if the user is no longer interested in the results.
Aliases Search If an alias is encountered in a search and that alias points to a separate branch of the directory tree, then dereferencing of the alias requires: Navigation from the root entry to the referenced entry Searching of all items subordinate to the referenced entry In the example shown in Figure 5, if a WholeSubtree Search was performed on a base object of "Telco Corporate Data Services" the entries "Mervyn Purvis" and the alias "Strategic" would be searched. Strategic, however, points to a different branch of the tree which requires searching of the COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:48 FAX Smoorenburg Attorneys IP AUSTRALIA 0062/089 58 entry "Strategic" and all of its subordinates, ie, "Alan Bond", "Rex Hunt", "Wayne Carey" and "John Longmire".
5.11 Implementation Optimisations The Logical methods include a number of optimisations that enhance performance. These methods are outlined below.
Caching The Attribute table can be cached. This means that (apart from initial loading of the attributes) no SQL statements need to be issued to the database when decoding or encoding the attributes. In the present X.500 system attribute conversions are performed in memory. This provides a substantial speed advantage.
Validation Query validation is performed in memory where possible. This avoids database rollbacks which are time and system consuming. For example when adding an entry each attribute is validated before any attempt is made to add the entry. If an error is found then no SQL calls need to be issued.
Optimise Query Handling As the format of most services is known, many instances of these services can be resolved using static SQL statements. More complex services, such as searches with complex filters, can be resolved using dynamic SQL. This enables arbitrarily complex searches to be performed.
Parallel Queries Also when processing search results the present system utilises set orientation queries of SQL to avoid 'row at a time' processing. Thus search results may be assembled in parallel in memory.
Data Storage The tables that store raw data store the data in ASN.1 format. This provides an efficient means of transferring data into or out of the database.
Database Techniques Complex services can be further improved by using the query optimiser, which provides a mechanism for reducing the time spent in resolving the query.
The use of a relational database also provides an efficient use of memory and COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:48 FAX Smoorenburg Attorneys IP AUSTRALIA 0063/089 59 enables large databases to be constructed without the need for large amounts of memory being available. Many other X.500 applications cache the entire database in memory to achieve performance. This method consumes large amounts of memory and is not scalable.
6. PHYSICAL DESIGN The physical design results from a process called physical transformation of the logical design. The physical design represents a preferred realisation or embodiment of the logical design. Figure 2B and the tables below show one form of the physical design. New columns and tables are highlighted by double borders.
DIT
EID PARENT IRDNKEY RDN FLAGS
NAME
EID RAW
FLAGS
TREE
EID LEV1 LEV2 LEV3 LEV4 PATH I FLAGS
INFO
MAXEID FLAGS
ALIAS
EID I AEID FLAGS
SEARCH
EID AID VID NORMKE NORM FLAGS
Y
ENTRY
EID AID VID RAW
FLAGS
BLOB
EID AID VID IVFRAG I RAW i FLAGS COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:49 FAX Smoorenburg Attorneys IP AUSTRALIA 1064/089
ATTR
AID SYNTAX DESC IOBJECTID
FLAGS
SENTRY
EI D AID VID VALUE FLAGS
OCLASS
OCID IDESC OBJECTID MUSTLIST MAYLIST SUPERLIST FLAGS Table 6 Physical Design The reasons for the above changes are described below.
6.1 Efficiency INFO Table This table holds the highest EID value that has been used in the database. The inclusion of the INFO table enables the next EID to be obtained without any calculation of the maximum EID being performed by the database.
This provides improved efficiency in adding entries to the database. More importantly the inclusion of the INFO table removes contention problems which may occur when multiple DSA's are adding entries at the same time.
Shadow Keys Three tables have had shadow keys added. These are: a) The NORMKEY column in the SEARCH table.
b) The RDNKEY column in the DIT table, c) The LEV1, LEV2, LEV3 and LEV4 columns in the TREE table.
Each of these shadow key columns is a shortened version of a larger column. They have been added to shorten the indexes on each table. This gives improved performance for any queries that use the indexes and it also improves disk space usage as small indexes take up less space than large indexes.
The shadow keys in the PATH table utilise the structured nature of the PATH. By being a composite key then exact matching can be used in the SQL instead of the "LIKE" operator.
e.g. WHERE LEV1 1 AND LEV2 10 AND instead of WHERE PATH LIKE COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:49 FAX Smoorenburg Attorneys IP AUSTRALIA 065/089 61 If each of the LEV columns has their own index, then a sub-tree search needs to only use the base object. e.g. LEV2=10, since all objects under entry will have LEV2=10.
SENTRY Table Some types of attribute values do not need to be normalised e.g. integer, boolean, date. Instead of storing them twice (SEARCH.NORM and ENTRY.RAW) they can be stored just once in a hybrid table called the SENTRY table. This reduces table sizes and increases storage efficiency at the cost of having to search two tables and retrieve from two tables.
OCLASS Table Most attributes have a wide variation in their values e.g. surnames could range from AALDERS to ZYLA with a great many different values in between.
However, Object Classes (whose values are Objectldentifiers or OlDs) have very few values e.g. in an organisation of 10,000 people, the only object classes in the directory may be for organisation, organisationalUnit and organisationalPerson (of which many may be the latter). The OCLASS table gives a numeric descriptor to an object class called an OCID. The OCID can then be stored in the SENTRY table and a mapping done whenever an Object Class is searched or retrieved. The other LIST columns store standard object class configuration information namely the must and may contain attributes and the inherited superclasses.
6.2 Portability BLOB Table This table has been included to hold "Binary Large Objects". The maximum size of a one row entry in the ENTRY table is limited by the length of the RAW field. This means that entries must be fragmented. Fragmented entries will occupy more than one row and so a VFRAG field must be used to denote the fragment of the entry that is being stored in a particular row.
There are two options for storing very large values: a) Add a "fragment flag" to the ENTRY table and store the entry in fragments over a number of lines, or COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:50 FAX Smoorenburg Attorneys IP AUSTRALIA R066/089 62 b) Add a BLOB table to store the entry and add a "BLOB flag" to the ENTRY table to indicate that this value is stored in the BLOB.
The second option has a number of advantages. Firstly, the inclusion of a BLOB table prevents the ENTRY table from becoming excessively large.
Generally most entries will be less than a few hundred characters in length, so the length of the RAW field in the ENTRY table can accordingly be reduced to cater for those entries and the RAW field in the BLOB table can be increased to a value approaching the maximum record size. This will make storage more efficient, i.e. reduce the amount of unused bytes in each column of each table and reduce the number of fragments needed for each entry in the BLOB table. It also means that each value will have only one entry in the ENTRY table and that the ENTRY and SEARCH tables maintain their one-to-one correlation. Secondly the use of a BLOB table enables the application to make use of any database support for Binary Large Objects. 64K Binary Columns).
6.3 Functional Extensibility FLAGS Columns FLAGS column(s) are preferred to be added. These column(s) have been added to provide extensibility to the design. Specific values can be added to the flags as new functionality is required, without changing the table structure.
Note: a) In the SEARCH table, the DISTING field may be absorbed into the FLAGS field.
b) In the DIT table, the ALIAS field may be absorbed into the FLAGS field.
The FLAGS column(s) may also provide a "summary" function for each of the tables. This means that the nature of an entry can be determined to some extent by checking the value of the FLAGS field. For example, a flag can be set, in the DIT table, when an entry is a leaf. Checking this flag is much simpler than checking for children of the entry.
The FLAGS column can also be used to store security information, whether an alias points inside its parents sub-tree, whether a value is a BLOB, etc, COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:50 FAX Smoorenburg Attorneys IP AUSTRALIA E067/089 63 7. EXAMPLE IMPLEMENTATION The following provides an example of system performance and capabilities. It is to be understood that the present inventions should not be limited to the following disclosure.
7.1 Overall system benefits The present invention is considered to provide enhanced performance over prior art implementations. Performance can be appraised in many ways, including: aliases; size (use of relational theory); complexity (use of query optimiser and search method(s)); extensibility (use of meta-data); and substantially without degrading efficiency (use of disk based model) and reliability (use of RDBMS).
The present invention is considered unique in its ability to claim performance improvement in all areas noted above.
7.2 Test results Performance testing of the present invention has been carried out, with the objectives of: Proving that an SQL based X.500 application can perform at subsecond speeds, dispelling a widely held myth in the marketplace that it is impossible to implement an X.500 DSA application as an integrated RDBMS application and achieve efficiency and performance.
Proving that the design of an SQL based X.500 application can outperform existing memory resident style X.500 designs, especially for databases in excess of 100K entries, a typical limit of current designs.
Providing a structured suite of tests that can demonstrate the above performance on demand for a wide variety of services and database sizes.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:50 FAX Smoorenburg Attorneys IP AUSTRALIA R068/089 64 Test results reveal the following Table 7A Service Database Size (number of entries) Operation Qualifier Detail 1K 10K 20K 50K 100K 200K BIND Anonymous 0.00 0.00 0.00 0,00 0.00 0.00 LIST level 1 4 items 0.05 0.05 0.05 0.05 0.05 0.05 level 3 4 items 0.06 0.06 0.06 0.06 0.06 0.06 level 4 100 items 0.22 0,23 0.23 0.24 0.23 0.24 READ level 4 1 item, all info 0.07 0.07 0,07 0.07 0.07 0.08 4 (via alias) 1 item, all info 0.07 0.07 0.07 0.07 0.07 0.07 SEARCH I level, equality 100 entries, 1 item 0.12 0.12 0.12 0.12 0.13 0.13 1 level, initial 100 entries, 1 item 0.13 0.14 0.15 0.15 0.15 0.14 1 level, any 100 entries, 1 item 0.30 0.35 0.33 0.32 0.36 0.29 1 level, final 100 entries, 1 item 0.24 0.35 0.31 0.30 0.35 0.28 subtree, equality 1K, 1 item, level 1 0.11 0.11 0.11 0.11 0.11 0.11 1 item, level I xxx xxx 0.12 0.12 0.12 0.12 1 item, level 1 xxx xxx xxx 0.12 0.13 0.12 1 item, level 1 xxx xxx xxx xxx 0.13 0.13 100K,1 item, level 1 xxx xxx xxx xxx xxx 0.12 subtree, initial 1K, 1 item, level 1 0.13 0,12 0.12 0.12 0.12 0.11 1 item, level 1 xxx xxx 0.11 0.12 0.12 0.12 1 item, level 1 xxx xxx xxx 0.13 0.12 0.12 1 item, level 1 xxx xxx xxx xxx 0.13 0.12 100K,1 item, level 1 xxx xxx xxx xxx xxx 0.11 full, complex OR all entries, 1 item 0.09 0.09 0.09 0.09 0.09 0.09 full, complex AND all entries, 1 item 0.11 0.11 0.11 0.11 0.11 0.11 full, complex OR/AND all entries, 1 item 0.26 0.28 0.29 0.28 0.29 0.26 full, complex AND/OR all entries, 1 item 0.12 0.12 0.13 0.14 0.13 0.12 full, complex AND/ANDal entries, 1 item 0.16 0.15 0.16 0,17 0.18 0.18 full, complex all entries, 1 item 0.18 0.18 0.18 0.19 0.20 0.26 AND/AND/AND full, equality all entries, 1 Item 0.08 0.08 0.08 0.08 0.08 0.08 no filter, all-info all entries, 10 items 0.30 0.74 0.43 0.59 0.49 0.67 full, no filter, all-info all entries, 100 1.36 1.84 1.50 1.79 1.82 1.86 items full, initial all entries, 1 item 0.08 0.08 0.08 0.08 0,08 0.08 ADD level 5 100 sisters 0.22 10.19 0.22 0.20 0.19 0.19 MODIFY level 5 100 sisters 0.09 0.11 0.11 0.11 0.11 0.11 RENAME level 5 100 sisters 0.15 0.16 0.15 0.16 0.16 0.15 DELETE level 5 100 sisters 0.17 0.16 0.17 0.17 0.17 0.19 UNBIND 10.00 0.00 0.00 0.00 0.00o *Table 7A Notes: 1. All searches and reads return all info 2. All tests were performed under the following environment; Sun SparcStation 5 with 32Mb of memory (entry level UNIX machine) Ingres 6.4/04 configured for 32 users (standard Ingres installation) DSA prototype V2,1.2 Timings measured at DSA console (ie does not include network overheads) COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:51 FAX Smoorenburg Attorneys IP AUSTRALIA 9069/089 All numbers are in units of seconds and means 1,000's.
S7.3 Test Conclusions SA set of directories was constructed ranging from 1K to 200K entries with varying depth and width of the hierarchy, and a corresponding test plan was produced. The tests were performed a number of times to ensure consistency.
The following conclusions can be drawn from these results; 1. The effects of navigation, in test, were negligible.
c- 2. Reading an object via an alias, in test, showed no appreciable decrease in performance and in some cases reading an object via an alias was in fact faster C- 10 than reading the object directly. This is due to the reduced navigation required when an alias points "down" to an object that is deeper in the tree structure than the alias entry.
3. Search results were "flat" over different sized subtrees in different sized directories for both exact and initial string searches.
4. Initial and exact full tree searches, in test, were slightly quicker than their respective subtree searches, even though the number of entries searched was greater. This is due to the fact that the full tree searches are able to use more efficient SQL (no table joins are required).
All services were, in test, performed in under one second, except for searches returning large amounts of data. However the average time of retrieval per entry drops as the number of entries retrieved increases (e.g for 10 entries retrieval time is approximately 50 milliseconds per entry, for 100 entries this drops to approximately 20 milliseconds per entry).
6. All complex searches, in test, were performed in under one second.
However, there may be some obscure searches (e.g containing combinations of NOT) which may not perform as well.
Because this is a disk based system (rather than a memory based system) performance is essentially only dependent on the number of entries actually returned. It is relatively independent of the search complexity, the depth of the hierarchy, the number of attributes per entry or the types of attributes used in the query. In a "live" application of the system it may be possible to improve COMS ID No: SBMI-06641968 Received by IP Australia: lime 10:59 Date 2007-03-16 16/03 2007 FRI 10:51 FAX Smoorenburg Attorneys IP AUSTRALIA Ij7/8 Q070/089 66 on the achieved test results by tuning the caching parameters, and by having a greater diversity of attributes.
COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16

Claims (53)

1. A method of storing data in a database, the method including the step of: storing concurrently both a normalised form and a raw form of the data.
2. A method of locating data in a database, including the step of: locating data which matches a normalised form.
3. A method of providing a form in which data is provided as an output from a database, the output being in response to a directory service/query, the method including the step of: providing as the output, a raw form of the data.
4. A method as claimed in claim 1 or 3, wherein the raw form of data is stored in ASN.1 format. In a directory service system, having a database in which data is stored in a first form, being a raw form, and a second form, being a normalised form, a method of enabling data in and out of the database, the method including the steps of: in finding data in the database, a normalised form is used, and in enabling data out of the database, a raw form is used.
6. A method of storing data in a database, the method including the steps of: obtaining both a raw form of a data to be stored and a normalised form of said data; and storing concurrently both the normalised form and the raw form of said data.
7. A method of storing data in a database, as claimed in claim 6, wherein said obtaining step includes: COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:52 FAX Smoorenburg Attorneys IP AUSTRALIA Q072/089 68 first obtaining a raw form of a data and thereafter generating said normalised form from said raw form of the data.
8. A method of storing data in a database, as claimed in claim 6, wherein said storing step includes: maintaining both the normalised form and the raw form of the data for data base searching and data retrieval.
9. A method of storing data in a database, as claimed in claim 8, wherein said maintaining step includes maintaining said raw form and normalised form of a data in at least one table. A method of storing data in a database, as claimed in claim 9 wherein said maintaining step further includes correlating the storage location of said raw form and said normalised form in said at least one table.
11. A method of storing data in a database, as claimed in any one of claims 7 to 10, wherein said generating step includes: applying directory service attribute syntax rules to the raw data.
12. A method of enabling data to be arranged and/or stored in a database used in a directory service system, the method including the steps of: a. applying directory service attribute syntaxes rules to the data, and b. creating a normalised form of the data.
13. A method of enabling data to be arranged and/or stored in a database as claimed in claim 12, further including: c. storing said data and the normalised form of the data concurrently in at least one table. COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:52 FAX Smoorenburg Attorneys IP AUSTRALIA Q073/089 69
14. A method of enabling data to be arranged and/or stored in a database as claimed in claim 13, wherein said at least one table includes a plurality of columns and a plurality of rows, and said storing step includes storing said data and said normalised form of the data in related locations. A method of enabling data to be arranged and/or stored in a database as claimed in claim 14, wherein said locations in a table are related by being in a common row.
16. A method of enabling data to be arranged and/or stored in a database as claimed in claim 14 or 15, wherein said at least one table includes a HIERARCHY table and an OBJECT table.
17. A method of locating data in a database, wherein said data is stored linked to a normalised form of the data, including the step of: locating said data by searching on said normalised form of the data.
18. A method of locating data in a database, as claimed in claim 17, wherein said searching is performed using SQL.
19. A method of locating data in a database, as claimed in claim 17 or 18, wherein said searching is performed on an OBJECT table, including a plurality of columns and a plurality of rows. A method of locating data in a database, as claimed in claim 19, further including for a data entry: specifying an attribute ID (AID), said AID being stored in a first one of said plurality of columns and in a predetermined row; COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:53 FAX Smoorenburg Attorneys IP AUSTRALIA 1074/089 storing an entry ID (EID), said EID being stored in a second one of said plurality of columns and in said predetermined row; storing a normalised form of said data entry in a third one of said plurality of columns and in said predetermined row.
21. A method of formatting a find request for a database having stored therein objects including attributes each having a type and value(s), the method including: a. creating a database representation of the type (AID), and b. creating a database representation of the value(s) (NORM).
22. A method as claimed in claim 21, wherein step a. is performed by looking up an ATTRIBUTE table.
23. A method as claimed in claim 21 or 22, wherein step b. is performed by applying syntax normalization.
24. A method of locating objects stored in a database, the method including the step of applying AID and NORM to determine a matching object (EID), wherein the method of claim 21, 22 or 23 is used to determine AID and or NORM. A method of locating objects stored in a database, the method including the step of applying AID and NORM to determine a matching object (EID).
26. A method as claimed in claim 25 wherein the step of applying is performed using SQL. COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:53 FAX Smoorenburg Attorneys IP AUSTRALIA Q075/089 71
27. A method of retrieving contents of object(s) from a database, the method including the step of: a. finding row(s) which match a predetermined EID(s).
28. A method as claimed in claim 27 further including the step of: b. returning from the row(s), EID, AID and a raw form.
29. A method as claimed in claim 28, further including the step of: c. converting the result of step b. into objects containing attribute(s), each attribute having a type and value(s). A method of providing data as an output from a database, the output being in response to a directory service/query, the method including the steps of: processing said directory service/query to identify said data in the database; and providing as the output, a raw form of the data.
31. A method of providing data as an output from a database, as claimed in claim 30, wherein said processing step is based on other than said raw data.
32. A method of providing data as an output from a database, as claimed in claim 31, wherein said processing step comprises a comparison of data directly corresponding to said raw data but in normalised form.
33. In a directory service system, having a database in which data is stored in a first form, being a raw form, and a second form, being a normalised form, a method of transferring data into and out of the database, the method including the steps of: finding data in the database using a normalised form; and transferring data out of the database using a raw form. COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:53 FAX Smoorenburg Attorneys IP AUSTRALIA Q076/089 72
34. A database apparatus including: means for obtaining both a raw form of a data to be stored and a normalised form of said data; and a storage medium for storing concurrently both the normalised form and the raw form of said data. A database apparatus for storing data in a database, as claimed in claim 34, wherein said means for obtaining includes: means for first obtaining a raw form of a data and thereafter generating said normalised form from said raw form of the data.
36. A database apparatus for storing data in a database, as claimed in claim 34 or 35, wherein said storage medium is operative to maintain both the normalised form and the raw form of the data for data base searching and data retrieval.
37. A database apparatus for storing data in a database, as claimed in claim 36, wherein said storage medium is operative to maintain said raw form and normalised form of a data in at least one table. A database apparatus for storing data in a database, as claimed in claim 36 or 37, wherein said storage locations of said raw form and said normalised form of data are correlated in said at least one table.
39. A database apparatus for storing data in a database, as claimed in any one of claims 35 to 38, further including: means for applying directory service attribute syntax rules to the raw data. COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:54 FAX Smoorenburg Attorneys IP AUSTRALIA @077/089 73 An apparatus for enabling data to be arranged and/or stored in a database used in a directory service system, including: a. means for applying directory service attribute syntaxes rules to the data; b. means for creating a normalised form of the data; and c. means for storing said data and the normalised form of the data concurrently in at least one table.
41. An apparatus for enabling data to be arranged and/or stored in a database as claimed in claim 40, wherein said at least one table includes a plurality of columns and a plurality of rows, and said storing step includes storing said data and said normalised form of the data in related locations.
42. An apparatus for enabling data to be arranged and/or stored in a database as claimed in claim 41, wherein said locations in a table are related by being in a common row.
43. An apparatus for enabling data to be arranged and/or stored in a database as claimed in claim 40, 41 or 42 wherein said at least one table includes a HIERARCHY table and an OBJECT table.
44. An apparatus for locating data in a database, wherein said data is stored in a table and linked to a normalised form of the data, including: means for locating said data by searching on said normalised form of the data. An apparatus for locating data in a database, as claimed in claim 44 wherein said searching is performed using SQL. COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:54 FAX Smoorenburg Attorneys IP AUSTRALIA Q078/089 74
46. An apparatus for locating data in a database, as claimed in claim 44 or wherein said searching is performed on an OBJECT table, including a plurality of columns and a plurality of rows.
47. An apparatus for formatting a find request for a database having stored therein objects including attributes each having a type and value(s), the apparatus including: a. means for creating a database representation of the type (AID), and b. means for creating a database representation of the value(s) (NORM).
48. An apparatus as claimed in claim 47, wherein said means for creating is operative to create a representation by looking up an ATTRIBUTE table.
49. An apparatus as claimed in claim 48, wherein said means for creating is operative to create the data base representation by a means for applying syntax normalization. An apparatus as claimed in claim 47, 48 or 49, which is operative to determine AID and or NORM.
51. An apparatus as claimed in claims 49, wherein the means for applying uses SQL.
52. An apparatus for locating objects stored in a database, the apparatus including means for applying AID and NORM to determine a matching object (EID). COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:55 FAX Smoorenburg Attorneys IP AUSTRALIA o079/089
53. An apparatus as claimed in claim 52, wherein the means for applying uses SQL.
54. An apparatus for retrieving contents of object(s) from a database, the apparatus including: a. means for finding row(s) which match a predetermined EID(s). An apparatus as claimed in claim 54, further including: b. means for returning from the row(s), EID, AID and a raw form.
56. An apparatus as claimed in claim 55, further including: c. means for converting the output of the means for returning into objects containing attribute(s), each attribute having a type and value(s).
57. In a directory service system, having a database in which data is stored in a first form, being a raw form, and a second form, being a normalised form, apparatus for transferring data into and out of the database, including: means for finding data in the database using a normalised form; and means for transferring data out of the database using a raw form.
58. A computer program product, including a storage medium for storing a computer program, the computer program being executable to perform a method as claimed in any one of claims 1-32.
59. A method as claimed in any one of claims 1, 3-10, 28 and 30-32, wherein the raw form of data is stored in ASN.1 format. A directory service system as claimed in any one of claims 33 and 57 wherein the raw form of data is stored in ASN.1 format. COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16 16/03 2007 FRI 10:55 FAX Smoorenburg Attorneys IP AUSTRALIA Q080/089 S76
61. An apparatus as claimed in any one of claims 34-38. wherein said raw data or data is stored in ASN.1 format.
62. A database operatively including the method of any one of claims 1 to 32.
63. A directory service system including the database of claim 62. S64 An apparatus operatively including the method of any one of claims 1 to S32. A directory service system including the apparatus of claim 64,
66. A method as claimed in claim 1, 3, 5, 6, 12, 17, 21, 24, 25, substantially as herein described with reference to the accompanying drawings.
67. A system as claimed in claim 33, 57 substantially as herein described with reference to the accompanying drawings.
68. An apparatus as claimed in claim 34, 40, 44, 47, 52, 54 substantially as herein described with reference to the accompanying drawings. COMS ID No: SBMI-06641968 Received by IP Australia: Time 10:59 Date 2007-03-16
AU2007201141A 1994-09-01 2007-03-16 Data Tolerance in a X.500 System and Methods Abandoned AU2007201141A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
AUPM7842 1994-09-01
AUPM9586 1994-11-21
AU2003201310A AU2003201310A1 (en) 1994-09-01 2003-03-17 Data tolerance in a X.500 system and methods

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU2003201310A Division AU2003201310A1 (en) 1994-09-01 2003-03-17 Data tolerance in a X.500 system and methods

Publications (1)

Publication Number Publication Date
AU2007201141A1 true AU2007201141A1 (en) 2007-04-05

Family

ID=37944484

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2007201141A Abandoned AU2007201141A1 (en) 1994-09-01 2007-03-16 Data Tolerance in a X.500 System and Methods

Country Status (1)

Country Link
AU (1) AU2007201141A1 (en)

Similar Documents

Publication Publication Date Title
EP0777883B1 (en) X.500 system and methods
US20080040365A1 (en) Table arrangement for a directory service and for related method and facilitating queries for the directory
US5794232A (en) Catalog services for distributed directories
US6374253B1 (en) System and method for generating hierarchical forward knowledge
US6625615B2 (en) Data processing system and method for multi-level directory searches
US6490589B1 (en) System and method for rewriting queries
US6865576B1 (en) Efficient schema for storing multi-value attributes in a directory service backing store
Yeo et al. A taxonomy of issues in name systems design and implementation
AU712451B2 (en) X.500 system and methods
AU2007201141A1 (en) Data Tolerance in a X.500 System and Methods
AU6175399A (en) Directory services system and methods with mapping
KR20070076154A (en) Apparatus for processing ldap queries for accessing a relational database and method thereof
AU6175099A (en) Data tolerance in a X.500 system and methods
AU2007201142A1 (en) Table arrangement for a X.500 System and Methods
AU2007201143A1 (en) Metadata in X.500 System and Methods
AU6175499A (en) Directory services searching system and methods
AU6175199A (en) Metadata in X.500 systems and methods
AU6175299A (en) Table arrangement for a X.500 system and methods
AU2007201149A1 (en) Directory Services System and Methods with Mapping
AU2007201145A1 (en) Directory Services Searching System and Methods
Davis Combining a flexible data model and phase schema translation in data model reverse engineering
Shi et al. Implementing LDAP Directory Hierarchy with Relations
Al-Soufi Derpartment of Computer Science, University of Bahrain

Legal Events

Date Code Title Description
MK4 Application lapsed section 142(2)(d) - no continuation fee paid for the application