基于UML活动图的用例识别  被引量:1

Use Case Identification Based on UML Activity Diagram

在线阅读下载全文

作  者:陈卓然 蒋建民 唐国富 谢嘉成 陈华豪 CHEN Zhuo-Ran;JIANG Jian-Min;TANG Guo-Fu;XIE Jia-Cheng;CHEN Hua-Hao(School of Software Engineering,Chengdu University of Information Technology,Chengdu 610225,China)

机构地区:[1]成都信息工程大学软件工程学院,成都610225

出  处:《计算机系统应用》2023年第10期75-84,共10页Computer Systems & Applications

基  金:国家重点研发计划(2022YFB3305104);国家自然科学基金(61772004);成都信息工程大学人才科研基金(KYTZ202009)。

摘  要:在面向对象的软件开发过程中,统一建模语言(unified modeling language, UML)的用例图用于捕获用户的需求.传统描述用例的方法一般是开发者根据自己的经验,从需求中人工获取用例.然而,如何自动生成准确的用例仍然是一个待解决的问题.本文提出了一种通过用UML活动图半自动生成用例的方法.首先通过引入形式化模型——统一结构来描述用例图与活动图,其次给出分解活动图的算法,然后根据分解活动图得到的依赖链生成对应的用例的事件流,从而得到用例模型,最后通过所开发的原型CASE工具进行案例的演示,验证了本文所提出的方法的可行性。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.

关 键 词:UML 用例图 活动图 形式化模型 用例识别 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象