| 本文已被:浏览 6763次 下载 8964次 |
 码上扫一扫! |
|
|
| 一种基于时间自动机的实时系统测试方法 |
|
陈伟1,2, 薛云志1,2, 赵琛1, 李明树1,3
|
|
1.中国科学院,软件研究所,互联网软件技术实验室,北京,100080;2.中国科学院,研究生院,北京,100049;3.计算机科学重点实验室(中国科学院,软件研究所),北京,100080
|
|
| 摘要: |
| 基于时间自动机(timed automata,简称TA)的一种变体--时间安全输入/输出自动机(timed safety input/output automata,简称TSIOA),提出了一种实时系统测试方法.该方法首先将时间安全输入/输出自动机描述的系统模型转换为不含抽象时间延迟迁移的稳定符号状态迁移图(untimed stable transition graph of symbolic state,简称USTGSS);然后采用基于标号迁移系统(labeled transition system,简称LTS)的测试方法来静态生成满足各种结构覆盖标准的包含时间延迟变量迁移动作序列;最后,给出了一个根据迁移动作序列构造和执行测试用例的过程,该过程引入了时间延迟变量目标函数,并采用线性约束求解方法动态求解迁移动作序列中的时间延迟变量. |
| 关键词: 时间安全输入/输出自动机 实时系统测试 最简稳定符号状态迁移图 测试用例生成 |
| DOI: |
| 分类号: |
| 基金项目:Supported by the National Natural Science Foundation of China under Grant No.60373053 (国家自然科学基金); the National High-Tech Research and Development Plan of China under Grant No.2004AA1Z2100 (国家高技术研究发展计划(863)); the Hundred Talents of the Chinese Academy of Sciences (中国科学院"百人计划") |
|
| A Method for Testing Real-Time System Based on Timed Automata |
|
CHEN Wei,XUE Yun-Zhi,ZHAO Chen,LI Ming-Shu
|
| Abstract: |
| This paper provides an approach to test real-time systems modeled by timed input/output automata (TSIOA), which is a variant of TA (timed automata). This method consists of three steps. Firstly, system model depicted by TSIOA is transformed into an USTGSS (untimed stable label transition graph of symbolic state) which does not contain abstract time delay transitions. Then, the testing methods based on LTS (labeled transition system) are used to the generate transition sequences from USTGSS according to structural coverage criteria. Finally, a process of constructing and executing the test cases is given, in which object functions of time delay variables are imported, and time delay variables used in the transition sequences are solved dynamically by linear programming techniques. |
| Key words: timed safety input/output automata real-time system testing minimized stable label transition graph of symbolic state test cases generation |