CN103513941A - Method and device for writing data - Google Patents

Method and device for writing data Download PDF

Info

Publication number
CN103513941A
CN103513941A CN201310495179.8A CN201310495179A CN103513941A CN 103513941 A CN103513941 A CN 103513941A CN 201310495179 A CN201310495179 A CN 201310495179A CN 103513941 A CN103513941 A CN 103513941A
Authority
CN
China
Prior art keywords
valid data
sector
data
data piece
data block
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
Application number
CN201310495179.8A
Other languages
Chinese (zh)
Other versions
CN103513941B (en
Inventor
龚涛
梁剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310495179.8A priority Critical patent/CN103513941B/en
Publication of CN103513941A publication Critical patent/CN103513941A/en
Priority to PCT/CN2014/080509 priority patent/WO2015055020A1/en
Application granted granted Critical
Publication of CN103513941B publication Critical patent/CN103513941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0866Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
    • G06F12/0871Allocation or management of cache space
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0804Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches with main memory updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/10Providing a specific technical effect
    • G06F2212/1032Reliability improvement, data loss prevention, degraded operation etc
    • G06F2212/1036Life time enhancement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/21Employing a record carrier using a specific recording technology
    • G06F2212/214Solid state disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

An embodiment of the invention provides a method and device for writing data. The method comprises the steps that a first valid data block which is determined in cache comprises a plurality of continuous valid sectors, and the valid sectors store data; a second valid data block is determined in the first valid data block, and the second valid data block comprises dirty sectors; a target data block which is determined in the second valid data block comprises a plurality of pages, and any one page comprises one dirty sector; data in the target valid data block is written into a solid state disk. According to the method and device, the number of clean sectors written into the SSD is reduced as much as possible, and therefore the data size written into the SSD is reduced, and service life of the SSD is prolonged.

Description

The method of data writing and device
Technical field
The present invention relates to the communication technology, relate in particular to a kind of method and device of data writing.
Background technology
Current solid state hard disc (Solid State Device is called for short SSD) is substantially all the medium based on flash memory, a SSD inside, there is multi-bank flash-memory particle, each flash memory granule interior, is divided into again some pieces (block), and each piece is by being divided into some pages (page).Flash media can not carry out 0/1 mutual conversion to any bit (bit) position, can only wipe and programming operation according to certain granularity.Wherein, the granularity of wiping is piece, refers to bit positions all in physical block is all set to 1; The granularity of programming is page, refers to the bit of appointment in page as being set to 0.Page is the minimum particle size that read and write is carried out in SSD inside, but SSD for compatible mutually with hard disk drive (Hard Disk Drive, be called for short HDD), the interface Shi Yi sector (sector) that SSD externally provides is access granularity.
In prior art, main frame toward the process of writing data in SSD is: the data that main frame will be write are first given storage array, and storage array is by these data to the Cache in storage array (cache), and cache writes SSD by data after main frame sends response.If main frame is less than the size of a page to the size of data of storage array, cache can carry out polishing, supplies the size of a page, then writes hard disk.
But, adopt prior art, due to the difference of the inner access granularity size of reading and writing granularity and externally providing of SSD, SSD can exist and writes punishment and write and amplify the too much problem of number of times, particularly, for the write request of main frame, the process of above-mentioned cache polishing is called " writing punishment "; Write to amplify and refer to that the data volume that writes flash memory is greater than the data volume that writes SSD, write punishment and be a kind of special amplification of writing.Also have other reasons yet can cause and write amplification, the data that for example write SSD are not alignd according to " page " of flash memory, can carry out after polishing the granularity with page again and write flash memory.That is to say and adopt prior art can increase the data volume that writes SSD, thereby can reduce the serviceable life of SSD.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of data writing, for solving owing to writing to amplify and write punishment number of times, increases too much the problem of the data volume that writes SSD.
Embodiment of the present invention first aspect provides a kind of method of data writing, described method is applied in memory device, described memory device comprises controller and solid state hard disc, described controller comprises Cache, described Cache comprises a plurality of pages, each page comprises a plurality of sectors, and the method comprises:
In described Cache, determine the first valid data piece, described the first valid data piece comprises a plurality of continuous effective sectors, and data are preserved in described effective sector;
In described the first valid data piece, determine the second valid data piece, described the second valid data piece refers to the valid data piece that comprises dirty sector;
In described the second valid data piece, determine target effective data block, comprise a plurality of pages in described target effective data block, wherein any one page includes dirty sector;
Data in described target effective data block are write to solid state hard disc.
In conjunction with first aspect, in the possible embodiment of the first of first aspect, describedly in described Cache, determine the first valid data piece, comprising:
Travel through all sectors of default appointed area in described Cache;
Obtain maximum continuous effective data block as described the first valid data piece, described the first valid data piece comprises maximum continuous effective sectors.
In conjunction with the possible embodiment of the first of first aspect, in the possible embodiment of the second of first aspect, described dirty sector comprises the data that will write solid state hard disc, and described clean sector comprises the data that write solid state hard disc.
Embodiment of the present invention second aspect provides a kind of device of data writing, and described memory device comprises controller and solid state hard disc, and described controller comprises Cache, and described Cache comprises a plurality of pages, and each page comprises a plurality of sectors, comprising:
Determination module, for determining the first valid data piece at aforementioned cache device, described the first valid data piece comprises the sector of a plurality of continuous effective, data are preserved in described wired sector; In described the first valid data piece, determine the second valid data piece, described the second valid data piece refers to the valid data piece that comprises dirty sector; In described the second valid data piece, determine target effective data block, comprise a plurality of pages in described target effective data block, wherein any one page includes dirty sector;
Writing module, for writing solid state hard disc by the data of described target effective data block.
In conjunction with second aspect, in the possible embodiment of the first of second aspect, described determination module is told all sectors of presetting appointed area in buffer described in traveling through; Obtain maximum continuous effective data block as described the first valid data piece, described the first valid data piece comprises maximum continuous effective sectors.
In conjunction with the possible embodiment of the first of second aspect, in the possible embodiment of the second of second aspect, described dirty sector comprises the data that will write solid state hard disc, and described clean sector comprises the data that write solid state hard disc.
In the embodiment of the present invention, in cache, determine the first valid data piece that comprises continuous effective sector, and then first determine the valid data piece that comprises dirty sector in valid data piece, finally in the second valid data piece, determine target data block, each the Ye Douyouzang sector comprising in this target data block, writes SSD by this target data block, has reduced so as much as possible the clean sector writing in SSD, thereby reduced the data volume that writes SSD, realized the prolongation in the serviceable life of SSD.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of the embodiment of the method one of data writing provided by the invention;
Fig. 2 is the sector strucre schematic diagram of the embodiment of the method two of data writing provided by the invention;
Fig. 3 is the sector strucre schematic diagram of the embodiment of the method three of data writing provided by the invention;
Fig. 4 is the sector strucre schematic diagram of the embodiment of the method four of data writing provided by the invention;
Fig. 5 is the sector strucre schematic diagram of the embodiment of the method five of data writing provided by the invention;
Fig. 6 is the structural representation of the device embodiment mono-of data writing provided by the invention;
Fig. 7 is the structural representation of memory device embodiment mono-provided by the invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention is applied in memory device, and this memory device comprises controller and SSD, and this controller comprises cache, comprises again a plurality of pages in cache, and each page comprises a plurality of sectors.Wherein, if preserve data ,Ze Gai sector in sector, be effective sector, if there is no save data, be invalid sector.In the embodiment of the present invention, effectively sector comprises dirty sector and clean sector, and wherein ,Zang sector comprises the data that will write SSD, and clean sector comprises the data that write SSD.
Fig. 1 is the schematic flow sheet of the embodiment of the method one of data writing provided by the invention, the sector strucre schematic diagram of the embodiment of the method two that Fig. 2 is data writing provided by the invention, and as shown in Figure 1, the method comprises:
S101, in cache, determine the first valid data piece.This first valid data piece comprises a plurality of continuous effective sectors, in this effective sector, preserves data.In cache, comprise a lot of sectors, continuous effective sector can be divided into a valid data piece, in cache, can determine one or more the first valid data pieces.
,Zang sector represents that the data in this sector are that the data data different ,Zangs sector current from correspondence position in SSD in the actual ,Gai Zang sector that will write SSD can not write new data before being wiped free of particularly.Data in clean sector are data that main frame read from SSD, stay in cache, thereby the data in clean sector are identical with the data of correspondence position in SSD.Dirty sector and clean sector are all effective sector.Invalid sector can be the blank sector without any content, and main frame did not read the data of corresponding sector from SSD, current without any data in this invalid sector in cache.In the first valid data piece of determining, do not comprise invalid sector.
As shown in Figure 2, suppose that a page comprises 8 each sectors, wherein, each grid represents Yi Ge sector, and blank grid represents clean sector, and the grid of " twill " shade represents dirty sector, the grid of " point " shade represents invalid sector, these 8 sectors of m1-m8 represent a page, and this 8 each sector of n1-n8 represents another page, and these two pages are two pages continuous in SSD.Can find out in the data block M that m5-n3 contiguous sector forms and comprise 7 continuous effective data blocks, wherein there is no invalid sector, can be confirmed as above-mentioned the first valid data piece.
S102, in above-mentioned the first valid data piece, determine the second valid data piece, this second valid data piece refers to the valid data piece that comprises dirty sector.
Namely, if determine a plurality of the first valid data pieces in S101, the first valid data piece that does not wherein comprise dirty sector is rejected, using the first remaining valid data piece as the second valid data piece.
S103, in above-mentioned the second valid data piece, determine target effective data block.In this target effective data block, comprise a plurality of pages, wherein any one page includes dirty sector.
In each above-mentioned second valid data piece, can comprise a plurality of pages, if having all sectors in these a plurality of pages is all the page of clean sector, this page is rejected from above-mentioned the second valid data piece, form new valid data piece, as target effective data block, in each page comprising in target effective data block like this, comprise dirty sector.
S104, the data in above-mentioned target data block are write to SSD.
In the present embodiment, in cache, determine at least one first valid data piece, then reject the first valid data piece that only comprises clean sector, further rejecting only comprises the page of clean sector again, finally obtain target data block, target data block is write to SSD, reduced so as much as possible the clean sector writing in SSD, thereby reduced the data volume that writes SSD, realized the prolongation in the serviceable life of SSD.
Fig. 3 is the sector strucre schematic diagram of the embodiment of the method three of data writing provided by the invention, Fig. 4 is the sector strucre schematic diagram of the embodiment of the method four of data writing provided by the invention, the sector strucre schematic diagram of the embodiment of the method five that Fig. 5 is data writing provided by the invention.As shown in Fig. 3, Fig. 4, Fig. 5, be 6 continuous pages, suppose that a page comprises 8 each sectors, wherein, each grid represents Yi Ge sector, and blank grid represents clean sector, the grid of " twill " shade represents dirty sector, and the grid of " point " shade represents invalid sector.
Further, above-mentionedly in above-mentioned cache, determine the first valid data piece, be specially: all sectors that travel through default appointed area in above-mentioned cache; Obtain maximum continuous effective data block as above-mentioned the first valid data piece, above-mentioned maximum continuous effective data block comprises maximum continuous effective sectors.Here maximum continuous effective data block refers to effective sector as much as possible is comprised to come in.
It should be noted that, the capacity of cache is generally all larger, in order to reduce administration overhead, cache can directly not manage Dao Yehuo sector, a but larger granularity good at managing, can be for example a management page group (page group), above-mentioned default appointed area refers to the page group that adopts preset algorithm to select.
Illustrate above-mentioned flow process, as shown in Figure 3, appointed area is 6 continuous pages shown in Fig. 3, first travel through Zhe48Ge sector, get 3 maximum continuous effective data blocks, as above-mentioned the first valid data piece, respectively data block A, B, C, data block A comprise a3-a6 totally 4 sectors, data block B comprise that totally 20 of a8-d3, data block C comprise d6-f8 Gong19Ge sector, can find out that this 3 first valid data piece is all to have comprised maximum continuous effective sectors, does not wherein have invalid sector.Then, in above-mentioned 3 the first valid data pieces, determine the second valid data piece, being about to all sectors in above-mentioned 3 maximum continuous effective data blocks is all the data block rejecting of clean sector, reject data block A, because a3-a6 is clean sector, as shown in Figure 4, remaining data block B and C, as the second valid data piece, include dirty sector in data block B and C.Further the second valid data piece B and C are processed, Yi Yewei unit processes, rejecting all sectors in the second valid data piece is all the page of clean sector, data block B and C have crossed over a plurality of pages, as shown in Figure 4, data block B has crossed over 4 pages, in first page of a1-a8, only has a8 to belong to this data block B, a8 is clean sector, a8 is rejected, and second page c1-c8 is clean sector, and this whole page of c1-c8 is deleted, obtain target data block, as shown in Figure 5, after processing, former data block B is cut into data block D and data block E now.In like manner, data block C has crossed over 3 pages, but the part of 3 pages of this that cross over all comprises dirty sector, d6-d8 Zhongd8Wei Zang sector, e1-e8 Zhonge1Wei Zang sector, f1, f2, f3 ,f8Wei Zang sector in f1-f8, so the target continuous effective data block F finally obtaining is the same with data block C, do not reject data block C Zhong sector.The target data block of determining is like this data block D, E, F, finally the data in data block D, E, F is all write to SSD.
It should be noted that each data block can produce an I/O (Input/Output, be called for short I/O) when writing SSD, in the embodiment of the present invention, I/O represents write request or read request.
For the default appointed area in cache, example default appointed area as shown in Figure 3, if employing prior art, a kind of can be the simple Jiang Zang sector SSD that writes direct, like this will produce 5 I/O: b6 is write to SSD and produce an I/O, d2 is write to SSD and produce an I/O, d8-e1 is write to SSD and produce an I/O, f1-f3 is write to SSD and produce an I/O, mono-of f8 is write to SSD and produce an I/O, and these 5 I/O need polishing while writing SSD, can produce and write punishment, these two I/O of d2 and d8-e1 may produce unnecessary rubbish page writing SSD, can produce and write amplification, equally, these two I/O of f1-f3 and f8 write and fashionablely also can produce and write amplification.
In the present embodiment, reduced as much as possible the clean sector writing in SSD, realized writing and amplified and write punishment and reduce, thereby reduced the data volume that writes SSD, realize the prolongation in the serviceable life of SSD, can also reduce the generation of I/O simultaneously, reduced overall overhead.
Fig. 6 is the structural representation of the device embodiment mono-of data writing provided by the invention, in this application of installation and memory device, this memory device comprises controller and solid state hard disc, and this controller comprises cache, this cache comprises a plurality of pages, and each page comprises a plurality of sectors.As shown in Figure 6, this device comprises: determination module 601 and writing module 602, wherein:
Determination module 601, for determining the first valid data piece at aforementioned cache device, described the first valid data piece comprises the sector of a plurality of continuous effective, data are preserved in described wired sector; In described the first valid data piece, determine the second valid data piece, described the second valid data piece refers to the valid data piece that comprises dirty sector; In described the second valid data piece, determine target effective data block, comprise a plurality of pages in described target effective data block, wherein any one page includes dirty sector.
Writing module 602, for writing solid state hard disc by the data of described target effective data block.
On the basis of above-described embodiment, determination module 601 is told all sectors of presetting appointed area in buffer described in traveling through; Obtain maximum continuous effective data block as described the first valid data piece, described the first valid data piece comprises maximum continuous effective sectors.。
It should be noted that, described dirty sector comprises the data that will write solid state hard disc, and described clean sector comprises the data that write solid state hard disc.
Above-mentioned each module is used for carrying out preceding method embodiment, and it realizes principle and technique effect is similar, does not repeat them here.
Fig. 7 is the structural representation of memory device embodiment mono-provided by the invention, this memory device 110 comprises: processor 701, storer 702, system bus (abbreviation bus) 703 and communication interface 704, connect by system bus 703 between processor 701, storer 702 and communication interface 704 and complete mutual communication.
Processor 701 can be CPU (central processing unit).Storer 702 is for storing command information.Communication interface 704 is for communicating with external unit.
In specific implementation process, the command information in processor 701 run memories 702, the method flow described in can execution graph 1.
Particularly, this processor 701, for determining the first valid data piece at aforementioned cache device, described the first valid data piece comprises the sector of a plurality of continuous effective, data are preserved in described wired sector; In described the first valid data piece, determine the second valid data piece, described the second valid data piece refers to the valid data piece that comprises dirty sector; In described the second valid data piece, determine target effective data block, comprise a plurality of pages in described target effective data block, wherein any one page includes dirty sector.Also for the data of described target effective data block are write to solid state hard disc.
On the basis of above-described embodiment, processor 701 is told all sectors of presetting appointed area in buffer described in traveling through; Obtain maximum continuous effective data block as described the first valid data piece, described the first valid data piece comprises maximum continuous effective sectors.
Wherein, described dirty sector comprises the data that will write solid state hard disc, and described clean sector comprises the data that write solid state hard disc.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of programmed instruction.Aforesaid program can be stored in a computer read/write memory medium.This program, when carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit above; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (6)

1. a method for data writing, described method is applied in memory device, and described memory device comprises controller and solid state hard disc, described controller comprises Cache, and described Cache comprises a plurality of pages, and each page comprises a plurality of sectors, it is characterized in that, described method comprises:
In described Cache, determine the first valid data piece, described the first valid data piece comprises a plurality of continuous effective sectors, and data are preserved in described effective sector;
In described the first valid data piece, determine the second valid data piece, described the second valid data piece refers to the valid data piece that comprises dirty sector;
In described the second valid data piece, determine target effective data block, comprise a plurality of pages in described target effective data block, wherein any one page includes dirty sector;
Data in described target effective data block are write to solid state hard disc.
2. method according to claim 1, is characterized in that, describedly in described Cache, determines the first valid data piece, comprising:
Travel through all sectors of default appointed area in described Cache;
Obtain maximum continuous effective data block as described the first valid data piece, described the first valid data piece comprises maximum continuous effective sectors.
3. method according to claim 2, is characterized in that, described dirty sector comprises the data that will write solid state hard disc, and described clean sector comprises the data that write solid state hard disc.
4. a device for data writing, this application of installation is in memory device, and described memory device comprises controller and solid state hard disc, described controller comprises Cache, and described Cache comprises a plurality of pages, and each page comprises a plurality of sectors, it is characterized in that, comprising:
Determination module, for determining the first valid data piece at aforementioned cache device, described the first valid data piece comprises the sector of a plurality of continuous effective, data are preserved in described wired sector; In described the first valid data piece, determine the second valid data piece, described the second valid data piece refers to the valid data piece that comprises dirty sector; In described the second valid data piece, determine target effective data block, comprise a plurality of pages in described target effective data block, wherein any one page includes dirty sector;
Writing module, for writing solid state hard disc by the data of described target effective data block.
5. device according to claim 4, is characterized in that, described determination module is told all sectors of presetting appointed area in buffer described in traveling through; Obtain maximum continuous effective data block as described the first valid data piece, described the first valid data piece comprises maximum continuous effective sectors.
6. device according to claim 5, is characterized in that, described dirty sector comprises the data that will write solid state hard disc, and described clean sector comprises the data that write solid state hard disc.
CN201310495179.8A 2013-10-18 2013-10-18 The method and device of write data Active CN103513941B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310495179.8A CN103513941B (en) 2013-10-18 2013-10-18 The method and device of write data
PCT/CN2014/080509 WO2015055020A1 (en) 2013-10-18 2014-06-23 Method and apparatus for writing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310495179.8A CN103513941B (en) 2013-10-18 2013-10-18 The method and device of write data

Publications (2)

Publication Number Publication Date
CN103513941A true CN103513941A (en) 2014-01-15
CN103513941B CN103513941B (en) 2016-08-17

Family

ID=49896741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310495179.8A Active CN103513941B (en) 2013-10-18 2013-10-18 The method and device of write data

Country Status (2)

Country Link
CN (1) CN103513941B (en)
WO (1) WO2015055020A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015055020A1 (en) * 2013-10-18 2015-04-23 华为技术有限公司 Method and apparatus for writing data
CN111399783A (en) * 2020-04-22 2020-07-10 Oppo广东移动通信有限公司 Data writing method and device of storage equipment, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819509A (en) * 2010-04-19 2010-09-01 清华大学深圳研究生院 Solid state disk read-write method
US20120331253A1 (en) * 2009-09-29 2012-12-27 Micron Technology, Inc. Stripe-based memory operation
CN103279561A (en) * 2013-06-13 2013-09-04 三珠数码软件开发(上海)有限公司 Method for increasing random database data read-write speed

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156753B (en) * 2011-04-29 2012-11-14 中国人民解放军国防科学技术大学 Data page caching method for file system of solid-state hard disc
CN102725752B (en) * 2011-10-20 2014-07-16 华为技术有限公司 Method and device for processing dirty data
CN102999441B (en) * 2012-11-15 2015-06-17 清华大学 Fine granularity memory access method
CN103513941B (en) * 2013-10-18 2016-08-17 华为技术有限公司 The method and device of write data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120331253A1 (en) * 2009-09-29 2012-12-27 Micron Technology, Inc. Stripe-based memory operation
CN101819509A (en) * 2010-04-19 2010-09-01 清华大学深圳研究生院 Solid state disk read-write method
CN103279561A (en) * 2013-06-13 2013-09-04 三珠数码软件开发(上海)有限公司 Method for increasing random database data read-write speed

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015055020A1 (en) * 2013-10-18 2015-04-23 华为技术有限公司 Method and apparatus for writing data
CN111399783A (en) * 2020-04-22 2020-07-10 Oppo广东移动通信有限公司 Data writing method and device of storage equipment, electronic equipment and storage medium
CN111399783B (en) * 2020-04-22 2024-01-16 Oppo广东移动通信有限公司 Data writing method and device of storage device, electronic device and storage medium

Also Published As

Publication number Publication date
WO2015055020A1 (en) 2015-04-23
CN103513941B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
US10114578B2 (en) Solid state disk and data moving method
US9110669B2 (en) Power management of a storage device including multiple processing cores
EP2778888B1 (en) Selecting between non-volatile memory units having different minimum addressable data unit sizes
TWI405209B (en) Data management method and flash memory stroage system and controller using the same
TWI385519B (en) Data writing method, and flash storage system and controller using the same
TWI385667B (en) Block accessing method for flash memory and storage system and controller using the same
US20160342476A1 (en) Solid state drive operations
US9400603B2 (en) Implementing enhanced performance flash memory devices
US9069474B2 (en) Retention based defecting in a hybrid memory system
CN105190567A (en) System and method for managing storage system snapshots
CN103838676B (en) Data-storage system, date storage method and PCM bridges
US9785438B1 (en) Media cache cleaning based on workload
TWI512609B (en) Methods for scheduling read commands and apparatuses using the same
CN103677670A (en) Method and device for reading data
US20140328127A1 (en) Method of Managing Non-Volatile Memory and Non-Volatile Storage Device Using the Same
CN108073522A (en) Garbage collection method for data storage device
CN110674056A (en) Garbage recovery method and device
CN103513941A (en) Method and device for writing data
JP2006236239A (en) Data processing system and data decompressing method
CN103500149A (en) Direct memory access controller and direct memory access control method
CN105320466A (en) Method for arranging operation of SSD (solid state drive)
JP5907189B2 (en) Storage control device, storage control method, and program
CN105589912A (en) Method and storage structure for processing frequently written document with MRAM (Magnetic Random Access Memory)
CN101493726B (en) Solid-state hard disk management method, apparatus and system
CN115639951A (en) Implementing automatic rate control in a memory subsystem

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant