Unlock instant, AI-driven research and patent intelligence for your innovation.

Interrupt synthesizing method and device

A synthesis method and synthesis device technology, applied in the field of communication, can solve problems such as low system reliability, inability to process, and CPU hangup

Active Publication Date: 2013-02-27
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] When a peripheral device (peripheral device 3) connected to the PLD fails or the interrupt pin is short-circuited to the ground (assuming the interrupt signal is active at low level), INT3 will always be active, so the CPU will frequently Respond to and process this interrupt in a timely manner, that is to say, it will re-enter the INT3 interrupt handler immediately after processing the current INT3 interrupt and exiting, and cannot handle other affairs. As a result, the CPU will hang and the system reliability will become worse Low

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 synthesizing method and device
  • Interrupt synthesizing method and device
  • Interrupt synthesizing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Embodiment 1 of the method of the present invention provides an interrupt synthesis method, which is used to prevent other interrupt sources from responding due to failure of a certain interrupt source, see figure 2 , including the following steps:

[0028] S101. Receive multiple interrupt input signals;

[0029] S102. Sampling the first interrupt input signal, and outputting an interrupt signal on the interrupt output signal line according to the sampling result;

[0030] Wherein, the first interrupt input signal may be any one of multiple interrupt input signals, and does not represent a priority level or other restriction conditions.

[0031] And, S103, judge whether to sample the next interrupt input signal after an interval of a sampling period, if so, sample the next interrupt input signal, and output an interrupt signal on the interrupt output signal line according to the sampling result .

[0032] Wherein, in step S103, the following judgment method may be u...

Embodiment 2

[0040] Embodiment 2 of the method of the present invention provides an interrupt synthesis method, which is used to prevent other interrupt sources from responding due to failure of a certain interrupt source, see image 3 , including the following steps:

[0041] S201. Receive multiple interrupt input signals;

[0042] The multi-channel interrupt input signal here is generated by each multi-channel interrupt source. The interrupt source here is generally multiple peripheral devices connected to the system, such as analog-to-digital conversion module, digital-to-analog conversion module, serial communication module, network communication module, Signals generated by peripheral devices such as various sensor modules. In addition, the interrupt input signal may not be generated by the peripheral device, but generated by the system (such as a false interrupt), which is not limited here.

[0043] S202. Sampling the first interrupt input signal, and outputting an interrupt signal...

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 discloses interrupt synthesizing method and device, which are used for increasing system reliability. The interrupt synthesizing method comprises the following steps of: receiving a plurality of paths of interrupt input signals; sampling a first-path interrupt input signal and outputting an interrupt signal on an interrupt input signal line according to a sampling result; and after spacing a sampling period, judging whether sampling the next-path interrupt input signal, and if so, sampling the next-path interrupt input signal and outputting an interrupt signal on the interrupt input signal line according to the sampling result. By the embodiment of the invention, each path of interrupt output has an opportunity to be detected and processed. The invention avoids the problem that because a certain interrupt source goes wrong, the interrupt output signal is always effective, a CPU (Central Processing Unit) only can process the interrupt output signal continuously, and finally, the CPU generates a suspension condition, thereby increasing system reliability.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to an interrupt synthesis method and device. Background technique [0002] In an embedded system, CPU (or other control processing units, such as DSP (Digital Signal Processor, digital signal processor), MCU (Micro Controller Unit, micro control unit, etc.) and peripheral devices often use interrupt mode for communication. The so-called interrupt means that the CPU processes the current task during normal operation. When the peripheral device has a task to be processed, an interrupt signal is generated, so that the CPU stops the currently executing task and turns to execute the task that the peripheral device that caused the interrupt needs to perform; After the execution is completed, the task before being interrupted is executed. The peripheral devices here include analog-to-digital conversion modules, digital-to-analog conversion modules, serial port communicati...

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/46G06F9/48
Inventor 李延松
Owner HUAWEI TECH 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