The invention discloses an AI-based intrusion protection response
data processing method and a
server, which can analyze a code of an
SQL (Structured
Query Language) instruction by collecting the code of the
SQL instruction and utilizing a
data processing and semantic comprehension
algorithm based on
artificial intelligence and
deep learning. According to the method,
abstract syntax tree semantic embedding representation of
SQL instruction codes is captured and depicted, filtering is carried out on the basis of association information between node embedding
semantics in the embedding representation, and node embedding
semantics with higher semantic expression quality are purified to replace original nodes. Then, SQL code semantic coding based on a tree-shaped long-short-
term memory network is carried out on the semantic embedded representation of the
abstract syntax tree subjected to filtering and purification
processing, so that accurate recognition and detection of
SQL injection vulnerabilities are achieved by enhancing the structured dependency relationship among words in SQL instruction codes. Therefore, intrusion protection response
data processing can be performed more intelligently, and automatic identification and detection of
SQL injection attacks are facilitated, so that the problem of horse hanging is solved from the source, and the security of a website is enhanced.