The application relates to a
spacecraft intelligent
software virtual
simulation test scene intelligent generation method, and belongs to the technical field of
spacecraft software testing and
simulation, which comprises the following steps: an IR structure with rich
semantics is defined in advance; through a preset structured prompt word, a large
language model LLM is called to recognize and extract task targets, entities, behaviors, environments, constraints and disturbance elements in
natural language instructions; the LLM analyzes the extracted elements into nodes, node attributes and
time sequence relationships, logical relationships and hierarchical relationships between the nodes in the predefined IR structure, generates a structured IR; a generated IR
JSON file is loaded, and according to a preconfigured conversion rule
library of the IR structure to a scene description language, the structured IR is converted into an
executable simulation script; a simulation engine analyzes and executes the script, and instantiates a specific and high-fidelity
test scene. The problems of low
automation, high professional threshold and poor
scalability in the
simulation test of
spacecraft intelligent
software are solved.