×

Hierarchical database conversion with conditional write

  • US 4,908,759 A
  • Filed: 01/21/1988
  • Issued: 03/13/1990
  • Est. Priority Date: 08/29/1985
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system having a memory and storage device, an improved method for transitioning an input hierarchical database serving as a system input to obtain an output hierarchical database, the method including the steps ofgenerating and storing in the memory:

  • (i) an input dictionary defining the contents of the input database;

    (ii) an output dictionary defining the contents of the output database, the contents including records composed of segments; and

    (iii) a map table having entries defining the correspondence between the input database contents and the memory,identifying, with reference to the input dictionary and the map table, the contents of the input database selected for transitioning, extracting the selected contents from the input database, and storing the extracted contents in the device in hierarchical sequence as identifier-data pairs, andsequentially processing the identifier-data pairs with reference to the input dictionary, the output dictionary and the map table, and storing data associated with each identifier as associated data in the memory,wherein the improvement to the method comprises the steps ofbefore the step of processing, generating and storing derivation table entries in the memory, each of said entries specifying computer instructions to generate the final contents of the output database from the associated data, wherein one of said instructions;

    supplies comparison information expressed in terms of the associated data; and

    conditionally writes to the device a subset of the associated data needed to complete a corresponding subset of the output database, said conditional write executable whenever a comparison between said comparison information and the next incoming identifier in the sequence of identifier-data pairs is satisfied,before the step of processing, augmenting predetermined map table entries with preselected ones of said derivation table entries callable during the step of processing, andupon a call to said conditional write during the step of processing, performing said comparison and, when satisfied, executing said conditional write to generate said subset of the associated data and then storing said subset of the associated data in the device,whereby the improvement effects the transitioning of a large input database by a computer system having insufficient memory to store data for all segments of an output database record until all transitioning operations are completed.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×