首页> 外文期刊>Formal Aspects of Computing >Integrating a formal method into a software engineering process with UML and Java
【24h】

Integrating a formal method into a software engineering process with UML and Java

机译:使用UML和Java将形式化方法集成到软件工程过程中

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

摘要

We describe how CSP-OZ, a formal method combining the process algebra CSP with the specification language Object-Z, can be integrated into an object-oriented software engineering process employing the UML as a modelling and Java as an implementation language. The benefit of this integration lies in the rigour of the formal method, which improves the precision of the constructed models and opens up the possibility of (1) verifying properties of models in the early design phases, and (2) checking adherence of implementations to models. The envisaged application area of our approach is the design of distributed reactive systems. To this end, we propose a specific UML profile for reactive systems. The profile contains facilities for modelling components, their interfaces and interconnections via synchronous/broadcast communication, and the overall architecture of a system. The integration with the formal method proceeds by generating a significant part of the CSP-OZ specification from the initially developed UML model. The formal specification is on the one hand the starting point for verifying properties of the model, for instance by using the FDR model checker. On the other hand, it is the basis for generating contracts for the final implementation. Contracts are written in the Java Modeling Language (JML) complemented by CSP_(jassda), an assertion language for specifying orderings between method invocations. A set of tools for runtime checking can be used to supervise the adherence of the final Java implementation to the generated contracts.
机译:我们描述了如何将CSP-OZ(一种将过程代数CSP与规范语言Object-Z结合在一起的正式方法)集成到使用UML作为建模和Java作为实现语言的面向对象的软件工程过程中。这种集成的好处在于严格的形式化方法,该方法提高了所构建模型的精度,并为以下两种可能性提供了可能性:(1)在早期设计阶段验证模型的属性,以及(2)检查实现是否遵循楷模。我们方法的设想应用领域是分布式反应系统的设计。为此,我们提出了用于反应系统的特定UML配置文件。该概要文件包含用于对组件,它们的接口和通过同步/广播通信的互连进行建模的工具,以及系统的整体体系结构。通过从最初开发的UML模型生成CSP-OZ规范的重要部分,可以与正式方法进行集成。一方面,正式规范是验证模型属性的起点,例如通过使用FDR模型检查器。另一方面,它是为最终实施生成合同的基础。合同以Java建模语言(JML)编写,辅以CSP_(jassda),后者是一种用于指定方法调用之间的顺序的断言语言。可以使用一组用于运行时检查的工具来监督最终Java实现对所生成合同的遵守情况。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号