基于计算思维的虚拟操作系统设计  被引量:2

Design of virtual operating system based on computational thinking

在线阅读下载全文

作  者:石瑞峰[1] SHI Ruifeng(Inner Mongolia Agricultural University,Hohhot 010018,China)

机构地区:[1]内蒙古农业大学,内蒙古呼和浩特010018

出  处:《现代电子技术》2019年第4期183-186,共4页Modern Electronics Technique

基  金:内蒙古农业大学校级基础基金(JC2013001)~~

摘  要:针对当前虚拟操作系统存在运行延时长、可视化程度低的问题,因此提出一种基于计算思维的虚拟操作系统。对虚拟操作系统的串口模块进行设计,为串口模块的各分区构建一个虚拟的串口终端,各分区对载体设备的操作均会被转换成对虚拟串口载体设备的操作。虚拟操作系统任务调度模块中各任务均通过运行、就绪和阻塞完成虚拟进程调度,并在系统初始化过程中,为各虚拟进程设置好优先级,同时等待事件或消息驱动转向就绪队列,等到时间片来临时刻转入运行状态。虚拟操作系统可视化模块中的外部任务模拟功能单元允许测试人员于用户程序正常运行过程中,有目的地对程序的运行情况或者模拟情况进行修改;语言支持功能单元支持各种语言表征的各种测试任务。在虚拟操作系统关键技术中,以系统突发中断情况对应策略为对象进行分析。实验结果表明,该系统运行延时短、可视化程度高,具有可行性。Since the current virtual operating system has the problems of long operation delays and low degree of visualization,a virtual operating system based on computational thinking is proposed.The serial port module of the virtual operating system is designed to construct a virtual serial port terminal for each partition of the serial port module.The operations of various partitions on carrier devices are all converted into operations on virtual serial port carrier devices.In the task scheduling module of the virtual operating system,the virtual process scheduling is completed by operation,preparation and blocking of each task.During the system initialization process,the priority is set for each virtual process.Meanwhile,the waiting event or message is driven to convert to the ready queue,which is then converted to the operation state when the time slice comes.The external task simulation function unit in the visualization module of the virtual operating system allows the tester to purposely modify the operation or simulation conditions of the program during the normal operation of the user program.The language support function unit supports various testing tasks represented by various languages.In the key technologies of the virtual operating system,the corresponding strategy of the system burst interruption is taken as the analysis object.The experimental results show that the system has short operation delays and high visualization degrees,which is feasible.

关 键 词:计算思维 虚拟操作系统 串口模块 可视化模块 任务调度 虚拟进程 

分 类 号:TN915.5-34[电子电信—通信与信息系统] TP391[电子电信—信息与通信工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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