首页> 外文会议>WoTUG(World Occam and Transputer User Group) Technical Meeting(WoTUG-30); 20070708-11; Guildford(GB) >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相结合。在本文中,我们提出了一种将合并的ProB规范实现为并发Java程序的开发策略。已经使用类似于JCSP的方法开发了组合的B和CSP模型的Java实现。一组翻译规则将正式模型与其Java实现相关联,并且我们还提供了翻译工具JCSProB,可根据ProB规范自动生成Java程序。为了演示和练习该工具,该工具翻译了几种B / CSP模型,它们的语法结构和行为/并发属性都不同。这些模型表明存在和不存在各种安全性,死锁和有限的公平性。显示生成的Java代码可以忠实地再现它们。还演示了运行时安全性和有界公平性检查。讨论Java程序以演示我们在Java中实现抽象B / CSP并发模型的过程。总之,我们考虑了实施策略的有效性和普遍性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号