# US 2019/0095850 A1 · Data trend analysis

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

- Number: US 2019/0095850 A1
- Document ID: US20190095850A1
- Status: Published application
- Kind: A1
- Application number: 16/206,227
- Filed: 2018-11-30
- Published: 2019-03-28
- Earliest claimed: 2015-03-23
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Brian Kelly DIEHL
- Web page: https://patentgrep.com/patent/US20190095850A1

## CPC

- G06F 16/219: {Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477)}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/24575: {using context}
- G06F 16/2474: {Sequence data queries, e.g. querying versioned data}
- G06F 16/2477: {Temporal data queries}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06Q 10/063114: {Status monitoring or status determination for a person or group}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Systems, methods, and other embodiments associated with history and scenario data tracking are described. In one embodiment, a method includes receiving a request for trending analysis on project data. The request includes a trend range and a time basis. The method also includes selecting a set of records that fall within the trend range from an item table associated with the time basis, and generating a snapshot of the project data for each effective time in each selected record in the item table. The generating includes executing a trend view on (i) a history table storing a version history for every record modified, (ii) a transaction table storing a transaction history for every record modified, and (iii) a base table storing base records corresponding to a current version of the records to create the snapshot. The snapshots of project data are returned in response to the request for trending analysis.

## Claims

### Claim 1

A non-transitory computer-readable storage medium storing computer-executable instructions that when executed by at least a processor of a computer cause the computer to:
receive, by at least the processor, a request for trending analysis on project data, where the request includes a trend range and a time basis;
in response to determining that an item table is associated with the time basis of the request, select, by at least the processor, the item table from amongst a plurality of item tables that are each associated with a corresponding time basis, where the item table includes a record for each time increment of the time basis, where each respective record includes an effective time for the respective time increment;
select, by at least the processor, a set of records in the item table that fall within the trend range;
generate, by at least the processor, a snapshot of the project data for each effective time in each respective selected record in the item table, wherein the generation includes:
maintaining a history table that stores a version history for each record in the project data that has ever been modified,
maintaining a transaction table that stores a transaction record for each record in the project data that has ever been modified, and
executing a trend view on the history table, the transaction table, and a base table that stores base records corresponding to a current version of the records in the project data, to create a snapshot for each effective time in the selected item table records; and
in response to the request for trending analysis, return, by at least the processor, the generated snapshots of project data.

### Claim 2 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, where the effective time for a time increment comprises a time at which the time increment ends.

### Claim 3 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, where each item table includes a record for each time increment in the time basis for the item table.

### Claim 4 (depends on 3)

The non-transitory computer-readable storage medium of claim 3, where the instructions cause the computer to:
store a period table that records each time basis for which an item table is stored;
access the period table to identify an item table associated with the time basis in the request.

### Claim 5 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein:
the version history for each record in the project data that has ever been modified has at least one corresponding historical record that includes i) a version of the record prior to modification and ii) a valid time range that defines a time during which the version of the record was valid;
the transaction record for each record in the project data that has ever been modified includes a historical time range that defines a time during which a historical record for the record is valid; and
wherein the trend view is configured to, for each effective time in the selected item table records:
select historical records in the history table that have a valid time range that includes the effective time;
select base records from the base table that do not have a corresponding transaction record with a history valid time that includes the effective time; and
combine the selected historical records and the selected base records to create the snapshot for the effective time.

### Claim 6 (depends on 5)

The non-transitory computer-readable storage medium of claim 5, where the trend view joins the selected records in the item table to the base table and transaction table.

### Claim 7 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, where each item table record stores a display date that is different from the effective date, and where the instructions cause the computer to select records in the item table having a display date within the trend range for generating the snapshots.

### Claim 8

A computing system, comprising:
a processor;
a memory operably connected to the processor;
a non-transitory computer-readable storage medium operably connected to the processor and storing computer-executable instructions that when executed by at least the processor cause the computing system to:
receive, by at least the processor, a request for trending analysis on project data, where the request includes a trend range and a time basis;
in response to determining that an item table is associated with the time basis of the request, select, by at least the processor, the item table from amongst a plurality of item tables that are each associated with a corresponding time basis, where the item table includes a record for each time increment of the time basis, where each respective record includes an effective time for the respective time increment;
select, by at least the processor, a set of records in the item table that fall within the trend range;
generate, by at least the processor, a snapshot of the project data for each effective time in each respective selected record in the item table, wherein the generation includes:
maintaining a history table that stores a version history for each record in the project data that has ever been modified,
maintaining a transaction table that stores a transaction record for each record in the project data that has ever been modified, and
executing a trend view on the history table, the transaction table, and a base table that stores base records corresponding to a current version of the records in the project data, to create a snapshot for each effective time in the selected item table records; and
in response to the request for trending analysis, return, by at least the processor, the generated snapshots of project data.

### Claim 9 (depends on 8)

The computing system of claim 8, wherein the effective time for a time increment comprises a time at which the time increment ends.

### Claim 10 (depends on 8)

The computing system of claim 8, wherein the instructions cause the computing system to store a plurality of respective item tables in the computer-readable storage media for different respective time bases, and where each item table includes a record for each time increment in the time basis for the item table.

### Claim 11 (depends on 10)

The computing system of claim 10, wherein the instructions cause the computing system to:
store, in the computer-readable storage media, a period table that records each time basis for which an item table is stored; and
access the period table to identify an item table associated with the time basis in the request.

### Claim 12 (depends on 8)

The computing system of claim 8, where the history table and the transaction table are different tables.

### Claim 13 (depends on 8)

The computing system of claim 8, where each item table record stores a display date that is different from the effective date, and where the processor is configured to select records in the item table having a display date within the trend range for generating the snapshots.

### Claim 14

A computer-implemented method comprising, with a processor:
receiving a request for trending analysis on project data, where the request includes a trend range and a time basis;
in response to determining that an item table is associated with the time basis of the request, selecting the item table from amongst a plurality of item tables that are each associated with a corresponding time basis, where the item table includes a record for each time increment of the time basis, where each respective record includes an effective time for the respective time increment;
selecting a set of records in the item table that fall within the trend range;
generating a snapshot of the project data for each effective time in each respective selected record in the item table, wherein the generating includes:
maintaining a history table that stores a version history for each record in the project data that has ever been modified,
maintaining a transaction table that stores a transaction record for each record in the project data that has ever been modified, and
executing a trend view on the history table, the transaction table, and a base table that stores base records corresponding to a current version of the records in the project data to create a snapshot for each effective time in the selected item table records; and
in response to the request for trending analysis, returning the generated snapshots of project data.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, where the effective time for a time increment comprises a time at which the time increment ends.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, where each item table includes a record for each time increment in the time basis for the item table.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, further comprising, with the processor:
storing a period table that records each time basis for which an item table is stored;
accessing the period table to identify an item table associated with the time basis in the request.

### Claim 18 (depends on 14)

The computer-implemented method of claim 14 wherein:
the version history for each record in the project data that has ever been modified has at least one corresponding historical record that includes i) a version of the record prior to modification and ii) a valid time range that defines a time during which the version of the record was valid;
the transaction record for each record in the project data that has ever been modified includes a historical time range that defines a time during which a historical record for the record is valid; and
the trend view is configured to, for each effective time in the selected item table records:
select historical records in the history table that have a valid time range that includes the effective time;
select base records from the base table that do not have a corresponding transaction record with a history valid time that includes the effective time; and
combine the selected historical records and the selected base records to create the snapshot for the effective time.

### Claim 19 (depends on 18)

The computer-implemented method of claim 18, where the trend view joins the selected records in the item table to the base table and transaction table.

### Claim 20 (depends on 14)

The computer-implemented method of claim 14, where each item table record stores a display date that is different from the effective date, and where the method includes, with the processor, selecting records in the item table having a display date within the trend range for generating the snapshots.
