The invention belongs to the technical field of
software testing, and relates to a multi-protocol self-adaptive intelligent assertion engine
system and a cross-platform
verification method. The
system comprises a protocol sensing layer, a unified description layer, an adaptive execution layer and an intelligent analysis layer, the protocol
perception layer comprises a protocol feature
library, a multi-dimensional feature extractor, a confidence coefficient decision engine and a protocol version identification
subunit; the unified description layer comprises a DAL grammar parser, an
abstract syntax tree generator and a protocol independent
verification rule converter; the adaptive execution layer comprises a verifier factory, a class
loader isolation container, a protocol-verifier mapping table and an execution result aggregator; the intelligent analysis layer comprises a
nested data comparison engine, a binary difference calculation unit, a multi-dimensional result correlation analyzer and a visual renderer. The protocol identification accuracy is high, and the
code reuse rate is high; the maintenance cost is low; multi-dimensional
verification is realized; the new protocol is short in
adaptation period and high in expansion capability, and the data flow difference in the multi-protocol interaction link can be visually displayed.