Multitask scheduling method and system based on uCOS-II

The invention discloses a multi-task scheduling method and system based on uCOS-II, and the method comprises the steps: constructing a task summary table, and enabling tasks with a resource dependency relationship to form a plurality of sequential task tables according to the sequence of resource de...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LUAN QINGWEN, SONG DAN, ZHU CHENGYIN, GAO TIAN, DING ZHONGFENG, LI YUNSHI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a multi-task scheduling method and system based on uCOS-II, and the method comprises the steps: constructing a task summary table, and enabling tasks with a resource dependency relationship to form a plurality of sequential task tables according to the sequence of resource dependency and resource release based on the task summary table, forming a plurality of preemptive task tables by the tasks without the resource dependency relationship; the sequential task table and the preemptive task table are arranged in a crossed mode according to groups to form a task grouping table, and priorities are distributed to all tasks in the task grouping table; and dividing the tasks into a plurality of sequential execution task groups and a plurality of preemptive execution task groups based on the task grouping table, and executing the tasks according to the priority ranges of each sequential execution task group and each preemptive execution task group and the priority of each task. By means of the