CN103645991B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN103645991B
CN103645991B CN201310598402.1A CN201310598402A CN103645991B CN 103645991 B CN103645991 B CN 103645991B CN 201310598402 A CN201310598402 A CN 201310598402A CN 103645991 B CN103645991 B CN 103645991B
Authority
CN
China
Prior art keywords
address
data
page unit
storage address
storage
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.)
Active
Application number
CN201310598402.1A
Other languages
Chinese (zh)
Other versions
CN103645991A (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 CN201310598402.1A priority Critical patent/CN103645991B/en
Publication of CN103645991A publication Critical patent/CN103645991A/en
Application granted granted Critical
Publication of CN103645991B publication Critical patent/CN103645991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种数据处理方法及装置,方法包括:通过获取操作系统发送的第一写入指令,接着,根据第一写入指令,确定第一存储地址的第一热度值,然后,根据第一热度值,将数据写入第二存储地址,从而实现了将热度值接近的数据存储在同一个物理块中,从而减少了有效数据的搬移,提高了系统的性能,进而减少了系统的额外损耗,提高了系统的寿命。

The invention discloses a data processing method and device. The method includes: obtaining the first writing instruction sent by the operating system, then determining the first heat value of the first storage address according to the first writing instruction, and then determining the first heat value of the first storage address according to the The first heat value, write data into the second storage address, so as to realize the storage of data with close heat value in the same physical block, thereby reducing the movement of valid data, improving the performance of the system, and reducing the system Additional loss increases the life of the system.

Description

数据处理方法及装置Data processing method and device

技术领域technical field

本发明涉及计算机技术领域,特别是涉及一种数据处理方法及装置。The invention relates to the field of computer technology, in particular to a data processing method and device.

背景技术Background technique

通过对网上业务数据和个人计算机数据访问量的统计,可以获知80%的访问量集中在20%的空间内。Through the statistics of online business data and personal computer data visits, it can be known that 80% of the visits are concentrated in 20% of the space.

在现有技术中,存储介质NAND FLASH的读写是以page为单位,而擦是以块为单位,当数据被访问一次以后,原来物理地址处的老数据则标记为无效,系统重新找一个未被写入的空白page来存放被更新后的数据,再将逻辑地址指向新的page,从而完成了数据的更新过程。随着数据不断地被更新,系统可以启动垃圾回收机制(GC)将各个块上未被更新的有效数据进行整合,并将为该page中的据块写入另一个新的空白块中,接着,将该数据块擦除为新的空白块,以供下一次写入。In the existing technology, the reading and writing of the storage medium NAND FLASH is in the unit of page, and the erasure is in the unit of block. When the data is accessed once, the old data at the original physical address is marked as invalid, and the system finds a new one. A blank page that has not been written is used to store the updated data, and then the logical address is pointed to the new page, thus completing the data update process. As the data is continuously updated, the system can start the garbage collection mechanism (GC) to integrate the valid data that has not been updated on each block, and write the data block in the page into another new blank block, and then , to erase the data block as a new blank block for the next write.

然而,存储系统可以启动垃圾回收机制(GC)将各个块上未被更新的有效数据进行整合的过程中,数据块中既有无效数据也有有效数据,造成在启动垃圾回收机制时,需要将有效数据移到其他空白块中,从而造成系统内额外的读写操作,进而产生了存储系统的损耗。However, the storage system can start the garbage collection mechanism (GC) to integrate the valid data that has not been updated on each block. There are both invalid data and valid data in the data block. As a result, when the garbage collection mechanism is started, valid Data is moved to other free blocks, resulting in additional read and write operations in the system, resulting in loss of the storage system.

发明内容Contents of the invention

本发明实施例提供一种数据处理方法及装置,用以减少存储系统的损耗。Embodiments of the present invention provide a data processing method and device for reducing loss of a storage system.

第一个方面,本发明实施例提供了一种数据处理方法,包括:In the first aspect, the embodiment of the present invention provides a data processing method, including:

获取操作系统发送的第一写入指令,所述第一写入指令为准备将数据写入存储介质的指令,所述第一写入指令携带所述数据;Obtaining a first write instruction sent by an operating system, the first write instruction is an instruction for preparing to write data into a storage medium, and the first write instruction carries the data;

根据所述第一写入指令,确定第一存储地址的第一热度值,所述第一存储地址为所述第一写入指令准备将所述数据写入所述存储介质的地址,所述第一热度值为标识对所述第一存储地址进行操作的频繁程度;According to the first write instruction, determine the first temperature value of the first storage address, the first storage address is the address where the first write instruction prepares to write the data into the storage medium, the The first heat value identifies the frequency of operations on the first storage address;

根据所述第一热度值,将所述数据写入所述存储介质的第二存储地址,所述第一热度值在所述第二存储地址对应的所述第二热度值的范围内。Writing the data into a second storage address of the storage medium according to the first heat value, where the first heat value is within a range of the second heat value corresponding to the second storage address.

在第一种可能的实现方式中,所述根据所述第一写入指令,确定存储地址的第一热度值,包括:In a first possible implementation manner, the determining the first temperature value of the storage address according to the first write instruction includes:

根据所述第一写入指令,确定所述第一存储地址;determining the first storage address according to the first write instruction;

根据所述第一存储地址,确定所述第一存储地址的第一热度值。According to the first storage address, determine a first heat value of the first storage address.

结合第一个方面或是第一个方面的第一种可能的实现方式,在第二种可能的实现方式中,所述第一写入指令包括待写入的所述数据的起始地址和所述数据的长度;With reference to the first aspect or the first possible implementation of the first aspect, in the second possible implementation, the first write instruction includes the start address of the data to be written and the length of said data;

所述根据所述第一写入指令,确定第一存储地址的第一热度值,包括:The determining the first heat value of the first storage address according to the first write instruction includes:

根据所述数据的所述起始地址和所述读写数据的长度,确定准备将所述数据写入所述存储介质中逻辑页单元的页单元地址;According to the start address of the data and the length of the read-write data, determine the address of the page unit to write the data into the logical page unit in the storage medium;

根据所述页单元地址,确定所述逻辑页单元的第一热度值。A first temperature value of the logical page unit is determined according to the page unit address.

结合第一个方面的第二种可能的实现方式,在第三种可能的实现方式中,所述根据所述页单元地址,确定所述逻辑页单元的第一热度值,包括:With reference to the second possible implementation of the first aspect, in a third possible implementation, the determining the first heat value of the logical page unit according to the address of the page unit includes:

将所述页单元地址添加在热权值链表中链头的位置,所述热权值链表包括多个子节,并且每个所述子节对应一个热权值,每个所述子节包括每个操作指令进行操作的逻辑页单元的信息,其中,所述热权值链表包括所述链头和链尾;Add the address of the page unit to the position of the link head in the thermal weight linked list, the thermal weight linked list includes a plurality of subsections, and each subsection corresponds to a thermal weight, and each subsection includes each The information of the logical page unit operated by an operation instruction, wherein the hot weight linked list includes the link head and the link tail;

将所述热权值链表中每个所述页单元地址对应的热权值进行相加求和,获得所述第一热度值。Adding and summing the thermal weight corresponding to each page unit address in the thermal weight linked list to obtain the first thermal value.

结合第一个方面的第三种可能的实现方式,在第四种可能的实现方式中,所述将所述逻辑页单元的所述页地址信息添加在热权值链表中的链头位置之前,还包括:With reference to the third possible implementation of the first aspect, in a fourth possible implementation, the adding the page address information of the logical page unit before the link head position in the heat weight linked list ,Also includes:

删除存储在所述热权值链表中所述链尾中存储的页单元地址;Delete the page unit address stored in the chain tail in the hot weight linked list;

将所述热权值链表中没有删除的所述页单元地址向所述链尾的位置移动一个节点。Moving the address of the page unit that is not deleted in the hot weight linked list to the position of the chain tail by one node.

结合第一个方面至第一个方面的第四种可能的任意一实现方式,在第五种可能的实现方式中,所述根据所述第一热度值,将所述数据写入第二存储地址之后,还包括:With reference to any one of the fourth possible implementation manners from the first aspect to the first aspect, in a fifth possible implementation manner, according to the first thermal value, writing the data into the second storage After the address, also include:

将所述第二存储地址的信息发送给所述操作系统。Send the information of the second storage address to the operating system.

第二个方面,本发明实施例提供了一种数据处理装置,包括:In a second aspect, an embodiment of the present invention provides a data processing device, including:

获取模块,用于获取操作系统发送的第一写入指令,所述第一写入指令为准备将数据写入存储介质的指令,所述第一写入指令携带所述数据;An acquisition module, configured to acquire a first write instruction sent by an operating system, the first write instruction is an instruction to write data into a storage medium, and the first write instruction carries the data;

处理模块,用于根据所述第一写入指令,确定第一存储地址的第一热度值,所述第一存储地址为所述第一写入指令准备将所述数据写入所述存储介质的地址,所述第一热度值为标识对所述第一存储地址进行操作的频繁程度;A processing module, configured to determine a first heat value of a first storage address according to the first write instruction, and the first storage address is prepared for the first write instruction to write the data into the storage medium address, the first heat value identifies the frequency of operations on the first storage address;

写入模块,用于根据所述第一热度值,将所述数据写入所述存储介质的第二存储地址,所述第一热度值在所述第二存储地址对应的所述第二热度值的范围内。A writing module, configured to write the data into a second storage address of the storage medium according to the first temperature value, the first temperature value is at the second temperature corresponding to the second storage address within the value range.

在第一种可能的实现方式中,所述处理模块,具体用于根据所述第一写入指令,确定所述第一存储地址;根据所述第一存储地址,确定所述第一存储地址的第一热度值。In a first possible implementation manner, the processing module is specifically configured to determine the first storage address according to the first write instruction; determine the first storage address according to the first storage address The first heat value of .

结合第二个方面或是第二个方面的第一种可能的实现方式,在第二种可能的实现方式中,所述第一写入指令包括待写入的所述数据的起始地址和所述数据的长度;With reference to the second aspect or the first possible implementation of the second aspect, in the second possible implementation, the first write instruction includes the start address of the data to be written and the length of said data;

所述处理模块,具体用于根据所述数据的所述起始地址和所述读写数据的长度,确定准备将所述数据写入所述存储介质中逻辑页单元的页单元地址;根据所述页单元地址,确定所述逻辑页单元的第一热度值。The processing module is specifically configured to determine, according to the start address of the data and the length of the read/write data, a page unit address to be written into a logical page unit in the storage medium; according to the The address of the page unit is used to determine the first thermal value of the logical page unit.

结合第二个方面的第二种可能的实现方式,在第三种可能的实现方式中,所述处理模块,还用于将所述页单元地址添加在热权值链表中链头的位置,所述热权值链表包括多个子节,并且每个所述子节对应一个热权值,每个所述子节包括每个操作指令进行操作的逻辑页单元的信息,其中,所述热权值链表包括所述链头和链尾;将所述热权值链表中每个所述页单元地址对应的热权值进行相加求和,获得所述第一热度值。With reference to the second possible implementation of the second aspect, in a third possible implementation, the processing module is further configured to add the address of the page unit to the position of the link head in the heat weight linked list, The thermal weight linked list includes multiple subsections, and each subsection corresponds to a thermal weight, and each subsection includes information on the logical page unit operated by each operation instruction, wherein the thermal weight The value link table includes the link head and the link tail; the heat weight corresponding to each page unit address in the heat weight list is added and summed to obtain the first heat value.

结合第二个方面的第三种可能的实现方式,在第四种可能的实现方式中,所述处理模块,还用于删除存储在所述热权值链表中所述链尾中存储的页单元地址;将所述热权值链表中没有删除的所述页单元地址向所述链尾的位置移动一个节点。With reference to the third possible implementation of the second aspect, in a fourth possible implementation, the processing module is further configured to delete the page stored in the chain tail in the hot weight linked list Unit address: move the unit address of the page that has not been deleted in the hot weight linked list to the position of the end of the chain by one node.

结合第二个方面至第二个方面的第四种可能的任意一实现方式,在第五种可能的实现方式中,还包括:发送模块;Combining the second aspect to any one of the fourth possible implementation manners of the second aspect, in a fifth possible implementation manner, further comprising: a sending module;

所述发送模块,用于将所述第二存储地址的信息发送给所述操作系统。The sending module is configured to send the information of the second storage address to the operating system.

本发明实施例提供的数据处理方法及装置,通过获取操作系统发送的第一写入指令,接着,根据第一写入指令,确定第一存储地址的第一热度值,然后,根据第一热度值,将数据写入第二存储地址,从而实现了将热度值接近的数据存储在同一个物理块中,提高了系统进行垃圾回收的效率,并提高了各物理块的使用可靠性,从而减少了存储系统的损耗。In the data processing method and device provided by the embodiments of the present invention, by obtaining the first write command sent by the operating system, and then determining the first heat value of the first storage address according to the first write command, and then, according to the first heat value value, and write the data into the second storage address, thereby realizing the storage of data with close heat values in the same physical block, improving the efficiency of garbage collection by the system, and improving the reliability of each physical block, thereby reducing loss of the storage system.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明实施例提供的一种数据处理方法流程图;FIG. 1 is a flowchart of a data processing method provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种数据处理方法流程图;FIG. 2 is a flowchart of another data processing method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种热权值链表的结构示意图;FIG. 3 is a schematic structural diagram of a heat weight linked list provided by an embodiment of the present invention;

图4为本发明实施例提供的一种数据处理装置的结构示意图;FIG. 4 is a schematic structural diagram of a data processing device provided by an embodiment of the present invention;

图5为本发明实施例提供的另一种数据处理装置的结构示意图。FIG. 5 is a schematic structural diagram of another data processing device provided by an embodiment of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例提供的数据处理方法可以应用于将写入数据存储到存储系统的过程,其中,本实施例提供的数据处理方法具体可以通过数据处理装置来执行,该数据处理装置可以采用软件和/或硬件的方式来实现。以下对本实施例提供的数据处理方法和装置进行详细地说明。The data processing method provided in this embodiment of the present invention can be applied to the process of storing written data in a storage system, wherein the data processing method provided in this embodiment can be specifically executed by a data processing device, and the data processing device can use software and /or implemented by hardware. The data processing method and device provided in this embodiment will be described in detail below.

图1为本发明实施例提供的一种数据处理方法流程图。如图1所示,本实施例提供的数据处理方法包括:FIG. 1 is a flowchart of a data processing method provided by an embodiment of the present invention. As shown in Figure 1, the data processing method provided in this embodiment includes:

S101、获取操作系统发送的第一写入指令。S101. Acquire a first write instruction sent by an operating system.

在本实施例中,在操作系统发送第一写入指令时,数据处理装置可以在闪存转换层(Flash translation layer,以下简称为FTL)获取操作系统发送的第一写入指令。其中,该第一写入指令为准备将数据写入存储介质的指令,该第一写入指令包括该数据,即准备写入存储介质的数据。In this embodiment, when the operating system sends the first write instruction, the data processing device may obtain the first write instruction sent by the operating system at a flash translation layer (Flash translation layer, hereinafter referred to as FTL). Wherein, the first write instruction is an instruction for preparing to write data into the storage medium, and the first write instruction includes the data, that is, the data to be written into the storage medium.

S102、根据第一写入指令,确定第一存储地址的第一热度值。S102. Determine a first heat value of the first storage address according to the first write instruction.

在本实施例中,数据处理装置可以根据第一写入指令,确定第一存储地址的第一热度值,其中,第一存储地址为第一写入指令准备将数据写入存储介质的地址,第一热度值为标识对第一存储地址进行操作的频繁程度。也就是说,在预设时长内,或是对存储介质进行操作的预设次数内,数据处理装置可以确定对第一存储地址进行操作的第一热度值,即操作系统对第一存储地址的操作频繁程度,该操作可以理解为读取第一存储地址所存储的数据。In this embodiment, the data processing device may determine the first heat value of the first storage address according to the first write instruction, wherein the first storage address is the address where the first write instruction prepares to write data into the storage medium, The first popularity value identifies the frequency of operations on the first storage address. That is to say, within a preset time period, or within a preset number of operations on the storage medium, the data processing device can determine the first heat value of the operation on the first storage address, that is, the operating system's operation on the first storage address. Operation frequency, the operation can be understood as reading the data stored in the first storage address.

本实施例中的该第一存储地址可以是存储介质中的至少一个地址,该地址可以为物理地址,也可以为逻辑地址。需要说明的是,该逻辑地址是对用户可见的,通过逻辑地址与物理地址的对应关系,即通过辑地址与物理地址之间的映射表,获得该逻辑地址对应的物理地址,该物理地址为存储介质的实际地址。The first storage address in this embodiment may be at least one address in the storage medium, and the address may be a physical address or a logical address. It should be noted that the logical address is visible to the user, and the physical address corresponding to the logical address is obtained through the correspondence between the logical address and the physical address, that is, through the mapping table between the logical address and the physical address. The physical address is The actual address of the storage medium.

S103、根据第一热度值,将数据写入存储介质的第二存储地址。S103. Write data into a second storage address of the storage medium according to the first heat value.

本实施例的第一热度值在第二存储地址对应的第二热度值的范围内。The first heat value in this embodiment is within the range of the second heat value corresponding to the second storage address.

具体的,数据处理装置可以根据预设时间内或是预设次数内,确定操作系统所发送指令对第一地址的操作频繁程度,也就是,第一热度值,接着,将该第一写入指令准备写入的数据写入与第一热度值对应的第二地址中。进一步的,可以根据第二地址所处的内存块寿命确定写入数据对应第一地址的热度值,例如,第一热度值较高,则可以将该数据写入寿命较短的地址中。实现了将热度值接近的数据存储在同一个物理块中,从而系统在对同一个物理块进行擦写时,不需要搬移部分数据,从而实现同一物理块的擦写寿命接近。Specifically, the data processing device may determine the frequency of operations on the first address by the instructions sent by the operating system within a preset time or within a preset number of times, that is, the first heat value, and then write the first The data to be written is instructed to be written into the second address corresponding to the first heat value. Further, the heat value of the written data corresponding to the first address may be determined according to the lifetime of the memory block where the second address is located. For example, if the first heat value is higher, the data may be written into an address with a shorter lifetime. It realizes storing data with similar thermal values in the same physical block, so that when the system erases and writes the same physical block, it does not need to move part of the data, so that the erasing and writing life of the same physical block is close.

本实施例提供的数据处理方法,通过获取操作系统发送的第一写入指令,接着,根据第一写入指令,确定第一存储地址的第一热度值,然后,根据第一热度值,将数据写入第二存储地址,实现了将热度值接近的数据存储在同一个物理块中,从而减少了有效数据的搬移,提高了系统的性能,进而减少了系统的额外损耗,提高了系统的寿命。The data processing method provided in this embodiment obtains the first write command sent by the operating system, and then determines the first heat value of the first storage address according to the first write command, and then, according to the first heat value, writes the The data is written into the second storage address, which realizes the storage of data with close heat value in the same physical block, thereby reducing the movement of valid data and improving the performance of the system, thereby reducing the additional loss of the system and improving the system performance. life.

在上述实施例的基础上,在S103之后,还可以包括:On the basis of the foregoing embodiments, after S103, it may further include:

将第二存储地址的信息发送给操作系统。Send the information of the second storage address to the operating system.

在本实施例中,数据实际写入的该第二存储地址与第一写入指令准备写入的第一存储地址,可能相同,也可能不同,因此,在数据处理装置将数据写入到第二存储地址之后,需要将第二存储地址的信息发送给操作系统,以便在将来读取该数据时,确定该数据实际存储的地址。In this embodiment, the second storage address to which the data is actually written may be the same as or different from the first storage address to be written by the first write instruction. After the second storage address, the information of the second storage address needs to be sent to the operating system, so as to determine the actual storage address of the data when the data is read in the future.

进一步的,在上述实施例的基础上,S102具体可以包括:Further, on the basis of the foregoing embodiments, S102 may specifically include:

根据第一写入指令,确定第一存储地址。According to the first write instruction, the first storage address is determined.

根据第一存储地址,确定第一存储地址的第一热度值。According to the first storage address, a first popularity value of the first storage address is determined.

举例来讲,第一写入指令中可以包括准备将数据写入存储介质的首地址以及该数据的长度,例如,该首地址为逻辑地址,若需要将该数据写入该存储介质的多个逻辑地址中,可以根据该首地址以及该数据的长度,确定该数据准备写入存储介质的逻辑地址,即第一存储地址,接着,数据处理装置可以根据该第一存储地址,确定该第一存储地址的第一热度值。For example, the first write instruction may include the first address of the data to be written into the storage medium and the length of the data. For example, the first address is a logical address. If it is necessary to write the data into multiple In the logical address, according to the first address and the length of the data, it is possible to determine the logical address of the data to be written into the storage medium, that is, the first storage address, and then, the data processing device can determine the first storage address according to the first storage address. Stores the first heat value of the address.

图2为本发明实施例提供的另一种数据处理方法流程图。图3为本发明实施例提供的一种热权值链表的结构示意图。如图2所示,本实施例提供的数据处理方法,可以具体包括:FIG. 2 is a flowchart of another data processing method provided by an embodiment of the present invention. FIG. 3 is a schematic structural diagram of a heat weight linked list provided by an embodiment of the present invention. As shown in Figure 2, the data processing method provided in this embodiment may specifically include:

S201、获取操作系统发送的第一写入指令。S201. Acquire a first write instruction sent by an operating system.

在本实施例中,该第一写入指令为准备将数据写入存储介质的指令,该第一写入指令包括该数据,即准备写入存储介质的数据。In this embodiment, the first write instruction is an instruction for preparing to write data into the storage medium, and the first write instruction includes the data, that is, the data to be written into the storage medium.

S202、根据该数据的起始地址和该数据的长度,确定准备将该数据写入存储介质中逻辑页单元的页单元地址。S202. Determine, according to the start address of the data and the length of the data, a page unit address to be written into a logical page unit in the storage medium.

在本实施例中,第一写入指令中可以包括准备将数据写入存储介质的首地址以及该数据的长度,该地址为逻辑地址,若需要将该数据写入该存储介质的多个逻辑地址中,可以根据该首地址以及该数据的长度,确定该数据准备写入存储介质的逻辑地址,即逻辑页单元的页单元地址。In this embodiment, the first write instruction may include the first address of the data to be written into the storage medium and the length of the data. The address is a logical address. In the address, the logical address of the data to be written into the storage medium, that is, the page unit address of the logical page unit, can be determined according to the first address and the length of the data.

需要说明的是,本实施例中的存储介质包括有至少一个用于存储数据的数据块,该数据块可用于存储数据的大小固定,每个数据块包括有至少一个页(page),而且,每个页包括有多个逻辑页单元,并且每个逻辑页单元用一个逻辑地址表示,即页单元地址,例如,NAND FLASH中的每个页包括16个页单元,每个页为8K,每个页单元(sector)为512B,并且该16个页单元的地址使用16个连续的逻辑LBA地址来表示。It should be noted that the storage medium in this embodiment includes at least one data block for storing data, and the size of the data block that can be used for storing data is fixed, and each data block includes at least one page (page), and, Each page includes multiple logical page units, and each logical page unit is represented by a logical address, that is, the page unit address. For example, each page in NAND FLASH includes 16 page units, each page is 8K, and each A page unit (sector) is 512B, and the addresses of the 16 page units are represented by 16 consecutive logical LBA addresses.

S203、将页单元地址添加在热权值链表中链头的位置。S203. Add the address of the page unit to the position of the link head in the heat weight linked list.

在本实施例中,如图3所示,该热权值链表包括多个子节,并且每个子节可以对应一个热权值,每个子节包括每个操作指令进行操作的页单元地址,其中,热权值链表包括链头和链尾。In this embodiment, as shown in FIG. 3 , the heat weight linked list includes a plurality of subsections, and each subsection may correspond to a heat weight value, and each subsection includes the address of the page unit to be operated by each operation instruction, wherein, The hot weight linked list includes a chain head and a chain tail.

举例来讲,若该页单元地址的个数为多个,则将该页单元地址中包括的等多个地址分别添加在链头的子节中。如图3所示,将页单元地址70、71、72添加在链头的子节中。For example, if there are multiple page unit addresses, the multiple addresses included in the page unit address are respectively added to the subsections of the chain header. As shown in FIG. 3, page unit addresses 70, 71, 72 are added in subsections of the chain header.

S204、将热权值链表中每个页单元地址对应的热权值进行相加求和,获得第一热度值。S204. Add and sum the heat weights corresponding to each page unit address in the heat weight linked list to obtain a first heat value.

本实施例中,该页单元地址为第一写入指令准备将数据写入存储介质的地址。In this embodiment, the page unit address is an address where the first write command prepares to write data into the storage medium.

举例来讲,页单元地址70对应的热权值分别为4、6、7,因此,该页单元地址70的热权值为4+6+7,即热权值为17;以此类推,计算出该页单元地址的热权值。For example, the thermal weights corresponding to the page unit address 70 are 4, 6, and 7 respectively. Therefore, the thermal weight of the page unit address 70 is 4+6+7, that is, the thermal weight is 17; and so on, Calculate the thermal weight of the page unit address.

需要说明的是,本实施例的热权值链表中每个热权值可根据距离链头或是链尾的距离进行设定,也可以按照等差数列或是等比数列,以及本领域技术人员可以想到的方式进行设定,在此对热权值设定不做限制。It should be noted that each heat weight in the heat weight linked list of this embodiment can be set according to the distance from the chain head or the chain tail, or can be set according to the arithmetic sequence or the geometric sequence, and the technology in the art It can be set in any way that personnel can think of, and there is no limit to the heat weight setting here.

S205、根据第一热度值,将数据写入存储介质的第二存储地址。S205. Write data into the second storage address of the storage medium according to the first temperature value.

本实施例的第一热度值在第二存储地址对应的第二热度值的范围内。The first heat value in this embodiment is within the range of the second heat value corresponding to the second storage address.

在本实施例中,通过根据第一写入指令,确定第一存储地址的第一热度值,并根据第一热度值,将数据写入存储介质的第二存储地址中,从而实现将热度值接近的数据存储在同一个物理块中,提高了系统进行垃圾回收的效率,并提高了各物理块的使用寿命,进而减少了存储系统的损耗。In this embodiment, by determining the first heat value of the first storage address according to the first write instruction, and writing data into the second storage address of the storage medium according to the first heat value, the heat value Close data is stored in the same physical block, which improves the efficiency of garbage collection by the system, and improves the service life of each physical block, thereby reducing the loss of the storage system.

在上述实施例的基础上,在S203之前,还可以包括:On the basis of the foregoing embodiments, before S203, it may also include:

删除存储在热权值链表中链尾中存储的页单元地址;Delete the page unit address stored in the tail of the chain in the hot weight linked list;

将热权值链表中没有删除的页单元地址向链尾的位置移动一个节点。Move the address of the page unit that has not been deleted in the hot weight linked list to the position of the end of the link by one node.

进一步的,在上述实施例的基础上,在S205之后,还可以包括Further, on the basis of the above embodiments, after S205, it may also include

将第二存储地址的信息发送给操作系统。Send the information of the second storage address to the operating system.

具体的,根据第一热度值,将数据写入第二存储地址之后,数据处理装置需要将实际存储数据的第二存储地址告知操作系统,从而使操作系统确定第一写入指令实际写入数据的地址。Specifically, after writing data into the second storage address according to the first heat value, the data processing device needs to inform the operating system of the second storage address where the data is actually stored, so that the operating system can determine that the first write instruction actually writes data the address of.

图4为本发明实施例提供的一种数据处理装置的结构示意图。如图4所示,该数据处理装置包括:获取模块41、处理模块42和写入模块43。其中,FIG. 4 is a schematic structural diagram of a data processing device provided by an embodiment of the present invention. As shown in FIG. 4 , the data processing device includes: an acquisition module 41 , a processing module 42 and a writing module 43 . in,

获取模块41,用于获取操作系统发送的第一写入指令,第一写入指令为准备将数据写入存储介质的指令,第一写入指令携带数据;The acquisition module 41 is configured to acquire a first write instruction sent by the operating system, the first write instruction is an instruction for preparing to write data into the storage medium, and the first write instruction carries data;

处理模块42,用于根据第一写入指令,确定第一存储地址的第一热度值,第一存储地址为第一写入指令准备将数据写入存储介质的地址,第一热度值为标识对第一存储地址进行操作的频繁程度;The processing module 42 is configured to determine the first temperature value of the first storage address according to the first write instruction, the first storage address is the address where the first write instruction prepares to write data into the storage medium, and the first temperature value is an identifier the frequency of operating on the first storage address;

写入模块43,用于根据第一热度值,将数据写入存储介质的第二存储地址,第一热度值在第二存储地址对应的第二热度值的范围内。The writing module 43 is configured to write data into the second storage address of the storage medium according to the first temperature value, and the first temperature value is within the range of the second temperature value corresponding to the second storage address.

本实施例提供的数据处理方法,通过获取操作系统发送的第一写入指令,接着,根据第一写入指令,确定第一存储地址的第一热度值,然后,根据第一热度值,将数据写入第二存储地址,从而实现了将热度值接近的数据存储在同一个物理块中,从而减少了有效数据的搬移,提高了系统的性能,进而减少了系统的额外损耗,提高了系统的寿命。The data processing method provided in this embodiment obtains the first write command sent by the operating system, and then determines the first heat value of the first storage address according to the first write command, and then, according to the first heat value, writes the The data is written to the second storage address, thereby realizing the storage of data with close heat values in the same physical block, thereby reducing the movement of valid data and improving the performance of the system, thereby reducing the additional loss of the system and improving the system performance. lifespan.

在上述实施例的基础上,处理模块42,具体用于根据第一写入指令,确定第一存储地址;根据第一存储地址,确定第一存储地址的第一热度值。On the basis of the above embodiments, the processing module 42 is specifically configured to determine the first storage address according to the first write instruction; and determine the first heat value of the first storage address according to the first storage address.

进一步的,在上述实施例的基础上,该第一写入指令包括待写入的数据的起始地址和数据的长度;Further, on the basis of the above embodiments, the first write instruction includes the start address of the data to be written and the length of the data;

处理模块42,具体用于根据所述数据的所述起始地址和所述读写数据的长度,确定准备将所述数据写入所述存储介质中逻辑页单元的页单元地址;根据所述页单元地址,确定所述逻辑页单元的第一热度值。The processing module 42 is specifically configured to determine, according to the start address of the data and the length of the read/write data, a page unit address to be written into a logical page unit in the storage medium; according to the The page unit address determines the first hotness value of the logical page unit.

在上述实施例的基础上,处理模块42,还用于将页单元地址添加在热权值链表中链头的位置,热权值链表包括多个子节,并且每个子节对应一个热权值,每个子节包括每个操作指令进行操作的逻辑页单元的信息,其中,热权值链表包括链头和链尾;将热权值链表中每个页单元地址对应的热权值进行相加求和,获得第一热度值。On the basis of the above-mentioned embodiments, the processing module 42 is further configured to add the page unit address to the position of the link head in the thermal weight linked list, the thermal weight linked list includes multiple subsections, and each subsection corresponds to a thermal weight, Each subsection includes the information of the logical page unit operated by each operation instruction, wherein the heat weight linked list includes a chain head and a chain tail; add the heat weight corresponding to each page unit address in the heat weight linked list and, get the first heat value.

进一步的,在上述实施例的基础上,处理模块42,还用于删除存储在热权值链表中链尾中存储的页单元地址;将热权值链表中没有删除的页单元地址向链尾的位置移动一个节点。Further, on the basis of the above-mentioned embodiment, the processing module 42 is also used to delete the page unit address stored in the tail of the chain in the hot weight linked list; Move a node in position.

图5为本发明实施例提供的另一种数据处理装置的结构示意图。如图5所示,该数据处理装置还包括:发送模块44;其中,该发送模块44,用于将第二存储地址的信息发送给操作系统。FIG. 5 is a schematic structural diagram of another data processing device provided by an embodiment of the present invention. As shown in FIG. 5 , the data processing device further includes: a sending module 44; wherein, the sending module 44 is configured to send the information of the second storage address to the operating system.

从而实现了将热度值接近的数据存储在同一个物理块中,提高了系统进行垃圾回收的效率,并提高了各物理块的使用可靠性,从而减少了存储系统的损耗。In this way, data with similar heat values can be stored in the same physical block, which improves the efficiency of garbage collection by the system, improves the reliability of each physical block, and reduces the loss of the storage system.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for relevant parts, please refer to part of the description of the method embodiments. The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.

本领域普通技术人员可以理解:实施例中的装置中的模块可以按照实施例描述分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的单元可以合并为一个单元,也可以进一步拆分成多个子模块。所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备Those of ordinary skill in the art can understand that: the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description in the embodiment, and can also be changed and located in one or more devices different from the embodiment. The units in the above embodiments can be combined into one unit, and can also be further divided into multiple sub-modules. If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including instructions for making a computer device

(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。(It may be a personal computer, a server, or a network device, etc.) Execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes.

本领域普通技术人员可以理解:附图只是一个实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of an embodiment, and the modules or processes in the accompanying drawing are not necessarily necessary for implementing the present invention.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit 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 can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (10)

1.一种数据处理方法,其特征在于,包括:1. A data processing method, characterized in that, comprising: 获取操作系统发送的第一写入指令,所述第一写入指令为准备将数据写入存储介质的指令,所述第一写入指令携带所述数据;Obtaining a first write instruction sent by an operating system, the first write instruction is an instruction for preparing to write data into a storage medium, and the first write instruction carries the data; 根据所述第一写入指令,确定第一存储地址的第一热度值,所述第一存储地址为所述第一写入指令准备将所述数据写入所述存储介质的地址,所述第一热度值为标识对所述第一存储地址进行操作的频繁程度;According to the first write instruction, determine the first temperature value of the first storage address, the first storage address is the address where the first write instruction prepares to write the data into the storage medium, the The first heat value identifies the frequency of operations on the first storage address; 根据所述第一热度值,将所述数据写入所述存储介质的第二存储地址,所述第一热度值在所述第二存储地址对应的第二热度值的范围内;Writing the data into a second storage address of the storage medium according to the first heat value, where the first heat value is within a range of a second heat value corresponding to the second storage address; 所述第一写入指令包括待写入的所述数据的起始地址和所述数据的长度;所述根据所述第一写入指令,确定第一存储地址的第一热度值,包括:The first write instruction includes the start address of the data to be written and the length of the data; the determining the first heat value of the first storage address according to the first write instruction includes: 根据所述数据的所述起始地址和所述数据的长度,确定准备将所述数据写入所述存储介质中逻辑页单元的页单元地址;determining, according to the start address of the data and the length of the data, a page unit address for writing the data into a logical page unit in the storage medium; 根据所述页单元地址,确定所述逻辑页单元的第一热度值;determining a first thermal value of the logical page unit according to the page unit address; 其中,所述根据所述页单元地址,确定所述逻辑页单元的第一热度值,包括:Wherein, the determining the first heat value of the logical page unit according to the page unit address includes: 将所述页单元地址添加在热权值链表中链头的位置,所述热权值链表包括多个子节,并且每个所述子节对应一个热权值,每个所述子节包括每个操作指令进行操作的逻辑页单元的信息,其中,所述热权值链表包括所述链头和链尾;Add the address of the page unit to the position of the link head in the thermal weight linked list, the thermal weight linked list includes a plurality of subsections, and each subsection corresponds to a thermal weight, and each subsection includes each The information of the logical page unit operated by an operation instruction, wherein the hot weight linked list includes the link head and the link tail; 将所述热权值链表中每个所述页单元地址对应的热权值进行相加求和,获得所述第一热度值。Adding and summing the thermal weight corresponding to each page unit address in the thermal weight linked list to obtain the first thermal value. 2.根据权利要求1所述的方法,其特征在于,所述根据所述第一写入指令,确定存储地址的第一热度值,包括:2. The method according to claim 1, wherein the determining the first heat value of the storage address according to the first write instruction comprises: 根据所述第一写入指令,确定所述第一存储地址;determining the first storage address according to the first write instruction; 根据所述第一存储地址,确定所述第一存储地址的第一热度值。According to the first storage address, determine a first heat value of the first storage address. 3.根据权利要求1或2所述的方法,其特征在于,所述将所述页单元地址添加在热权值链表中链头的位置之前,还包括:3. The method according to claim 1 or 2, wherein adding the page unit address before the position of the link head in the heat weight linked list further includes: 删除存储在所述热权值链表中所述链尾中存储的页单元地址;Delete the page unit address stored in the chain tail in the hot weight linked list; 将所述热权值链表中没有删除的所述页单元地址向所述链尾的位置移动一个节点。Moving the address of the page unit that is not deleted in the hot weight linked list to the position of the chain tail by one node. 4.根据权利要求2所述的方法,其特征在于,所述根据所述第一热度值,将所述数据写入第二存储地址之后,还包括:4. The method according to claim 2, characterized in that, after writing the data into the second storage address according to the first heat value, further comprising: 将所述第二存储地址的信息发送给所述操作系统。Send the information of the second storage address to the operating system. 5.根据权利要求3所述的方法,其特征在于,所述根据所述第一热度值,将所述数据写入第二存储地址之后,还包括:5. The method according to claim 3, characterized in that, after writing the data into the second storage address according to the first heat value, further comprising: 将所述第二存储地址的信息发送给所述操作系统。Send the information of the second storage address to the operating system. 6.一种数据处理装置,其特征在于,包括:6. A data processing device, characterized in that, comprising: 获取模块,用于获取操作系统发送的第一写入指令,所述第一写入指令为准备将数据写入存储介质的指令,所述第一写入指令携带所述数据;An acquisition module, configured to acquire a first write instruction sent by an operating system, the first write instruction is an instruction to write data into a storage medium, and the first write instruction carries the data; 处理模块,用于根据所述第一写入指令,确定第一存储地址的第一热度值,所述第一存储地址为所述第一写入指令准备将所述数据写入所述存储介质的地址,所述第一热度值为标识对所述第一存储地址进行操作的频繁程度;A processing module, configured to determine a first heat value of a first storage address according to the first write instruction, and the first storage address is prepared for the first write instruction to write the data into the storage medium address, the first heat value identifies the frequency of operations on the first storage address; 写入模块,用于根据所述第一热度值,将所述数据写入所述存储介质的第二存储地址,所述第一热度值在所述第二存储地址对应的第二热度值的范围内;A writing module, configured to write the data into a second storage address of the storage medium according to the first heat value, where the first heat value is equal to the second heat value corresponding to the second storage address within the scope; 所述第一写入指令包括待写入的所述数据的起始地址和所述数据的长度;所述处理模块,具体用于根据所述数据的所述起始地址和所述数据的长度,确定准备将所述数据写入所述存储介质中逻辑页单元的页单元地址;根据所述页单元地址,确定所述逻辑页单元的第一热度值;The first write instruction includes the start address of the data to be written and the length of the data; the processing module is specifically configured to , determining a page unit address for writing the data into a logical page unit in the storage medium; determining a first temperature value of the logical page unit according to the page unit address; 其中,所述处理模块,还用于将所述页单元地址添加在热权值链表中链头的位置,所述热权值链表包括多个子节,并且每个所述子节对应一个热权值,每个所述子节包括每个操作指令进行操作的逻辑页单元的信息,其中,所述热权值链表包括所述链头和链尾;将所述热权值链表中每个所述页单元地址对应的热权值进行相加求和,获得所述第一热度值。Wherein, the processing module is further configured to add the page unit address to the position of the link head in the thermal weight linked list, the thermal weight linked list includes a plurality of subsections, and each subsection corresponds to a thermal weight value, each of the subsections includes the information of the logical page unit operated by each operation instruction, wherein the hot weight linked list includes the linked head and the linked tail; The heat weights corresponding to the page unit addresses are added and summed to obtain the first heat value. 7.根据权利要求6所述的装置,其特征在于,所述处理模块,具体用于根据所述第一写入指令,确定所述第一存储地址;根据所述第一存储地址,确定所述第一存储地址的第一热度值。7. The device according to claim 6, wherein the processing module is specifically configured to determine the first storage address according to the first write instruction; determine the first storage address according to the first storage address The first temperature value of the first storage address. 8.根据权利要求6或7所述的装置,其特征在于,所述处理模块,还用于删除存储在所述热权值链表中所述链尾中存储的页单元地址;将所述热权值链表中没有删除的所述页单元地址向所述链尾的位置移动一个节点。8. The device according to claim 6 or 7, wherein the processing module is further configured to delete the page unit address stored in the chain tail in the hot weight linked list; The address of the page unit that has not been deleted in the weight linked list is moved to the position of the end of the link by one node. 9.根据权利要求6或7所述的装置,其特征在于,还包括:发送模块;9. The device according to claim 6 or 7, further comprising: a sending module; 所述发送模块,用于将所述第二存储地址的信息发送给所述操作系统。The sending module is configured to send the information of the second storage address to the operating system. 10.根据权利要求8所述的装置,其特征在于,还包括:发送模块;10. The device according to claim 8, further comprising: a sending module; 所述发送模块,用于将所述第二存储地址的信息发送给所述操作系统。The sending module is configured to send the information of the second storage address to the operating system.
CN201310598402.1A 2013-11-22 2013-11-22 Data processing method and device Active CN103645991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310598402.1A CN103645991B (en) 2013-11-22 2013-11-22 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310598402.1A CN103645991B (en) 2013-11-22 2013-11-22 Data processing method and device

Publications (2)

Publication Number Publication Date
CN103645991A CN103645991A (en) 2014-03-19
CN103645991B true CN103645991B (en) 2017-02-15

Family

ID=50251212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310598402.1A Active CN103645991B (en) 2013-11-22 2013-11-22 Data processing method and device

Country Status (1)

Country Link
CN (1) CN103645991B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022021280A1 (en) * 2020-07-31 2022-02-03 华为技术有限公司 Storage controller, storage control method, solid state disk and storage system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067800A (en) * 2007-07-05 2007-11-07 炬力集成电路设计有限公司 Memory deterioration balance method based on local sampling
CN101398749A (en) * 2008-11-13 2009-04-01 成都市华为赛门铁克科技有限公司 Static state attrition balancing method, device and system
TW200943059A (en) * 2008-04-09 2009-10-16 Skymedi Corp Method of wear leveling for non-volatile memory

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120023144A1 (en) * 2010-07-21 2012-01-26 Seagate Technology Llc Managing Wear in Flash Memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067800A (en) * 2007-07-05 2007-11-07 炬力集成电路设计有限公司 Memory deterioration balance method based on local sampling
TW200943059A (en) * 2008-04-09 2009-10-16 Skymedi Corp Method of wear leveling for non-volatile memory
CN101398749A (en) * 2008-11-13 2009-04-01 成都市华为赛门铁克科技有限公司 Static state attrition balancing method, device and system

Also Published As

Publication number Publication date
CN103645991A (en) 2014-03-19

Similar Documents

Publication Publication Date Title
TWI648622B (en) Flash memory compression, reading method and device using the same
KR102060736B1 (en) Method for storing data by storage device and storage device
CN104699417B (en) Data storage device and data access method thereof
EP3779705B1 (en) Data writing method, client server, and system
JP6455900B2 (en) Storage system and system garbage collection method
WO2017148242A1 (en) Method for accessing shingled magnetic recording (smr) hard disk, and server
CN103984644B (en) A kind of data managing method and device
CN103955433A (en) Shingled magnetic recording hard disk, and method and device for writing data in shingled magnetic recording hard disk
JP6089844B2 (en) Control device, storage device, and control program
WO2020192710A1 (en) Method for processing garbage based on lsm database, solid state hard disk, and storage apparatus
CN115756312A (en) Data access system, data access method, and storage medium
CN103049224A (en) Method, device and system for importing data into physical tape
CN104572492A (en) Method and apparatus of burning data to FAT (File Allocation Table)32 partition
WO2022021280A1 (en) Storage controller, storage control method, solid state disk and storage system
CN112463055A (en) Method, system, equipment and medium for optimizing and using L2P table of solid state disk
CN107273306A (en) A kind of digital independent of solid state hard disc, method for writing data and solid state hard disc
CN103645991B (en) Data processing method and device
CN107430546A (en) A kind of file updating method and storage device
CN106205707B (en) memory device
US9563363B2 (en) Flexible storage block for a solid state drive (SSD)-based file system
JP6874348B2 (en) Storage controller and storage control program
CN104391652A (en) Wear leveling method and device of hard disk
CN113051189A (en) Method and storage device for providing different data protection levels for multiple namespaces
CN102841758B (en) High-performance virtual disk management system
CN112997137B (en) A method and storage array for managing the performance of a logical disk

Legal Events

Date Code Title Description
PB01 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