IP Library Granted Patent US 6,892,207
Granted Patent B2
US 6,892,207 · App. 10/350,358 · Granted May 10, 2005

Method of updating data in a compressed data structure

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 6,892,207
App. No.
10/350,358
Granted
May 10, 2005
Kind
B2
Abstract

A method of and computer--readable instructions for updating data stored in a compressed data structure. The data is stored in compressed form in one or more uniquely identified data pages. The method includes decompressing a data page and reading an entry, having an identifier, from a delta file and reading an entry from the decompressed data page. If the delta file entry identifier identifies the data page entry, the data page entry is updated based on the delta file entry. If the delta file entry identifier does not identify a data page entry, a data page entry based on the delta file entry is created. If all data file entries and data page entries have been read and handled, the data page entries are compressed.

Claims (55)

1. A method of updating data stored in a compressed data structure, wherein the data is stored in entries in one or more uniquely identified data pages, based on a change entry in a delta file, the method comprising:

decompressing an existing data page;

comparing an entry from the existing data page with a change entry in the delta file; if the change entry identifies the existing data page entry, updating the existing data page entry and writing the updated data page entry to a new data page; if the change entry does not identify an existing data page entry, writing a new data page entry to the new data page;

after comparing existing data page entries with change entries, compressing the new data page.

2. A method of updating data stored in a compressed data structure, wherein the data is stored in compressed form in one or more uniquely identified data pages, the method comprising:

decompressing a data page;

reading an entry from a delta file, wherein the delta file entry has an identifier;

reading an entry from the decompressed data page;

determining if the delta file entry identifier identifies the data page entry;

if the identifier identifies the data page entry, updating the data page entry based on the delta file entry;

if the identifier does not identify a data page entry, creating a data page entry based on the delta file entry;

if all delta file entries and data page entries have been read, compressing the data page entries.

3. The method of claim 2 , further comprising the step of:

writing the updated or created data page entry to a second data page, and wherein the compressed data page entries are in the second data page.

4. The method of claim 2 , further comprising the step of:

after the second data page is compressed, deleting the data page.

5. The method of claim 2 , wherein the identifier is a line number.

6. The method of claim 2 , wherein the delta file includes version information and the compressed data structure includes version information.

7. The method of claim 6 , further comprising the steps of:

comparing the delta file version information with the data structure version information; and

if the delta file version information is more recent than the data structure version information updating the data structure based on the delta file.

8. The method of claim 2 , further comprising the step of:

generating an index of the compressed data page entries.

9. The method of claim 2 , wherein the updating the data page entry step includes at least one of modifying the data page entry and deleting the data page entry.

10. A computer-readable medium comprising:

a data structure for a compressed database comprising:

one or more uniquely identified, compressed data pages structured for storing one or more uniquely identified data page entries; and

a delta file structured for storing a change entry having a unique identifier;

at least one sequence of machine executable instructions in machine form, wherein execution of the instructions by a processor cause the processor to:

(A) read a change entry from the delta file;

(B) decompress a data page from the compressed database;

(C) search for a data page entry in the decompressed data page matching the change entry identifier;

(D) if a match is found, update the matching data page entry based on the delta file entry;

(E) if a match is not found, create a data page entry based on the delta file entry; and

(F) compress the data page entries.

11. The computer-readable medium of claim 10 , wherein the instructions to compress the data page entries further comprise instructions which, when executed by the processor, cause the processor to:

compress the updated, created, and unmatched data page entries in a second data page.

12. The computer-readable medium of claim 11 , further comprising instructions which, when executed by the processor, cause the processor to:

replace the decompressed data page with the second data page; and

compress the second data page with the compressed database.

13. The computer-readable medium of claim 10 , further comprising instructions which, when executed by the processor, cause the processor to:

after decompressing the data page, copy the decompressed data page to a second data page and perform steps A, C, D, and E for each change entry in the delta file.

14. The computer-readable medium of claim 13 , further comprising instructions which, when executed by the processor, cause the processor to:

replace the decompressed data page with the second data page; and

compress the second data page with the compressed database.

15. The computer-readable medium of claim 10 , wherein the change entry identifier is a line number.

16. The computer-readable medium of claim 10 , wherein the delta file includes version information and the compressed database includes version information.

17. The computer-readable medium of claim 16 , further comprising instructions which, when executed by the processor, cause the processor to:

compare the delta file version information with the data structure version information; and

if the delta file version information is more recent than the data structure version information, update the data structure based on the delta file.

18. The computer-readable medium of claim 10 , further comprising instructions which, when executed by the processor, cause the processor to:

generate an index of the compressed data page entries.

19. The computer-readable medium of claim 10 , further comprising instructions which, when executed by the processor, cause the processor to:

generate an index of the compressed database.

20. The computer-readable medium of claim 10 , wherein the update the data page entry step includes at least one of modify the data page entry and delete the data page entry.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 9, 2015
From: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 037079/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 9, 2003
From: MCKAY, CHRISTOPHER W.T.; SKILLCORN, STEVEN
To: HEWLETT-PACKARD COMPANY
Reel/Frame 013961/0284 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 18, 2003
From: HEWLETT-PACKARD COMPANY
To: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
Reel/Frame 013776/0928 →