Unlock instant, AI-driven research and patent intelligence for your innovation.

Task management method for enhancing real-time performance

A task management and task technology, applied in the direction of multi-programming devices, etc., can solve the problems of large time delay fluctuation, time-consuming, and single scheduling algorithm design, so as to reduce the large fluctuation of real-time performance, increase the time certainty, and enhance the The effect of real-time performance

Inactive Publication Date: 2013-12-18
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

2. When the task scale is relatively large, when multiple tasks compete for a resource, the time delay fluctuates greatly, which cannot meet the time deterministic requirements of hard real-time systems
It cannot control the running order of tasks of the same priority
4. The design of the scheduling algorithm is relatively simple. If the operation of a certain task is triggered according to the semaphore, a series of system calls need to be executed, which is time-consuming, and the specified task cannot be enforced.

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
  • Task management method for enhancing real-time performance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0017] figure 1 It is a flowchart of the task management method of enhancing real-time performance in the RTEMS real-time operating system of the present invention, comprising the steps:

[0018] A. Scheduling a task by sending a semaphore. There are two scheduling methods: one is to put the task in the ready queue and wait for it to be scheduled; the other is to force the task to be executed;

[0019] Step A designs a semaphore-triggered task scheduling mechanism, which is implemented in the RTEMS operating system in the following manner:

[0020] (1) Define two opcodes for semaphore responses.

[0021] In the RTEMS 4.9.0 source code file, in the file options.h specially used to define the global variable of the opcode, add the...

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

A task management method for enhancing real-time performance of a RTEMS (real-time executive for multiprocessor system) includes steps: A, scheduling a certain task by sending semaphore; B, setting up a co-task prior task ready queue, arranging a task to the co-task prior task ready queue if the task is supposed to be put into the ready array according to the state value of the semaphore of the task, and otherwise, forcedly occupying processor resources and performing the task; C, occupying the threshold of an appointed priority level of the task and judging whether the task is allowed to be occupied or not according to the threshold; D, when the task is added to the co-task prior task ready queue, judging the priority level of the task according to the semaphore of the task and the occupied threshold, and positioning an insertion position in the co-task prior task ready queue to form an ordered task block array.

Description

technical field [0001] The invention relates to the field of real-time system operating system kernel design, in particular to a task management method for enhancing real-time performance in an RTEMS real-time operating system. Background technique [0002] With the increasing demand and scale of real-time systems, the traditional small-scale single-chip system can no longer meet the needs of large-scale real-time control systems. While the real-time system is getting larger in scale, there are also many design factors that conflict with real-time performance and time determinism. More optimizations must be made on the basis of the existing real-time operating system in order to make the entire system more stable and have Greater timing determinism allows application developers greater flexibility. [0003] As an open source real-time operating system, RTEMS has many advantages, but if it is applied to a high-precision control real-time system, there are still many shortcom...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/46
Inventor 李彦峰潘远明杨秋松武延军翟健杜栓柱刘立宇
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI