OS Kernel Driver Rescue Procedure for Device Error Handling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional electronic device operating systems lack sufficient integration between software layers, leading to user inconvenience and data loss in exceptional situations such as removable storage device removal, insufficient storage space, or network signal loss, resulting in application termination and associated side effects.
Innovation Solution
A method utilizing a driver in the kernel layer of an operating system to detect errors and trigger a rescue procedure via a Package Manager Service module, preventing immediate process termination and allowing for controlled process management and data handling.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the conventional OS forces application termination when device errors occur, then system stability is maintained, but user experience deteriorates and data loss occurs
Solution Approach 1:
The patent introduces an intermediate error handling mechanism between the error condition and application termination. When a device error is detected, the system activates a rescue procedure that attempts to recover or mitigate the error impact before forcing application termination, thereby preserving user experience while maintaining system stability.
Solution Approach 2:
The patent implements error detection and rescue procedures that activate before complete system failure occurs. By detecting errors early and applying corrective measures in advance, the system cushions the impact of errors on user experience and prevents data loss while maintaining overall system stability.
2Object-affected harmful factors
If the conventional OS immediately terminates applications upon error detection, then harmful error propagation is prevented, but data loss and side effects occur
Solution Approach 1:
The patent performs preliminary error detection and activates rescue procedures before application termination is executed. This preliminary action allows the system to save critical data, log error information, and mitigate side effects before the application is forced to terminate, thereby preventing harmful error propagation while minimizing data loss.
Solution Approach 2:
The patent converts the harmful error condition into a beneficial opportunity for data preservation and system learning. By detecting errors and activating rescue procedures, the system transforms what would be a data-loss scenario into an opportunity to save critical information, log valuable error data, and improve future error handling.
3Device complexity
If the OS lacks integration between software layers, then system complexity is reduced, but error handling capability deteriorates
Solution Approach 1:
The patent segments the error handling functionality into distinct modular components including error detection modules in the kernel layer, rescue procedure modules in the system service layer, and application-specific handlers. This segmentation allows each layer to perform its specific error handling function independently while maintaining overall system reliability without excessive integration complexity.
Data Source
AI summary
A method for performing process fault tolerant control of an electronic device, and an associated apparatus and an associated computer program product are provided, where the method includes: using at least one driver in a kernel layer of an operating system (OS) of the electronic device to perform detection to determine whether a specific process running on the electronic device will be influenced by an error of the electronic device; and when it is detected that the specific process running on the electronic device will be influenced by the error of the electronic device, using at least one control signal of the OS to perform process control on the specific process and using a package manager service (PMS) module of the OS to trigger a rescue procedure. For example, the method may further include: when triggering the rescue procedure, preventing immediately triggering termination of the specific process.


