Method and system for analyzing and matching SQLs (Structured Query Languages)

A technology of lexical and grammatical analysis, applied in transmission systems, special data processing applications, instruments, etc., can solve problems such as low success rate, grammatical analysis, and retention, and achieve high accuracy, high intelligence, and good integrity Effect

Inactive Publication Date: 2010-12-01
BEIJING VENUS INFORMATION TECH +1
View PDF0 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (1) It generally stays at the level of obtaining SQL statements from the user's network environment, and does not perform in-depth grammatical analysis on them, resulting in a low success rate of matching SQL statements with definition rules that users care about;
[0008] (2) It is easy to cause serious events such as false positives or missed negatives
[0010] (1) The parsing degree of the SQL statement as mentioned above is not enough;
[0011] (2) The matching algorithm is too simple, and a simple string matching method is generally used to match the entire result
[0012] To sum up, in view of the low level of SQL statement parsing and SQL rule matching at present, it is necessary to propose a technology with better SQL statement parsing and rule matching effects to solve the above technical problems

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
  • Method and system for analyzing and matching SQLs (Structured Query Languages)
  • Method and system for analyzing and matching SQLs (Structured Query Languages)
  • Method and system for analyzing and matching SQLs (Structured Query Languages)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The implementation of the present invention will be described in detail below with reference to the accompanying drawings and embodiments, so as to fully understand how the present invention applies technical means to solve technical problems and achieve the realization process of technical effects and implement them accordingly.

[0050] One of the reasons why most of the current network intrusion detection, network intrusion prevention and auditing products have a low matching success rate for SQL rules is that the matching algorithm is too simple. Generally, only simple string matching is used to match the entire result. , And does not use different matching algorithms based on different types of results.

[0051] figure 1 It is a schematic flowchart of an embodiment of the SQL parsing and matching method of the present invention. Such as figure 1 As shown, the method embodiment mainly includes the following steps:

[0052] Step S110: Analyze the user's database environmen...

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 method and a system for analyzing and matching SQLs (Structured Query Languages), which is used for effectively analyzing and matching SQL sentences. The method comprises the following steps of: establishing an incidence relation library among a database table, a database and the fields of the database table; establishing a matching rule set according to the incidence relation library; establishing a basic syntax analyzing rule library according to SQL sentences defined by the SQL / 99 standard; establishing an extended syntax analyzing rule library according to SQL sentences realized by main-trend database manufacturers; carrying out syntax analysis to the inputted SQL sentences according to the basic syntax analyzing rule library and the extended syntax analyzing rule library to obtain user concerning information; establishing an operational character set and establishing matching algorithms for operational characters in the operational character set; and selecting the matching algorithms according to the matching rule set and the operational character set and then matching the user concerning information and the matching rule set to obtain matching results. The invention can be widely applied to product for network intrusion detection, network intrusion prevention, database audit and the like.

Description

Technical field [0001] The present invention relates to network security protection technology, in particular to a method and system for SQL analysis and matching. Background technique [0002] Network intrusion detection systems and network intrusion prevention systems are important ways and means to protect network security. They are usually deployed at the entrance of key networks or at the entrance of network borders to monitor and capture the network data flow in and out of the network in real time and conduct intelligent comprehensive analysis. Real-time network intrusion behavior and real-time block or alarm and other response measures. [0003] Auditing products are also a very important method and means in network security protection. Auditing products are also deployed inside key networks or at the entrance of network borders, bypass monitoring the real-time data flow in the network and perform intelligent comprehensive analysis to monitor the network. Whether the system...

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/30H04L29/06
Inventor 姚熙陈永涛刘晖邱少红
Owner BEIJING VENUS INFORMATION TECH
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