The invention relates to a meta-
heuristic test case sorting method based on a
hybrid model, and belongs to the technical field of
wireless communication. The method comprises the following steps: S1,searching communication protocol test cases related to a test demand of a tested party, and calculating similarity factors Si and j between the test cases and an importance degree TF-IDF value of testdata; s2, according to the TF-IDF value, initializing the brightness Bright nessi, j of the firefly
intelligent agent (FA) and designing a target function f (xi, j); s3, according to the editing distance and the Brightnessi, j, an improved
firefly algorithm is used for searching for a node candidate set Setcandidate to be reached at the next position of the FA in a global search mode; s4, selecting an optimal solution from the candidate set Setcandidate according to the similarity factor Si, j through local search; and S5, changing the starting point position of the
test case, repeating thesteps S2 to S4, searching and recording the optimal moving path of the FA, and outputting an
optimal test sequence. According to the invention, the industrial
wireless communication protocol
test efficiency is improved, and the test cost is reduced.