###
计算机系统应用英文版:2023,32(10):75-84
本文二维码信息
码上扫一扫!
基于UML活动图的用例识别
(成都信息工程大学 软件工程学院, 成都 610225)
Use Case Identification Based on UML Activity Diagram
(School of Software Engineering, Chengdu University of Information Technology, Chengdu 610225, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 347次   下载 757
Received:March 21, 2023    Revised:April 20, 2023
中文摘要: 在面向对象的软件开发过程中, 统一建模语言 (unified modeling language, UML)的用例图用于捕获用户的需求. 传统描述用例的方法一般是开发者根据自己的经验, 从需求中人工获取用例. 然而, 如何自动生成准确的用例仍然是一个待解决的问题. 本文提出了一种通过用UML活动图半自动生成用例的方法. 首先通过引入形式化模型——统一结构来描述用例图与活动图, 其次给出分解活动图的算法, 然后根据分解活动图得到的依赖链生成对应的用例的事件流, 从而得到用例模型, 最后通过所开发的原型CASE工具进行案例的演示, 验证了本文所提出的方法的可行性
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.
文章编号:     中图分类号:    文献标志码:
基金项目:国家重点研发计划(2022YFB3305104); 国家自然科学基金(61772004); 成都信息工程大学人才科研基金(KYTZ202009)
引用文本:
陈卓然,蒋建民,唐国富,谢嘉成,陈华豪.基于UML活动图的用例识别.计算机系统应用,2023,32(10):75-84
CHEN Zhuo-Ran,JIANG Jian-Min,TANG Guo-Fu,XIE Jia-Cheng,CHEN Hua-Hao.Use Case Identification Based on UML Activity Diagram.COMPUTER SYSTEMS APPLICATIONS,2023,32(10):75-84