Application Failure Recovery via Dynamic State Authentication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Computer applications often experience repeated crashes due to internal state errors, which are not resolved by simply restarting the application, as the underlying cause of the crash remains unaddressed.

Innovation Solution

A method and system that dynamically create and authenticate new internal state data for an application after an improper shut-down, allowing the application to restart with valid state data, thereby mitigating future crashes by modifying critical variables within defined valid ranges.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the application is restarted following a crash, then the application can continue execution, but the crash will repeat because the underlying cause is not addressed

Engineering Contradiction:
Improveapplication execution continuityVSAvoidcrash repetition
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary actions by creating new internal state data and authenticating it before restarting the application. The recovery manager intercepts the restart process, generates corrected state data, and validates it through authentication mechanisms before the application actually restarts, preventing the crash from recurring.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The recovery manager acts as an intermediary between the crashed application and the restart process. It captures the internal state, creates corrected state data, authenticates it, and then provides this validated state to the application during restart, mediating the correction of the underlying crash cause.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If the application stores internal state data in persistent memory, then the application can recover its state after shutdown, but the corrupted state data causes repeated crashes

Engineering Contradiction:
Improveinternal state preservationVSAvoidcrash repetition
Core Design Contradiction:
Loss of informationVSReliability

Solution Approach 1:

The system extracts the problematic internal state data from persistent memory and replaces it with newly created and authenticated state data. The recovery manager separates the corrupted state from the application restart process, creates a corrected version, and uses this extracted and validated state instead of the original corrupted data.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system changes the parameters of the internal state data by creating new state data with corrected values. The recovery manager modifies the internal state parameters to eliminate the crash cause, and the authentication mechanism validates these parameter changes before the application restarts with the corrected state.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If manual intervention is used to diagnose and correct crash causes, then the crash can be resolved, but significant time and resources are required

Engineering Contradiction:
Improvecrash resolutionVSAvoiddiagnosis and correction time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system implements self-service by automatically diagnosing and correcting crash causes without manual intervention. The recovery manager autonomously captures internal state, creates corrected state data, authenticates it, and restarts the application with the fixed state, enabling the system to service its own crashes independently.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system uses feedback mechanisms by monitoring application crashes, analyzing the internal state, and automatically implementing corrections based on the analysis. The recovery manager creates a feedback loop where crash information is captured, processed, and used to generate corrected state data that prevents recurrence.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS7975176B2Application failure recovery
Publication Date: 2011.07.05 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US7975176B2 patent drawing
  • US7975176B2 patent drawing
  • US7975176B2 patent drawing

AI summary

A method, apparatus, and article of manufacture to dynamically address and resolve an improper shut-down of an application. Internal state data of the application is stored in persistent memory. New internal state data is dynamically created and authenticated following an improper shut-down of the application. Responsive to the authentication, the application is re-started with the authenticated new internal state data, without being subject to an immediate improper shut-down.