Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for improving interruption delay of embedded type real-time operation system

A real-time operating system and operating system technology, applied in the field of embedded real-time operating systems, can solve the problems of increasing the interrupt delay of the application system, decreasing the real-time performance of the application system, and increasing the interrupt delay time, so as to improve the real-time performance and improve the predictability. Ease of use, ease of use and management

Inactive Publication Date: 2010-02-03
ZHEJIANG UNIV
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Turning off interrupts inevitably increases the interrupt delay of the application system, resulting in a decrease in the real-time performance of the application system
In fact, the processing of most interrupts has nothing to do with the kernel data structure of the operating system. Turning off interrupts increases the delay time of these interrupts that have nothing to do with the critical section.

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
  • Method for improving interruption delay of embedded type real-time operation system
  • Method for improving interruption delay of embedded type real-time operation system
  • Method for improving interruption delay of embedded type real-time operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention will be further analyzed and introduced below in conjunction with the accompanying drawings and an embodiment.

[0052] like figure 1 As shown, use the following process to write arbitrary operating system services:

[0053] (2.1) Set the system service flag;

[0054] (2.2) If the system service is called in the interrupt service routine of non-real-time interrupt, that is, the non-real-time interrupt flag is set, then enter step (2.3), otherwise jump to step (2.8);

[0055] (2.3) Set the critical area flag;

[0056] (2.4) Access the kernel data structure of the operating system to complete the function of this system service;

[0057] (2.5) Reset the critical section flag;

[0058] (2.6) Reset the system service flag;

[0059] (2.7) jump to step (2.13);

[0060] (2.8) Set the critical area flag;

[0061] (2.9) Access the kernel data structure of the operating system to complete the function of this system service;

[0062] (2.10) Reset the c...

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 discloses a method for improving the interruption delay of an embedded type real-time operation system. The method comprises the following steps: creating a system service mark, a critical section mark, a non-real time interruption mark and an interruption service routine annular array to be processed; programming an arbitrary operation system service, an interruption processing program of non-real time interruption and the task scheduling of an operation system by specific steps: finally registering the interruption processing program of non-real time interruption into an interruption vector table and registering an interruption service routine of real-time interruption into the interruption vector table. The invention does not perform closing interruption operation at all in the realizing process of the system service of the operation system, and can shorten the maximal interruption prohibited time and reduce the interruption delay, thereby improving the instantaneity of the embedded type real-time operation system. The invention has less time and space cost needed by realizing interruption management and is quite suitable for a microkernel embedded type real-time operation system.

Description

technical field [0001] The invention relates to an embedded real-time operating system, in particular to a method for improving the interruption delay of the embedded real-time operating system. Background technique [0002] As the complexity of embedded real-time applications increases, embedded real-time operating systems are increasingly widely used to achieve task scheduling, resource management, synchronization and communication, precise timing, and I / O management. The embedded real-time operating system needs to respond to external events in time, so it has extremely high requirements for real-time performance, which is the main difference between it and general operating systems. There are two important indicators to evaluate the real-time performance of a real-time operating system, namely task scheduling time and interrupt delay. [0003] Interrupt Latency refers to the time required from the occurrence of an interrupt to the operating system responding and executi...

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/48
Inventor 李红吴朝晖张培锋张吕红周霖周丽杨国青
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products