Interrupt processing method and system based on interrupt nesting

A processing method and technology for a processing system, which are applied in the field of interrupt processing methods and systems based on interrupt nesting, can solve the problem that interrupt requests cannot be processed, and achieve the effect of improving the efficiency of interrupt processing.

Inactive Publication Date: 2011-11-30
RAMAXEL TECH SHENZHEN
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] In view of the above-mentioned defects, the object of the present invention is to provide an interrupt processing method and system based on interrupt nesting, which solves the problem that low-priority interrupt requests cannot be processed for a long time, and improves the interrupt processing efficiency

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
  • Interrupt processing method and system based on interrupt nesting
  • Interrupt processing method and system based on interrupt nesting
  • Interrupt processing method and system based on interrupt nesting

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0045] figure 2 It is a schematic diagram of an interrupt processing system based on interrupt nesting in the present invention. The interrupt processing system 100 is applied in an SOC system, and includes an interrupt processor 10 and several interrupt sources of various priorities. The priority of the interrupt source is related to the interrupt The priorities of the interrupt requests sent by the sources are consistent, and each interrupt source is provided with at least one interrupt counter 20, wherein:

[0046] The interrupt processor 10 is used to process the current interrupt request of ...

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 an interrupt processing method and system based on interrupt nesting. Interrupt sources of various priorities are respectively provided with interrupt counters, and each of the interrupt counters is provided with a saturation value. The interrupt processing method includes: processing the current interrupt During the current interrupt request process of the source, if other interrupt requests from other high-priority interrupt sources are received, the current interrupt request will be interrupted, otherwise the current interrupt request will continue to be processed until the processing is completed; The interrupt counter counts the number of times the current interrupt request is interrupted by the other high-priority interrupt requests, and if the number of interruptions is equal to the saturation value of the interrupt counter, the current interrupt source The priority is increased; the other interrupt requests with high priority are processed until the end, and the current interrupt request is returned to be processed. Thereby, the present invention solves the problem that the low-priority interrupt request cannot be processed for a long time, and improves the interrupt processing efficiency.

Description

technical field [0001] The present invention relates to the technical field of interrupts, in particular to an interrupt processing method and system based on interrupt nesting. Background technique [0002] In SOC (System on Chip, system on chip), usually each vector IRQ (Interrupt Request, interrupt request) will have a certain priority, when the interrupt processing system is executing the interrupt service routine of the current interrupt request of the current interrupt source , there is another interrupt request from another interrupt source with a higher priority. At this time, the interrupt processing system will interrupt (that is, temporarily terminate) the interrupt service routine of the current interrupt source with a lower level that is currently being executed to process the priority For other higher interrupt sources, after the execution of the interrupt service routine of other interrupt sources with higher priority is completed, the interrupt processing sys...

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): G06F9/48
Inventor 田劲朱从义张耀辉
Owner RAMAXEL TECH SHENZHEN
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