嵌入式Forth虚拟机架构的多任务调度算法设计与实现 |
| |
引用本文: | 代红兵,周永录,安红萍,黄忠建. 嵌入式Forth虚拟机架构的多任务调度算法设计与实现[J]. 计算机应用研究, 2019, 36(2) |
| |
作者姓名: | 代红兵 周永录 安红萍 黄忠建 |
| |
作者单位: | 云南大学信息学院云南省高校数字媒体技术重点实验室,昆明,650223;云南大学信息学院云南省高校数字媒体技术重点实验室,昆明,650223;云南大学信息学院云南省高校数字媒体技术重点实验室,昆明,650223;云南大学信息学院云南省高校数字媒体技术重点实验室,昆明,650223 |
| |
基金项目: | 国家自然科学基金资助项目(61640205) |
| |
摘 要: | 针对嵌入式应用领域对操作系统在重构、扩展、移植、交互、安全、高效等方面日趋苛刻的现实需求及Forth系统所固有的特性,采用Forth虚拟机技术,对基于Forth虚拟机架构的嵌入式操作系统关键技术进行探索,提出一种具有良好扩展和移植特性、高效精简的基于Forth虚拟机架构的嵌入式多任务操作系统调度算法。该算法采用了以Forth虚拟机指令同步的协同式多任务调度机制,缩短了任务切换时间,将上下文切换操作简化为只需保存数据堆栈指针。实验结果表明,基于Forth虚拟机架构的多任务调度算法发挥了Forth系统所固有的特性,针对特定应用,提高了效率,适合资源有限的嵌入式环境。
|
关 键 词: | Forth虚拟机 多任务 调度算法 |
收稿时间: | 2017-08-23 |
修稿时间: | 2018-04-15 |
Design and implementation of multitask scheduling algorithm for embedded Forth virtual machine architecture |
| |
Affiliation: | School of Information Science Engineering,Yunnan University,Digital Media Technology Key Laboratory of Universities in Yunnan,,, |
| |
Abstract: | In embedded application fields, the operating system presentes the more stern reality demand such as reconstruction, expansion, transplantation, interaction, security, and efficient. In combination with the above features of embedded system and inherent characteristics of Forth systems, using Forth virtual machine technology, this paper explored the key technologies of embedded operating system based on Forth virtual machine architecture, and proposed an embedded multitask operating system scheduling algorithm based on Forth virtual machine architecture, which had better extension and transplantation characteristics. The algorithm adopted a cooperative multi-task scheduling mechanism with Forth virtual machine instruction synchronization, shortened the task switching time, and simplified context switching operations to simply saving the data stack pointer. The experiment results demonstrate that the multitask scheduling algorithm based on Forth virtual machine architecture develops the inherent characteristics of Forth system, presents higher efficiency for specific applications, especially benefits for embedded environments with limited resources. |
| |
Keywords: | Forth virtual machine multitask scheduling algorithm |
本文献已被 万方数据 等数据库收录! |
| 点击此处可从《计算机应用研究》浏览原始摘要信息 |
|
点击此处可从《计算机应用研究》下载全文 |
|