计算机工程 ›› 2019, Vol. 45 ›› Issue (4): 6-12.doi: 10.19678/j.issn.1000-3428.0050084

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

基于可信执行环境的嵌入式双操作系统架构研究

孟子琪1,张倩颖1,2,施智平1,3,关永1,4   

  1. 1.首都师范大学 信息工程学院,北京 100048; 2.北京成像理论与技术高精尖创新中心,北京 100048; 3.轻型工业机器人与安全验证北京市重点实验室,北京 100048; 4.电子系统可靠性技术北京市重点实验室,北京 100048
  • 收稿日期:2018-01-12 出版日期:2019-04-15 发布日期:2019-04-15
  • 作者简介:孟子琪(1991—),女,硕士研究生,主研方向为实时操作系统;张倩颖(通信作者),讲师;施智平,教授;关永,教授、博士生导师。
  • 基金项目:

    国家重点研发计划(2017YFB1301100);国家自然科学基金(61602325,61802375,61876111,61877040);北京市教委科技计划一般项目(KM20190028005)。

Research on Embedded Dual Operating System Architecture Based on Trusted Execution Environment

MENG Ziqi 1,ZHANG Qianying 1,2,SHI Zhiping 1,3,GUAN Yong 1,4   

  1. 1.College of Information Engineering,Capital Normal University,Beijing 100048,China; 2.Beijing Advanced Innovation Center for Imaging Theory and Technology,Beijing 100048,China; 3.Beijing Key Laboratory of Light Industrial Robot and Safety Verification,Beijing 100048,China; 4.Beijing Key Laboratory of Electronic System Reliability Technology,Beijing 100048,China
  • Received:2018-01-12 Online:2019-04-15 Published:2019-04-15

摘要:

针对嵌入式系统对功能性与实时性的需求,提出一种双操作系统架构。基于ARM TrustZone提供的可信执行环境,构建双操作系统架构,实现通用操作系统(GPOS)与实时操作系统(RTOS)同时运行。将嵌入式系统中的任务划分为实时任务与非实时任务,使实时任务在RTOS中运行,非实时任务在GPOS中运行。在物理开发板上实现原型系统,并使用实时性测试工具对该系统进行性能评估。结果表明,该架构在提供GPOS功能性的基础上,保证了系统的实时性。

关键词: ARM TrustZone技术, 可信执行环境, 双操作系统, 嵌入式系统, 实时性, 功能性

Abstract:

To address the requirements of the embedded systems for functionality and real-time performance,this paper presents a dual operating system architecture.Based on the trusted execution environment provided by ARM TrustZone,the dual operating system architecture is built to run the General Purpose Operating System(GPOS) and the Real-time Operating System(RTOS) on the same platform.The tasks in the embedded system are divided into real-time tasks and non-real-time tasks.Real-time tasks run on the RTOS and non-real-time tasks run on the GPOS.Finally,a prototype system is implemented on a physical development board and the performance of the system is evaluated using real-time test tools.Experimental results show that the proposed architecture guarantees not only the functionality of GPOS but also the real-time performance of the system.

Key words: ARM TrustZone technology, trusted execution environment, dual operating system, embedded system, real-time performance, functionality

中图分类号: