IP Library › Granted Patent US 9,245,011
Granted Patent B2
US 9,245,011 · App. 13/041,119 · Granted Jan 26, 2016

Data model versioning for document databases

Inventor: Jason Lilaus Connor (Fort Collins, CO)
Assignee: Red Hat, Inc.
G06F17/30705G06F17/30011
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,245,011
App. No.
13/041,119
Granted
Jan 26, 2016
Kind
B2
Abstract

A data model versioning method may read a first version tag associated with a document database. The method compares the first version tag to a second version tag associated with a current document template of an application, the second version tag indicating a document format used by the current document template for documents created by the application. When the first version tag does not match the second version tag, the method performs a version migration operation to update a document format of documents in the document database.

Claims (36)

1. A method comprising:

reading, by a processing device, a first version tag associated with a document database;

comparing the first version tag to a second version tag associated with a current document template of an application, the second version tag indicating a document format used by the current document template for documents created by the application;

when the first version tag does not match the second version tag, performing a version migration operation to update a document format of documents in the document database and updating a value of the first version tag associated with the document database to match a value of the second version tag associated with the current document template; and

performing a validation operation to determine that the document format of each of the documents in the document database match the current document template associated with the second version tag.

2. The method of claim 1 , wherein the first version tag represents a version of a document template, according to which, the document in the document database was created.

3. The method of claim 1 , further comprising:

receiving an update to a management application, the update comprising a change to a document template, the document template comprising an expected format for the document in the document database.

4. The method of claim 3 , wherein the second version tag represents a version of the document template including the change made by the update to the management application.

5. The method of claim 1 , further comprising:

upon performing the version migration operation, updating the first version tag to match the second version tag.

6. The method of claim 1 , wherein the performing the migration operation comprises changing a field of the document in the document database to match a field in a document template associated with the second version tag.

7. A system comprising:

a memory; and

a processing device, operatively coupled to the memory, the processing device to:

read a first version tag associated with a document database;

compare the first version tag to a second version tag associated with a current document template of an application, the second version tag indicating a document format used by the current document template for documents created by the application;

perform a version migration operation to update a document format of documents in the document database when the first version tag does not match the second version tag and update a value of the first version tag associated with the document database to match a value of the second version tag associated with the current document template; and

perform a validation operation to determine that the document format of each of the documents in the document database match the current document template associated with the second version tag.

8. The system of claim 7 , wherein the first version tag represents a version of a document template, according to which, the document in the document database was created.

9. The system of claim 7 , wherein the processing device to receive an update to a management application, the update comprising a change to a document template, the document template comprising an expected format for the document in the document database.

10. The system of claim 9 , wherein the second version tag represents a version of the document template including the change made by the update to the management application.

11. The system of claim 7 , wherein the processing device further to update the first version tag to match the second version tag, upon performing the version migration operation.

12. The system of claim 7 , wherein the performing the migration operation comprises changing a field of the document in the document database to match a field in a document template associated with the second version tag.

13. A non-transitory machine-readable storage medium storing instructions which, when executed, cause a processing device to:

read, by the processing device, a first version tag associated with a document database,

compare the first version tag to a second version tag associated with a current document template of an application, the second version tag indicating a document format used by the current document template for documents created by the application;

when the first version tag does not match the second version tag, perform a version migration operation to update a document format of documents in the document database and update a value of the first version tag associated with the document database to match a value of the second version tag associated with the current document template; and

perform a validation operation to determine that the document format of each of the documents in the document database match the current document template associated with the second version tag.

14. The storage medium of claim 13 , wherein the first version tag represents a version of a document template, according to which, the document in the document database was created.

15. The storage medium of claim 13 , wherein the instructions further cause the processing device to:

receive an update to a management application, the update comprising a change to a document template, the document template comprising an expected format for the document in the document database.

16. The storage medium of claim 15 , wherein the second version tag represents a version of the document template including the change made by the update to the management application.

17. The storage medium of claim 13 , wherein the instructions further cause the processing device to:

upon the version migration operation being performed, update the first version tag to match the second version tag.

18. The storage medium of claim 13 , wherein to perform the migration operation, the processing device to change a field of the document in the document database to match a field in a document template associated with the second version tag.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 4, 2011
From: CONNOR, JASON LILAUS
To: RED HAT, INC., A CORPORATION OF DELAWARE
Reel/Frame 025905/0542 →
Continuity (1)
Related Publication 20120226658A1 · Sep 6, 2012