CN104750621A - Caching method and control system - Google Patents

Caching method and control system Download PDF

Info

Publication number
CN104750621A
CN104750621A CN201310740976.8A CN201310740976A CN104750621A CN 104750621 A CN104750621 A CN 104750621A CN 201310740976 A CN201310740976 A CN 201310740976A CN 104750621 A CN104750621 A CN 104750621A
Authority
CN
China
Prior art keywords
cache layer
page
data
caching
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310740976.8A
Other languages
Chinese (zh)
Other versions
CN104750621B (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.)
Allwinner Technology Co Ltd
Original Assignee
Allwinner Technology 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 Allwinner Technology Co Ltd filed Critical Allwinner Technology Co Ltd
Priority to CN201310740976.8A priority Critical patent/CN104750621B/en
Publication of CN104750621A publication Critical patent/CN104750621A/en
Application granted granted Critical
Publication of CN104750621B publication Critical patent/CN104750621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention discloses a caching method and a control system. The caching method comprises the following steps: S100, controlling the cache to organize a cache layer by using the page as the unit, and controlling the cache layer to be divided to a read cache layer and a write cache layer; and S200, according to the read or write time sequence of the data, dynamically regulating the arrangement sequence of the page cache in the read cache layer and the arrangement sequence of the page cache in the write cache layer in real time. Through the shared read cache layer and the write cache layer, and according to the read or write time sequence of the data, the caching method is capable of dynamically regulating the arrangement sequence of the page cache in the cache in real time, improving the hit rate of the cache, and effectively solving the problem of the traditional cache layer that the timeliness is worse.

Description

Caching method and control system
Technical field
The present invention relates to computer realm, particularly relate to a kind of caching method and control system.
Background technology
In Computer Storage field, due to NAND Flash(data storage type flash memory) read-write be with page(page) be unit, read-write in file system is then with sector(sector) be unit, therefore a kind of caching system is needed between NAND Flash and file system, this caching system, during delaying data write NAND Flash equipment, can also filter out short-term data.Usually, the method for employing is changed in sector address and page address, completes cache layer; But this cache layer can not sort to the sequencing of data, when therefore adopting this cache layer to carry out reading and writing data, ageing poor.
Summary of the invention
Based on this, be necessary, for the ageing poor problem of traditional cache layer, to provide a kind of caching method and control system.
A kind of caching method, comprises the steps:
S100, controls buffer memory and be organized as cache layer in units of page, and controls described cache layer and be divided into and read cache layer and write cache layer;
S200, according to the time order and function order of digital independent or write, reads putting in order of caching of page in cache layer described in real-time dynamic conditioning, and described in write putting in order of caching of page in cache layer.
Wherein in an embodiment, step S200 comprises the steps:
When input equipment writes described data, write described in detection in cache layer and whether there is page data corresponding to described data;
When described write in cache layer there is page data corresponding to described data time, control described data be directly stored to described in write in caching of page corresponding with described page data in cache layer;
When described write in cache layer there is not page data corresponding to described data time, read cache layer described in detection;
When described read to exist in cache layer page data corresponding to described data time, read described in control caching of page corresponding with described page data in cache layer move to described in write cache layer foremost;
When described read not exist in cache layer page data corresponding to described data time, detect described buffer memory and whether there is the first empty cache layer;
When described buffer memory exists described first empty cache layer, control described data and be stored in described first empty cache layer;
When described buffer memory does not exist described first empty cache layer, read the caching of page of least significant end in cache layer described in control as the second empty cache layer, and control described data and be stored to described second empty cache layer.
Preferably, also comprise the steps:
The caching of page number in cache layer is write described in real-time detection;
When the described caching of page number write in cache layer is greater than the first preset value, writing the caching of page of least significant end in cache layer described in control moves in Nand Flash, and the caching of page data writing least significant end in cache layer described in controlling be stored to described in read cache layer, until described in the caching of page number write in cache layer be less than or equal to described first preset value.
As a kind of embodiment, step S200 also comprises the steps:
When output device reads described data, write described in detection in cache layer and whether there is page data corresponding to described data;
When described write in cache layer there is page data corresponding to described data time, control described output device and directly read page data corresponding to described data;
When described write in cache layer there is not page data corresponding to described data time, read cache layer described in detection;
When described read to exist in cache layer page data corresponding to described data time, control the caching of page corresponding with described page data move to described in read cache layer foremost;
When described read not exist in cache layer page data corresponding to described data time, detect described buffer memory and whether there is the 3rd empty cache layer;
When described buffer memory exists described 3rd empty cache layer, control described data and deposit and move to described 3rd empty cache layer;
When described buffer memory does not exist described 3rd empty cache layer, read the caching of page of least significant end in cache layer described in control as the 4th empty cache layer, and control described data and deposit and move to described 4th empty cache layer.
Accordingly, for realizing above-mentioned caching method, present invention also offers a kind of cache control system, comprising the first control module and the second control module, wherein:
Described first control module, is organized as cache layer for controlling buffer memory in units of page, and is divided into by described cache layer and reads cache layer and write cache layer;
Described second control module, for according to the time order and function of digital independent or write order, reads putting in order of caching of page in cache layer described in real-time dynamic conditioning, and described in write putting in order of caching of page in cache layer.
Wherein in an embodiment, described second control module comprises the first detecting unit, the first control module, the second detecting unit, the second control module, the 3rd detecting unit, the 3rd control module and the 4th control module, wherein:
Described first detecting unit, for when input equipment writes described data, writes described in detection in cache layer and whether there is page data corresponding to described data;
Described first control module, for when described in write in cache layer there is page data corresponding to described data time, control described data be directly stored to described in write in caching of page corresponding with described page data in cache layer;
Described second detecting unit, for when described in write in cache layer there is not page data corresponding to described data time, read cache layer described in detection;
Described second control module, for when described in read to exist in cache layer page data corresponding to described data time, read described in control caching of page corresponding with described page data in cache layer move to described in write cache layer foremost;
Described 3rd detecting unit, for when described in read not exist in cache layer page data corresponding to described data time, detect described buffer memory and whether there is the first empty cache layer;
Described 3rd control module, for when described buffer memory exists described first empty cache layer, controls described data and is stored in described first empty cache layer;
Described 4th control module, for when described buffer memory does not exist described first empty cache layer, reads the caching of page of least significant end in cache layer as the second empty cache layer described in control, and controls described data and be stored to described second empty cache layer.
Preferably, also comprise first detection module and the 3rd control module, wherein:
Described first detection module, for writing the caching of page number in cache layer described in detecting in real time;
Described 3rd control module, for when described in the caching of page number write in cache layer be greater than the first preset value time, writing the caching of page of least significant end in cache layer described in control moves in Nand Flash, and the caching of page data writing least significant end in cache layer described in controlling be stored to described in read cache layer, until described in the caching of page number write in cache layer be less than or equal to described first preset value.
As a kind of embodiment, described second control module also comprises the first detection sub-unit, first and controls subelement, the second detection sub-unit, the second control subelement, the 3rd detection sub-unit, the 3rd control subelement and the 4th control subelement, wherein:
Described first detection sub-unit, for when output device reads described data, writes described in detection in cache layer and whether there is page data corresponding to described data;
Described first controls subelement, for when described in write in cache layer there is page data corresponding to described data time, control described output device and directly read page data corresponding to described data;
Described second detection sub-unit, for when described in write in cache layer there is not page data corresponding to described data time, read cache layer described in detection;
Described second controls subelement, for when described in read to exist in cache layer page data corresponding to described page data time, read cache layer foremost described in the control caching of page corresponding with described data moves to;
Described 3rd detection sub-unit, for when described in read not exist in cache layer page data corresponding to described data time, detect described buffer memory and whether there is the 3rd empty cache layer;
Described 3rd controls subelement, for when described buffer memory exists described 3rd empty cache layer, controls described data and deposits and move to described 3rd empty cache layer;
Described 4th controls subelement, for when described buffer memory does not exist described 3rd empty cache layer, reads the caching of page of least significant end in cache layer as the 4th empty cache layer described in control, and controls described data and deposit and move to described 4th empty cache layer.
The invention provides a kind of caching method and control system, wherein caching method is: buffer memory is organized into cache layer in units of page, this cache layer is divided into and reads cache layer and write cache layer, and according to the time order and function order of digital independent or write, real-time dynamic conditioning is read the caching of page in cache layer and is write putting in order of caching of page in cache layer.It reads cache layer and write cache layer by sharing, and dynamic conditioning is read the caching of page in cache layer and write putting in order of caching of page in cache layer in real time, improves the hit rate of buffer memory, efficiently solves the ageing poor problem of traditional cache layer.
Accompanying drawing explanation
Fig. 1 is caching method process flow diagram;
Fig. 2 is caching method one specific embodiment schematic diagram;
Fig. 3 is another specific embodiment schematic diagram of caching method;
Fig. 4 is the another specific embodiment schematic diagram of caching method;
Fig. 5 is cache control system one specific embodiment structural representation.
Embodiment
For making technical solution of the present invention clearly understand, below in conjunction with drawings and the specific embodiments, the present invention is described in further details.
See Fig. 1, a kind of caching method, is characterized in that, comprises the steps:
S100, controls buffer memory and be organized as cache layer in units of page, and controls cache layer and be divided into and read cache layer and write cache layer;
S200, according to the time order and function order of digital independent or write, real-time dynamic conditioning reads putting in order of caching of page in cache layer, and writes putting in order of caching of page in cache layer.
Caching method provided by the invention is read cache layer by sharing and writes cache layer, according to the time order and function order of digital independent or write, real-time dynamic conditioning is read caching of page in cache layer and is write putting in order of caching of page in cache layer, improve the hit rate of buffer memory, efficiently solve the ageing poor problem of traditional cache layer.
As a kind of embodiment, step S200 comprises the steps:
S210, when input equipment write data, detects to write in cache layer whether there is page data corresponding to data;
S220, when write in cache layer there is page data corresponding to data time, control data is directly stored to be write in caching of page corresponding with page data in cache layer;
S230, when write in cache layer there is not page data corresponding to data time, detect and read cache layer;
S240, when reading to exist in cache layer page data corresponding to data, controlling to read caching of page corresponding with page data in cache layer and moving to and write cache layer foremost;
S250, when reading not exist in cache layer page data corresponding to data, detecting buffer memory and whether there is the first empty cache layer;
S260, when buffer memory exists the first empty cache layer, control data is stored in the first empty cache layer;
S270, when buffer memory does not exist the first empty cache layer, control reads the caching of page of least significant end in cache layer as the second empty cache layer, and control data is stored to the second empty cache layer.
See Fig. 2, when input equipment write data, first detect to write in cache layer 210 whether there is page data n corresponding to these data, when it is present, directly these data are write in cache layer 210 in corresponding caching of page n, and caching of page n is moved to write cache layer 210 foremost; There is not page data corresponding to these data when writing in cache layer 210, then detect reading cache layer; When reading to exist in cache layer page data corresponding to these data, moving on to write cache layer 210 foremost by reading caching of page corresponding with this page data in cache layer, and by this caching of page from reading to delete cache layer; When reading not exist in cache layer page data corresponding to these data, then detect in buffer memory whether there is the first empty cache layer, as existed, then these data are directly stored in the first empty cache layer, if do not exist, then the caching of page reading least significant end in cache layer is deleted from reading cache layer, make the caching of page reading least significant end in cache layer as the second empty cache layer, these data are stored in the second empty cache layer, ensure that at input equipment when writing data in buffer memory, can the sequencing of caching of page in dynamic conditioning cache layer in real time, to improve the ageing of buffer memory.
Preferably, wherein in a specific embodiment, caching method also comprises the steps:
S300, detects the caching of page number write in cache layer in real time;
S310, when writing the caching of page number in cache layer and being greater than the first preset value, controlling to write the caching of page of least significant end in cache layer moves in Nand Flash, and the caching of page data controlling to write least significant end in cache layer are stored to and read cache layer, until the caching of page number write in cache layer is less than or equal to the first preset value.Be illustrated in figure 3 example, the caching of page number in buffer memory 300 is X, and the caching of page number read in cache layer 310 does not limit, and the caching of page number write in cache layer 210 is Y; Read cache layer 310 because buffer memory 300 comprises and write cache layer 210, therefore, the caching of page number Y write in cache layer 210 is less than the caching of page number X in buffer memory 300; The caching of page number in cache layer 210 is write in real-time detection, when writing the caching of page number in cache layer 210 and being greater than Y, it is then un-reasonable phenomenon, therefore the caching of page writing least significant end in cache layer 210 is moved to Nand Flash(data storage type flash memory) in 400, and the caching of page data writing least significant end in cache layer 210 are stored to read in cache layer 310, until writing till the caching of page number in cache layer 210 is less than or equal to Y.
As a kind of embodiment, step S200 also comprises the steps:
S210 ', when output device reads data, detects to write in cache layer whether there is page data corresponding to data;
S220 ', when write in cache layer there is page data corresponding to data time, control output device and directly read page data corresponding to data;
S230 ', when write in cache layer there is not page data corresponding to data time, detect and read cache layer;
S240 ', when reading to exist in cache layer page data corresponding to data, controlling the caching of page corresponding with page data and moving to and read cache layer foremost;
S250 ', when reading not exist in cache layer page data corresponding to data, detecting buffer memory and whether there is the 3rd empty cache layer;
S260 ', when buffer memory exists the 3rd empty cache layer, control data is deposited and is moved to the 3rd empty cache layer;
S270 ', when buffer memory does not exist the 3rd empty cache layer, the caching of page controlling to read least significant end in cache layer is as the 4th empty cache layer, and control data is deposited and moved to the 4th empty cache layer.
See Fig. 4, when output device reads data, equally, first detecting to write in cache layer whether there is page data corresponding to these data, when it is present, directly reading this data by writing in caching of page n corresponding to this page data in cache layer, when write in cache layer there is not page data corresponding to these data time, then detect reading cache layer 310, when reading to exist in cache layer 310 page data corresponding to these data, corresponding for this page data caching of page n is moved on to and reads cache layer 310 foremost, so that save time when next time reads these data, when reading not exist in cache layer 310 page data corresponding to these data, then detect in buffer memory whether there is the 3rd empty cache layer, as existed, then these data are directly stored in the 3rd empty cache layer, if do not exist, then will read the caching of page of least significant end in cache layer 310 from reading to delete cache layer 310, make the caching of page reading least significant end in cache layer 310 as the 4th empty cache layer, these data are stored in the 4th empty cache layer, ensure that when output device reads the data in memory device, equally can the sequencing of caching of page in dynamic conditioning cache layer in real time, to improve the ageing of buffer memory.
See Fig. 5, accordingly, for realizing above-mentioned caching method, present invention also offers a kind of cache control system 500, comprising the first control module 510 and the second control module 520, wherein:
First control module 510, is organized as cache layer for controlling buffer memory in units of page, and is divided into by cache layer and reads cache layer and write cache layer;
Second control module 520, for according to the time order and function of digital independent or write order, real-time dynamic conditioning reads putting in order of caching of page in cache layer, and writes putting in order of caching of page in cache layer.
In cache control system 500 1 specific embodiment of the present invention, second control module 520 also comprises the first detecting unit 5201, first control module 5202, second detecting unit 5203, second control module 5204, the 3rd detecting unit 5205, the 3rd control module 5206 and the 4th control module 5207, wherein:
First detecting unit 5201, for when input equipment writes data, detects to write in cache layer whether there is page data corresponding to data;
First control module 5202, for when write in cache layer there is page data corresponding to data time, control data is directly stored to be write in caching of page corresponding with page data in cache layer;
Second detecting unit 5203, for when write in cache layer there is not page data corresponding to data time, detect and read cache layer;
Second control module 5204, for when reading to exist in cache layer page data corresponding to data, controlling to read caching of page corresponding with page data in cache layer and moving to and write cache layer foremost;
3rd detecting unit 5205, for when reading not exist in cache layer page data corresponding to described data, detecting buffer memory and whether there is the first empty cache layer;
3rd control module 5206, for when buffer memory exists the first empty cache layer, control data is stored in the first empty cache layer;
4th control module 5207, for when buffer memory does not exist the first empty cache layer, control reads the caching of page of least significant end in cache layer as the second empty cache layer, and control data is stored to the second empty cache layer.
Preferably, cache control system 500 also comprises first detection module 530 and the 3rd control module 540, wherein:
First detection module 530, for detecting the caching of page number write in cache layer in real time;
3rd control module 540, for when writing the caching of page number in cache layer and being greater than the first preset value, controlling to write the caching of page of least significant end in cache layer moves in Nand Flash, and the caching of page data controlling to write least significant end in cache layer are stored to and read cache layer, until the caching of page number write in cache layer is less than or equal to the first preset value.
In another specific embodiment of cache control system 500 of the present invention, second control module 520 also comprises the first detection sub-unit 5211, first and controls subelement 5212, second detection sub-unit 5213, second control subelement 5214, the 3rd detection sub-unit 5215, the 3rd control subelement 5216 and the 4th control subelement 5217, wherein:
First detection sub-unit 5211, for when output device reads data, detects to write in cache layer whether there is page data corresponding to data;
First controls subelement 5212, for when write in cache layer there is page data corresponding to data time, control output device directly reads page data corresponding to data;
Second detection sub-unit 5213, for when write in cache layer there is not page data corresponding to data time, detect and read cache layer;
Second controls subelement 5214, for when reading to exist in cache layer page data corresponding to page data, controlling the caching of page corresponding with data and moving to and read cache layer foremost;
3rd detection sub-unit 5215, for when reading not exist in cache layer page data corresponding to data, detecting buffer memory and whether there is the 3rd empty cache layer;
3rd controls subelement 5216, and for when buffer memory exists the 3rd empty cache layer, control data is deposited and moved to the 3rd empty cache layer;
4th controls subelement 5217, and for when buffer memory does not exist the 3rd empty cache layer, the caching of page that least significant end in cache layer is read in control is as the 4th empty cache layer, and control data is deposited and moved to the 4th empty cache layer.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (8)

1. a caching method, is characterized in that, comprises the steps:
S100, controls buffer memory and be organized as cache layer in units of page, and controls described cache layer and be divided into and read cache layer and write cache layer;
S200, according to the time order and function order of digital independent or write, reads putting in order of caching of page in cache layer described in real-time dynamic conditioning, and described in write putting in order of caching of page in cache layer.
2. caching method according to claim 1, is characterized in that, described step S200 comprises the steps:
When input equipment writes described data, write described in detection in cache layer and whether there is page data corresponding to described data;
When described write in cache layer there is page data corresponding to described data time, control described data be directly stored to described in write in caching of page corresponding with described page data in cache layer;
When described write in cache layer there is not page data corresponding to described data time, read cache layer described in detection;
When described read to exist in cache layer page data corresponding to described data time, read described in control caching of page corresponding with described page data in cache layer move to described in write cache layer foremost;
When described read not exist in cache layer page data corresponding to described data time, detect described buffer memory and whether there is the first empty cache layer;
When described buffer memory exists described first empty cache layer, control described data and be stored in described first empty cache layer;
When described buffer memory does not exist described first empty cache layer, read the caching of page of least significant end in cache layer described in control as the second empty cache layer, and control described data and be stored to described second empty cache layer.
3. caching method according to claim 2, is characterized in that, also comprises the steps:
The caching of page number in cache layer is write described in real-time detection;
When the described caching of page number write in cache layer is greater than the first preset value, writing the caching of page of least significant end in cache layer described in control moves in Nand Flash, and the caching of page data writing least significant end in cache layer described in controlling be stored to described in read cache layer, until described in the caching of page number write in cache layer be less than or equal to described first preset value.
4., according to the arbitrary described caching method of claims 1 to 3, it is characterized in that, described step S200 also comprises the steps:
When output device reads described data, write described in detection in cache layer and whether there is page data corresponding to described data;
When described write in cache layer there is page data corresponding to described data time, control described output device and directly read page data corresponding to described data;
When described write in cache layer there is not page data corresponding to described data time, read cache layer described in detection;
When described read to exist in cache layer page data corresponding to described data time, control the caching of page corresponding with described page data move to described in read cache layer foremost;
When described read not exist in cache layer page data corresponding to described data time, detect described buffer memory and whether there is the 3rd empty cache layer;
When described buffer memory exists described 3rd empty cache layer, control described data and deposit and move to described 3rd empty cache layer;
When described buffer memory does not exist described 3rd empty cache layer, read the caching of page of least significant end in cache layer described in control as the 4th empty cache layer, and control described data and deposit and move to described 4th empty cache layer.
5. a cache control system, is characterized in that, comprises the first control module and the second control module, wherein:
Described first control module, is organized as cache layer for controlling buffer memory in units of page, and is divided into by described cache layer and reads cache layer and write cache layer;
Described second control module, for according to the time order and function of digital independent or write order, reads putting in order of caching of page in cache layer described in real-time dynamic conditioning, and described in write putting in order of caching of page in cache layer.
6. cache control system according to claim 5, it is characterized in that, described second control module comprises the first detecting unit, the first control module, the second detecting unit, the second control module, the 3rd detecting unit, the 3rd control module and the 4th control module, wherein:
Described first detecting unit, for when input equipment writes described data, writes described in detection in cache layer and whether there is page data corresponding to described data;
Described first control module, for when described in write in cache layer there is page data corresponding to described data time, control described data be directly stored to described in write in caching of page corresponding with described page data in cache layer;
Described second detecting unit, for when described in write in cache layer there is not page data corresponding to described data time, read cache layer described in detection;
Described second control module, for when described in read to exist in cache layer page data corresponding to described data time, read described in control caching of page corresponding with described page data in cache layer move to described in write cache layer foremost;
Described 3rd detecting unit, for when described in read not exist in cache layer page data corresponding to described data time, detect described buffer memory and whether there is the first empty cache layer;
Described 3rd control module, for when described buffer memory exists described first empty cache layer, controls described data and is stored in described first empty cache layer;
Described 4th control module, for when described buffer memory does not exist described first empty cache layer, reads the caching of page of least significant end in cache layer as the second empty cache layer described in control, and controls described data and be stored to described second empty cache layer.
7. cache control system according to claim 6, is characterized in that, also comprises first detection module and the 3rd control module, wherein:
Described first detection module, for writing the caching of page number in cache layer described in detecting in real time;
Described 3rd control module, for when described in the caching of page number write in cache layer be greater than the first preset value time, writing the caching of page of least significant end in cache layer described in control moves in Nand Flash, and the caching of page data writing least significant end in cache layer described in controlling be stored to described in read cache layer, until described in the caching of page number write in cache layer be less than or equal to described first preset value.
8. according to the arbitrary described cache control system of claim 5 to 7, it is characterized in that, described second control module also comprises the first detection sub-unit, first and controls subelement, the second detection sub-unit, the second control subelement, the 3rd detection sub-unit, the 3rd control subelement and the 4th control subelement, wherein:
Described first detection sub-unit, for when output device reads described data, writes described in detection in cache layer and whether there is page data corresponding to described data;
Described first controls subelement, for when described in write in cache layer there is page data corresponding to described data time, control described output device and directly read page data corresponding to described data;
Described second detection sub-unit, for when described in write in cache layer there is not page data corresponding to described data time, read cache layer described in detection;
Described second controls subelement, for when described in read to exist in cache layer page data corresponding to described page data time, read cache layer foremost described in the control caching of page corresponding with described data moves to;
Described 3rd detection sub-unit, for when described in read not exist in cache layer page data corresponding to described data time, detect described buffer memory and whether there is the 3rd empty cache layer;
Described 3rd controls subelement, for when described buffer memory exists described 3rd empty cache layer, controls described data and deposits and move to described 3rd empty cache layer;
Described 4th controls subelement, for when described buffer memory does not exist described 3rd empty cache layer, reads the caching of page of least significant end in cache layer as the 4th empty cache layer described in control, and controls described data and deposit and move to described 4th empty cache layer.
CN201310740976.8A 2013-12-27 2013-12-27 Caching method and control system Active CN104750621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310740976.8A CN104750621B (en) 2013-12-27 2013-12-27 Caching method and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310740976.8A CN104750621B (en) 2013-12-27 2013-12-27 Caching method and control system

Publications (2)

Publication Number Publication Date
CN104750621A true CN104750621A (en) 2015-07-01
CN104750621B CN104750621B (en) 2018-04-06

Family

ID=53590347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310740976.8A Active CN104750621B (en) 2013-12-27 2013-12-27 Caching method and control system

Country Status (1)

Country Link
CN (1) CN104750621B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228470A (en) * 2016-12-21 2018-06-29 北京忆恒创源科技有限公司 A kind of method and apparatus for handling the write order to NVM write-in data
CN108595347A (en) * 2018-04-25 2018-09-28 咪咕音乐有限公司 A kind of buffer control method, device and computer readable storage medium
CN108694138A (en) * 2017-04-10 2018-10-23 爱思开海力士有限公司 Controller and its operating method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230409483A1 (en) * 2022-06-16 2023-12-21 Samsung Electronics Co., Ltd. System and method for caching in storage devices

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645858A (en) * 2005-02-24 2005-07-27 广东省电信有限公司研究院 Service system for distributed reciprocal flow media and realizing method for requesting programm
CN101499095A (en) * 2009-03-11 2009-08-05 南京联创科技股份有限公司 Buffer construction method used for data sharing platform
CN101840310A (en) * 2009-12-25 2010-09-22 创新科存储技术有限公司 Data read-write method and disk array system using same
CN102473092A (en) * 2009-07-24 2012-05-23 苹果公司 Index cache tree

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645858A (en) * 2005-02-24 2005-07-27 广东省电信有限公司研究院 Service system for distributed reciprocal flow media and realizing method for requesting programm
CN101499095A (en) * 2009-03-11 2009-08-05 南京联创科技股份有限公司 Buffer construction method used for data sharing platform
CN102473092A (en) * 2009-07-24 2012-05-23 苹果公司 Index cache tree
CN101840310A (en) * 2009-12-25 2010-09-22 创新科存储技术有限公司 Data read-write method and disk array system using same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228470A (en) * 2016-12-21 2018-06-29 北京忆恒创源科技有限公司 A kind of method and apparatus for handling the write order to NVM write-in data
CN108228470B (en) * 2016-12-21 2021-05-18 北京忆恒创源科技有限公司 Method and equipment for processing write command for writing data into NVM (non-volatile memory)
CN108694138A (en) * 2017-04-10 2018-10-23 爱思开海力士有限公司 Controller and its operating method
CN108595347A (en) * 2018-04-25 2018-09-28 咪咕音乐有限公司 A kind of buffer control method, device and computer readable storage medium
CN108595347B (en) * 2018-04-25 2020-11-10 咪咕音乐有限公司 Cache control method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN104750621B (en) 2018-04-06

Similar Documents

Publication Publication Date Title
US20240152288A1 (en) Flash memory controller
US10628319B2 (en) Methods for caching and reading data to be programmed into a storage unit and apparatuses using the same
CN105094686B (en) Data cache method, caching and computer system
CN105593942B (en) Volatile memory framework and related controller in non-volatile memory device
US20080215801A1 (en) Portable Data Storage Using Slc and Mlc Flash Memory
CN103425602A (en) Data reading and writing method and device for flash memory equipment and host system
CN105095116A (en) Cache replacing method, cache controller and processor
US8892812B2 (en) Flash memory device and data writing method for a flash memory
US9075707B2 (en) Data writing method and data storage device
CN109669888A (en) A kind of configurable and efficient embedded Nor-Flash controller and control method
CN107608625B (en) Method for improving reading performance of fixed storage equipment
CN104750621A (en) Caching method and control system
CN104699622A (en) Data storage device and data erasing method thereof
US10324959B2 (en) Garbage collection in storage system
CN105988719B (en) Storage device and its method for handling data
CN103425438A (en) Solid state disk and method for optimizing write request of solid state disk
CN112256203B (en) Writing method, device, equipment, medium and system of FLASH memory
CN103577349B (en) Select the method and apparatus that data carry out brush in the caches
CN101739350B (en) Memory storage device and control method thereof
CN105653466A (en) Data storage device and flash memory control method
CN103761052A (en) Method for managing cache and storage device
CN109710547B (en) Buffer memory management design and implementation method in industrial Internet of things
CN103412727A (en) Method for optimizing deletion command of solid state disk and solid state disk using same
CN103677658A (en) Solid state disc controller and data processing method of solid state disc
CN111367474B (en) Embedded memory oriented FAT file system post-allocation method and system

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