作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2019, Vol. 45 ›› Issue (5): 77-83. doi: 10.19678/j.issn.1000-3428.0050307

• 体系结构与软件技术 • 上一篇    下一篇

基于Actor模型的软总线设计

李春雷,高峰,颜运强   

  1. 中国工程物理研究院十二所,四川 绵阳 621900
  • 收稿日期:2018-01-26 出版日期:2019-05-15 发布日期:2019-05-15
  • 作者简介:李春雷(1981—),男,工程师、硕士,主研方向为可信软件工具研发、嵌入式软件系统;高峰、颜运强,高级工程师
  • 基金资助:

    国防科工局基础科研重点项目(JCKY2016212B004)。

Design of Soft Bus Based on Actor Model

LI Chunlei,GAO Feng,YAN Yunqiang   

  1. The 12th Institute of China Academy of Engineering Physics,Mianyang,Sichuan 621900,China
  • Received:2018-01-26 Online:2019-05-15 Published:2019-05-15

摘要:

为提高网络化嵌入式系统的安全性与可靠性,提出一种基于Actor模型的软总线设计方法,以解决分布式全数字仿真测试中系统及组件间的通信问题。采用以Actor模型为中心的发布/订阅机制,实现分布式节点之间的同步、异步通信。在此基础上,提出一种基于线程池技术的任务调度方法,实现Actor模型的协同工作,并通过规则链表进行Actor消息的处理及转发。实验结果表明,与HLA、OpenDDS总线相比,在大数据量并发处理的情况下,该软总线程序执行效率提升30%以上,能够满足网络化嵌入式系统测试对实时性与并发性的需求。

关键词: 网络化嵌入式系统, Actor模型, 分布式全数字仿真, 强实时性, 并发性

Abstract:

In order to improve the security and reliability of networked embedded systems,a soft bus design method based on Actor model is proposed to solve the communication problem between systems and components in distributed full digital simulation testing.Actor-based publish/subscribe mechanism is adopted to realize synchronous and asynchronous communication among distributed nodes.On this basis,a task scheduling method based on thread pool technology is proposed to realize the collaborative work of the Actor model,and the processing and forwarding of the proposed Actor message through the rule list.Experimental results show that compared with HLA and OpenDDS buses,the execution efficiency of the proposed soft bus program is improved by more than 30% in the case of massive data concurrent processing,which can meet the real-time and concurrent requirements of networked embedded systems testing.

Key words: networked embedded systems, Actor model, distributed full digital simulation, strong real-time, concurrency

中图分类号: