摘要
嵌入式测绘导航软件具有故障类型多样、故障难以检测、故障后果严重等特点,对其测试工作提出了挑战.为此,文章提出一种基于故障注入的嵌入式测绘导航软件测试技术,建立了基于故障注入的测试框架,构建了包括故障类型、故障名称、故障输入、可能导致的软件故障和软件预期反应等5个属性的故障模型,列出了导航电文类、接口协议类、处理算法类、软件界面类、系统安全类等几类常见故障,并提出了场景注入法、接口注入法、界面注入法、综合注入法等故障注入方法.应用表明:该技术可有效提高嵌入式测绘导航软件故障检测效率,提升测试的有效性和充分性.
The embedded surveying,mapping and navigation software has many characteristics,such as various fault types,difficult to detect faults and serious fault consequences,which challenges the test work.So this paper proposes an embedded surveying,mapping and navigation software testing technology based on fault injection.In this paper,a testing framework based on fault injection is established,a fault model including fault type,fault name,fault input,possible software fault and expected response of five software fault models are constructed,and some common faults such as navigation message,interface protocol,processing algorithm,software interface and system security are listed.Finally,some fault injection methods such as scenario injection method,data interface injection method,user interface injection method and integrated injection method are proposed.The application shows that this technology can effectively improve the efficiency of embedded surveying,mapping and navigation software fault detection and improve the validity and sufficiency of software testing.
出处
《测试技术学报》
2018年第1期31-35,共5页
Journal of Test and Measurement Technology
关键词
嵌入式
测绘导航
软件测试
故障注入
故障模型
embedded surveying
mapping and navigation
software testing
fault injection
fault model