Test Pending External Interruption Instruction for Interrupt Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current computing environments lack an efficient mechanism to determine pending external interrupts, which hinders the ability to manage resource conflicts and prevent deadlocks, as existing technologies do not provide a straightforward method to test for such interruptions without disrupting the processing sequence.

Innovation Solution

A Test Pending External Interruption instruction is introduced, allowing the system to determine if specific subclasses of external interruptions are pending, enabling the operating system to take appropriate actions without enabling the corresponding interruption classes, thereby facilitating smoother processing and conflict resolution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the operating system enables interruption handling to detect pending interrupts, then interrupt detection capability is improved, but processing sequence disruption occurs

Engineering Contradiction:
Improveinterrupt detection capabilityVSAvoidprocessing sequence stability
Core Design Contradiction:
Measurement precisionVSStability of the object's composition

Solution Approach 1:

The patent introduces a test pending external interruption instruction as an intermediary mechanism that allows the operating system to query interrupt status without actually enabling interrupt handling. This mediator instruction provides the detection capability needed while maintaining processing sequence stability by not triggering actual interrupt context switches.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent enables preliminary detection of pending interrupts through the test instruction before the operating system decides whether to enable full interrupt handling. This preliminary action allows the system to prepare for potential interrupt scenarios without disrupting the current processing sequence, resolving the contradiction between detection needs and stability.

Inventive Principle:
Principle #10Preliminary action

2Stability of the object's composition

If the system remains disabled for interruption classes to maintain processing stability, then processing sequence stability is improved, but interrupt detection capability deteriorates

Engineering Contradiction:
Improveprocessing sequence stabilityVSAvoidinterrupt detection capability
Core Design Contradiction:
Stability of the object's compositionVSMeasurement precision

Solution Approach 1:

The test pending external interruption instruction serves as a specialized intermediary that bridges the gap between maintaining disabled interrupt states and detecting pending interrupts. It allows read-only access to interrupt status bits without changing the interrupt enable state, thus preserving stability while improving detection capability.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces the traditional mechanical approach of enabling interrupts to detect them with a software instruction-based approach. The test instruction substitutes the physical act of enabling interrupt hardware with a logical query operation, maintaining stability while achieving detection.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Productivity

If external interrupts are enabled to handle high-priority interruptions, then interrupt handling capability is improved, but resource conflict management deteriorates due to inability to test pending state

Engineering Contradiction:
Improveinterrupt handling capabilityVSAvoidresource conflict management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The test pending external interruption instruction enables preliminary checking of interrupt status before committing to full interrupt handling. This allows the operating system to evaluate the need for interrupt processing in advance, making more informed decisions about resource allocation and conflict management, thereby reducing overall system complexity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The instruction provides feedback information about pending interrupt state to the operating system without forcing interrupt execution. This feedback mechanism allows the OS to adjust its resource management strategies based on actual interrupt conditions, improving both handling capability and conflict management.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP3571581B1Test pending external interruption instruction
Publication Date: 2021.06.09 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • EP3571581B1 patent drawingFigure 1A
  • EP3571581B1 patent drawingFigure 1B
  • EP3571581B1 patent drawingFigure 2A~2B

AI summary

Testing for pending external interruptions. A Test Pending External Interruption instruction tests for pending external interruptions. The test for pending external interruptions is based on one or more program-specified subclasses, regardless of whether the machine is enabled for those classes of interruption. The instruction provides an indication for those subclasses being tested of whether there are any pending external interruptions for those subclasses.