...
首页> 外文期刊>Formal Aspects of Computing >Modeling and verification of a timing protection mechanism in the OSEK/VDX OS using CSP
【24h】

Modeling and verification of a timing protection mechanism in the OSEK/VDX OS using CSP

机译:使用CSP模拟和验证OSEK / VDX OS中的定时保护机制

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Abstract The functions of automobiles are becoming increasingly intelligent, which leads to the increasing number of electrical control units for one automobile. Hence, it makes software migration and extension more complicated. In order to avoid these problems, the standard OSEK/VDX has been proposed jointly by a German automotive company consortium and the University of Karlsruhe. This standard provides specifications for the development of automotive software, this standard has become one of the major standards for real-time automotive operating systems (OSs). Since errors in the automotive OS may pose threat to the safety of people in a vehicle, it is necessary to verify the correctness of the OSEK OS which is used by many manufacturers around the world. Formal methods can be adopted to verify the correctness of both software and hardware. Therefore, we propose a formal model of the OSEK OS at the code level and verify three significant properties of the OSEK-based system. In this study, the code-level OSEK OS is verified to ensure compliance with the specifications. An automotive OS always requires that the systemreacts in a timelymanner to external events and performs the computations within the timing constraints. However, there is a possibility that the running time of the tasks exceeds the timing requirements due to the complexity of the tasks. Therefore, by referring to one of the extensions of the OSEK OS, Automotive Open System Architecture (AUTOSAR), we proposed tpOSEK, which is capable of extending the OSEK OS with a timing protection mechanism in AUTOSAR in this study. In our previous study, it was verified that the higher-priority task cannot be preempted by lower-priority tasks. In this paper, after improvement made to the OSEK OS model by adding interrupt service routine models and alarms, and extension of the OSEK OS model with a timing protection model, we have verified that tpOSEK satisfies three significant properties, which include deadlock f ree, complete and no timeout. These properties represent the basic conditions for the systemto run smoothly. If such properties as deadlock f ree and complete are satisfied, it means no deadlock is encountered by this system and all of the tasks can be scheduled completely. Moreover, if the property timeout cannot be satisfied, it means that none of the tasks would miss the deadline. Based on the tpOSEK model, the correct timing protection APIs can be designed at the code level. Thus, by extending the OSEKOSwith theseAPIs,we can update theOSEKOS faster and the need tomodify the dependent applications can be removed. Furthermore, we have constructed formal models for two industrial cases based on tpOSEK OS to demonstrate the soundness of our methods.
机译:摘要汽车的功能越来越聪明,导致一辆汽车的电气控制单元数量越来越多。因此,它使软件迁移和扩展更加复杂。为了避免这些问题,由德国汽车公司财团和卡尔斯鲁厄大学共同提出标准的OSEK / VDX。本标准提供了汽车软件开发规范,该标准已成为实时汽车操作系统(OSS)的主要标准之一。由于汽车操作系统中的错误可能对车辆中人们的安全构成威胁,因此必须验证Osek OS的正确性,这些OS OS由世界各地的许多制造商使用的。可以采用正式方法来验证软件和硬件的正确性。因此,我们提出了在代码级别的OSEK OS的正式模型,并验证了基于OSEK的系统的三个重要属性。在本研究中,验证了代码级OSEK操作系统以确保符合规范。汽车操作系统始终要求SystemerActs在Timely Manner中到外部事件并在时序约束中执行计算。然而,由于任务的复杂性,任务的运行时间可能超过定时要求。因此,通过参考OSEK OS的一个扩展,汽车开放系统架构(AutoSAR),我们提出了串联,能够在本研究中将OSEK OS扩展到AutoSAR中的定时保护机制。在我们以前的一项研究中,验证了更高优先级的任务不能被较低优先级的任务抢占。在本文中,通过添加中断服务常规模型和报警,通过使用时序保护模型进行中断服务常规模型和报警,对OSEK OS模型的扩展进行了改进,我们已经验证了串联满足三种重要的属性,包括死锁F REE,完成,没有超时。这些属性代表系统顺利运行的基本条件。如果满足这样的属性和完成的僵局F REE,则意味着该系统遇到了死锁,并且可以完全安排所有任务。此外,如果无法满足属性超时,这意味着没有任何任务将错过截止日期。基于串联模型,可以在代码级别设计正确的定时保护API。因此,通过扩展Osekoswith Xeseapis,我们可以更快更新TaoseKOS,并且需要删除依赖应用程序的需求。此外,我们为基于塞尔操作系统的两个工业案例构建了正式模型,以证明我们的方法的健全性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号