The invention discloses an intelligent detection method and
system for abnormal
SQL statement judgment, and the method comprises the steps: designing a CNN-LSTM dual-channel architecture and a cross-
modal attention fusion layer through the introduction of a combined design of an
abstract syntax tree,
byte pair coding and a
recurrent neural network, enabling the two networks to capture local and global features respectively, and carrying out the recognition of abnormal
SQL statements. The feature weight is dynamically adjusted through an attention mechanism, deep interactive fusion is realized, a heterogeneous base learner cluster is constructed, a meta learner is constructed by extracting multi-dimensional scene features and introducing a multi-layer
perceptron, the base learner weight adaptive to the scene is dynamically generated, and meanwhile, a judgment threshold value is adjusted in combination with actual requirements, so that scene self-adaptive accurate decision is realized; and finally, abnormal
SQL detection is achieved. According to the method, the
feature fusion defect is solved through a cross-
modal dynamic attention mechanism, scene
adaptive optimization is realized through a meta-learning-driven dynamic decision framework, and the diversity of the model is enhanced through cooperation of multi-scale embedding and differentiated training strategies.