Patent · US Active

Method and system for managing execution plan in graph database

US11874831B2 · kind B2 · utility

0Cited by
3References
9Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 7, 2022
Grant dateJan 16, 2024
Priority date
Expiry dateApr 14, 2042

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/24542
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method and system for managing an execution plan in a graph database includes: acquiring a graph query language, analyzing the graph query language by using a scanner to generate a predefined Token, and parsing the predefined Token into a data structure by using a parser to obtain an abstract syntax tree; next, processing the abstract syntax tree by using a planner to generate an execution plan, registering a mapping table to store variables in the execution plan and corresponding variable values, and optimizing the execution plan by using an optimizer, where the execution plan includes customized execution operators and customized topologies; and finally, traversing and scheduling the execution plan by using a scheduler, to output an obtained execution result. The present disclosure modularizes the execution operators, improves reusability, and reduces the development cost. The execution plan is scheduled by using an asynchronous notification mechanism, to reduce blocking.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.