Edit, composition, or storage control

Method and configurable model for storing hierarchical data in a non-hierarchical data repository

6986102

Abstract

A web-based system, method and program product are provided for adding content to a content object stored (e.g., a custom compilation or prepublished work) in a data repository as a group of hierarchically related content entities. Each noncontainer content object is preferably stored as a separate entity in the data repository. Each content entity is also stored as a row in a digital library index class as a collection of attributes and references to related content entities and containers. As the user selects desired objects for inclusion in a content object, the system arranges the objects hierarchically, e.g., into volumes, chapters and sections according to the order specified by the user. The system then creates a file object (e.g., a CBO) defining the content object that contains a list or outline of the container and noncontainer entities selected, their identifiers, order and structure. This file object is stored separately in the data repository. An aspect of the invention is to provide a configurable model for storing hierarchically related data in a relational database.


Claims

What is claimed is:

1. A computer-implemented method for configurably loading a data object comprising a plurality of hierarchically related entities and information specifying the hierarchical relationship of the entities, comprising the steps of:

for each level of the hierarchy, defining a target location for storing entities of that level and a target location for storing inheritance information for entities of that level;

receiving as input the hierarchically related entities and the information specifying their hierarchical relationship;

for each entity, determining its hierarchical level from the information, and generating inheritance information for that entity; and

storing the entity and its inheritance information in their respective target locations,

wherein the target locations for entities of each hierarchical level further comprise one of an index class, an auxiliary index class, a table, and a part.

2. The method of claim 1, wherein ones of the entities have attributes, each attribute having a value and a first name, further comprising the steps of:

for a hierarchical level, defining a target location for storing attributes associated with each entity of that level, and defining a second name in the target location for each first attribute name;

receiving as input the hierarchically related entities and their associated attributes;

for each entity having an attribute, mapping the first name of the attribute to the second name of the attribute; and

storing the attribute in its target location under its second name.

3. The method of claim 2, wherein the target location for an attribute further comprises one of an index class, an auxiliary index class, a table and a part.

4. The method of claim 2, further comprising the step of assigning an identifier to each entity.

5. The method of claim 4, further comprising the step of storing each attribute of an entity with the identifier of that entity in the attribute target location.

6. The method of claim 2, wherein the attribute information of an entity is stored in the same target location as the entity itself.

7. The method of claim 1, wherein the target location for inheritance information further comprises one of an index class, an auxiliary index class, a table and a part.

8. The method of claim 1, further comprising the step of assigning an identifier to each entity.

9. The method of claim 8, further comprising the step of storing the inheritance information of each entity with the identifier of that entity in its target location.

10. The method of claim 1, wherein the inheritance information of an entity is stored in the same target location as the entity itself.

11. The method of claim 1, wherein the inheritance information further comprises one or more of a parent entity identifier, a child entity identifier, a sibling identifier, and an auxiliary index class row identifier.

12. The method of claim 1, wherein the data object further comprises an outline defining the order and structure of its entities.

13. The method of claim 12, wherein the relationship information further comprises the degree of indentation of an entity in the outline, all entities of a same hierarchical level having a same degree of indentation.

14. The method of claim 1, wherein the relationship information further comprises container labels.

15. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for configurably loading a data object comprising a plurality of hierarchically related entities and information specifying the hierarchical relationship of the entities, comprising the steps of:

for each level of the hierarchy, defining a target location for storing entities of that level and a target location for storing inheritance information for entities of that level;

receiving as input the hierarchically related entities and the information specifying their hierarchical relationship;

for each entity, determining its hierarchical level from the information, and generating inheritance information for that entity; and

storing the entity and its inheritance information in their respective target locations,

wherein the target locations for entities of each hierarchical level further comprise one of an index class, an auxiliary index class, a table, and a part.

16. The method of claim 15, wherein ones of the entities have attributes, each attribute having a value and a first name, further comprising the steps of:

for a hierarchical level, defining a target location for storing attributes associated with each entity of that level, and defining a second name in the target location for each first attribute name;

receiving as input the hierarchically related entities and their associated attributes;

for each entity having an attribute, mapping the first name of the attribute to the second name of the attribute; and

storing the attribute in its target location under its second name.

17. The method of claim 16, wherein the target location for an attribute further comprises one of an index class, an auxiliary index class, a table and a part.

18. The method of claim 16, further comprising the step of assigning an identifier to each entity.

19. The method of claim 18, further comprising the step of storing each attribute of an entity with the identifier of that entity in the attribute target location.

20. The method of claim 16, wherein the attribute information of an entity is stored in the same target location as the entity itself.

21. The method of claim 15, wherein the target location for inheritance information further comprises one of an index class, an auxiliary index class, a table and a part.

22. The method of claim 15, further comprising the step of assigning an identifier to each entity.

23. The method of claim 15, further comprising the step of storing the inheritance information of each entity with the identifier of that entity in its target location.

24. The method of claim 15, wherein the inheritance information of an entity is stored in the same target location as the entity itself.

25. The method of claim 15, wherein the inheritance information further comprises one or more of a parent entity identifier, a child entity identifier, a sibling identifier, and an auxiliary index class row identifier.

26. The method of claim 15, wherein the data object further comprises an outline defining the order and structure of its entities.

27. The method of claim 26, wherein the relationship information further comprises the degree of indentation of an entity in the outline, all entities of a same hierarchical level having a same degree of indentation.

28. The method of claim 15, wherein the relationship information further comprises container labels.

29. A system for configurably loading a data object comprising a plurality of hierarchically related entities and information specifying the hierarchical relationship of the entities, comprising:

means for defining, for entities at each level of the hierarchy, a target location in a data repository for storing entities of that level and a target location for storing inheritance information for entities of that level;

input means for receiving the hierarchically related entities and the information specifying their hierarchical relationship;

means for determining the hierarchical level of each entity received from the information, and generating inheritance information for that entity; and

means for storing the entity and its inheritance information in their respective, target locations,

wherein the target locations for entities of each hierarchical level further comprise one of an index class, an auxiliary index class, a table, and a part.

30. The system of claim 29, wherein ones of the entities have attributes, each attribute having a value and a first name, further comprising:

means for defining, for each hierarchical level, a target location for storing attributes associated with each entity of that level, and means for defining a second name in the target location for each first attribute name;

input means for receiving the hierarchically related entities and their associated attributes;

means for mapping the first name of each attribute received for an entity to the second name of the attribute; and

means for storing the attribute in its target location under its second name.

31. The system of claim 30, wherein the target location for an attribute further comprises one of an index class, an auxiliary index class, a table and a part.

32. The system of claim 30, further comprising means for assigning an identifier to each entity.

33. The system of claim 32, further comprising means for storing each attribute of an entity with the identifier of that entity in the attribute target location.

34. The system of claim 30, wherein the attribute information of an entity is stored in the same target location as the entity itself.

35. The system of claim 29, wherein the target location for inheritance information further comprises one of an index class, an auxiliary index class, a table and a part.

36. The system of claim 29, further comprising means for assigning an identifier to each entity.

37. The system of claim 36, further comprising means for storing the inheritance information of each entity with the identifier of that entity in its target location.

38. The system of claim 29, wherein the inheritance information of an entity is stored in the same target location as the entity itself.

39. The system of claim 29, wherein the inheritance information further comprises one or more of a parent entity identifier, a child entity identifier, a sibling identifier, and an auxiliary index class row identifier.

40. The system of claim 29, wherein the data object further comprises an outline defining the order and structure of its entities.

41. The system of claim 40, wherein the relationship information further comprises the degree of indentation of an entity in the outline, all entities of a same hierarchical level having a same degree of indentation.

42. The system of claim 29, wherein the relationship information further comprises container labels.


Description

CROSS REFERENCE TO RELATED APPLICATIONS

This application is related to the co-pending and commonly assigned patent applications listed below, which were filed herewith on Jan. 21, 2000 and are all incorporated by reference herein:

A System and Method for Creating Compilations of Contents

Ser. No. 09/489,576

Method and System for Adding User-Provided Content to a Content Object Stored in a Data Repository

Method and System for Adding User-Provided Content to a Content Object Stored in a Data Repository

Ser. No. 09/488,976

Method and System for Moving Content in a Content Object Stored in a Data Repository

Ser. No. 09/488,971

Method and System for Removing Content in a Content Object Stored in a Data Repository

Ser. No. 09/489,087

Prerequisite Checking in a System for Creating Compilations of Content

Ser. No. 09/488,969

Method and System for Preventing Mutually Exclusive Content Entities Stored in a Data Repository to be Included in the Same Compilation of Content

Ser. No. 09/489,265

Volume Management Method and System for a Compilation of Content

Ser. No. 09/489,090

Method and System for Calculating Cost of a Compilation of Content

Ser. No. 09/489,143

Method and System for Storing Hierarchical Content Objects in a Data Repository

Ser. No. 09/489,570

File Structure for Storing Content Objects in a Data Repository

Ser. No. 09/489,730

Providing a Functional Layer for Facilitating Creation and Manipulation of Compilations of Content

Ser. No. 09/489,605

A Hitmask for Querying Hierarchically Related Content Entities

Ser. No. 09/489,133

Appendix A to this application is set forth on a single compact disc and the material recorded thereon is incorporated by reference herein. The following file is recorded on the compact disc: file name: AppendixA.txt; file size: 107 kB; date of creation: May 16, 2002.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to content management, and more specifically, to a system, method and program product for creating compilations of content from hierarchical content stored in a data repository.

2. Background of the Invention

Content management systems have enabled content of all types, e.g., text, still images, moving images, and audio content, to be stored digitally. Content management systems include, for example, relational databases, digital libraries, and media servers. They have further provided functions for manipulating the content, e.g., searching and editing capabilities.

It would be desirable to enable a user to take advantage of vast stores of content to create compilations tailored to the user's needs or desires. For example, a university professor would find value in creating custom textbook tailored to a specific course from prepublished textbooks stored in a content management system. This compilation could be further enhanced to include associated multimedia materials. As another example, a music lover would benefit from a system that allows him to specify musical selections to be included in a custom album. Such systems would have to partition large content objects (e.g., albums, books, videos) into smaller, selectable objects (e.g., musical selection, chapter section, episode) for inclusion in a compilation.

SUMMARY OF THE INVENTION

A web-based system, method and program product are provided for creating a compilation of content stored in a data repository as a group of hierarchically related content entities, managing, displaying, and searching the content, then creating and exporting compilations of content for publication. Also provided are a system, data structure, method, and program product for storing content into a repository for use in creating a compilation of content.

The content is hierarchical in nature. Accordingly, entities at each level of the hierarchy except the lowest are defined by "containers". For example, in the case of textual content, the hierarchical structure of the data may include book containers, volume containers, chapter containers, and subsections (noncontainers, because they are at the leaf level of the hierarchy). In the case of audio content, the hierarchical containers may be album, compact disk, and musical selection, and excerpts of the musical selections are defined as noncontainers. In the case of video content, the hierarchical containers may include movies and excerpts from each movie, and frames are defined as noncontainers. If desired, the maximum size of a container may specified. For example, the volume size in a custom book is preferably determined using a threshold value defining maximum amount of content allowable for that container, and a procedure is provided for managing content entities and containers to maintain this maximum.

The hierarchical data and associated metadata are preferably stored in a digital library that includes search support. A web-based user interface is provided for presenting a user with a plurality of selectable objects, each object representing a subset of the hierarchical data (e.g., chapter subsections, musical excerpts, video excerpts, etc.). The plurality of objects may represent all subsets of the stored content or less than all of the subsets (e.g., categorizing the content and by providing a bookshelf for each category that a user may browse. The user then selects one or more of the objects for inclusion in a compilation (e.g., a custom textbook). Alternatively, the user may search the content by specifying search criteria through the interface. Additionally, the user may create new content, e.g., a new chapter or section, for inclusion in the final compilation by inputting user-provided material through the web interface. The system preferably stores the new content and creates a reusable, selectable object associated with the new content.

Each noncontainer content object is preferably stored as a separate entity in the data repository. Each content entity is also stored as a row in a digital library index class as a collection of attributes and references to related content entities. Each containter and noncontainer is associated with a unique identifier that preferably includes hierarchical information about its position in the hierarchy.

As the user selects desired objects for inclusion in a compilation, the system arranges the objects hierarchically, e.g., into volumes, chapters and sections according to the order specified by the user. The system then creates a file object (e.g., a CBO) defining the compilation that contains a list or outline of the content entities selected, their identifiers, order and structure. This file object is stored separately in the data repository.

The list or outline is presented to the user at the web interface as a table of contents, and may be edited through the interface. For example, the user may add content, delete content, or move content within and across containers. Editing the list or outline redefines the structure of the compilation. Once the user is satisfied with the organization of the compilation, it is submitted it for publication. The submitted compilation is then forwarded to an approval process and is accepted, rejected, or returned to the user with editorial comments appended by the editor.

An aspect of the invention is the calculation of the compilation's cost by estimating the amount of content it contains and determining a content cost based upon the content estimate. Optionally, a cost is assigned to each content entity in the data repository and these actual costs are summed as part of the cost estimation procedure.

Another aspect of the invention is to provide permission checking. Occasionally, it may be desired to prevent certain content entities from appearing a same compilation as other content entities. For example, an author may specify that his work can not be published in the same compilation as the work of another author. Permission checking first requires associating each container and noncontainer with any mutually exclusive containers or noncontainers. For example, such association may be achieved by defining a set of rules specifying containers and/or content entities that are mutually exclusive. Upon selection of a container or noncontainer to add to the compilation, the permission checking procedure determines if the container or noncontainer is mutually exclusive of any other containers or content objects, e.g., by consulting the rules. If so, the permission checking procedure then analyzes the compilation outline to determine whether any of the other mutually exclusive containers or noncontainers already exists in the compilation. If so, then the selected container or noncontianer is not added to the compilation and the user is notified that the content selected may not be included in the compilation. Otherwise, the content is added.

A further aspect of the invention is to provide prerequisite checking, wherein some entities are associated, e.g., by a set of rules, with content objects that are prerequisites to that object (e.g., front or backmatter associated with the subsection such as an introduction, appendix, or bibliography), and wherein selection by the user of an entity prerequisites causes automatic inclusion of all associated prerequisite objects in the final compilation.

Another aspect of the invention is the provision of a functional layer between the user interface and data repository for facilitating the creation, manipulation, storage and management of content objects in the data repository.

Another aspect of the invention allows a user to create multiple compilations concurrently. Yet another aspect of the invention allows a user to modify a compilation by creating a clone or copy of the compilation and applying user-specified changes to the copy (e.g., in the creation of a new edition or version of an existing work.)

Other aspects of the invention include a configurable model for storing hierarchically related data in a relational database, and a data structure for storing the data and associated metadata, whereby the hierarchical relationship of the data is preserved.

As a further aspect of the invention, queries are executed on the hierarchical containers and noncontainers through an application or user-interface. The results of the independent searches are merged using hit masks. A hit mask is a string of bits, each bit representing a query. For each container and noncontainer in the result set, a hit mask is generated and ones of the bits are set to indicate which of the queries the container or noncontainer satisfies. Container hit masks are OR-ed with their child containers and/or noncontainers to reflect inheritance. Containers and noncontainers with all bits set comprise the merged result set.

DESCRIPTION OF THE DRAWING

FIG. 1 is a block diagram representing the content management system according to the present invention;

FIG. 2 is a block diagram representing the content input path of the present invention;

FIG. 3 is a block diagram representing a digital library suitable for practicing the present invention;

FIG. 4 graphically represents the structures for storing content parts in a digital library;

FIG. 5 graphically represents the index classes used in storing content in a digital library;

FIG. 6 is a block diagram representing the path for creating and submitting compilations of content according to the present invention;

FIG. 7 represents parts of a compilation of content stored in the digital library;

FIGS. 8A-21B represent the interface of an embodiment of the present invention;

FIGS. 22A-22E represent the system administrator interface of an embodiment of the present invention;

FIG. 23 is a block diagram representing the path for approving and publishing compilations of content; and

FIG. 24 is a state diagram representing the states of a user, request and CBO at various stages of the process for creating compilations of content.

DETAILED DESCRIPTION

I. System Overview

FIG. 1 functionally depicts a system for creating compilations of content. It comprises three parts: a path for inputting content to the data repository (FIG. 2), a path for enabling a user to select content and organization from the data repository through a web-based interface for inclusion in a compilation of content (FIG. 3), and a path that interfaces with a publishing system for creating the compilation of content from the user's specification (FIG. 2). Each path will be described in detail below.

The present invention will now be described in terms of a specific embodiment for creating custom textbooks. The intended user group comprises university professors, for example. The content stored in the system comprises a plurality of published textbooks, broken down into hierarchically related objects: book, volume, chapter and chapter subsection.

Using the proposed system in this context, a university professor is able to access content from a collection of textbooks stored in a digital library and select books, volumes, chapters and/or chapter subsections for inclusion in a custom textbook, and is further able to create content objects for inclusion in the final work.

Although the specific embodiment is provided to facilitate the reader's understanding, it will be understood that present invention is of a much broader scope and may be applied in the creation of compilations of all types of content including text, image, audio and video content.

A. Receiving and Storing Content

In the exemplary embodiment of the invention, content and other information is input to digital library 20 through the input data path shown in FIG. 2. Briefly, the content and other information is input by a user in at an input interface represented by block & In the preferred embodiment, the input content is provided in SGML format, although other formats may be supported if desired. The content is forwarded by input application 8 to a converter 10 for conversion into the format expected by data loader 14.

After reformatting, converter 10 outputs the reformatted content and other information to a loader application 14. Loader 14 receives and maps the data for storage in the data repository according to a configuration model 12. According to the present example, the data repository is a digital library 20, and the configuration model 12 is specific to the IBM DB2(R) Digital Library data storage model. Loader 14 interfaces with the digital library 20 through the digital library client application 16. Using the configuration model 12, the content loader 14 is able to map the content and other information it receives in a manner appropriate for the structure of the underlying digital library 20. However, the loader 14 of the present invention may be reconfigured for other types of data repositories by defining a configuration model 12 for each data repository used. Thus if the data repository type is later changed, the configuration file 12 can be updated to reconfigure the input path without having to reprogram the loader application 14.

The elements of the input path will now be described in greater detail.

1. Digital Library

Examples of digital libraries suitable for use in the present invention are described in commonly owned U.S. Pat. No. 5,787,413 entitled "C++ classes for a digital library" issued to Kauffman et al., and U.S. Pat. No. 5,857,203 entitled "Method and apparatus for dividing, mapping and storing large digital objects in a client/server library system" also issued to Kauffman et al.

In the preferred embodiment of the present invention, the data repository comprises the commercially available IBM DB2 Digital Library. However, other commercially available data repositories may be used either in combination with, or in lieu of, the DB2 Digital Library.

Digital libraries are used to store and manage a wide variety of digital objects such as documents, graphics, audio, video, spread sheets and word-processing text. A conceptual view of a conventional digital library client/server system is shown in FIG. 3 and includes a library server 44, one or more object servers 48 and a library client 42. Each of the library and object servers and the library client includes an information store. That is, the library server 44 includes a library catalog 46, the is object server 48 includes an object store 50 and the library client 42 includes a client cache 40. The client applications interface to the digital library through an object-oriented API 16. Also, a communications isolator (not shown) is included which allows the library server 44, object server 48 and library client 42 to communicate with one another without concern for complex communications protocols.

The library server, object servers and library clients are connected by a communications network, such as a wide-area network (WAN), but also can be locally connected via a local area network (LAN). In the conventional library client/server system the library client 42 is typically embodied in a workstation, such as a personal computer, and the library server 44 and object servers 48 are typically embodied in a host processor: generally a mainframe computer environment such as a MVS/ESA environment running under CICS. The library server 44 uses a relational database such as the IBM DB2 Universal Database or the Oracle database as a library catalog 46 to manage digital objects and provide data integrity by maintaining index information and controlling access to objects stored on one or more object servers. Object servers can also use a relational database such as IBM DB2 or the Oracle database to manage their contents. Library servers and object servers run, for example, on AIX and Windows NT.

Library Server. The library server 44 directs requests from clients to update or query entries in the library catalog 46, which contains object indexes and descriptive information. Library server 44 additionally performs searches and routes requests to the appropriate object server 48 to store, retrieve, and update objects.

Each user is assigned a set of privileges for access to the library by a system administrator. Library server 44 checks library catalog 46 before processing a request to ensure that the user's name and password are valid, and to ensure that the user has been granted the appropriate privileges to perform the requested action. An example of a library privilege is the ability to delete objects. In typical implementations, there are groups of individuals who need access to the same objects. Therefore, to simplify the process of granting access to objects a system administrator can define patrons as members of a group. When a patron is defined as a member of a group, that patron is able to access any object for which the group has been granted privileges.

The library server 44 also checks to ensure that the object's owner has granted the patron the privileges needed to do what is requested (e.g., update the object). The owner of an object is the user who first stored the object. When an owner stores an object that owner must specify which other patrons are to have access to the object.

If a client request involves the storage, retrieval, or update of an object, library server 44 forwards the request to the object server 48 that contains or will store the object(s) referred to in the request based upon information provided by library catalog 46. If the client request is a query of the information stored in library catalog 46, library server 44 will interact only with the library catalog 46 and will not contact object server 20.

Library Catalog. The library catalog 46 is analogous to a conventional library's card catalog. It is a set of database virtual tables or index classes which contain an index of all the objects stored in the library system and the object servers owning them. Each row of these virtual tables or index classes references one or more stored objects. Implicitly, the first column of each index class contains a unique digital library item identifier (e.g., the IBM DB2 Digital Library ItemID) for the object referenced by its corresponding row. Other information stored in an index class may include textual descriptions for each object, information on the type of object (e.g., image object, spreadsheet, text document), user names and privileges, access authorization data for each object, links between objects, and an object's properties.

An item is a row in an index class and a part is a file within the object server 48 that is stored in an access managed directory structure. The management access of the directory structure is performed by the object server 48, but the directory structure responsibilities are performed by the operating system (i.e. AIX, NT, MVS).

The library server 44 contains a parts table 62, as shown in FIG. 4, which resides in the library catalog 46. For each part or object in the library system, library server 44 stores information about that part. As shown in the parts table 62 in FIG. 4, the information stored for a part includes the item identifier (ItemID), a part number (Part ID), a representation type (REP type) and an object server ID identifying which object server contains the object. In the presently described embodiment of the invention, the REP type is a default value (FRN$NULL).

When a part is stored in the conventional client/server library system 20, library server 44 assigns an item ID and a part number, which are 16 bytes and 4 bytes long, respectively. The item ID is a unique identifier for an item (i.e. row in the library server index class) to which the part belongs. For example, an item could represent a folder in which the part represents a document within that folder. Likewise, the part number is a unique identifier for that part.

The REP type field can be used to indicate the type or class in which the part is classified. For example, if the part is an image stored in a TIFF format, the REP type for that part could indicate that the part is a TIFF formatted image.

Object Servers. An object server 48 maintains objects stored within the library system. Objects are stored or retrieved from an object store 50 by object server 48. Object server 48 receives requests from library server 44 and communicates with library client 42 to complete the requests. Such a library system can contain several distributed object servers. Referring to FIGS. 3 and 4, the object server field in the library server's parts table 62 indicates the identifier for the object server 48 which owns the part. For example, if the part is stored on object store 50 of object server 48, the object server ID field will contain the identifier for object server 48.

Each object server 48 contains an object server table 64 as shown in FIG. 4. The object server 48 uses object server table 64 to manage storage of parts in its storage areas, such as the object store 50. Object server table 64 also contains the same item ID, part number and REP type for the part as does the library server parts table 62. The object server table also contains a file name for the part 66, which indicates the location in object store 50 of stored part 66.

When a user's privileges are defined a default object server can be set for that user. When the user stores an object, it will be stored in his default object server. If it is later determined that an object or a group of objects should be relocated to a different object server, a client application can cause those objects to be moved from one object server to another.

Library Client. The library client 42 is the interface through which application programs can submit requests to the library system. These can include requests to store objects, update/add descriptors to objects, delete objects and query information in the library catalog. Library requests can be submitted through the library client either individually or in batches.

The library client 42 includes a client cache 40 used to locally hold copies of objects that have been stored to or retrieved from the object server 48. These local copies allow very fast access to objects and provide a means for communicating between the library client 42 and the servers 44, 48.

Additional Search Support. IBM DB2 Digital Library includes parametric search support, and is integrated with text search support from the IBM Intelligent Miner for Text. The library server 44 may be further integrated with other search support 52. For example, image querying may be provided by IBM's Query by Image Content(QBIC) technology (see commonly owned U.S. Pat. No. 5,579,471 to Barber et al.).

In the present example for creating compilations of text, library server 44 is preferably coupled to the IBM Intelligent Miner for Text full text search support, allowing the user to automatically index, search, and retrieve documents based on a full text search. Text Miner allows users to locate documents by searching for words or phrases, abbreviations and acronyms, and proper names. In a typical LAN environment, a text search installation comprises one or more servers and several clients. The text search server program is installed on a machine with other Digital Library components. The text search client resides on client workstations and provides access to the server. Text search runs, for example, on AIX and Windows 95 and NT. In addition to the server and client components, text search uses dictionaries to support the linguistic processing of documents in different languages during indexing and retrieval. Dictionaries are installed on the server workstation, and at each client workstation.

Data Flow. Referring to FIGS. 3 and 4, when a requesting library client 42 requests an object, or blob, it sends a request to library server 44. Upon receipt of the request library server 44 consults the parts table 62, among other tables, in the library catalog 46 and determines which object server 48 owns and has the requested object stored in its object store 50. The request contains the item ID, part number and REP type of the requested part. Upon receiving the request, object server 48 retrieves the blob from object store 50 by consulting its object server table 64 and sends a copy of it to client 42. Object server 48 stores the blob in client cache 40. When the blob is successfully transmitted to client cache 40 object server 48 sends a response to library server 44 indicating a successful transfer of the blob to client cache 40. Library server 44, in turn, sends a response to requesting library client 42 indicating that the blob was successfully transferred, which allows the client 42 to retrieve the blob from client cache 40 for use by a client application.

When an application program submits a request for storage of an object in the library system, library client 42 creates a copy of the object in its client cache 40 to allow the appropriate object server 48 to retrieve the object. The library client then sends a storage request to library server 44. Included in the storage request is a handle to the object stored in the client cache 40. The handle is an identifier which is used to locate the object in the client cache.

Upon receiving the storage request, library server 44 updates tables in library catalog 46, including the parts table 62 shown in FIG. 4, to identify the object server 48 in which the object is to be stored. Typically, the object server 48 is selected by default based on the user's identity. Library server 44 then sends a request to object server 48 to retrieve the blob from the client cache 40 and store it in the object store 50. Included in the request is the handle of the object stored in client cache 40 and the item ID, part number and REP type of the part.

The object server 48, upon receiving the request to retrieve a copy of the object, retrieves the copy from client cache 40 and stores it in object store 50, then updates its object server table 64 accordingly to indicate a file name for the blob stored in object store 50. The file name uniquely identifies the location of the blob stored in object store 50.

Upon successfully storing a copy of the blob, object server 48 sends a response to library server 44 to notify it that the object was successfully stored. Library server 44 then updates its tables including the parts table 62 to indicate that the object is successfully stored in object server 48. The library server 44 sends a response to library client 42 indicating that the object was successfully stored so that the library client 42 can take further action based on the fact that the object was successfully stored in object store 50, such as deallocating memory resources for that object in client cache 32.

2. Data Model Definition

Storing content for use in creating a compilation of content first requires defining a Data Model, i.e., the constructs for mapping input content and other information in digital library 20. The data model is dependent on the constructs available within the underlying data repository. It is also defined by the nature of the content and information being input.

The content to be stored comprises products such as books, albums, images and videos. The content of each of these products may be organized hierarchically. For example, the hierarchy of a book may be defined by its volumes, chapters and chapter subsections. Since it is desired to create compilations of content from selected entities of these products, the content of the input products is partitioned into selectable entities. Information about the hierarchical relationship is also stored in the data repository. In the present example, other information to be stored includes user and content category definitions.

In the present example, the data repository is a digital library that includes a relational database, and the data model consists of entity groups defining the constructs in which the content is to be organized and stored within the relational database. Each entity group includes index class definitions, and may include part definitions. The parts store the actual content, and outlines describing the hierarchical relationship of the content entities. The index classes define relational tables for storing parametric attributes parametric (i.e. Integer, Float, Date, Time, String, Char, etc.) of the content, programs, and approval requests. The content index classes further include references to the parts containing them.

There are four entity groups in the present example: the Product Entity Group, the Program Entity Group, the CBO Entity Group and the Request Entity Group. The Product Entity Group defines the constructs for storing prepublished works or "products" in the digital library 20. These products provide the content from which a user can build a compilation of content. The Program Entity Group defines categories for content. In the present example these categories consist of academic programs. For example, "Freshman Engineering" is one program defined in the present example. The CBO Entity Group defines the constructs for storing a compilation of content. The Request Entity Group defines the contructs for storing information about requests for approval of compilations of content.

The following tables represent index class definitions, i.e., the meta definitions of the index classes. The rows within the figures define the columns of the index classes. For example, the ProductAux index class contains 8 columns: SeqID, ProductItem, ParentItem, SiblingItem, ChildItem, Keyword, Value and NextValueItem.

Each primary index class contains a fixed number of columns. The columns of the index class definitions for the primary index classes define the primary index class column name (first column from the left), attribute type (second column), and source of the attribute value for each column of the index class (third column). In some cases, an attribute value is passed to digital library 20 by the loader 14 application, and the second column of the definition table is used to map the external attribute names to the internal digital library attribute names. In other cases, the attributes are program generated, as is indicated by the value "program generated" in column two. In the index class definition tables below, a fourth column has been added to each table to describe each column. It shall be understood, however, that this column is only provided to facilitate the reader's understanding and is not a part of the index class definitions.

The primary index class columns are restricted to single value attributes. Those columns that are multivalued or were not known when the system was first created are placed into the auxiliary index class.

The Program Index Class, Product Index Class and Request Index Class each have an associated auxiliary index class (ProgramAux Index Class, ProductAux Index Class, and RequestAux Index Class). Use of auxiliary index classes is generally understood by those skilled in the use of digital libraries. Each row within an auxiliary index class defines an additional (theoretical) column to a ROW in the corresponding primary index class (NOT to the entire primary index class). The column is theoretical in the sense that the digital library 20 does not handle auxiliary index class rows as additional columns in the primary index class. Rather, the API layer 30 provides the mapping mechanism to enable this theoretical column notion. Therefore users perceive these auxiliary index class rows as additional columns for a row, but in actuality they are stored as rows within the auxiliary index class. Theoretically, the primary index class appears as a table containing multiple rows and each row contains the columns defined in the primary index class definition plus those columns defined by rows in the auxiliary index class. In other words, these auxiliary index class columns (a.k.a. theoretical columns) are bound to a row within the primary index class and not the primary index class itself.

The manner in which an auxiliary index class defines theoretical columns on rows of a primary index class will now be described with reference to the Product Entity auxiliary index class. The ProductItem column (represented as a row in the auxiliary index class definition, below) contains the itemid, a unique identifier for each row in the primary index class. This column forms the linkage between a row within the auxiliary index class and the corresponding row of the primary index class.

The keyword column of the auxiliary index class (not to be confused with the Keyword column of the auxiliary index class definition) represents the name of the theoretical column to be added to a row of the primary index class. The current domain of theoretical primary index class column names appears in the Keywords column of the product auxiliary index class definition, below (2nd column from left). For example, one theoretical column name is PubMedType.

Note: In the present example, the domain is not restricted by the digital library 20 other than that the names must not exceed the length of the keyword column definition. Therefore, the domain of theoretical primary index class column names can be continuously enlarged by simply adding additional columns to the auxiliary index class.

The Value column contains the value for the theoretical column identified by the auxiliary index class Keyword column.

In addition to defining additional theoretical primary index class columns, the auxiliary index class can store multiple valued theoretical columns and hierarchical theoretical columns. Similar to theoretical single valued columns, theoretical multiple valued columns can be represented within a relational datastore model by using rows of an auxiliary index class. In the single valued column, only one row is necessary. In the multiple valued column, two or more rows are necessary (1 row for each value needing to be stored). Each value in the multiple valued column is ordered. This order is then used to chain multiple rows within the auxiliary index class together. Furthermore, the NextValueItem column contains the unique identifier of the auxiliary index class row which follows in the multivalued chain.

For example, if one wishes to store a multivalued column, FirstName with values: Fred and Barney and the auxiliary index class row containing Barney in the Value column has a unique identifier equal to ABC then the NextValueItem column for the row containing Fred in the Value column is ABC. Thus, the NextValueItem serves as the pointer to the next value in the multivalued chain.

The ParentItem, SiblingItem and ChildItem columns in the auxiliary index class are used to store hierarchical attributes of a row. Since a book's data model is hierarchical, the concept of hierarchical attribute storage/retrieval is crucial. The ParentItem column of a row in the auxiliary index class contains the unique identifier or itemid of another row in the auxiliary index class that holds a parent attribute of the current row. Similar to the multivalued columns, the children of a container are ordered (chained together). The unique identifier of the auxiliary index class row containing the proceding child is stored in the SiblingItem field. A container's first child's unique identifier is stored in the ChildItem column of the container row, thereby constructing a link between the container and first child, first child and second child and all other children after.

For example, the ACGroup column in the product auxiliary index class is a hierarchical attribute. ACGroup contains child attributes: ACFORMID and NUMBERAC. This inheritance is identifiable by the tabbing of the terms in the keywords column of the figure. Each ACGroup attribute contains an ACFORMID and NUMBERAC. Therefore the ACGroup is a kind of container.

This attribute family is represented by three rows within the auxiliary index class: one representing an ACGroup, one representing the ACFORMID and one representing the NUMBERAC. The parentItem column for the ACGroup row is blank to indicate that it is a parent attribute, whereas the parentItem column for the ACFORMID and NUMBERAC rows contains the unique identifier of the ACGroup row. The ChildItem column of the ACGroup contains the unique identifier of the ACFORMID row. The SiblingItem column for the ACFORMID contains the unique identifier of the NUMBERAC row. The NUMBERAC row's SiblingItem is left blank representing the last child of ACGroup.

The Product and CBO Entity Groups are associated with Part definitions, since these entities define constructs for storing content in the digital library 20.

Product Entity Group

The Product Entity Group includes two index classes: Product Index Class and ProductAux (Auxiliary) Index Class. These index classes define the storage model for existing content products and their associated attributes to be stored. More specifically, they are used to generate a Product Index class in a relational database representing the content products, and the parts containing the actual content, prerequisite material and hierarchical product outline.

"Product" in this context refers to an existing content product such as a book, album or video. Since users will be selecting excerpts of existing content products to include in a compilation of content, each content product is stored as a group of hierarchically related entities. Entities at each hierarchical level of the work except the lowest is defined by containers. In the present example, the containers are "book", "volume", and "chapter". Each container is described by the subentities or "content entities" it contains. For example, each "book.c" container includes references to all chapters denoted by the keyword, "chapter.c", contained in that textbook product. Similarly, each "chapter.c" container includes references to all sections contained in that chapter. The lowest level of the hierarchy is a "section". All three entities (book.c, chapter.c and section) are described by a unique sequence identifier. Each entity is represented by a row in the Product Index class.

Product Index Class

The product index class defines a relational Product Index Class that is populated with a row for each content entity. Thus for textbook products the resulting product index class includes a row for each book, volume, chapter and section. In addition, each associated component for an entity is also represented by a row in the index class This index class is used as a quick reference for obtaining attribute information about each product entity, as well as a reference to the actual part numbers containing the product files.

Each product entity is assigned a unique identifier or sequence ID. Preferably, the sequence identifier further includes intrinsic information about the hierarchical level of the entity. To illustrate, the sequence ID used to represent textbook components is in the following form:

    • XXXXXXXXXX.CC.SS
      where XXXXXXXXXX represents a book's ISBN (International Standard Book Number?), CC represents the chapter number (if any) and SS represents the section number (if any). The CC and SS portions of a book entity sequence identifier will be zeroes. Similarly, the SS portion of a chapter entity sequence identifier will be zero. Thus the sequence number of a container serves as a reference to the subentities of that container, since all subentities will share the same ISBN and container reference number. For leaf entities, the sequence number is used as a reference to the entity's actual content in the data repository.
  • Index Class
    Attribute
    Name ATR Mapping Type Description
    SeqID SeqID Ext..Alpha [32] Unique sequence identifier for product entity
    INDEXED
    EntityType PSF Ext..Alpha [32] Entity type, e.g., book, chapter, section
    ParentItem Program generated Ext..Alpha [16] Unique internal ID of any parent entity (e.g. For
    a section entity, the parent would be its chapter
    container)
    SiblingItem Program generated Ext..Alpha [16] Unique internal ID of the next sibling entity
    (e.g. For a section entity, the siblings would be
    other sections of the same chapter.
    ChildItem Program generated Ext..Alpha [16] Unique internal ID of the first child entity (e.g.
    a chapter entity's children would be the sections
    it contains.
    AuxItem Program generated Ext..Alpha [16] Reference to first entry in the auxiliary table for
    this entity
    ProgramID PEID Alpha [4] Identifier of Program to which the product
    ACPEID belongs
    Status Status (SGML) Alpha [1] Indicates if entity is available for browse,
    ACStatus (AC) search or use in a CBO
    Title Title Alpha [250] Entity title
    ACTitle
    Subtitle Subtitle Alpha [250] Entity subtitle, if any
    ACSubtitle
    ISBN ISBN Alpha [10] Product ISBN
    ACISBN
    CDAOID CDAOID Ext. Alpha [8] Associated component attribute
    ACCDAOID
    YearOfPub YrofPub Numeric [1] *
    ACYrofPub
    Edition Edition Ext. Alpha [2] *
    ACEdition
    Revision Revision Alpha [2] *
    ACRevision
    Version ContentVer Ext. Alpha [8] *
    ACContentVer
    PubMediaType Ext. Alpha [20] Media type, e.g., compact disk
    ContentType ContentType Ext. Alpha [8] Content type, e.g., SGML
    ACContentType
    ContentFilename Filename Ext. Alpha [254] Name of file containing the entity's content
    ACGraphicFilename
    ImageType ACImageType Ext. Alpha [8] Type of image, e.g., TIF.
    CharCount SGMLCharCnt Numeric [8] Number of non-markup characters in content
    (used to calculate CBO price)
    ACImageCount ACImageCnt Numeric [3] Number of associated component images in
    content
    AvailabilityDate DateofAvailability Ext. Alpha [10] Date entity is available for use
    ACDateofAvail-
    ability
    ExpirationDate DateofExpiration Ext. Alpha [10] Date entity is no longer available for use
    ACDateofExpiration
    CreateDate CreateDate Ext. Alpha [14] Date that table entry was created
    ACCreateDate
    CreatedBy CreatedBy Alpha [8] Identifier of user who created entry
    ACCreatedBy
    LastModifiedDate LastModifiedDate Ext. Alpha [14] Last date entry was modified
    ACLastModified
    Date
    LastModifiedBy LastModifiedBy Alpha [8] Identifier of user who last modified entry
    ACLastModifiedBy
    PageCount PageCount Alpha [6] Actual page count of content (used in CBO
    pricing formula)

    Part Structures & Text Indices

    This table defines the digital library parts used to store each entity. For a row that represents a product entity, Part 1 contains the SGML content for a product entity. Parts 5-11 are parts containing subsets of that content that can be searched by Text Miner. The Text Index column contains the Text Miner indices for each of these searchable subsets. For a row that represents an entity's associated component, Part 20 contains the actual associated component file. (e.g., images).
    Part No. Description Text Index
    1 Content None
    5 Authored Abstract EABSTRAC
    6 Generated Abstract EABSTRAC
    7 Index Terms EIXTERMS
    8 Key Terms EIXTERMS
    9 Entity Structure Part None
    10 Teaching Concepts ETEACHCO
    11 Concepts Topics ETOPICS
    20 Associated Component None

    ProductAux Index Class

    In the present example, the auxiliary index class is used to define additional columns in specified rows of the Product Index class Specifically, each label in the Keywords column corresponding to the Keyword attribute defines the name of an additional column in the Product Index class The "value" attribute is the attribute type for each of these keywords. Indentations represent nested keywords. The SeqID, ProductItem, ParentItem, SiblingItem and ChildItem attributes specify the rows in the auxiliary Product Index class for storing hierarchical values. In the present example, "IndexTerm" is an example of a multi-valued attribute, meaning that there may be more than one index term defined for each program entity. For performance reasons, the values of a multivalued attribute may be stored in separate rows of the Product Index class Thus The "Next ValueItem" attribute identifies the row of the next item in a set of attribute values. Multivalued attributes are structured as linked lists when loaded into digital library 20, and this order is maintained in the auxiliary Product Index class
    Index Class
    Attribute
    Name Keywords Type Description
    SeqID PSF Ext. Alpha [32] Sequence ID of entity that this
    attribute belongs to
    ProductItem Program generated Ext. Alpha [16] Unique internal ID of the product
    index class row that this attribute
    belongs to
    ParentItem Program generated Ext. Alpha [16] Unique internal ID of the auxiliary
    product index class row that is this
    attribute's parent attribute
    SiblingItem Program generated Ext. Alpha [16] Unique internal ID of the auxiliary
    product index class row that is this
    attribute's next sibling attribute
    ChildItem Program generated Ext. Alpha [16] Unique internal ID of the auxiliary
    product index class row that is the
    first child attribute for this attribute
    Keyword PubMedType Alpha [32] Media type (e.g., compact disk, audio
    tape, paper, etc.)
    ACCounts AC (Associated Component)
    attribute group
      ACFORMID AC type.
      NUMBERAC The number for each AC type.
    IndexTerm Index term in a product entity
    KeyTerm Key term in a product entity
    ContribGroup This group defines properties re: one
     ContribRole contributing author of a prepublished
     ContribTitle book. Since a book can have multiple
     ContribFirstName contributors, more than one
     ContribMiddleName contribgroup of properties can exist
     ContribLastName for that book.
     ContribSuffix
     JobTitle
     ContribAffiliation
     ContribCredentials
    UseActuals Switch variable to determine if actual
    or estimated page count is to be used
    in calculating price.
    Value Value depends on specific Ext. Alpha Actual value for the keyword above
    attribute keyword above [254]
    NextValueItem Program generated Ext. Alpha [16] Unique ID of the auxiliary product
    index class row that is the next value
    in a multi-valued attribute.

    Program Entity Group

    It is sometimes desirable to categorize users and content to facilitate the creation of a compilation. For example, a system user who wishes to compile an album of classical music is not interested in viewing selections from a country music album. Audio content may therefore be categorized according to music type. The user may also be assigned to a particular category, either by default or by personal selection. In a system for creating custom textbooks, subsets are organized according to particular programs or disciplines. For example, prepublished textbooks may be assigned to categories such as Engineering, Mathematics, English, and so on. In the present example, these categories have been defined even more narrowly Freshman Engineering, Sophomore Engineering, etc.

    A Program Entity Group is used to define categories or "programs" to which users and prepublished content can be assigned.

    Program Index Class

    The Program Index Class definition below defines a Program Index Class or Program Index class that is populated with a row for each user/content category. This index class is used as a quick reference for obtaining attribute information about each program.
    Index Class
    Attribute Name ATR Mapping Type Description
    ProgramID PEProgramID Alpha [4] Program identifier, e.g. "FE" is the
    INDEXED identifier for "Freshman Engineering"
    Entity Type PSF Ext. Alpha Used when progreams are nested to define
    [32] hierarchical level of each program entity
    ParentItem Program generated Ext..Alpha Supporting hierarchical or "parent"
    [16] programs
    Tile PETitle Alpha [250] Program Title
    Subtitle PESubtitle Alpha [250] Program subtitle, if any
    AvgChrPerImage PEACAvgImageBytes Numeric [6] Average characters per image for products
    within this program
    AvgChrPerSGMLAC PEACAvgSGMLBytes Numeric [6] Average characters per SGML associated
    component for products within this
    program
    MaxChrPerUPMTier PECharsPerUPMTier Numeric [6] Maximum number of characters allowed
    for a UPM in this program
    Status PEStatus Alpha [1] Status indicating whether program entity
    is currently valid/invalid
    CreateDate PECreateDate Ext..Alpha Date table entry created
    [14]
    CreateBy PECreateBy Alpha [8] Identifier of user who created entry
    LastModifiedDate PELastModifiedDate Ext..Alpha Date entry was last modified
    [14]
    LastModifiedBy PELastModifiedBy Alpha [8] Identifier of user who last modified entry
    SiblingItem Program generated Ext..Alpha Related sibling programs providing
    [16] support for hierarchical programs.
    ChildItem Program generated Ext..Alpha Related child programs, if any, providing
    [16] support for hierarchical programs.
    AuxItem Program generated Ext..Alpha Reference to auxiliary table
    [16]
    SeqID PSF Ext. Alpha Unique program identifier, e.g., "FE" for
    [32] "Freshman Engineering"

    ProgramAux Index Class
    Index Class
    Attribute
    Name Keywords Type Description
    SeqID PSF Ext. Alpha Unique identifier (i.e., Sequence ID)
    [32] of this row.
    ProgramItem Program generated Ext..Alpha Unique internal ID of row within
    [16] auxiliary program index class that
    this attribute belongs to
    ParentItem Program generated Ext..Alpha Unique internal ID of row within
    [16] auxiliary program index class that this
    attribute's parent attribute belongs to
    SiblingItem Program generated Ext..Alpha Unique internal ID of row within
    [16] auxiliary program index that this
    attribute's next sibling attribute
    belongs to
    ChildItem Program generated Ext..Alpha Unique internal ID of row within
    [16] auxiliary program index that the first
    child attribute for this attribute
    belongs to
    Keyword PEReqCount Alpha [32] The next available unique identifier
    for a request
    PEACGroup This group defines associated
    component attributes used in the
    pricing formula
    PEACFormID AC type
    PEACByteCount Number of "characters" for that AC
    type
    PEPriceGroup This group defines more attributes
    used in pricing formula
    PECountry Country
    PEMonetaryUnit Monetary unit
    PEMinOrderPrice Minimum order price
    PEBaseCustPubPrice Base price added to every custom
    publication
    PEBaseUPMFee Base price added when UPM is
    included
    PEIncrUPMFee Additional price per UPM pricing
    block
    PESourcePricePerPage Price per page for prepublished
    content included
    PEUPMBytesPerPage Number of UPM characters in a page
    PEMinimumPageLimit Minimum number of pages required
    in a custom publication
    PEVolumePageLimit Maximum number of pages in a
    volume
    Value Value depends on specific attribute Ext. Alph
    keyword above [254]
    NextValueItem Program Generated Ext..Alpha Unique internal ID of row within
    [16] auxiliary program index representing
    the next value of a multi-valued
    attribute.

    CustomBookOutline Index Class

    The CustomBookOutline Index Class defines a relational CBO Index Class that includes a row for each compilation of content created. Each row further includes a reference to a part containing a road map or outline of the compilation of content. The index class is used as a quick reference for obtaining attribute information about a compilation, as well as for locating the corresponding part numbers. Again, the attributes are a matter of design choice.
    Index Class
    Attribute Name Source Type Description
    ProgramID Web application Ext. Alpha [4] Program identifier
    CBOTitle Web application Alpha [120] Custom Book title
    ApprovalStatus Program generated Alpha [1] Approval status, i.e., active, submitted, approved,
    rejected or printed
    UPMCharCount Program generated Alpha [8] Character count of any user-provided content
    RightsFee Program generated Alpha [8] License fee
    SGMLPageEstimate Program generated Alpha [4] Estimated page count for SGML content
    TotalPageEstimate Program generated Alpha [4] Estimaged total page count
    PriceEstimate Program generated Alpha [8] Estimated price
    ISBN Program generated Alpha [10] Unique ISBN assigned to the custom book at
    submission time.
    CreatorID Program generated Alpha [20] Creator's unique identifier
    CreatorTS Program generated Alpha [14] Timestamp representing time of current edit
    LastModifiedTS Program generated Alpha [14] Timestamp representing time last modified
    CBOTerms Program generated Ext. Alpha [32] Name of file containing terms and conditions that
    will apply to custom book?
    ActiveCBOPartID Program generated Alpha [3] Part number of active custom book
    LastUPMPartID Program generated Alpha [3] Part number of the last user-provided material
    added

    Part Structures & Text Indices

    The part definition describes the parts associated with each compilation. In the present example, three parts are defined: part 1 initially containing the custom book outline, part 2 initially containing a backup copy of the custom book outline for use in undo operations, and parts numbered 50 or higher containing user provided material (UPM). (Note: After undo, part 2 becomes the active CBO, and part 1 is the backup. The attribute value of "ActiveCBOPartID" indicates which is of these is currently the active part.) The first UPM added to a custom book is assigned to part 50, the second UPM added is assigned part 51, and so on. The last UPM part number assigned is stored in the CBO Index class defined above and serves two functions. It is a value that is retrieved and incremented each time new UPM is added. In addition, it serves as an indicator of how many parts the custom book currently contains.
    Part No. Description Text Index
    1 Part number for Active/ None
    Inactive CBO
    2 Part number for Active/ None
    Inactive CBO
    50+ Part numbers for None
    user-provided content

    Request Entity Group

    Whenever a compilation of content is submitted for publication, the Request Entity Group is used to generate an entry in a Request index class corresponding to the submission request. A unique ISBN is assigned to the CBO once it has been approved for publishing. Attributes are a matter of design choice. In the present example, they describe useful information about the custom book such as its unique identifier, author, approval status, price, etc.

    Request Index Class
    Index Class
    Attribute Name Source Type Description
    CBOID Program generated Ext. Alpha [20] Unique CBO identifier assigned at submission
    time
    Userid Program generated Ext. Alpha [20] Author
    ApprovalStatus Program generated Alpha [1] CBO state in the process
    0 - Active
    1 - Submitted
    2 - Approved
    3 - Rejected
    4 - Printed
    TotalPrice Program generated Numeric [9] Price of custom book
    QtyStudentCopies Web application Numeric [4] Number of student copies requested
    QtyDeskCopies Web application Numeric [2] Number of desk copies requested
    QtySupplements Web application Numeric [2] Number of books to be used as supplements
    NeedByDate Web application Ext. Alpha [10] Date needed by
    TermStartDate Web application Ext. Alpha [10] Start date of the school term for which this
    CBO is created
    TermName Web application Ext. Alpha [20] E.g., Spring, Fall
    University Web application Ext. Alpha [100] University name, e.g., Stanford University
    Department Web application Ext. Alpha [100] Department name, e.g., Electrical Engineering
    ClassName Web application Ext. Alpha [128] Class name, e.g., Engineering Basics
    ClassNumber Web application Ext. Alpha [12] Class number
    CourseNumber Web application Ext. Alpha [12] Course number, e.g., 101
    ShipToNameTitle Web application Ext. Alpha [12] *
    ShipToFirstName Web application Ext. Alpha [40] *
    ShipToLastName Web application Ext. Alpha [40] *
    ShipToAddrLine1 Web application Ext. Alpha [40] *
    ShipToAddrLine2 Web application Ext. Alpha [40] *
    ShipToAddrLine3 Web application Ext. Alpha [40] *
    ShipToCity Web application Ext. Alpha [40] *
    ShipToState Web application Ext. Alpha [20] *
    ShipToCountry Web application Ext. Alpha [20] *
    ShipToPostalCode Web application Ext. Alpha [20] *
    PackageISBN Program generated Alpha [10] The ISBN assigned to the entire book. This
    may be different from the ISBN's assigned to
    volumes within the book.
    CreateTS Program generated Alpha [14] Time entry created
    RequestID Program generated Ext. Alpha [16] Unique request identifier
    *Self-explanatory

    RequestAux Index Class

    The RequestAux Index Class is used in the present example to add additional columns to designated rows of the Request Index class when a CBO contains more than one volume. More specifically, if greater than one volume exists, the CBO and each volume it contains are each assigned a unique ISBN, and the Volume, VolumeISBN and VolumeID columns are added to the row representing the submission request. The RequestItem, ParentItem, SiblingItem and ChildItem attributes are used to identify the row to which these columns are added.
    Index Class
    Attribute
    Name Source Type Description
    RequestItem Program generated Ext. Alpha [16] Unique internal ID of row within request index
    class of entity that this attribute belongs to
    ParentItem Program generated Ext. Alpha [16] Unique internal ID of row within auxiliary request
    index class of entity that is this attribute's parent
    SiblingItem Program generated Ext. Alpha [16] Unique internal ID of row within auxiliary request
    index class of entity that is this attribute's next
    sibling (siblings are ordered)
    ChildItem Program generated Ext. Alpha [16] Unique internal ID of row within auxiliary request
    index class of entity that is this attribute's first
    child (children are ordered).
    Keyword Volume Alpha [32] The parent attribute of the volume information.
     VolumeISBN The child attribute of Volume which stores the
    ISBN of the volume.
     VolumeID unique internal ID of row within request index
    class of volume entity corresponding to this
    volume.
    Value Program generated Ext. Alpha [254]
    NextValueItem Program generated Ext. Alpha [16] Unique internal ID of row within auxiliary request
    index representing the next value of a multi
    valued attribute.

    Login/Registration Database Model

    The Users Table simply defines a relational table for storing user information. The fourth column represents if this is a primary key field and the fifth column represents if this is a foreign key field.

    USERS Table
    Table
    Column Table Table
    Table Column Table Column Null Column Column
    Name Datatype Option Is PK Is FK
    USERID VARCHAR2(30) NOT Yes No
    NULL
    DEPTUDID NUMBER(8) NULL No No
    UNIVUDID NUMBER(8) NULL No No
    DEPARTMENTID NUMBER(8) NULL No No
    UNIVID NUMBER(8) NULL No No
    USERNAME VARCHAR2(30) NOT No No
    NULL
    PASSWORD VARCHAR2(30) NOT No No
    NULL
    TITLE VARCHAR2(100) NULL No No
    FIRSTNAME VARCHAR2(30) NULL No No
    LASTNAME VARCHAR2(30) NULL No No
    ADDRESS1 VARCHAR2(80) NULL No No
    ADDRESS2 VARCHAR2(80) NULL No No
    ADDRESS3 VARCHAR2(80) NULL No No
    CITY VARCHAR2(50) NULL No No
    STATE VARCHAR2(2) NULL No No
    ZIP VARCHAR2(10) NULL No No
    COUNTRY VARCHAR2(50) NULL No No
    PHONE VARCHAR2(15) NULL No No
    EMAIL VARCHAR2(80) NOT No No
    NULL
    CHALLENGE VARCHAR2(255) NOT No No
    NULL
    RESPONSE VARCHAR2(255) NOT No No
    NULL
    SECURITY CHAR(1) NOT No No
    NULL
    TIMESTAMP DATE NULL No No
    CBOID VARCHAR2(64) NULL No No

    USERCBOS Table
    The USERCBOS table enables a user to have more than one active CBO at a time.
    Table
    Column Table Table
    Table Column Table Column Null Column Column
    Name Datatype Option Is PK Is FK
    USERID NUMBER(8) NOT Yes No
    NULL
    CBO VARCHAR2(100) NULL No No
    TIMESTAMP DATE NULL No No

    3. Input Interface

    An interface 8 is provided to the user for entering information to be stored in digital library 20. Information includes Program categories and prepublished content. The interface can be in a variety of forms, but it must be able to communicate with an OO Api layer 30 which is in the present embodiment comprises a C dll. The interface 8 of the present embodiment is a web based solution consisting of 22, 24, 26 and 28. Alternatively, application code 28 may provide the same function.

    In the present example, each prepublished content product is input as one SGML file. The hierarchical levels within that SGML file are discernible by their delimiting tag types Program information is provided as a field identifying the program for each prepublished content product. The program configuration information is defined in PSF/ATR files and loaded into the datastore using the loader 10.

    4. Converter

    Converter 10 receives the SGML files and uses the delimiting tags to separate the product entities and associated components. It also builds a file defining the hierarchical relationships of these entities and components, and extracts relevant product attributes. In the present example, the resulting files include four possible file types: a Product Structure File (PSF), Attribute Files (ATR), Content Component Files and Associated Component Files.

    Product Structure Files (PSF). For content, the Product Structure File provides a hierarchical outline of the contents in a prepublished product. More specifically, it is a parsable formatted file listing all of the entities making up a content product (e.g., a book container, volume containers, chapter containers and sections, each identified by its sequence identifier). This file is used as a road map (i.e., a list or table of contents) defining the content, order and hierarchical structure of the prepublished product, thereby relating a product's separately stored content entities. It is stored as a part in digital library 20. An example of a PSF file for a content product is shown below:
    PRODUCT.C:0130808598.00.00.00
    FRONTANDBACKELEMENT:0130808598.01.01.00
    FRONTANDBACKELEMENT:0130808598.01.02.00
    FRONTANDBACKELEMENT:0130808598.01.03.00
    FRONTANDBACKELEMENT:0130808598.01.04.00
    CHAPTER.C:0130808598.02.00.00
    FRONTANDBACKELEMENT:0130808598.02.01.00
    SECTION:0130808598.02.02.00
    SECTION:0130808598.02.03.00
    SECTION:0130808598.02.04.00
    SECTION:0130808598.02.05.00
    SECTION:0130808598.02.06.00
    FRONTANDBACKELEMENT:0130808598.02.07.00
    CHAPTER.C:0130808598.03.00.00
    FRONTANDBACKELEMENT:0130808598.03.01.00
    SECTION:0130808598.03.02.00
    SECTION:0130808598.03.03.00
    SECTION:0130808598.03.04.00
    SECTION:0130808598.03.05.00
    SECTION:0130808598.03.06.00
    FRONTANDBACKELEMENT:0130808598.03.07.00
    CHAPTER.C:0130808598.04.00.00
    FRONTANDBACKELEMENT:0130808598.04.01.00
    SECTION:0130808598.04.02.00
    SECTION:0130808598.04.03.00
    SECTION:0130808598.04.04.00
    SECTION:0130808598.04.05.00
    FRONTANDBACKELEMENT:0130808598.04.06.00
    CHAPTER.C:0130808598.05.00.00
    FRONTANDBACKELEMENT:0130808598.05.01.00
    SECTION:0130808598.05.02.00
    SECTION:0130808598.05.03.00
    SECTION:0130808598.05.04.00
    SECTION:0130808598.05.05.00
    SECTION:0130808598.05.06.00
    FRONTANDBACKELEMENT:0130808598.05.07.00
    CHAPTER.C:0130808598.06.00.00
    FRONTANDBACKELEMENT:0130808598.06.01.00
    SECTION:0130808598.06.02.00
    SECTION:0130808598.06.03.00
    SECTION:0130808598.06.04.00
    SECTION:0130808598.06.05.00
    SECTION:0130808598.06.06.00
    SECTION:0130808598.06.07.00
    SECTION:0130808598.06.08.00
    FRONTANDBACKELEMENT:0130808598.06.09.00
    CHAPTER.C:0130808598.07.00.00
    FRONTANDBACKELEMENT:0130808598.07.01.00
    SECTION:0130808598.07.02.00
    SECTION:0130808598.07.03.00
    SECTION:0130808598.07.04.00
    SECTION:0130808598.07.05.00
    FRONTANDBACKELEMENT:0130808598.07.06.00
    CHAPTER.C:0130808598.08.00.00
    FRONTANDBACKELEMENT:0130808598.08.01.00
    SECTION:0130808598.08.02.00
    SECTION:0130808598.08.03.00
    FRONTANDBACKELEMENT:0130808598.08.04.00
    CHAPTER.C:0130808598.09.00.00
    FRONTANDBACKELEMENT:0130808598.09.01.00
    SECTION:0130808598.09.02.00
    FRONTANDBACKELEMENT:0130808598.09.03.00
    CHAPTER.C:0130808598.10.00.00
    FRONTANDBACKELEMENT:0130808598.10.01.00
    SECTION:0130808598.10.02.00
    SECTION:0130808598.10.03.00
    FRONTANDBACKELEMENT:0130808598.10.04.00
    CHAPTER.C:0130808598.11.00.00
    FRONTANDBACKELEMENT:0130808598.11.01.00
    SECTION:0130808598.11.02.00
    SECTION:0130808598.11.03.00
    FRONTANDBACKELEMENT:0130808598.11.04.00
    FRONTANDBACKELEMENT:0130808598.12.01.00

    For program categories, the PSF file contains the unique program identifier. As an example, the contents of a PSF file for the "Freshman Engineering" program is shown below:
    • PROGRAM:fe


  • Attribute Files (ATR). Attribute files contain metadata about each program or product entity input. This information must be extracted by converter 10. These files are mapped to the program and product index class defined by the Program and Product index classes (using the ELOADER.INI file described below) and stored in digital library 20. There is one attribute file for each program and for each product entity to be stored. Examples of ATR files are shown below. The first is an ATR file for a "book":
    ;;
    ;; PRODUCT.C - ATR file - Created: 29 October 1999 21:55:06
    ;;
    ;; SeqID: 0130808598.00.00.00
    ;;
    !SKU:0000000014595
    !ISBN:0130808598
    !Title:Engineering Success
    !ContribGroup
    ! ContribFirstName:Peter
    ! ContribLastName:Schiavone
    ! ContribAffiliation:University of Alberta
    !PEID:FE
    !Status:0
    !PageCount:0
    !UseActuals:1
    !YrofPub:1999
    !Edition:01
    !Revision:00
    !Version:01.00
    !CreatedBy:BARKER
    !LastModifiedBy:BARKER

    The ATR for chapter 3 of the preceding book is shown below:
    ;;
    ;; CHAPTER.C - ATR file - Created: 29 October 1999 21:55:09
    ;;
    ;; SeqID: 0130808598.03.00.00
    ;;
    !SKU:0000000014618
    !Title:Introduction to Engineering and Engineering Study
    !AuthoredAbstract:“How much do you know about engineering?
    Why did you choose to study engineering?What reasons lead you to
    believe that you are ready and equipped to study engineering?What are the
    main differences between studying at a university and studying in high
    school?What new success skills do you need to succeed in engineering
    study?Can you write down 10 answers to each question I have asked you?
    Go ahead and try.”
    !AuthoredAbstract:This is often how I begin my lecture to freshman
    engineering students enrolled in an introductory engineering class. After a
    little thought, most of them realize just how little they know about this
    subject called engineering and (often despite excellent high school
    averages) how ill equipped they are to study engineering.
    !AuthoredAbstract:In this chapter, we address both issues. First, we ask
    the following questions:What is engineering?What do engineers do?Why
    choose to study engineering?
    !AuthoredAbstract:The answers to these questions are not only
    interesting and informative, but will help keep you motivated along the
    long, hard road to an engineering degree.
    !AuthoredAbstract:In , we address the question, “Are you
    prepared and equipped for engineering study?” In doing so, we
    examine the study skills required to succeed in the university environment.
    For many students, the university is the next logical step after high school,
    the next academic challenge. Consequently, they expect their freshman
    year in engineering to be much like another year of high school-which, of
    course, it isn’t. In engineering, such an exception often manifests
    itself in unacceptably high first-year attrition rates. We address this issue
    by focusing on what you need to do to ensure the best possible start to
    earning your engineering degree. Essentially, you must develop the
    necessary:Work strategiesStudy strategiesAttitudesCommunication
    skillsAbility to work as part of a teamTime management skills

    The ATR for section 3.2 of the same book is shown below:
    ;;
    ;; SECTION - ATR file - Created: 29 October 1999 21:55:09
    ;;
    ;; SeqID: 0130808598.03.02.00
    ;;
    !Filename:0130808598.03.02.00.sgm
    !CDAOID:AABQHDS0
    !IndexTerm:engineering
    !IndexTerm:defined
    !IndexTerm:engineering, study
    !IndexTerm:introduction to
    !IndexTerm:engineering, defined
    !Title:What Is Engineering?
    !SGMLCharCnt:2370
    !ACCounts
    ACFORMID:2
    NUMBERAC:1
    !AssociatedComponent
    ! ACPEID:FE
    ! ACCDAOID:AABQHDT0
    ! ACTitle:FIG1
    ! ACImageType:TIFF
    ! ACGraphicFilename:HiRes\AABQHDT0.TIF
    ! ACAuthoredAbstract:None
    @

    The ATR file for the "Freshman Engineering" program is shown below:
    ;;
    ;Program ID for Freshman Engineering set to "FE"
    !PEProgramID:FE
    !PETitle:Freshman Engineering
    !PESubtitle:
    !PEReqCount:ESOU002300
    ; !PERelatedMaterial:<value>
    !PEACGroup
    ! PEACFormID:1
    ! PEACByteCount:2
    ! PEACFormDesc:Inline Graphic
    !PEACGroup
    ! PEACFormID:2
    ! PEACByteCount:1000
    ! PEACFormDesc:Display Graphic
    !PEACGroup
    ! PEACFormID:3
    ! PEACByteCount:68
    ! PEACFormDesc:Inline Equation
    !PEACGroup
    ! PEACFormID:4
    ! PEACByteCount:180
    ! PEACFormDesc:Display Equation
    !PEACGroup
    ! PEACFormID:5
    ! PEACByteCount:2000
    ! PEACFormDesc:SGML
    !PEACAvgImageBytes:0
    !PEACAvgSGMLBytes:0
    !PECharsPerUPMTier:2000
    !PEPriceGroup
    ! PECountry:0
    ! PEMonetaryUnit:USD
    ! PEMinOrderPrice:1000
    ! PEBaseCustPubPrice:1000
    ! PEBaseUPMFee:0
    ! PEIncrUPMFee:10
    ;JDR add 1/21/99
    ! PESourcePricePerPage:10
    ! PEMinimumPageLimit:80
    ! PEVolumePageLimit:480
    ! PEUPMBytesPerPage:1000
    !PEStatus:F
    !PECreateDate:1998-12-07
    !PECreatedBy:UHANAED
    !PELastModifiedDate:1999-1-19
    !PELastModifiedBy:UHANAED


    Content Component Files (SGML). Content component files contain the product entities' actual ASCII or binary content that will be stored as parts in digital library 20. In the present example, these files comprise SGML files containing the ASCII text of chapter sections.

    Associated Component Files. Associated Component (AC) Files contain any non-SGML content associated with the product entities. The content in the associated component files is stored as parts in digital library 20.

    Both prepublished content and custom book outlines (CBO's), described below, are represented in the described file format. A feature of this format is that content objects such as a prepublished book or CBO are defined by the PSF file. Thus the PSF file may be used to redefine the content, order and structure of the content object without having to access the content itself. This feature proves useful in creating compilations of content, by simplifying the process for adding, moving and deleting content.

    Composite PSF & ATR Files. Out of the PSF and ATR format comes a third file format that is a composite form of PSF and ATR. For simplicity, this type is also referred to as a PSF+ATR format. One can think of this file as a merge of PSF and ATR files, where attributes from an entity's ATR file have been inserted after that entity in the .PSF. For example, it may be desirable to include certain attributes with a PSF file (e.g., author and price). It may be desirable to add certain attributes to the product structure file (e.g., author) when it is stored in the digital library. Accordingly, in the present embodiment, what is stored as "Entity Structure Part" described earlier is actually a composite form of PSF and ATR. For a book or product level entity, this file includes all entities in the book (including the book itself) and their attributes. For a chapter level entity, this file includes all entities in the chapter (including the chapter itself) and their attributes. For a section level entity, this file includes the section entity and its attributes. Attributes are also added to PSF files containing custom compilation outlines created by system users, and Equery result files. In the Equery results files, all of the entities returned are treated flat, namely at the same hierarchical level.

    An example of a composite file format is shown below:
    TopEntity1: sequenceID
    !Attribute1: value
    !Attribute2: value
    !Attribute3:
    ! Subattribute1: value
    ! Subattribute2: value
    !Attribute4: Value4
    SubEntity1: SequenceID
    !Attribute1: value
    !Attribute2: value
    SubSubEntity1: SequenceID
    !Attribute1: value
    !Attribute2: value
    SubEntity2: SequenceID
    !Attribute1: value
    !Attribute2: value

    An exemplary entity structure part stored in Digital Library is provided in Appendix A.

    In the present example, converter 10 is preferably Active System's Attribute Extractor (i.e. AE). Converter 10 creates a load directory for each prepublished content product, identified by that product's ISBN, which contains the product's corresponding Product Structure File (PSF), Attribute Files, Content Component Files and Associated Component Files. It also creates a load directory for each program category, identified by the program identifier and containing the program's corresponding PSF and ATR files. These directories are provided as input to content loader 14.

    4. Content Loader

    Content loader 14 is a software application for loading the program and prepublished content files described above into the digital library 20. It receives the load directories as input from converter 10, then loads this information into digital library according to a content configuration model 12 defined in the ELOADER.INI configuration file (described below). Content loader 14 interfaces with the digital library content server(s) 18 through the OO API layer 16.

    The content loader 14 has three modes of operation: load, delete and purge.

    Load. The purpose of this mode of operation is to load or reload the Content Entities, Associated Components and Attributes into the digital library 20. All Content Component Files are stored as binary large objects or BLOBs in the digital library object server 48. All Attribute Files are parsed and the resultant parametric data is stored in the digital library server 44.

    As previously noted, the input files to the content loader 14 are a Product Structure File (i.e., a sequence-id.psf), an Attribute file for each product entity loaded (i.e., sequenceid.atr), a file for each Content Component (i.e., sequence-id.sgm) and a file for each Associated Component (i.e., sequenceid.cdaOID.gif).

    The output of the ELoader will be placed into the appropriate index class in the digital library 20 as specified by the configuration model contained in the ELOADER.INI file.
  • Syntax: ELoader—load <sequence-id>
  • Example #1: ELoader—load 012345678
    This load command launches loader 14 into load mode. It looks in the load directory identified by an ISBN="012345678" for all of the Attribute Files, Content Components and Associated Components stored therein, and processes these files.
  • Example #2: ELoader 012345678.02.00.00
    This load command launches loader 14 into load mode. It looks in the load directory identified by an ISBN="012345678" for all Attribute Files, Content Components, and Associated Components associated with chapter container "012345678.02.00.00", and process these files.


  • Delete. The purpose of this mode of operation is to delete selected Content Entities, Associated Components and Attributes from the Digital Library. The ELoader will delete all content, attributes, and text index entries from digital library 20 for the ISBN/sequence number specified, as well as all child content and attributes associated with that ISBN/sequence number.
  • Syntax: ELoader—delete <sequence-id>
  • Example #1: ELoader—delete 012345678
    This command launches loader 14 into delete mode and deletes all content and attributes for the prepublished content product whose ISBN="012345678".
  • Example #2: ELoader—delete 012345678.02.00.00
    This command launches loader 14 into delete mode and deletes all entities and attributes for the entity whose sequence number="012345678.02.00.00" as well as all of its children. The rest of the content product remains untouched.


  • Purge. The purpose of this mode of operation is to purge Content Entities, Associated Components and Attributes from the Digital Library after a Load that did not complete successfully. Loader 14 deletes all content, attributes, and text index entries from the digital library 20 even though it is in a partially loaded state.
  • Syntax: ELoader—purge <sequence-id>
  • Example: ELoader—purge 012345678
    This command launches loader 14 into purge mode and deletes all content and attributes for the prepublished content product whose ISBN="012345678".
    5. Configuration Model


  • Configuration model 12 is embodied in a configuration file called ELOADER.INI, and associated configuration files that it calls. The configuration files contain all of the switches and parameters necessary to customize the operation of loader 14 to the data model defined above, The primary objective of these files is to minimize the need to change loader 14 program source code if the data model is modified.

    The EL