首页 | 本学科首页   官方微博 | 高级检索  
     

基于UML的软件Markov链使用模型的构建
引用本文:吴彩华,刘俊涛,彭世蕤,李海鸿.基于UML的软件Markov链使用模型的构建[J].计算机研究与发展,2012,49(8):1811-1819.
作者姓名:吴彩华  刘俊涛  彭世蕤  李海鸿
作者单位:1. 空军雷达学院信息对抗系信息作战指挥教研室 武汉 430010
2. 军械工程学院计算机工程系软件工程教研室 石家庄 050003;华中科技大学电子与信息工程系 武汉 430074
3. 空军雷达学院信息对抗系 武汉 430010
基金项目:河北省自然科学基金项目
摘    要:构建软件的使用模型是进行软件可靠性测试及软件可靠性评估的基础.近年来,如何由软件的UML模型构造软件的使用模型成为研究热点.对于大型的软件系统来说,应用现有方法构建的软件Markov链使用模型的状态空间过于庞大,模型描述困难,不利于测试用例的自动生成及软件可靠性评估.针对以上问题,提出了一种由UML模型构建Markov链使用模型的方法.该方法将场景的前置条件和后置条件作为Markov链使用模型的状态,将场景的执行及执行概率作为状态之间的转移及转移概率.与现有方法相比,新方法构建的Markov链使用模型的状态空间小且无需人为干预,而且可以很方便地生成测试输入从而进行可靠性测试.针对UML模型的有效性,提出了经过可靠性评估扩展的UML模型生成Markov链使用模型的验证算法.最后通过一个卫星控制系统的实例对新方法的性能进行了验证.

关 键 词:UML  Markov链  使用模型  可靠性评估  测试用例

Deriving Markov Chain Usage Model from UML Model
Wu Caihua , Liu Juntao , Peng Shirui , Li Haihong.Deriving Markov Chain Usage Model from UML Model[J].Journal of Computer Research and Development,2012,49(8):1811-1819.
Authors:Wu Caihua  Liu Juntao  Peng Shirui  Li Haihong
Affiliation:1(Information Combat Commanding Teaching and Research Section, Information Countermeasure Department, Air Force Radar Academy, Wuhan 430010)2(Software Engineering Section, Computer Engineering Department, Ordnance Engineering College, Shijiazhuang 050003)3(Department of Electronics and Information Engineering, Huazhong University of Science and Technology, Wuhan 430074)4(Information Countermeasure Department, Air Force Radar Academy, Wuhan 430010)
Abstract:Constructing software usage model is basic for software reliability testing and software reliability evaluation. In recent years, how to derive Markov chain usage model from UML model has gained much attention. For large software system, the state space of Markov chain usage model using the existing methods is too large to describe, which is bad for generating test cases automatically and evaluating software reliability. For the above problems, a new method deriving a Markov chain usage model from UML model is proposed. The preconditions and postconditions of scenario are taken as the states of Markov chain usage model, and the performance and the performance probability of scenario are taken as the transition driver and transition probability. Compared with other methods, the state space of gained Markov chain usage model by proposed method is smaller and the constructing process is direct and automatic. Furthermore, the test cases can be generated easily by using the above method. In order to validate the validity of the UML model, the validity algorithm from UML model, which is extended by reliability evaluation to Markov chain model, is proposed too. Finally, the performance of the proposed method is verified by an example.
Keywords:UML  Markov chain  usage model  reliability evaluation  test case
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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