# US 2005/0240359 A1 · In-place dynamically re-sizeable persistent historical database

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2005/0240359 A1
- Document ID: US20050240359A1
- Status: Published application
- Kind: A1
- Application number: 11/167,625
- Filed: 2005-06-27
- Published: 2005-10-27
- Earliest claimed: 2002-02-28
- Assignees: Daniel Measurement and Control, Inc.
- Inventors: Jesse Frederick
- Web page: https://patentgrep.com/patent/US20050240359A1

## CPC

- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The specification discloses a method of maintaining a historical database of information. The method describes up to eleven segments, each segment corresponding possibly to a different data logging rate in the historical database. Points, whether measured or calculated parameters, are grouped into segments based on which points may have their data logged at the same frequency. The points, in turn, contain pointers to logs, with entries in the log data corresponding to a time-stamp or tag of the segment to which the log belongs. Thus, points (and their corresponding logs) in different segments may be logged at different rates. The specification also discloses a method for dynamically resizing the historical database, which, in the case of increasing the number of entries, results in no loss of historical information.

## Claims

### Claim 1

In an embedded microcontroller based control system reading field parameters and keeping a historical database of the field parameters in a memory device, a method of storing the historical data comprising:
a) grouping a first parameter and a second parameter into a first segment;
b) writing a data value for the first parameter and a data value for the second parameter to the historical database;
c) writing a first segment time-stamp associated with both the data values for the first and second parameters;
d) grouping a third parameter and a fourth parameter into a second segment;
e) writing a data value for the third parameter and a data value for the fourth parameter to the historical database;
f) writing a second segment time-stamp associated with both the data values for the third and fourth parameters;
g) repeating steps b) and c) at a first sample rate; and
h) repeating steps e) and i) at a second sample rate different than the first sample rate.

### Claim 2 (depends on 1)

The method of storing the historical data as defined in claim 1 further comprising changing one of the first and second sample rates.

### Claim 3 (depends on 1)

The method of storing the historical data as defined in claim 1 wherein steps b) and c) further comprising:
b1) writing a short interval data value and a long interval data value for the first parameter;
b2) writing a short interval data value and a long interval data value for the second parameter; and
c1) writing a plurality of first segment time-stamps, wherein one time-stamp is associated with the short interval data values of the first and second parameters, and one time-stamp is associated with the long interval data values of the first and second parameters.

### Claim 4 (depends on 3)

The method of storing the historical data as defined in claim 3 wherein steps e) and f) further comprising:
e1) writing a short interval data value and a long interval data value for the third parameter;
e2) writing a short interval data value and a long interval data value for the fourth parameter; and
f1) writing a plurality of second segment time-stamps, wherein one time-stamp is associated with the short interval data values of the third and fourth parameters, and one time-stamp is associated with the long interval data values parameters of the third and fourth parameters.

### Claim at position 5

5-11. (canceled)

### Claim 12

In a microcontroller based flow computer calculating volumetric flows and keeping a historical database of field parameters in a memory device, a method of storing the historical data comprising:
a) writing an entry for a first parameter and an entry for a second parameter to the historical database;
b) writing a first grouping time-stamp associated with both the entries for the first and second parameters;
c) writing an entry for the third parameter and an entry for the fourth parameter to the historical database;
d) writing a second grouping time-stamp associated with both the entries for the third and fourth parameters;
e) repeating steps a) and b) at a first frequency; and
f) repeating steps c) and d) at a second frequency different than the first frequency.

### Claim 13 (depends on 12)

The method of storing the historical data as defined in claim 12 further comprising changing one of the first and second frequencies.

### Claim 14 (depends on 12)

The method of storing the historical data as defined in claim 12 wherein steps a) and b) further comprise:
a1) writing a short interval entry and a long interval entry for the first parameter;
a2) writing a short interval entry and a long interval entry for the second parameter; and
b1) writing a plurality of first grouping time-stamps, wherein one time-stamp is associated with the short interval entries of the first and second parameters, and one time-stamp is associated with the long interval entries of the first and second parameters.

### Claim 15 (depends on 14)

The method of storing the historical data as defined in claim 14 wherein steps c) and d) further comprising:
e1) writing a short interval entry and a long interval entry for the third parameter;
e2) writing a short interval entry and a long interval entry for the fourth parameter; and
f1) writing a plurality of second grouping time-stamps, wherein one time-stamp is associated with the short interval entries of the third and fourth parameters, and one time-stamp is associated with the long interval entries parameters of the third and fourth parameters.

### Claim at position 10

16-24. (canceled)

### Claim 25

A method comprising:
operating a volumetric flow computer;
maintaining a historical database of calculated volumetric flows, each calculated volumetric flow having a fixed number of entries in the historical database; and
increasing a number of entries in the historical database for a calculated volumetric flow without loss of existing log entries.

### Claim 26 (depends on 25)

The method as defined in claim 25 wherein operating a volumetric flow computer further comprises calculating a plurality of volumetric flows one each for a plurality of metering locations.

### Claim 27 (depends on 26)

The method as defined in claim 26 further comprising:
wherein maintaining a historical database of calculated volumetric flows, each calculated volumetric flow having a fixed number of entries in the historical database, further comprises:
maintaining a set of logs for a first calculated volumetric flow, the set of logs in a first fixed size portion of a memory device; and
maintaining a set of time-stamps that correspond to the logs, the time-stamps in second fixed size portion of the memory device;
wherein increasing a number of entries in the historical database for a calculated volumetric flow without loss of existing entries further comprises:
increasing an overall size of the first fixed size portion of the memory device to accommodate additional entries; and
increasing an overall size of the second fixed size portion of the memory device to accommodate additional time-stamps.

### Claim 28 (depends on 27)

The method as defined in claim 27 wherein increasing an overall size of the first fixed size portion of the memory device further comprises:
moving portions of the historical database to create free space continuous with the first fixed size portion of the memory device; and
increasing the size of the first fixed size portion to encompass the free space.

### Claim 29 (depends on 28)

The method as defined in claim 28 wherein increasing an overall size of the second fixed size portion of the memory device further comprises:
moving portions of the historical database to create free space continuous with the second fixed size portion of the memory device; and
increasing the size of the second fixed size portion to encompass the free space.
