AISQL parser in decision-making distributed database system and implementation method thereof
A distributed, database technology, applied in the field of SQL parser, can solve problems such as demanding requirements, project implementation cost, high risk and cycle, lack of support for grammar parsing, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Embodiment 1 of the present invention provides an AI SQL parser in a decision-type distributed database system, such as figure 1 As shown, the SQL parser supporting AI SQL includes:
[0026] The grammar definition module 10 is used to define the grammar for implementing AI SQL;
[0027] The AI SQL parsing module 20 is used to parse the input AI SQL statement to obtain a parsed syntax tree;
[0028] The logical execution plan generation module 30 is used to create a new logical execution plan based on the parsed syntax tree.
[0029] In the present invention, new grammatical definitions are used to implement AI SQL and AI SQL, which is an extended SQL of the SQL2011 standard, reduces the threshold for AI use and the demand for AI programming developers, saves the cost of AI projects, and makes full use of the entire While clustering the overall resources (GPU, CPU, memory, etc.), complex data analysis tasks can be optimized and executed as a whole. Compared with the existing s...
Embodiment 2
[0031] A parser for AI SQL in a decision-type distributed database system, such as figure 2 As shown, the difference from Embodiment 1 is that the grammar definition module 10 includes:
[0032] The grammar definition unit 101 created by the AI model is used to define the grammar created by the AI model,
[0033] ::=CREATE[ ]MODEL
[0034] AS
[0035] ::= TEMPORARY
[0036] ::=GLOBAL|LOCAL
[0037] ::=
[0038] ::= As defined in the SQL 2011 specification
[0039] ::=[ ]
[0040] ::= As defined in the SQL 2011 specification
[0041] ::=.
[0042] ::= As defined in the SQL 2011 specification
[0043] ::= As defined in the SQL 2011 specification;
[0044] The grammar definition unit 102 of the AI model update is used to define the grammar of the AI model update,
[0045] ::=UPDATE[ ]MODEL
[0046] AS ;
[0047] The grammar definition unit 103 of AI model evaluation is used to define the grammar of AI model evaluation,
[0048] ::=SELECT FROM [0049] ::= As defined ...
Embodiment 3
[0062] ::=
[0063] ::= |
[0064] ::= ARRAY
[0065] ::= MULTISET
[0066] among them The middle is the domain data type built into the feature knowledge base by the system, such as age, address, email address, gender, mobile phone number, ID number, hundred-point score, five-point score, altitude, etc. Is the user-extended domain data type;
[0067] The grammar definition unit 105 of the AI model application is used to define the grammar of the AI model application. The application of the AI model is a prediction function that generates a prediction result based on the data set input by the user and the selected built model. The prediction result includes : Classification results, trends, association relationship mining, recommendation results, etc. These results are also a set. In special cases, this set may only have one row of data.
[0068] :=SELECT FROM [0069] ::=[ ] ; [0070] AI SQL other grammar definition unit 106, used to define other grammars of AL SQL...
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