A kind of nvme protocol command processing method, device and system
A protocol command and command processing technology, which is applied in the field of information processing and can solve problems such as unspecified terminal equipment how to process commands.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0181] figure 1 A schematic structural diagram of a terminal device for processing NVMe protocol commands provided by an embodiment of the present invention, figure 1 The middle terminal device includes a first controller 101 and a second controller 102, and the first controller 101 and the second controller 102 exchange commands through a first queue, a second queue, a third queue and a fourth queue. The first controller 101 and the second controller 102 access the memory 103 according to the command ID. There is a cache area corresponding to the command ID in the memory 103. One NVMe protocol command corresponds to one command ID, that is, one NVMe protocol command exclusively occupies a cache area, the first controller 101 and the second controller 102 acquire information required for processing the NVMe protocol command from the cache area corresponding to the command ID.
[0182] Multiple cache areas are provided in the memory 103, and each cache area is indicated by a...
Embodiment 2
[0220] image 3 It is a flow chart of the NVMe protocol command processing method provided by another embodiment of the present invention. exist image 3 In an embodiment, the end device processes multiple NVMe commands simultaneously.
[0221] 301: The first controller receives multiple NVMe protocol commands from the host, and stores each NVMe protocol command in a cache area corresponding to the command ID.
[0222] 302: The first controller generates an NVMe command processing request for each NVMe protocol command in response to the received multiple NVMe protocol commands, and fills the NVMe command processing requests corresponding to the multiple NVMe protocol commands into the first queue, Each NVMe command processing request includes a command ID corresponding to the NVMe command corresponding to the NVMe command processing request.
[0223] The first controller receives a plurality of NVMe protocol commands from the host, and stores the NVMe protocol command in a...
Embodiment 3
[0250] Figure 5 Another flowchart of the NVMe protocol command processing method provided by the embodiment of the present invention.
[0251] 501: The first controller receives an NVMe protocol command from a host, and stores the NVMe protocol command in a cache area corresponding to a command identifier ID.
[0252] 502: The first controller generates an NVMe command processing request to fill in the first queue in response to the NVMe protocol command, where the NVMe command processing request includes the command ID.
[0253] 503: The first controller acquires a data transmission request from the second queue in response, the data transmission request includes a command ID, and acquires data transmission information according to the command ID, and the data transmission request and the data transmission information are the Generated by the second controller processing the NVMe protocol command, the data transmission request is filled into the second queue by the second c...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


