Multi-Protocol Storage Controller Hot-Swap Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Interoperability between PCIe and SAS storage devices is challenging due to their differing protocols, particularly when storage controllers employing one protocol are unable to detect storage devices of another protocol during hot-swapping.
Innovation Solution
A storage controller that selects between hardware and firmware protocol detection methods to identify the protocol of attached storage devices, allowing it to process input/output requests accordingly, and includes a protocol multiplexer to switch between PCIe and SAS/SATA protocol stacks for efficient communication.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a storage controller employs a single protocol (PCIe or SAS), then the protocol implementation is simple and reliable, but the controller cannot detect or communicate with storage devices of another protocol during hot-swapping
Solution Approach 1:
The storage controller is designed to support multiple protocols (PCIe and SAS) within a single device. The controller includes protocol detection circuitry that can identify whether a connected storage device uses PCIe or SAS protocol, and automatically switch between protocol modes to enable communication with devices of either type, making the controller universal rather than protocol-specific
Solution Approach 2:
The patent introduces an intermediary protocol detection and switching mechanism between the host and storage devices. This intermediary layer detects the protocol type of hot-swapped storage devices and mediates the communication by selecting the appropriate protocol stack, allowing seamless interoperability without requiring the host to be aware of the specific device protocol
2Speed
If hardware protocol detection is used, then detection speed is fast, but power consumption increases due to continuous hardware monitoring
Solution Approach 1:
Instead of continuous hardware monitoring, the system uses periodic protocol detection triggered by specific events such as hot-swap detection or link status changes. The protocol detection is activated only when needed, reducing power consumption while maintaining fast detection capability when a storage device is connected or reconnected
Solution Approach 2:
The protocol detection mechanism transitions from a static continuous monitoring mode to a dynamic event-driven mode. The system adapts its detection behavior based on operational conditions, using fast hardware detection only when triggered by relevant events, thereby optimizing the balance between detection speed and power consumption
3Use of energy by moving object
If firmware protocol detection is used, then power consumption is reduced, but detection accuracy and speed decrease
Solution Approach 1:
The protocol detection function is segmented into two distinct layers: hardware-level detection circuitry that provides fast and accurate protocol identification, and firmware-level processing that interprets the detection results. This segmentation allows the hardware layer to maintain high detection accuracy while the firmware layer operates with lower power consumption, combining the advantages of both approaches
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Systems and methods presented herein provide for coupling a storage controller (104) to a plurality of different storage device types (110; 111; 112). One embodiment of the storage controller includes an interface (301) operable to communicatively couple to a storage device. The storage controller also includes a processor (502) operable to select between hardware protocol detection of the storage device and firmware protocol detection of the storage device, and to detect a protocol of the storage device when the storage device communicatively couples to the interface according to the selected protocol detection. The storage controller then selects a protocol to process input/output requests from a host (105) based on the detected protocol of the storage device.