US 12,013,843 B2
Automatic creation and synchronization of graph database objects
Peter Eberlein, Malsch (DE); and Volker Driesen, Heidelberg (DE)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Jun. 6, 2022, as Appl. No. 17/833,434.
Application 17/833,434 is a continuation of application No. 16/902,690, filed on Jun. 16, 2020, granted, now 11,354,302.
Prior Publication US 2022/0300490 A1, Sep. 22, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 16/23 (2019.01); G06F 16/21 (2019.01); G06F 16/28 (2019.01)
CPC G06F 16/2379 (2019.01) [G06F 16/212 (2019.01); G06F 16/284 (2019.01)] 17 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
receiving a request to create a graph database from two or more relational databases that include a first database for a first application and a second database for a second application;
for each relational database:
identify a set of data objects stored in the relational database; and
for each data object in the set of data objects stored in the relational database:
create a graph data object that corresponds to the data object as a vertex of a graph;
link the graph data object to the data object using an identifier of the data object;
provide a graph data object identifier of the graph data object for linking the graph data object to the data object;
determine a set of associated data objects that are associated with the data object;
for each associated data object, create an associated graph data object if a graph data object corresponding to the associated data object does not exist; and
for each created associated graph data object, create, as a directed edge in the graph, a graph data relation object that represents a relationship between the graph data object and the associated graph data object;
identifying one or more inter-application relationships between the first application and the second application that are not represented as a foreign key in the first database or the second database; and
for each inter-application relationship, creating a graph data relation object that represents the relationship and links, in the graph database, a first graph data object created from the first database with a second graph data object created from the second database;
storing the graph and created graph data objects, associated graph data objects, and graph data relation objects in the graph database;
providing the graph database to one or more applications;
determining a first change to a first graph data object in the graph database;
identifying a first data object corresponding to the first graph data object; and
providing information for the first change for updating of the first data object.