Built-in real-time system interrupt handling device and method thereof

A real-time system and processing device technology, applied in the direction of electrical digital data processing, instruments, etc., can solve the problems of sacrificing real-time performance of the system, increasing system complexity, threatening system stability, etc., to avoid endless loop state or kernel work queue overflow , improve stability and real-time, and ensure the effect of real-time requirements

Inactive Publication Date: 2008-03-12
ZTE CORP
View PDF2 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] No. CN200610154795.7 Chinese patent application has the following deficiencies: One, although this patent adopts component technology to realize embedded operating system interrupt processing from the perspective of kernel software engineering management, it increases the processing time in the interrupt context and increases It increases the complexity of the system, thereby affecting the CPU's real-time response to other interrupt events, and in some cases will sacrifice the real-time performance of the system; 2. In addition, in the case of too frequent interrupts, the CPU of the embedded operating system will be in a dead state. Loop state, the kernel cannot schedule and respond to other tasks, causing system crashes or seriously threatening system stability
[0007] No. US6574694 U.S. Patent has the following deficiencies: 1. Although in this patent, a simple filtering process is carried out to the interrupt event, it cannot fundamentally solve the situation that the system crashes when the interrupt report is too frequent; 2. In the case of various devices and complex interrupt processing, it will affect the real-time performance of the system to respond to interrupts

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
  • Built-in real-time system interrupt handling device and method thereof
  • Built-in real-time system interrupt handling device and method thereof
  • Built-in real-time system interrupt handling device and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] Embodiments of the interrupt processing method for an embedded real-time system of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0062] As shown in Figure 1, the embedded real-time system interrupt processing module of the embodiment of the present invention includes:

[0063] Interrupt response module 101, this part is responsible for carrying out the preliminary interrupt processing work after the CPU receives the interrupt signal reported by the hardware interrupt controller;

[0064] The underlying interrupt callback processing module 102, which is responsible for performing the second half of the interrupt processing work in the interrupt context, such as performing interrupt mask control according to the interrupt type, etc., and performing operations such as adding interrupt task queues;

[0065] Interrupt socket layer waiting task processing module 103, this part is dispatched by the embedded real-time o...

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 provides an interruption process device for embedded real-time systems; the device comprises an interruption response module, to perform interruption process after an interruption signal is triggered, in order to trigger a base layer interruption callback process module; a base layer interruption callback process module, to perform process according to interruption types; the interruption process results will be released into an interruption muff-coupling layer awaiting task process module through a synchronism mechanism and a task queue; the interruption muff-coupling layer awaiting task process module, to acquire task under process from the interruption task queue, search a muff-coupling layer callback function list, so as to perform interruption assortment and process. An upper-layered interruption callback initialization module, through upper-layered trigger calling through an embedded real-time operation system, performs initialization and registration operation for a muff-coupling layer callback function list. The invention also provides an interruption process method for embedded real-time systems. The invention can guarantee real-time performances and stability of the system.

Description

technical field [0001] The invention relates to the field of embedded systems, more specifically, to a device and method for interrupt processing of an embedded real-time system. Background technique [0002] With the rapid development of embedded technology, embedded real-time operating systems are being more and more widely used in various fields such as industrial automation, electronic communication, and home appliances. At the same time, the platforms on which the embedded operating system runs are becoming more and more diverse, and the processing of various interrupt sources is becoming more and more complicated. In this case, in order to ensure the system stability and real-time performance of the embedded platform in the process of processing interrupts, the original interrupt processing technology has also been continuously developed. [0003] The interrupt processing method currently used in embedded real-time systems mainly includes the following processes: (1) ...

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 Applications(China)
IPC IPC(8): G06F13/24
Inventor 宁晨李灿伟黄毅韩佳雨
Owner ZTE CORP
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