Self-Diagnostic Device Driver Error Replication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Device drivers often encounter errors in production scenarios where the root cause is unclear, and existing trace mechanisms require significant system resources, making them impractical for continuous use, leading to time-consuming manual troubleshooting.

Innovation Solution

A self-diagnostic device driver that records operational history, detects errors, and automatically replicates the sequence of operations leading to the error, enabling detailed diagnostic data collection without manual intervention, using a processor to execute machine instructions for error detection and diagnostic history recording.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If detailed trace recording is enabled to record operational information for troubleshooting device driver errors, then diagnostic data completeness is improved, but system resource consumption increases and system performance deteriorates

Engineering Contradiction:
Improvediagnostic data completenessVSAvoidsystem resource consumption
Core Design Contradiction:
Loss of informationVSUse of energy by moving object

Solution Approach 1:

The system performs preliminary actions by automatically detecting errors and selectively recording trace information only when errors occur. The device driver monitors for error conditions and activates detailed trace recording at the moment of error detection, rather than maintaining continuous recording. This preliminary error detection mechanism ensures diagnostic data is captured when needed while avoiding unnecessary resource consumption during normal operation.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If detailed trace recording is enabled to capture operational history for error analysis, then measurement precision of error conditions is improved, but system performance deteriorates due to increased resource usage

Engineering Contradiction:
Improveerror condition detection accuracyVSAvoidsystem performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system implements preliminary error detection capabilities that monitor device driver operations and identify error conditions before detailed trace recording is activated. This allows the system to maintain high measurement precision for error conditions by having detection mechanisms in place, while preserving system performance by only enabling detailed recording when errors are actually detected rather than continuously.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If manual troubleshooting with detailed trace recording is performed to identify root cause of errors, then diagnostic accuracy is improved, but time consumption increases

Engineering Contradiction:
Improvediagnostic accuracyVSAvoidtroubleshooting time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The device driver implements self-service diagnostic capabilities by automatically detecting errors, selecting appropriate trace recording levels, and capturing diagnostic information without requiring manual operator intervention. The system autonomously monitors for errors, activates recording when needed, and preserves diagnostic data, thereby maintaining high diagnostic accuracy while eliminating the time loss associated with manual troubleshooting and experimental reproduction of errors.

Inventive Principle:
Principle #25Self-service

4Reliability

If continuous detailed trace recording is enabled to ensure diagnostic data availability, then reliability of diagnostic information is improved, but system resource consumption increases

Engineering Contradiction:
Improvediagnostic information availabilityVSAvoidsystem resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system employs preliminary error detection mechanisms that continuously monitor for error conditions and activate detailed trace recording only when errors are detected. This ensures reliability of diagnostic information by having detection capabilities ready in advance, while minimizing resource consumption by maintaining recording only during error events rather than continuously throughout system operation.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10042688B2Self-diagnosis of device drive-detected errors and automatic diagnostic data collection
Publication Date: 2018.08.07 WESTERN DIGITAL TECHNOLOGIES INC
  • US10042688B2 patent drawing
  • US10042688B2 patent drawing
  • US10042688B2 patent drawing

AI summary

A self-diagnostic device driver includes a memory that stores machine instructions and a processor coupled to the memory that executes the machine instructions to record an operational history associated with the device driver. The processor further executes the machine instructions to detect an error associated with the device driver, remove an associated driver from service, and automatically replicate a sequence of device driver operations corresponding to a segment of the operational history immediately preceding detection of the error. The processor also executes the machine instructions to automatically record a diagnostic history associated with the device driver while replicating the sequence of device driver operations. After the sequence has been replicated, the device is returned to service.