Supercharge Your Innovation With Domain-Expert AI Agents!

Hard disk operation command execution method, hard disk and storage medium

A technology of operating commands and execution methods, which is applied in the field of communication, and can solve the problems of increasing the I/O read command delay of the client and reducing the communication efficiency of the client.

Active Publication Date: 2019-04-05
HUAWEI TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If before saving the I / O read command, multiple other operation commands have been saved in the waiting processing queue corresponding to the flash memory particle, the controller must process the other operation commands before executing the I / O read command, thereby increasing the The delay of the I / O read command at the end reduces the communication efficiency of the client

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
  • Hard disk operation command execution method, hard disk and storage medium
  • Hard disk operation command execution method, hard disk and storage medium
  • Hard disk operation command execution method, hard disk and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0051] The embodiment of the present invention is applicable to a scenario where an operation instruction is executed in a hard disk, and the embodiment of the present invention is described by taking the execution of an operation instruction in a solid state disk as an example. Such as figure 1 As shown, it is a schematic diagram of a network architecture applicable to the embodiment of the present invention. Such as figure 1 As shown, a host (client) 11 and a solid state disk 12 are included, and the host 11 and the solid state disk 12 are connected.

[0052] The solid state disk 12 is used to execute the operation commands sent by the host 11 .

[0053] For example, when the host 11 needs to write data to the solid-state hard disk 12 or read data stored in the solid-stat...

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

The embodiment of the invention discloses a hard disk operation command execution method, a hard disk and a storage medium. The method is applied to the hard disk, The system comprises a controller and at least two flash memory particle groups, wherein each flash memory particle group comprises at least one flash memory particle, each flash memory particle comprises a plurality of physical blocks,any flash memory particle in each flash memory particle group forms an LUN, the flash memory particles in different LUNs in the same flash memory particle group are different, and the method comprises the following steps: after an operation command is received, confirming a target LUN in an idle state; Confirming a target physical block accessed when the operation command is to be executed from the target LUN; Storing the operation command into a to-be-processed queue corresponding to the flash memory particles to which the target physical block belongs; And when the number of the operation commands to be processed in the waiting processing queue corresponding to each flash memory particle in the target LUN is greater than a preset threshold value, modifying the working state of the target LUN into a non-idle state. And the time delay of the I / O reading command can be reduced.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method for executing a hard disk operation command, a hard disk and a storage medium. Background technique [0002] A solid-state disk (Solid-State Disk, SSD) includes a controller and a flash memory array, and the flash memory array includes a plurality of flash memory particles. Each flash memory particle is composed of thousands of physical blocks of the same size. The size of the physical block is generally between hundreds of KB and several MB. Inside each physical block, it is divided into several pages of the same size. The page size is generally 4KB or 8KB. Before writing data, the controller clears the data in the physical block at the granularity of the physical block. When writing data, the controller writes data to the flash memory array at the granularity of pages. In the storage field, the two actions of data clearing and data writing are collectively ca...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0611G06F3/0659G06F3/0688G06F12/02G06F3/061G06F3/064G06F3/0679
Inventor 褚小伟赵献明陈昊
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More