×

method and system for merging files having a parallel format

  • US 5,630,138 A
  • Filed: 05/08/1995
  • Issued: 05/13/1997
  • Est. Priority Date: 12/24/1992
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of merging a first file with a second file, wherein the first and second files comprise a visual part for controlling a visual presentation displayed by a data processor and a script part for controlling when the data processor displays the visual presentation, the method comprising the steps of:

  • examining the first file, the first file comprising a plurality of ordered blocks, each block comprising a block identifier, a visual part, and a script part, wherein the visual part comprises a plurality of visual attributes, and wherein the script part comprises a list of events and corresponding responses;

    examining the second file, the second file comprising a plurality of ordered blocks, each block comprising a block identifier, a visual part, and a script part, wherein the visual part comprises a plurality of visual attributes, and wherein the script part comprises a list of events and corresponding responses;

    comparing the plurality of block identifiers in the first file with the plurality of block identifiers in the second file;

    creating a block association table, the block association table containing block entries, each block entry containing an equivalent pair of block identifiers such that one of the block identifiers in the pair is from the first file and the other block identifier is from the second file;

    for each block identifier in the first file that is not represented in the block association table, copying the corresponding ordered block from the first file into the second file;

    for each block identifier in the second file that is not represented in the block association table, deleting the corresponding ordered block from the second file;

    for each block entry in the block association table,selecting a first ordered block from the first file and a second ordered block from the second file, wherein the first ordered block and the second ordered block correspond to the pair of block identifiers;

    comparing the visual part of the first ordered block to the visual part of the second ordered block;

    creating a visual association table, the visual association table containing visual entries, each visual entry containing an equivalent pair of visual attributes such that one of the visual attributes in the pair is from the first ordered block and the other visual attribute is from the second ordered block;

    for each visual entry in the visual association table, mapping the visual attribute from the second ordered block to the visual attribute from the first ordered block;

    comparing the script part of the first ordered block to the script part of the second ordered block;

    creating a script association table, the script association table containing script entries, each script entry containing an equivalent pair of events and corresponding responses such that one of the events and corresponding responses in the pair is from the first ordered block and the other event and corresponding response is from the second ordered block;

    for each script entry in the script association table, mapping the event and corresponding response from the second ordered block to the event and corresponding response from the first ordered block; and

    for each event and corresponding response from the first ordered block that is not represented in the script association table, copying the event and corresponding response into the second ordered block; and

    for each event and corresponding response from the second ordered block that is not represented in the script association table, deleting the event and corresponding response from the second ordered block.

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