计算机科学 ›› 2013, Vol. 40 ›› Issue (Z11): 82-85.

• 智能控制与优化 • 上一篇    下一篇

一种AADL模型测试仿真引擎的设计与实现

宣杭,董云卫,孙博   

  1. 中航工业西安航空计算技术研究所 西安710119;西北工业大学计算机学院 西安710072;西北工业大学计算机学院 西安710072
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家“核高基”重大专项基础软件课题(2012ZX01041-002-003)资助

Design and Implementation of Simulation Engine for AADL Model Based Testing

XUAN Hang,DONG Yun-wei and SUN Bo   

  • Online:2018-11-16 Published:2018-11-16

摘要: 随着嵌入式软件规模的日益庞大,任务关键系统的可信属性,如实时性、可靠性等,逐渐成为影响嵌入式系统质量和制约系统行为可信的重要因素。如何在系统设计早期及时发现系统可信属性的不足,在模型设计阶段进行体系结构调整、优化模型中软硬构件结构及属性规约,成为嵌入式软件分析方法研究的重点。为解决以上问题,提出了一种基于模型的嵌入式系统实时性测试方法,设计并实现了面向AADL模型的仿真测试引擎(AMSE)。仿真引擎基于SystemC和POSIX技术,通过任务封装、任务调度、时钟管理、中断管理和信号控制等实现模拟内核功能,可以动态执行AADL模型实例,从而对嵌入式系统的实时性开展模型测试。同时,以汽车控制系统为应用实例,基于AADL模型测试引擎AMSE进行了应用测试分析,获得了较好的测试结果。

关键词: AADL,模型测试,仿真引擎

Abstract: The non-properties of safety-critical system,such as real time,reliability and safety,are becoming a key constraint of dependency of system behavior,and they are effect software quality for the large-scale system.It is a key research task to find a solution to analyze the dependency property in system design phases for the purpose that designers can optical system architecture,rebuild software components and hardware components to meet system quality specification.An AADL model-based test Engine was designed and implemented in this paper to solve question above.The simulation engine was developed on System C and POSIX techniques,and its core function includes task encapsulation,task scheduler,time management,interrupt management and signal control.It can execute AADL instance dynamic,and carry out model-based testing for verification real time property of embedded system.At last,it gave a case study for Automaton control system,which is model with AADL,and can execute testing over AMSE.Some time properties were tested,such as AADL flow latency,thread execution time and cache hit rate.This simulation engine is useful to verification AADL model.

Key words: Architecture analysis & design language(AADL),Model based test,Simulation engine

[1] Feiler P H,Gluch D P,Hudak J J.The architecture analysis & design language (AADL):An introduction[R].Carnegie-Mellon Univ Pittsburgh Pa Software Engineering Inst,2006
[2] SAE-AS5506:SAE Architecture Analysis and Design Language (AADL).International Society of Automotive Engineers,2005.9
[3] The Cheddar Project:A Free Real-Time Scheduling Analyzer.http://beru.univ-brest.fr/ ~singhoff/cheddar /index.html,2008
[4] Sokolsky O,Lee I,Clark D.Schedulability Analysis of AADL models[C]∥IEEE International Parallel & Distributed Proces-sing Symposium.Greece,2006
[5] Open Source AADL Tool Environment (OSATE).ht-tp://www.aadl.info/aadl/currentsite/tool/osate.html.June,2010
[6] Lee S-Y,Mallet F,de Simone R.Dealing with AADL End-to-end Flow Latency with UML MARTE[C]∥13th IEEE International Conference on Engineering of Complex Computer Systems.Belfast,Northern Ireland,2008
[7] SCoPE V1.1.0.http://www.teisa.unican.es /scope.February,2009
[8] IEEE Standard for Information Technology-Portable Operating System Interface (POSIX)-Part1[S].System Application Program Interface (API)-Amendment 1:Real-time Extension
[9] International Society of Automotive Engineers,SAEAS5506Annex Behavior_Specification V2.0[S].Annex Behavior Language Compliance and Application Program Interface,USA,September,2007

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!