The invention discloses a method for achieving a distributed
system behavior simulated analysis tool based on a behavior tree. The method comprises the steps that a graphic symbol of a pel corresponding to a typical behavior tree factor is established, a
simulation function on a behavior tree model expressed by an
XML document is designed and achieved, a traversal
algorithm of the behavior tree model based on
XML is designed and achieved, an input interface through which a user defines whether a behavior is reachably verified or not within
time cost is given, a variable for recording traversal
time cost is designed, an external
java programmatic interface defined by the behavior in the model is achieved, and therefore a
simulation tool can call a function defined by the user. By means of the method, the graphic simulated analysis tool based on the behavior tree can be achieved, the tool achieved through the method can achieve
system modeling, a method is provided for interactive logic reasonability, timeliness and reliability analysis of a distributed
system, and the advantages of being simple in model, high in description capacity, accurate and comprehensive are achieved.