首页> 外国专利> Generating finite state machines for software systems with asynchronous callbacks

Generating finite state machines for software systems with asynchronous callbacks

机译:为具有异步回调的软件系统生成有限状态机

摘要

Techniques and tools for generating finite state machines (“FSMs”) for a software system with asynchronous callbacks are described. For example, method invocations in a model of the software system are partitioned into observable and controlled method invocations. The controlled method invocations are those which can be run from a test harness while the observed method invocations are those which are observed asynchronously as they are invoked in the system. An FSM is created with observation and control nodes such that observable transitions are found from observation nodes and controlled transitions are found from control nodes. If a state of the model contains both controlled and observable invocations, a timeout transition is added to the FSM to give an implementation time to come up with an observed method invocation before continuing to controlled invocations.
机译:描述了用于为具有异步回调的软件系统生成有限状态机(“ FSM”)的技术和工具。例如,将软件系统模型中的方法调用划分为可观察和受控的方法调用。受控方法调用是可以从测试工具运行的调用,而观察到的方法调用是在系统中调用时异步观察到的调用。使用观察和控制节点创建FSM,以便从观察节点找到可观察到的过渡,并从控制节点找到受控的过渡。如果模型的状态既包含受控调用又包含可观察调用,则将超时转换添加到FSM,以便在继续受控调用之前为实现时间提供观察方法调用。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号