摘要
UML是一种得到广泛应用的系统建模语言 ,但是由于它缺乏形式化语义和严格的推理机制 ,从而影响了系统建模的准确性和开发效率。 TCOZ是一种将 Object-Z和 TCSP相结合的形式化语言 ,具有丰富的建模能力。基于 TCOZ,本文建立了 UML视图的一种形式化模型 ,对类图和协作图等提出了转换规则 ,使得 TCOZ中的推理可用于分析 UML视图。通过某学校信息系统的实例 ,阐述了 UML视图的形式化建模方法和分析技术。
UML is a modeling language in general use for industrial software systems. However, its absence of formal semantics and rigorous reasoning mechanism results in its inaccuracy in system modeling and inefficiency for system development. TCOZ is a formal language combining features of Object Z and Timed CSP, which is powerful in system modeling. Based on TCOZ, this paper proposes a formal model for UML diagrams and gives several transition rules for class diagrams and collaboration diagrams, which makes it possible to apply the formal reasoning mechanism of TCOZ to analyzing UML diagrams. A detailed case study of a school information system illustrates our method for modeling and analyzing UML diagrams.
出处
《华东理工大学学报(自然科学版)》
CAS
CSCD
北大核心
2003年第3期284-290,共7页
Journal of East China University of Science and Technology
基金
教育部高等学校骨干教师资助项目