首页> 外国专利> REAL-TIME MULTI-TASK SCHEDULING METHOD AND DEVICE

REAL-TIME MULTI-TASK SCHEDULING METHOD AND DEVICE

机译:实时多任务调度方法及装置

摘要

Embodiments of the present invention provide a real-time multi-task scheduling method and apparatus, which can dynamically correct a laxity value of a thread, to obtain a more accurate task priority, and further improve accuracy of real-time multi-task scheduling. The method includes: after determining that laxity correction should be performed for a currently scheduled thread, acquiring a remaining execution time of the currently scheduled thread according to an execution progress of the currently scheduled thread and a time for which the currently scheduled thread has been executed; then, acquiring a laxity of the currently scheduled thread according to the remaining execution time of the currently scheduled thread and a deadline of the currently scheduled thread; next, determining a priority of the thread according to the laxity of the currently scheduled thread, and re-determining a priority queue according to the priority of the thread; and finally, successively scheduling threads in the queue according to the re-determined priority queue. The present invention is applicable to the field of computers.
机译:本发明实施例提供了一种实时多任务调度方法和装置,可以动态地校正线程的松弛度,以获得更准确的任务优先级,并进一步提高了实时多任务调度的准确性。该方法包括:在确定对当前调度线程执行松弛度校正之后,根据当前调度线程的执行进度和当前调度线程已执行的时间,获取当前调度线程的剩余执行时间。 ;然后,根据当前调度线程的剩余执行时间和当前调度线程的期限,获取当前调度线程的松弛度;接下来,根据当前调度线程的松散度确定线程的优先级,并根据线程的优先级重新确定优先级队列;最后,根据重新确定的优先级队列在队列中依次调度线程。本发明适用于计算机领域。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号