CN109597577A - A kind of method, system and relevant apparatus handling NVME agreement read write command - Google Patents

A kind of method, system and relevant apparatus handling NVME agreement read write command Download PDF

Info

Publication number
CN109597577A
CN109597577A CN201811463456.6A CN201811463456A CN109597577A CN 109597577 A CN109597577 A CN 109597577A CN 201811463456 A CN201811463456 A CN 201811463456A CN 109597577 A CN109597577 A CN 109597577A
Authority
CN
China
Prior art keywords
target cpu
addresses
group
data block
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811463456.6A
Other languages
Chinese (zh)
Inventor
高静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811463456.6A priority Critical patent/CN109597577A/en
Publication of CN109597577A publication Critical patent/CN109597577A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application provides a kind of methods for handling NVME agreement read write command, comprising: the read write command sent to the host received parses, and obtains the corresponding address of data block of preset quantity in host;According to the quantity of target CPU in SSD, processing is grouped to the corresponding address of each data block, obtains group of addresses corresponding with the quantity of target CPU;According to the ID of each target CPU sequence, each group of addresses is successively sent to corresponding target CPU;The corresponding data block of each group of addresses is read and write into corresponding target CPU.As it can be seen that accelerating read or write speed the method achieve by multiple CPU of the data block concurrent reading and writing in host to SSD, improving work efficiency.The application also provides a kind of system, solid state hard disk and computer readable storage medium for handling NVME agreement read write command, all has above-mentioned beneficial effect.

Description

A kind of method, system and relevant apparatus handling NVME agreement read write command
Technical field
This application involves storage equipment technical field, in particular to a kind of method for handling NVME agreement read write command is System, solid state hard disk and computer readable storage medium.
Background technique
In field of storage, solid state hard disk often needs to carry out the read-write operation of data block.In the related technology, host will meet The read write command of NVME agreement is handed down to SSD and obtains each data block to be read and write after SSD parses read write command and respectively correspond Address, finally each data block is successively read and write in into SSD CPU according to address above mentioned.But it will be in host Data block is successively read and write in into SSD CPU, causes read or write speed slow, reduces working efficiency.
Therefore, how by multiple CPU of the data block concurrent reading and writing in host to SSD, accelerate read or write speed, improve work It is those skilled in the art's technical issues that need to address as efficiency.
Summary of the invention
The purpose of the application is to provide a kind of method, system, solid state hard disk and calculating for handling NVME agreement read write command Machine readable storage medium storing program for executing can accelerate in multiple CPU of the data block concurrent reading and writing in host to SSD read or write speed, improve Working efficiency.
In order to solve the above technical problems, the application provides a kind of method for handling NVME agreement read write command, comprising:
The read write command sent to the host received parses, and obtains the data block point of preset quantity in the host Not corresponding address;
According to the quantity of target CPU in SSD, processing is grouped to the corresponding address of each data block, obtain with The corresponding group of addresses of the quantity of the target CPU;
According to the ID of each target CPU sequence, each group of addresses is successively sent to corresponding target CPU;
The corresponding data block of each group of addresses is read and write into corresponding target CPU.
Preferably, the quantity according to target CPU in SSD is grouped the corresponding address of each data block Processing, obtains group of addresses corresponding with the quantity of the target CPU, comprising:
The corresponding address of each data block is ranked up, the corresponding integer serial number in each address is obtained;
Using the quantity of the target CPU, modulo operation is carried out to each integer serial number, is obtained each described The corresponding mould in address;
According to the value type of the mould, each address is grouped, obtains the number with the target CPU Measure corresponding group of addresses.
Preferably, the ID sequence according to each target CPU, each group of addresses is successively sent to corresponding Target CPU, comprising:
According to the ID of each target CPU sequence, successively establish between each target CPU and the group of addresses Mapping relations;
According to the mapping relations, each group of addresses is successively sent to corresponding target CPU.
It is preferably, described to read and write the corresponding data block of each group of addresses into corresponding target CPU, comprising:
Receive the response message that each target CPU is sent;
According to the response message, the corresponding data block of each group of addresses is read and write into corresponding target CPU.
The application also provides a kind of system for handling NVME agreement read write command, comprising:
Read write command parsing module, the read write command for sending to the host received parse, and obtain the master The corresponding address of the data block of preset quantity in machine;
Address packets module, for the quantity according to target CPU in SSD, to the corresponding address of each data block into Row packet transaction obtains group of addresses corresponding with the quantity of the target CPU;
Group of addresses sending module successively sends each group of addresses for the ID sequence according to each target CPU To corresponding target CPU;
Data block module for reading and writing, for reading and writing the corresponding data block of each group of addresses into corresponding target CPU.
Preferably, the address packets module, comprising:
Address sort unit obtains each address for being ranked up to the corresponding address of each data block Corresponding integer serial number;
Modulo operation unit carries out modulus to each integer serial number for the quantity using the target CPU Operation obtains the corresponding mould in each address;
Each address is grouped by address packets unit for the value type according to the mould, is obtained and institute State the corresponding group of addresses of the quantity of target CPU.
Preferably, the group of addresses sending module, comprising:
Mapping relations establish unit, for the ID sequence according to each target CPU, successively establish each target Mapping relations between CPU and the group of addresses;
Group of addresses transmission unit, for each group of addresses being successively sent to corresponding according to the mapping relations Target CPU.
Preferably, the data block module for reading and writing, comprising:
Response message receiving unit, the response message sent for receiving each target CPU;
Data block read-write cell will the corresponding data block read-write of each group of addresses for according to the response message To in corresponding target CPU.
The application also provides a kind of solid state hard disk, comprising:
Memory and processor;Wherein, the memory is for storing computer program, and the processor is for executing institute The step of method of processing NVME agreement read write command described above is realized when stating computer program.
The application also provides a kind of computer readable storage medium, and the computer-readable recording medium storage has computer Program, the computer program realize the step of the method for processing NVME agreement read write command described above when being executed by processor Suddenly.
The method of a kind of processing NVME agreement read write command provided herein, comprising: the host received is sent Read write command parsed, obtain the corresponding address of data block of preset quantity in the host;According to target in SSD The quantity of CPU is grouped processing to the corresponding address of each data block, obtains the quantity with the target CPU Corresponding group of addresses;According to the ID of each target CPU sequence, each group of addresses is successively sent to corresponding target CPU;The corresponding data block of each group of addresses is read and write into corresponding target CPU.
The read write command that this method before this sent host parses, and obtains the data block difference of preset quantity in host Corresponding address is grouped processing to the corresponding address of each data block then according to the quantity of target CPU in SSD, Group of addresses corresponding with the quantity of the target CPU is obtained, further according to the ID sequence of each target CPU, by each institute It states group of addresses and is successively sent to corresponding target CPU, finally read and write the corresponding data block of each group of addresses to corresponding In target CPU.As it can be seen that the corresponding address of each diagnostic data block is grouped by this method, it is concurrent to obtain multiple group of addresses It send to corresponding target CPU, and then realizes in multiple CPU of the data block concurrent reading and writing in host to SSD, accelerate reading Writing rate improves work efficiency.The application also provides a kind of system, solid state hard disk and meter for handling NVME agreement read write command Calculation machine readable storage medium storing program for executing, all has above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart for the method for handling NVME agreement read write command provided by the embodiment of the present application;
Fig. 2 is a kind of structural block diagram for the system for handling NVME agreement read write command provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide a kind of method for handling NVME agreement read write command, can be by the data block in host Concurrent reading and writing accelerates read or write speed into multiple CPU of SSD, improves working efficiency.Another core of the application is to provide one kind Handle system, solid state hard disk and the computer readable storage medium of NVME agreement read write command.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
In field of storage, solid state hard disk often needs to carry out the read-write operation of data block.In the related technology, host will meet The read write command of NVME agreement is handed down to SSD and obtains each data block to be read and write after SSD parses read write command and respectively correspond Address, finally each data block is successively read and write in into SSD CPU according to address above mentioned.But it will be in host Data block is successively read and write in into SSD CPU, causes read or write speed slow, reduces working efficiency.The embodiment of the present application energy It is enough to accelerate read or write speed in multiple CPU of the data block concurrent reading and writing in host to SSD, improve working efficiency.Please specifically it join Fig. 1 is examined, Fig. 1 is a kind of flow chart for the method for handling NVME agreement read write command, the processing provided by the embodiment of the present application The method of NVME agreement read write command specifically includes:
S101, the read write command sent to the host received parse, and obtain the data block of preset quantity in host Corresponding address;
Solid state hard disk is connected with host in the embodiment of the present application, can carry out the transmission of data.Firstly, to the master received The read write command that machine is sent is parsed, and the corresponding address of data block of preset quantity in host is obtained.The number of data block Amount be it is preset, how much specific value is not limited thereto, and should be made according to the actual situation by those skilled in the art corresponding Setting.Each data block corresponds to an address, which generally includes the physical address and logical address of data block.Here, The mode parsed to read write command is also not especially limited, but need to guarantee that the result of parsing is preset quantity in host The corresponding address of data block.
S102, according to the quantity of target CPU in SSD, processing is grouped to the corresponding address of each data block, obtain with The corresponding group of addresses of the quantity of target CPU;
The embodiment of the present application is in obtaining host behind the corresponding address of the data block of preset quantity, according to mesh in SSD The quantity for marking CPU, is grouped processing to the corresponding address of each data block, obtains address corresponding with the quantity of target CPU Group.Quantity of target CPU in SSD is not especially limited at this, should be made according to the actual situation by those skilled in the art Corresponding setting.By obtaining group of addresses corresponding with the quantity of target CPU above it is found that the quantity of group of addresses is with target CPU's There is mapping relations between quantity, and specially which kind of mapping relations is not limited thereto, should by those skilled in the art according to Actual conditions make corresponding setting, such as can be the corresponding group of addresses of a target CPU, can also be a target CPU Corresponding multiple group of addresses.Further, since the quantity of target CPU is not especially limited, therefore the quantity of group of addresses is herein not yet Make specific restriction, quantity of the quantity depending on target CPU of group of addresses and the mapping relations between the quantity of target CPU.Example Such as, if the corresponding group of addresses of a target CPU, the quantity of group of addresses and the quantity of target CPU are equal;If a target CPU corresponds to two group of addresses, then the quantity of group of addresses is twice of the quantity of target CPU.
Further, for the quantity according to target CPU in SSD, place is grouped to the corresponding address of each data block Reason, obtains the process of group of addresses corresponding with the quantity of target CPU, is not specifically limited herein, should be by those skilled in the art Corresponding setting is made according to the actual situation, which generally includes: the corresponding address of each data block being ranked up, is obtained The corresponding integer serial number in each address;Using the quantity of target CPU, modulo operation is carried out to each integer serial number, is obtained each The corresponding mould in address;According to the value type of mould, each address is grouped, is obtained correspondingly with the quantity of target CPU Location group.For example, it is assumed that the quantity of data block is 8, therefore the corresponding number of addresses of each data block is also 8, is carried out to 8 addresses Sequence obtains the corresponding integer serial number in each address and is respectively as follows: 1,2,3,4,5,6,7,8;Assuming that the quantity of target CPU is 3, it is right Above-mentioned integer serial number progress modulo operation obtains the corresponding mould in each address and is respectively as follows: 1,2,0,1,2,0,1,2;According to the number of mould 8 addresses can be divided into 3 group of addresses corresponding with the quantity of target CPU by Value Types (0,1,2), i.e. wrap in the first group of addresses It include the corresponding address of serial number 1,4,7 in the second group of addresses containing serial number 3,6 corresponding addresses, in third group of addresses Include the corresponding address of serial number 2,5,6.
S103, the ID sequence according to each target CPU, are successively sent to corresponding target CPU for each group of addresses;
For the embodiment of the present application after obtaining group of addresses corresponding with the quantity of target CPU, the ID according to each target CPU is suitable Each group of addresses is successively sent to corresponding target CPU by sequence.Each target CPU has respective ID number in solid state hard disk Code, each id number is ranked up according to preset sortord can obtain ID sequence.At this to the presentation of each id number Form and sortord are not especially limited, and corresponding setting, example should be made according to the actual situation by those skilled in the art If id number can be presented in the form of sequence number, can also be presented in the form of bar code, two dimensional code;Sortord can be by Sequence from big to small is ranked up, and can also be ranked up by sequence from small to large.
Further, for the ID sequence according to each target CPU, each group of addresses is successively sent to corresponding target The process of CPU, is also not especially limited herein, which generally includes: according to the ID of each target CPU sequence, successively establishing each Mapping relations between target CPU and group of addresses;According to mapping relations, each group of addresses is successively sent to corresponding target CPU.Wherein, it for the mapping relations between each target CPU and group of addresses, is not specifically limited herein, it should be by art technology Personnel make corresponding setting according to the actual situation.For example, if the quantity of target CPU is 3, it can be by 3 target CPU according to ID The sequence of number from small to large is ranked up, and then successively establishes one-to-one mapping relations with three above-mentioned group of addresses; 3 target CPU can also be ranked up according to the sequence of id number from big to small, then successively with three above-mentioned group of addresses Establish one-to-one mapping relations.
S104, the corresponding data block of each group of addresses is read and write into corresponding target CPU.
The embodiment of the present application is corresponding by each group of addresses after each group of addresses is successively sent to corresponding target CPU Data block read and write into corresponding target CPU.For reading and writing the corresponding data block of each group of addresses to corresponding target CPU In process, be not specifically limited herein, corresponding setting, the process should be made according to the actual situation by those skilled in the art It generally includes: receiving the response message that each target CPU is sent;Message according to response, by the corresponding data block of each group of addresses Read-write is into corresponding target CPU.
The read write command that the embodiment of the present application before this sent host parses, and obtains the data of preset quantity in host The corresponding address of block is grouped place to the corresponding address of each data block then according to the quantity of target CPU in SSD Reason, obtains group of addresses corresponding with the quantity of target CPU, and further according to the ID sequence of each target CPU, each group of addresses is successively sent out It send to corresponding target CPU, finally reads and writes the corresponding data block of each group of addresses into corresponding target CPU.As it can be seen that the party The corresponding address of each diagnostic data block is grouped by method, is obtained multiple group of addresses and is sent to corresponding target CPU, into And realizing in multiple CPU of the data block concurrent reading and writing in host to SSD, will accelerate read or write speed, improve work effect Rate.
Below to a kind of system, solid state hard disk and calculating for handling NVME agreement read write command provided by the embodiments of the present application Machine readable storage medium storing program for executing is introduced, system, solid state hard disk and the computer of processing NVME agreement read write command described below Readable storage medium storing program for executing can correspond to each other reference with the method for process described above NVME agreement read write command.
Referring to FIG. 2, Fig. 2 is a kind of knot for the system for handling NVME agreement read write command provided by the embodiment of the present application Structure block diagram;The system of processing NVME agreement read write command includes:
Read write command parsing module 201, the read write command for sending to the host received parse, and obtain host The corresponding address of the data block of middle preset quantity;
Address packets module 202 carries out the corresponding address of each data block for the quantity according to target CPU in SSD Packet transaction obtains group of addresses corresponding with the quantity of target CPU;
Each group of addresses is successively sent to pair for according to the ID of each target CPU sequence by group of addresses sending module 203 The target CPU answered;
Data block module for reading and writing 204, for reading and writing the corresponding data block of each group of addresses into corresponding target CPU.
Based on the above embodiment, address packets module 202 in the present embodiment, generally includes:
It is corresponding whole to obtain each address for being ranked up to the corresponding address of each data block for address sort unit Number sequence number;
Modulo operation unit carries out modulo operation to each integer serial number for the quantity using target CPU, obtains each The corresponding mould in a address;
Each address is grouped by address packets unit for the value type according to mould, is obtained with target CPU's The corresponding group of addresses of quantity.
Based on the above embodiment, group of addresses sending module 203 in the present embodiment, generally includes:
Mapping relations establish unit, for the ID sequence according to each target CPU, successively establish each target CPU and group of addresses Between mapping relations;
Group of addresses transmission unit, for according to mapping relations, each group of addresses to be successively sent to corresponding target CPU.
Based on the above embodiment, data block module for reading and writing 204 in the present embodiment, generally includes:
Response message receiving unit, the response message sent for receiving each target CPU;
Data block read-write cell reads and writes the corresponding data block of each group of addresses to corresponding for message according to response In target CPU.
The application also provides a kind of solid state hard disk, comprising:
Memory and processor;Wherein, memory is for storing computer program, and processor is for executing computer program The step of method of the processing NVME agreement read write command of the above-mentioned any embodiment of Shi Shixian.
The application also provides a kind of computer readable storage medium, and computer-readable recording medium storage has computer journey Sequence realizes the step of the method for the processing NVME agreement read write command of above-mentioned any embodiment when computer program is executed by processor Suddenly.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For embodiment provide system and Speech, since it is corresponding with the method that embodiment provides, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to method, system, solid state hard disk and the meter of a kind of processing NVME agreement read write command provided herein Calculation machine readable storage medium storing program for executing is described in detail.Specific case used herein to the principle and embodiment of the application into Elaboration is gone, the description of the example is only used to help understand the method for the present application and its core ideas.It should be pointed out that pair For those skilled in the art, under the premise of not departing from the application principle, the application can also be carried out Some improvements and modifications, these improvement and modification are also fallen into the protection scope of the claim of this application.

Claims (10)

1. a kind of method for handling NVME agreement read write command characterized by comprising
The read write command sent to the host received parses, and the data block for obtaining preset quantity in the host is right respectively The address answered;
According to the quantity of target CPU in SSD, processing is grouped to the corresponding address of each data block, obtain with it is described The corresponding group of addresses of the quantity of target CPU;
According to the ID of each target CPU sequence, each group of addresses is successively sent to corresponding target CPU;
The corresponding data block of each group of addresses is read and write into corresponding target CPU.
2. the method according to claim 1, wherein the quantity according to target CPU in SSD, to each institute It states the corresponding address of data block and is grouped processing, obtain group of addresses corresponding with the quantity of the target CPU, comprising:
The corresponding address of each data block is ranked up, the corresponding integer serial number in each address is obtained;
Using the quantity of the target CPU, modulo operation is carried out to each integer serial number, obtains each address Corresponding mould;
According to the value type of the mould, each address is grouped, obtains the quantity pair with the target CPU The group of addresses answered.
3., will be each the method according to claim 1, wherein the ID sequence according to each target CPU The group of addresses is successively sent to corresponding target CPU, comprising:
According to the ID of each target CPU sequence, the mapping between each target CPU and the group of addresses is successively established Relationship;
According to the mapping relations, each group of addresses is successively sent to corresponding target CPU.
4. the method according to claim 1, wherein described read and write the corresponding data block of each group of addresses To in corresponding target CPU, comprising:
Receive the response message that each target CPU is sent;
According to the response message, the corresponding data block of each group of addresses is read and write into corresponding target CPU.
5. a kind of system for handling NVME agreement read write command characterized by comprising
Read write command parsing module, the read write command for sending to the host received are parsed, are obtained in the host The corresponding address of the data block of preset quantity;
Address packets module divides the corresponding address of each data block for the quantity according to target CPU in SSD Group processing, obtains group of addresses corresponding with the quantity of the target CPU;
Each group of addresses is successively sent to pair for according to the ID of each target CPU sequence by group of addresses sending module The target CPU answered;
Data block module for reading and writing, for reading and writing the corresponding data block of each group of addresses into corresponding target CPU.
6. system according to claim 5, which is characterized in that the address packets module, comprising:
It is corresponding to obtain each address for being ranked up to the corresponding address of each data block for address sort unit Integer serial number;
Modulo operation unit carries out modulus fortune to each integer serial number for the quantity using the target CPU It calculates, obtains the corresponding mould in each address;
Each address is grouped by address packets unit for the value type according to the mould, is obtained and the mesh Mark the corresponding group of addresses of the quantity of CPU.
7. system according to claim 5, which is characterized in that the group of addresses sending module, comprising:
Mapping relations establish unit, for the ID sequence according to each target CPU, successively establish each target CPU With the mapping relations between the group of addresses;
Group of addresses transmission unit, for according to the mapping relations, each group of addresses to be successively sent to corresponding target CPU。
8. system according to claim 5, which is characterized in that the data block module for reading and writing, comprising:
Response message receiving unit, the response message sent for receiving each target CPU;
Data block read-write cell is read and write the corresponding data block of each group of addresses to right for according to the response message In the target CPU answered.
9. a kind of solid state hard disk characterized by comprising
Memory and processor;Wherein, the memory is for storing computer program, the processor by execute it is described based on The step of method such as the described in any item processing NVME agreement read write commands of Claims 1-4 is realized when calculation machine program.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence is realized when the computer program is executed by processor such as the described in any item processing NVME agreement read-writes of Claims 1-4 The step of method of order.
CN201811463456.6A 2018-12-03 2018-12-03 A kind of method, system and relevant apparatus handling NVME agreement read write command Pending CN109597577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811463456.6A CN109597577A (en) 2018-12-03 2018-12-03 A kind of method, system and relevant apparatus handling NVME agreement read write command

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811463456.6A CN109597577A (en) 2018-12-03 2018-12-03 A kind of method, system and relevant apparatus handling NVME agreement read write command

Publications (1)

Publication Number Publication Date
CN109597577A true CN109597577A (en) 2019-04-09

Family

ID=65960571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811463456.6A Pending CN109597577A (en) 2018-12-03 2018-12-03 A kind of method, system and relevant apparatus handling NVME agreement read write command

Country Status (1)

Country Link
CN (1) CN109597577A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058819A (en) * 2019-04-19 2019-07-26 深圳忆联信息系统有限公司 Host Command treating method and apparatus based on variable cache administrative mechanism
CN111831226A (en) * 2020-07-07 2020-10-27 山东华芯半导体有限公司 Method for accelerating processing of autonomously output NVME protocol command

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102458A (en) * 2014-06-27 2014-10-15 北京兆易创新科技股份有限公司 Multi-core CPU (Central Processing Unit) load balancing method, multi-core CPU and solid state disk
CN106708745A (en) * 2016-12-05 2017-05-24 郑州云海信息技术有限公司 24-tub NVME dynamic allocation structure and method
CN107291392A (en) * 2017-06-21 2017-10-24 郑州云海信息技术有限公司 A kind of solid state hard disc and its reading/writing method
CN107957970A (en) * 2017-10-23 2018-04-24 记忆科技(深圳)有限公司 The means of communication and solid-state hard disk controller of a kind of heterogeneous polynuclear
CN108345506A (en) * 2018-03-31 2018-07-31 北京联想核芯科技有限公司 A kind of SSD hard disks under multiple CPU
CN108762674A (en) * 2018-05-24 2018-11-06 深圳忆联信息系统有限公司 Promote the method and device of SSD operating lags
US20180341579A1 (en) * 2017-05-26 2018-11-29 Shannon Systems Ltd. Methods for controlling ssd (solid state disk) and apparatuses using the same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102458A (en) * 2014-06-27 2014-10-15 北京兆易创新科技股份有限公司 Multi-core CPU (Central Processing Unit) load balancing method, multi-core CPU and solid state disk
CN106708745A (en) * 2016-12-05 2017-05-24 郑州云海信息技术有限公司 24-tub NVME dynamic allocation structure and method
US20180341579A1 (en) * 2017-05-26 2018-11-29 Shannon Systems Ltd. Methods for controlling ssd (solid state disk) and apparatuses using the same
CN107291392A (en) * 2017-06-21 2017-10-24 郑州云海信息技术有限公司 A kind of solid state hard disc and its reading/writing method
CN107957970A (en) * 2017-10-23 2018-04-24 记忆科技(深圳)有限公司 The means of communication and solid-state hard disk controller of a kind of heterogeneous polynuclear
CN108345506A (en) * 2018-03-31 2018-07-31 北京联想核芯科技有限公司 A kind of SSD hard disks under multiple CPU
CN108762674A (en) * 2018-05-24 2018-11-06 深圳忆联信息系统有限公司 Promote the method and device of SSD operating lags

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058819A (en) * 2019-04-19 2019-07-26 深圳忆联信息系统有限公司 Host Command treating method and apparatus based on variable cache administrative mechanism
CN111831226A (en) * 2020-07-07 2020-10-27 山东华芯半导体有限公司 Method for accelerating processing of autonomously output NVME protocol command
CN111831226B (en) * 2020-07-07 2023-09-29 山东华芯半导体有限公司 Autonomous output NVME protocol command acceleration processing method

Similar Documents

Publication Publication Date Title
US9274967B2 (en) FIFO cache simulation using a bloom filter ring
CN106325758B (en) A kind of queue storage space management method and device
CN109308280A (en) Data processing method and relevant device
US11010056B2 (en) Data operating method, device, and system
CN105393228B (en) Read and write the method, apparatus and user equipment of data in flash memory
US11822811B2 (en) Method, electronic device and computer program product for processing data
CN103888377A (en) Message cache method and device
EP4141641A2 (en) Method and apparatus for writing data in append mode, device and storage medium
CN109471843A (en) A kind of metadata cache method, system and relevant apparatus
CN103778120B (en) Global profile mark generating method, generating means and corresponding distributed file system
CN110083379A (en) A kind of server component upgrade method and relevant apparatus
CN109597577A (en) A kind of method, system and relevant apparatus handling NVME agreement read write command
CN108733324A (en) A kind of data read-write method of solid state disk, device, equipment and storage medium
CN110413413A (en) A kind of method for writing data, device, equipment and storage medium
CN109446147A (en) A kind of data interactive method of network storage equipment and pcie equipment
CN106254270A (en) A kind of queue management method and device
CN105260332A (en) Method and system for orderly storing CPLD data packets
CN110955545B (en) Data integrity verification method, system and related equipment
CN104270287A (en) Message disorder detecting method and device
CN109857553A (en) EMS memory management process and device
CN103827837A (en) Method, device and system for accessing solid state disk space
CN111126619B (en) Machine learning method and device
CN105867848B (en) A kind of information processing method and hard disk mould group
CN108319428A (en) A kind of method and device of digital independent
WO2022166265A1 (en) Data recovery method and apparatus, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409