Embedded Operating System Priority Inversion Real-time Design Patterns and Method of Implementation and Research

Author
YangLiNa
Advisor
WangXiBo
School
Shenyang University of Technology
Major
Computer Software and Theory
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2011
Downloads
60
Citations
1

Request the full text

Abstract

Embedded real-time systems, compared with the traditional operating system have many constraints, the task not only to meet the requirements of correctness, but also to meet the real-time standards. With the automation of industrial production, technological development trend of modernization, it brought new opportunities to the embedded system’s development and application, but also brought a higher demand.In priority-based preemptive real-time operating system kernel, prone to the phenomenon of priority inversion, high-priority task will be blocked by a low priority task in an uncertain time, it will affect the safety and stability of the system seriously, Therefore, patterns of resource management is especially important in real-time systems.In this paper, the research object isμC/OS-Ⅱembedded real time operating system, the focus is the priority inversion model on resource management, first introduced the development and production of embedded systems, real-time operating system and embedded operating systems. and then based on the introduce ofμC/OS-Ⅱ, Linux, VxWorks and other popular operating systems, analyzed the approach of priority inversion in these common operating systems. Taken focused on the real-time operatingμC/OS-Ⅱsystem depression priority inversion method, disable interrupts law, priority inheritance protocol,, priority ceiling protocol three methods, and analyzed and compared these three methods, the results show that the three methods are inadequate.On the based ofμC/OS-Ⅱ, analyzed its core, increasing the shared resource control block data structure and shared resource control block list, used to record the properties of shared resources. In explaining the reasons of the deadlock and priority inversion, then proposed priority inversion and deadlock resource management pattern based on priority inheritance protocol. By shared resources sorting methods, with the Source ID from low to high be accessed finally, by experiment model test and verity, the method to some extent inhibited the priority inversion and deadlock occurs.

Related dissertations

  1. Research on Real-time Scheduling Algorithm and Resource Management of Real-time System
    ZhouBenHai ·Shenyang University of Technology ·2007 ·Master's thesis
  2. Research and Implementation of Embedded Real-time System μC/OS-Ⅱ Kernel Performance Improvement
    JiangChao ·Shenyang University of Technology ·2009 ·Master's thesis
  3. Research on the Earliest Deadline First Real-Time Scheduling Algorithm
    ZhangJie ·Huazhong University of Science and Technology ·2009 ·Doctoral dissertation
  4. Design Mode and Implement Approach Study for Solving Inversion Problem in μC/OS-Ⅱ
    GuoYang ·Shenyang University of Technology ·2006 ·Master's thesis
  5. The Real-Time Analyzing and Improving for an Embedded Operating System
    LiuZhiChen ·Hunan University ·2005 ·Master's thesis
  6. Research and Implementation of the real - time thread library
  7. The Development of Configuration Software for Monitoring and Controlling Based on C#
    WangGuang ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Design and Implementation of Static Gesture Recognition System Based on FPGA
    ZhaoYuZuo ·Northeastern University ·2013 ·Master's thesis
  9. Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
  10. Research on Key Technology of On-chip Multicasting Communication Based on2D Mesh Network
  11. Modal Analysis Fast Calculation Method Research and Application on Heavy Truck
    XieXiaoPing ·Hunan University ·2014 ·Doctoral dissertation
  12. Research on Hard Real-time Multi-core Architecture Based on Shared Sram Automotive Control Applications
    ZhouXueWen ·Shanghai Jiaotong University ·2012 ·Master's thesis
  13. Design and Implemenation of Real-time Monitoring System Based on Virtual Instrument
    LuJiaLong ·Harbin Institute of Technology ·2013 ·Master's thesis
  14. Implementation of Real-Time Test System for Inertial Measurement Units Based on LabVIEW
  15. Formal Modeling and Analysis of Cyber Physical System
    LeiYao ·Guangdong University of Technology ·2013 ·Master's thesis
  16. Real Time Face Feature Detection System Based on CPU+GPU Cluster
    GaoWei ·Tianjin University ·2012 ·Master's thesis
  17. Design and Realization of a Dynamic Memory Manager for Embedded Real-time Systems
    WuWenFeng ·Chongqing University ·2013 ·Master's thesis
  18. Research of Task Scheduling Algorithm for Soft Real-time System Based on Feedback Mechanism
    ZhangTong ·Hunan University ·2011 ·Master's thesis
  19. The Embedded Real-time Operating System μC/Os-Ⅱ and Research of Priority Reverse Problems
  20. Aspect-Oriented Testing Approach for The Real-time Characteristic of Real-Time Cyber-Physical System
    YangMin ·Guangdong University of Technology ·2012 ·Master's thesis