期刊文献+

多核环境下基于图模型的实时规则调度方法 被引量:2

Method for Graph-based Real-time Rule Scheduling in Multi-core Environment
下载PDF
导出
摘要 安全攸关反应式系统的核心要求是:必须在指定时间期限内完成对外部事件的检测和目标事件的响应,否则会产生灾难性的后果.随着安全攸关反应式系统对智能化需求的日益增加,将规则推理应用于这类系统成为必然趋势.规则调度是保证规则推理硬实时约束的关键.为此,提出了一种基于图模型的实时规则调度方法(graph-based real-time rule scheduling,简称GBRRS).该方法对基于事件图的实时规则推理过程进行建模,提出了基于图的端到端推理任务模型,并给出了端到端推理任务的调度算法,保证了规则调度的安全性.采用模拟实验对GBRRS方法进行了验证,实验结果表明,与DM-EDF方法(通过直接映射把规则上的推理操作转成推理任务后,用全局EDF算法对其进行调度的方法)相比,GBRRS方法在规则调度成功率上平均高出13%~15%,且在规则集的平均负载较高时,仍保持着80%以上的调度成功率. Safety-critical systems detect external events, match the targeted event patterns, and give timely responding actions;otherwise catastrophic results will be incurred. With the increasing demand for intelligence in the safety-critical systems, applying rulebased reasoning to these systems has become an inevitable trend. Besides, rule scheduling is the key to assure hard real-time constraints within rule-based reasoning solutions. In this study, a solution to the multi-core rule scheduling problem, named GBRRS (graph-based real-time rule scheduling), was proposed. With the real-time rule reasoning process analyzed, how rules in safety-critical systems can be modeled as tasks using the graph mapping is described first, and the graph-based end-to-end reasoning task model, E2ERTG, is proposed. Then, a multi-core scheduling algorithm, GBRRS, is presented to guarantee each rule’s deadline via the control of the reasoning task’s deadline. Simulation- based experiments have been conducted to evaluate the performance of GBRRS. The result shows that GBRRS remains a rule success ratio above 80% even with relatively high workload of the rule set and is superior to DM-EDF by average 13%~15% in terms of rule success ratio.
作者 王娟娟 乔颖 熊金泉 王宏安 WANG Juan-Juan;QIAO Ying;XIONG Jin-Quan;WANG Hong-An(Institute of Software, The Chinese Academy of Sciences, Beijing 100190, China;University of Chinese Academy of Sciences, Beijing 100049, China;Department of Mathematics and Computer Science, Nanchang Normal University, Nanchang 330032, China)
出处 《软件学报》 EI CSCD 北大核心 2019年第2期481-494,共14页 Journal of Software
基金 国家自然科学基金(61562063)~~
关键词 多核 安全攸关 实时推理 规则推理 规则调度 multi-core safety-critical real-time reasoning rule reasoning rule scheduling
  • 相关文献

参考文献1

二级参考文献22

  • 1Luckham D C. The Power of Events: An Introduction to Complex Event Processing in Distributed Enterprise Systems [M]. Reading, MA: Addison Wesley, 2001.
  • 2Buttazzo G C. Hard Real-Time Computing Systems: Predictable Scheduling Algorithms and Applications[M]. 2nd ed. Berlin: Springer, 2005.
  • 3中华人民共和国国家质量监督检验检疫总局.GB4717-2005火灾报警控制器[S].北京:中国标准出版社,2005.
  • 4Sybase Inc. Sybase aleri~ The award-winning complex event processing (CEP)platform[EB/OL]. [2012-06-09]. http:// www. sybase, com/products/financialservicessolutions/complex- event-processing.
  • 5EsperTech Inc. Esper: Event processing for Java [EB/OL]. [2012-06-09 ]. http://www, esperteeh, com/products/esper. php.
  • 6Wu E, Diao Y, Rizvi S. High-per{ormance complex event processing over streams [C] //Proc of ACM SIGMOD'06. New York: ACM, 2006:407-418.
  • 7Agrawal J, Diao Y, Gyllstrom D, et al. Efficient pattern matching over event streams [C] //Proc of ACM SIGMOD'08. New York: ACM, 2008:147-160.
  • 8Magid Y, Adi A, Barnea M, et al. Application generation framework for real-time complex event processing [C] //Proc of the 32nd Annual IEEE Int Computer Software and Applications Conf. Piscataway, NJ: IEEE, 2008:1162-1167.
  • 9Anicica D, Rudolphb S, Fodorc P, et al. Real time complex event recognition and reasoning A logic programming approach[J]. An Int Journal of Applied- Artificial Intelligence, 2012, 26(1/2): 6-57.
  • 10Li Y T S, Malik S, Wolfe A. Performance estimation of embedded software with instruction cache modeling [J]. ACM Trans on Design Automation of Electronic Systems, 1999, 4(3): 257-279.

共引文献1

同被引文献25

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部