The invention discloses an
MQTT protocol fuzzy testing method and
system based on a large
language model guiding sequence
generative adversarial network, relates to the field of fuzzy testing, effectively combines the advantages of the large
language model and the sequence
generative adversarial network, and analyzes basic training data by introducing an intelligent analysis technology of the large
language model. And the quality of the training sample of the sequence
generative adversarial network is obviously improved. According to the method, the initial seeds can be enriched through the large language model, the
discriminator can be assisted to perform multi-dimensional evaluation on the data generated by the generator, and the authenticity and diversity of the test seeds are enhanced. The generation of redundant test cases is greatly reduced, so that the fuzzy test process is more efficient. Meanwhile, a seed
elimination technology based on an energy value is designed, it is further ensured that the tested seeds have higher quality, and the efficiency of
vulnerability discovery is effectively improved. Meanwhile, according to the maximum coverage length, the
test strategy is dynamically adjusted,
continuous optimization of the test process is achieved, and a
solid guarantee is provided for the test. According to the method, multi-level variation is carried out on the test seeds by utilizing a large language model,
vulnerability information existing in the test seeds is quickly positioned, and meanwhile, multi-dimensional and deeper
mutation is carried out on the test seeds, so that more existing
vulnerability information is explored, namely, the multi-level
mutation is carried out on the test seeds; the test seeds which successfully cause the vulnerabilities are verified and optimized by means of the response of the
test target, the success and failure positions are summarized, and a more reliable guarantee is provided for subsequent variation.