Task level resource administration method for micro-kernel embedded real-time operation systems

A real-time operating system and resource management technology, which is applied in the field of task-level resource management of microkernel embedded real-time operating systems, can solve problems such as deadlocks, and achieve the effects of less time overhead, less space overhead, and convenient use and management

Inactive Publication Date: 2007-07-18
ZHEJIANG UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, T2 is running. If T2 tries to occupy the semaphore S1, T1 and T2 wait for each other to hold the semaphore, which leads to a deadlock.

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 level resource administration method for micro-kernel embedded real-time operation systems
  • Task level resource administration method for micro-kernel embedded real-time operation systems
  • Task level resource administration method for micro-kernel embedded real-time operation systems

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Below in conjunction with accompanying drawing and example the present invention is described further:

[0034] Figure 3 points out the state of the task and the transition relationship between the states. The task state is divided into four states: ready, running, suspended, and waiting. When a task is ready, it enters the running state if it has the highest priority. When a task is running, there are three state transition situations:

[0035] 1. When a task is waiting for an event to occur, the task enters the waiting state. A task in the waiting state enters the ready state if the event it is waiting for occurs;

[0036] 2. When the task is preempted by other high-priority tasks, the task enters the ready state;

[0037] 3. When the task itself ends voluntarily, the task enters the pending state. Pending tasks can be made ready by being activated.

[0038] The priorities of tasks in the ready state are reflected in the system's priority ready queue. The prior...

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

This invention relates to the task grade resource management method for a tiny kernel embed real-time operation system, which divides the resource into two parts: interior resource and exterior resource, wherein, to get and release the interior resource doesn't need the transfer system API; to get and release the exterior resource needs the specific application program interface of the system, which is more suitable in the task that has more complicated function. One task can occupy one interior resource at most. When task runs, resource is get automatically; when task ends automatically or happen to attempter forcefully and quit the running state automatically, the interior resource will be released automatically. One task can occupy multi exterior resource, wherein occupying and releasing exterior resource must follow the order, which is coming first and going finally.

Description

technical field [0001] The invention relates to an embedded real-time operating system technology, mainly realizing a task-level resource management method of a microkernel embedded real-time operating system. Background technique [0002] Resource management is an important part of embedded real-time operating system. Task-level resource management is used to coordinate the access of multiple tasks with different priorities to shared resources, such as management entities (schedulers), program sequences, memory, hardware, peripherals, etc. Task-level resource management must ensure that two tasks cannot occupy the same resource at the same time, priority inversion (Priority Inversion) will not occur, and deadlock will not occur when using resources. [0003] At present, commercial real-time operating systems with relatively high market share include VxWorks, PSOS, QNX, LynxOS, VRTX, Windows CE, etc. Most of these numerous real-time operating systems are multi-task real-ti...

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/50
Inventor 吴朝晖赵民德厉蒋李红潘杭平孙洁
Owner ZHEJIANG UNIV
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