← Back to Patent Explorer
US5404502A Expired / Lapsed US ⏱️ 0.0 years remaining

Error-detection in database update processes

Assignee: Prologic Corp
•
Filing: 1993-02-25
•
Granted: 1995-04-04
•
Expires: 2013-02-25
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A technique for integrity error detection in a temporal transaction oriented database system. The database system has records and processing rules. Each record has an effective time. Each processing rule has a range of effective times. The record types include transaction records, master records, shadow master records and snapshot records. Each transaction record or snapshot record is related to one master record and each master record may have a plurality of related transaction and snapshot records. Each snapshot record is a copy of its related master record at a given effective time. On the insertion of one or more backdated transaction records or reversal of one or more existing transaction records the master record is recalculated by replaying from a prior snapshot forward, all processing rules and transaction records, having appropriate effective times. A shadow master record is recalculated by simultaneously repeating each of the steps of the replay on the shadow master record, but in this case ignoring any new backdated transactions and including any newly reversed transaction records. The comparison of the shadow master record after replay and the value of the master record before replay indicates the presence or absence of an integrity error.

Inventors

  • 👤 Wes Warner
  • 👤 Greg Hope
  • 👤 Paul Oeuvray

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 03:21
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/07; G06F11/14; G06F11/1402; G06F2201/00; G06F2201/84; G06F2201/87; Y; Y10; Y10S; Y10S707/00; Y10S707/99951; Y10S707/99952; Y10S707/99953

Claims Analysis

Total Claims: 12
Claim 1
Independent Claim 321 words
A method of detecting integrity errors in a temporal transaction oriented database system having a plurality of transaction records, at least one backdated or reversed transaction record, a master record, a set of snapshot records storing values of the master record at predetermined effective times, a shadow master record, a set of stored processing rules, a plurality of record data values associated with respective ones of said records representing an effective time for each of said respective ones of said records, and a plurality of rule data values associated with respective ones of said processing rules representing a range of effective times for each of said respective ones of said processing rules, comprising the steps of: (a) storing a duplicate of said master record; (b) retrieving a first predetermined one of said record data values representing the oldest effective time of said one or more backdated or reversed transaction records; (c) retrieving a predetermined one of said snapshot records having a second predetermined one of said record data values representing a most recent effective time prior to that represented by said first predetermined one of said data values; (d) copying said retrieved snapshot record into said master record and into said shadow master record; (e) for each of said record and rule data values representing effective times later than that represented by said second predetermined one of said data values, simultaneously i) executing respective associated ones of said stored processing rules on said master record using respective associated ones of said transaction records; and ii) executing respective associated ones of said stored processing rules on said shadow master record using respective associated ones of said transaction records, excluding any of said backdated transaction records but including any of said reversed transaction records; and (f) comparing said duplicate of the master record with said shadow master record and in the event of a difference therebetween signalling the presence of an integrity error.
Claim 2
Independent Claim 321 words
A method of detecting integrity errors in a temporal transaction oriented database system having a plurality of transaction records, at least one backdated or reversed transaction record, a master record, a set of snapshot records storing values of the master record at predetermined effective times, a shadow master record, a set of stored processing rules, a plurality of record data values associated with respective ones of said records representing an effective time for each of said respective ones of said records, and a plurality of rule data values associated with respective ones of said processing rules representing a range of effective times for each of said respective ones of said processing rules, comprising the steps of: (a) storing a duplicate of said master record; (b) retrieving a first predetermined one of said record data values representing the oldest effective time of said one or more backdated or reversed transaction records; (c) retrieving a predetermined one of said snapshot records having a second predetermined one of said record data values representing a most recent effective time prior to that represented by said first predetermined one of said data values; (d) copying said retrieved snapshot record into said master record and into said shadow master record; (e) for each of said record and rule data values representing effective times later than that represented by said second predetermined one of said data values, simultaneously i) executing respective associated ones of said stored processing rules on said master record using respective associated ones of said transaction records; and ii) executing respective associated ones of said stored processing rules on said shadow master record using respective associated ones of said transaction records, excluding any of said backdated transaction records but including any of said reversed transaction records; and (f) comparing said duplicate of the master record with said shadow master record and in the event of a difference therebetween signalling the presence of an integrity error.
Claim 3
Dependent Claim 21 words
A method as claimed in claim 1 in which the backdated or reversed transaction record is a null backdated transaction record.
Claim 4
Dependent Claim 21 words
A method as claimed in claim 2 in which the method is carried out as a background process on a computer.
Claim 5
Dependent Claim 42 words
A method as claimed in claim 3 in which upon the comparison of the master record and the shadow master record, and upon determining that the two said records have identical values, a purge of transaction and snapshot records is carried out.
Claim 6
Dependent Claim 67 words
A method as claimed in claim 4 in which the purge comprises the following steps: (a) for each of said record and rule data values representing effective times earlier than a predetermined purge time, deleting the associated transaction and snapshot records and processing rule; and (b) creating a snapshot record having a record data value corresponding to an effective time that is equal to the purge time.
Claim 7
Independent Claim 362 words
An apparatus for detecting integrity errors in a temporal transaction oriented database system having a plurality of transaction records, at least one backdated or reversed transaction record, a master record, a set of snapshot records storing values of the master record at predetermined effective times, a shadow master record, a set of stored processing rules, a plurality of record data values associated with respective ones of said records representing an effective time for each of said respective ones of said records, and a plurality of rule data values associated with respective ones of said processing rules representing a range of effective times for each of said respective ones of said processing rules, comprising: (a) means for storing a duplicate of said master record; (b) means for retrieving a first predetermined one of said record data values representing the effective time of said backdated or reversed transaction record; (c) means for retrieving a predetermined one of said snapshot records having a second predetermined one of said record data values representing a most recent effective time prior to that represented by said first predetermined one of said data values; (d) means for copying said retrieved snapshot record into said master record and means for copying said retrieved snapshot record into said shadow master record, (e) means for simultaneously i) executing respective associated ones of said stored processing rules on said master record and on respective associated ones of said transaction records for each of said record and rule data values representing effective times later than that represented by said second predetermined one of said record data values; and ii) executing respective associated ones of said stored processing rules on said shadow master record and on respective associated ones of said transaction records, excluding any of said backdated transaction records but including any of said reversed transaction records, for each of said record or rule data values representing effective times later than that represented by said second predetermined one of said record data values; and (f) means for comparing said duplicate of the master record with said shadow master record and in the event of a difference therebetween signalling the presence of an integrity error.
Claim 8
Independent Claim 362 words
An apparatus for detecting integrity errors in a temporal transaction oriented database system having a plurality of transaction records, at least one backdated or reversed transaction record, a master record, a set of snapshot records storing values of the master record at predetermined effective times, a shadow master record, a set of stored processing rules, a plurality of record data values associated with respective ones of said records representing an effective time for each of said respective ones of said records, and a plurality of rule data values associated with respective ones of said processing rules representing a range of effective times for each of said respective ones of said processing rules, comprising: (a) means for storing a duplicate of said master record; (b) means for retrieving a first predetermined one of said record data values representing the effective time of said backdated or reversed transaction record; (c) means for retrieving a predetermined one of said snapshot records having a second predetermined one of said record data values representing a most recent effective time prior to that represented by said first predetermined one of said data values; (d) means for copying said retrieved snapshot record into said master record and means for copying said retrieved snapshot record into said shadow master record, (e) means for simultaneously i) executing respective associated ones of said stored processing rules on said master record and on respective associated ones of said transaction records for each of said record and rule data values representing effective times later than that represented by said second predetermined one of said record data values; and ii) executing respective associated ones of said stored processing rules on said shadow master record and on respective associated ones of said transaction records, excluding any of said backdated transaction records but including any of said reversed transaction records, for each of said record or rule data values representing effective times later than that represented by said second predetermined one of said record data values; and (f) means for comparing said duplicate of the master record with said shadow master record and in the event of a difference therebetween signalling the presence of an integrity error.
Claim 9
Dependent Claim 21 words
An apparatus as claimed in claim 6 in which the backdated or reversed transaction record is a null backdated transaction record.
Claim 10
Dependent Claim 24 words
An apparatus as claimed in claim 7 in which the said apparatus comprises a means for carrying out the process as a background process.
Claim 11
Dependent Claim 17 words
An apparatus as claimed in claim 8 further comprising a means for purging transaction and snapshot records.
Claim 12
Dependent Claim 73 words
An apparatus as claimed in claim 9 in which the means for purging transaction and snapshot records comprises. (a) means for deleting transaction and snapshot records and processing rules for each of said rule and record data values representing an effective time earlier than a predetermined purge time; and (b) means for creating a snapshot record having a record data value corresponding to an effective time that is equal to the purge time.

References Cited (Backward Citations)

EP0425415A2 Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1998-04-03 1998-10-03 1999-04-04 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2002-04-03 2002-10-03 2003-04-04 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2006-04-03 2006-10-03 2007-04-04 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag