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 intermediate tables and working tables, the importing comprising:
- receiving a selection of data tables from a database to import, wherein dependencies among the selected data tables are according to a dependency tree comprising at least two branches connecting a first group of at least three data tables with three different corresponding record types, wherein each branch of the dependency tree that connects a second group of two data tables with two different corresponding record types corresponds to all attributes that are in common between the two different corresponding record types;
importing the selected data tables into one or more intermediate tables;
(a) for a first data table, if the first data table does not depend on another data table as defined by the dependency tree, moving the first data table to a first working table;
(b) if the first data table depends on a second data table as defined by the dependency tree, determining which records of the first data table depend only on records that have already been imported from the database into the intermediate tables or the working tables, and moving to the first working table the determined records, wherein the first data table comprises a plurality of first data table records, and the determined records in addition to remaining records comprises the plurality of first data table records, wherein the remaining records remain in a first intermediate table when the determined records are moved to the first working table;
(c) determining a next data table that has been imported to a next intermediate table and that depends on the first data table as defined by the dependency tree; and
assigning the next data table as the first data table and repeating (b) and (c);
wherein (a)-(c) are executed at least once before all of the data tables in the dependency tree are imported into the one or more intermediate 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.
24 Citations
15 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 intermediate tables and working tables, the importing comprising:
-
receiving a selection of data tables from a database to import, wherein dependencies among the selected data tables are according to a dependency tree comprising at least two branches connecting a first group of at least three data tables with three different corresponding record types, wherein each branch of the dependency tree that connects a second group of two data tables with two different corresponding record types corresponds to all attributes that are in common between the two different corresponding record types; importing the selected data tables into one or more intermediate tables; (a) for a first data table, if the first data table does not depend on another data table as defined by the dependency tree, moving the first data table to a first working table; (b) if the first data table depends on a second data table as defined by the dependency tree, determining which records of the first data table depend only on records that have already been imported from the database into the intermediate tables or the working tables, and moving to the first working table the determined records, wherein the first data table comprises a plurality of first data table records, and the determined records in addition to remaining records comprises the plurality of first data table records, wherein the remaining records remain in a first intermediate table when the determined records are moved to the first working table; (c) determining a next data table that has been imported to a next intermediate table and that depends on the first data table as defined by the dependency tree; and assigning the next data table as the first data table and repeating (b) and (c); wherein (a)-(c) are executed at least once before all of the data tables in the dependency tree are imported into the one or more intermediate tables. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method for importing a data table including a plurality of records into corresponding intermediate tables and working tables, the method comprising:
-
receiving a selection of data tables from a database to import, wherein dependencies among the selected data tables are according to a dependency tree comprising at least two branches connecting a first group of at least three data tables with three different corresponding record types, wherein each branch of the dependency tree that connects a second group of two data tables with two different corresponding record types corresponds to all attributes that are in common between the two different corresponding record types; importing the selected data tables into one or more intermediate tables; (a) for a first data table, if the first data table does not depend on another data table as defined by the dependency tree, moving the first data table to a first working table; (b) if the first data table depends on a second data table as defined by the dependency tree, determining which records of the first data table depend only on records that have already been imported from the database into the intermediate tables or the working tables, and moving to the first working table the determined records, wherein the first data table comprises a plurality of first data table records, and the determined records in addition to remaining records comprises the plurality of first data table records, wherein the remaining records remain in a first intermediate table when the determined records are moved to the first working table; (c) determining a next data table that has been imported to a next intermediate table and that depends on the first data table as defined by the dependency tree; and assigning the next data table as the first data table and repeating (b) and (c); wherein (a)-(c) are executed at least once before all of the data tables in the dependency tree are imported into the one or more intermediate tables. - View Dependent Claims (10, 11, 12)
-
-
13. A data import processor for importing one or more selected data tables that each comprise one or more records from a database, the processor comprising:
-
a plurality of intermediate tables; a plurality of working tables corresponding to the plurality of intermediate tables; and means for importing the selected data tables into one or more intermediate tables, wherein dependencies among the selected data tables are according to a dependency tree comprising at least two branches connecting a first group of at least three data tables with three different corresponding record types, wherein each branch of the dependency tree that connects a second group of two data tables with two different corresponding record types corresponds to all attributes that are in common between the two different corresponding record types; (a) for a first data table, if the first data table does not depend on another data table as defined by the dependency tree, means for moving the first data table to a first working table; (b) if the first data table depends on a second data table as defined by the dependency tree, means for determining which records of the first data table depend only on records that have been already been imported from the database into the intermediate tables or the working tables, and means for moving to the first working table the determined records, wherein the first data table comprises a plurality of first data table records, and the determined records in addition to remaining records comprises the plurality of first data table records, wherein the remaining records remain in a first intermediate table when the determined records are moved to the first working table; (c) means for determining a next data table that has been imported to a next intermediate table and that depends on the first data table as defined by the dependency tree; and means for assigning the next data table as the first data table and repeating (b) and (c); wherein (a)-(c) are executed at least once before all of the data tables in the dependency tree are imported into the one or more intermediate tables. - View Dependent Claims (14, 15)
-
Specification