[1]耿 雪,邹盛荣*,刘晓莹,等.UML 到 Event-B 的系统化转换方法[J].计算机技术与发展,2023,33(12):113-120.[doi:10. 3969 / j. issn. 1673-629X. 2023. 12. 016]
 GENG Xue,ZOU Sheng-rong*,LIU Xiao-ying,et al.Systematic Transformation Method from UML to Event-B[J].,2023,33(12):113-120.[doi:10. 3969 / j. issn. 1673-629X. 2023. 12. 016]
点击复制

UML 到 Event-B 的系统化转换方法()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
33
期数:
2023年12期
页码:
113-120
栏目:
软件技术与工程
出版日期:
2023-12-10

文章信息/Info

Title:
Systematic Transformation Method from UML to Event-B
文章编号:
1673-629X(2023)12-0113-08
作者:
耿 雪邹盛荣* 刘晓莹姚聚义
扬州大学 信息工程学院,江苏 扬州 225009
Author(s):
GENG XueZOU Sheng-rong* LIU Xiao-yingYAO Ju-yi
School of Information Engineering,Yangzhou University,Yangzhou 225009,China
关键词:
统一建模语言形式化方法Event-B抽象转换模型
Keywords:
unified modeling language ( UML) formal methodEvent-Babstract transformationmodel
分类号:
TP311
DOI:
10. 3969 / j. issn. 1673-629X. 2023. 12. 016
摘要:
在面向对象的软件开发中,UML 已经成为事实上的建模标准。 然而,UML 虽然直观容易理解和应用,却存在着不精确的语义,而且 UML 是一种半形式化的建模语言,无法进行形式化的验证。 Event-B 是一种基于大量数学谓词逻辑的形式化方法,虽然精确却难以理解和应用。 因此,如何结合 UML 图和 Event-B 方法的优点是研究的重点,以往的方法都是基于 UML 零散图到 Event-B 的转换,缺乏系统的转换方法。 系统性的转换方法可以实现 UML 中的元素与 Event-B 中的元素相对应统一。 一般的软件系统是中型系统,中型系统采用用例图、类图、状态图和顺序图这四种图就可以很好地表达清楚,有了上述的四种图,软件生命周期的需求获取、分析、设计、详细设计就可以完全表达清楚。 文章中分别给出了这四种图到 Event-B 的转换方法,并将该系统的转换方法应用到对安全性和可靠性要求较高的电梯控制系统中。 基于该实例的研究,验证了 UML 到 Event-B 系统性转换方法的可行性和有效性。 UML 到 Event-B 的系统转换方法不仅有利于 UML的精确化和软件从业人员的使用,而且增强了形式化方法的可理解性,有利于形式化方法的推广和应用。
Abstract:
In object-oriented software development,UML has become a de facto modeling standard. However,although UML is easy tounderstand and apply,it has inaccurate semantics,and?
UML? is a semi - formal modeling language,which cannot be formally verified.Event-B is a formal method based on a large number of mathematical predicate logic,which is precise?
but difficult to understand andapply. Therefore,how to combine the advantages of UML diagram and Event-B method is the focus of the research. The previous transformation methods are based on the transformation from UML scatter diagram to Event - B,, and lack of systematic transformationmethods. The systematic transformation method can realize the unity of elements in UML and elements in Event - B. Medium - sizedsystem can be clearly expressed by using use case diagram,class diagram,state diagram and sequence diagram. With the above four diagrams, the requirements acquisition,requirement analysis,design and detailed design of the software life cycle can be fully expressed.Based on the elevator case study,the feasibility and effectiveness of the system transformation method from UML to Event-B proposedare verified. The system transformation method from UML to Event-B not only improves the accuracy of UML and is easy for softwarepractitioners to use,but also enhances the comprehensibility of formal methods and is conducive to the promotion and application offormal methods.

相似文献/References:

[1]刘俊莉.一种提高元建模语义完整性的方法[J].计算机技术与发展,2009,(12):40.
 LIU Jun-li.New Approach to Improve Semantics Integrity of Metamodeling[J].,2009,(12):40.
[2]钱韦吉 杨坤怡.基于UML的轨道车年检信息管理系统需求建模[J].计算机技术与发展,2009,(12):225.
 QIAN Wei-ji,YANG Kun-yi.Demand Modeling of UML- Based Track Car Inspection Information Management System[J].,2009,(12):225.
[3]李婷 刘建勋 尹雁青.面向方面建模方法的研究及其应用[J].计算机技术与发展,2009,(01):113.
 LI Ting,LIU Jian-xun,YIN Yan-qing.Research on Aspect- Oriented Modeling and Its Application[J].,2009,(12):113.
[4]安金朝 付跃强 刘卫东.限制期条件下的应急过程可靠性建模及仿真[J].计算机技术与发展,2007,(05):72.
 AN Jin-zhao,FU Yue-qiang,LIU Wei-dong.Modelling and Simulation of Response Process' Reliability under Time Restriction[J].,2007,(12):72.
[5]刘欣 王汝传 王海艳.网格环境下基于虚拟组织认证的UML建模研究[J].计算机技术与发展,2007,(06):137.
 LIU Xin,WANG Ru-chuan,WANG Hai-yan.UML Modeling Certification Based on Virtual Organization in Grid[J].,2007,(12):137.
[6]高丽萍 褚伟.基于B方法的组件开发[J].计算机技术与发展,2007,(07):28.
 GAO Li-ping,CHU Wei.An Approach of Component Development with B Method[J].,2007,(12):28.
[7]潘伟 郑刚.用MDA方法实现CORBA体系结构[J].计算机技术与发展,2007,(02):184.
 PAN Wei,ZHENG Gang.Building CORBA Architecture Based on MDA[J].,2007,(12):184.
[8]邓惠敏 张立臣 邓建波.基于面向方面和UML的实时系统建模研究[J].计算机技术与发展,2010,(12):118.
 DENG Hui-min,ZHANG Li-chen,DENG Jian-bo.Research of Real-Time System Modeling Based on Aspect-Oriented and UML[J].,2010,(12):118.
[9]李博 周穗华.基于UML建模的通用水下探测系统开发[J].计算机技术与发展,2011,(04):238.
 LI Bo,ZHOU Sui-hua.Multi-purpose Underwater Detection System Design Based on UML[J].,2011,(12):238.
[10]兰天 程继红 齐玉东.基于UML的军械保障业务流程建模研究[J].计算机技术与发展,2011,(12):209.
 LAN Tian,CHENG Ji-hong,QI Yu-dong.Study of Weapons Security Business Process Modeling Based on UML[J].,2011,(12):209.
[11]张志锋 徐洁 邓璐娟 任雪利.基于B的UML形式化需求分析[J].计算机技术与发展,2007,(08):133.
 ZHANG Zhi-feng,XU Jie,DENG Lu-juan,et al.Requirement Analysis Formalized Using UML Based on B[J].,2007,(12):133.

更新日期/Last Update: 2023-12-10