首页> 外文会议>WoTUG Technical Meeting >JCSProB: Implementing Integrated Formal Specifications in Concurrent Java
【24h】

JCSProB: Implementing Integrated Formal Specifications in Concurrent Java

机译:JCSprob:在并发Java中实现集成的正式规范

获取原文

摘要

The ProB model checker provides tool support for an integrated formal specification approach, combining the classical state-based B language with the event-based process algebra CSP. In this paper, we present a developing strategy for implementing such a combined ProB specification as a concurrent Java program. A Java implementation of the combined B and CSP model has been developed using a similar approach to JCSP. A set of translation rules relates the formal model to its Java implementation, and we also provide a translation tool JCSProB to automatically generate a Java program from a ProB specification. To demonstrate and exercise the tool, several B/CSP models, varying both in syntactic structure and behavioural/concurrency properties, are translated by the tool. The models manifest the presence and absence of various safety, deadlock, and bounded fairness properties; the generated Java code is shown to faithfully reproduce them. Run-time safety and bounded fairness checking is also demonstrated. The Java programs are discussed to demonstrate our implementation of the abstract B/CSP concurrency model in Java. In conclusion we consider the effectiveness and generality of the implementation strategy.
机译:Prob模型检查器为集成的形式规范方法提供工具支持,将基于古典状态的B语言与基于事件的过程代数CSP组合。在本文中,我们介绍了实现这样一个组合的问题规范作为并发Java程序的开发策略。使用类似的JCSP方法开发了组合B和CSP模型的Java实现。一组翻译规则将正式模型与其Java实现相关,我们还提供了一个翻译工具JCSprob,以从问题规范自动生成Java程序。为了演示和锻炼该工具,工具翻译了几个B / CSP模型,在句法结构和行为/并发属性中变化。模型表现出各种安全,僵局和有界公平性质的存在和不存在;显示生成的Java代码忠实地重现它们。还证明了运行时间安全和有界公平检查。讨论了Java程序以演示我们在Java中的抽象B / CSP并发模型的实现。总之,我们考虑实施策略的有效性和一般性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号