Recovering Abnormal Data in Internal Memory Without System Reset

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for recovering abnormal data in RAM due to soft failures result in lengthy system resetting operations, disrupting ongoing applications and slowing down data recovery processes.

Innovation Solution

A method and apparatus that suspend current instructions, determine the program unit affected, and if reversible, re-execute the program unit from the first instruction, releasing resources and resetting the computer pointer to recover abnormal data without system resetting, thereby enhancing recovery speed and minimizing operational impact.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If system resetting operation is used to recover abnormal data in RAM, then the abnormal data can be recovered, but the recovery time becomes very long and application software must be shut down

Engineering Contradiction:
Improvedata recovery capabilityVSAvoidrecovery time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The invention segments the recovery process by identifying the specific program unit containing the abnormal instruction and isolating it from the rest of the system. Instead of resetting the entire system, only the affected program unit is re-executed, significantly reducing recovery time while maintaining data recovery capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The invention extracts the abnormal program unit from the overall system execution context. By obtaining the program unit through the computer pointer and determining its reversibility, the system can selectively re-execute only the affected portion without disrupting the entire application, thus reducing recovery time and maintaining operational continuity.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If system resetting operation is used to recover abnormal data in RAM, then the abnormal data can be recovered, but application software started in the process is shut down causing huge impact on operations

Engineering Contradiction:
Improvedata recovery capabilityVSAvoidoperational continuity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The invention applies local quality by determining whether the affected program unit is reversible and selectively re-executing only that specific unit. This localized approach allows the system to maintain normal operation of other application software while recovering the abnormal data, thus preserving operational continuity without requiring a complete system reset.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The invention introduces dynamic decision-making by checking the reversibility of the program unit before re-execution. Based on this dynamic determination, the system can choose to re-execute the program unit or follow alternative recovery paths, allowing flexible adaptation to different failure scenarios and minimizing operational impact.

Inventive Principle:
Principle #15Dynamics

3Productivity

If the program unit is re-executed from the first instruction, then the abnormal data can be recovered without system resetting, but resources already applied for by the program unit must be released

Engineering Contradiction:
Improverecovery speedVSAvoidresource management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The invention performs preliminary action by checking the reversibility of the program unit before initiating re-execution. This preliminary determination allows the system to prepare for resource release in advance and ensures that only reversible program units are candidates for re-execution, simplifying the overall resource management process while maintaining high recovery speed.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9921925B2Method and apparatus for recovering abnormal data in internal memory
Publication Date: 2018.03.20 HUAWEI TECH CO LTD
  • US9921925B2 patent drawing
  • US9921925B2 patent drawing
  • US9921925B2 patent drawing

AI summary

The present invention discloses a method and an apparatus for recovering abnormal data in an internal memory. The method includes: receiving, by a processor, a data abort signal and an address of an abnormal instruction where abnormal data is located; suspending a current instruction being executed, and recording an address pointed to by a computer pointer; obtaining a program unit currently being executed by the processor; if it is determined that the abnormal instruction belongs to the program unit and that instructions between the first instruction and the current instruction in the program unit are all reversible instructions, invoking a destruction program unit corresponding to the program unit, so as to release resources already applied for by the program unit; and causing the computer pointer to point back to an address of the first instruction in the program unit, and re-executing the program unit.