Index query method and device based on syntax tree, medium and electronic equipment
A query method and syntax tree technology, applied in the Internet field, can solve the problems of high manpower and time costs, and the inability of ordinary users to achieve the effect of improving utilization and saving time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a flow chart of the syntax tree-based index query method provided in Embodiment 1 of this application. This embodiment is applicable to the scenario where non-R&D users query indexes. implemented by a device, which may be implemented by software and / or hardware, and may be integrated into an electronic device.
[0027] like figure 1 As shown, the index query method based on the syntax tree includes:
[0028] S110, receiving an SQL query statement imported from the target platform.
[0029] This solution is implemented by the server and is applied to the situation where business personnel can query based on the index of the syntax tree.
[0030] Wherein, the target platform may be a platform capable of sending SQL query statements. The SQL statement is a standard query language of a relational database. The SQL language is a database query and programming language used for accessing data and querying, updating and managing relational database systems....
Embodiment 2
[0047] figure 2 It is a flow chart of index query based on syntax tree in Embodiment 2 of the present invention, and this embodiment is optimized on the basis of the foregoing embodiments. The specific optimization is as follows: the definition process of the simple index and the composite index includes: processing the source data to obtain source table information; wherein, the source table information includes at least one of table information and table fields; At least one of the source table information constructs an association relationship to obtain index dependency information; in response to a simple index definition request, determine the index dependency information of the simple index; and in response to a composite index definition request, determine the composite index dependency The simple indicators and the compound calculation formula between the simple indicators, and determine the indicator dependence information of the simple indicators that depend on.
...
Embodiment 3
[0067] image 3 A structural block diagram of a syntax tree-based index query device provided in Embodiment 4 of the present invention, the device can execute the syntax tree-based index query method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial Effect. like image 3 As shown, the device may include: a query sentence receiving module 310, a syntax tree generating module 320, an index determining module 330, a translation result obtaining module 340 and a query module 350:
[0068] Query statement receiving module 310, for receiving the SQL query statement that target platform imports;
[0069] Syntax tree generating module 320, for extracting the incoming parameters of the SQL query statement through a standard interface, and assembling the incoming parameters into syntax tree parameters to generate a syntax tree to be processed;
[0070] The index determination module 330 is configured to call the information o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com