CN110209355A - Full firmware read-write operation optimization method and device based on solid state hard disk - Google Patents
Full firmware read-write operation optimization method and device based on solid state hard disk Download PDFInfo
- Publication number
- CN110209355A CN110209355A CN201910451457.7A CN201910451457A CN110209355A CN 110209355 A CN110209355 A CN 110209355A CN 201910451457 A CN201910451457 A CN 201910451457A CN 110209355 A CN110209355 A CN 110209355A
- Authority
- CN
- China
- Prior art keywords
- data
- computer end
- full
- write
- read
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
- G06F12/0615—Address space extension
- G06F12/063—Address space extension for I/O modules, e.g. memory mapped I/O
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0659—Command handling arrangements, e.g. command buffers, queues, command scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
Abstract
This application involves a kind of full firmware read-write operation optimization method, device, computer equipment and storage medium based on solid state hard disk, wherein this method comprises: obtaining computer end issues write order request;It requests for data to be transported in DDR from computer end according to the write order;Whether the data that computer end write-in is judged after the data, which are all carried, to be completed are complete 1 or full 0;If the data of the computer end write-in are complete 1 or full 0, mark the corresponding address of data of the computer end write-in and update corresponding logical physical address mapping table;The logical physical address mapping table is linked to front end, and returns to write order to computer end and completes information.The present invention realizes the optimization to existing hardware read-write process, the time in data write-in NAND is not only reduced, meanwhile, increase target data logical physical address linking mechanism, the time for reducing subsequent read operation identification target data, to improve SSD readwrite performance.
Description
Technical field
The present invention relates to solid state hard disk technical fields, more particularly to a kind of full firmware read-write operation based on solid state hard disk
Optimization method, device, computer equipment and storage medium.
Background technique
Currently, popularizing with SSD (solid state hard disk), people are also higher and higher to SSD performance requirement.Wherein, the property of SSD
Two aspects of its reading performance and write performance can be mainly reflected in.
In the conventional technology, total system SSD function of hardware acceleration will do it special processing for read-write full 0/1 situation,
When computer end writes the data, this group of data can be marked in firmware.For computer end in reading group data, SSD can be in rear end
It identifies this group of data, is directly automatically replied data to computer end by hardware.Obviously, the function of hardware acceleration in traditional technology
There is also apparent defects, in terms of being mainly reflected in following two:
1, it in reading process, does not need to obtain data from NAND, therefore, in write operation, writes data into NAND
In, belong to extra movement, limits its write performance.
2, in reading process, mapping table is inquired in rear end, it is hardware-accelerated just to can determine that whether target data is able to carry out, because
This entire process of reading limits its reading performance in the very waste motion of front end.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide it is a kind of promoted the full firmware readwrite performance of SSD based on solid-state
Full firmware read-write operation optimization method, device, computer equipment and the storage medium of hard disk.
A kind of full firmware read-write operation optimization method based on solid state hard disk, which comprises
It obtains computer end and issues write order request;
It requests for data to be transported in DDR from computer end according to the write order;
Whether the data that computer end write-in is judged after the data, which are all carried, to be completed are complete 1 or full 0;
If the data of the computer end write-in are complete 1 or full 0, the data of the computer end write-in are marked correspondingly
Location simultaneously updates corresponding logical physical address mapping table;
The logical physical address mapping table is linked to front end, and returns to write order to computer end and completes information.
In one of the embodiments, the method also includes:
It obtains computer end and issues read command request;
It whether is complete 1 or full 0 according to the data that read command request judges that computer end is read;
If the data that the computer end is read are complete 1 or full 0, update logical physical address mapping table and pass through hardware
Directly target data is filled in;
It fills in and returns to read command completion information to computer end after completing.
In one of the embodiments, in the number for judging computer end write-in after the data are all carried and completed
According to whether be complete 1 or full 0 the step of after further include:
If the data of the computer end write-in are not complete 1 or full 0, corresponding logical physical address mapping table is updated;
Data in DDR are written in NAND, and returns to write order to computer end and completes information.
In one of the embodiments, it is described according to the read command request judge computer end reading data whether be
Complete 1 or the step of full 0 after further include:
If the data that the computer end is read are not complete 1 or full 0, determined by query logic physical address mapping table
The position of corresponding data;
The corresponding data is transported in DDR from NAND, and updates logical physical address mapping table;
Data in DDR are directly transported to computer end, and returns to read command to computer end and completes information.
A kind of full firmware read-write operation optimization device based on solid state hard disk, described device include:
First obtains module, and the first acquisition module issues write order request for obtaining computer end;
Transfer module, the transfer module are used to request for data to be transported in DDR from computer end according to the write order;
First judgment module, the first judgment module are used to judge computer end after the data are all carried and completed
Whether the data of write-in are complete 1 or full 0;
First execution module, if first execution module for the computer end write-in data be complete 1 or full 0,
It then marks the corresponding address of data of the computer end write-in and updates corresponding logical physical address mapping table;
First return module, first return module are used to the logical physical address mapping table being linked to front end,
And write order is returned to computer end and completes information.
Described device in one of the embodiments, further include:
Second obtains module, and the second acquisition module issues read command request for obtaining computer end;
Second judgment module, second judgment module are used to judge the number that computer end is read according to read command request
According to whether being complete 1 or full 0;
Second execution module, if second execution module for the computer end read data be complete 1 or full 0,
It then updates logical physical address mapping table and directly target data is filled in by hardware;
Second return module, second return module are completed to believe after being used to fill in completion to computer end return read command
Breath.
First execution module is also used in one of the embodiments:
If the data of the computer end write-in are not complete 1 or full 0, corresponding logical physical address mapping table is updated;
First return module is also used to for the data in DDR being written in NAND, and returns to write order to computer end
Complete information.
Second execution module is also used in one of the embodiments:
If the data that the computer end is read are not complete 1 or full 0, determined by query logic physical address mapping table
The position of corresponding data;The corresponding data is transported in DDR from NAND, and updates logical physical address mapping table;
Second return module is also used to for the data in DDR being directly transported to computer end, and returns and read to computer end
Information is completed in order.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage
The step of computer program, the processor realizes above-mentioned any one method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of above-mentioned any one method is realized when row.
Above-mentioned full firmware read-write operation optimization method, device, computer equipment and storage medium based on solid state hard disk leads to
It crosses acquisition computer end and issues write order request;It requests for data to be transported in DDR from computer end according to the write order;When described
Data all carry complete to judge later whether the data of computer end write-in are complete 1 or full 0;If the number of the computer end write-in
According to the corresponding address of data for for complete 1 or full 0, then marking the computer end write-in and updates corresponding logical physical address and reflect
Firing table;The logical physical address mapping table is linked to front end, and returns to write order to computer end and completes information.The present invention is real
Show the optimization to existing hardware read-write process, not only reduces the time in data write-in NAND, meanwhile, increase target data
Logical physical address linking mechanism, reduces the time of subsequent read operation identification target data, to improve SSD read-write property
Energy.
Detailed description of the invention
Fig. 1 is the flow diagram that SSD total system firmware writes process in traditional technology;
Fig. 2 is the flow diagram that SSD total system firmware reads process in traditional technology;
Fig. 3 is the flow diagram of the full firmware read-write operation optimization method based on solid state hard disk in one embodiment;
Fig. 4 is the flow diagram of the full firmware read-write operation optimization method based on solid state hard disk in another embodiment;
Fig. 5 is the flow diagram of the full firmware read-write operation optimization method based on solid state hard disk in further embodiment;
Fig. 6 is the flow diagram of the full firmware read-write operation optimization method based on solid state hard disk in another embodiment;
Fig. 7 writes the flow diagram of process for the SSD total system firmware after optimization in one embodiment;
Fig. 8 is the flow diagram of the SSD total system firmware reading process after optimizing in one embodiment;
Fig. 9 is the structural block diagram of the full firmware read-write operation optimization device in one embodiment based on solid state hard disk;
Figure 10 is the structural block diagram of the full firmware read-write operation optimization device in another embodiment based on solid state hard disk;
Figure 11 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.
Total system SSD function of hardware acceleration will do it special processing, in computer end for read-write full 0/1 situation at present
When writing the data, this group of data can be marked in firmware, and process is as shown in Figure 1.Computer end is in reading group data, SSD
This group of data can be identified in rear end, directly automatically replied data to computer end by hardware, process is as shown in Figure 2.
Function of hardware acceleration is mainly reflected in following two there is also apparent defect it can be seen from Fig. 1 and Fig. 2
Aspect:
1, it in reading process, does not need to obtain data from NAND, therefore, in write operation, writes data into NAND
In, belong to extra movement, limits its write performance.
2, in reading process, mapping table is inquired in rear end, it is hardware-accelerated just to can determine that whether target data is able to carry out, because
This entire process of reading limits its reading performance in the very waste motion of front end.
Illustrate the contents of the present invention in order to clearer, the english abbreviation in the present patent application is explained as follows:
DDR: Double Data Rate synchronous DRAM.
A kind of NAND: flash memory storage medium.
Based on this, the present invention provides a kind of full firmware read-write operation optimization method based on solid state hard disk, by excellent
Change SSD and read and write process, write operation is optimized to full 0/1 data hardware-accelerated kinetic energy is write, by the logical physical of target data
Location carries out being linked to front end, when reading data, directly can determine data type in front end, optimizes it and reads process;Meanwhile
Target data does not need to obtain from NAND, therefore, for write operation, reduces movement extra in data write-in NAND, thus
Improve the performance of SSD.
In one embodiment, as shown in figure 3, providing a kind of full firmware read-write operation optimization side based on solid state hard disk
Method, this method comprises:
Step 302, it obtains computer end and issues write order request;
Step 304, it requests for data to be transported in DDR from computer end according to write order;
Step 306, whether the data that computer end write-in is judged after data, which are all carried, to be completed are complete 1 or full 0;
Step 308, if the data of computer end write-in are complete 1 or full 0, the data for marking computer end to be written are correspondingly
Location simultaneously updates corresponding logical physical address mapping table;
Step 310, logical physical address mapping table is linked to front end, and returns to write order to computer end and completes information.
In the present embodiment, write order request is issued by obtaining computer end;According to write order request by data from computer
End is transported in DDR;Whether the data that computer end write-in is judged after data, which are all carried, to be completed are complete 1 or full 0;If electric
The data of brain end write-in are complete 1 or full 0, then the corresponding address of data for marking computer end to be written simultaneously updates corresponding logic object
Manage address mapping table;Logical physical address mapping table is linked to front end, and returns to write order to computer end and completes information.This reality
Applying example realizes the optimization that process is read and write to existing hardware, not only reduces the time in data write-in NAND, meanwhile, increase mesh
Mathematical logic physical address linking mechanism is marked, the time of subsequent read operation identification target data is reduced, to improve SSD reading
Write performance.
In one embodiment, as shown in figure 4, providing a kind of full firmware read-write operation optimization side based on solid state hard disk
Method, this method further include:
Step 402, it obtains computer end and issues read command request;
It step 404, whether is complete 1 or full 0 according to the data that read command request judges that computer end is read;
Step 406, it if the data that computer end is read are complete 1 or full 0, updates logical physical address mapping table and passes through
Hardware directly fills in target data;
Step 408, it fills in and returns to read command completion information to computer end after completing.
In the present embodiment, it is further realized on the basis of process is write in optimization and reading process is optimized.Pass through
Target data recognition mechanism identifies target data, and carry out corresponding operation in reading process.If for example, by computer out
The data that end is read are complete 1 or full 0, then update logical physical address mapping table and directly carried out to target data by hardware
It fills in, can realize by efficiently identifying target data and improve read operation efficiency.
In one embodiment, as shown in figure 5, providing a kind of full firmware read-write operation optimization side based on solid state hard disk
Method, this method when data all carry complete after judge computer end be written data whether be complete 1 or full 0 the step of it
Afterwards further include:
Step 502, if the data of computer end write-in are not complete 1 or full 0, corresponding logical physical address of cache is updated
Table;
Step 504, the data in DDR are written in NAND, and return to write order to computer end and completes information.
Specifically, the present embodiment is built upon on existing hardware-accelerated read-write process base, i.e. Fig. 1 and Fig. 2 process
On the basis of, the data of full 0/1 are issued for computer end, and read-write process is optimized.For in the write operation process of Fig. 1,
Increase logical physical address mapping table linking mechanism, target data mapping table is linked to front end, meanwhile, it reduces target data and writes
Enter the movement in NAND, write process after optimization as shown in fig. 7, specifically including:
1. computer end issues write order, process 2 is executed in next step.
2. data from the DDR that computer end is transported to SSD, are executed process 3 by hardware in next step.
3. judging whether hardware is all transported to data in the DDR of SSD, if it is not, then executing process 2, otherwise, execute
Process 4.
4. obtaining the information of order, process 5 is executed in next step.
5. judging that whether full 0/1 if it is full 0/1 then executes process 9 for the data of computer end write-in, otherwise, executes process
6。
6. updating logical physical address mapping table, process 7 is executed in next step.
7. the data in DDR are written in NAND, process 8 is executed in next step.
8. commands in return completes information to computer end.
9. marking the address, process 10 is executed in next step.
10. more new logical addresses mapping table executes process 11 in next step.
11. the address is linked to front end, process 8 is executed in next step.
In the present embodiment, it optimizes existing SSD total system firmware and writes process, increase target data address linking mechanism,
Process is write in optimization simultaneously, reduces and acts in data write-in NAND, saves data and the NAND time is written, improve write operation efficiency.
In one embodiment, as shown in fig. 6, providing a kind of full firmware read-write operation optimization side based on solid state hard disk
Method, this method are also wrapped after the step of whether data for judging that computer end is read according to read command request are complete 1 or full 0
It includes:
Step 602, if the data that computer end is read are not complete 1 or full 0, pass through query logic physical address mapping table
Determine the position of corresponding data;
Step 604, corresponding data is transported in DDR from NAND, and updates logical physical address mapping table;
Step 606, the data in DDR are directly transported to computer end, and return to read command to computer end and completes information.
Specifically, the present embodiment increases front end and increases identification number of targets for process is read on the basis of writing process optimization
According to module, target data can be efficiently identified, process is read after optimization as shown in figure 8, specifically including:
1. computer end issues read command, process 2 is executed in next step.
2.SSD obtains command information, executes process 3 in next step.
3. judge computer end read whether full 0/1, if it is not, then execute process 4, otherwise, execute process 9.
4. query logic physical address mapping table determines the position of data, executes process 5 in next step.
5. data are transported in DDR from NAND, process 6 is executed in next step.
6. more new logical addresses mapping table executes process 7 in next step.
7. directly moving the data in DDR to computer end, process 8 is executed in next step.
8. commands in return completes information to computer end.
9. updating logical physical address mapping table, process 10 is executed in next step.
10. hardware directly fills in target data, process 8 is executed in next step.
In the present embodiment, it optimizes existing SSD total system firmware and reads process, in front end recognition to target data, improve
Read operation efficiency, to promote the performance of SSD total system firmware.
It should be understood that although each step in the flow chart of Fig. 3-8 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 3-8
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 9, providing a kind of full firmware read-write operation optimization dress based on solid state hard disk
Set 900, comprising:
First obtains module 901, issues write order request for obtaining computer end;
Transfer module 902, for requesting for data to be transported in DDR from computer end according to write order;
First judgment module 903, for when data all carry complete after judge computer end be written data whether be
Complete 1 or full 0;
First execution module 904 marks computer end to be written if the data for computer end write-in are complete 1 or full 0
The corresponding address of data simultaneously updates corresponding logical physical address mapping table;
First return module 905 for logical physical address mapping table to be linked to front end, and writes life to computer end return
It enables and completes information.
In one embodiment, as shown in Figure 10, a kind of full firmware read-write operation optimization based on solid state hard disk is provided
Device 900, the device further include:
Second obtains module 906, issues read command request for obtaining computer end;
Second judgment module 907, for according to the read command request judge computer end reading data whether be complete 1 or
Person's full 0;
Second execution module 908 updates logical physical address if the data for computer end to be read are complete 1 or full 0
Mapping table simultaneously directly fills in target data by hardware;
Second return module 909, for fill in complete after to computer end return read command complete information.
In one embodiment, the first execution module 904 is also used to: if the data of computer end write-in are not complete 1 or complete
0, then update corresponding logical physical address mapping table;
First return module 905 is also used to for the data in DDR being written in NAND, and complete to computer end return write order
At information.
In one embodiment, the second execution module 908 is also used to: if the data that computer end is read are not complete 1 or complete
0, then the position of corresponding data is determined by query logic physical address mapping table;Corresponding data is transported in DDR from NAND,
And update logical physical address mapping table;
Second return module 909 is also used to for the data in DDR being directly transported to computer end, and returns to computer end and read life
It enables and completes information.
About based on solid state hard disk full firmware read-write operation optimization device it is specific limit may refer to above for
The restriction of full firmware read-write operation optimization method based on solid state hard disk, details are not described herein.
In one embodiment, a kind of computer equipment is provided, internal structure chart can be as shown in figure 11.The calculating
Machine equipment includes processor, memory and the network interface connected by system bus.Wherein, the processing of the computer equipment
Device is for providing calculating and control ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage.It should
Non-volatile memory medium is stored with operating system, computer program and database.The built-in storage is non-volatile memories Jie
The operation of operating system and computer program in matter provides environment.The network interface of the computer equipment is used for and external end
End passes through network connection communication.To realize that a kind of full firmware based on solid state hard disk is read when the computer program is executed by processor
Write operation optimization method.
It will be understood by those skilled in the art that structure shown in Figure 11, only part relevant to application scheme
The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set
Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor are realized when executing computer program in above each embodiment of the method
The step of.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
The step in above each embodiment of the method is realized when machine program is executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of full firmware read-write operation optimization method based on solid state hard disk, which is characterized in that the described method includes:
It obtains computer end and issues write order request;
It requests for data to be transported in DDR from computer end according to the write order;
Whether the data that computer end write-in is judged after the data, which are all carried, to be completed are complete 1 or full 0;
If the data of the computer end write-in are complete 1 or full 0, the corresponding address of data of the computer end write-in is marked simultaneously
Update corresponding logical physical address mapping table;
The logical physical address mapping table is linked to front end, and returns to write order to computer end and completes information.
2. the full firmware read-write operation optimization method according to claim 1 based on solid state hard disk, which is characterized in that described
Method further include:
It obtains computer end and issues read command request;
It whether is complete 1 or full 0 according to the data that read command request judges that computer end is read;
If the data that the computer end is read are complete 1 or full 0, logical physical address mapping table and direct by hardware is updated
Target data is filled in;
It fills in and returns to read command completion information to computer end after completing.
3. the full firmware read-write operation optimization method according to claim 1 or 2 based on solid state hard disk, which is characterized in that
The step of whether data for judge that computer end is written after the data are all carried and completed are complete 1 or full 0 it
Afterwards further include:
If the data of the computer end write-in are not complete 1 or full 0, corresponding logical physical address mapping table is updated;
Data in DDR are written in NAND, and returns to write order to computer end and completes information.
4. the full firmware read-write operation optimization method according to claim 1 or 2 based on solid state hard disk, which is characterized in that
After the step of whether data for judging that computer end is read according to read command request are complete 1 or full 0 further include:
If the data that the computer end is read are not complete 1 or full 0, are determined and corresponded to by query logic physical address mapping table
The position of data;
The corresponding data is transported in DDR from NAND, and updates logical physical address mapping table;
Data in DDR are directly transported to computer end, and returns to read command to computer end and completes information.
5. a kind of full firmware read-write operation based on solid state hard disk optimizes device, which is characterized in that described device includes:
First obtains module, and the first acquisition module issues write order request for obtaining computer end;
Transfer module, the transfer module are used to request for data to be transported in DDR from computer end according to the write order;
First judgment module, the first judgment module are used to judge that computer end is written after the data are all carried and completed
Data whether be complete 1 or full 0;
First execution module is marked if data of first execution module for computer end write-in are complete 1 or full 0
Remember the corresponding address of data of the computer end write-in and updates corresponding logical physical address mapping table;
First return module, first return module are used to the logical physical address mapping table being linked to front end, and to
Computer end returns to write order and completes information.
6. the full firmware read-write operation according to claim 5 based on solid state hard disk optimizes device, which is characterized in that described
Device further include:
Second obtains module, and the second acquisition module issues read command request for obtaining computer end;
Second judgment module, second judgment module are used to judge according to read command request that the data of computer end reading to be
No is complete 1 or full 0;
Second execution module, if second execution module is used for the data that the computer end is read for complete 1 or full 0, more
New logic physical address mapping table simultaneously directly fills in target data by hardware;
Second return module, second return module for fill in completion after to computer end return read command complete information.
7. the full firmware read-write operation according to claim 5 or 6 based on solid state hard disk optimizes device, which is characterized in that
First execution module is also used to:
If the data of the computer end write-in are not complete 1 or full 0, corresponding logical physical address mapping table is updated;
First return module is also used to for the data in DDR being written in NAND, and returns to write order to computer end and complete
Information.
8. the full firmware read-write operation according to claim 5 or 6 based on solid state hard disk optimizes device, which is characterized in that
Second execution module is also used to:
If the data that the computer end is read are not complete 1 or full 0, are determined and corresponded to by query logic physical address mapping table
The position of data;The corresponding data is transported in DDR from NAND, and updates logical physical address mapping table;
Second return module is also used to for the data in DDR being directly transported to computer end, and returns to read command to computer end
Complete information.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor realizes any one of claims 1 to 4 institute when executing the computer program
The step of stating method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of Claims 1-4 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910451457.7A CN110209355A (en) | 2019-05-28 | 2019-05-28 | Full firmware read-write operation optimization method and device based on solid state hard disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910451457.7A CN110209355A (en) | 2019-05-28 | 2019-05-28 | Full firmware read-write operation optimization method and device based on solid state hard disk |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110209355A true CN110209355A (en) | 2019-09-06 |
Family
ID=67789066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910451457.7A Pending CN110209355A (en) | 2019-05-28 | 2019-05-28 | Full firmware read-write operation optimization method and device based on solid state hard disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110209355A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111290972A (en) * | 2020-03-11 | 2020-06-16 | 深圳忆联信息系统有限公司 | Data handling efficiency improving method and device and computer equipment |
CN112230855A (en) * | 2020-10-20 | 2021-01-15 | 英韧科技(上海)有限公司 | Solid state disk and read-write method thereof |
CN113094296A (en) * | 2021-04-29 | 2021-07-09 | 深圳忆联信息系统有限公司 | SSD read acceleration implementation method and device, computer equipment and storage medium |
CN113721838A (en) * | 2021-07-22 | 2021-11-30 | 成都忆芯科技有限公司 | Writing and reading data method for storage device, storage controller and DMA engine |
CN114527942A (en) * | 2022-02-21 | 2022-05-24 | 苏州浪潮智能科技有限公司 | Data writing method, system, storage medium and equipment based on solid state disk |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170068471A1 (en) * | 2015-09-08 | 2017-03-09 | International Business Machines Corporation | Volume integrity in a shared-resource environment |
CN108563401A (en) * | 2018-03-27 | 2018-09-21 | 深圳忆联信息系统有限公司 | A kind of SSD performance acceleration methods |
CN109086168A (en) * | 2018-07-13 | 2018-12-25 | 深圳忆联信息系统有限公司 | A kind of method and its system using hardware backup solid state hard disk writing rate |
CN109614349A (en) * | 2018-12-11 | 2019-04-12 | 杭州阿姆科技有限公司 | A kind of buffer memory management method based on binding mechanism |
-
2019
- 2019-05-28 CN CN201910451457.7A patent/CN110209355A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170068471A1 (en) * | 2015-09-08 | 2017-03-09 | International Business Machines Corporation | Volume integrity in a shared-resource environment |
CN108563401A (en) * | 2018-03-27 | 2018-09-21 | 深圳忆联信息系统有限公司 | A kind of SSD performance acceleration methods |
CN109086168A (en) * | 2018-07-13 | 2018-12-25 | 深圳忆联信息系统有限公司 | A kind of method and its system using hardware backup solid state hard disk writing rate |
CN109614349A (en) * | 2018-12-11 | 2019-04-12 | 杭州阿姆科技有限公司 | A kind of buffer memory management method based on binding mechanism |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111290972A (en) * | 2020-03-11 | 2020-06-16 | 深圳忆联信息系统有限公司 | Data handling efficiency improving method and device and computer equipment |
CN112230855A (en) * | 2020-10-20 | 2021-01-15 | 英韧科技(上海)有限公司 | Solid state disk and read-write method thereof |
CN113094296A (en) * | 2021-04-29 | 2021-07-09 | 深圳忆联信息系统有限公司 | SSD read acceleration implementation method and device, computer equipment and storage medium |
CN113094296B (en) * | 2021-04-29 | 2023-10-10 | 深圳忆联信息系统有限公司 | SSD read acceleration realization method, SSD read acceleration realization device, computer equipment and storage medium |
CN113721838A (en) * | 2021-07-22 | 2021-11-30 | 成都忆芯科技有限公司 | Writing and reading data method for storage device, storage controller and DMA engine |
CN113721838B (en) * | 2021-07-22 | 2023-12-19 | 成都忆芯科技有限公司 | Write, read data method for memory device, memory controller, and DMA engine |
CN114527942A (en) * | 2022-02-21 | 2022-05-24 | 苏州浪潮智能科技有限公司 | Data writing method, system, storage medium and equipment based on solid state disk |
CN114527942B (en) * | 2022-02-21 | 2023-06-06 | 苏州浪潮智能科技有限公司 | Method, system, storage medium and equipment for writing data based on solid state disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110209355A (en) | Full firmware read-write operation optimization method and device based on solid state hard disk | |
US7076598B2 (en) | Pipeline accessing method to a large block memory | |
US9405675B1 (en) | System and method for managing execution of internal commands and host commands in a solid-state memory | |
US20180275887A1 (en) | Data Storage Device and Operating Method of Data Storage Device | |
US8131911B2 (en) | Data writing method, and flash storage system and controller using the same | |
CN110018787A (en) | Based on the system-wide firmware reading/writing method of SSD, device and computer equipment | |
CN109426619A (en) | Method for accessing flash memory module, related flash memory controller and electronic device | |
CN103106143B (en) | Solid state storage device and logic thereof are to entity correspondence table method for building up | |
CN101326494A (en) | Coordinating access to memory locations for hardware transactional memory transactions and software transactional memory transactions | |
CN110457231A (en) | For managing the method and its relevant memory storage of a memory storage | |
JPWO2007066720A1 (en) | Nonvolatile storage device, data read method, and management table creation method | |
CN109871333A (en) | The method of access flash memory module and relevant flash controller and electronic device | |
US20160170873A1 (en) | Information processing device | |
CN109783396A (en) | The method of access flash memory module and relevant flash controller and electronic device | |
CN110297606A (en) | Bad block management method, device and computer equipment based on solid state hard disk | |
CN110297603A (en) | Random write performance method for improving, device and computer equipment based on solid state hard disk | |
CN108563590A (en) | OTP controller based on piece FLASH memory and control method | |
CN110362276A (en) | Trim execution efficiency method for improving and device based on solid state hard disk | |
CN106201329A (en) | Data access method in loop block mode and apparatus using the same | |
CN107045423A (en) | Memory device and data access method thereof | |
CN110175000A (en) | Readwrite performance method for improving, device and computer equipment based on solid state hard disk | |
CN102650972B (en) | Date storage method, Apparatus and system | |
CN107341049B (en) | Transaction optimization processing method and device | |
CN105912279B (en) | Solid-state storage recovery system and solid-state storage recovery method | |
CN110288340B (en) | Data set storage method based on Java intelligent contract |
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 |
Application publication date: 20190906 |
|
RJ01 | Rejection of invention patent application after publication |