Application-Layer Error Handling for Serial Interfaces
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing serial interface error handling methods, such as the Interlaken Protocol, incur high overhead due to broadcasting errors to multiple entities and requiring protocol-layer interrupt handling, which is inefficient and lacks specificity in error handling approaches.
Innovation Solution
Implementing an application-layer error handling approach selection mechanism that allows flexible selection of error handling strategies based on the type of data and its usage, reporting errors through an API to enable dynamic and efficient error management.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If errors are reported through protocol-layer interrupts, then error notification is achieved, but overhead increases and handling efficiency decreases
Solution Approach 1:
The patent moves error handling from the protocol layer to the application layer, adding a dimensional shift in the error management architecture. This allows application-specific error handling logic to be invoked directly, avoiding protocol-layer overhead while maintaining reliable error notification through structured API calls and callback mechanisms.
2Reliability
If protocol-layer interrupt handling is used, then error reporting is achieved, but lack of specificity in error handling approaches occurs
Solution Approach 1:
The patent implements local quality by allowing each application to define its own error handling strategy based on the specific error conditions and data types involved. The error reporting mechanism provides structured information (error code, message, context) that enables tailored handling approaches for different scenarios, rather than using a one-size-fits-all protocol-layer interrupt system.
3Device complexity
If static error handling approach is used, then implementation simplicity is maintained, but flexibility to handle different error types adapts poorly
Solution Approach 1:
The patent introduces dynamics to error handling by enabling applications to dynamically select and configure their error handling strategies based on runtime conditions. The system maintains a framework that supports multiple handling approaches (retransmission, acknowledgment, timeout, etc.) and allows flexible selection based on error type, data importance, and application requirements, while keeping the core implementation structure simple through standardized API interfaces.
Data Source
AI summary
A method is performed in a requester device that is coupled with a responder device by a serial interface. The method is one of selecting an approach to handle an error in a request-response communication between the requester and responder devices over the serial interface. The method includes transmitting a request packet, of the request-response communication, over the serial interface, based on a request from an application that is executing on a logical processor. The method includes reporting the error in the request-response communication to an application-layer module. The method includes selecting an error handling approach, of a plurality of error handling approaches, which is to be used to handle the error, with the application-layer module.


