摘要:
A method and apparatus for generating test sequences for communication protocols that inputs data of finite state machines (FSM) representing the specification of the communication protocols, converts the test sequence generation problem to the satisfiability problem (SAT problem), and generates test sequences for communication protocols by solving the SAT problem. The method converts the test sequence generation problem to the SAT problem by modifying the FSM and describing the test sequence generation problem using a conjunctive normal form formula based on the modified FSIM. By considering multiple input/output (UID) sequences and overlapping sequences, the method generates minimum length test sequence to check whether the states described in the specification of the protocol exist in the implementation of the FSM.
摘要:
The present invention's method and apparatus to generate test sequences for communication protocols input the data of the finite state machines (FSM) representing the specification of the communication protocols, and convert the test sequence generation problem to the SAT problem, and generate test sequences for communication protocols by solving the SAT problem. In addition, the present invention converts the test sequence generation problem to the SAT problem by modifying the FSM and describing the test sequence generation problem by using a conjunctive normal form formula based on the modified FSM. According to the present invention, by considering the multiple UIO sequences and the overlapping of the UIO sequences, the minimum length test sequence to check whether the states described in the specification of the protocol exist in the implementation of the FSM can be generated. According to the present invention, by considering the overlapping of the subsequences, the minimum length test sequences to check whether the state transitions described in the specification of the protocol is correctly implemented in the implementation of the FSM can be generated.
摘要:
A mobile node simulator (100) includes: a behavior simulator section (140) for simulating behaviors of a plurality of mobile nodes in accordance with a behavior model, the behavior model being definable by a user; and a network simulator section (120) for simulating a communication on a network including the plurality of mobile nodes. A network application (180) targeted for an evaluation of a simulation is implemented on the network simulator section (120). The network simulator section (120) is configured to output an output from the network application (180) to the behavior simulator section (140) at each simulation time t. The behavior simulator section (140) is configured to be capable of changing a behavior of at least one of the plurality of mobile nodes in accordance with the behavior model in response to the output from the network application (180).