Mixed scheduling method of embedded real-time operating system

A real-time operating system and hybrid scheduling technology, applied in the direction of multi-programming devices, etc., can solve the problems of low predictability, low resource utilization, large system overhead, etc., and achieve high predictability, reliability, and high real-time response. Capability, effect of control system overhead

Inactive Publication Date: 2010-06-23
SHENZHEN MINDE ELECTRONICS TECH
View PDF1 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] Although the TTC scheduler (time-triggered cooperative scheduling) proposed by Michael J. Pont can effectively reduce task jitter in embedded systems, has high predictability and is simple to implement, but the real-time response of this scheduling method to external events The ability is relatively weak, and the scheduling method is not as flexible as preemptive scheduling, and the utilization rate of resources is relatively lo

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Mixed scheduling method of embedded real-time operating system
  • Mixed scheduling method of embedded real-time operating system
  • Mixed scheduling method of embedded real-time operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0044] In the embodiment of the present invention, the program that executes the hybrid scheduling method is virtually called a hybrid scheduler.

[0045] The embodiment of the present invention mainly includes two steps, that is, preliminary preparation for task scheduling and task scheduling, which will be described in detail below.

[0046] Preliminary preparations for task scheduling. First, create a task, establish a TaskControl Block (TCB) structure for each task, and connect all TCBs into a TCB doubly linked list, and at the same time, establish a TCB address array TCBPrioTbl[LowestPrio+1]. Such as image 3 As shown, the figure introduces the relationship between the TCB address array and the TCB doubly linked list. The TCB address array is an array storing all TCB addresses. The subscript of the array corresponds to the task priority. The size of t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a mixed scheduling method of an embedded real-time operating system. The method comprises the steps of pre-task scheduling resource allocation and task scheduling, wherein the task scheduling comprises the following steps: enabling a task to be ready in an event-trigger or time-trigger mode; looking for a priority decision table based on a ready list and a ready group to obtain the current ready highest task priority; and when the ready task of the highest priority is a collaborative task, directly running the collaborative task, removing the positions of the collaborative task in the ready list and the ready group after the completion of the collaborative task, and executing the previous step again. By treating ISR as the task, allocating priority along with other tasks, simultaneously combining the time-trigger and event-trigger framework and adopting the mixed scheduling mode of preemptive and collaborative tasks, the invention obtains a scheduling method which has the advantages of high predictability and reliability and high real-time response capability. The scheduling method can make full use of the system resources and effectively control the system overhead.

Description

technical field [0001] The invention relates to the technical field of design and implementation of an embedded operating system, and more specifically relates to a hybrid scheduling method of an embedded real-time operating system. Background technique [0002] With the rapid development of computer technology and the wide application of Internet technology, embedded system (Embedded System) is playing an increasingly important role. It is widely used in manufacturing industry, process control, communication, instrument, meter, automobile, ship , aerospace, military equipment, consumer products, etc. Embedded system is defined as application-centric, computer-based, software and hardware can be tailored to meet the strict requirements of the application system for function, reliability, cost, volume, power consumption, etc. Specialized computer system. [0003] Just because the application fields of embedded systems are expanding day by day, the functional requirements are...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/46
Inventor 黄强
Owner SHENZHEN MINDE ELECTRONICS TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products