计算机科学 ›› 2014, Vol. 41 ›› Issue (5): 196-203.doi: 10.11896/j.issn.1002-137X.2014.05.041

• 软件与数据库技术 • 上一篇    下一篇

一种将需求模型转换为软件体系结构模型的方法

谢仲文,李晓燕,李彤,代飞,于倩,张璇   

  1. 云南大学软件学院 昆明650091;昆明医科大学外语部 昆明650500;云南大学软件学院 昆明650091;云南大学软件学院 昆明650091;云南大学软件学院 昆明650091;云南大学软件学院 昆明650091
  • 出版日期:2018-11-14 发布日期:2018-11-14
  • 基金资助:
    本文受国家自然科学基金项目(61379032,4,60122025),云南省软件工程重点实验室开放基金面上项目(2012SE307,2SE309),云南省自然科学基金项目(2012FD005)资助

Approach of Transformation from Requirements Models to Software Architecture Models

XIE Zhong-wen,LI Xiao-yan,LI Tong,DAI Fei,YU Qian and ZHANG Xuan   

  • Online:2018-11-14 Published:2018-11-14

摘要: 需求模型到软件体系结构(SA)模型的转换是软件工程领域的一个研究热点。针对DERM所建立的ACP风格的需求模型,以扩展Petri网风格的SA模型为模型转换的目标,以行为映射为模型转换的依据,提出了一种将需求模型转换为SA模型的方法。首先,讨论了模型转换的整体思路;其次,将行为特征模型中的各个结点转换为SA模型中的构件和连接件,并提出了相应的转换规则;再次,讨论了属性特征模型中主动属性特征的转换,并提出了子系统划分的策略;最后,通过案例研究展示了该方法在从需求模型到SA模型的转换中的有效性。

关键词: 需求模型,软件体系结构,通信进程代数,Petri网,行为

Abstract: The transformation from requirements models to software architecture (SA) models is a hot topic in software engineering.Based on the ACP (Algebra of Communicating Processes) style requirements models set up by DERM (Dynamic Evolution Oriented Requirements Meta-model),an approach of the transformation from requirements models to software architecture models was proposed.The approach takes the Petri nets style SA models as the objective of transformation,and the behavior-mapping as the foundation of transformation.Firstly,the framework of the transformation was discussed.Secondly,the nodes of the behavior feature models were transformed into components and connectors of the SA models,and the counterpoint of the transformation rules was brought forward.Thirdly,the transformation of active property features in property feature models was discussed,and the strategy of sub-systems partition was put forward.Finally,feasibility and effectiveness of the proposed method were exhibited through a case study.

Key words: Requirements models,Software architecture,Algebra of Communicating Processes,Petri nets,Behavior

[1] 祝义,黄志球,周航,等.基于进程代数规约生成软件体系结构模型的方法[J].计算机研究与发展,2011,8(2):241-250
[2] 刘冬云,梅宏.从需求到软件体系结构:一种面向特征的映射方法[J].北京大学学报:自然科学版,2004,0(3):372-378
[3] Ilic D.Deriving formal specification from informal requirements[C]∥Proc of the 31st Annual Int Computer Software and Application Conference.Los Alamitos,CA:IEEE Computer Society,2007:145-452
[4] Zhang Wei,Mei Hong,Zhao Hai-yan,et al.Transformation from CIM to PIM:A Feature-Oriented Component-Based Approach[C]∥Proceedings of the 8th International Conference on Model Driven Engineering Languages and Systems. Berlin Heidelberg:Springer,2005:248-263
[5] 张俊,刘淑芬,姚志林.一种基于角色的特征模型构件化方法[J].电子学报,2011,9(2):304-308
[6] Kelleher J,Simonsson M.Utilizing use case classes for requirement and traceability modeling[C]∥Proc of the 17th IASTED Int Conf on Modelling and Simulation.Montreal:Acta Press,2006:609-617
[7] Ferreira P,Sampaio A,Mota A.Viewing CSP specifications with UML-RT diagrams[J].Electronic Notes in Theoretical Compu-ter Science,2008,195:57-74
[8] Li Tong.An Approach to Modelling Software Evolution Processes[M].Berlin:Springer-Verlag,2008
[9] 徐洪珍,曾国荪,陈波.软件体系结构动态演化的条件超图文法及分析[J].软件学报,2011,22(6):1210-1223
[10] 李长云.基于体系结构的软件动态演化研究[D].杭州:浙江大学,2005
[11] 谢仲文,李彤,代飞,等.面向软件动态演化的需求建模及其模型规范化[J].计算机科学与探索,2012,6(6):557-576
[12] 梅宏,申峻嵘.软件体系结构研究进展[J].软件学报,2006,17(6):1257-1275
[13] 谭云杰.大象:Thinking in UML[M].北京:中国水利水电出版社,2009

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!