引用本文:袁中锦,黄翰,向毅,刘方青,郝志峰.融合中文需求文本语义特征的UML活动图自动生成方法.软件学报,2026,37(4):1650-1670
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 621次   下载 921 本文二维码信息
码上扫一扫!
分享到: 微信 更多
融合中文需求文本语义特征的UML活动图自动生成方法
袁中锦1, 黄翰1, 向毅1, 刘方青2, 郝志峰3
1.华南理工大学 软件学院, 广东 广州 510006;2.广东工业大学 管理学院, 广东 广州 510520;3.汕头大学 数学与计算机学院, 广东 汕头 515063
摘要:
UML活动图是软件需求分析的重要工具. 实现由需求文本生成UML活动图流程的自动化有助于缩短软件开发时间, 降低人力成本. 现有的UML活动图自动生成方法通过人工编写或数据驱动的方式来构建规则, 从需求文本中提取活动图图元素及其关系. 然而, 这些方法通常只考虑到需求文本的语法特征, 忽略了需求文本的语义特征, 导致自动生成的UML活动图中可能出现图元素错误或冗余. 因此, 提出一种融合中文需求文本语义特征的UML活动图自动生成方法. 该方法结合需求文本与UML活动图的相关性、需求文本的时序性提取UML活动图图元素及其关系, 弥补了现有方法易受需求文本中无关信息干扰、难以正确识别并表示多种类型业务活动的缺陷. 在100个工业界实际应用案例上的消融和对比实验结果验证了该方法在UML活动图的完整性、正确性和冗余性方面较其他主流方法的优越性.
关键词:  UML活动图自动生成  需求分析  中文需求文本  语义特征  智能化软件工程
DOI:10.13328/j.cnki.jos.007456
分类号:TP311
基金项目:中央高校基本科研业务费专项资金(93K172024K24); 国家自然科学基金(62276103); 广东省普通高校创新团队项目(2023KCXTD002); 广东省基础与应用基础研究基金(2023B1515120020, 2024A1515030022); 广东省哲学社会科学规划2023年度审计理论研究专项重点项目(GD23SJZ09); 惠州市重点领域研发项目 (2024BQ010011)
Automated UML Activity Diagram Generation Method Combining Semantic Features of Requirements Statements in Chinese
YUAN Zhong-Jin1, HUANG Han1, XIANG Yi1, LIU Fang-Qing2, HAO Zhi-Feng3
1.School of Software Engineering, South China University of Technology, Guangzhou 510006, China;2.School of Management, Guangdong University of Technology, Guangzhou 510520, China;3.School of Mathematics and Computer Science, Shantou University, Shantou 515063, China
Abstract:
Since UML activity diagrams are essential tools for software requirements analysis, automating the process of generating UML activity diagrams helps reduce development time and labor costs. Existing approaches directly extract the elements and their relations of a UML activity diagram from unstructured natural language requirements either by manually constructing extraction rules or adopting data-driven approaches. However, these approaches typically consider only the syntactic features of software requirements statements while neglecting the semantic features. This leads to potential errors or redundancies in the automatically generated UML activity diagrams. Therefore, this study proposes an automated approach for constructing activity diagrams that combines the semantic features of software requirements statements in Chinese. This approach integrates the relevance between software requirements statements and UML activity diagrams, as well as the temporal properties of the software requirements statements, to extract UML activity diagram elements and their relations. It compensates for the shortcomings of existing approaches, which are easily disrupted by irrelevant information in the requirements and struggle to correctly represent various business activities. Experimental results on 100 industrial cases validate the superiority of the proposed approach over state-of-the-art approaches in terms of the completeness, correctness, and redundancy of automatically generated UML activity diagrams.
Key words:  automated UML activity diagram generation  requirements analysis  requirements statement in Chinese  semantic feature  intelligent software engineering

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: