US 11,726,969 B2
Matching metastructure for data modeling
Sandra Bracholdt, Dielheim (DE); Joachim Gross, Altrip (DE); Volker Saggau, Bensheim (DE); and Jan Portisch, Bruchsal (DE)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Sep. 7, 2022, as Appl. No. 17/939,869.
Application 17/939,869 is a continuation of application No. 16/399,533, filed on Apr. 30, 2019, granted, now 11,487,721.
Prior Publication US 2023/0014739 A1, Jan. 19, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 16/20 (2019.01); G06F 16/21 (2019.01); G06F 16/28 (2019.01); G06F 16/25 (2019.01); G06F 16/22 (2019.01)
CPC G06F 16/213 (2019.01) [G06F 16/2282 (2019.01); G06F 16/254 (2019.01); G06F 16/284 (2019.01)] 21 Claims
OG exemplary drawing
 
1. A computing system comprising:
at least one hardware processor;
at least one memory coupled to the at least one hardware processor; and
one or more computer-readable storage media storing computer-executable instructions that, when executed, cause the computing system to perform operations comprising:
receiving a source representation of a first data model, wherein the source representation of the first data model comprises a first data model object representation of at least a first data model object of a first object type, the at least a first data model object comprising at least a second data model object of a second object type, the second object type being different than the first object type, the first data model object representation of the at least a first data model object comprising at least a first identifier for the at least a first data model object and at least a second identifier for the at least a second data model object;
instantiating in the at least one memory a first instance of a metastructure schema computing object datatype based at least in part on the first data model object representation and a definition of the metastructure schema computing object datatype, the metastructure schema computing object datatype comprising a first data member representing an identifier for a data model object represented by an instance of the metastructure schema computing object datatype and a second data member representing a data model object type associated with the data model object represented by the instance of the metastructure schema computing object datatype, wherein the instantiating the first instance of the metastructure schema computing object datatype comprises:
assigning the at least a first identifier for the at least a first data model object to the first data member of the first instance;
determining that the at least a first identifier is associated with a data model object of the first object type; and
assigning a type identifier to the second data member of the first instance indicating that the first instance represents the first object type;
instantiating in the at least one memory a second instance of the metastructure schema computing object datatype based on a representation of the at least a second data model object and the definition of the metastructure schema computing object datatype, wherein instantiating the second instance of the metastructure schema computing object datatype comprises:
assigning the at least a second identifier for the at least a second data model object to the first data member of the second instance;
determining that the at least a second identifier is associated with a data model object of the second object type; and
assigning a type identifier to the second data member of the second instance indicating that the second instance represents a data model object of the second object type;
storing the first instance of the metastructure schema computing object datatype and the second instance of the metastructure schema computing object datatype;
instantiating in the at least one memory an instance of a mapping computing object datatype storing an association between the first instance of the metastructure schema computing object datatype and a third instance of the metastructure schema computing object datatype, wherein the third instance of the metastructure schema computing object datatype is instantiated for at least a third data model object of a second data model, the second data model being different than the first data model, wherein the first data model object and the at least a third data model object are thus stored using a common representation, facilitating comparison between data model objects of the first data model and the second data model;
receiving a request to identify a data object in the second data model corresponding to the first data model object representation of the at least a first data model object;
retrieving the instance of the mapping computing object datatype;
from the instance of the mapping computing object datatype, identifying the at least a third data model object of the second data model as corresponding to the first data model object representation of the at least a first data model object; and
returning an identifier of the at least a third data model object in response to the request.