作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2013, Vol. 39 ›› Issue (1): 54-57. doi: 10.3969/j.issn.1000-3428.2013.01.011

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

基于Petri网的联锁软件测试用例动态生成

强生杰,任恩恩   

  1. (兰州交通大学光电技术与智能控制教育部重点实验室,兰州 730070)
  • 收稿日期:2011-09-21 修回日期:2011-12-04 出版日期:2013-01-15 发布日期:2013-01-13
  • 作者简介:强生杰(1987-),男,硕士研究生,主研方向:软件自动化测试,交通信息工程及控制;任恩恩,教授、博士生导师
  • 基金资助:
    国家“863”计划基金资助项目“铁路车站全电子控制关键技术与成套装备”(2007AA11Z211)

Dynamic Generation of Interlocking Software Test Case Based on Petri Net

QIANG Sheng-jie, REN En-en   

  1. (Key Lab of Opto-electronics Technology and Intelligent Control, Ministry of Education, Lanzhou Jiaotong University, Lanzhou 730070, China)
  • Received:2011-09-21 Revised:2011-12-04 Online:2013-01-15 Published:2013-01-13

摘要: 根据Petri网可动态描述和分析系统行为的特性,设计铁路计算机联锁软件安全需求Petri网模型,进而提出基于Petri网故障树的最小割集求解算法以及基于形式化故障树最小割集的测试用例动态生成算法。虚拟站场上的测试结果表 明,该方法能有效地降低测试过程的资源消耗,提高软件测试的效率,为联锁软件的设计与改进提供测试依据。

关键词: Petri网, 逆网, 最小割集, 联锁软件, 测试用例

Abstract: According to the characteristics of Petri net can dynamically describe and analyze a system, a security required model of the railway interlocking software based on Petri net is built, then a generation algorithm of the Minimal Cut Sets(MCS) based on Petri net failure tree and dynamic generation of safety test case based on formal failure tree minimal cut sets are presented. The virtual station test results show that this method can effectively reduce the resource consumption, improve the efficiency of software testing and finally provide test basis for the interlocking software design and improvement.

Key words: Petri net, reverse net, Minimal Cut Sets(MCS), interlocking software, test case

中图分类号: