SQL-based data blood relationship analysis method and system
A kind of blood relationship and analysis method technology, applied in the computer field, can solve the problem of low analysis efficiency, and achieve the effect of strengthening monitoring, convenient query and development management
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] The embodiment of the present invention provides a SQL-based data blood relationship analysis method, such as figure 1 As shown, the following steps S1-S4 are included:
[0037] S1. Extract the regularized SQL statement from the script file containing the SQL code, and complete the cleaning of the SQL statement.
[0038] Step S1 includes the following sub-steps S11-S12:
[0039] S11. Obtain the script file containing the SQL code, and search for the flag bit of the SQL code.
[0040] In the embodiment of the present invention, the script file is a script such as perl.
[0041] S12. Use flag bits to filter irrelevant content in the script file, and keep the regularized SQL code statement.
[0042] According to an embodiment of the present invention, an example of SQL statement cleaning is as follows:
[0043] CREATE TABLE
[0044] ${icl_db_name}.C_PT_CUSTODY_BAL_ACCUM_TMP_ACCT${TX_DATE}
[0045] (Party_Id VARCHAR(120),Acct_Bal DECIMAL(18,2))
[0046] CLUSTERED BY ...
Embodiment 2
[0088] The embodiment of the present invention provides a SQL-based data blood relationship analysis system, such as image 3 As shown, it includes data cleaning module, data parsing module, blood relationship analysis module and visualization module connected in sequence.
[0089] Among them, the data cleaning module is used to extract the regularized SQL statement from the script file containing the SQL code to complete the cleaning of the SQL statement; the data analysis module is used to perform lexical analysis on the regularized SQL statement to generate an abstract syntax tree, And traverse the abstract syntax tree to analyze the syntax of the SQL statement; the blood relationship analysis module is used to analyze the blood relationship of the SQL statement according to the abstract syntax tree, and obtain the blood relationship analysis result; the visualization module is used to draw the data blood relationship of the SQL statement according to the blood relationship ...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap