Nonvolatile Storage Controller Key Identification and Collision Prevention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing nonvolatile storage devices face challenges in efficiently managing key-value pairs with variable-length keys, leading to collisions and increased complexity in data access and storage due to limited command field sizes and restrictions.
Innovation Solution
The implementation of a nonvolatile storage device that generates identification information for keys, compresses user keys to fit within command field limits, and uses a key ID management system to prevent collisions, allowing for efficient storage and retrieval of key-value pairs by managing compressed keys and their corresponding user keys.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If variable-length keys are stored directly in the command field, then key identification accuracy is improved, but the command field size limit is exceeded
Solution Approach 1:
The key is divided into two separate components: a key ID (stored in the command field) and the actual key data (stored in the value field). This segmentation allows the command field to contain only a fixed-size identifier while the full variable-length key can be retrieved from the value field, resolving the contradiction between needing accurate key identification and maintaining command field size limits.
Solution Approach 2:
A key ID acts as an intermediary between the command field and the actual key data. The key ID is a compact identifier that fits within the command field size limit, while serving as a reference to retrieve the full variable-length key from the value field. This intermediary mechanism enables efficient key handling without exceeding command field constraints.
2Length of stationary object
If compressed keys are used to fit command field limits, then device complexity increases due to compression and decompression operations
Solution Approach 1:
Instead of compressing the actual key data, the system creates a copy in the form of a key ID that serves as a reference. The key ID is a simplified representation that fits in the command field, while the original uncompressed key data is preserved in the value field. This copying approach avoids the complexity of compression algorithms while achieving the same space-saving effect.
3Reliability
If key ID management system is implemented to prevent collisions, then data access reliability is improved, but device complexity increases due to additional management structures
Solution Approach 1:
The key ID serves multiple functions simultaneously: it acts as a unique identifier to prevent collisions, a compact storage format to fit command field limits, and a retrieval key to access the full key data from the value field. This multi-functionality reduces the need for separate collision management structures, as the key ID system inherently handles identification and retrieval without requiring additional complexity.
Data Source
AI summary
According to one embodiment, there is provided a nonvolatile storage device including a storage medium and a controller. The storage medium is configured to store a key-value pair in which a key and a value form a pair. The controller is configured to generate identification information identifying the key and transmit the identification information to a host.


