首页 | 官方网站   微博 | 高级检索  
     

基于UML活动图的用例识别
引用本文:陈卓然,蒋建民,唐国富,谢嘉成,陈华豪.基于UML活动图的用例识别[J].计算机系统应用,2023,32(10):75-84.
作者姓名:陈卓然  蒋建民  唐国富  谢嘉成  陈华豪
作者单位:成都信息工程大学 软件工程学院, 成都 610225
基金项目:国家重点研发计划(2022YFB3305104); 国家自然科学基金(61772004); 成都信息工程大学人才科研基金(KYTZ202009)
摘    要:在面向对象的软件开发过程中,统一建模语言(unified modeling language, UML)的用例图用于捕获用户的需求.传统描述用例的方法一般是开发者根据自己的经验,从需求中人工获取用例.然而,如何自动生成准确的用例仍然是一个待解决的问题.本文提出了一种通过用UML活动图半自动生成用例的方法.首先通过引入形式化模型——统一结构来描述用例图与活动图,其次给出分解活动图的算法,然后根据分解活动图得到的依赖链生成对应的用例的事件流,从而得到用例模型,最后通过所开发的原型CASE工具进行案例的演示,验证了本文所提出的方法的可行性。

关 键 词:UML  用例图  活动图  形式化模型  用例识别
收稿时间:2023/3/21 0:00:00
修稿时间:2023/4/20 0:00:00

Use Case Identification Based on UML Activity Diagram
CHEN Zhuo-Ran,JIANG Jian-Min,TANG Guo-Fu,XIE Jia-Cheng,CHEN Hua-Hao.Use Case Identification Based on UML Activity Diagram[J].Computer Systems& Applications,2023,32(10):75-84.
Authors:CHEN Zhuo-Ran  JIANG Jian-Min  TANG Guo-Fu  XIE Jia-Cheng  CHEN Hua-Hao
Affiliation:School of Software Engineering, Chengdu University of Information Technology, Chengdu 610225, China
Abstract:In the object-oriented software development process, use case diagrams of unified modeling language (UML) are applied to capture the user requirements. The traditional method of describing use cases is generally based on the developer''s own experience to obtain use cases from the requirements manually. However, how to automatically generate accurate use cases is still a problem to be solved. This study proposes a method to generate use cases semi-automatically by using UML activity diagrams. Firstly, the study specifies the use case diagram and activity diagram by introducing a formal model, the unified structure. Secondly, it gives an algorithm for decomposing the activity diagram and then generates the event flow of the corresponding use cases, which is based on the dependency chain obtained from the decomposed activity diagram, to obtain the use case model. Finally, the case is demonstrated by the developed prototype CASE tool and the feasibility of the proposed method is verified.
Keywords:unified modeling language (UML)|use case diagram|activity diagram|formal model|use case identification
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号