计算机科学 ›› 2018, Vol. 45 ›› Issue (4): 190-195, 226.doi: 10.11896/j.issn.1002-137X.2018.04.032

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

AUTOSAR可运行实体-任务自动映射方法研究

冉正,罗蕾,晏华,李允   

  1. 电子科技大学计算机科学与工程学院 成都611731,电子科技大学计算机科学与工程学院 成都611731,电子科技大学计算机科学与工程学院 成都611731,电子科技大学计算机科学与工程学院 成都611731
  • 出版日期:2018-04-15 发布日期:2018-05-11
  • 基金资助:
    本文受国家自然科学基金(61175061/F030506)资助

Study on Automatic Method for AUTOSAR Runnable Entity-task Mapping

RAN Zheng, LUO Lei, YAN Hua and LI Yun   

  • Online:2018-04-15 Published:2018-05-11

摘要: 下一代汽车电子标准AUTOSAR定义汽车应用程序设计过程包括系统级设计和ECU级设计。系统级设计以软件构件为单位来设计应用,其中软件构件包含一组可运行实体。ECU级设计主要将可运行实体代码组织为嵌入式实时操作系统任务。因此,在将分配到ECU的软件构件集转换为实时系统任务集的过程中,需要有经验的嵌入式开发工程师进行可运行实体-任务的映射配置,以保证系统的实时性。鉴于可运行实体-任务的映射配置工作具有配置需求量大、复杂度高等特点,文中设计了一种可运行实体-任务自动映射方法。该方法综合考虑了可运行实体的触发关系、周期需求、数据共享等因素,对提高汽车软件开发效率具有非常重要的实用价值。最后,将该方法应用于AUTOSAR标准的汽车电子巡航控制系统实例中。实验结果显示,所提方法在抖动时间、阻塞时间、调度频繁度和数据通信量4个方面都具有良好的表现。

关键词: 汽车电子,ECU配置,可运行实体,任务,映射

Abstract: The next generation automotive electronic standard AUTOSAR defines that the automotive application design process includes system level design and ECU level design.Software components are function units of application in system level design and each software component comprises a set of runnable entities.The main task of ECU level design is organizing the code segments of runnable entities as embedded operating system tasks.In the process of transforming the component set which is assigned from one ECU into a real-time system task set,the experienced embedded development engineers are necessary for runnable entity-task mapping configuration to ensure the real-time performance of the system.As the requirements of runnable entity-task mapping configuration are large and complex,this paper proposed a runnable entity-task automatic mapping method.With the consideration of trigger relationship between runnable entities,period requirements,data sharing and other factors,this method has important practical significance in improving the efficiency of automotive software development.Finally,the proposed method was applied to the automotive electronic cruise control system instance in AUTOSAR.The experimental results show that the proposed method has good performance in the aspects of jitter time,blocking time,frequency of scheduling and data traffic.

Key words: Automotive electronics,ECU configuration,Runnable entity,Task,Mapping

[1] FRST S,BECHTER M.AUTOSAR for Connected and Au-tonomous Vehicles:The AUTOSAR Adaptive Platform [C]∥46th Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshop.2016:215-217.
[2] PARTNERSHIP A.Specification of Operating System(V4.1.0R4.0 Rev 2).http://www.autosar.org.2010.
[3] ZHANG M,GU Z H.Optimization Issues in Mapping AUTOSAR Components To Distributed Multithreaded Implementations[C]∥22nd IEEE International Symposium on Rapid System Prototyping(RSP).2011:23-29.
[4] LONG R S,LI H,PENG W,et al.An Approach to Optimize Intra-ECU Communication Based on Mapping of AUTOSAR Runnable Entities [C]∥International Conference on Embedded Software and Systems.2009:138-143.
[5] PARTNERSHIP A.Specification of RTEV(3.1.0R4.0 Rev 2) .http://www.autosar.org.2010.
[6] HU M L,LUO J,WANG Y,et al.Scheduling periodic taskgraphs for safety-critical time-triggered avionic systems [J].IEEE Transactions on Aerospace and Electronic Systems,2015,1(3):2294-2304.
[7] XIE G Q,ZENG G,LI Z T,et al.Adaptive Dynamic Scheduling on Multi-functional Mixed-Criticality Automotive Cyber-Physical Systems [J].IEEE Transactions on Vehicular Technology,2017(99):1-15.
[8] KAI R.Compositional Scheduling AnalysisUsing StandardEvent Models [D].Braunschweig:Technical University Carolo-Wilhelmina of Braunschweig,2005.
[9] MONOT A,NAVET N,BAVOUX B,et al.Multisource Software on Multicore Automotive ECUs-Combining Runnable Sequencing With Task [J].Scheduling IEEE Transactions on Industrial Electronics,2012,59(10):3934-3942.
[10] FERRARI A,NATALE M D,GENTILE G,et al.Time andmemory tradeoffs in the implementationof AUTOSAR components [C]∥Conference on Design,Automation and Test in Europe.2009:864-869.
[11] FARAGARDI H R,LISPER B,SANDSTRM K,et al.A Communication-Aware Solution Framework for MappingAUTOSAR Runnables on Multi-core Systems [C]∥Proceedings of the 2014 IEEE Emerging Technology and Factory Automation.2014:1-9.
[12] HAN J W,KAMBER M,PEI J.Data Mining:Concepts andTechniques(Third Edition)[M].Burlington:Morgan Kaufmann.2011:456-461.
[13] PARTNERSHIP A.Explanation of Application Interfaces of the Body and Comfort Domain (V1.2.0 R4.0 Rev 2) .http://www.autosar.org,2010.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] 编辑部. 新网站开通,欢迎大家订阅![J]. 计算机科学, 2018, 1(1): 1 .
[2] 雷丽晖,王静. 可能性测度下的LTL模型检测并行化研究[J]. 计算机科学, 2018, 45(4): 71 -75, 88 .
[3] 夏庆勋,庄毅. 一种基于局部性原理的远程验证机制[J]. 计算机科学, 2018, 45(4): 148 -151, 162 .
[4] 厉柏伸,李领治,孙涌,朱艳琴. 基于伪梯度提升决策树的内网防御算法[J]. 计算机科学, 2018, 45(4): 157 -162 .
[5] 王欢,张云峰,张艳. 一种基于CFDs规则的修复序列快速判定方法[J]. 计算机科学, 2018, 45(3): 311 -316 .
[6] 孙启,金燕,何琨,徐凌轩. 用于求解混合车辆路径问题的混合进化算法[J]. 计算机科学, 2018, 45(4): 76 -82 .
[7] 张佳男,肖鸣宇. 带权混合支配问题的近似算法研究[J]. 计算机科学, 2018, 45(4): 83 -88 .
[8] 伍建辉,黄中祥,李武,吴健辉,彭鑫,张生. 城市道路建设时序决策的鲁棒优化[J]. 计算机科学, 2018, 45(4): 89 -93 .
[9] 刘琴. 计算机取证过程中基于约束的数据质量问题研究[J]. 计算机科学, 2018, 45(4): 169 -172 .
[10] 钟菲,杨斌. 基于主成分分析网络的车牌检测方法[J]. 计算机科学, 2018, 45(3): 268 -273 .