CN104850500B - Data processing method and device for data storage - Google Patents

Data processing method and device for data storage Download PDF

Info

Publication number
CN104850500B
CN104850500B CN201410052078.8A CN201410052078A CN104850500B CN 104850500 B CN104850500 B CN 104850500B CN 201410052078 A CN201410052078 A CN 201410052078A CN 104850500 B CN104850500 B CN 104850500B
Authority
CN
China
Prior art keywords
data
logical address
physical block
cold
storage system
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
CN201410052078.8A
Other languages
Chinese (zh)
Other versions
CN104850500A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410052078.8A priority Critical patent/CN104850500B/en
Publication of CN104850500A publication Critical patent/CN104850500A/en
Application granted granted Critical
Publication of CN104850500B publication Critical patent/CN104850500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7211Wear leveling

Abstract

The invention discloses a kind of data processing method and device for data storage.Wherein, the data processing method for data storage includes: to obtain the data of the application layer of the storage system for data storage;Data are equably written in the logical address space of storage system;Obtain the update frequency of logical address in logical address space;The physical block of storage system is chosen by update frequency;And the physical block storing data for passing through selection.Through the invention, the service life for extending storage system has been achieved the effect that.

Description

Data processing method and device for data storage
Technical field
The present invention relates to field of data storage, in particular to a kind of data processing method for data storage and Device.
Background technique
Storage system is widely used in computer and internet area, for storing program and data.Generally Physical block in ground storage system possesses limited erasing read-write number, and certain physical blocks are overused and cause in order to prevent Storage system failure, usually applies abrasion equilibrium (wear leveling) within the storage system, so that object in entire storage system The usage degree for managing block is uniform, improves the service life of storage system.
Inventors have found that the existing abrasion equilibrium to storage system, usually made according to physical block in storage system Change the physical block of data storage with degree, but since the frequency that data are modified is different, the physical block of storing data Erasable number, so that the abrasion equilibrium processing of storage system is unreasonable, brings burden to storage system also with changing, Cause the service life of storage system short.
For the short problem of the service life of storage system in the prior art, currently no effective solution has been proposed.
Summary of the invention
The main purpose of the present invention is to provide a kind of data processing method and device for data storage, to solve to deposit The short problem of the service life of storage system.
To achieve the goals above, according to an aspect of the invention, there is provided at a kind of data for data storage Reason method.Data processing method according to the present invention for data storage includes: the storage system obtained for data storage Application layer data;Data are equably written in the logical address space of storage system;It obtains in logical address space The update frequency of logical address;The physical block of storage system is chosen by update frequency;And it is stored by the physical block of selection Data.
To achieve the goals above, according to another aspect of the present invention, provide it is a kind of for data storage data at Manage device.Data processing equipment according to the present invention for data storage includes: first acquisition unit, for obtaining for counting According to the data of the application layer of the storage system of storage;Writing unit, for data to be equably written to the logic of storage system In address space;Second acquisition unit, for obtaining the update frequency of logical address in logical address space;Selection unit is used In the physical block for choosing storage system by update frequency;And storage unit, for the physical block storing data by choosing.
Through the embodiment of the present invention, the data of the application layer of the storage system for data storage are obtained;Data are uniform Ground is written in the logical address space of storage system;Obtain the update frequency of logical address in logical address space;By more New frequency chooses the physical block of storage system;And the physical block storing data by selection, it solves and stores in the prior art The short problem of the service life of system has achieved the effect that the service life for extending storage system.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the data processing equipment for data storage according to a first embodiment of the present invention;
Fig. 2 is the schematic diagram of the data processing equipment for data storage according to a second embodiment of the present invention;
Fig. 3 is the schematic diagram of the data processing equipment for data storage according to a third embodiment of the present invention;
Fig. 4 is the flow chart of the data processing method for data storage according to a first embodiment of the present invention;
Fig. 5 is the flow chart of the data processing method for data storage according to a second embodiment of the present invention;
Fig. 6 be according to a third embodiment of the present invention for data storage data processing method flow chart and
Fig. 7 is the flow chart of the data processing method for data storage according to a fourth embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein.In addition, term " includes " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
The embodiment of the invention provides a kind of data processing equipment for data storage, which can pass through computer Equipment realizes its function.
Fig. 1 is the schematic diagram of the data processing equipment for data storage according to a first embodiment of the present invention.Such as Fig. 1 institute Show, this be used for data storage data processing equipment include first acquisition unit 10, writing unit 30, second acquisition unit 50, Selection unit 70 and storage unit 90.
First acquisition unit 10 is used to obtain the data of the application layer of the storage system for data storage.
Storage system can be in computer to be believed by the various storage equipment of storage program and data, control unit and management Cease system composed by the equipment (hardware) dispatched and algorithm (software).The data of application layer can be the business from application layer Data, the data of application layer have certain cold and hot degree, and the cold and hot degree is for indicating the frequency that data are modified or are written Degree.Cold data and dsc data can be splitted data into according to the cold and hot degree of data, wherein cold data can be expression and be modified The lesser data of frequency, will not be modified for a long time;Dsc data can be expression by the biggish data of modification frequency, show hot number It is high according to the frequency used.The data of application layer are obtained by first acquisition unit 10 in order to carry out the data of the application layer Storage.Storage system in the embodiment of the present invention can be solid state hard disk (Solid State Disk, referred to as SSD) storage system System.
Data for being equably written in the logical address space of storage system by writing unit 30.
Logical address space can refer to source program institute used in instruction and data after compiling or linking assembly There is the space of relative address.It, can be by the data of the application layer after first acquisition unit 10 gets the data of application layer It is stored in a manner of key-value pair (Key-Value).The data of application layer can be counted by Hash (hash) algorithm Calculation obtains the corresponding logical address of the data, enables data to equably be written in logical address space, specifically, can be Logical address space is divided, multiple logical address sections as unit of presetting size are divided into, is then calculated by Hash Data are evenly dispersed into each logical address section by method.Data are equably written to storage system by writing unit 30 In the logical address space of system, guarantee data in the uniformity of logical address space, to keep the frequency of the write-in of data Stability.
Second acquisition unit 50 is used to obtain the update frequency of logical address in logical address space.
Logical address, which can be, in logical address space patrols what logical address space carried out etc. obtaining after units divide Collect the logical address in region.The update frequency of logical address can be the update frequency of logical address in logical address region, Pass through the cold and hot degree of the corresponding data of the available logical address region of the update frequency.For example, working as logical address more New frequency is bigger, then it represents that the corresponding data of logical address region are dsc data, i.e. the frequency of the data modified is big;Instead It, then it represents that the corresponding data of logical address region are cold data, i.e. the frequency of the data modified is small.Specifically, second The update frequency for the logical address that acquiring unit 50 obtains, which can be, is written number by the data of logical address to judge, according to The update frequency of number decision logic address is written in data, so as to obtain the cold and hot degree of data.
Selection unit 70 is used to choose the physical block of storage system by update frequency.
Physical block can be in storage system, the physical region of the storing data in recording medium, usually in storage system In, physical block is broadly divided into free block, used block, erroneous block and four kinds of scrub block, wherein free block b is indicated can be with The physical block of used free time, used block indicate that the physical block used, erroneous block indicate the physics for mistake occur Block, scrub block indicate the physical block for needing to move.It can be by the physical block that update frequency chooses storage system using dynamic The mode of abrasion equilibrium is chosen, wherein Dynamic wear equilibrium refers to that the upper layer logic of storage system needs to obtain a sky Not busy physical block when writing data, selects suitable physical block using certain rule.Specifically, Dynamic wear equilibrium makes Method can be the cold and hot degree for determining data by update frequency first, i.e. the frequency modified of data, if it is determined that What data will not be modified for a long time, then the most physical block of selective erasing number from idle physical block, stores data into In the physical block;If it is determined that the modification frequency of data is higher, or can not determine the modification frequency of data, then selective erasing The physical block of number the smallest free time, stores data into the smallest physical block of the erasing times.
Storage unit 90 is used for the physical block storing data by choosing.
After selection unit 70 is chosen to material resources block, the data of application layer are stored the physics to selection by storage unit 90 On block.
In the embodiment of the present invention, storage system can also have the function of static wear equilibrium, wherein static wear is balanced It can refer to and find the smallest physical block of erasing times in the physical block used, then the data on the physical block are removed It moves on on the more physical block of erasing times, for example, finding the smallest A of erasing times in the physical block group used Block finds the most B block of erasing times in idle physical block group, going above the data-moving on A block to B block, B block It is inserted into the material resources block group used, is inserted into idle physical block group after the data of A block are wiped.Static wear is equal Weighing apparatus can be divided into several modes, and passing through different mode, to trigger static wear balanced, wherein the trigger condition of each pattern is not The same, the mode of static wear equilibrium is as follows:
1) foreground mode, when physical block because of abrasion equilibrium when something goes wrong, for example garbage reclamation can not find expected physics Block triggers foreground abrasion equilibrium, and it is balanced to execute static wear.
2) background mode: when storage system is in the free time, can trigger backstage abrasion equilibrium, execute static state by backstage Abrasion equilibrium.
3) periodicity pattern: when data are written to storage system, needing the physical block to the storage system application free time, In, when one section of idle physical block of every application, the abrasion of storage system is counted plus one, when, when abrasion reaches certain threshold value, touching It is balanced to send out static wear.
4) balanced mode: when the difference of the maximum erasing times of physical block and minimum erasing times is greater than certain threshold value, touching It is balanced to send out static wear.
Static wear equilibrium can make storage system after being stored in data, pass through sentencing for the erasing times to material resources block It is disconnected that data are moved, realize the abrasion equilibrium to physical block.
According to embodiments of the present invention, by being equably written to the data of application layer in logical address space, guarantee number According to the stability of write-in, and the update frequency of the logical address by getting chooses material resources block, to storing data, due to patrolling The update frequency for collecting address can reflect the cold and hot degree of data, the corresponding data of the big logical address of update frequency can be deposited The few physical block of erasing times is stored up, by the physics more than the corresponding data storage to erasing times of the small logical address of update frequency Block reduces the starting of static wear equilibrium, reduces invalid data-moving so that the abrasion equilibrium of physical block reaches rationalization, It solves the problems, such as that the service life of storage system in the prior art is short, has reached the effect for extending the service life of storage system Fruit.
Fig. 2 is the schematic diagram of the data processing equipment for data storage according to a second embodiment of the present invention.The implementation The data processing equipment for data storage of example can be used as the data processing equipment for data storage of above-described embodiment A kind of preferred embodiment.As shown in Fig. 2, this be used for data storage data processing equipment include first acquisition unit 10, Writing unit 30, second acquisition unit 50, selection unit 70 and storage unit 90.Wherein, writing unit 30 includes division module 301, computing module 303 and writing module 305.First acquisition unit 10, second acquisition unit 50, selection unit 70 and storage are single Member 90 successively with first acquisition unit 10 shown in FIG. 1, second acquisition unit 50, selection unit 70 and storage unit 90 function It is identical, it is not described herein.
Division module 301 is used to as unit of the logical address region for presetting size divide logical address space, Obtain multiple logical address regions.
Division module 301 divides logical address space, can be logical address region according to default size into Row divides, wherein and default size, which can be, to be carried out as needed for example, divided as unit of 2Gb to logical address space, To which logical address space to be divided into the logical address region of multiple 2Gb sizes.Specifically, in memory retain bucket index and Flash memory nandflash in storage system is divided into the small table collection that 2Gb is unit, with the big of BLOCK SIZE by big recording indexes The small unit for sequential write, in order to uniformly be distributed to data in each small table by hash algorithm, wherein each is small Table is a logical address region.
Computing module 303 is for calculating data by hash algorithm.
Data are calculated by hash algorithm, i.e., Hash processing are carried out to the data of application layer.Wherein, which calculates Method can be used for enabling data to being uniformly distributed in logical address space.Due to the data by hash algorithm to application layer It is calculated, obtains the corresponding logical address of data, enable data to be uniformly distributed in logical address space.
Writing module 305 is used to for the data after calculating equably being written in multiple logical address regions.
According to the corresponding logical address of the data being calculated, data can be equably written to multiple logical address areas In domain, so that the data in each region are kept uniformly, so that the data of entire logical address space keep uniformity, in turn The stability of the update frequency of the data in logical address region can be kept for a long time.
Preferably, the selection unit 70 of the embodiment of the present invention may include the first acquisition module, and the first acquisition module is used for The cold and hot degree of data is obtained by update frequency, and the physical block of storage system is chosen according to the cold and hot degree of data.It updates Frequency is the update frequency of logical address, and the update frequency of logical address can be the update of logical address in logical address region Frequency passes through the cold and hot degree of the corresponding data of the available logical address region of the update frequency.For example, working as logical address Update frequency it is bigger, then it represents that the corresponding data of logical address region are dsc data, i.e. the frequency of the data modified is big; When the update frequency of logical address is smaller, then it represents that the corresponding data of logical address region are cold data, i.e. the data are repaired The frequency changed is small.Wherein, the first acquisition module includes acquisition submodule, computational submodule and determining submodule.
Acquisition submodule is used to obtain the data write-in number of logical address.
Specifically, the data write-in number of logical address can be the logical address area divided to logical address Number is written in the data in domain, and the cold and hot degree of data can be determined by the write-in number.For example, logical address space is divided into 2Gb is the small table of unit, and the data write-in number in the small table can reflect the cold and hot degree of the corresponding data of the small table.It obtains The data write-in number of logical address, which can be, counts the number of mathematical logic write-in, in order to true by the statistical value The cold and hot degree of fixed number evidence.
Determine submodule for the cold and hot degree that number determines data to be written by data.
After number is written in the data for getting logical address, number can be written by the data and judge this logically The cold and hot degree of the corresponding data in location.Wherein, when data are written, number is larger, and is more than the threshold value of preset data write-in number When, it is determined that the corresponding data of the logical address are dsc data, i.e. the frequency modified of the data is larger;When number is written in data It is smaller, and lower than preset data write-in number threshold value when, it is determined that the corresponding data of the logical address be cold data, i.e., should The frequency that data are modified is smaller.After determining the cold and hot degree of data, it is suitable to be chosen based on the cold and hot degree of data Physical block, to store the data.
The description of static wear equilibrium can be seen that since static wear equilibrium starts according to embodiments of the present invention When, it also corresponds to be the primary operation wiped and data are written to physical block, therefore, if the starting of static wear equilibrium In frequent, burden can be brought to system, increase invalid data-moving operation.By the data write-in time for obtaining logical address Number, and the cold and hot degree that number determines data is written by the data, it can be improved the accuracy to the identification of data cold and hot degree, from And invalid data-moving operation of the storage system after storing data is reduced, and then further extend the use longevity of storage system Life.
Fig. 3 is the schematic diagram of the data processing equipment for data storage according to a third embodiment of the present invention.The implementation The data processing equipment for data storage of example can be used as the data processing equipment for data storage of above-described embodiment A kind of preferred embodiment.As shown in figure 3, this be used for data storage data processing equipment include first acquisition unit 10, Writing unit 30, second acquisition unit 50, selection unit 70 and storage unit 90.Wherein, selection unit 70 includes the second acquisition Module 701 and selection module 703.First acquisition unit 10, writing unit 30, second acquisition unit 50 and storage unit 90 are successively It is identical as the function of first acquisition unit 10 shown in FIG. 1, writing unit 30, second acquisition unit 50 and storage unit 90, but It is without being limited thereto, it is not described herein.
Second acquisition module 701 is used to obtain the erasing times of physical block available free in storage system.
Due in storage system mainly include free block, four kinds of used block, erroneous block and scrub block physical blocks, When being stored in data into storage system, physical block, that is, free block idle in storage system is preferably chosen, sky is stored data into On not busy physical block.Since the erasing times of the physical block in storage system are limited, in order to avoid due to the erasing of physical block time The problem of number is more than the peak of physical block erasing times and storage system is caused to fail, can be by obtaining available free object The erasing times for managing block, are stored in order to choose suitable physical block from available free physical block, in order to realize The abrasion equilibrium of storage system.
Module 703 is chosen to be used to choose physical block according to the cold and hot degree of erasing times and data.
After getting the erasing times of physical block, can erasing times and data based on physical block cold and hot degree Choose physical block, wherein the cold and hot degree of data can be determined by the update frequency of logical address.For example, for data quilt When the frequency of modification is smaller, it can choose the most free physical block of erasing times and store the data;Data are modified When frequency is larger or uncertain, it can choose the least free physical block of erasing times and store the data.
According to embodiments of the present invention, it after the update frequency by logical address determines the cold and hot degree of data, obtains The erasing times of the erasing times of free physical block, cold and hot degree and physical block based on data choose suitable physical block, mention The high efficiency of abrasion equilibrium, reduces the number of starts of static wear.
Preferably, choosing module 703 includes judging submodule, the first selection submodule and the second selection submodule.
Judging submodule is used to be judged by the cold and hot degree of data whether data to be cold data, and cold data is by modification frequency Low data.
Judge whether data are that cold data can be and judge number by the frequency that data are modified by the cold and hot degree of data According to whether being cold data, wherein cold data is the data low by modification frequency, can be the data that will not be modified for a long time.
First selection submodule is used for when judging data is cold data, chooses erasing time in available free physical block The most physical block of number.
Second, which chooses submodule, is used for when judging data not is cold data, chooses in available free physical block and wipes The least physical block of number.
When to judge data not be cold data, show that the data can be the high dsc data of the frequency modified, it can also be with It is the uncertain data of frequency modified, the least physical block of erasing times is in the available free physical block of selection to store this Data, so that the physical block storage modification frequency for realizing that erasing times are few in storage system is high when data are modified Data, the low data of physical block storage modification frequency more than erasing times, further improve the efficiency of abrasion equilibrium.
The embodiment of the invention also provides a kind of data processing methods for data storage.This method operates in computer In equipment.It should be noted that the data processing method for data storage of the embodiment of the present invention can be real through the invention It applies and is executed provided by example for the data processing equipment of data storage, the data for data storage of the embodiment of the present invention Processing unit can be used for executing the data processing method provided by the embodiment of the present invention for data storage.
Fig. 4 is the flow chart of the data processing method for data storage according to a first embodiment of the present invention.Such as Fig. 4 institute Show, which comprises the following steps that
Step S402 obtains the data of the application layer of the storage system for data storage.
Storage system can be in computer to be believed by the various storage equipment of storage program and data, control unit and management Cease system composed by the equipment (hardware) dispatched and algorithm (software).The data of application layer can be the business from application layer Data, the data of application layer have certain cold and hot degree, and the cold and hot degree is for indicating the frequency that data are modified or are written Degree.Cold data and dsc data can be splitted data into according to the cold and hot degree of data, wherein cold data can be expression and be modified The lesser data of frequency, will not be modified for a long time;Dsc data can be expression by the biggish data of modification frequency, show hot number It is high according to the frequency used.The data of application layer are obtained in order to store the data of the application layer.
Data are equably written in the logical address space of storage system by step S404.
Logical address space can refer to source program institute used in instruction and data after compiling or linking assembly There is the space of relative address.It, can be by the data of the application layer with key-value pair (Key- after getting the data of application layer Value mode) is stored.It can carry out that the data pair are calculated by data of Hash (hash) algorithm to application layer The logical address answered enables data to equably be written in logical address space, specifically, can be logical address space Divided, be divided by preset size as unit of multiple logical address sections, then by hash algorithm by data equably It is distributed in each logical address section.By being equably written to data in the logical address space of storage system, guarantee Data logical address space uniformity, to keep the stability of the frequency of the write-in of data.
Step S406 obtains the update frequency of logical address in logical address space.
Logical address, which can be, in logical address space patrols what logical address space carried out etc. obtaining after units divide Collect the logical address in region.The update frequency of logical address can be the update frequency of logical address in logical address region, Pass through the cold and hot degree of the corresponding data of the available logical address region of the update frequency.For example, working as logical address more New frequency is bigger, then it represents that the corresponding data of logical address region are dsc data, i.e. the frequency of the data modified is big;Instead It, then it represents that the corresponding data of logical address region are cold data, i.e. the frequency of the data modified is small.Specifically, it obtains The update frequency of logical address, which can be, is written number by the data of logical address to judge, number judgement is written according to data The update frequency of logical address.
Step S408 chooses the physical block of storage system by update frequency.
Physical block can be in storage system, the physical region of the storing data in recording medium, usually in storage system In, physical block is broadly divided into free block, used block, erroneous block and four kinds of scrub block, wherein free block b is indicated can be with The physical block of used free time, used block indicate that the physical block used, erroneous block indicate the physics for mistake occur Block, scrub block indicate the physical block for needing to move.It can be by the physical block that update frequency chooses storage system using dynamic The mode of abrasion equilibrium is chosen, wherein Dynamic wear equilibrium refers to that the upper layer logic of storage system needs to obtain a sky Not busy physical block when writing data, selects suitable physical block using certain rule.Specifically, Dynamic wear equilibrium makes Method can be the cold and hot degree for determining data by update frequency first, i.e. the frequency modified of data, if it is determined that What data will not be modified for a long time, then the most physical block of selective erasing number from idle physical block, stores data into In the physical block;If it is determined that the modification frequency of data is higher, or can not determine the modification frequency of data, then selective erasing The physical block of number the smallest free time, stores data into the smallest physical block of the erasing times.
Step S410 passes through the physical block storing data of selection.
It, will be in the data storage to the physical block of selection of application layer after choosing to material resources block.
In the embodiment of the present invention, storage system can also have the function of static wear equilibrium, wherein static wear is balanced It can refer to and find the smallest physical block of erasing times in the physical block used, then the data on the physical block are removed It moves on on the more physical block of erasing times, for example, finding the smallest A of erasing times in the physical block group used Block finds the most B block of erasing times in idle physical block group, going above the data-moving on A block to B block, B block It is inserted into the material resources block group used, is inserted into idle physical block group after the data of A block are wiped.Static wear is equal Weighing apparatus can be divided into several modes, and passing through different mode, to trigger static wear balanced, wherein the trigger condition of each pattern is not The same, the mode of static wear equilibrium is as follows:
1) foreground mode, when physical block because of abrasion equilibrium when something goes wrong, for example garbage reclamation can not find expected physics Block triggers foreground abrasion equilibrium, and it is balanced to execute static wear.
2) background mode: when storage system is in the free time, can trigger backstage abrasion equilibrium, execute static state by backstage Abrasion equilibrium.
3) periodicity pattern: when data are written to storage system, needing the physical block to the storage system application free time, In, when one section of idle physical block of every application, the abrasion of storage system is counted plus one, when, when abrasion reaches certain threshold value, touching It is balanced to send out static wear.
4) balanced mode: when the difference of the maximum erasing times of physical block and minimum erasing times is greater than certain threshold value, touching It is balanced to send out static wear.
Static wear equilibrium can make storage system after being stored in data, pass through sentencing for the erasing times to material resources block It is disconnected that data are moved, realize the abrasion equilibrium to physical block.
According to embodiments of the present invention, by being equably written to the data of application layer in logical address space, guarantee number According to the stability of write-in, and the update frequency of the logical address by getting chooses material resources block, to storing data, due to patrolling The update frequency for collecting address can reflect the cold and hot degree of data, the corresponding data of the big logical address of update frequency can be deposited The few physical block of erasing times is stored up, by the physics more than the corresponding data storage to erasing times of the small logical address of update frequency Block reduces the starting of static wear equilibrium, reduces invalid data-moving so that the abrasion equilibrium of physical block reaches rationalization, It solves the problems, such as that the service life of storage system in the prior art is short, has reached the effect for extending the service life of storage system Fruit.
Fig. 5 is the flow chart of the data processing method for data storage according to a second embodiment of the present invention.The implementation The data processing method of example can be used as a kind of preferred embodiment of the data processing method of above-described embodiment.As shown in figure 5, The data processing method for being used for data storage comprises the following steps that
Step S502 obtains the data of the application layer of the storage system for data storage.
Storage system can be in computer to be believed by the various storage equipment of storage program and data, control unit and management Cease system composed by the equipment (hardware) dispatched and algorithm (software).The data of application layer can be the business from application layer Data, the data of application layer have certain cold and hot degree, and the cold and hot degree is for indicating the frequency that data are modified or are written Degree.Cold data and dsc data can be splitted data into according to the cold and hot degree of data, wherein cold data, which can be, indicates the data The frequency modified it is smaller, will not be modified for a long time;Conversely, the frequency that dsc data is modified is big.Obtain the data of application layer In order to which the data of the application layer are stored.
Step S504 divides logical address space as unit of the logical address region for presetting size, obtains more A logical address region.
Logical address space is divided, can be and divided according to the logical address region of default size, wherein Default size can be to be carried out for example, being divided as unit of 2Gb to logical address space, thus will logically as needed Location space is divided into the logical address region of multiple 2Gb sizes.Specifically, retain bucket index and big recording indexes in memory, Flash memory nandflash in storage system is divided into the small table collection that 2Gb is unit, using the size of BLOCK SIZE as sequential write Unit, in order to uniformly be distributed to data in each small table by hash algorithm, wherein each small table is one and patrols Collect address area.
Step S506 calculates data by hash algorithm.
Data are calculated by hash algorithm, which can be used for enabling data to being uniformly distributed in Logical address space.Due to being calculated by data of the hash algorithm to application layer, the corresponding logical address of data is obtained, is made Obtaining data can be uniformly distributed in logical address space.
Data after calculating are equably written in multiple logical address regions by step S508.
According to the corresponding logical address of the data being calculated, data can be equably written to multiple logical address areas In domain, so that the data in each region are kept uniformly, so that the data of entire logical address space keep uniformity, in turn The stability of the update frequency of the data in logical address region can be kept for a long time.
Step S510 obtains the update frequency of logical address in logical address space.
Logical address, which can be, in logical address space patrols what logical address space carried out etc. obtaining after units divide Collect the logical address in region.The update frequency of logical address can be the update frequency of logical address in logical address region, Pass through the cold and hot degree of the corresponding data of the available logical address region of the update frequency.For example, working as logical address more New frequency is bigger, then it represents that the corresponding data of logical address region are dsc data, i.e. the frequency of the data modified is big;Instead It, then it represents that the corresponding data of logical address region are cold data, i.e. the frequency of the data modified is small.Specifically, it obtains The update frequency of logical address, which can be, is written number by the data of logical address to judge, number judgement is written according to data The update frequency of logical address.
Step S512 chooses the physical block of storage system by update frequency.
Physical block can be in storage system, the physical region of the storing data in recording medium, usually in storage system In, physical block is broadly divided into free block, used block, erroneous block and four kinds of scrub block, wherein free block b is indicated can be with The physical block of used free time, used block indicate that the physical block used, erroneous block indicate the physics for mistake occur Block, scrub block indicate the physical block for needing to move.It can be by the physical block that update frequency chooses storage system using dynamic The mode of abrasion equilibrium is chosen, wherein Dynamic wear equilibrium refers to that the upper layer logic of storage system needs to obtain a sky Not busy physical block when writing data, selects suitable physical block using certain rule.Specifically, Dynamic wear equilibrium makes Method can be the cold and hot degree for determining data by update frequency first, i.e. the frequency modified of data, if it is determined that What data will not be modified for a long time, then the most physical block of selective erasing number from idle physical block, stores data into In the physical block;If it is determined that the modification frequency of data is higher, or can not determine the modification frequency of data, then selective erasing The physical block of number the smallest free time, stores data into the smallest physical block of the erasing times.
Step S514 passes through the physical block storing data of selection.
It, will be in the data storage to the physical block of selection of application layer after choosing to material resources block.
Preferably, step S408 or step S512 includes: the cold and hot degree that data are obtained by update frequency, and according to The cold and hot degree of data chooses the physical block of storage system.Update frequency is the update frequency of logical address, and logical address is more New frequency can be the update frequency of logical address in logical address region, pass through the available logical address of the update frequency The cold and hot degree of the corresponding data in region.For example, the update frequency when logical address is bigger, then it represents that logical address region is corresponding Data be dsc data, i.e. the frequency of the data modified is big;When the update frequency of logical address is smaller, then it represents that logically The corresponding data in location region are cold data, i.e. the frequency of the data modified is small.Wherein, data are obtained by following steps Cold and hot degree:
Step 1 obtains the data write-in number of logical address.
Specifically, the data write-in number of logical address can be the logical address area divided to logical address Number is written in the data in domain, and the cold and hot degree of data can be determined by the write-in number.For example, logical address space is divided into 2Gb is the small table of unit, and the data write-in number in the small table can reflect the cold and hot degree of the corresponding data of the small table.It obtains The data write-in number of logical address, which can be, counts the number of mathematical logic write-in, in order to true by the statistical value The cold and hot degree of fixed number evidence.
The cold and hot degree that number determines data is written by data in step 2.
After number is written in the data for getting logical address, number can be written by the data and judge this logically The cold and hot degree of the corresponding data in location.Wherein, when data are written, number is larger, and is more than the threshold value of preset data write-in number When, it is determined that the corresponding data of the logical address are dsc data, i.e. the frequency modified of the data is larger;When number is written in data It is smaller, and lower than preset data write-in number threshold value when, it is determined that the corresponding data of the logical address be cold data, i.e., should The frequency that data are modified is smaller.After determining the cold and hot degree of data, it is suitable to be chosen based on the cold and hot degree of data Physical block, to store the data.
The description of static wear equilibrium can be seen that since static wear equilibrium starts according to embodiments of the present invention When, it also corresponds to be the primary operation wiped and data are written to physical block, therefore, if the starting of static wear equilibrium In frequent, burden can be brought to system, increase invalid data-moving operation.By the data write-in time for obtaining logical address Number, and the cold and hot degree that number determines data is written by the data, it can be improved the accuracy to the identification of data cold and hot degree, from And invalid data-moving operation of the storage system after storing data is reduced, and then further extend the use longevity of storage system Life.
Fig. 6 is the flow chart of the data processing method for data storage according to a third embodiment of the present invention.The implementation The data processing method for data storage of example can be the data processing method for data storage of above-described embodiment A kind of preferred embodiment.As shown in fig. 6, the data processing method for being used for data storage comprises the following steps that
Step S602 obtains the data of the application layer of the storage system for data storage.
Storage system can be in computer to be believed by the various storage equipment of storage program and data, control unit and management Cease system composed by the equipment (hardware) dispatched and algorithm (software).The data of application layer can be the business from application layer Data, the data of application layer have certain cold and hot degree, and the cold and hot degree is for indicating the frequency that data are modified or are written Degree.Cold data and dsc data can be splitted data into according to the cold and hot degree of data, wherein cold data, which can be, indicates the data The frequency modified it is smaller, will not be modified for a long time;Conversely, the frequency that dsc data is modified is big.Obtain the data of application layer In order to which the data of the application layer are stored.
Data are equably written in the logical address space of storage system by step S604.
Logical address space can refer to source program institute used in instruction and data after compiling or linking assembly There is the space of relative address.It, can be by the data of the application layer with key-value pair (Key- after getting the data of application layer Value mode) is stored.It can carry out that the data pair are calculated by data of Hash (hash) algorithm to application layer The logical address answered enables data to equably be written in logical address space, specifically, can be logical address space Divided, be divided by preset size as unit of multiple logical address sections, then by hash algorithm by data equably It is distributed in each logical address section.By being equably written to data in the logical address space of storage system, guarantee Data logical address space uniformity, to keep the stability of the frequency of the write-in of data.
Step S606 obtains the update frequency of logical address in logical address space.
Logical address, which can be, in logical address space patrols what logical address space carried out etc. obtaining after units divide Collect the logical address in region.The update frequency of logical address can be the update frequency of logical address in logical address region, Pass through the cold and hot degree of the corresponding data of the available logical address region of the update frequency.For example, working as logical address more New frequency is bigger, then it represents that the corresponding data of logical address region are dsc data, i.e. the frequency of the data modified is big;Instead It, then it represents that the corresponding data of logical address region are cold data, i.e. the frequency of the data modified is small.Specifically, it obtains The update frequency of logical address, which can be, is written number by the data of logical address to judge, number judgement is written according to data The update frequency of logical address.
Step S608 obtains the erasing times of physical block available free in storage system.
Due in storage system mainly include free block, four kinds of used block, erroneous block and scrub block physical blocks, When being stored in data into storage system, physical block, that is, free block idle in storage system is preferably chosen, sky is stored data into On not busy physical block.Since the erasing times of the physical block in storage system are limited, in order to avoid due to the erasing of physical block time The problem of number is more than the peak of physical block erasing times and storage system is caused to fail, can be by obtaining available free object The erasing times for managing block, are stored in order to choose suitable physical block from available free physical block, in order to realize The abrasion equilibrium of storage system.
Step S610 chooses physical block according to the cold and hot degree of erasing times and data.
After getting the erasing times of physical block, can erasing times and data based on physical block cold and hot degree Choose physical block, wherein the cold and hot degree of data can be determined by the update frequency of logical address.For example, for data quilt When the frequency of modification is smaller, it can choose the most free physical block of erasing times and store the data;Data are modified When frequency is larger or uncertain, it can choose the least free physical block of erasing times and store the data.
Step S612 passes through the physical block storing data of selection.
It, will be in the data storage to the physical block of selection of application layer after choosing to material resources block.
According to embodiments of the present invention, it after the update frequency by logical address determines the cold and hot degree of data, obtains The erasing times of the erasing times of free physical block, cold and hot degree and physical block based on data choose suitable physical block, mention The high efficiency of abrasion equilibrium, reduces the number of starts of static wear.
Fig. 7 is the flow chart of the data processing method for data storage according to a fourth embodiment of the present invention.The implementation The data processing method for data storage of example can be the data processing method for data storage of above-described embodiment A kind of preferred embodiment.As shown in fig. 7, the data processing method for being used for data storage comprises the following steps that
Step S702 obtains the data of the application layer of the storage system for data storage.
Storage system can be in computer to be believed by the various storage equipment of storage program and data, control unit and management Cease system composed by the equipment (hardware) dispatched and algorithm (software).The data of application layer can be the business from application layer Data, the data of application layer have certain cold and hot degree, and the cold and hot degree is for indicating the frequency that data are modified or are written Degree.Cold data and dsc data can be splitted data into according to the cold and hot degree of data, wherein cold data, which can be, indicates the data The frequency modified it is smaller, will not be modified for a long time;Conversely, the frequency that dsc data is modified is big.Obtain the data of application layer In order to which the data of the application layer are stored.
Data are equably written in the logical address space of storage system by step S704.
Logical address space can refer to source program institute used in instruction and data after compiling or linking assembly There is the space of relative address.It, can be by the data of the application layer with key-value pair (Key- after getting the data of application layer Value mode) is stored.It can carry out that the data pair are calculated by data of Hash (hash) algorithm to application layer The logical address answered enables data to equably be written in logical address space, specifically, can be logical address space Divided, be divided by preset size as unit of multiple logical address sections, then by hash algorithm by data equably It is distributed in each logical address section.By being equably written to data in the logical address space of storage system, guarantee Data logical address space uniformity, to keep the stability of the frequency of the write-in of data.
Step S706 obtains the update frequency of logical address in logical address space.
Logical address, which can be, in logical address space patrols what logical address space carried out etc. obtaining after units divide Collect the logical address in region.The update frequency of logical address can be the update frequency of logical address in logical address region, Pass through the cold and hot degree of the corresponding data of the available logical address region of the update frequency.For example, working as logical address more New frequency is bigger, then it represents that the corresponding data of logical address region are dsc data, i.e. the frequency of the data modified is big;Instead It, then it represents that the corresponding data of logical address region are cold data, i.e. the frequency of the data modified is small.Specifically, it obtains The update frequency of logical address, which can be, is written number by the data of logical address to judge, number judgement is written according to data The update frequency of logical address.
Step S708 obtains the erasing times of physical block available free in storage system.
Due in storage system mainly include free block, four kinds of used block, erroneous block and scrub block physical blocks, When being stored in data into storage system, physical block, that is, free block idle in storage system is preferably chosen, sky is stored data into On not busy physical block.Since the erasing times of the physical block in storage system are limited, in order to avoid due to the erasing of physical block time The problem of number is more than the peak of physical block erasing times and storage system is caused to fail, can be by obtaining available free object The erasing times for managing block, are stored in order to choose suitable physical block from available free physical block, in order to realize The abrasion equilibrium of storage system.
Step S710 judges whether data are cold data by the cold and hot degree of data, and cold data is low by modification frequency Data.
Judge whether data are that cold data can be and judge number by the frequency that data are modified by the cold and hot degree of data According to whether being cold data, wherein cold data is the data low by modification frequency, can be the data that will not be modified for a long time.
It is most to choose erasing times in available free physical block when judging data is cold data by step S712 Physical block.
It is minimum to choose erasing times in available free physical block when judging data not is cold data by step S714 Physical block.
When to judge data not be cold data, show that the data can be the high dsc data of the frequency modified, it can also be with It is the uncertain data of frequency modified, the least physical block of erasing times is in the available free physical block of selection to store this Data.
For example, in storage system include three idle physical blocks be respectively the first physical block, the second physical block and third Physical block, wherein the erasing times of these three physical blocks got are respectively 10,100 and 1000.When storage system needs are write When entering data data, since the erasing times of the first physical block are minimum, data data1 can be directly stored in existing way In first physical block.When storage system needs that data data2 is written again, data data2 can be stored in the by existing mode In two physical blocks.But when the frequency of use of data data1 and data data2 difference, if data data1 is for a long time It does not need inside to modify, and data data2 is whithin a period of time, the frequency modified is very high, will ultimately result in the first physics Erasing times still very little on block, and the erasing times of the second physical block can be gradually increased, and cause abrasion equilibrium unreasonable.At this In inventive embodiments, by the cold and hot degree to data data1 and data data2, it that is to say that the frequency modified is judged, It will be stored on the first few physical block of erasing times by the high data data2 of modification frequency, by the data low by modification frequency Data1 is stored on the second few physical block of erasing times, so that being able to maintain physical block when follow-up data is modified Abrasion equilibrium.
So that the physical block storage modification frequency for realizing that erasing times are few in storage system is high when data are modified Data, the low data of physical block storage modification frequency more than erasing times further improve the efficiency of abrasion equilibrium.
Step S716 passes through the physical block storing data of selection.
It, will be in the data storage to the physical block of selection of application layer after choosing to material resources block.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, mobile terminal, server or network equipment etc.) executes side described in each embodiment of the present invention The all or part of the steps of method.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (8)

1. a kind of data processing method for data storage characterized by comprising
Obtain the data of the application layer of the storage system for data storage;
The data are equably written in the logical address space of the storage system;
Obtain the update frequency of logical address in the logical address space;
The physical block of the storage system is chosen by the update frequency;And
The data are stored by the physical block of selection;
Wherein, the data are equably written in the logical address space of the storage system includes: to preset size Logical address region is that unit divides the logical address space, obtains multiple logical address regions;Pass through Kazakhstan Uncommon algorithm calculates the data;And the data after calculating are equably written to multiple logical address regions In.
2. data processing method according to claim 1, which is characterized in that choose the storage by the update frequency The physical block of system includes: the cold and hot degree that the data are obtained by the update frequency, and according to the cold and hot of the data Degree chooses the physical block of the storage system, wherein obtains the cold and hot degree of the data in the following manner:
Obtain the data write-in number of the logical address;And
The cold and hot degree that number determines the data is written by the data.
3. data processing method according to claim 2, which is characterized in that choose institute according to the cold and hot degree of the data The physical block for stating storage system includes:
Obtain the erasing times of physical block available free in the storage system;And
The physical block is chosen according to the cold and hot degree of the erasing times and the data.
4. data processing method according to claim 3, which is characterized in that according to the erasing times and the data Cold and hot degree chooses the physical block
Judge whether the data are cold data by the cold and hot degree of the data, the cold data is the number low by modification frequency According to:
When judging the data is the cold data, it is most to choose erasing times described in described the available free physical block Physical block;And
When judging the data not is the cold data, erasing times described in described the available free physical block are chosen most Few physical block.
5. a kind of data processing equipment for data storage characterized by comprising
First acquisition unit, for obtaining the data for being used for the application layer of storage system of data storage;
Writing unit, for the data to be equably written in the logical address space of the storage system;
Second acquisition unit, for obtaining the update frequency of logical address in the logical address space;
Selection unit, for choosing the physical block of the storage system by the update frequency;And
Storage unit stores the data for the physical block by choosing;
Wherein, said write unit includes: division module, for being patrolled as unit of the logical address region for presetting size described It collects address space to be divided, obtains multiple logical address regions;Computing module, for passing through hash algorithm to the number According to being calculated;And writing module, for the data after calculating equably to be written in multiple logical address regions.
6. data processing equipment according to claim 5, which is characterized in that the selection unit includes: the first acquisition mould Block chooses institute for obtaining the cold and hot degree of the data by the update frequency, and according to the cold and hot degree of the data State the physical block of storage system, wherein described first, which obtains module, includes:
Number is written in acquisition submodule, the data for obtaining the logical address;And
Submodule is determined, for the cold and hot degree that number determines the data to be written by the data.
7. data processing equipment according to claim 6, which is characterized in that the selection unit includes:
Second obtains module, for obtaining the erasing times of physical block available free in the storage system;And
Module is chosen, for choosing the physical block according to the cold and hot degree of the erasing times and the data.
8. data processing equipment according to claim 7, which is characterized in that the selection module includes:
Judging submodule, for judging whether the data are cold data by the cold and hot degree of the data, the cold data is By the low data of modification frequency:
First chooses submodule, for choosing described the available free physics when judging the data is the cold data The most physical block of erasing times described in block;And
Second chooses submodule, for when judging the data not is the cold data, chooses described the available free object Manage the least physical block of erasing times described in block.
CN201410052078.8A 2014-02-14 2014-02-14 Data processing method and device for data storage Active CN104850500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410052078.8A CN104850500B (en) 2014-02-14 2014-02-14 Data processing method and device for data storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410052078.8A CN104850500B (en) 2014-02-14 2014-02-14 Data processing method and device for data storage

Publications (2)

Publication Number Publication Date
CN104850500A CN104850500A (en) 2015-08-19
CN104850500B true CN104850500B (en) 2019-06-07

Family

ID=53850153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410052078.8A Active CN104850500B (en) 2014-02-14 2014-02-14 Data processing method and device for data storage

Country Status (1)

Country Link
CN (1) CN104850500B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170075835A (en) * 2015-12-23 2017-07-04 에스케이하이닉스 주식회사 Memory system and operating method of memory system
CN105677242B (en) * 2015-12-31 2018-11-30 杭州华为数字技术有限公司 The separation method and device of cold and hot data
CN106681935A (en) * 2016-12-29 2017-05-17 郑州云海信息技术有限公司 Trash recycling method for solid state disk
CN109144885B (en) * 2017-06-27 2022-04-29 北京忆恒创源科技股份有限公司 Garbage recovery method of solid-state storage device and solid-state storage device
CN107728951B (en) * 2017-10-24 2019-12-20 华中科技大学 Wear leveling method and system based on PCM
CN109725835B (en) * 2017-10-27 2022-04-29 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for managing disk array
EP3627308A1 (en) 2018-09-20 2020-03-25 STMicroelectronics Srl A method of managing memories, corresponding circuit, device and computer program product
CN109558075B (en) * 2018-10-29 2023-03-24 珠海妙存科技有限公司 Method and device for storing data by using data cold and hot attributes
CN112650691A (en) * 2019-10-10 2021-04-13 戴尔产品有限公司 Hierarchical data storage and garbage recovery system based on change frequency
CN110928852B (en) * 2019-12-09 2022-12-02 Oppo广东移动通信有限公司 Garbage recycling method and device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855162A (en) * 2011-06-27 2013-01-02 国民技术股份有限公司 Data updating method, data updating system and memory
CN103218306A (en) * 2013-03-29 2013-07-24 四川长虹电器股份有限公司 Method for realizing dynamic abrasion balance on the basis of UBI (unsorted block images)
CN103562842A (en) * 2011-05-24 2014-02-05 马维尔国际贸易有限公司 Method for storage devices to achieve low write amplification with low over provision

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101516580B1 (en) * 2009-04-22 2015-05-11 삼성전자주식회사 Controller, data storage device and data storage system having the same, and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103562842A (en) * 2011-05-24 2014-02-05 马维尔国际贸易有限公司 Method for storage devices to achieve low write amplification with low over provision
CN102855162A (en) * 2011-06-27 2013-01-02 国民技术股份有限公司 Data updating method, data updating system and memory
CN103218306A (en) * 2013-03-29 2013-07-24 四川长虹电器股份有限公司 Method for realizing dynamic abrasion balance on the basis of UBI (unsorted block images)

Also Published As

Publication number Publication date
CN104850500A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104850500B (en) Data processing method and device for data storage
CN103995855B (en) The method and apparatus of data storage
CN102841849B (en) For operating the method and system of computerize storer
US9111235B2 (en) Method and system to evaluate risk of configuration changes in an information system
US9280370B2 (en) System structure management device, system structure management method, and program
EP2735971A1 (en) Management device and management method for storage device
CN107003935A (en) Optimize database duplicate removal
CN101673192B (en) Method for time-sequence data processing, device and system therefor
US8904144B1 (en) Methods and systems for determining at risk index for storage capacity
CN104933051A (en) File storage space recovery method and device
US10810054B1 (en) Capacity balancing for data storage system
CN109299190A (en) The method and device of the metadata dealt with objects in distributed memory system
CN109542339B (en) Data layered access method and device, multilayer storage equipment and storage medium
CN106990910A (en) The operating method of storage device and storage device
CN104268243A (en) Position data processing method and device
CN104391992A (en) Asset data-oriented data processing system
CN111291018B (en) Data management method, device, equipment and storage medium
CN105446982A (en) Data storage system management method and device
Cherubini et al. Cognitive storage for big data
US11507290B2 (en) Method and apparatus for storage device management
CN107948229A (en) The method, apparatus and system of distributed storage
CN111858188A (en) Method, apparatus and computer program product for storage management
CN109271364A (en) Storage method and device
EP3861456A1 (en) Upgrade determinations of devices based on telemetry data
CN107256130B (en) Data store optimization method and system based on Cuckoo Hash calculation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190806

Address after: 518000 Nanshan District science and technology zone, Guangdong, Zhejiang Province, science and technology in the Tencent Building on the 1st floor of the 35 layer

Co-patentee after: Tencent cloud computing (Beijing) limited liability company

Patentee after: Tencent Technology (Shenzhen) Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.

TR01 Transfer of patent right