Research on Real-time Scheduling Algorithms and Implementation and Designing of Sharing Model Resource
- Author
- WangFenMei
- Advisor
- WangXiBo
- School
- Shenyang University of Technology
- Major
- Computer Software and Theory
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 130
- Citations
- 0
Abstract
Real-time system not only needs to satisfy function demand of application, but also needs to satisfy real-time requirement put-forward by the application. However, real-time requirement of various real-time tasks are different. Real-time application system may be composed of disjoint task subsets, which need layered scheduling mechanism provided by operating system. Aiming at this problem, in this paper, through to analysisμC/OS- II real-time kernel with open code and scheduling strategies of preemptive priority. Though analyzing task scheduling algorithm and resource distribution state of this real-time system, a scheme of adding fixed time assignment scheme inμC/OS-II real-time kernel is proposed to realize two layers scheduling strategies. Sub-modular is scheduled rotate by time-ship, but tasks are scheduled according to preemptive priority in sub-modular. Resources control protocol is needed to design and define again. It can inhibit priority inverting and deadlock phenomenon in two layers scheduling system.Firstly, kernel task-control-block (TCB) data structure is expanded in layers algorithm. A parameter that used for indicating which sub-modular created task belonging to is added in TCB, and this parameter provide layered control information for scheduling algorithm. Then, two-stage index tables are created to realize layered cascade search. Ceiling protocol rules is modify and redefine based on layers algorithm, it provide adding control lock for sub-modular, when a resource is occupied in a sub-modular, it cannot been applied by other sub-modular though preempting priority, it can realize inner task to distribute resource in sub-modular though layer ceiling protocol. Ceiling protocol rules set priority for task and resource separately in redefine protocol rule, it is a resource control protocol can realize homology priority task. This protocol can guarantee task scheduling constrained condition in layer sub-modular before deadline, which realizes aim of resource distribution seasonally in disjoint task subsets. Theoretical analysis and experimental results indicate that through reconstruct structure ofμC/OS- II kernel and improve scheduler, reachμC/OS- II support two layers scheduling aim, the scheduling function is extended and enhanced. It lays foundation forμC/OS-II kernel ability of support complicated application in real time system. Layer control protocol can inhibit priority inverting and deadlock phenomenon in two layers scheduling system, strengthening its control ability to resource in real-time application.
Table of contents
Abstract 5-6
Abstract 6-10
first chapter 10-19
the 1.1 embedded real-time systems Introduction 10-11
1.2 real-time systems general needs and characteristics 11-14
1.2.1 best real-time 11-12
1.2.2 Resource Control Protocol suitable 12-13
1.2.3 limited resources management 13-14
1.3 domestic and international developments 14-16
1.3.1 Real-time scheduling algorithm 14-15
1.3.2 real-time system resource management described 15-16
1.3.3 existing solution methods inadequate 16
1.4 real-time UML technology research progress 16-17
1.5 of this paper mainly work 17-18
1.6 paper structure arrangements 18-19
second study and analysis of hierarchical scheduling algorithms 19-25
2.1 Basic concepts and definitions 19
2.2 priority-driven periodic task scheduling algorithm 19-22
2.2.1 static algorithm 19-21
2.2.2 dynamic algorithm 21-22
2.2.3 mixed scheduling algorithm 22
2.3 resource access control protocol 22-24
2.3.1 Protocol Overview 22-23
2.3.2 to support hierarchical algorithm resource management protocol model 23-24
2.4 Summary 24-25
Chapter hierarchical scheduling model overall design and realization 25-41
3.1 hierarchical scheduling model defined 25
3.2 hierarchical the algorithm scheduling model design 25-32
3.2.1 fixed priority hierarchical algorithm-based analysis and implementation of 25-28
3.2.2 time limit for driving tasks the schedulability algorithm 28-32
3.3 hierarchical scheduling algorithms Resource Management Model 32-40
3.3.1 layered model priority inheritance protocol design 33-35
3.3.2 layered model ceiling protocol design 35-39
3.3.3 priority inheritance protocol and the priority ceiling protocol differences 39-40
3.4 Summary 40-41
Chapter experiments results and analysis 41-52
4.1 development tools 41-45
4.1.1 μC / OS-II real-time kernel 41
on 4.1.2 μC/OS-II80 86 of transplantation 41-45
4.2 real-time kernel improvements and extensions 45-48
4.2.1 data structure extensions 45-47
4.2.2 kernel modifications and add 47-48
4.3 experimental results analysis 48-51
4.3.1 hierarchical algorithm experimental results and data 48-50
4.3.2 Control Protocol experimental data and analysis 50-51
4.4 Summary 51-52
Chapter V Conclusion 52-53
the
References 53-56
Appendix A 56-59
learn research 59-60
Acknowledgements 60
Related dissertations
- The Development of Configuration Software for Monitoring and Controlling Based on C#
- Design and Implementation of Static Gesture Recognition System Based on FPGA
- Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
- Modal Analysis Fast Calculation Method Research and Application on Heavy Truck
- Research on Hard Real-time Multi-core Architecture Based on Shared Sram Automotive Control Applications
- Design and Implemenation of Real-time Monitoring System Based on Virtual Instrument
- Implementation of Real-Time Test System for Inertial Measurement Units Based on LabVIEW
- Formal Modeling and Analysis of Cyber Physical System
- Real Time Face Feature Detection System Based on CPU+GPU Cluster
- Design and Realization of a Dynamic Memory Manager for Embedded Real-time Systems
- Research of Task Scheduling Algorithm for Soft Real-time System Based on Feedback Mechanism
- Aspect-Oriented Testing Approach for The Real-time Characteristic of Real-Time Cyber-Physical System
- Research on Real-time Elastic Task Scheduling Algorithm Based on Feedback Mechanism
- Research of Energy-Efficient Scheduling for Parallel Real-Time Tasks on Multicore Systems
- Research on real time multi task scheduling method of periodic exchange priority
- Research on Transformation of UPPAAL Timed Automata to UML Diagram and the Implementation Tool
- Research and Implementation of Semi-partitioned Multiprocessor Real-time Scheduling
- Research and Apply the Shared Cache Partition in Real-time Operate System
- The Research and Implementation for XtratuM Based on Loongson2F
- Key Techniques Study on Resource Management on Dual-mode Terminals in Cable Television Networks