期刊文献+

UML类图的形式规约与精化研究 被引量:3

FORMAL SPECIFICATION AND REFINEMENT FOR UML CLASS DIAGRAM
下载PDF
导出
摘要 UML由于其广泛的应用和直观的图形化符号,成为了模型驱动工程的重要组成部分。但UML本身缺乏精确的形式语义定义,缺少对其模型精化关系的形式化规范定义,对UML模型进行形式验证变得尤为困难。UML类图作为描述系统结构的静态模型,不具备完整的形式语义。从UML类图的机械语义中抽取出形式规约,将UML类图中的结构和形式规约转换成定理证明器Coq中的机械语义定义。此外,还提出了类图的结构精化操作,将模型间的精化关系在Coq中进行形式化定义,并且对精化操作的原子操作进行机械验证,保证其精化前后系统的结构和语义保持一致。将UML和形式化方法相结合,为可验证的软件设计精化框架提供了理论依据。 The Unified Modeling Language(UML) is an important part of Modeling-driven engineering(MDE) because of its variety of well-known and intuitive graphical notations. However,the semantics of UML is not precisely defined and the correctness of refinements cannot be verified,which makes it difficult to verify in formal of the UML model. As the static model of describing system structure,UML class diagram has no complete formal semantics. Thus,using the theorem proof assistant Coq to formalize and mechanize the semantics of the UML class diagram and the refinements between the models. The syntactic structure and the semantics of the UML class diagram can be transformed to the rigorous definitions in Coq,which is called mechanized semantics. Besides,the structural refinement operations of the class diagram are also provided. The refinement relations between models can be formally defined in Coq,and the desired properties of the refinement relations can be proven to verify the correctness of the refinements,ensuring the consistency of structure and semantics before and after refining. Combining the UML and formal method,the theoretical foundation in the software developing process is provided.
出处 《计算机应用与软件》 2017年第2期1-7,47,共8页 Computer Applications and Software
基金 国家自然科学基金项目(61070226)
关键词 UML类图 模型精化 Coq机械语意 UML class diagram Model refinement Coq Mechanized semantics
  • 相关文献

参考文献2

二级参考文献17

  • 1周瑾,马应龙,李巍,吴志林.UML的形式化及其应用[J].计算机科学,2005,32(3):136-140. 被引量:10
  • 2陈琳琳,戎玫,张广泉.体系结构描述语言XYZ/ADL到UML的映射[J].计算机应用,2006,26(2):468-471. 被引量:4
  • 3黄正宝,张广泉.UML 2.0顺序图的XYZ/E时序逻辑语义研究[J].计算机科学,2006,33(8):249-251. 被引量:11
  • 4王云峰.[D].,.
  • 5OMG Unified Modeling Language Specification.version 1.3,1999.
  • 6Soon-Kyeong Kim,David Carrington.A Formal Mapping between UML Models and Object-Z Specifications.ZB2000,LBCS 1878,2000: 2-21.
  • 7T Clark,A Evans,R France et al.Response to UML 2.0 Request for Information. 1999.
  • 8Soon-Kyeong Kim,David Carrington.A Formal Mapping between UML Models and Object-Z Specifications.ZB2002,LBCS 2272,2002:497-516.
  • 9The precise UML group, http://www. es. york. a- c. uk/puml/uml2_0
  • 10Object Management Group, UML 2. 0 Superstru- eture Specification: Final Adopted Specification. http://www. omg. org/docs/ptc/04-10-02. pdf

共引文献7

同被引文献15

引证文献3

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部