Storage Device Permission Control for NVMe Conflict Prevention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing NVMe protocol lacks a mechanism to prevent conflicts when multiple management nodes simultaneously access a storage device, leading to exclusive operations and potential interruptions in serial operations.
Innovation Solution
A storage device operation control method that assigns operation permission to one management node at a time, determining permission status through a status table, and performs operations only when the requesting node has permission, thereby avoiding conflicts and ensuring continuous execution of serial commands.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If multiple management nodes simultaneously access the storage device through NVMe protocol, then the storage device can handle multiple operations in parallel, but operation conflicts and interruptions occur
Solution Approach 1:
The patent implements a permission application mechanism where management nodes must apply for operation permission before accessing the storage device. The processor checks the permission status in a status table before executing operations, ensuring that only authorized nodes can perform operations at any given time. This preliminary permission check prevents operation conflicts before they occur.
Solution Approach 2:
The patent introduces a status table as an intermediary data structure that records permission status and operation states. This status table acts as a mediator between multiple management nodes and the storage device, coordinating access permissions and preventing simultaneous conflicting operations by maintaining a centralized record of who has permission to operate.
2Reliability
If operation permission is assigned to one management node at a time, then operation conflicts are prevented, but the complexity of permission management increases
Solution Approach 1:
The patent segments the permission management into distinct components: a status table for recording permission states, a permission application interface for requesting access, and a processor for checking and managing permissions. This segmentation organizes the complexity into manageable, modular parts that can be independently maintained and updated.
Solution Approach 2:
The patent implements a feedback mechanism where the processor continuously checks the status table to determine current permission status before allowing operations. This feedback loop ensures that permission decisions are always based on the latest state information, maintaining system reliability while managing complexity through systematic state checking.
Data Source
AI summary
The present application relates to a storage device operation control method, a storage device, and a management node. The method includes: receiving at least one request sent by at least one management node; and when one of the at least one request is a permission application request, determining, according to a current permission status, whether to assign operation permission to a management node that sends the permission application request; or when one of the at least one request is an operation request, determining, according to a current permission status, whether a management node that sends the operation request has operation permission, and performing an operation according to the operation request when the management node that sends the operation request has the operation permission. This avoids a conflict caused by simultaneously performing an operation on a storage device by multiple management nodes, and prevents successive serial operations from being interrupted.


