Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2020-04-07
BEIJING STARBLAZE TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the NVMe protocol does not specify how the terminal device handles the commands stipulated by the NVMe protocol.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A kind of nvme protocol command processing method, device and system
  • A kind of nvme protocol command processing method, device and system
  • A kind of nvme protocol command processing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Disclosed are an NVMe protocol command processing method, device and system. The disclosed embodiments provide a method, device, and system for processing NVMe protocol commands in a terminal device. In the process of processing NVMe protocol commands, an NVMe protocol command corresponds to a command ID, and a command ID corresponds to a cache area. The first controller sends instructions required for processing NVMe protocol commands to the second controller through the first queue and the third queue, and the second controller sends instructions required for processing NVMe protocol commands through the second queue and the fourth queue. The instruction is sent to the first controller, and the first controller and the second controller obtain the information required to process the NVMe protocol command from the cache area corresponding to the command ID according to the command ID, thereby realizing the processing of the NVMe protocol in the terminal device Order.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to an NVMe protocol command processing method, device and system. Background technique [0002] Data exchange between host and terminal device based on queue, such as Figure 10 shown. The host creates a submission queue and a completion queue, and the host fills the submission queue with commands required for data exchange. The terminal device obtains the command from the submission queue, processes the content of the command, and fills the processing result of the command into the completion queue. The host obtains the processing result of the command from the completion queue, and the processing of the command is completed. [0003] At present, when data exchange is realized between the host and the terminal device according to the above process, the high-speed non-volatile memory (Non-Volatile Memory Express, NVMe) protocol stipulates the commands that t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/42
CPCG06F3/0655G06F13/1642G06F13/1668
Inventor 汤峰
Owner BEIJING STARBLAZE TECH CO LTD