针对TinyOS系统 FCFS任务调度机制对吞吐量和短任务实时响应的不足,提出了基于非抢占任务的实时周期监测调度策略。把任务抽象为周期和非周期2种存在形式,在2个任务队列中实现并行协调调度,使短任务单独组队、长任务进行优化调度处理。实验结果表明,在不影响原系统性能的前提下,此方法提高了系统吞吐量,改善了短任务响应性能。
Aiming at the defect of throughput and short real-time response in the TinyOS system by using FCFS task schedu-ling mechanism,a scheduling strategy is proposed based on the non-preemption task cycle monitoring.The system tasks are abstracted two kinds of forms,and the parallel coordinate scheduling is realized in two tasks queues.Short task is scheduled separately,and long task is optimized by the scheduling process.The experimental results show that this method can im-prove the throughput and short task response performance without affecting the original system performance.