Meta Model Driven Data Base Replication and Synchronization
First Claim
1. A method of executing an export process for an automated meta model driven export of entity parts from a source data base, wherein the meta model specifies an abstract model of the source data base and comprises a description of an entity part and/or a reference relationship between entity parts being resolvable from a referencing entity part to a referenced entity part, the method comprising:
- identifying a set of entity parts being identifiable outside the source data base by a public key, an internal key, or a mixture of a public key and an internal key as first level entity parts;
supplementing the set of first level entity parts by a set of second level entity parts being referenced by the first level parts according to at least one reference relationship described in the meta model; and
writing export data for the set of first level parts and the set of second level parts into an export file.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to a method of executing an export process for an automated meta model driven export of entity parts from a source data base (10), wherein the meta model specifies an abstract model of the source data base (10) and comprises a description of an entity part and/or a reference relationship between entity parts being resolvable from a referencing entity part to a referenced entity part. The method comprising the steps identifying (S14) a set of entity parts being identifiable outside the source data base (10) by a public key, an internal key, or a mixture of a public key and an internal key as first level entity parts, supplementing (S16) the set of first level entity parts by a set of second level entity parts being referenced by the first level parts according to at least one reference relationship described in the meta model, and writing (S18) export data for the set of first level parts and the set of second level parts into an export file. The present invention also relates to a method of executing an import process for an automated meta model driven import of entity parts from a source data base (10) to a target data base (12).
-
Citations
33 Claims
-
1. A method of executing an export process for an automated meta model driven export of entity parts from a source data base, wherein the meta model specifies an abstract model of the source data base and comprises a description of an entity part and/or a reference relationship between entity parts being resolvable from a referencing entity part to a referenced entity part, the method comprising:
-
identifying a set of entity parts being identifiable outside the source data base by a public key, an internal key, or a mixture of a public key and an internal key as first level entity parts; supplementing the set of first level entity parts by a set of second level entity parts being referenced by the first level parts according to at least one reference relationship described in the meta model; and writing export data for the set of first level parts and the set of second level parts into an export file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of executing an import process for an automated meta model driven import of entity parts from a source data base to a target data base, wherein the meta model specifies an abstract model of the source data base or the target data base and comprises at least a description of an entity part and/or a private child reference being resolvable from a parent entity part of the source data base or the target data base which is identifiable outside the source data base or the target data base by a public key, wherein the resolution is to at least one referenced entity part of the source data base or the target data base and is identifiable only internally in the source data base or the target data base, and wherein the private child reference is used to override a pre-existing aggregation of entity parts in the target data base being referenced from an entity part of the target data base having the same public key as the parent entity part in the source data base, the method comprising:
-
parsing an import file to build an initial graph of entity parts according to the meta model in a repository as staging memory for data import into the target data base; transforming the initial graph in the repository into an import graph of entity parts, said transforming comprising; i) identifying a next entity part in the initial graph being identifiable outside the source data base by a public key as next first level source entity part; ii) searching the target data base for an entity part which has a public key corresponding to the public key of the next first level source entity part as next first level target entity part; iii) deleting (S60, S62) entity parts being referenced by the next first level target entity part in the target data base when the referenced entity parts are identifiable internally in the target data base and a private child reference of the meta model indicates that such entity parts are to be deleted in the target data base prior to data import; and iv) completing the next first level target entity part and its referenced entity parts with data from the target data base; and updating the target data base on the basis of the import graph of entity parts. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. An apparatus for executing an export process according to an automated meta model driven export of entity parts from a source data base, comprising:
-
a meta model administration unit adapted to manage a meta model specifying an abstract model of the source data base and comprising a description of an entity part and/or a reference relationship between entity parts being resolvable from a referencing entity part to a referenced entity part; an entity part processing unit adapted to identify a set of entity parts being identifiable outside the source data base by a public key, an internal key, or a mixed public and internal key as first level entity parts; a database modeling unit adapted to supplement the set of first level entity parts by a set of second level entity parts being referenced by the first level parts according to at least one reference relationship described in the meta model; and an export file generation unit adapted to write export data for the set of first level parts and the set of second level parts into an export file. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25)
-
-
26. An apparatus for executing an import process for an automated meta model driven import of entity parts from a source data base to a target data base, wherein the meta model specifies an abstract model of the source data base or the target data base and comprises a description of an entity part and/or a private child reference being resolvable from a parent entity part of the source data base or the target data base which is identifiable outside the source data base or the target data base by a public key, wherein the resolution is to at least one referenced entity part of the source data base or the target data base and is identifiable internally in the source data base or the target data base, and wherein the private child reference is used to override a pre-existing aggregation of entity parts in the target data base being referenced from an entity part of the target data base having the same public key as the parent entity part in the source data base, the apparatus comprising:
-
an import file parsing unit adapted to parse an import file to build an initial graph of entity parts according to the meta model in a repository as staging memory for data import into the target data base; a graph transformation unit adapted to transform the initial graph in the repository into an import graph of entity parts by performing the steps of; i) identifying a next entity part in the initial graph being identifiable outside the source data base by a public key as next first level source entity part; ii) searching the target data base for an entity part which has a public key corresponding to the public key of the next first level source entity part as next first level target entity part; iii) deleting entity parts being referenced by the next first level target entity part in the target data base when the referenced entity parts are identifiable internally in the target data base and a private child reference of the meta model indicates that such entity parts are to be deleted in the target data base prior to data import; iv) completing the next first level target entity part and its referenced entity parts with data from the target data base; and a data base updating unit adapted to update the target data base on the basis of the import graph of entity parts. - View Dependent Claims (27, 28, 29, 30, 31, 32, 33)
-
Specification