Graphical modeling of database query statements

US9594802B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9594802-B2
Application numberUS-201414496788-A
CountryUS
Kind codeB2
Filing dateSep 25, 2014
Priority dateSep 25, 2014
Publication dateMar 14, 2017
Grant dateMar 14, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Example embodiments involve a system, computer-readable storage medium storing at least one program, and computer-implemented method for graphical modeling and editing of database query statements. The method may include accessing a database query statement, and generating an abstract syntax tree (AST) representing a syntactic structure of the database query statement. The method may further include generating a graphical model of the database query statement based on the AST, and rendering the graphical model.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: accessing a database query statement, the database query statement being an executable instruction expressing an action to be performed with respect to a database; generating, using one or more processors, an abstract syntax tree (AST) corresponding to the database query statement, the AST being a data structure representing a syntactic structure of the database query statement; generating a domain model using the AST, the domain model describing elements of the database query statement and roles and relationships of each element; generating a graphical model of the database query statement using the domain model, the graphical model being a graphical representation of the structure of the database query statement; and causing presentation of the graphical model of the database query statement on a client device. 2. The method of claim 1 , further comprising: receiving a user edit to the graphical representation of the structure of database query statement; and in response to receiving the user edit to the graphical representation of the structure of the database query statement, updating the database query statement in accordance with the user edit to the graphical representation of the structure of the database query statement. 3. The method of claim 1 , further comprising: identifying an error in the database query statement; and in response to identifying the error, causing the client device to present a suggestion for correcting the error. 4. The method of claim 3 , further comprising: identifying at least one element in the graphical model of the database query statement corresponding to the error; and causing the identified at least one element in the graphical model to be visually distinguished from remaining elements in the graphical model. 5. The method of claim 1 , further comprising: analyzing the database query statement; generating a suggestion to optimize the database query statement based on the analyzing of the database query statement; and causing the client device to present the suggestion to optimize the database query statement. 6. The method of claim 1 , wherein the database query statement is included in a source object, and wherein the accessing of the database query statement includes accessing the source object. 7. The method of claim 1 , wherein the generating of the AST includes parsing the database query statement to identify the syntactic structure. 8. The method of claim 1 , wherein the generating of the domain model includes modifying the AST to include additional attributes. 9. The method of claim 1 , wherein the domain model is generated to conform to Eclipse Modeling Framework (EMF). 10. The method of claim 1 , wherein the domain model is an Extensible Markup Language (XML) model. 11. The method of claim 1 , wherein the database query statement is an OpenSQL query. 12. A system comprising: a machine-readable medium storing a source object, the source object including a database query statement, the database query statement being an executable instruction expressing an action to be performed with respect to a database; a parser, comprising at least one processor, configured to access and parse the database query statement to generate a corresponding abstract syntax tree (AST), the AST being a data structure representing a syntactic structure of the database query statement; a generation module configured to generate a domain model using the AST, the domain model describing roles and relationships of each element in the database query statement; a modeling engine configured to generate a graphical model of the database query statement using the domain model, the graphical model being a graphical representation of the database query statement, the modeling engine further to cause presentation of the graphical model. 13. The system of claim 12 , further comprising an editor module configured to perform operations comprising: receiving user input specifying an edit to the graphical model; updating the graphical model based on the user input; converting the updated graphical model to an updated database query statement; and causing presentation of updated database query statement. 14. The system of claim 13 , wherein the editor module is further configured to replace the database query statement in the source object with the updated database query statement. 15. The system of claim 12 , further comprising a validation module configured to validate syntax of the database query statement. 16. The system of claim 12 , further comprising a suggestion module configured to provide a suggestion to improve the database query statement based on results of a syntax validation of the database query statement. 17. The system of claim 12 , wherein the generating of the graphical model performed by the modeling engine includes mapping the AST to a particular modeling framework. 18. A non-transitory tangible computer-readable storage medium including instructions that, when executed by at least one processor of a machine, cause the machine to perform operations comprising: accessing a database query statement, the database query statement being an executable instruction expressing an action to be performed with respect to a database; generating an abstract syntax tree (AST) corresponding to the database query statement, the AST being a data structure representing a syntactic structure of the database query statement; generating a domain model by modifying the AST to include one or more additional attributes, the domain model describing the elements of the database query statement and the roles and relationships of each element; generating a graphical model of the database query statement using the domain model, the graphical model being a graphical representation of the database query statement; and causing presentation of the graphical model of the database query statement on a client device. 19. The method of claim 2 , wherein the modifying of the database query statement in accordance with the user edit comprises: translating the graphical model to an Extensible Markup Language (XML) model; and converting the XML model to an updated database query statement.

Assignees

Inventors

Classifications

  • Query predicate definition using graphical user interfaces, including menus and forms (G06F16/2423 takes precedence) · CPC title

  • Internal representations for queries · CPC title

  • Physics · mapped topic

  • Physics · mapped topic

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9594802B2 cover?
Example embodiments involve a system, computer-readable storage medium storing at least one program, and computer-implemented method for graphical modeling and editing of database query statements. The method may include accessing a database query statement, and generating an abstract syntax tree (AST) representing a syntactic structure of the database query statement. The method may further in…
Who is the assignee on this patent?
Krishnamurthy Sundaresan, Balasubramanian Vijayan, Sap Se
What technology area does this patent fall under?
Primary CPC classification G06F16/2428. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 14 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).