The invention belongs to the field of
train control, and provides an interface
test case automatic generation method,
system and device. The method comprises the following steps: dynamically constructing a preset rule set according to an interface parameter relationship and a weight, and establishing a dynamic coverage process according to the preset rule set; and generating an initial
population according to the dynamic coverage process, performing global search and local search on the initial
population in combination with various
heuristic algorithms, and iteratively generating a
test case. According to the method, the search space in the
generation process is reduced and the generation efficiency is improved by adaptively combining the association constraint relationship, the priority and the like in the ATP interface parameter requirements; the advantages of an efficient global
search algorithm and a local search and enhancement
algorithm are combined, convergence is accelerated,
local optimum is avoided, and the test coverage rate of a solution is improved; meanwhile, parameters in the
generation process are dynamically and adaptively adjusted according to information such as an iteration period, dynamic coverage and
internal feedback, and the solution time and the solution quality are balanced.