首页> 外文期刊>Journal of Information Recording >Composition and Testing of Connection Fault Handling Behaviors in Programs with AND/OR Graph
【24h】

Composition and Testing of Connection Fault Handling Behaviors in Programs with AND/OR Graph

机译:在具有和/或图形的程序中连接故障处理行为的构图和测试

获取原文
获取原文并翻译 | 示例
           

摘要

To programs running on components in a distributed system, both network and component failures manifest as connection faults that are represented by exceptions. Although many strategies are available for handling connection faults, it is often necessary to compose multiple strategies in such programs, especially in Internet of Things systems and cyber-physical systems. Moreover, it should be possible to specify a program's connection fault handling behaviors prior to implementation. Having observed the lack of appropriate design-level constructs, we propose an extended AND/OR graph for modeling composite connection fault handling behaviors in programs. The extended AND/OR graph enables succinct representations of complex fault handling behaviors by composing the constituent strategies of retrying, communicating failure, and ignoring failure. Furthermore, we develop a model-based testing framework that accepts the extended AND/OR graph specification as input and generates tests for checking the connection fault handling behaviors of a program constructed from the specification. The proposed method is illustrated with a Java program to detect and report failure of a device. In particular, the AND/OR graph specification stipulates that the program handles connection faults covering network failures by composing retrying strategy. From this specification, tests are generated by finding all solution trees of the AND/OR graph subject to the number of retries to cover all the paths that lead to the program's normal and exceptional exits, respectively. The extended AND/OR graph and the model-based testing framework contribute to the means for specifying and testing connection fault handling behaviors of programs that are crucial to the success of Internet of Things systems and cyber-physical systems.
机译:对于在分布式系统中的组件上运行的程序,网络和组件故障都会显示为由例外表示的连接故障。虽然许多策略可用于处理连接故障,但通常需要在此类计划中撰写多种策略,尤其是在系统和网络物理系统的互联网上。此外,应该可以在实现之前指定程序的连接故障处理行为。观察到缺乏适当的设计级别构造,我们提出了一个扩展和/或图表,用于在程序中建模复合连接故障处理行为。扩展和/或图表通过构图重试,传送失败和忽略失败的组成策略,可以通过构成策略来实现复杂故障处理行为的简洁表示。此外,我们开发基于模型的测试框架,该测试框架接受扩展和/或图形规范作为输入,并生成检查从规范构造的程序的连接故障处理行为的测试。所提出的方法用Java程序说明以检测和报告设备的失败。特别地,AND /或图表规范规定通过构思重试策略来处理程序处理涵盖网络故障的连接故障。根据本说明书,通过查找受到重试次数的所有解决方案树来生成测试,以覆盖导致程序正常和卓越的出口的所有路径。扩展和/或图形和基于模型的测试框架有助于指定和测试对事物系统和网络系统互联网成功至关重要的程序的连接故障处理行为。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号