基于堆栈处理器的实时多任务调度机制研究与实现  被引量:7

Research and implementation of real-time multi-task scheduling mechanism based on stack processor

在线阅读下载全文

作  者:郭金辉 刘宏杰 代红兵[1] 周永录 Guo Jinhui;Liu Hongjie;Dai Hongbing;Zhou Yonglu(Yunnan Provincial Key Laboratory of Digital Media Technology,School of Information,Yunnan University,Kunming 650223,China)

机构地区:[1]云南大学信息学院云南省高校数字媒体技术重点实验室,昆明650223

出  处:《计算机应用研究》2021年第9期2752-2756,2772,共6页Application Research of Computers

基  金:国家自然科学基金资助项目(61962060,61640205)。

摘  要:针对堆栈处理器特殊架构,为提高实时性,引入多任务堆栈技术,采用Forth自生成器技术,提出一种基于堆栈处理器的抢占式与时间片轮转调度方法,实现了在Forth堆栈处理器中实时多任务的运行,弥补了Forth堆栈处理器在实时多任务操作系统方面的的不足。实验表明,与当前基于寄存器处理器的嵌入式Forth实时系统相比,本文方法在最大关中断时间、任务上下文切换时间和任务响应时间三项重要的实时任务性能指标方面,实时性能有明显提升,从而保证了Forth系统应用的高效性和安全性,满足人们对Forth堆栈处理器实时多任务操作系统方面的应用需求。As for the special architecture of the stack processor,to improve the real-time performance,by adopting a multi-task stacking technology and the Forth self-generator technology,this paper proposed a stack-processor-based preemptive and round-robin scheduling method,which made the multi-tasks run on the Forth stack processor in a real-time manner and made up for the deficiencies of the processor in the real-time multi-task operating system.The experiments show that,compared with the current register processor-based embedded Forth real-time systems,the proposed method improves the real-time performance obviously on the three vital metrics of real-time task performance:maximum interrupt time,task context switching time,and task response time.As a result,it ensures the efficiency and security of Forth system applications,and meets the application demand for the Forth stack processor real-time multitasking operating system.

关 键 词:实时多任务 Forth堆栈处理器 Forth自生成器技术 抢占式与时间片轮转调度 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象