CN104423892A - Data writing method, disk module and data writing system - Google Patents
Data writing method, disk module and data writing system Download PDFInfo
- Publication number
- CN104423892A CN104423892A CN201310384445.XA CN201310384445A CN104423892A CN 104423892 A CN104423892 A CN 104423892A CN 201310384445 A CN201310384445 A CN 201310384445A CN 104423892 A CN104423892 A CN 104423892A
- Authority
- CN
- China
- Prior art keywords
- data
- category
- cached
- data cached
- those
- 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
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000013507 mapping Methods 0.000 claims description 16
- 239000007787 solid Substances 0.000 description 8
- 230000003321 amplification Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000003199 nucleic acid amplification method Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
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
-
- 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/068—Hybrid storage device
-
- 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
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
Description
技术领域technical field
本发明是有关于一种缓存技术,且特别是有关于一种数据写入方法、硬盘模块以及数据写入系统。The present invention relates to a cache technology, and in particular to a data writing method, a hard disk module and a data writing system.
背景技术Background technique
目前市面上的大量储存装置主要可分为以磁头和磁片组成的传统硬盘(Hard Driver disk,以下简称HDD)以及以存储器(memory)组成的固态硬盘(Solid State Disk,以下简称SSD)。一般来说,由于制造传统硬盘的成本较低,故传统硬盘的容量普遍会大于固态硬盘。但对于数据存取速度来说,固态硬盘的数据存取速度却可能是传统硬盘的数倍之多。因此,越来越多的电脑系统采用固态混合硬盘(Solid State Hybrid Drive,以下简称SSHD)的混合式硬盘架构,其中是以传统硬盘作为基本的数据储存空间,并将固态硬盘作为缓存空间(cache space)来使用。At present, mass storage devices on the market can be mainly divided into traditional hard disks (Hard Driver disk, hereinafter referred to as HDD) composed of magnetic heads and disks, and solid state disks (Solid State Disk, hereinafter referred to as SSD) composed of memory. Generally speaking, due to the lower cost of manufacturing traditional hard disks, the capacity of traditional hard disks is generally greater than that of solid-state hard disks. However, in terms of data access speed, the data access speed of solid-state drives may be several times that of traditional hard drives. Therefore, more and more computer systems adopt the hybrid hard disk architecture of Solid State Hybrid Drive (SSHD), in which the traditional hard disk is used as the basic data storage space, and the solid state hard disk is used as the cache space (cache space). space) to use.
在现有的混合式硬盘架构上,固态硬盘的存储器通常由多个存储器单元构成,而为了加速数据存取的速度,单一笔数据可被拆开成多笔的数据以通过各存储器单元同时进行存取。虽然这样平行化的存取方式可增加读取速度,然而,由于数据被打散而写入至不同的存储器单元,而每个存储器单元仅储存部分的数据片段,故存储器单元会产生较多的零碎空间(fragmented space)。因此,当存储器的储存空间不足而需进行存储器管理的垃圾收集(GarbageCollection)功能时,存储器则会有高的写入放大因子(Write AmplificationFactor,以下简称WAF),进而降低固态硬盘的使用寿命。In the existing hybrid hard disk architecture, the memory of the solid-state hard disk is usually composed of multiple memory units, and in order to speed up data access, a single piece of data can be disassembled into multiple pieces of data to be processed simultaneously by each memory unit. access. Although such a parallelized access method can increase the read speed, however, since the data is scattered and written to different memory units, and each memory unit only stores a part of the data fragment, the memory unit will generate more Fragmented space. Therefore, when the storage space of the memory is insufficient and the garbage collection (GarbageCollection) function of memory management is required, the memory will have a high Write Amplification Factor (hereinafter referred to as WAF), thereby reducing the service life of the SSD.
基此,如何有效地兼顾固态硬盘的高数据存取速度与固态硬盘的使用寿命,则是相关业者在开发产品时的重要课题之一。Based on this, how to effectively take into account the high data access speed of solid-state drives and the service life of solid-state drives is one of the important issues for related companies when developing products.
发明内容Contents of the invention
本发明提供一种数据写入方法、硬盘模块以及数据写入系统,其可依据缓存数据的数据类别而提供不同的写入方式,藉以有效地提升数据存取速度,并延长硬盘模块的使用寿命。The present invention provides a data writing method, a hard disk module and a data writing system, which can provide different writing methods according to the data type of cached data, so as to effectively improve the data access speed and prolong the service life of the hard disk module .
本发明提出一种数据写入方法,适用于硬盘模块,其中硬盘模块包括多个存储器单元,数据写入方法包括以下步骤。接收缓存数据,并判断缓存数据所属的数据类别。倘若缓存数据的数据类别属于第一类别,则将缓存数据分配并写入至所述存储器单元中。倘若缓存数据的数据类别属于第二类别,则将缓存数据写入至所述存储器单元中的其中之一。The invention proposes a data writing method, which is suitable for a hard disk module, wherein the hard disk module includes a plurality of memory units, and the data writing method includes the following steps. Receive cached data and determine the data category to which the cached data belongs. If the data category of the cached data belongs to the first category, the cached data is allocated and written into the memory unit. If the data category of the cached data belongs to the second category, then write the cached data into one of the memory units.
本发明另提出一种硬盘模块,其包括存储器控制器以及多个存储器单元。所述存储器单元分别通过数据通道耦接于存储器控制器。其中,存储器控制器接收缓存数据,幷判断缓存数据所属的数据类别。倘若缓存数据的数据类别属于第一类别,则将缓存数据分配并写入至所述存储器单元中。倘若缓存数据的数据类别属于第二类别,则将缓存数据写入至所述存储器单元中的其中之一。The invention further provides a hard disk module, which includes a memory controller and a plurality of memory units. The memory units are respectively coupled to the memory controller through data channels. Wherein, the memory controller receives the cached data, and judges the data category to which the cached data belongs. If the data category of the cached data belongs to the first category, the cached data is allocated and written into the memory unit. If the data category of the cached data belongs to the second category, then write the cached data into one of the memory units.
本发明另提出一种数据写入系统,其包括主机以及第一硬盘模块,其中第一硬盘模块耦接于主机。第一硬盘模块包括存储器控制器与多个存储器单元,而所述存储器单元分别通过数据通道耦接于存储器控制器。其中,存储器控制器自主机接收缓存数据,并判断缓存数据所属的数据类别。倘若缓存数据的数据类别属于第一类别,则存储器控制器将缓存数据分配幷写入至所述存储器单元中。倘若缓存数据的数据类别属于第二类别,则存储器控制器将缓存数据写入至所述存储器单元中的其中之一。The present invention further provides a data writing system, which includes a host and a first hard disk module, wherein the first hard disk module is coupled to the host. The first hard disk module includes a memory controller and a plurality of memory units, and the memory units are respectively coupled to the memory controller through data channels. Wherein, the memory controller receives the cached data from the host, and determines the data category to which the cached data belongs. If the data category of the cached data belongs to the first category, the memory controller allocates and writes the cached data into the memory unit. If the data category of the cached data belongs to the second category, the memory controller writes the cached data into one of the memory units.
基于上述,本发明的数据写入方法、硬盘模块以及数据写入系统,可根据缓存数据的数据类别,而将缓存数据分配并写入至多个存储器单元,或者将缓存数据写入至同一个存储器单元,藉以有效地提升数据存取速度,幷延长硬盘模块的使用寿命。Based on the above, the data writing method, hard disk module and data writing system of the present invention can allocate and write the cached data to multiple memory units according to the data type of the cached data, or write the cached data to the same memory unit, so as to effectively increase the data access speed and prolong the service life of the hard disk module.
为让本发明的上述特征和优点能更明显易懂,下文特举实施例,幷配合附图说明作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with accompanying drawings.
附图说明Description of drawings
图1是依照本发明一实施例所绘示的数据写入系统方块图;FIG. 1 is a block diagram of a data writing system according to an embodiment of the present invention;
图2是依照本发明一实施例所绘示的数据写入方法流程图;FIG. 2 is a flowchart of a data writing method according to an embodiment of the present invention;
图3是依照本发明一实施例所绘示的数据写入系统方块图;FIG. 3 is a block diagram of a data writing system according to an embodiment of the present invention;
图4是依照本发明一实施例所绘示的数据写入方法流程图。FIG. 4 is a flowchart of a data writing method according to an embodiment of the invention.
附图标记说明:Explanation of reference signs:
1000、3000:数据写入系统;1000, 3000: data written into the system;
10、30:主机;10, 30: Host;
100、300A:第一硬盘模块;100, 300A: the first hard disk module;
110、310:存储器控制器;110, 310: memory controller;
121、122、123、124、321、322、323、324:存储器单元;121, 122, 123, 124, 321, 322, 323, 324: memory units;
300B:第二硬盘模块;300B: the second hard disk module;
CH1、CH2、CH3、CH4:数据通道;CH1, CH2, CH3, CH4: data channel;
S202、S204、S206、S208、S402、S404、S406、S408、S410、S412、S414:数据写入方法的各步骤。S202, S204, S206, S208, S402, S404, S406, S408, S410, S412, S414: each step of the data writing method.
具体实施方式Detailed ways
在固态混合硬盘中,普遍会将存取频率较高的缓存数据缓存到固态硬盘中,以通过固态硬盘的高数据存取速度的特性来提升电脑系统整体的数据存取速度。而对于这些存取到固态硬盘中的缓存数据而言,基于使用频繁度,又可进一步做区分成效能导向(Performance Orientation)的缓存数据,以及信赖度导向(Reliability Orientation)的缓存数据,其中效能导向的缓存数据需要较高数据存取速度。倘若固态硬盘能根据上述缓存数据的数据类别,以不同的写入方式写入缓存数据,势必可兼顾数据存取速度以及固态硬盘的使用寿命。本发明便是基于上述观点而提出的数据写入方法、硬盘模块以及数据写入系统。为了使本发明的内容更为明了,以下特举实施例做为本发明确实能够据以实施的范例。In the solid-state hybrid hard disk, cache data with high access frequency is generally cached in the solid-state hard disk, so as to improve the overall data access speed of the computer system through the high data access speed characteristics of the solid-state hard disk. As for the cached data accessed to the SSD, based on the frequency of use, further distinctions can be made between performance-oriented (Performance Orientation) cached data and reliability-oriented (Reliability Orientation) cached data. Oriented cache data requires high data access speed. If the solid-state hard drive can write cached data in different ways according to the data type of the above-mentioned cached data, it is bound to take into account the data access speed and the service life of the solid-state hard drive. The present invention is a data writing method, a hard disk module and a data writing system proposed based on the above viewpoint. In order to make the content of the present invention more clear, the following specific examples are given as examples in which the present invention can indeed be implemented.
图1是依照本发明一实施例所绘示的数据写入系统方块图。请参照图1,数据写入系统1000包括主机10以及第一硬盘模块100。FIG. 1 is a block diagram of a data writing system according to an embodiment of the present invention. Please refer to FIG. 1 , a data writing system 1000 includes a host 10 and a first hard disk module 100 .
主机10例如是台式电脑、笔记本电脑、平板电脑、个人数码助理(personaldigital assistant,以下简称PDA)、手机、数码相机、游戏机,或各种具备运算处理能力的电子装置,在此幷不限制其种类。此外,主机10具有作业系统与中央处理器(Central Processing Unit,以下简称CPU),以管理主机10的硬体及软体资源。The host 10 is, for example, a desktop computer, a notebook computer, a tablet computer, a personal digital assistant (hereinafter referred to as PDA), a mobile phone, a digital camera, a game machine, or various electronic devices with computing and processing capabilities, and it is not limited here. type. In addition, the host 10 has an operating system and a central processing unit (Central Processing Unit, referred to as CPU hereinafter) to manage hardware and software resources of the host 10 .
第一硬盘模块100可做为储存放置各种缓存数据(cache data)的缓存空间(cache space),其中第一硬盘模块100例如是以快闪存储器(flash memory)作为储存媒介的快闪存储器储存装置,例如固态硬盘(Solid State Disk,以下简称SSD)。此外,第一硬盘模块100可设置于主机10的内部,并与主机10电性连接。或者,第一硬盘模块100也可以利用外接的方式与主机10电性连接,例如,通过通用序列汇流排(Universal Serial Bus,以下简称USB)等各式汇流排与主机10电性连接等等,本发明不对其限制。The first hard disk module 100 can be used as a cache space (cache space) for storing and placing various cache data (cache data), wherein the first hard disk module 100 is, for example, a flash memory with a flash memory (flash memory) as a storage medium. device, such as a solid state disk (Solid State Disk, hereinafter referred to as SSD). In addition, the first hard disk module 100 can be disposed inside the host 10 and electrically connected to the host 10 . Alternatively, the first hard disk module 100 may also be electrically connected to the host 10 in an external manner, for example, electrically connected to the host 10 through various buses such as a Universal Serial Bus (hereinafter referred to as USB), etc. The present invention is not limited thereto.
第一硬盘模块100包括存储器控制器110与多个存储器单元。为了方便说明,在此以存储器单元121、122、123及124为例,但本实施例幷不限制存储器单元的数量。The first hard disk module 100 includes a memory controller 110 and a plurality of memory units. For the convenience of description, the memory units 121 , 122 , 123 and 124 are taken as examples here, but this embodiment does not limit the number of memory units.
存储器控制器110可利用嵌入式系统芯片(System On Chip,以下简称SOC)来实现,其用以执行以硬体型式或韧体型式实作的多个逻辑闸或控制指令,幷且根据主机10的指令在存储器单元121、122、123及124中进行数据的写入、读取与抹除等运作。在此,存储器控制器110会根据本实施例的数据写入方法来将数据写入于存储器单元121、122、123及124。此外,存储器控制器110会维护一个逻辑转物理地址映射表(logical to physical addressmapping table),以记录缓存数据的逻辑地址与物理地址的映射关系,而当主机10欲存取某一逻辑地址时,存储器控制器110便可根据逻辑转物理地址映射表,于对应的存储器单元121、122、123及124中存取数据。The memory controller 110 can be implemented by an embedded system chip (System On Chip, hereinafter referred to as SOC), which is used to execute a plurality of logic gates or control instructions implemented in hardware or firmware, and according to the host 10 The instructions in the memory units 121 , 122 , 123 and 124 perform operations such as writing, reading and erasing data. Here, the memory controller 110 writes data into the memory units 121 , 122 , 123 and 124 according to the data writing method of this embodiment. In addition, the memory controller 110 will maintain a logical to physical address mapping table (logical to physical address mapping table) to record the mapping relationship between the logical address and the physical address of the cached data, and when the host 10 wants to access a certain logical address, The memory controller 110 can then access data in the corresponding memory units 121 , 122 , 123 and 124 according to the logical-to-physical address mapping table.
存储器单元121、122、123及124分别例如是单阶存储单元(Single LevelCell,SLC)NAND型快闪存储器、多阶存储单元(Multi Level Cell,以下简称MLC)NAND型快闪存储器、三阶存储单元(Trinary Level Cell,以下简称TLC)NAND型快闪存储器或其他具有相同特性的型快闪存储器。其中,SLCNAND型快闪存储器的每个存储单元可储存1个比特的数据(即,“1”与“0”),MLC NAND型快闪存储器的每个存储单元可储存2个比特的数据,而TLCNAND型快闪存储器的每个存储单元可储存3个比特的数据。此外,存储器单元121、122、123及124可分别通过数据通道CH1、CH2、CH3及CH4耦接于存储器控制器110,而每一个存储器单元121、122、123及124具有多个物理区块以储存主机10所写入的数据。所述的每一物理区块分别具有多个物理页面,其中属于同一个物理区块的物理页面可被独立地写入且被同时地抹除。Memory units 121, 122, 123, and 124 are, for example, single-level storage unit (Single Level Cell, SLC) NAND flash memory, multi-level storage unit (Multi Level Cell, hereinafter referred to as MLC) NAND flash memory, third-level storage unit, etc. Cell (Trinary Level Cell, hereinafter referred to as TLC) NAND flash memory or other flash memory with the same characteristics. Among them, each storage unit of the SLC NAND flash memory can store 1 bit of data (that is, "1" and "0"), and each storage unit of the MLC NAND flash memory can store 2 bits of data, However, each storage unit of the TLC NAND flash memory can store 3 bits of data. In addition, the memory units 121, 122, 123, and 124 are respectively coupled to the memory controller 110 through data channels CH1, CH2, CH3, and CH4, and each of the memory units 121, 122, 123, and 124 has a plurality of physical blocks to Data written by the host 10 is stored. Each of the physical blocks has a plurality of physical pages, wherein the physical pages belonging to the same physical block can be written independently and erased simultaneously.
在本实施例中,当第一硬盘模块100接收来自主机10的缓存数据时,存储器控制器110会判断这个缓存数据所属的数据类别。倘若这个缓存数据是属于极为重视读取速度(即效能导向)的缓存数据时,例如windows应用程序的执行档等,则存储器控制器110会将这个缓存数据,通过不同的数据通道CH1、CH2、CH3及CH4写入至不同的存储器单元121、122、123及124,藉以发挥第一硬盘模块100的高数据存取速度的效能。另一方面,倘若这个缓存数据是属于非极度重视读取速度(即信赖度导向)的缓存数据,或此缓存数据的文件大小超过预设值(例如128KB),则存储器控制器110会将此缓存数据,通过同一个数据通道写入至同一个存储器单元中,藉以延长第一硬盘模块100的使用寿命而提升信赖度。In this embodiment, when the first hard disk module 100 receives cached data from the host 10, the memory controller 110 will determine the data category to which the cached data belongs. If the cached data belongs to the cached data that attaches great importance to the reading speed (that is, performance-oriented), such as the execution file of the windows application program, etc., the memory controller 110 will pass the cached data through different data channels CH1, CH2, CH3 and CH4 are written into different memory units 121 , 122 , 123 and 124 so as to utilize the high data access speed performance of the first hard disk module 100 . On the other hand, if the cached data belongs to the cached data that does not attach great importance to the read speed (that is, reliability-oriented), or the file size of the cached data exceeds a preset value (for example, 128KB), the memory controller 110 will store this The cached data is written into the same memory unit through the same data channel, so as to prolong the service life of the first hard disk module 100 and improve the reliability.
底下即搭配上述数据写入系统1000来说明本实施例的数据写入方法的各步骤。图2是依照本发明一实施例所绘示的数据写入方法流程图。请参照图1及图2,于步骤S202,存储器控制器110接收缓存数据。于步骤S204,存储器控制器110会判断缓存数据所属的数据类别。具体而言,缓存数据所属的数据类别,会根据缓存数据被写入至存储器单元121、122、123及124的写入方式而被区分成第一类别或第二类别。亦即,属于第一类别的缓存数据,会被存储器控制器110分配并写入至存储器单元121、122、123及124,而属于第二类别的缓存数据,会被存储器控制器110写入至存储器单元121、122、123及124中的其中一个存储器单元。在本实施例中,第一类别的缓存数据例如是属于极为重视读取速度的效能导向的缓存数据,而第二类别的缓存数据例如是属于非极度重视读取速度的信赖度导向的缓存数据。The steps of the data writing method of this embodiment will be described below in conjunction with the data writing system 1000 described above. FIG. 2 is a flowchart of a data writing method according to an embodiment of the invention. Referring to FIG. 1 and FIG. 2 , in step S202 , the memory controller 110 receives cached data. In step S204, the memory controller 110 determines the data category to which the cached data belongs. Specifically, the data category to which the cached data belongs is classified into the first category or the second category according to the writing method of the cached data to the memory units 121 , 122 , 123 and 124 . That is, the cached data belonging to the first category will be allocated by the memory controller 110 and written into the memory units 121, 122, 123, and 124, while the cached data belonging to the second category will be written into the memory unit 110 by the memory controller 110. One of the memory units 121 , 122 , 123 and 124 . In this embodiment, the cache data of the first category is, for example, performance-oriented cache data that attaches great importance to read speed, and the cache data of the second category is, for example, reliability-oriented cache data that does not attach great importance to read speed. .
需说明的是,主机10可设定缓存数据所属的数据类别为第一类别或第二类别,藉以设定哪一种缓存数据是要被存储器控制器110分配并写入至不同的存储器单元121、122、123及124,或者被存储器控制器110写入至同一个存储器单元。举例来说,主机10可根据缓存数据的文件类型、文件大小、使用频率等,来设定缓存数据的数据类别。例如,若缓存数据为windows应用程序的执行档等,则会被主机10设定为第一类别;若缓存数据为使用者文件(例如其文件格式为*.docx、*.pdf或*.xlsx等),因所述文件会被连续频繁开启的机率较小,故会被主机10设定为第二类别。又例如,若缓存数据的文件大小未超过128KB,则会被主机10设定为第一类别;若缓存数据的文件大小超过128KB,则会被主机10设定为第二类别。当然,主机10亦可根据使用者的设定,将属于极为重视读取速度的缓存数据设定为第一类别,而将属于非极度重视读取速度的缓存资设定为第二类别。上述缓存数据的数据类别的设定方式为举例说明,本实施例并不限于此。It should be noted that the host 10 can set the data category of the cached data as the first category or the second category, so as to set which type of cached data is to be allocated by the memory controller 110 and written into different memory units 121 , 122, 123 and 124, or are written to the same memory unit by the memory controller 110. For example, the host 10 can set the data category of the cached data according to the file type, file size, usage frequency, etc. of the cached data. For example, if the cached data is an executable file of a windows application program, etc., it will be set as the first category by the host 10; if the cached data is a user file (for example, its file format is * .docx, * .pdf or * . etc.), because the probability that the file will be continuously and frequently opened is small, it will be set as the second category by the host computer 10. For another example, if the file size of the cached data does not exceed 128KB, it will be set as the first category by the host 10; if the file size of the cached data exceeds 128KB, it will be set as the second category by the host 10. Certainly, the host computer 10 can also set the cache data that is highly valued on the read speed as the first category, and set the cache data that is not very important on the read speed as the second category according to the settings of the user. The above method of setting the data type of the cached data is an example, and this embodiment is not limited thereto.
在本实施例中,主机10可根据缓存数据的文件类型、文件大小、使用频率等,在缓存数据的预设比特中标记不同的标记值,藉以设定缓存数据所属的数据类别。如此一来,存储器控制器110便可根据缓存数据的预设比特中的标记值,来判断此缓存数据所属的数据类别是第一类别或第二类别。举例来说,倘若主机10设定缓存数据的预设比特的标记值为第一值,例如为“0”,则存储器控制器110会判断缓存数据所属的数据类别为第一类别。另一方面,倘若主机10设定缓存数据的预设比特的标记值为第二值,例如为“1”,则存储器控制器110会判断缓存数据所属的数据类别为第二类别。必须了解的是,本实施例的标记值不限于“0”或“1”,并且,存储器控制器110亦可根据缓存数据中所标记的其他任意态样,来判断缓存数据所属的数据类别为第一类别或第二类别。In this embodiment, the host 10 can mark different flag values in preset bits of the cached data according to the file type, file size, usage frequency, etc. of the cached data, so as to set the data category to which the cached data belongs. In this way, the memory controller 110 can determine whether the data category of the cached data belongs to the first category or the second category according to the flag value in the preset bit of the cached data. For example, if the host 10 sets the flag value of the preset bit of the cached data to a first value, such as “0”, the memory controller 110 will determine that the data category of the cached data belongs to the first category. On the other hand, if the host 10 sets the flag value of the preset bit of the cached data to a second value, such as “1”, the memory controller 110 will determine that the data category of the cached data belongs to the second category. It must be understood that the tag value in this embodiment is not limited to "0" or "1", and the memory controller 110 can also determine the data category of the cached data according to any other aspect marked in the cached data. first class or second class.
接着,于步骤S204,倘若存储器控制器110判断缓存数据的数据类别属于第一类别,则如步骤S206所示,存储器控制器110会将缓存数据分配并写入至存储器单元121、122、123及124中。在此,存储器控制器110会根据逻辑转物理地址映射表,取得缓存数据的多个逻辑地址(例如,逻辑块地址(logical block address,以下简称LBA)所对应的多个第一物理地址,其中这些第一物理地址分别属于不同的存储器单元121、122、123及124。幷且,存储器控制器110会将缓存数据中对应于上述逻辑地址的多个数据片段,根据上述第一物理地址,通过各数据通道CH1、CH2、CH3及CH4写入至不同的存储器单元121、122、123及124中。Next, in step S204, if the memory controller 110 determines that the data category of the cached data belongs to the first category, then as shown in step S206, the memory controller 110 will allocate and write the cached data to the memory units 121, 122, 123 and 124 in. Here, the memory controller 110 obtains a plurality of first physical addresses corresponding to a plurality of logical addresses (for example, a logical block address (hereinafter referred to as LBA) of the cached data according to the logical-to-physical address mapping table, wherein These first physical addresses belong to different memory units 121, 122, 123, and 124 respectively. And, the memory controller 110 will cache multiple data fragments corresponding to the above-mentioned logical addresses according to the above-mentioned first physical addresses, through Each data channel CH1 , CH2 , CH3 and CH4 is written into different memory units 121 , 122 , 123 and 124 .
举例来说,底下表一为说明逻辑转物理地址映射表的逻辑地址与第一物理地址的映射关系。请参照表一,假设缓存数据中的数据片段分别对应于逻辑地址L(100)、L(101)、L(102)及L(103),且逻辑地址L(100)、L(101)、L(102)及L(103)分别映射到第一物理地址P(201)、P(301)、P(401)及P(501),其中第一物理地址P(201)、P(301)、P(401)及P(501)依序属于存储器单元121、122、123及124。在此,存储器控制器110会将位于逻辑地址L(100)、L(101)、L(102)及L(103)上的数据片段,依据第一物理地址P(201)、P(301)、P(401)及P(501),而分别写入至存储器单元121、122、123及124。换言之,假设缓存数据的文件大小为10MB,则存储器控制器110可将缓存数据区分为四份数据,其中每一份数据的文件大小例如是2.5MB,或者每一份数据可具有不同的文件大小。幷且,存储器控制器110会将这四份数据分别写入至存储器单元121、122、123及124中。如此一来,根据数据分配的概念,存储器控制器110可通过各数据通道CH1、CH2、CH3及CH4,快速且平行化地将缓存数据写入至不同的存储器单元121、122、123及124。此外,当主机10欲读取第一硬盘模块100中的缓存数据时,存储器控制器110便可通过各数据通道CH1、CH2、CH3以及CH4,平行化地读取分散于存储器单元121、122、123及124的缓存数据的各数据片段。藉此,存储器控制器110可提高存取缓存数据的速度。For example, Table 1 below illustrates the mapping relationship between the logical address and the first physical address in the logical-to-physical address mapping table. Please refer to Table 1, assuming that the data segments in the cache data correspond to logical addresses L(100), L(101), L(102) and L(103), respectively, and the logical addresses L(100), L(101), L(102) and L(103) are respectively mapped to the first physical addresses P(201), P(301), P(401) and P(501), wherein the first physical addresses P(201), P(301) , P(401) and P(501) belong to memory cells 121, 122, 123 and 124 in sequence. Here, the memory controller 110 transfers the data segments located at the logical addresses L(100), L(101), L(102) and L(103) according to the first physical addresses P(201), P(301) , P(401) and P(501), and write to the memory units 121, 122, 123 and 124 respectively. In other words, assuming that the file size of the cached data is 10MB, the memory controller 110 may divide the cached data into four pieces of data, wherein the file size of each piece of data is, for example, 2.5MB, or each piece of data may have a different file size . And, the memory controller 110 writes these four pieces of data into the memory units 121 , 122 , 123 and 124 respectively. In this way, according to the concept of data allocation, the memory controller 110 can quickly and parallelize write the cached data to different memory units 121 , 122 , 123 and 124 through the data channels CH1 , CH2 , CH3 and CH4 . In addition, when the host 10 intends to read the cached data in the first hard disk module 100, the memory controller 110 can parallelize the read data distributed in the memory units 121, 122, 123 and 124 of each data segment of cached data. Thereby, the memory controller 110 can increase the speed of accessing cached data.
表一Table I
需说明的是,在步骤S204中,本实施例并不限定将缓存数据写入至第一硬盘模块100所具有的所有存储器单元,亦即,只要缓存数据中的数据片段可分别被写入至第一硬盘模块100中的两个以上的存储器单元,皆属于本发明的范畴。此外,为了增进存取缓存数据的速度,存储器控制器110可根据存储器单元的数目,将缓存数据平均/非平均地分配至第一硬盘模块100所具有的多个存储器单元。It should be noted that in step S204, this embodiment is not limited to write the cached data to all the memory units of the first hard disk module 100, that is, as long as the data segments in the cached data can be respectively written into More than two memory units in the first hard disk module 100 all belong to the scope of the present invention. In addition, in order to increase the speed of accessing the cached data, the memory controller 110 can evenly/unequally distribute the cached data to the multiple memory units of the first hard disk module 100 according to the number of memory units.
另一方面,倘若存储器控制器110判断缓存数据的数据类别属于第二类别,则如步骤S208所示,存储器控制器110会将缓存数据写入至存储器单元121、122、123及124中的其中一个存储器单元。在此,存储器控制器110会根据逻辑转物理地址映射表,取得缓存数据的多个逻辑地址所分别对应的多个第二物理地址,其中这些第二物理地址属于存储器单元121、122、123及124中的其中之一个存储器单元(以存储器单元P表示)。幷且,存储器控制器110会将缓存数据中的多个数据片段,根据第二物理地址,写入至存储器单元P中。On the other hand, if the memory controller 110 determines that the data category of the cached data belongs to the second category, then as shown in step S208, the memory controller 110 will write the cached data into one of the memory units 121, 122, 123, and 124. a memory cell. Here, the memory controller 110 obtains a plurality of second physical addresses corresponding to the plurality of logical addresses of the cached data according to the logical-to-physical address mapping table, wherein the second physical addresses belong to the memory units 121, 122, 123 and One of the memory units in 124 (represented by memory unit P). Moreover, the memory controller 110 writes multiple data segments in the cached data into the memory unit P according to the second physical address.
举例来说,底下表二为说明逻辑转物理地址映射表的逻辑地址与第二物理地址的映射关系。请参照表二,假设缓存数据中的数据片段分别对应于逻辑地址L(100)、L(101)、L(102)及L(103),且逻辑地址L(100)、L(101)、L(102)及L(103)分别映射到第二物理地址P(201)、P(202)、P(203)及P(204),其中假设第二物理地址P(201)、P(202)、P(203)及P(204)皆属于存储器单元121。在此,存储器控制器110会将位于逻辑地址L(100)、L(101)、L(102)及L(103)上的数据片段,依据第二物理地址P(201)、P(202)、P(203)及P(204),而写入至存储器单元121中。换言之,假设缓存数据的文件大小为10MB,则存储器控制器110会将整个10MB的缓存数据写入至存储器单元121。如此一来,由于写入至同一个存储器单元中的缓存数据可连续且完整,因此对于第一硬盘模块100而言,可减少零碎空间(fragmented space)产生,幷降低垃圾回收(Garbage Collection,以下简称GC)的频率与成本。藉此,本实施例可降低第一硬盘模块100中的存储单元的抹除次数(Erase count),幷有效抑制写入放大因子(Write Amplification Factor,以下简称WAF),进而延长第一硬盘模块100的使用寿命,且提高第一硬盘模块100的信赖度。For example, Table 2 below illustrates the mapping relationship between the logical address and the second physical address in the logical-to-physical address mapping table. Please refer to Table 2, assuming that the data segments in the cache data correspond to logical addresses L(100), L(101), L(102) and L(103), respectively, and the logical addresses L(100), L(101), L(102) and L(103) are respectively mapped to the second physical addresses P(201), P(202), P(203) and P(204), wherein it is assumed that the second physical addresses P(201), P(202 ), P(203) and P(204) all belong to the memory unit 121. Here, the memory controller 110 will transfer the data segments located at the logical addresses L(100), L(101), L(102) and L(103) according to the second physical addresses P(201), P(202) , P(203) and P(204), and are written into the memory unit 121. In other words, assuming that the file size of the cached data is 10MB, the memory controller 110 will write the entire 10MB cached data into the memory unit 121 . In this way, since the cache data written into the same memory unit can be continuous and complete, for the first hard disk module 100, the generation of fragmented space can be reduced, and garbage collection (Garbage Collection, hereinafter) can be reduced. GC for short) frequency and cost. In this way, this embodiment can reduce the erasing times (Erase count) of the storage unit in the first hard disk module 100, and effectively suppress the write amplification factor (Write Amplification Factor, hereinafter referred to as WAF), thereby extending the length of the first hard disk module 100. service life and improve the reliability of the first hard disk module 100 .
表二Table II
基于上述,存储器控制器110可根据缓存数据的数据类别,以不同的写入方式将属于第一类别(例如效能导向)的缓存数据打散而写入至存储器单元121、122、123及124中,以及将属于第二类别(例如信赖度导向)的缓存数据写入至相同的一个存储器单元。如此一来,当存取效能导向的缓存数据时,第一硬盘模块100可提供较高的数据存取速度,而当存取信赖度导向的缓存数据时,第一硬盘模块100可有效抑制写入放大因子。藉此,本实施例可同时兼顾数据存取速度以及第一硬盘模块100的使用寿命。Based on the above, the memory controller 110 can break up the cached data belonging to the first category (for example, performance-oriented) into the memory units 121, 122, 123, and 124 in different writing methods according to the data category of the cached data. , and write cached data belonging to the second category (eg, reliability-oriented) to the same memory unit. In this way, when accessing performance-oriented cache data, the first hard disk module 100 can provide a higher data access speed, and when accessing reliability-oriented cache data, the first hard disk module 100 can effectively suppress writes. Enter the magnification factor. In this way, the present embodiment can simultaneously take into account the data access speed and the service life of the first hard disk module 100 .
图3是依照本发明一实施例所绘示的数据写入系统方块图。请参照图3,数据写入系统3000包括主机30、第一硬盘模块300A以及第二硬盘模块300B,其中第一硬盘模块300A的数据存取速度会高于第二硬盘模块300B。在本实施例中,主机30与第一硬盘模块300A的功能与前述实施例中的主机10与第一硬盘模块100相同或相似,故在此不再赘述。FIG. 3 is a block diagram of a data writing system according to an embodiment of the present invention. Referring to FIG. 3 , the data writing system 3000 includes a host 30 , a first hard disk module 300A and a second hard disk module 300B, wherein the data access speed of the first hard disk module 300A is higher than that of the second hard disk module 300B. In this embodiment, the functions of the host 30 and the first hard disk module 300A are the same or similar to those of the host 10 and the first hard disk module 100 in the foregoing embodiments, so they are not repeated here.
与前述实施例不同的是,数据写入系统3000更配置有第二硬盘模块300B。第二硬盘模块300B例如是以磁盘作为储存媒介的磁盘储存单元,例如硬盘(Hard Disk Drive,以下简称HDD)。此外,第二硬盘模块300B可与第一硬盘模块300A,整合为一个由不同数据存取速度的任两个或两个以上的储存媒体组合而成的数据储存装置,例如是固态混合硬盘(Solid StateHybrid Drive,以下简称SSHD),以供使用者储存各种数据。在本实施例中,由于第一硬盘模块300A的数据存取速度高于第二硬盘模块300B的数据存取速度,因此,第一硬盘模块300A可做为储存放置各种缓存数据的缓存空间,而第二硬盘模块300B可做为储存大部份数据的基本储存空间。Different from the foregoing embodiments, the data writing system 3000 is further configured with a second hard disk module 300B. The second hard disk module 300B is, for example, a disk storage unit using a disk as a storage medium, such as a Hard Disk Drive (hereinafter referred to as HDD). In addition, the second hard disk module 300B and the first hard disk module 300A can be integrated into a data storage device composed of any two or more storage media with different data access speeds, such as a solid state hybrid hard disk (Solid StateHybrid Drive, hereinafter referred to as SSHD), for users to store various data. In this embodiment, since the data access speed of the first hard disk module 300A is higher than that of the second hard disk module 300B, the first hard disk module 300A can be used as a cache space for storing and placing various cache data, The second hard disk module 300B can be used as a basic storage space for storing most of the data.
底下即搭配上述数据写入系统3000来说明本实施例的数据写入方法的各步骤。图4是依照本发明一实施例所绘示的数据写入方法流程图。请参照图3与图4,于步骤S402中,主机30会取得欲写入数据的数据存取类型。其中,主机30例如是根据欲写入数据的文件类型、文件大小、使用频率或写入指令等,藉以判断欲写入数据的数据存取类型,是否属于数据存取速度较高的缓存数据。于步骤S404中,主机30会根据欲写入数据的数据类型,选择将欲写入数据写入至第一硬盘模块300A或第二硬盘模块300B。倘若欲写入数据不属于缓存数据,则如步骤S406所示,主机30会将欲写入数据写入至第二硬盘模块300B。在此,由于第二硬盘模块300B可提供较高的储存容量,故可满足使用者对储存容量的需求。The steps of the data writing method of this embodiment will be described below in conjunction with the data writing system 3000 described above. FIG. 4 is a flowchart of a data writing method according to an embodiment of the invention. Referring to FIG. 3 and FIG. 4 , in step S402 , the host 30 obtains the data access type of the data to be written. Wherein, the host 30 judges whether the data access type of the data to be written belongs to the cache data with high data access speed according to the file type, file size, usage frequency or write command of the data to be written, for example. In step S404, the host 30 selects to write the data to be written into the first hard disk module 300A or the second hard disk module 300B according to the data type of the data to be written. If the data to be written does not belong to cache data, as shown in step S406, the host 30 will write the data to be written into the second hard disk module 300B. Here, since the second hard disk module 300B can provide higher storage capacity, it can meet the user's demand for storage capacity.
另一方面,倘若欲写入数据属于缓存数据,则如步骤S408所示,主机30会将欲写入数据写入至第一硬盘模块300A,藉以提供较高的数据存取速度。接着,于步骤S410,第一硬盘模块300A中的存储器控制器310会判断缓存数据所属的数据类别。并且,倘若存储器控制器310判断缓存数据的数据类别属于第一类别,则如步骤S412所示,存储器控制器410会将缓存数据分配并写入至存储器单元421、422、423及424。另一方面,倘若存储器控制器310判断缓存数据的数据类别属于第二类别,则如步骤S414所示,存储器控制器410会将缓存数据写入至存储器单元421、422、423及424中的其中一个存储器单元。上述的步骤S408~S414与前述实施例的步骤S202~S208相同或相似,故在此不再赘述。On the other hand, if the data to be written belongs to cache data, as shown in step S408 , the host 30 will write the data to be written into the first hard disk module 300A, so as to provide higher data access speed. Next, in step S410 , the memory controller 310 in the first hard disk module 300A determines the data category to which the cached data belongs. Moreover, if the memory controller 310 determines that the data category of the cached data belongs to the first category, as shown in step S412 , the memory controller 410 allocates and writes the cached data to the memory units 421 , 422 , 423 and 424 . On the other hand, if the memory controller 310 determines that the data category of the cached data belongs to the second category, then as shown in step S414, the memory controller 410 will write the cached data into one of the memory units 421, 422, 423, and 424. a memory cell. The above-mentioned steps S408-S414 are the same or similar to the steps S202-S208 of the foregoing embodiment, so they will not be repeated here.
在本实施例中,主机30能适当地选择将欲写入数据写入至第一硬盘模块300A或第二硬盘模块300B,据此发挥不同类型的硬盘模块的优势。此外,第一硬盘模块300A更可将所写入的数据进一步分类,以将数据分配地写入至第一硬盘模块300A中的不同存储器单元421、422、423及424中或同一个存储器单元。藉此,本实施例可同时兼顾数据存取速度以及延长第一硬盘模块300A的使用寿命。In this embodiment, the host 30 can properly choose to write the data to be written into the first hard disk module 300A or the second hard disk module 300B, thereby taking advantages of different types of hard disk modules. In addition, the first hard disk module 300A can further classify the written data so that the data can be distributed and written to different memory units 421 , 422 , 423 and 424 or the same memory unit in the first hard disk module 300A. Thus, this embodiment can simultaneously take into account the data access speed and prolong the service life of the first hard disk module 300A.
综上上述,在本实施例的数据写入方法、硬盘模块以及数据写入系统中,主机会根据欲写入数据的数据存取类型而将缓存数据写入至以存储器作为储存媒介的硬盘模块。其中,硬盘模块的存储器控制器可根据缓存数据的数据类别,进一步判断此缓存数据是属于效能导向(即第一类别)的缓存数据或属于信赖度导向(即第二类别)的缓存数据。幷且,存储器控制器会利用数据分配的概念将属于效能导向的缓存数据写入至不同的存储器单元,而将属于信赖度导向的缓存数据循序写入至同一个存储器单元。如此一来,当硬盘模块存取效能导向的缓存数据时,硬盘模块可提供较高的数据存取速度,而当硬盘模块存取信赖度导向的缓存数据,硬盘模块可有效抑制写入放大因子。藉此,本发明可同时兼顾数据存取速度以及硬盘模块的使用寿命。To sum up, in the data writing method, hard disk module, and data writing system of this embodiment, the host will write the cached data to the hard disk module using the memory as the storage medium according to the data access type of the data to be written. . Wherein, the memory controller of the hard disk module can further determine whether the cached data belongs to performance-oriented (ie, the first category) or reliability-oriented (ie, the second category) cache data according to the data category of the cached data. Moreover, the memory controller uses the concept of data allocation to write performance-oriented cache data into different memory units, and sequentially writes reliability-oriented cache data into the same memory unit. In this way, when the hard disk module accesses performance-oriented cache data, the hard disk module can provide higher data access speed, and when the hard disk module accesses reliability-oriented cache data, the hard disk module can effectively suppress the write amplification factor . Thereby, the present invention can simultaneously take into account the data access speed and the service life of the hard disk module.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310384445.XA CN104423892A (en) | 2013-08-29 | 2013-08-29 | Data writing method, disk module and data writing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310384445.XA CN104423892A (en) | 2013-08-29 | 2013-08-29 | Data writing method, disk module and data writing system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104423892A true CN104423892A (en) | 2015-03-18 |
Family
ID=52973008
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310384445.XA Pending CN104423892A (en) | 2013-08-29 | 2013-08-29 | Data writing method, disk module and data writing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104423892A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775488A (en) * | 2016-12-27 | 2017-05-31 | 维沃移动通信有限公司 | The storage method and mobile terminal of a kind of file |
CN111373381A (en) * | 2017-10-23 | 2020-07-03 | 美光科技公司 | Host acceleration operation in managed NAND devices |
CN115657972A (en) * | 2022-12-27 | 2023-01-31 | 北京特纳飞电子技术有限公司 | Solid state disk writing control method and device and solid state disk |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5724552A (en) * | 1993-07-16 | 1998-03-03 | Kabushiki Kaisha Toshiba | Disk array management unit for distributively recording data in a plurality of disks depending on the data access frequency |
US20090006725A1 (en) * | 2006-12-15 | 2009-01-01 | Takafumi Ito | Memory device |
TW201042640A (en) * | 2009-05-27 | 2010-12-01 | Waremax Electronics Corp | Hard disk drive device capable of increasing the execution efficiency, and its read/write method |
CN101968754A (en) * | 2009-07-27 | 2011-02-09 | 英业达股份有限公司 | Disk array reconstruction method |
CN102023809A (en) * | 2009-09-21 | 2011-04-20 | 成都市华为赛门铁克科技有限公司 | Storage system, method for reading data from storage system and method for writing data to storage system |
US20110196833A1 (en) * | 2010-02-09 | 2011-08-11 | Alexandre Drobychev | Storage of Data In A Distributed Storage System |
-
2013
- 2013-08-29 CN CN201310384445.XA patent/CN104423892A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5724552A (en) * | 1993-07-16 | 1998-03-03 | Kabushiki Kaisha Toshiba | Disk array management unit for distributively recording data in a plurality of disks depending on the data access frequency |
US20090006725A1 (en) * | 2006-12-15 | 2009-01-01 | Takafumi Ito | Memory device |
TW201042640A (en) * | 2009-05-27 | 2010-12-01 | Waremax Electronics Corp | Hard disk drive device capable of increasing the execution efficiency, and its read/write method |
CN101968754A (en) * | 2009-07-27 | 2011-02-09 | 英业达股份有限公司 | Disk array reconstruction method |
CN102023809A (en) * | 2009-09-21 | 2011-04-20 | 成都市华为赛门铁克科技有限公司 | Storage system, method for reading data from storage system and method for writing data to storage system |
US20110196833A1 (en) * | 2010-02-09 | 2011-08-11 | Alexandre Drobychev | Storage of Data In A Distributed Storage System |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775488A (en) * | 2016-12-27 | 2017-05-31 | 维沃移动通信有限公司 | The storage method and mobile terminal of a kind of file |
CN111373381A (en) * | 2017-10-23 | 2020-07-03 | 美光科技公司 | Host acceleration operation in managed NAND devices |
US10936250B2 (en) | 2017-10-23 | 2021-03-02 | Micron Technology, Inc. | Host accelerated operations in managed NAND devices |
CN111373381B (en) * | 2017-10-23 | 2021-10-26 | 美光科技公司 | Host acceleration operation in managed NAND devices |
US11385838B2 (en) | 2017-10-23 | 2022-07-12 | Micron Technology, Inc. | Host accelerated operations in managed NAND devices |
CN115657972A (en) * | 2022-12-27 | 2023-01-31 | 北京特纳飞电子技术有限公司 | Solid state disk writing control method and device and solid state disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8706952B2 (en) | Flash memory storage device, controller thereof, and data programming method thereof | |
US9372802B2 (en) | Data writing method, hard disc module, and data writing system | |
US9880742B2 (en) | Valid data merging method, memory controller and memory storage apparatus | |
CN111158579B (en) | Solid state hard disk and its data access method | |
TW201437807A (en) | Method of recording mapping information method, and memory controller and memory storage apparatus using the same | |
CN106557432B (en) | Buffer memory management method, memory control circuit unit and storage device | |
TW201712549A (en) | Buffer memory management method, memory control circuit unit and memory storage device | |
CN107818808B (en) | Data writing method, memory control circuit unit and memory storage device | |
US9946476B2 (en) | Memory management method, memory control circuit unit and memory storage apparatus | |
CN106775436B (en) | Data access method, memory control circuit unit and memory | |
TWI584189B (en) | Memory controller, memory storage device, and method for writing data | |
TWI656531B (en) | Average wear method, memory control circuit unit and memory storage device | |
CN102915273B (en) | Data writing method, memory controller and memory storage device | |
TW201403319A (en) | Memory storage device, memory controller thereof, and method for programming data thereof | |
CN101661431A (en) | Block management method for flash memory, flash storage system and controller | |
CN103544118B (en) | Memory storage device, its memory controller and data writing method | |
CN111258505A (en) | Data merging method, control circuit unit and storage device of flash memory | |
CN104423892A (en) | Data writing method, disk module and data writing system | |
CN114328297A (en) | Mapping table management method, memory control circuit unit and memory storage device | |
CN106959818A (en) | Data writing method, memory control circuit unit and memory storage device | |
CN112860193A (en) | Finishing instruction processing method, memory control circuit unit and storage device | |
CN103365790A (en) | Memory controller, storage device and data writing method | |
CN114063933B (en) | Block management method, memory controller and memory storage device | |
CN107103930A (en) | Data writing method, memory control circuit unit and memory storage device | |
US20230205451A1 (en) | Multi-channel memory storage device, memory control circuit unit and data reading method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150318 |