Check patentability & draft patents in minutes with Patsnap Eureka AI!

Interruption handling method and system

A processing system and processing method technology, applied in the field of interrupt processing methods and systems, can solve the problems of increasing the application software interrupt processing complexity, reducing the application software portability, and the interrupt processing cannot be completely performed in the driver layer. The effects of portability, reduced coupling, and reduced complexity

Inactive Publication Date: 2009-01-07
WUXI ZGMICRO ELECTRONICS CO LTD
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embedded computer systems using this two-tier system architecture also need to provide an interrupt processing mechanism. For interrupt requests that have nothing to do with application layer program modules, interrupt processing can be completely performed in the driver layer, that is, the interrupt handler corresponding to these interrupts It is included in the driver layer; but for the interrupt request related to the application layer program module, because different applications have different interrupt processing methods, the interrupt processing cannot be completely carried out in the driver layer; for this technical problem, now The solution in the existing technology is usually to process this kind of interrupt request completely in the application layer, that is, the interrupt handler corresponding to this kind of interrupt request should be completely included in the application layer
[0005] The disadvantage of this solution in the prior art is that if the interrupt handler is completely included in the application layer, the application software of the application layer must include hardware operations related to the interrupt, thus increasing the complexity of the application software interrupt processing. Moreover, if the application software is integrated with an interrupt handler containing a specific hardware operation, the application software will only be able to run on the hardware that supports this specific hardware operation, reducing the portability of the application software

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
  • Interruption handling method and system
  • Interruption handling method and system
  • Interruption handling method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The embodiment of the present invention provides a new interrupt mechanism for computer systems, especially embedded computer systems using a two-layer system architecture, for interrupt requests associated with hardware operations and application software operations at the same time, and the interrupt processing module of the driver layer handles hardware operations. , and call the corresponding application layer interrupt processing module to process the application software operation according to the identification information of the application layer interrupt processing module. In this way, the hardware operation and application software operation are separated, and the coupling degree between the driver layer and the application layer is reduced when the computer system handles such interrupts, thereby reducing the complexity of application software interrupt processing and enhancing the portability of application software .

[0018] The technical solutions provid...

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 present invention provides a method for processing an interrupt, which is used to reduce difficulty for developing an application software for a computer system especially an embedded computer system with a two-layer system architecture. The method includes the steps that upon receiving an interrupt request correlated with both a hardware operation and an application software operation, a drive layer interrupt processing module handles the hardware operation; and the drive layer interrupt processing module calls an application layer interrupt processing module to hadle the application software operation according to the identification information of the application layer interrupt processing module for handling the application software operation. Furthermore, the present invention also provides an interrupt processing system corresponding to the method.

Description

technical field [0001] The invention relates to a computer system, in particular to an interrupt processing method and system in the computer system. Background technique [0002] Interrupt mechanism is an event processing mechanism of computer system. When the computer system is running, if the system receives an unexpected event that needs to be processed urgently, the system must temporarily stop executing the current program and record the interrupt position of the current program, and then turn to execute an event handler to handle the above event. After the above events are processed, the system returns to the interrupt position of the current program being executed before the interrupt occurred to continue executing the program. This event processing mechanism is called the interrupt mechanism. The above process is called the interrupt processing process. The event that caused the interrupt The interrupt source is called the interrupt source, the event handler that p...

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 WUXI ZGMICRO ELECTRONICS CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More