Dynamic grammar analysis method and analysis system thereof

A technology of dynamic grammar and analysis method, applied in the creation of semantic tools, special data processing applications, instruments, etc., can solve problems such as database incompatibility and impossibility, and achieve dynamic analysis and recognition with simple and reliable methods

Inactive Publication Date: 2018-04-13
湖南上容信息技术有限公司
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the database user is using database A, if the user wants to use a certain database management and use tool in database B, this goal cannot be realized due to the incompatibility between databases.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dynamic grammar analysis method and analysis system thereof
  • Dynamic grammar analysis method and analysis system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Such as figure 1 Shown is the method flowchart of the method of the present invention: this dynamic grammar analysis method provided by the present invention comprises the following steps:

[0034] S1. Obtain the grammar library data of all databases that need to be parsed; in specific implementation, the databases include SQLServer, ORACLE, SYBASE and DB2, etc.;

[0035] S2. Analyze the data of the grammar database obtained in step S1, obtain the characteristic keywords of the grammar database corresponding to each database through the database type keyword grammar model, and set a corresponding weight value for each characteristic keyword;

[0036] S3. Obtain the sentence information input by the user;

[0037] S4. Using bison to perform lexical and grammatical analysis on the sentence information obtained in step S3, so as to obtain keywords in the sentence information;

[0038] S5. match the keyword in the sentence information that step S4 obtains with the charact...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a dynamic grammar analysis method. The method comprises the steps that grammar base data of databases needing grammar analysis is acquired; feature keywords of grammar bases are obtained, and weights are set; input statement information is acquired, and keywords are acquired; the keywords are matched with the feature keywords to obtain matching scores; the matching degree between the statement information and each database is calculated; and the grammar bases corresponding to the databases are selected to perform grammar analysis on the statement information input by auser. The invention furthermore provides an analysis system for implementing the dynamic grammar analysis method. Through the dynamic grammar analysis method and the analysis system, the feature keywords in the grammar bases of various databases are extracted, the keywords in the input statement information are acquired, and the feature keywords and the keywords are matched, so that a final grammar base corresponding to the statement information is obtained through comprehensive matching. Therefore, through the method, the user can call multiple types of grammar bases from different databasesto realize dynamic analysis and recognition of grammar, and moreover the method is simple and reliable.

Description

technical field [0001] The invention specifically relates to a dynamic grammar analysis method and an analysis system thereof. Background technique [0002] With the development of national economy and technology, the improvement of people's living standards, and the advent of the Internet era, data has become one of the most important resources in the world. As the importance of data continues to increase, data management has also received more and more attention. , as a tool for efficient access and management of massive data resources, database technology is of course becoming more and more important. [0003] At present, there are many types of commonly used databases, including the open source software SQLServer suitable for small and medium-sized enterprises; ORACLE with high performance and wide application; SYBASE with better performance under the unix platform; DB2, which is mainly used in data warehouses and online transaction processing, etc. . Moreover, with t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/3344G06F16/36
Inventor 屈雄伟苏湘玉许京奕
Owner 湖南上容信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products