Host Memory Buffer Handshaking for Diverse Storage Operations
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data storage devices face poor operation speed due to limited forms of command transmission.
Innovation Solution
A handshaking method and data storage system utilizing a host memory buffer as a communication interface, allowing the data storage device to perform standalone behaviors based on command descriptors in the buffer and transmit operation logs, with the host system continuously monitoring until a response descriptor is received.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If traditional command transmission forms are used, then the data storage device can maintain simple communication protocols, but the operation speed is poor and diverse operations cannot be performed
Solution Approach 1:
The host memory buffer is designed to serve multiple functions: it acts as both a data buffer for traditional commands and a command execution environment for standalone behaviors. The buffer can store command descriptors, execute them directly in the data storage device, and return results without requiring host system intervention, thus achieving multi-functionality that improves both versatility and speed
Solution Approach 2:
The host memory buffer acts as an intermediary between the host system and the data storage device. Instead of the host system directly issuing traditional commands through complex protocols, it writes command descriptors to the buffer, and the data storage device autonomously executes them. This intermediary mechanism simplifies communication while enabling diverse operations at higher speeds
2Reliability
If the host system continuously monitors the host memory buffer, then real-time status updates can be achieved, but system complexity increases
Solution Approach 1:
The system implements a feedback mechanism where the data storage device autonomously writes operation logs and status information back to the host memory buffer after executing command descriptors. The host system can then monitor these buffers to obtain real-time status updates without requiring complex active polling or interrupt handling, achieving reliable monitoring while maintaining system simplicity
Solution Approach 2:
The data storage device performs self-service by automatically writing operation logs and status information to the host memory buffer after executing commands. This eliminates the need for the device to continuously request status updates from the host, reducing communication overhead and system complexity while enabling real-time monitoring capability
Data Source
AI summary
Disclosed is a handshaking method applied to a data storage system including a host system and a data storage device. The handshaking method includes the following steps: applying for a host memory buffer from the host system by the data storage device; transmitting, by the host system, a command descriptor to the host memory buffer, so that the data storage device performs standalone behavior based on the command descriptor in the host memory buffer, and transmits an operation log corresponding to the standalone behavior to the host memory buffer; and continuously monitoring, by the host system, the host memory buffer until the data storage device completes the standalone behavior and transmits a response descriptor to the host memory buffer. Therefore, the host memory buffer is used as a communication interface between the host system and the data storage device, so that the data storage device can perform more diverse operations.


