Model-based implementation of real-time applications

Tesnim Abdellatif, Jacques Combaz, J. Sifakis
{"title":"Model-based implementation of real-time applications","authors":"Tesnim Abdellatif, Jacques Combaz, J. Sifakis","doi":"10.1145/1879021.1879052","DOIUrl":null,"url":null,"abstract":"Correct and efficient implementation of general real-time applications remains by far an open problem. A key issue is meeting timing constraints whose satisfaction depends on features of the execution platform, in particular its speed. Existing rigorous implementation techniques are applicable to specific classes of systems e.g. with periodic tasks, time deterministic systems.\n We present a general model-based implementation method for real-time systems based on the use of two models. An abstract model representing the behavior of real-time software as a timed automaton. The latter describes user-defined platform-independent timing constraints. Its transitions are timeless and correspond to the execution of statements of the real-time software. A physical model representing the behavior of the real-time software running on a given platform. It is obtained by assigning execution times to the transitions of the abstract model.\n A necessary condition for implementability is time-safety, that is, any (timed) execution sequence of the physical model is also an execution sequence of the abstract model. Time-safety simply means that the platform is fast enough to meet the timing requirements. As execution times of actions are not known exactly, time-safety is checked for worst-case execution times of actions by making an assumption of time-robustness: time-safety is preserved when speed of the execution platform increases.\n We show that as a rule, physical models are not time-robust and show that time-determinism is a sufficient condition for time-robustness.\n For given real-time software and execution platform corresponding to a time-robust model, we define an Execution Engine that coordinates the execution of the application software so as to meet its timing constraints. Furthermore, in case of non-robustness, the Execution Engine can detect violations of time-safety and stop execution.\n We have implemented the Execution Engine for BIP programs with real-time constraints. We have validated the implementation method for an adaptive MPEG video encoder. Experimental results reveal the existence of timing anomalies seriously degrading performance for increasing platform execution speed.","PeriodicalId":143573,"journal":{"name":"International Conference on Embedded Software","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-10-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"83","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Embedded Software","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1879021.1879052","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 83

Abstract

Correct and efficient implementation of general real-time applications remains by far an open problem. A key issue is meeting timing constraints whose satisfaction depends on features of the execution platform, in particular its speed. Existing rigorous implementation techniques are applicable to specific classes of systems e.g. with periodic tasks, time deterministic systems. We present a general model-based implementation method for real-time systems based on the use of two models. An abstract model representing the behavior of real-time software as a timed automaton. The latter describes user-defined platform-independent timing constraints. Its transitions are timeless and correspond to the execution of statements of the real-time software. A physical model representing the behavior of the real-time software running on a given platform. It is obtained by assigning execution times to the transitions of the abstract model. A necessary condition for implementability is time-safety, that is, any (timed) execution sequence of the physical model is also an execution sequence of the abstract model. Time-safety simply means that the platform is fast enough to meet the timing requirements. As execution times of actions are not known exactly, time-safety is checked for worst-case execution times of actions by making an assumption of time-robustness: time-safety is preserved when speed of the execution platform increases. We show that as a rule, physical models are not time-robust and show that time-determinism is a sufficient condition for time-robustness. For given real-time software and execution platform corresponding to a time-robust model, we define an Execution Engine that coordinates the execution of the application software so as to meet its timing constraints. Furthermore, in case of non-robustness, the Execution Engine can detect violations of time-safety and stop execution. We have implemented the Execution Engine for BIP programs with real-time constraints. We have validated the implementation method for an adaptive MPEG video encoder. Experimental results reveal the existence of timing anomalies seriously degrading performance for increasing platform execution speed.
基于模型的实时应用实现
到目前为止,正确和有效地实现一般的实时应用程序仍然是一个悬而未决的问题。关键问题是满足时间约束,其满足程度取决于执行平台的特性,特别是其速度。现有的严格实现技术适用于特定类型的系统,例如周期性任务,时间确定性系统。在两种模型的基础上,提出了一种通用的基于模型的实时系统实现方法。将实时软件的行为表示为定时自动机的抽象模型。后者描述了用户定义的与平台无关的定时约束。它的转换是永恒的,并对应于实时软件语句的执行。表示在给定平台上运行的实时软件行为的物理模型。它是通过为抽象模型的转换分配执行时间来获得的。可实现性的必要条件是时间安全,即物理模型的任何(定时)执行序列也是抽象模型的执行序列。时间安全仅仅意味着平台足够快以满足时间要求。由于操作的执行时间是未知的,因此通过时间鲁棒性假设来检查操作的最坏情况执行时间的时间安全性:当执行平台的速度增加时,时间安全性保持不变。我们证明了物理模型通常不具有时间鲁棒性,并证明了时间确定性是时间鲁棒性的充分条件。对于给定的与时间鲁棒模型相对应的实时软件和执行平台,我们定义了一个执行引擎来协调应用软件的执行,以满足其时间约束。此外,在非鲁棒性的情况下,执行引擎可以检测违反时间安全并停止执行。我们已经为具有实时约束的BIP程序实现了执行引擎。我们验证了自适应MPEG视频编码器的实现方法。实验结果表明,时序异常的存在严重降低了提高平台执行速度的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信