Storing graph data representing workflow management
First Claim
1. A computer-implemented method for storing graph data representing a workflow of a business process, the method comprising:
- generating the workflow of the business process;
generating a graph having a plurality of nodes and connecting edges, wherein contents of the workflow is stored in the form of graphs;
generating a graph data having a predicate and arguments corresponding to the nodes;
implementing a B-tree as a set of tables including a predicate table and arguments tables;
storing the predicate in the predicate table of the B-tree;
storing the arguments in arguments tables of the B-tree;
storing relations between the arguments in a relations table of the B-tree;
generating a link to the relations table of the B-tree;
generating links to the arguments table of the B-tree;
storing the link to the relations table of the B-tree and the links to the arguments tables of the B-tree in the predicate table of the B-tree so as to indicate a connection between the relations B-tree and the arguments B-trees,wherein relations between the predicate and the arguments are determined by the edges of the graph;
determining, in response to a request for a graph item from a requestor, a set of arguments and a relation connected by the predicate table of the B-tree; and
returning the graph item to the requestor.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for storing complex graph data. The graph data is represented by triples, quadruples, quintuples, etc. In order to speed up storage and retrieval of graph data, the data is stored in a form of triples, quadruples, quintuples, etc. in a B-tree. The B-trees are data structures that allow operations on dynamic data sets. The operations can be search, search for minimum and maximum values, insert, delete, reference to parent or child directory. The tree can be used as a dictionary or as a prioritized chain. The speed of tree operations is proportional to the height. The data is read as blocks from the same location. If a tree node is moved to an operational memory, an allocated memory block is moved and the operation executes very fast.
-
Citations
17 Claims
-
1. A computer-implemented method for storing graph data representing a workflow of a business process, the method comprising:
-
generating the workflow of the business process; generating a graph having a plurality of nodes and connecting edges, wherein contents of the workflow is stored in the form of graphs; generating a graph data having a predicate and arguments corresponding to the nodes; implementing a B-tree as a set of tables including a predicate table and arguments tables; storing the predicate in the predicate table of the B-tree; storing the arguments in arguments tables of the B-tree; storing relations between the arguments in a relations table of the B-tree; generating a link to the relations table of the B-tree; generating links to the arguments table of the B-tree; storing the link to the relations table of the B-tree and the links to the arguments tables of the B-tree in the predicate table of the B-tree so as to indicate a connection between the relations B-tree and the arguments B-trees, wherein relations between the predicate and the arguments are determined by the edges of the graph; determining, in response to a request for a graph item from a requestor, a set of arguments and a relation connected by the predicate table of the B-tree; and returning the graph item to the requestor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
Specification