Data importer for a sales prospector
First Claim
1. A non-transitory computer-readable medium having instructions stored thereon that, when executed by a processor, cause the processor to import one or more data tables that each comprise one or more records into corresponding secondary tables, the processor:
- importing, from a database, into one or more intermediate tables, particular data tables with corresponding record types, wherein the particular data tables have dependencies specified in a dependency tree that comprises branches connecting the particular data tables, wherein a data table depends on another data table when a record of the data table depends on a record of another data table;
determining whether the dependency tree specifies that a first data table of the particular data tables depends on another data table in the dependency tree;
in response to a determination that the dependency tree specifies that the first data table depends on another data table in the dependency tree, moving, to a first working table of the secondary tables, records of the first data table that depend only on records that have already been imported from the database into the secondary tables, wherein the first data table includes further records in addition to the records moved to the first working table;
determining whether the dependency tree specifies that a second data table of the particular data tables depends on the first data table; and
in response to a determination that the dependency tree specifies that the second data table depends on the first data table, moving, to a second working table of the secondary tables, records of the second data table that depend only on records that have already been imported from the database into the secondary tables.
1 Assignment
0 Petitions
Accused Products
Abstract
A data importer for a sales prospecting system imports one or more data tables that each may include one or more records. The data importer first (a) imports a data table into an intermediate table. The data importer then (b) determines if the imported data table depends on another data table and moves one or more records from the imported data table that have no missing dependencies to a corresponding working table; and (c) determines a set of previously imported data tables that refer to the imported data table. The data importer then, for each previously imported data table, repeats (b) and (c) above.
-
Citations
20 Claims
-
1. A non-transitory computer-readable medium having instructions stored thereon that, when executed by a processor, cause the processor to import one or more data tables that each comprise one or more records into corresponding secondary tables, the processor:
-
importing, from a database, into one or more intermediate tables, particular data tables with corresponding record types, wherein the particular data tables have dependencies specified in a dependency tree that comprises branches connecting the particular data tables, wherein a data table depends on another data table when a record of the data table depends on a record of another data table; determining whether the dependency tree specifies that a first data table of the particular data tables depends on another data table in the dependency tree; in response to a determination that the dependency tree specifies that the first data table depends on another data table in the dependency tree, moving, to a first working table of the secondary tables, records of the first data table that depend only on records that have already been imported from the database into the secondary tables, wherein the first data table includes further records in addition to the records moved to the first working table; determining whether the dependency tree specifies that a second data table of the particular data tables depends on the first data table; and in response to a determination that the dependency tree specifies that the second data table depends on the first data table, moving, to a second working table of the secondary tables, records of the second data table that depend only on records that have already been imported from the database into the secondary tables. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for importing one or more data tables that each comprise one or more records into corresponding secondary tables, comprising:
-
importing, from a database, into one or more intermediate tables, particular data tables with corresponding record types, wherein the particular data tables have dependencies specified in a dependency tree that comprises branches connecting the particular data tables, wherein a data table depends on another data table when a record of the data table depends on a record of another data table; determining whether the dependency tree specifies that a first data table of the particular data tables depends on another data table in the dependency tree; in response to a determination that the dependency tree specifies that the first data table depends on another data table in the dependency tree, moving, to a first working table of the secondary tables, records of the first data table that depend only on records that have already been imported from the database into the secondary tables, wherein the first data table includes further records in addition to the records moved to the first working table; determining whether the dependency tree specifies that a second data table of the particular data tables depends on the first data table; and in response to a determination that the dependency tree specifies that the second data table depends on the first data table, moving, to a second working table of the secondary tables, records of the second data table that depend only on records that have already been imported from the database into the secondary tables. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
a processor; and a memory coupled to the processor, wherein the memory comprises modules that, when executed by the processor, import one or more data tables that each comprise one or more records into corresponding secondary tables, the processor; importing, from a database, into one or more intermediate tables, particular data tables with corresponding record types, wherein the particular data tables have dependencies specified in a dependency tree that comprises branches connecting the particular data tables, wherein a data table depends on another data table when a record of the data table depends on a record of another data table; determining whether the dependency tree specifies that a first data table of the particular data tables depends on another data table in the dependency tree; in response to a determination that the dependency tree specifies that the first data table depends on another data table in the dependency tree, moving, to a first working table of the secondary tables, records of the first data table that depend only on records that have already been imported from the database into the secondary tables, wherein the first data table includes further records in addition to the records moved to the first working table; determining whether the dependency tree specifies that a second data table of the particular data tables depends on the first data table; and in response to a determination that the dependency tree specifies that the second data table depends on the first data table, moving, to a second working table of the secondary tables, records of the second data table that depend only on records that have already been imported from the database into the secondary tables. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification