CN103049394A - Method and system for data caching of solid state disk - Google Patents
Method and system for data caching of solid state disk Download PDFInfo
- Publication number
- CN103049394A CN103049394A CN2012105047359A CN201210504735A CN103049394A CN 103049394 A CN103049394 A CN 103049394A CN 2012105047359 A CN2012105047359 A CN 2012105047359A CN 201210504735 A CN201210504735 A CN 201210504735A CN 103049394 A CN103049394 A CN 103049394A
- Authority
- CN
- China
- Prior art keywords
- solid state
- hard disc
- state hard
- data
- buffer area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The invention is applied to the technical field of storage, and provides a method and system for data caching of a solid state disk. The method for the data caching of the solid state disk comprises the following steps: setting a part of memory of a system memory as a data buffer cache of the solid state disk; caching read and write data of the solid state disk into the data buffer cache of the solid state disk. Therefore, the method and system of the data caching of the solid state disk reduces the visit times of the solid state disk and lengthens the service life of the solid state disk.
Description
Technical field
The present invention relates to technical field of memory, relate in particular to a kind of method and system thereof of solid state hard disc data buffer storage.
Background technology
SSD (Solid State Disk, solid state hard disc), namely IDE FLASH DISK is the hard disk made from solid-state electronic storage chip array, is comprised of control module and storage unit (FLASH chip).Identical with common hard disc on the interface specification of solid state hard disc and definition, function and the using method is also fully consistent with common hard disc on product design and size.Be widely used in the fields such as military, vehicle-mounted, industry control, video monitoring, network monitoring, the network terminal, electric power, medical treatment, aviation etc., navigator.Solid state hard disc Flash dielectric property has determined: 1) Flash is read and write take page or leaf as unit; 2) the erasable number of times of Flash is conditional, MLC (Multi-Level Cell, multilevel-cell) approximately 10,000 times, SLC (Single Layer Cell, single layer cell) approximately 100,000 times.So in the computer system based on solid state hard disc, in the same host data access situation, Flash medium read-write number of times is fewer, visit data is faster, and Flash page or leaf write operation is fewer, and the life-span of solid state hard disc is also longer.In order to improve the system data access speed, use solid state hard disc to substitute traditional mechanical hard disk in increasing the application, but the reading and writing data data are faster, the loss of all the more acute solid state hard disc.
In summary, existing solid state hard disc Data cache technology obviously exists inconvenience and defective, in actual use so be necessary to be improved.
Summary of the invention
For above-mentioned defective, the object of the present invention is to provide a kind of method and system thereof of solid state hard disc data buffer storage, to reduce the access times of solid state hard disc, provide the term of life of solid state hard disc.
To achieve these goals, the invention provides a kind of method of solid state hard disc data buffer storage, described method comprises the steps:
The partial memory of Installed System Memory is set to the data buffer area of solid state hard disc;
Reading and writing data of described solid state hard disc is cached in the data buffer area of described solid state hard disc.
According to described method, after the step of the described data buffer area that reading and writing data of described solid state hard disc is cached in described solid state hard disc, comprise:
The data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc.
According to described method, the step that the partial memory of described Installed System Memory is set to the data buffer area of solid state hard disc comprises:
The partial memory of Installed System Memory is divided into the data buffer area of described solid state hard disc; And/or
The data buffer area that described solid state hard disc is set takies the higher limit of described Installed System Memory; And/or
The cache size of the data buffer area of described solid state hard disc is set to the integral multiple of Hash memory pages, sets up the mapping relations of caching page and data logical address, and every page of described caching page is deposited the Hash memory pages data of appointment;
The step that the data of described data buffer area storage with described solid state hard disc store in the memory block of described solid state hard disc comprises:
After the data storage of the data buffer area of described solid state hard disc is full, described data is stored into the data buffer area of described solid state hard disc, and discharge the data buffer area of described solid state hard disc.
According to described method, after being set to the step of data buffer area of solid state hard disc, the partial memory of described Installed System Memory comprises:
The replace Algorithm of different described caching pages is set according to different application; And/or
The data buffer area of described solid state hard disc is set to forbid read data and/or disable write data buffer area;
The described step that reading and writing data of described solid state hard disc is cached in the data buffer area of described solid state hard disc comprises:
The data of described different application are stored in the data buffer area of described solid state hard disc according to the replace Algorithm of described caching page;
The step that the data of described data buffer area storage with described solid state hard disc store in the memory block of described solid state hard disc comprises:
In the data buffer area of described solid state hard disc during for forbidding read data and/or disable write data buffer area, with the data buffer area that data and/or read data directly store described solid state hard disc into of writing of described solid state hard disc.
According to described method, after being set to the step of data buffer area of solid state hard disc, the partial memory of described Installed System Memory also comprises:
The fill order that the data of manually data buffer area of described solid state hard disc being stored store the memory block of described solid state hard disc into is set; And/or
The cycle that timer is set and the data that the data buffer area of described solid state hard disc is stored is stored into the memory block of described solid state hard disc;
The step that the data of described data buffer area storage with described solid state hard disc store in the memory block of described solid state hard disc comprises:
Carry out described fill order, the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc; And/or
When the described cycle of described timer timing arrived, the data that the data buffer area of described solid state hard disc is stored stored in the memory block of described solid state hard disc.
In order to realize another goal of the invention of the present invention, the present invention also provides a kind of caching system of solid state hard disc data, comprising:
Divide module, the partial memory that is used for Installed System Memory is set to the data buffer area of solid state hard disc;
Cache module is for the data buffer area that reading and writing data of described solid state hard disc is cached in described solid state hard disc.
According to described caching system, described caching system also comprises:
Memory module is used for the data of the data buffer area storage of described solid state hard disc are stored into the memory block of described solid state hard disc.
According to described caching system, described division module comprises:
Divide submodule, be used for the partial memory of Installed System Memory is divided into the data buffer area of described solid state hard disc; And/or
Submodule is set, takies the higher limit of described Installed System Memory for the data buffer area that described solid state hard disc is set; And/or
Set up submodule, the cache size that is used for the data buffer area of described solid state hard disc is set to the integral multiple of Hash memory pages, sets up the mapping relations of caching page and data logical address, and every page of described caching page is deposited the Hash memory pages data of appointment;
Described memory module comprises:
The first sub module stored is used for described data being stored into the data buffer area of described solid state hard disc, and discharging the data buffer area of described solid state hard disc after the data storage of the data buffer area of described solid state hard disc is full.
According to described caching system, described caching system also comprises:
First arranges module, is used for arranging according to different application the replace Algorithm of different described caching pages; And/or
Second arranges module, and the data buffer area that is used for described solid state hard disc is set to forbid read data and/or disable write data buffer area;
Described cache module comprises:
Cache sub-module is used for according to the replace Algorithm of described caching page the data of described different application being stored in the data buffer area of described solid state hard disc;
Described memory module comprises:
The second sub module stored is when being used for data buffer area at described solid state hard disc for forbidding read data and/or disable write data buffer area, with the data buffer area that data and/or read data directly store described solid state hard disc into of writing of described solid state hard disc.
According to described caching system, described caching system also comprises:
The 3rd arranges module, is used for arranging the fill order that the data of manually data buffer area of described solid state hard disc being stored store the memory block of described solid state hard disc into; And/or
The 4th arranges module, is used for the cycle that timer is set and the data that the data buffer area of described solid state hard disc is stored is stored into the memory block of described solid state hard disc;
Described memory module comprises:
The 3rd sub module stored is used for carrying out described fill order, and the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc; And/or
The 4th sub module stored is used for when the described cycle of described timer timing arrives, and the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc.
The present invention reduces the solid state disk read-write number of times by using Installed System Memory as the solid state hard disc buffer memory; Also manage the solid state hard disc buffer memory in the Hash memory pages mode in addition, merge to a certain extent the small block data read-write; Further also customizable read-write cache strategy can be forbidden read-write cache, or only enable and write buffer memory, and the more effective buffer memory minimizing solid state hard disc that utilizes writes and erase operation.Preferably, can also customizable brush strategy, can be manually or brush etc. regularly, the assurance data can in time be saved in the solid state hard disc.
Description of drawings
Fig. 1 is the structural representation of the caching system of the solid state hard disc data that provide of first embodiment of the invention;
Fig. 2 is the structural representation of the caching system of the solid state hard disc data that provide of second embodiment of the invention;
Fig. 3 is the structural representation of the caching system of the solid state hard disc data that provide of the present invention the three~five embodiment;
Fig. 4 is the method flow diagram of the solid state hard disc data buffer storage that provides of sixth embodiment of the invention;
Fig. 5 is the method flow diagram of the solid state hard disc data buffer storage that provides of one embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, in the first embodiment of the present invention, provide a kind of caching system 100 of solid state hard disc data, comprising:
Divide module 10, the partial memory that is used for Installed System Memory is set to the data buffer area of solid state hard disc;
In this embodiment, be set to the data buffer area of solid state hard disc by the partial memory in the memory system of division module 10 computing machines in the caching system 100 of solid state hard disc data, 20 relevant reading and writing data with solid state hard disc of cache module are cached in the data buffer area of described solid state hard disc, realize the memory cache strategy, avoid data frequently to read and write the quick loss of solid state hard disc that solid state hard disc causes, largely the upper durability that improves solid state hard disc.Calculator memory is the volatile storage medium higher than solid state disk read-write access speed, has higher serviceable life, so utilize internal memory to come the buffer memory hot spot data, can reduce the solid state disk read-write access times; For the small block data read-write, can be integrated into whole page or leaf read-write simultaneously, not only improve readwrite performance, can improve the solid state hard disc life-span simultaneously.
Referring to Fig. 2, in the second embodiment of the present invention, caching system 100 also comprises:
In this embodiment, when reaching default storage condition, for example the data buffer area of solid state hard disc is filled with, and perhaps the time reaches, when perhaps other were pre-conditioned, the data of then data buffer area of described solid state hard disc being stored stored in the memory block of described solid state hard disc.
Referring to Fig. 3, in the third embodiment of the present invention, divide module 10 and comprise:
Set up submodule 13, the cache size that is used for the data buffer area of described solid state hard disc is set to the integral multiple of Hash memory pages, sets up the mapping relations of caching page and data logical address, and every page of described caching page is deposited the Hash memory pages data of appointment.
The first sub module stored 31 is used for described data being stored into the data buffer area of described solid state hard disc, and discharging the data buffer area of described solid state hard disc after the data storage of the data buffer area of described solid state hard disc is full.
In this embodiment, utilize calculator memory to provide buffer memory for solid state hard disc; Concrete can manage Installed System Memory according to the Hash memory pages mode, and dynamically adjusts size; Or the higher limit of the data buffer area of solid state hard disc is set.The user is to the read-write of solid state hard disc, and the data buffer area of the described solid state hard disc that buffer memory marks off to the computer system in advance manages calculator memory according to the solid state hard disc characteristics, with as the solid state hard disc buffer memory, thereby improved the solid state hard disc durability.
Referring to Fig. 3, in the fourth embodiment of the present invention, caching system 100 also comprises:
First arranges module 40, is used for arranging according to different application the replace Algorithm of different described caching pages; And/or
Second arranges module 50, and the data buffer area that is used for described solid state hard disc is set to forbid read data and/or disable write data buffer area;
The second sub module stored 32 is when being used for data buffer area at described solid state hard disc for forbidding read data and/or disable write data buffer area, with the data buffer area that data and/or read data directly store described solid state hard disc into of writing of described solid state hard disc.
In this embodiment, can module 40 arranges different described caching pages according to different application replace Algorithm be set by first; And/or second the data buffer area that module 50 described solid state hard discs are set be set to forbid read data and/or disable write data buffer area; Cache sub-module 21 is stored in the data of described different application according to the replace Algorithm of described caching page the data buffer area of described solid state hard disc.When needs will be buffered in data in the described Installed System Memory to the data buffer area of solid state hard disc, when 32 data buffer area at described solid state hard disc of the second sub module stored are forbidding read data and/or disable write data buffer area, then with the data buffer area that data and/or read data directly store described solid state hard disc into of writing of described solid state hard disc, be about in data write memory buffer memory or the solid state hard disc.
Referring to Fig. 3, in the fifth embodiment of the present invention, caching system 100 also comprises:
The 3rd arranges module 60, is used for arranging the fill order that the data of manually data buffer area of described solid state hard disc being stored store the memory block of described solid state hard disc into; And/or
The 4th arranges module 70, is used for the cycle that timer is set and the data that the data buffer area of described solid state hard disc is stored is stored into the memory block of described solid state hard disc;
The 3rd sub module stored 33 is used for carrying out described fill order, and the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc; And/or
The 4th sub module stored 34 is used for when the described cycle of described timer timing arrives, and the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc.
In this embodiment, data in the memory cache can be manually or are regularly write solid state hard disc, by the 3rd module 60 and the 4th being set arranges module 70 and arranges respectively, manually carry out described fill order by the 3rd sub module stored 33 at last, the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc.Perhaps when the described cycle arrived, the 4th sub module stored 34 stored the data of the data buffer area storage of described solid state hard disc in the memory block of described solid state hard disc into.By this caching system, can reduce the solid state disk read-write access times.
In above-mentioned a plurality of embodiment, a plurality of modules of caching system 100 can be software units, hardware cell or software and hardware combining unit.
Referring to Fig. 4, in the sixth embodiment of the present invention, provide a kind of method of solid state hard disc data buffer storage, described method comprises the steps:
Among the step S401, the partial memory of dividing module 10 Installed System Memories is set to the data buffer area of solid state hard disc;
Among the step S402, cache module 20 is cached in reading and writing data of described solid state hard disc the data buffer area of described solid state hard disc.
In this embodiment, divide the internal memory use size that module 10 is provided for buffer memory solid state hard disc data, buffer memory is larger, and is fewer to the read-write operation of solid state hard disc, and the solid state hard disc durability is higher.Cache module 20 is cached in reading and writing data of described solid state hard disc the data buffer area of described solid state hard disc, can reduce the number of times that solid state hard disc is read and write, and improves the life-span of solid state hard disc.
In the seventh embodiment of the present invention, after described step S402, comprise:
In this embodiment, the data of the data buffer area storage of the solid state hard disc that memory module 30 is divided in computer system are full, perhaps the user will store in the memory block of described solid state hard disc in the data that the data buffer area of described solid state hard disc is stored in the time of also can being regularly idle in system according to its needs manual operation.Because the data of numerous solid state hard discs are unified and write solid state hard disc, therefore can reduce the accessed number of times of solid state hard disc, improve the term of life of solid state hard disc.
In the eighth embodiment of the present invention, described step S401 comprises:
The higher limit that data buffer area that submodule 12 arranges described solid state hard disc takies described Installed System Memory is set; And/or
The cache size of setting up the data buffer area of submodule 13 described solid state hard discs is set to the integral multiple of Hash memory pages, sets up the mapping relations of caching page and data logical address, and every page of described caching page is deposited the Hash memory pages data of appointment.
The step that the data of described data buffer area storage with described solid state hard disc store in the memory block of described solid state hard disc comprises:
The first sub module stored 31 stores described data into the data buffer area of described solid state hard disc, and discharges the data buffer area of described solid state hard disc after the data storage of the data buffer area of described solid state hard disc is full.
In this embodiment, divide segment space from Installed System Memory and be used for the solid state hard disc buffer memory; Divide submodule 11 the Installed System Memory size that is fixed for buffer memory is set; Submodule 12 perhaps is set the maximum system memory size that buffer memory takies is set; Set up submodule 13 internal memory is managed according to the Hash memory pages mode, cache size is the integral multiple of Hash memory pages.Set up the mapping relations of caching page and data logical address, every caching of page is deposited specific Hash memory pages data, is convenient to data with the page or leaf size flash memory that writes direct.The first sub module stored 31 then divide submodule 11 or arrange the data storage of data buffer area of the described solid state hard disc that submodule 12 arranges full after, described data are stored into the data buffer area of described solid state hard disc, and discharge the data buffer area of described solid state hard disc.When system cache is not enough, data are moved into solid state hard disc from buffer area, more hot spot datas are kept in the buffer memory, and are fewer to the read-write operation of solid state hard disc.The data access of solid state hard disc repeatedly assembled together conduct interviews, improved the speed of system's deal with data.The size of the data buffer area of concrete solid state hard disc can arrange according to user's needs and the processing power of concrete system.
In the ninth embodiment of the present invention, after described step S401, comprise:
First arranges module 40 arranges different described caching pages according to different application replace Algorithm; And/or
The second data buffer area that module 50 described solid state hard discs are set is set to forbid read data and/or disable write data buffer area;
Described step S402 comprises:
The first cache sub-module 21 is stored in the data of described different application according to the replace Algorithm of described caching page the data buffer area of described solid state hard disc;
The step that the data of described data buffer area storage with described solid state hard disc store in the memory block of described solid state hard disc comprises:
The second sub module stored 32 is in the data buffer area of described solid state hard disc during for forbidding read data and/or disable write data buffer area, with the data buffer area that data and/or read data directly store described solid state hard disc into of writing of described solid state hard disc.
In this embodiment, first arranges module 40 in advance according in different application, according to the different caching page replace Algorithm of application characteristic definition, such as LFU (Least Frequently Used, least recently used) algorithm etc.21 of the first cache sub-module are stored in the data of described different application according to the replace Algorithm of described caching page the data buffer area of described solid state hard disc.Second arranges 50 of modules can treat read-write cache with a certain discrimination, can forbid separately and read buffer memory, in order to avoid reading to hit in the not high situation, reduces solid state hard disc and reads performance.Perhaps forbid read-write cache, data will by the solid state hard disc that writes direct, not be buffered.The second sub module stored 32 is in the data buffer area of described solid state hard disc during for forbidding read data and/or disable write data buffer area, with the data buffer area that data and/or read data directly store described solid state hard disc into of writing of described solid state hard disc.Realized having improved the data-handling capacity of solid state hard disc according to the processing to data of the different demands of user or system.
In the tenth embodiment of the present invention, after described step S401, also comprise:
The 3rd arranges module 60 arranges the fill order that the data of manually data buffer area of described solid state hard disc being stored store the memory block of described solid state hard disc into; And/or
The 4th arranges the cycle that module 70 arranges timer and the data that the data buffer area of described solid state hard disc is stored stored into the memory block of described solid state hard disc;
The step that the data of described data buffer area storage with described solid state hard disc store in the memory block of described solid state hard disc comprises:
The 3rd sub module stored 33 is carried out described fill order, and the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc; And/or
When the 4th sub module stored 34 arrived in the described cycle of described timer timing, the data that the data buffer area of described solid state hard disc is stored stored in the memory block of described solid state hard disc.
In this embodiment, the 3rd arranges module 60 arranges the fill order that the data of manually data buffer area of described solid state hard disc being stored store the memory block of described solid state hard disc into, this order is used for execution data is moved into solid state hard disc from system cache, and the assurance data can in time be preserved.And the 4th arrange the cycle that module 70 arranges timer and the data of the data buffer area of described solid state hard disc storage stored into the memory block of described solid state hard disc; So that system can in time move into solid state hard disc with data from system cache during the free time, the assurance data can in time be preserved, and the burden of mitigation system.And the 3rd sub module stored 33 is carried out manual brush order, and pressure is brushed data and entered solid state hard disc from buffer memory; The 4th sub module stored 34 is carried out the timing automatic brush, by timer, when idle in system, carries out the brush order; Two kinds of different modes all will guarantee the security of data.
Referring to Fig. 5, in one embodiment of the invention, the method for solid state hard disc data buffer storage comprises:
Among the step S501, the application system internal memory is as the solid state hard disc buffer memory;
Among the step S502, receive the user writable request, utilize buffer memory to read and write;
Among the step S503, cache contents is brushed into solid state hard disc.
In this embodiment, at first be provided for the memory size of buffer memory solid state hard disc data, size is the integral multiple of Hash memory pages; When read-write operation, at first obtain data logical address, write in the corresponding caching page.If there is not corresponding caching page, then writes new caching page, and add the buffer address mapping relations; If cache size during less than certain value, according to data buffer storage page or leaf replacement policy, writes solid state hard disc with the whole page or leaf of partial data, and discharges caching page.The brush time according to arranging, the caching page data are all write solid state hard disc, and empty buffer memory.
In sum, the present invention reduces the solid state disk read-write number of times by using Installed System Memory as the solid state hard disc buffer memory; Also manage the solid state hard disc buffer memory in the Hash memory pages mode in addition, merge to a certain extent the small block data read-write; Further also customizable read-write cache strategy can be forbidden read-write cache, or only enable and write buffer memory, and the more effective buffer memory minimizing solid state hard disc that utilizes writes and erase operation.Preferably, can also customizable brush strategy, can be manually or brush etc. regularly, the assurance data can in time be saved in the solid state hard disc.
Certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.
Claims (10)
1. the method for a solid state hard disc data buffer storage is characterized in that, described method comprises the steps:
The partial memory of Installed System Memory is set to the data buffer area of solid state hard disc;
Reading and writing data of described solid state hard disc is cached in the data buffer area of described solid state hard disc.
2. method according to claim 1 is characterized in that, comprises after the step of the described data buffer area that reading and writing data of described solid state hard disc is cached in described solid state hard disc:
The data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc.
3. method according to claim 2 is characterized in that, the step that the partial memory of described Installed System Memory is set to the data buffer area of solid state hard disc comprises:
The partial memory of Installed System Memory is divided into the data buffer area of described solid state hard disc; And/or
The data buffer area that described solid state hard disc is set takies the higher limit of described Installed System Memory; And/or
The cache size of the data buffer area of described solid state hard disc is set to the integral multiple of Hash memory pages, sets up the mapping relations of caching page and data logical address, and every page of described caching page is deposited the Hash memory pages data of appointment;
The step that the data of described data buffer area storage with described solid state hard disc store in the memory block of described solid state hard disc comprises:
After the data storage of the data buffer area of described solid state hard disc is full, described data is stored into the data buffer area of described solid state hard disc, and discharge the data buffer area of described solid state hard disc.
4. method according to claim 3 is characterized in that, comprises after the partial memory of described Installed System Memory is set to the step of data buffer area of solid state hard disc:
The replace Algorithm of different described caching pages is set according to different application; And/or
The data buffer area of described solid state hard disc is set to forbid read data and/or disable write data buffer area;
The described step that reading and writing data of described solid state hard disc is cached in the data buffer area of described solid state hard disc comprises:
The data of described different application are stored in the data buffer area of described solid state hard disc according to the replace Algorithm of described caching page;
The step that the data of described data buffer area storage with described solid state hard disc store in the memory block of described solid state hard disc comprises:
In the data buffer area of described solid state hard disc during for forbidding read data and/or disable write data buffer area, with the data buffer area that data and/or read data directly store described solid state hard disc into of writing of described solid state hard disc.
5. method according to claim 2 is characterized in that, also comprises after the partial memory of described Installed System Memory is set to the step of data buffer area of solid state hard disc:
The fill order that the data of manually data buffer area of described solid state hard disc being stored store the memory block of described solid state hard disc into is set; And/or
The cycle that timer is set and the data that the data buffer area of described solid state hard disc is stored is stored into the memory block of described solid state hard disc;
The step that the data of described data buffer area storage with described solid state hard disc store in the memory block of described solid state hard disc comprises:
Carry out described fill order, the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc; And/or
When the described cycle of described timer timing arrived, the data that the data buffer area of described solid state hard disc is stored stored in the memory block of described solid state hard disc.
6. the caching system of solid state hard disc data is characterized in that, comprising:
Divide module, the partial memory that is used for Installed System Memory is set to the data buffer area of solid state hard disc;
Cache module is for the data buffer area that reading and writing data of described solid state hard disc is cached in described solid state hard disc.
7. caching system according to claim 6 is characterized in that, described caching system also comprises:
Memory module is used for the data of the data buffer area storage of described solid state hard disc are stored into the memory block of described solid state hard disc.
8. caching system according to claim 7 is characterized in that, described division module comprises:
Divide submodule, be used for the partial memory of Installed System Memory is divided into the data buffer area of described solid state hard disc; And/or
Submodule is set, takies the higher limit of described Installed System Memory for the data buffer area that described solid state hard disc is set; And/or
Set up submodule, the cache size that is used for the data buffer area of described solid state hard disc is set to the integral multiple of Hash memory pages, sets up the mapping relations of caching page and data logical address, and every page of described caching page is deposited the Hash memory pages data of appointment;
Described memory module comprises:
The first sub module stored is used for described data being stored into the data buffer area of described solid state hard disc, and discharging the data buffer area of described solid state hard disc after the data storage of the data buffer area of described solid state hard disc is full.
9. caching system according to claim 8 is characterized in that, described caching system also comprises:
First arranges module, is used for arranging according to different application the replace Algorithm of different described caching pages; And/or
Second arranges module, and the data buffer area that is used for described solid state hard disc is set to forbid read data and/or disable write data buffer area;
Described cache module comprises:
Cache sub-module is used for according to the replace Algorithm of described caching page the data of described different application being stored in the data buffer area of described solid state hard disc;
Described memory module comprises:
The second sub module stored is when being used for data buffer area at described solid state hard disc for forbidding read data and/or disable write data buffer area, with the data buffer area that data and/or read data directly store described solid state hard disc into of writing of described solid state hard disc.
10. caching system according to claim 7 is characterized in that, described caching system also comprises:
The 3rd arranges module, is used for arranging the fill order that the data of manually data buffer area of described solid state hard disc being stored store the memory block of described solid state hard disc into; And/or
The 4th arranges module, is used for the cycle that timer is set and the data that the data buffer area of described solid state hard disc is stored is stored into the memory block of described solid state hard disc;
Described memory module comprises:
The 3rd sub module stored is used for carrying out described fill order, and the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc; And/or
The 4th sub module stored is used for when the described cycle of described timer timing arrives, and the data that the data buffer area of described solid state hard disc is stored store in the memory block of described solid state hard disc.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105047359A CN103049394A (en) | 2012-11-30 | 2012-11-30 | Method and system for data caching of solid state disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105047359A CN103049394A (en) | 2012-11-30 | 2012-11-30 | Method and system for data caching of solid state disk |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103049394A true CN103049394A (en) | 2013-04-17 |
Family
ID=48062041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012105047359A Pending CN103049394A (en) | 2012-11-30 | 2012-11-30 | Method and system for data caching of solid state disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103049394A (en) |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257935A (en) * | 2013-04-19 | 2013-08-21 | 华中科技大学 | Cache management method and application thereof |
CN103425602A (en) * | 2013-08-15 | 2013-12-04 | 深圳市江波龙电子有限公司 | Data reading and writing method and device for flash memory equipment and host system |
CN103838526A (en) * | 2014-03-31 | 2014-06-04 | 广州华欣电子科技有限公司 | Method and device for writing data in memory chip |
CN104142894A (en) * | 2013-05-06 | 2014-11-12 | 华为技术有限公司 | Data reading-writing method, storage controller and computer |
CN104461930A (en) * | 2013-09-23 | 2015-03-25 | 杭州信核数据科技有限公司 | Cache writing method and device |
CN104461935A (en) * | 2014-11-27 | 2015-03-25 | 华为技术有限公司 | Method, device and system for data storage |
CN104750424A (en) * | 2013-12-30 | 2015-07-01 | 国民技术股份有限公司 | Storage system and control method for nonvolatile memory of storage system |
CN104750425A (en) * | 2013-12-30 | 2015-07-01 | 国民技术股份有限公司 | Storage system and control method for nonvolatile memory of storage system |
CN105117180A (en) * | 2015-09-28 | 2015-12-02 | 联想(北京)有限公司 | Data storing method and device and solid state disc |
CN105138276A (en) * | 2015-07-14 | 2015-12-09 | 苏州科达科技股份有限公司 | Data storage method and data storage system |
CN105183397A (en) * | 2015-09-22 | 2015-12-23 | Tcl移动通信科技(宁波)有限公司 | EMMC read-write control method and system |
WO2016041401A1 (en) * | 2014-09-16 | 2016-03-24 | 华为技术有限公司 | Method and device for writing data to cache |
CN105446663A (en) * | 2015-11-30 | 2016-03-30 | 联想(北京)有限公司 | Data processing method and electronic device |
CN106055487A (en) * | 2016-05-31 | 2016-10-26 | 上海爱数信息技术股份有限公司 | Method and system for realizing acceleration of storage systems through partitioned coloring |
CN106227471A (en) * | 2016-08-19 | 2016-12-14 | 深圳大普微电子科技有限公司 | Solid state hard disc and the data access method being applied to solid state hard disc |
CN106844109A (en) * | 2017-01-23 | 2017-06-13 | 北京腾凌科技有限公司 | The replacement method and device of a kind of solid state hard disc |
CN107025061A (en) * | 2016-01-29 | 2017-08-08 | 后旺科技股份有限公司 | The access method of combined type hard disk |
CN107045480A (en) * | 2016-02-05 | 2017-08-15 | 北京京东尚科信息技术有限公司 | The method and apparatus that buffer memory is read and write based on Spring expression languages |
CN107273309A (en) * | 2017-05-19 | 2017-10-20 | 瑞斯康微电子(深圳)有限公司 | A kind of serial flash data guard method and device |
CN104142894B (en) * | 2013-05-06 | 2018-02-09 | 华为技术有限公司 | A kind of data read-write method, storage control and computer |
CN107766067A (en) * | 2017-09-28 | 2018-03-06 | 福州瑞芯微电子股份有限公司 | A kind of lifting compressional mirror is as the method, storage medium and computer of replication rate |
CN107807790A (en) * | 2017-10-13 | 2018-03-16 | 记忆科技(深圳)有限公司 | A kind of method of solid state hard disc data write-in |
CN107861692A (en) * | 2017-11-24 | 2018-03-30 | 苏州韦科韬信息技术有限公司 | The method that dynamic adjusts solid state hard disc bandwidth |
CN107992434A (en) * | 2017-11-24 | 2018-05-04 | 郑州云海信息技术有限公司 | Lower brush method, apparatus and storage medium for distributed layer storage system |
WO2019001296A1 (en) * | 2017-06-29 | 2019-01-03 | 中兴通讯股份有限公司 | Method and apparatus for storing record |
CN113126921A (en) * | 2021-04-06 | 2021-07-16 | 南昌航空大学 | Optimization method for improving write performance of 3D flash memory chip in solid-state disk |
CN114461144A (en) * | 2022-01-19 | 2022-05-10 | 清华大学 | Cooperative driving data storage device, data processing method and road side equipment |
-
2012
- 2012-11-30 CN CN2012105047359A patent/CN103049394A/en active Pending
Cited By (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257935B (en) * | 2013-04-19 | 2016-07-13 | 华中科技大学 | A kind of buffer memory management method and application thereof |
CN103257935A (en) * | 2013-04-19 | 2013-08-21 | 华中科技大学 | Cache management method and application thereof |
CN104142894A (en) * | 2013-05-06 | 2014-11-12 | 华为技术有限公司 | Data reading-writing method, storage controller and computer |
CN104142894B (en) * | 2013-05-06 | 2018-02-09 | 华为技术有限公司 | A kind of data read-write method, storage control and computer |
CN103425602A (en) * | 2013-08-15 | 2013-12-04 | 深圳市江波龙电子有限公司 | Data reading and writing method and device for flash memory equipment and host system |
CN104461930A (en) * | 2013-09-23 | 2015-03-25 | 杭州信核数据科技有限公司 | Cache writing method and device |
CN104750425B (en) * | 2013-12-30 | 2018-12-18 | 国民技术股份有限公司 | A kind of control method of storage system and its nonvolatile memory |
CN104750424B (en) * | 2013-12-30 | 2018-12-18 | 国民技术股份有限公司 | A kind of control method of storage system and its nonvolatile memory |
CN104750424A (en) * | 2013-12-30 | 2015-07-01 | 国民技术股份有限公司 | Storage system and control method for nonvolatile memory of storage system |
CN104750425A (en) * | 2013-12-30 | 2015-07-01 | 国民技术股份有限公司 | Storage system and control method for nonvolatile memory of storage system |
CN103838526B (en) * | 2014-03-31 | 2017-12-01 | 广州华欣电子科技有限公司 | A kind of storage chip method for writing data and device |
CN103838526A (en) * | 2014-03-31 | 2014-06-04 | 广州华欣电子科技有限公司 | Method and device for writing data in memory chip |
WO2016041401A1 (en) * | 2014-09-16 | 2016-03-24 | 华为技术有限公司 | Method and device for writing data to cache |
CN104461935A (en) * | 2014-11-27 | 2015-03-25 | 华为技术有限公司 | Method, device and system for data storage |
CN104461935B (en) * | 2014-11-27 | 2018-03-13 | 华为技术有限公司 | A kind of method, apparatus and system for carrying out data storage |
CN105138276B (en) * | 2015-07-14 | 2018-05-18 | 苏州科达科技股份有限公司 | Data storage method and data storage system |
CN105138276A (en) * | 2015-07-14 | 2015-12-09 | 苏州科达科技股份有限公司 | Data storage method and data storage system |
CN105183397A (en) * | 2015-09-22 | 2015-12-23 | Tcl移动通信科技(宁波)有限公司 | EMMC read-write control method and system |
CN105117180A (en) * | 2015-09-28 | 2015-12-02 | 联想(北京)有限公司 | Data storing method and device and solid state disc |
CN105117180B (en) * | 2015-09-28 | 2018-08-17 | 北京联想核芯科技有限公司 | A kind of date storage method and device and solid state disk |
CN105446663A (en) * | 2015-11-30 | 2016-03-30 | 联想(北京)有限公司 | Data processing method and electronic device |
CN107025061A (en) * | 2016-01-29 | 2017-08-08 | 后旺科技股份有限公司 | The access method of combined type hard disk |
CN107045480A (en) * | 2016-02-05 | 2017-08-15 | 北京京东尚科信息技术有限公司 | The method and apparatus that buffer memory is read and write based on Spring expression languages |
CN106055487A (en) * | 2016-05-31 | 2016-10-26 | 上海爱数信息技术股份有限公司 | Method and system for realizing acceleration of storage systems through partitioned coloring |
US10810127B2 (en) | 2016-08-19 | 2020-10-20 | Shenzhen Dapu Microelectronics Co., Ltd. | Solid-state hard disk and data access method for use with solid-state hard disk |
CN106227471A (en) * | 2016-08-19 | 2016-12-14 | 深圳大普微电子科技有限公司 | Solid state hard disc and the data access method being applied to solid state hard disc |
CN106844109B (en) * | 2017-01-23 | 2019-03-15 | 北京腾凌科技有限公司 | A kind of replacement method and device of solid state hard disk |
CN106844109A (en) * | 2017-01-23 | 2017-06-13 | 北京腾凌科技有限公司 | The replacement method and device of a kind of solid state hard disc |
CN107273309A (en) * | 2017-05-19 | 2017-10-20 | 瑞斯康微电子(深圳)有限公司 | A kind of serial flash data guard method and device |
WO2019001296A1 (en) * | 2017-06-29 | 2019-01-03 | 中兴通讯股份有限公司 | Method and apparatus for storing record |
CN107766067B (en) * | 2017-09-28 | 2021-03-02 | 瑞芯微电子股份有限公司 | Method for improving compressed mirror image burning speed, storage medium and computer |
CN107766067A (en) * | 2017-09-28 | 2018-03-06 | 福州瑞芯微电子股份有限公司 | A kind of lifting compressional mirror is as the method, storage medium and computer of replication rate |
CN107807790B (en) * | 2017-10-13 | 2020-09-01 | 记忆科技(深圳)有限公司 | Solid state disk data writing method |
CN107807790A (en) * | 2017-10-13 | 2018-03-16 | 记忆科技(深圳)有限公司 | A kind of method of solid state hard disc data write-in |
CN107992434A (en) * | 2017-11-24 | 2018-05-04 | 郑州云海信息技术有限公司 | Lower brush method, apparatus and storage medium for distributed layer storage system |
CN107861692A (en) * | 2017-11-24 | 2018-03-30 | 苏州韦科韬信息技术有限公司 | The method that dynamic adjusts solid state hard disc bandwidth |
CN113126921A (en) * | 2021-04-06 | 2021-07-16 | 南昌航空大学 | Optimization method for improving write performance of 3D flash memory chip in solid-state disk |
CN113126921B (en) * | 2021-04-06 | 2022-03-01 | 南昌航空大学 | Optimization method for improving write performance of 3D flash memory chip in solid-state disk |
CN114461144A (en) * | 2022-01-19 | 2022-05-10 | 清华大学 | Cooperative driving data storage device, data processing method and road side equipment |
CN114461144B (en) * | 2022-01-19 | 2024-04-19 | 清华大学 | Data storage device, data processing method and road side equipment for collaborative driving |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103049394A (en) | Method and system for data caching of solid state disk | |
US8046526B2 (en) | Wear leveling method and controller using the same | |
US9997240B2 (en) | Lifetime mixed level non-volatile memory system | |
US20180322936A1 (en) | Method for managing data blocks and method of data management for data storage device | |
Jiang et al. | S-FTL: An efficient address translation for flash memory by exploiting spatial locality | |
US9229876B2 (en) | Method and system for dynamic compression of address tables in a memory | |
US9146851B2 (en) | Single-level cell and multi-level cell hybrid solid state drive | |
US8949568B2 (en) | Memory storage device, and a related zone-based block management and mapping method | |
US8468292B2 (en) | Solid state drive data storage system and method | |
US7610438B2 (en) | Flash-memory card for caching a hard disk drive with data-area toggling of pointers stored in a RAM lookup table | |
EP2513798B1 (en) | Reducing access contention in flash-based memory systems | |
US20140122774A1 (en) | Method for Managing Data of Solid State Storage with Data Attributes | |
US8321624B2 (en) | Memory device and management method of memory device | |
US10956049B2 (en) | Wear-aware block mode conversion in non-volatile memory | |
US8706998B2 (en) | Method for managing flash memories having mixed memory types | |
US20140129758A1 (en) | Wear leveling in flash memory devices with trim commands | |
KR20120007722A (en) | Non-volitile memory device for performing wear-leveling and method thereof | |
CN102646069A (en) | Method for prolonging service life of solid-state disk | |
KR101403922B1 (en) | Apparatus and method for data storing according to an access degree | |
CN101645043A (en) | Methods for reading and writing data and memory device | |
Kim et al. | Improving performance and lifetime of large-page NAND storages using erase-free subpage programming | |
Jin et al. | A comprehensive survey of issues in solid state drives | |
US11061598B2 (en) | Optimized handling of multiple copies in storage management | |
CN102867046B (en) | Database optimizing method based on solid state hard disc and system | |
CN115145483A (en) | Solid state disk management method, device, equipment and machine readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130417 |
|
RJ01 | Rejection of invention patent application after publication |