Patent US6029177A successfully refreshed from Google Patents.
← Back to Patent Explorer
US6029177A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and system for maintaining the integrity of a database providing persistent storage for objects

Assignee: Ent Services Development Corp LP
•
Filing: 1998-01-30
•
Granted: 2000-02-22
•
Expires: 2018-01-30
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract One aspect of the invention is a method for updating a database providing persistent storage for a plurality of objects each comprising methods and instance variables, wherein a persistent record of each of the plurality of objects will experience a change in the context of a transaction if the transaction is allowed to commit. The method comprises sending a first prepare message to each of the plurality of objects, the plurality of objects sending their state to the database in response to the first prepare messages. A second prepare message is sent to the database if a prepared indicator was received in response to each of the first prepare messages. A commit message is sent to each of the plurality of objects and to the database if a prepared indicator was received in response to each of the first prepare messages and if a prepared indicator was received in response to the second prepare message.

Inventors

  • 👤 Waqar Sadiq
  • 👤 Fred Arthur Cummins

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-08 14:35
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/46; G06F9/52; G06F9/524; G06F16/00; G06F16/20; G06F16/28; G06F16/289; Y; Y10; Y10S; Y10S707/00; Y10S707/99931; Y10S707/99938; Y10S707/99951; Y10S707/99952; Y10S707/99953

Claims Analysis

Total Claims: 24
Claim 1
Independent Claim 147 words
A method for updating a database providing persistent storage for a plurality of objects each comprising methods and instance variables, wherein a persistent record of each of the plurality of objects will experience a change in the context of a transaction if the transaction is allowed to commit, the method comprising: sending a first prepare message to each of the plurality of objects, the plurality of objects sending their state to the database in response to the first prepare messages; sending a second prepare message to the database if a prepared indicator was received in response to each of the first prepare messages; sending a commit message to each of the plurality of objects and to the database if a prepared indicator was received in response to each of the first prepare messages and if a prepared indicator was received in response to the second prepare message.
Claim 2
Independent Claim 147 words
A method for updating a database providing persistent storage for a plurality of objects each comprising methods and instance variables, wherein a persistent record of each of the plurality of objects will experience a change in the context of a transaction if the transaction is allowed to commit, the method comprising: sending a first prepare message to each of the plurality of objects, the plurality of objects sending their state to the database in response to the first prepare messages; sending a second prepare message to the database if a prepared indicator was received in response to each of the first prepare messages; sending a commit message to each of the plurality of objects and to the database if a prepared indicator was received in response to each of the first prepare messages and if a prepared indicator was received in response to the second prepare message.
Claim 3
Dependent Claim 24 words
The method of claim 1, wherein the commit message is sent first to each of the plurality of objects and then to the database.
Claim 4
Dependent Claim 79 words
The method of claim 1, wherein sending a first prepare message further comprises: sending a first prepare message to each of the plurality of objects; establishing a connection with the database, the connection associated with the transaction; registering the database connection with a transaction service, the registration being used by the transaction service to determine whether to send the second prepare message to the database; and sending the state of each of the plurality of objects to the database.
Claim 5
Dependent Claim 30 words
The method of claim 1, wherein the second prepare message causes the database to be updated to reflect the state of the plurality of objects as changed by the transaction.
Claim 6
Dependent Claim 24 words
The method of claim 3, wherein the commit message is sent first to each of the plurality of objects and then to the database.
Claim 7
Dependent Claim 38 words
The method of claim 1, further comprising: sending a validate message to ones of the plurality of objects; and wherein the first prepare messages are sent if a valid indicator was received in response to each validate message.
Claim 8
Dependent Claim 24 words
The method of claim 6, wherein the commit message is sent first to each of the plurality of objects and then to the database.
Claim 9
Dependent Claim 79 words
The method of claim 6, wherein sending a first prepare message further comprises: sending a first prepare message to each of the plurality of objects; establishing a connection with the database, the connection associated with the transaction; registering the database connection with a transaction service, the registration being used by the transaction service to determine whether to send the second prepare message to the database; and sending the state of each of the plurality of objects to the database.
Claim 10
Dependent Claim 30 words
The method of claim 6, wherein the second prepare message causes the database to be updated to reflect the state of the plurality of objects as changed by the transaction.
Claim 11
Dependent Claim 41 words
The method of claim 6, wherein ones of the plurality of objects are operable to register for validation with the transaction service and wherein a validate message is sent to only those objects that register for validation with the transaction service.
Claim 12
Dependent Claim 52 words
The method of claim 1, further comprising: rolling back the transaction if any of the plurality of objects fails to return a prepared indicator in response to the first prepare message; and rolling back the transaction if the database fails to return a prepared indicator in response to the second prepare message.
Claim 13
Independent Claim 172 words
A system for maintaining persistence in a distributed object environment comprising a plurality of objects each comprising methods and instance variables, wherein a persistent record of a first number of the plurality of objects will experience a change in the context of a transaction if the transaction is allowed to commit, the system comprising: a transaction service running on at least one computer and operable to send a first prepare message to each of the plurality of objects, at least one of the plurality of objects sending its state to a first database in response to the prepare message; send a second prepare message to at least the first database if a prepared indicator was received in response to each of the first prepare messages; send a commit message to each of the plurality of objects and to the first database if a prepared indicator was received in response to each of the first prepare messages and if a prepared indicator was received in response to each of the second prepare messages.
Claim 14
Independent Claim 172 words
A system for maintaining persistence in a distributed object environment comprising a plurality of objects each comprising methods and instance variables, wherein a persistent record of a first number of the plurality of objects will experience a change in the context of a transaction if the transaction is allowed to commit, the system comprising: a transaction service running on at least one computer and operable to send a first prepare message to each of the plurality of objects, at least one of the plurality of objects sending its state to a first database in response to the prepare message; send a second prepare message to at least the first database if a prepared indicator was received in response to each of the first prepare messages; send a commit message to each of the plurality of objects and to the first database if a prepared indicator was received in response to each of the first prepare messages and if a prepared indicator was received in response to each of the second prepare messages.
Claim 15
Dependent Claim 25 words
The system of claim 12, wherein the commit message is sent first to each of the plurality of objects and then to the first database.
Claim 16
Dependent Claim 66 words
The system of claim 12, wherein the transaction service is further operable to receive a registration request from the first database; registering the first database in response to the registration request; and send a second prepare message to each database associated with the transaction from which a registration request was received if a prepared indicator was received in response to each of the first prepare messages.
Claim 17
Dependent Claim 30 words
The system of claim 12, wherein the second prepare message causes the first database to be updated to reflect the state of the first object as changed by the transaction.
Claim 18
Dependent Claim 44 words
The system of claim 12, wherein the transaction service is further operable to: send a validate message to ones of the plurality of objects; and wherein the first prepare messages are sent if a valid indicator was received in response to each validate message.
Claim 19
Dependent Claim 41 words
The system of claim 12, wherein ones of the plurality of objects are operable to register for validation with the transaction service and wherein a validate message is sent to only those objects that register for validation with the transaction service.
Claim 20
Dependent Claim 59 words
The system of claim 12, wherein the transaction service is further operable to: roll back the transaction if any of the plurality of objects fails to return a prepared indicator in response to the first prepare message; and roll back the transaction if the first database fails to return a prepared indicator in response to the second prepare message.
Claim 21
Dependent Claim 59 words
The system of claim 12, wherein at least one of the plurality of objects sends its state to a second database in response to the prepare message; wherein the transaction service is further operable to send a second prepare message to the second database if a prepared indicator was received in response to each of the first prepare messages.
Claim 22
Dependent Claim 87 words
The system of claim 16, wherein the commit message is sent first to each of the plurality of objects and then to the first database; and wherein the transaction service is further operable to receive a registration request from the first database; registering the first database in response to the registration request; and send a second prepare message to each database associated with the transaction from which a registration request was received if a prepared indicator was received in response to each of the first prepare messages.
Claim 23
Dependent Claim 66 words
The system of claim 12, wherein a first one of the plurality objects is related to a second one of the plurality of objects, wherein the second object's persistent record comprises a system assigned key, and wherein the first object is operable to generate the first prepare message to the second object where the system assigned key for the second object has not been previously generated.
Claim 24
Dependent Claim 35 words
The system of claim 21, wherein the database is updated to reflect the state of the second object and retrieve the system assigned key in response to the first prepare message to the second object.

References Cited (Backward Citations)

GB2301686A Cited
US5872969A Cited
US5712971A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2003-02-21 2003-08-23 2004-02-22 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2007-02-21 2007-08-23 2008-02-22 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2011-02-21 2011-08-23 2012-02-22 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag