An interrupt processing device and interrupt processing method

A technology of a processing device and a processing method, which is applied in the direction of multi-programming device, program startup/switching, etc., and can solve the problems of large hardware resources, certain occupation, and increased hardware cost, etc.

Active Publication Date: 2017-05-24
RUIJIE NETWORKS CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the prior art, if there are many functional modules in the control system, multiple interrupt flag registers are needed to complete the interrupt processing of the entire control system, and each interrupt flag register needs a setting module and a clearing module, etc. That is, when there are many functional modules in the control system, it is necessary to set up multiple sets of interrupt control circuits to complete the processing of the interrupt events of each functional module. Each set of interrupt control circuits needs to occupy certain hardware resources, and the processor accesses multiple When there are two interrupt flag registers, a multiplexer is also needed. The larger the number of interrupt flag registers, the more hardware resources the multiplexer takes up.
Therefore, when there are many functional modules in the control system, more sets of interrupt control circuits are required, so that the interrupt control circuit takes up more hardware resources, and at the same time, the multiplexer also takes up more hardware resources, which in turn makes the entire interrupt The processing takes up more hardware resources, which increases the hardware cost

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
  • An interrupt processing device and interrupt processing method
  • An interrupt processing device and interrupt processing method
  • An interrupt processing device and interrupt processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0073] An embodiment of the present invention provides an interrupt processing device 10, which is used to process interrupt sources of m functional modules, where m is greater than or equal to 2, and the functional modules include at least one interrupt source, such as figure 1 As shown, the interrupt processing device 10 includes:

[0074] Block Random Access Memory (Block Random Access Memory, Block RAM) 101, at least includes m storage unit groups, each st...

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 embodiment of the invention provides an interrupt processing device and method. The interrupt processing device and method are applied to the technical field of interrupt control, can save hardware resources, and can reduce hardware cost. The interrupt processing device comprises a block random access memory, an interrupt flag bit write-in module, an interrupt flag bit output module, an interrupt flag bit read-out module and an interrupt flag bit removal module, wherein the block random access memory at least comprises m memory cell groups; the interrupt flag bit write-in module is used for writing interrupt flag bit information of any function module in the memory cell group corresponding to the function module; the interrupt flag bit output module is used for generating an interrupt event processing request and sending the interrupt event processing request to a processor; the interrupt flag bit read-out module is used for obtaining the interrupt flag bit information of the memory cell group corresponding to the function module and sending the interrupt flag bit information to the processor; the interrupt flag bit removal module is used for removing effective information corresponding to an interrupt source. The interrupt processing device is used for processing an interrupt event.

Description

technical field [0001] The invention relates to the technical field of interrupt control, in particular to an interrupt processing device and an interrupt processing method. Background technique [0002] In the control system, the processor usually responds to the abnormal event processing request that requires urgent processing by the processor through an interrupt. The interrupt means that the processor temporarily stops the currently executing program and executes the program and execution process that handles the new situation. [0003] There are usually multiple functional modules in a control system, and each functional module includes multiple interrupt sources, and each interrupt source has an interrupt flag bit corresponding to it. At present, the interrupt flag bit of the interrupt source is usually through the interrupt flag Registers are stored, usually one function module corresponds to one interrupt flag register. For example, when the control system includes m...

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 Patents(China)
IPC IPC(8): G06F9/48
Inventor 章建钦
Owner RUIJIE NETWORKS CO LTD
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