SYSTEM AND METHOD FOR TRANSLATING AND EXECUTING QUERIES
First Claim
Patent Images
1. A method for executing a query in a business system, comprising:
- receiving a first query specifying a business object, a node in the business object, and an operation to be performed with the business object, the first query defined in a structured query language;
extracting identifiers corresponding to the business object, the node, and the operation from the first query;
translating the extracted information into a second query, the second query defined in a native query format of the business object;
sending the second query to a backend application storing the business object;
receiving a query result from the backend application; and
presenting the query result from the backend operation.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and systems for converting standardized, structured queries into native business object queries are provided. The structured queries may be defined in a business object-specific structured query language (BQL). A BQL engine can translate the structured query into a query suited for use by the appropriate business object. In an embodiment, the BQL engine and the related query language provide the primary interface to backend applications and business objects. Embodiments may include a search infrastructure to create indexed views of business objects and a local client proxy to handle requests not handled by indexed views.
22 Citations
19 Claims
-
1. A method for executing a query in a business system, comprising:
-
receiving a first query specifying a business object, a node in the business object, and an operation to be performed with the business object, the first query defined in a structured query language; extracting identifiers corresponding to the business object, the node, and the operation from the first query; translating the extracted information into a second query, the second query defined in a native query format of the business object; sending the second query to a backend application storing the business object; receiving a query result from the backend application; and presenting the query result from the backend operation. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for executing a query in a business system comprising:
-
receiving a first query specifying a business object, a node in the business object, and an operation to be performed with the business object, the first query defined in a structured query language; extracting the business object, the node, and the operation from the first query; querying a search infrastructure to determine if an indexed view of data requested by the first query exists; if an indexed view exists; sending the first query to the search infrastructure; and receiving a query result from the search infrastructure; if no indexed view exists; translating the extracted information into a second query, the second query defined in a native query language of the business object; and sending the second query to a backend application storing the business object; receiving a query result from the backend application; and presenting the query result from the backend operation. - View Dependent Claims (9, 10)
-
-
11. A method of accessing data from a backend application, comprising:
-
constructing a structured query referencing at least one business object, each business object having a plurality of nodes, the structured query specifying a restriction on at least one of the plurality of nodes; using a portal interface, sending the structured query to a business system having a backend application storing the referenced business object; and receiving a query result from the business system, the query result containing data corresponding to nodes filtered by the restriction. - View Dependent Claims (12, 13, 14)
-
-
15. An apparatus comprising:
-
an input to receive a structured query; a parsing engine to extract a business object operation referenced by the structured query; a decider module to determine whether an indexed view of data requested by the structured query exists; a native query engine to construct a new query in a language native to the backend application; and an output to send the new query to the backend application. - View Dependent Claims (16, 17, 18, 19)
-
Specification