CN108733324A - A kind of data read-write method of solid state disk, device, equipment and storage medium - Google Patents
A kind of data read-write method of solid state disk, device, equipment and storage medium Download PDFInfo
- Publication number
- CN108733324A CN108733324A CN201810514459.1A CN201810514459A CN108733324A CN 108733324 A CN108733324 A CN 108733324A CN 201810514459 A CN201810514459 A CN 201810514459A CN 108733324 A CN108733324 A CN 108733324A
- Authority
- CN
- China
- Prior art keywords
- data
- read
- written
- solid state
- state disk
- 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.)
- Granted
Links
Classifications
-
- 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
- G06F3/0611—Improving I/O performance in relation to response time
-
- 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/0656—Data buffering arrangements
-
- 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]
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)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The embodiment of the invention discloses a kind of data read-write method of solid state disk, device, equipment and computer readable storage mediums.Wherein, method includes being based on multi-plane, if the type of read write command is to write message instruction, while user's data to be written of the effective address number same number group with the effective plane groups of solid state disk being written in nand flash memory.If the type of read write command is to read message instruction, when meeting preset condition, data are read from the cache of nand flash memory;Preset condition is when a upper operation for current operation is read operation and address instructs corresponding address to belong to same plane groups with message is read.Technical scheme optimizes the reading/writing method of the solid state disk based on multi-plane characteristics, is effectively improved the read and write rate of solid state disk, promotes the performance of whole solid state disk, and then enhances the competitiveness of solid state disk.
Description
Technical field
The present embodiments relate to solid state disk technical fields, more particularly to a kind of reading and writing data side of solid state disk
Method, device, equipment and computer readable storage medium.
Background technology
With the fast-developing and widely available application of the computer technologies such as internet, cloud computing, Internet of Things, routine work
Or at every moment will produce the data of magnanimity in life and need to handle and store, the explosive growths of data, user are to data
Security requirement increase and the high speed development of information technology to the performance of storage system, more stringent requirements are proposed.
SSD (Solid State Drives, solid state disk) is also solid disk, for solid-state electronic storage chip array system
At hard disk, be made of control unit and solid state storage elements (FLASH chip or dram chip), due to flash memory (FLASH cores
Piece) property is more stable compared with DRAM, and nand flash memory particle is widely adopted as the storage medium of solid state disk.Readwrite performance is
Weigh the important indicator of solid state disk performance quality.
Lun is the minimum unit that can be operated according to orders such as reading and writing, erasings of nand flash memory, inside Lun simultaneously
There can be a kind of operation, be that may be performed simultaneously respective operation between lun and lun.Layer (plane) is the physical concept under lun,
Plane is for concurrently executing same type of operation.Each plane is a storage matrix, includes multiple numbers in each plane
According to block (block), each data block includes multiple pages (page), and page is the minimum read/write unit of nand flash memory.A usual lun
(logic unit number, logical unit number) corresponds to a plane, while can only execute read-write operation to an address, when
When the data volume read and write to same address is more, it will be apparent that, handle that these data volumes are time-consuming longer, and read-write efficiency is not high.
Invention content
The purpose of the embodiment of the present invention is to provide a kind of data read-write method of solid state disk, device, equipment and computer
Readable storage medium storing program for executing is based on multi-plane, while executing operation to multiple addresses, improves the read and write rate of solid state disk, into
And promote the performance of whole solid state disk.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
On the one hand the embodiment of the present invention provides a kind of data read-write method of solid state disk, be based on multi-plane, packet
It includes:
User writable instruction is received, and identifies the type of the read write command;
If the type of the read write command is to write message instruction, the effective address number of the effective plane groups of solid state disk is obtained
Mesh, and multigroup user data to be written are written in nand flash memory simultaneously;The group number of user's data to be written with it is described effectively
The number of address is identical;
If the type of the read write command is to read message instruction, when meeting preset condition, then from the cache of nand flash memory
Middle reading data;The preset condition is when a upper operation for current operation is read operation and address is instructed with the reading message
Corresponding address belongs to same plane groups.
Optionally, when being unsatisfactory for the preset condition, then data are read from nand flash memory.
Optionally, the effective address number for obtaining the effective plane groups of solid state disk, and it is simultaneously that multigroup user is to be written
Enter data and be written in nand flash memory and includes:
It is instructed previously according to grouping, data block in the solid state disk is assigned in each plane groups;
According to the available plane of reception instructions from each plane groups, effective plane groups are selected;
Judge whether the number for the effective address for including in effective plane groups is not less than the group number of data to be written;
If so, multigroup user data to be written are written in nand flash memory simultaneously;
If it is not, then according to the group number of effective address number and data to be written in effective plane groups, in batches by user's
Data to be written are written in nand flash memory.
Optionally, further include:
When the number for the effective address for including in effective plane groups is 0, then feedback error prompt message.
On the other hand the embodiment of the present invention provides a kind of data read-write equipment of solid state disk, be based on multi-plane,
Including:
Command reception module for receiving user writable instruction, and identifies the type of the read write command;
Message optimisation module is write, is to write message instruction for the type when the read write command, it is effective to obtain solid state disk
The effective address number of plane groups, and multigroup user data to be written are written in nand flash memory simultaneously;User's number to be written
According to group number it is identical as the number of the effective address;
Message optimisation module is read, for being to read message instruction when the type of the read write command, when meeting preset condition,
Then data are read from the cache of nand flash memory;The preset condition be when current operation it is upper one operation be read operation and
Address belongs to same plane groups with reading message instruction corresponding address.
Optionally, the reading message optimisation module is then to be read from nand flash memory when being unsatisfactory for the preset condition
The module of data.
Optionally, the message optimisation module of writing includes:
It is grouped submodule, for being instructed previously according to grouping, data block in the solid state disk is assigned to each plane
In group;
Effective plane group selection modules, for from each plane groups, selection to be effective according to the available plane of reception instructions
Plane groups;
Judging submodule, the number of the effective address for judging to include in effective plane groups whether not less than with it is to be written
Enter the group number of data;
Judge execution module, is not less than data to be written for the number when the effective address for including in effective plane groups
Group number, then simultaneously multigroup user data to be written are written in nand flash memory;When including effectively in effective plane groups
The number of location is less than the group number of data to be written, then according in effective plane groups effective address number and data to be written
The data to be written of user, are written in nand flash memory by group number in batches.
Optionally, further include:
Feedback module is 0 in effective plane groups for the number when the effective address for including, then feedback error carries
Show information.
The embodiment of the present invention additionally provides a kind of reading and writing data equipment of solid state disk, including processor, the processor
The data read-write method of solid state disk as described in preceding any one being realized when for executing the computer program stored in memory
Step.
The embodiment of the present invention finally additionally provides a kind of computer readable storage medium, the computer readable storage medium
On be stored with the reading and writing data program of solid state disk, realized such as when the reading and writing data program of the solid state disk is executed by processor
The step of data read-write method of any one of preceding solid state disk.
An embodiment of the present invention provides a kind of data read-write methods of solid state disk, are based on multi-plane, if read-write refers to
The type of order is to write message instruction, while by the use of the effective address number same number group with the effective plane groups of solid state disk
Family data to be written are written in nand flash memory.If the type of read write command is to read message instruction, when meeting preset condition, from
Data are read in the cache of nand flash memory;Preset condition is when a upper operation for current operation is read operation and address and reading
Message instruction corresponding address belongs to same plane groups.
The advantages of technical solution provided by the present application is, can be simultaneously for message is write based on multi-plane characteristics
The data to be written of user are written to nand flash memory, increase the data volume in write-once nand flash memory, when user has largely
When data are to be written, it can greatly reduce and write data time, improve the efficiency for writing data;For information is read, same plane is read
Group address in data when, the reading of data can be carried out directly in the caching of nand flash memory, without spend nand flash memory reading
Access evidence, improves data reading performance using redundancy, improves the hit rate of read buffer;By to being consolidated based on multi-plane characteristics
The reading/writing method of state hard disk optimizes, and is effectively improved the read and write rate of solid state disk, promotes the property of whole solid state disk
Can, and then enhance the competitiveness of solid state disk.
In addition, the embodiment of the present invention provides corresponding realization device also directed to the data read-write method of solid state disk, sets
Standby and computer readable storage medium, further such that the method has more practicability, described device, equipment and computer can
Reading storage medium has the advantages that corresponding.
Description of the drawings
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present invention or the prior art
Attached drawing is briefly described needed in technology description, it should be apparent that, the accompanying drawings in the following description is only this hair
Some bright embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of the data read-write method of solid state disk provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the data read-write method of another solid state disk provided in an embodiment of the present invention;
Fig. 3 is a kind of specific implementation mode structure of the data read-write equipment of solid state disk provided in an embodiment of the present invention
Figure;
Fig. 4 is another specific implementation mode structure of the data read-write equipment of solid state disk provided in an embodiment of the present invention
Figure.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, shall fall within the protection scope of the present invention.
Term " first ", " second ", " third " " in the description and claims of this application and above-mentioned attached drawing
Four " etc. be for distinguishing different objects, rather than for describing specific sequence.In addition term " comprising " and " having " and
Their any deformations, it is intended that cover and non-exclusive include.Such as contain the process of series of steps or unit, method,
The step of system, product or equipment are not limited to list or unit, but the step of may include not listing or unit.
After describing the technical solution of the embodiment of the present invention, the various non-limiting realities of detailed description below the application
Apply mode.
Referring first to Fig. 1, Fig. 1 is that a kind of flow of the data read-write method of solid state disk provided in an embodiment of the present invention is shown
It is intended to, is based on multi-plane, the embodiment of the present invention may include the following contents:
S101:User writable instruction is received, and identifies the type of read write command.
User writable instruction includes that user reads data command and user written data instruction, namely reads message instruction and write message
Instruction.It can recognize that the operation of active user is read operation or write operation according to command information difference input by user.
S102:If the type of read write command is to write message instruction, the effective address number of the effective plane groups of solid state disk is obtained
Mesh, and multigroup user data to be written are written in nand flash memory simultaneously.
Effective plane groups are the normal plane of physical characteristic of storage medium, namely without damage, executable read-write behaviour
The plane groups of work.
After the multiple plane of system creation, it can instruct, data block in solid state disk is assigned to each previously according to grouping
In plane groups.For example, when there is n plane in some lun, the effective address of the first plane groups has m, then the group
Each data block of plane can be named as blockmn、blockmn+1、…、blockmn+n-1。
The effective address number of plane groups is the number of available block in the group.The group number of user's data to be written with
The number of effective address is identical, that is to say, that how many a, Ke Yitong of the number of the effective address of plane groups where current address
When the data of how many groups of numbers are written into nand flash memory.And the plane groups where the group number of data to be written is more than current address
Effective address number when, can be written in batches, which data is every batch of, which be all written, to randomly choose, also can be according to pre-establishing
LAB tables be determined, this does not influence the realization of the application.
For example, the number of the effective address of plane groups where current address is 5, and the group number of data to be written
Including 10, then 5 groups of data can be write at twice, every time to nand flash memory.
And when the number of the effective address of current address place plane groups is 0, current solid state disk may operation exception
Or be damaged, system can automatic feedback miscue information, to prompt user or staff to search and tie up as early as possible
It repaiies, reduces user's loss.
S103:If the type of read write command is to read message instruction, when meeting preset condition, then from nand flash memory
Data are read in cache.
Preset condition can be when a upper operation for current operation is read operation and address instructs corresponding address with message is read
Belong to same plane groups.
It, can be simultaneously for message is write based on multi-plane characteristics in technical solution provided in an embodiment of the present invention
The data to be written of user are written to nand flash memory, increase the data volume in write-once nand flash memory, when user has largely
When data are to be written, it can greatly reduce and write data time, improve the efficiency for writing data;For information is read, same plane is read
Group address in data when, the reading of data can be carried out directly in the caching of nand flash memory, without spend nand flash memory reading
Access evidence, improves data reading performance using redundancy, improves the hit rate of read buffer;By to being consolidated based on multi-plane characteristics
The reading/writing method of state hard disk optimizes, and is effectively improved the read and write rate of solid state disk, promotes the property of whole solid state disk
Can, and then enhance the competitiveness of solid state disk.
Based on above-described embodiment, present invention also provides another embodiments, referring to Fig. 2, specifically may include:
S201:Judge whether user writable instruction is to write message instruction, if so, executing S202;If it is not, then executing
S206。
S202:According to the available plane of reception instructions from each plane groups, effective plane groups are selected.
S203:Judge whether the number for the effective address for including in effective plane groups is not less than the group number of data to be written,
If so, S204 is executed, if it is not, then executing S205.
S204:Multigroup user data to be written are written in nand flash memory simultaneously.
S205:The data to be written of user are written in nand flash memory in batches.
S206:Judge whether to meet preset condition, if so, S207 is executed, if it is not, then executing S208.
Wherein, preset condition is when a upper operation for current operation is read operation and address instructs accordingly with message is read
Location belongs to same plane groups.
S207:Data are read from the cache of nand flash memory.
S208:Data are read from nand flash memory.
That is, when a upper operation for current operation is write operation, current read operation can only be from nand flash memory
It reads;When a upper operation for current operation is read operation, but read the address of the address and current read data of data
It is not belonging to the same plane, then current read operation can only be read from nand flash memory.
Information is read after reading data in nand flash memory, can further update last preserve, subsequently to use.
From the foregoing, it will be observed that the embodiment of the present invention is based on multi-plane, while operation is executed to multiple addresses, improves solid-state
The read and write rate of hard disk, and then promote the performance of whole solid state disk.
The embodiment of the present invention provides corresponding realization device also directed to the data read-write method of solid state disk, further makes
It obtains the method and has more practicability.It is situated between below to the data read-write equipment of solid state disk provided in an embodiment of the present invention
It continues, the data read-write method of the data read-write equipment of solid state disk described below and above-described solid state disk can be mutually right
It should refer to.
Referring to Fig. 3, Fig. 3 is the data read-write equipment of solid state disk provided in an embodiment of the present invention in a kind of specific embodiment party
Structure chart under formula, is based on multi-plane, which may include:
Command reception module 301 for receiving user writable instruction, and identifies the type of read write command.
Message optimisation module 302 is write, is to write message instruction for the type when read write command, it is effective to obtain solid state disk
The effective address number of plane groups, and multigroup user data to be written are written in nand flash memory simultaneously;User's number to be written
According to group number it is identical as the number of effective address.
Message optimisation module 303 is read, for being to read message instruction when the type of read write command, when meeting preset condition,
Then data are read from the cache of nand flash memory;Preset condition is when a upper operation for current operation is read operation and address
Belong to same plane groups with message instruction corresponding address is read.
In a kind of specific embodiment, the reading message optimisation module 303 can be when being unsatisfactory for preset condition, then
The module of data is read from nand flash memory.
Optionally, in another embodiment, the message optimisation module 302 of writing may also include:
It is grouped submodule, for being instructed previously according to grouping, data block in solid state disk is assigned to each plane groups
In;
Effective plane group selection modules, for from each plane groups, selection to be effective according to the available plane of reception instructions
Plane groups;
Judging submodule, the number of the effective address for judging to include in effective plane groups whether not less than with it is to be written
Enter the group number of data;
Judge execution module, is not less than data to be written for the number when the effective address for including in effective plane groups
Group number, then simultaneously multigroup user data to be written are written in nand flash memory;When including effectively in effective plane groups
The number of location is less than the group number of data to be written, then according in effective plane groups effective address number and data to be written
The data to be written of user, are written in nand flash memory by group number in batches.
Optionally, in some embodiments of the present embodiment, referring to Fig. 4, described device for example can also include:
Feedback module 304 is 0 in effective plane groups for the number when the effective address for including, then feedback error
Prompt message.
The function of each function module of the data read-write equipment of solid state disk described in the embodiment of the present invention can be according to above-mentioned side
Method specific implementation in method embodiment, specific implementation process are referred to the associated description of above method embodiment, herein
It repeats no more.
From the foregoing, it will be observed that the embodiment of the present invention is based on multi-plane, while operation is executed to multiple addresses, improves solid-state
The read and write rate of hard disk, and then promote the performance of whole solid state disk.
The embodiment of the present invention additionally provides a kind of reading and writing data equipment of solid state disk, specifically may include:
Memory, for storing computer program;
Processor, for executing computer program to realize the reading and writing data of solid state disk described in any one embodiment as above
The step of method.
The function of each function module of the reading and writing data equipment of solid state disk described in the embodiment of the present invention can be according to above-mentioned side
Method specific implementation in method embodiment, specific implementation process are referred to the associated description of above method embodiment, herein
It repeats no more.
From the foregoing, it will be observed that the embodiment of the present invention is based on multi-plane, while operation is executed to multiple addresses, improves solid-state
The read and write rate of hard disk, and then promote the performance of whole solid state disk.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored with the reading and writing data journey of solid state disk
Sequence, data of solid state disk described in any one embodiment as above when the reading and writing data program of the solid state disk is executed by processor
The step of reading/writing method.
The function of each function module of computer readable storage medium described in the embodiment of the present invention can be according to above method reality
The method specific implementation in example is applied, specific implementation process is referred to the associated description of above method embodiment, herein no longer
It repeats.
From the foregoing, it will be observed that the embodiment of the present invention is based on multi-plane, while operation is executed to multiple addresses, improves solid-state
The read and write rate of hard disk, and then promote the performance of whole solid state disk.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is other
The difference of embodiment, just to refer each other for same or similar part between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is referring to method part
Explanation.
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, depends on the specific application and design constraint of 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 a kind of data read-write method of solid state disk provided by the present invention, device, equipment and computer-readable
Storage medium is described in detail.Specific case used herein explains the principle of the present invention and embodiment
It states, the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention.It should be pointed out that for this skill
For the those of ordinary skill in art field, without departing from the principle of the present invention, several change can also be carried out to the present invention
Into and modification, these improvement and modification also fall within the protection scope of the claims of the present invention.
Claims (10)
1. a kind of data read-write method of solid state disk, which is characterized in that it is based on multi-plane, including:
User writable instruction is received, and identifies the type of the read write command;
If the type of the read write command is to write message instruction, the effective address number of the effective plane groups of solid state disk is obtained, and
Multigroup user data to be written are written in nand flash memory simultaneously;The group number of user's data to be written and the effective address
Number is identical;
If the type of the read write command is to read message instruction, when meeting preset condition, then read from the cache of nand flash memory
Access evidence;The preset condition is when a upper operation for current operation is read operation and address is corresponding with the reading message instruction
Address belongs to same plane groups.
2. the data read-write method of solid state disk according to claim 1, which is characterized in that when being unsatisfactory for the default item
When part, then data are read from nand flash memory.
3. the data read-write method of solid state disk according to claim 2, which is characterized in that the acquisition solid state disk has
The effective address number of plane groups is imitated, and multigroup user data to be written are written in nand flash memory simultaneously and include:
It is instructed previously according to grouping, data block in the solid state disk is assigned in each plane groups;
According to the available plane of reception instructions from each plane groups, effective plane groups are selected;
Judge whether the number for the effective address for including in effective plane groups is not less than the group number of data to be written;
If so, multigroup user data to be written are written in nand flash memory simultaneously;
If it is not, then according to the group number of effective address number and data to be written in effective plane groups, in batches by the to be written of user
Enter data to be written in nand flash memory.
4. the data read-write method of solid state disk according to claim 3, which is characterized in that further include:
When the number for the effective address for including in effective plane groups is 0, then feedback error prompt message.
5. a kind of data read-write equipment of solid state disk, which is characterized in that it is based on multi-plane, including:
Command reception module for receiving user writable instruction, and identifies the type of the read write command;
Message optimisation module is write, is to write message instruction for the type when the read write command, obtains the effective plane of solid state disk
The effective address number of group, and multigroup user data to be written are written in nand flash memory simultaneously;User's data to be written
Group number is identical as the number of the effective address;
Read message optimisation module, for when the read write command type be read message instruction, when meeting preset condition, then from
Data are read in the cache of nand flash memory;The preset condition is when a upper operation for current operation is read operation and address
Belong to same plane groups with reading message instruction corresponding address.
6. the data read-write equipment of solid state disk according to claim 5, which is characterized in that the reading message optimisation module
When being unsatisfactory for the preset condition, then to read the module of data from nand flash memory.
7. the data read-write equipment of solid state disk according to claim 6, which is characterized in that described to write message optimisation module
Including:
It is grouped submodule, for being instructed previously according to grouping, data block in the solid state disk is assigned to each plane groups
In;
Effective plane group selection modules, for from each plane groups, selection to be effective according to the available plane of reception instructions
Plane groups;
Whether the number of judging submodule, the effective address for judging to include in effective plane groups is not less than and number to be written
According to group number;
Judge execution module, the group of data to be written is not less than for the number when the effective address for including in effective plane groups
Multigroup user data to be written are then written in nand flash memory by number simultaneously;When the effective address for including in effective plane groups
Number is less than the group number of data to be written, then according to the group number of effective address number and data to be written in effective plane groups,
The data to be written of user are written in nand flash memory in batches.
8. the data read-write equipment of solid state disk according to claim 7, which is characterized in that further include:
Feedback module is 0 in effective plane groups for the number when the effective address for including, then feedback error prompt letter
Breath.
9. a kind of reading and writing data equipment of solid state disk, which is characterized in that including processor, the processor is for executing storage
The step of the data read-write method of solid state disk as described in any one of Claims 1-4 is realized when the computer program stored in device
Suddenly.
10. a kind of computer readable storage medium, which is characterized in that it is hard to be stored with solid-state on the computer readable storage medium
The reading and writing data program of disk realizes that Claims 1-4 such as is appointed when the reading and writing data program of the solid state disk is executed by processor
The step of data read-write method of one solid state disk.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810514459.1A CN108733324B (en) | 2018-05-25 | 2018-05-25 | Data reading and writing method, device and equipment of solid state disk and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810514459.1A CN108733324B (en) | 2018-05-25 | 2018-05-25 | Data reading and writing method, device and equipment of solid state disk and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108733324A true CN108733324A (en) | 2018-11-02 |
CN108733324B CN108733324B (en) | 2021-11-09 |
Family
ID=63935320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810514459.1A Active CN108733324B (en) | 2018-05-25 | 2018-05-25 | Data reading and writing method, device and equipment of solid state disk and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108733324B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860190A (en) * | 2021-02-25 | 2021-05-28 | 西北民族大学 | Data reading and writing method based on computer equipment |
CN113268204A (en) * | 2021-05-26 | 2021-08-17 | 绿芯半导体(厦门)有限公司 | Method for improving SSD multi-channel concurrent data read-write efficiency |
CN113849194A (en) * | 2021-08-20 | 2021-12-28 | 荣耀终端有限公司 | Burning method and terminal equipment |
CN114546289A (en) * | 2022-02-27 | 2022-05-27 | 苏州浪潮智能科技有限公司 | Method, system, device and medium for reading data |
CN114546294A (en) * | 2022-04-22 | 2022-05-27 | 苏州浪潮智能科技有限公司 | Solid state disk reading method, system and related components |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1150492A (en) * | 1994-06-02 | 1997-05-21 | 英特尔公司 | Bit map addressing schemes for flash memory |
US20140229798A1 (en) * | 2007-12-16 | 2014-08-14 | Apple Inc. | Efficient data storage in multi-plane memory devices |
US20140254263A1 (en) * | 2013-03-07 | 2014-09-11 | Sandisk Technologies Inc. | Write Sequence Providing Write Abort Protection |
CN104809075A (en) * | 2015-04-20 | 2015-07-29 | 电子科技大学 | Solid recording device and method for accessing in real time and parallel processing |
US20160077749A1 (en) * | 2014-09-16 | 2016-03-17 | Sandisk Technologies Inc. | Adaptive Block Allocation in Nonvolatile Memory |
CN105630707A (en) * | 2015-11-16 | 2016-06-01 | 上海磁宇信息科技有限公司 | Storage device with power-off protection function, power-off protection method and computing system |
US9519578B1 (en) * | 2013-01-28 | 2016-12-13 | Radian Memory Systems, Inc. | Multi-array operation support and related devices, systems and software |
CN107112044A (en) * | 2015-03-11 | 2017-08-29 | 桑迪士克科技有限责任公司 | The double write-ins of multi-chip |
-
2018
- 2018-05-25 CN CN201810514459.1A patent/CN108733324B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1150492A (en) * | 1994-06-02 | 1997-05-21 | 英特尔公司 | Bit map addressing schemes for flash memory |
US20140229798A1 (en) * | 2007-12-16 | 2014-08-14 | Apple Inc. | Efficient data storage in multi-plane memory devices |
US9519578B1 (en) * | 2013-01-28 | 2016-12-13 | Radian Memory Systems, Inc. | Multi-array operation support and related devices, systems and software |
US20140254263A1 (en) * | 2013-03-07 | 2014-09-11 | Sandisk Technologies Inc. | Write Sequence Providing Write Abort Protection |
US20160077749A1 (en) * | 2014-09-16 | 2016-03-17 | Sandisk Technologies Inc. | Adaptive Block Allocation in Nonvolatile Memory |
CN107112044A (en) * | 2015-03-11 | 2017-08-29 | 桑迪士克科技有限责任公司 | The double write-ins of multi-chip |
CN104809075A (en) * | 2015-04-20 | 2015-07-29 | 电子科技大学 | Solid recording device and method for accessing in real time and parallel processing |
CN105630707A (en) * | 2015-11-16 | 2016-06-01 | 上海磁宇信息科技有限公司 | Storage device with power-off protection function, power-off protection method and computing system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860190A (en) * | 2021-02-25 | 2021-05-28 | 西北民族大学 | Data reading and writing method based on computer equipment |
CN113268204A (en) * | 2021-05-26 | 2021-08-17 | 绿芯半导体(厦门)有限公司 | Method for improving SSD multi-channel concurrent data read-write efficiency |
CN113268204B (en) * | 2021-05-26 | 2022-10-18 | 绿芯半导体(厦门)有限公司 | Method for improving SSD multi-channel concurrent data read-write efficiency |
CN113849194A (en) * | 2021-08-20 | 2021-12-28 | 荣耀终端有限公司 | Burning method and terminal equipment |
CN113849194B (en) * | 2021-08-20 | 2022-10-14 | 荣耀终端有限公司 | Burning method and terminal equipment |
CN114546289A (en) * | 2022-02-27 | 2022-05-27 | 苏州浪潮智能科技有限公司 | Method, system, device and medium for reading data |
CN114546289B (en) * | 2022-02-27 | 2023-06-02 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for reading data |
CN114546294A (en) * | 2022-04-22 | 2022-05-27 | 苏州浪潮智能科技有限公司 | Solid state disk reading method, system and related components |
WO2023202288A1 (en) * | 2022-04-22 | 2023-10-26 | 苏州浪潮智能科技有限公司 | Solid-state drive reading method, system and apparatus, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108733324B (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108733324A (en) | A kind of data read-write method of solid state disk, device, equipment and storage medium | |
CN105242871B (en) | A kind of method for writing data and device | |
US8386698B2 (en) | Data accessing method for flash memory and storage system and controller using the same | |
CN107209715B (en) | File data accessing method and computer system | |
CN105117351B (en) | To the method and device of buffering write data | |
CN105095116A (en) | Cache replacing method, cache controller and processor | |
CN109445713A (en) | A kind of storage state recording method, system and the associated component of metadata volume | |
CN108647151A (en) | It is a kind of to dodge system metadata rule method, apparatus, equipment and storage medium entirely | |
CN103838853B (en) | Mixed file system based on different storage media | |
CN103514249A (en) | Method and system for automatic data reduction and storage device | |
CN106201652B (en) | Data processing method and virtual machine | |
US20100064095A1 (en) | Flash memory system and operation method | |
CN109471843A (en) | A kind of metadata cache method, system and relevant apparatus | |
CN103365786A (en) | Data storage method, device and system | |
US11429533B2 (en) | Method and system of reducing address mapping space of flash translation layer | |
CN109952565A (en) | Internal storage access technology | |
US11385900B2 (en) | Accessing queue data | |
CN102122284B (en) | Compound document storage and read-write method and compound document storage and read-write device | |
CN104408126B (en) | A kind of persistence wiring method of database, device and system | |
CN106326135B (en) | Method and device for translating data of non-volatile memory (NVM) | |
CN109597577A (en) | A kind of method, system and relevant apparatus handling NVME agreement read write command | |
CN103577113B (en) | A kind of memory unit access method | |
CN107729142B (en) | Thread calling method for self-compaction metadata | |
CN110147670A (en) | Persistence method for protecting EMS memory between a kind of process working in kernel state | |
CN110221984A (en) | Method for building up, device, storage system and the access method of storage system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |