×

Method and system for processing structured documents in a native database

  • US 7,171,430 B2
  • Filed: 08/28/2003
  • Issued: 01/30/2007
  • Est. Priority Date: 08/28/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for processing a structured document stored in a database, the method comprising the steps of:

  • (a) identifying a plurality of strings that are processed by the database;

    (b) assigning an identifier to each of the plurality of strings;

    (c) storing each of the plurality of strings and the assigned identifier in a table in the database, wherein the table is a global database table;

    (d) utilizing the table to replace the plurality of strings with their assigned identifiers throughout the database, wherein the identifiers are used during document processing, wherein the utilizing step (d) further comprises;

    (d1) receiving a request to store a structured document in the database, wherein the structured document comprises a plurality of element, attribute and namespace strings,(d2) transforming the structured document by replacing the plurality of element, attribute and namespace strings with their respective identifiers, and(d3) storing the transformed structured document;

    (e) designating a status for each of the plurality of strings, wherein the status is one of a temporary status or a permanent status, and storing the status in the table; and

    (f) providing a cache in the database for storing a portion of the table, wherein the transforming step (d2) further comprises;

    (d2i) requesting an identifier for one of the plurality of element, attribute and namespace strings,(d2ii) checking the cache for the one string,(d2iii) returning the respective identifier if the one string is located in the cache,(d2iv) performing a lookup on the table for the one string if the one string is not located in the cache,(d2v) returning the respective identifier if the one string is located in the table, and(d2vi) assigning a new identifier for the one string, storing the one string and the new identifier in the table, setting the string status to permanent and returning the new identifier if the one string is not located in the table.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×