CN107943422A - A kind of high speed storing media data management method, system and device - Google Patents

A kind of high speed storing media data management method, system and device Download PDF

Info

Publication number
CN107943422A
CN107943422A CN201711283014.9A CN201711283014A CN107943422A CN 107943422 A CN107943422 A CN 107943422A CN 201711283014 A CN201711283014 A CN 201711283014A CN 107943422 A CN107943422 A CN 107943422A
Authority
CN
China
Prior art keywords
data
high speed
speed storing
medium
brush
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
Application number
CN201711283014.9A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711283014.9A priority Critical patent/CN107943422A/en
Publication of CN107943422A publication Critical patent/CN107943422A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0685Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Automatic Disk Changers (AREA)

Abstract

The invention discloses a kind of high speed storing media data management method, still retain brush data under the treating in high speed storing medium after lower brush data, so as to which the data in high speed storing medium will not be reduced, the water level of high speed storing medium will not be reduced, therefore avoids the problem of relatively low caused read command of water level is difficult to hit.Simultaneously as by swiped through data markers under in order to delete data, i.e., these data are swiped through under, so water level it is higher need discharge resource when, it need not carry out lower brush operation again again, directly delete these data, delete operation can save the substantial amounts of time compared to lower brush operation.The embodiment of the present invention additionally provides a kind of high speed storing media data management system and device, can equally realize above-mentioned technique effect.

Description

A kind of high speed storing media data management method, system and device
Technical field
The present invention relates to technical field of data storage, more specifically to a kind of high speed storing media data manager Method, system and device.
Background technology
The balance of performance and cost when within the storage system, in order to realize reading and writing data, usually using multi storage. The data higher to access frequency, i.e. dsc data, are preferentially placed in high speed storing medium, and the data that access frequency is relatively low, i.e., Cold data, then be placed in low speed storage medium.So as to reasonably utilize storage device.
When the data in high speed storing medium are very few, then when data are read in high speed storing medium, read request is difficult to Hiting data;When the overabundance of data in high speed storing medium, i.e., close to full-water level when, and need limit value client request speed Degree, is write full completely to avoid fast storing medium.
In order to keep having certain water level in fast storing medium, when reaching low water level, just stop storing to low speed Brush data under medium, when the data in user's write-in high speed storing medium have reached the threshold value of water level, i.e. writing with data Enter, when the data in high speed storing medium are increased to the condition for meeting lower brush data, then by brush under the needing for meeting condition Data are all brushed into low speed storage medium.
Provided however, the operation that low speed storage medium is brushed under the data in high speed storing medium can be consumed certain performance Source, when once brushing into substantial amounts of data, can take for a long time, and user needs just continue after waiting the plenty of time Data are write into high speed storing medium, so as to seriously affect the write performance of storage system.
Therefore, data water level how is kept in high speed storing medium while normal level, when avoiding writing data etc. Treat the time, be those skilled in the art's problem to be solved.
The content of the invention
It is an object of the invention to provide a kind of high speed storing media data management method, system and device, to keep high Fast data in storage medium water level is while normal level, stand-by period when avoiding writing data.
To achieve the above object, an embodiment of the present invention provides following technical solution:
A kind of high speed storing media data management method, including:
By brush under brush data under the treating in high speed storing medium to low speed storage medium;
By lower brush data markers are treated described in the high speed storing medium for data can be deleted;
When high speed storing medium needs to discharge resource, data can be deleted described in deletion.
Wherein, brushed under the treating in the medium by high speed storing under brush data to low speed storage medium, including:
Data markers by new write-in high speed storing medium are to treat lower brush data;
Treat to brush to low speed storage medium under lower brush data by described.
Wherein, brushed under the treating in the medium by high speed storing under brush data to low speed storage medium, including:
Change in the high speed storing medium and delete data, be to treat lower brush number by amended data markers of deleting According to;
Treat to brush to low speed storage medium under lower brush data by described.
Wherein, in the medium by high speed storing described in treat lower brush data markers as data can be deleted, including:
It will treat that the state of lower brush data is updated to that shape can be deleted described in presupposed information table in the high speed storing medium State, makes described to treat that lower brush data become and can delete data;Wherein, the presupposed information table is preserved in the high speed storing medium The status information of each data.
Wherein, further include:
Receive and read target data read requests;
Judge whether there is the target data in the high speed storing medium;
If so, then return to the target data;
If it is not, then determining the target data from the low speed storage medium, the target data is copied to described In high-speed memory and retain the target data in the low speed storage medium, return to the target data, and by described in Target data in high speed storing medium is labeled as that data can be deleted.
In order to solve the above technical problems, the present invention also provides a kind of high speed storing media data management system, including:
Lower brush module, for will be brushed under brush data under the treating in high speed storing medium to low speed storage medium;
Mark module, for data can be deleted by lower brush data markers are treated described in the high speed storing medium;
Removing module, for when high speed storing medium needs to discharge resource, data can be deleted described in deletion.
Wherein, the mark module, including:
First indexing unit, for the data markers of new write-in high speed storing medium to be treated lower brush data;
First time brush unit, for treating to brush to low speed storage medium under lower brush data by described.
Wherein, the mark module, including:
Second indexing unit, deletes data for changing in the high speed storing medium, is deleted amended Data markers are to treat lower brush data;
Second time brush unit, for treating that lower brush data markers are that can delete data by described.
Wherein, further include:
Receiving module, target data read requests are read for receiving;
Judgment module, for judging whether there is the target data in the high speed storing medium;
First returns to module, for when having the target data in the high speed storing medium, returning to the number of targets According to;
Second returns to module, for when not having the target data in the high speed storing medium, being deposited from the low speed The target data is determined in storage media, the target data is copied in the high-speed memory and retains the low speed and is deposited The target data in storage media, returns to the target data, and the target data in the high speed storing medium is marked For data can be deleted.
The present invention also provides a kind of high speed storing media data managing device, including:
Memory, for storing computer program;
Processor, the step such as the high speed storing media data management method is realized during for performing the computer program Suddenly.
By above scheme, a kind of high speed storing media data management method provided in an embodiment of the present invention, by height Brushed under treating in fast storage medium under brush data to low speed storage medium;Lower brush number will be treated described in the high speed storing medium According to labeled as data can be deleted;When high speed storing medium needs to discharge resource, data can be deleted described in deletion.
It can be seen from the above that the embodiment of the present invention provides a kind of high speed storing media data management method, after lower brush data according to So retain brush data under the treating in high speed storing medium, so that the data in high speed storing medium will not be reduced, i.e., will not reduce The water level of high speed storing medium, therefore avoid the problem of relatively low caused read command of water level is difficult to hit.Simultaneously as will Swiped through data markers are in order to delete data under, i.e., these data are swiped through under, so being released in the higher needs of water level When putting resource, and lower brush operation need not be carried out again, directly delete these data, delete operation is compared to lower brush operation meeting Save the substantial amounts of time.The embodiment of the present invention additionally provides a kind of high speed storing media data management system and device, equally may be used To realize above-mentioned technique effect.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of high speed storing media data management method flow chart disclosed by the embodiments of the present invention;
Fig. 2 is a kind of specific high speed storing media data management method flow chart disclosed by the embodiments of the present invention;
Fig. 3 is a kind of specific high speed storing media data management method flow chart disclosed by the embodiments of the present invention;
Fig. 4 is a kind of specific high speed storing media data management method flow chart disclosed by the embodiments of the present invention;
Fig. 5 is a kind of specific high speed storing media data management method flow chart disclosed by the embodiments of the present invention;
Fig. 6 is a kind of high speed storing media data management system structure diagram disclosed by the embodiments of the present invention;
Fig. 7 is a kind of specific high speed storing media data management system structure diagram disclosed by the embodiments of the present invention;
Fig. 8 is a kind of specific high speed storing media data management system structure diagram disclosed by the embodiments of the present invention;
Fig. 9 is a kind of specific high speed storing media data management system structure diagram disclosed by the embodiments of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of high speed storing media data management method, system and device, to keep at a high speed Data in storage medium water level is while normal level, stand-by period when avoiding writing data.
Referring to Fig. 1, a kind of high speed storing media data management method provided in an embodiment of the present invention, specifically includes:
S101, by brush under brush data under the treating in high speed storing medium to low speed storage medium.
In the present solution, no matter whether the data of current high speed storing medium are less, no matter that is, currently depositing at a high speed Whether storage media water level is relatively low, and the data for treating lower brush all are carried out lower brush, that is, will treat that lower brush data duplication is stored to low speed In medium, but during lower brush, and retain the data in high speed storing medium, that is, after lower brush, this data is both in height In fast storage medium, also in low speed storage medium.
S102, by lower brush data markers are treated described in the high speed storing medium for data can be deleted.
Specifically, after high speed storing medium will be brushed in low speed storage medium under lower brush data, just by high speed storing This data markers in medium are that can delete data.
It should be noted that for this programme, the water level in current high speed storing medium can be sentenced before lower brush It is disconnected, judge whether its water level is too low, if too low, in order to avoid causing data in high speed storing medium few after lower brush data, Easily there is the problem of being difficult to hit in read command, still retains this number in high speed storing medium after being brushed under data According to, be simply deletable state by this data markers, when overabundance of data, deletion can delete data release resource; And when the water level in high speed storing medium does not have too low, the above method can have both been used, can also will directly treat lower brush data Under brush in low speed storage medium, and directly delete high speed storing medium in this data.
Threshold value may be set according to actual conditions in judgement for water level height, is the too low shape of water level during less than threshold value State.
S103, when high speed storing medium needs to discharge resource, data can be deleted described in deletion.
Specifically, water level is higher in high speed storing medium, that is, it is necessary to discharge cold data, directly when being up to full-water level Deletable data are deleted, if in cold data to be released, also there are the data for treating lower brush state, then will first treat lower brush Into low speed storage medium, then the data in high speed storing medium are deleted again.
It can be seen from the above that the embodiment of the present invention provides a kind of high speed storing media data management method, after lower brush data according to So retain brush data under the treating in high speed storing medium, so that the data in high speed storing medium will not be reduced, i.e., will not reduce The water level of high speed storing medium, therefore avoid the problem of relatively low caused read command of water level is difficult to hit.Simultaneously as will Swiped through data markers are in order to delete data under, i.e., these data are swiped through under, so being released in the higher needs of water level When putting resource, and lower brush operation need not be carried out again, directly delete these data, delete operation is compared to lower brush operation meeting Save the substantial amounts of time.
A kind of specific high speed storing media data management method provided in an embodiment of the present invention is introduced below, this Inventive embodiments can be cross-referenced with above-described embodiment.
Referring to Fig. 2, a kind of specific high speed storing media data management method provided in an embodiment of the present invention, specific bag Include:
S201, the data markers by new write-in high speed storing medium are to treat lower brush data.
S202, treats to brush to low speed storage medium under lower brush data by described.
Specifically, the data that client newly writes, are preferentially written in high speed storing medium, and by the state of these data It is set to and treats lower brush.Then will treat to brush in low speed storage medium under lower brush data, since high speed storing medium need not be discharged Memory space, retains the states of data juxtaposition these data in high speed storing medium for that can delete.
S203, by lower brush data markers are treated described in the high speed storing medium for data can be deleted;
S204, when high speed storing medium needs to discharge resource, data can be deleted described in deletion.
The embodiment of the present invention provides a kind of specific high speed storing media data management method, described below a kind of specific High speed storing medium management method can be cross-referenced with above-described embodiment.
Referring to Fig. 3, a kind of specific high speed storing media data management method provided in an embodiment of the present invention, specific bag Include:
S301, changes in the high speed storing medium and deletes data, is to treat by amended data markers of deleting Lower brush data.
Specifically, if client has carried out the data that state can be deleted in high speed storing medium renewal operation, also It is that have modified the data that can delete state, then amended data, which need to be set to again, treats lower brush state, carries out subsequent step.
S302, treats to brush to low speed storage medium under lower brush data by described.
S303, by lower brush data markers are treated described in the high speed storing medium for data can be deleted;
S304, when high speed storing medium needs to discharge resource, data can be deleted described in deletion.
The embodiment of the present invention provides a kind of specific high speed storing media data management method, is different from above-described embodiment, The embodiment of the present invention by lower brush data markers are treated described in high speed storing medium described in above-described embodiment to that can delete number According to having done further restriction and explanation, other step contents are roughly the same with above-described embodiment, specifically may be referred to above-mentioned reality Example is applied, details are not described herein again.
Referring to Fig. 4, a kind of specific high speed storing media data management method provided in an embodiment of the present invention, specific bag Include:
S401, by brush under brush data under the treating in high speed storing medium to low speed storage medium.
S402, will treat that the state of lower brush data is updated to delete described in presupposed information table in the high speed storing medium Except state, make described to treat that lower brush data become and can delete data;Wherein, the presupposed information table preserves the high speed storing and is situated between The status information of each data in matter.
In the present solution, be preset with information table in high speed storing medium, corresponding high speed storing is wherein saved in information table The status information of each data in medium, status information include to delete state, treating lower brush state etc..By in high speed storing medium After being brushed under lower brush data in low speed storage medium, it is possible to by high speed storing medium information table, it is corresponding this Under brush low speed storage medium the status informations of data be revised as that state can be deleted, this data is that can delete number after modification According to.
S403, when high speed storing medium needs to discharge resource, data can be deleted described in deletion.
Specifically, in the present solution, when high speed storing medium needs to discharge resource, you being searched in information table to delete Except the corresponding data of state, then these data are deleted.
Referring to Fig. 5, the embodiment of the present invention provides a kind of specific high speed storing media data management method, based on above-mentioned reality Example is applied, the embodiment of the present invention further includes:
S501, receives and reads target data read requests.
S502, judges whether there is the target data in the high speed storing medium.
In the present solution, providing the scheme of data in reading high speed storing medium.Client reads high priority data at a high speed Searched in storage medium, judge whether there is the target data to be searched in high speed storing medium.
S503, if so, then returning to the target data.
S504, if it is not, then determining the target data from the low speed storage medium, the target data is copied to In the high-speed memory and retain the target data in the low speed storage medium, return to the target data, and will Target data in the high speed storing medium is labeled as that data can be deleted.
If target data can be found in high speed storing medium, then then target data is returned to client, if high Do not have in fast storage medium, then data are first read from low speed storage medium and deposited to high speed storing medium, target data in low speed In storage data and retain, be simply copied into high speed storing medium, then by the target data mark in high speed storing medium Data can be deleted by being denoted as, so that high speed storing medium directly deletes this target data when needing to discharge resource.
It should be noted that default objects data are present in current system in this programme, and uncertain number of targets During according to the presence or absence of current system, when can also not found in high speed storing medium, make in low speed storage medium into one Step judges, judges whether there is target data in low speed storage medium, if being read again in high speed storing medium, performs Follow-up step in aforesaid operations.
A kind of high speed storing media data management system provided in an embodiment of the present invention is introduced below, is described below A kind of high speed storing media data management system can be cross-referenced with a kind of above-mentioned high speed storing media data management method.
Referring to Fig. 6, a kind of high speed storing media data management system provided in an embodiment of the present invention, specifically includes:
Lower brush module 601, for will be brushed under brush data under the treating in high speed storing medium to low speed storage medium.
In the present solution, no matter whether the data of current high speed storing medium are less, no matter that is, currently depositing at a high speed Whether storage media water level is relatively low, and the data for treating lower brush are all carried out lower brush by lower brush module 601, that is, will treat lower brush data duplication Into low speed storage medium, but during lower brush, and retain the data in high speed storing medium, that is, after lower brush, this Data are both in high speed storing medium, also in low speed storage medium.
Mark module 602, for data can be deleted by lower brush data markers are treated described in the high speed storing medium.
Specifically, after high speed storing medium will be brushed in low speed storage medium under lower brush data, mark module 602 is just It is that can delete data by this data markers in high speed storing medium.
It should be noted that for this programme, the water level in current high speed storing medium can be sentenced before lower brush It is disconnected, judge whether its water level is too low, if too low, in order to avoid causing data in high speed storing medium few after lower brush data, Easily there is the problem of being difficult to hit in read command, still retains this number in high speed storing medium after being brushed under data According to, be simply deletable state by this data markers, when overabundance of data, deletion can delete data release resource; And when the water level in high speed storing medium does not have too low, the above method can have both been used, can also will directly treat lower brush data Under brush in low speed storage medium, and directly delete high speed storing medium in this data.
Threshold value may be set according to actual conditions in judgement for water level height, is the too low shape of water level during less than threshold value State.
Removing module 603, for when high speed storing medium needs to discharge resource, data can be deleted described in deletion.
Specifically, water level is higher in high speed storing medium, that is, it is necessary to discharge cold data when being up to full-water level, deletes Module 603 directly deletes deletable data, if in cold data to be released, also there are the data for treating lower brush state, that It will first treat down to brush in low speed storage medium, then again delete the data in high speed storing medium.
It can be seen from the above that the embodiment of the present invention provides a kind of high speed storing media data management system, lower brush module 601 is under Still retain brush data under the treating in high speed storing medium after brush data, so that the data in high speed storing medium will not be reduced, The water level of high speed storing medium will not be reduced, therefore avoids the problem of relatively low caused read command of water level is difficult to hit. Simultaneously as mark module 602 by swiped through data markers under in order to which data can be deleted, i.e. these data lower brush Cross, thus water level is higher need to discharge resource when, and lower brush operation need not be carried out again, removing module 603 directly deletes this A little data, delete operation can save the substantial amounts of time compared to lower brush operation.
A kind of specific high speed storing media data management system provided in an embodiment of the present invention is introduced below, this Inventive embodiments can be cross-referenced with above-described embodiment.
Referring to Fig. 7, a kind of specific high speed storing media data management system provided in an embodiment of the present invention, specific bag Include:
First indexing unit 701, for the data markers of new write-in high speed storing medium to be treated lower brush data.
First time brush unit 702, for treating to brush to low speed storage medium under lower brush data by described.
Specifically, the data that client newly writes, are preferentially written in high speed storing medium, and the first indexing unit 701 will The state of these data, which is set to, treats lower brush.Then first time brush unit 702 will be treated to brush in low speed storage medium under lower brush data, Due to that need not discharge the memory space of high speed storing medium, retain the shape of data juxtaposition these data in high speed storing medium State is to delete.
Mark module 602, for data can be deleted by lower brush data markers are treated described in the high speed storing medium.
Removing module 603, for when high speed storing medium needs to discharge resource, data can be deleted described in deletion.
The embodiment of the present invention provides a kind of specific high speed storing media data management system, described below a kind of specific High speed storing media management system can be cross-referenced with above-described embodiment.
Referring to Fig. 8, a kind of specific high speed storing media data management system provided in an embodiment of the present invention, specific bag Include:
Second indexing unit 801, deletes data for changing in the high speed storing medium, is deleted amended Except data are labeled as treating lower brush data.
Second time brush unit 802, for treating that lower brush data markers are that can delete data by described.
Specifically, if client has carried out the data that state can be deleted in high speed storing medium renewal operation, also It is that have modified the data that can delete state, then amended data are needed to be set to again by the second indexing unit 801 treats lower brush State, brushes in low speed storage medium under brush data under the treating for being obtained the second indexing unit 801 by second time brush unit 802.
Mark module 602, for data can be deleted by lower brush data markers are treated described in the high speed storing medium.
Removing module 603, for when high speed storing medium needs to discharge resource, data can be deleted described in deletion.
The embodiment of the present invention provides a kind of specific high speed storing media data management system, is different from above-described embodiment, The embodiment of the present invention has done further restriction and explanation to mark module in above-described embodiment 602, other step contents with it is upper It is roughly the same to state embodiment, specifically may be referred to above-described embodiment, details are not described herein again.Specifically, mark module 602, specifically For:
It will treat that the state of lower brush data is updated to that shape can be deleted described in presupposed information table in the high speed storing medium State, makes described to treat that lower brush data become and can delete data;Wherein, the presupposed information table is preserved in the high speed storing medium The status information of each data.
In the present solution, be preset with information table in high speed storing medium, corresponding high speed storing is wherein saved in information table The status information of each data in medium, status information include to delete state, treating lower brush state etc..By in high speed storing medium After being brushed under lower brush data in low speed storage medium, mark module 602 can be right by high speed storing medium information table The status information of this data for having brushed low speed storage medium down is answered to be revised as that state can be deleted, this data is after modification For data can be deleted.
Referring to Fig. 9, the embodiment of the present invention provides a kind of specific high speed storing media data management system, based on above-mentioned reality Example is applied, the embodiment of the present invention further includes:
Receiving module 901, target data read requests are read for receiving.
Judgment module 902, for judging whether there is the target data in the high speed storing medium.
In the present solution, providing the scheme of data in reading high speed storing medium.Client reads high priority data at a high speed Searched in storage medium, receiving module 901 receives the request for reading target data first, and then judgment module 902 judges at a high speed Whether the target data to be searched is had in storage medium.
First returns to module 903, for when having the target data in the high speed storing medium, returning to the target Data.
Second returns to module 904, for when not having the target data in the high speed storing medium, from the low speed The target data is determined in storage medium, the target data is copied in the high-speed memory and retains the low speed The target data in storage medium, returns to the target data, and by the target data mark in the high speed storing medium Data can be deleted by being denoted as.
If target data can be found in high speed storing medium, then first returns to module 903 then returns to client Target data, if do not had in high speed storing medium, second return module 904 first read from low speed storage medium data to High speed storing medium, target data is in low speed stores data and retains, and is simply copied into high speed storing medium, then By the target data in high speed storing medium labeled as data can be deleted, so that high speed storing medium is when needing to discharge resource, Directly this target data is deleted.
It should be noted that default objects data are present in current system in this programme, and uncertain number of targets During according to the presence or absence of current system, when can also not found in high speed storing medium, make in low speed storage medium into one Step judges, judges whether there is target data in low speed storage medium, if recalling other modules, continues follow-up operation.
A kind of high speed storing media data managing device provided in an embodiment of the present invention is introduced below, is described below A kind of high speed storing media data managing device can phase with a kind of above-described high speed storing media data management method Mutual reference.
A kind of high speed storing media data managing device provided in an embodiment of the present invention, specifically includes:
Memory, for storing computer program;
Processor, high speed storing Jie as described in above-mentioned either method embodiment is realized during for performing the computer program The step of matter data managing method.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one The most wide scope caused.

Claims (10)

  1. A kind of 1. high speed storing media data management method, it is characterised in that including:
    By brush under brush data under the treating in high speed storing medium to low speed storage medium;
    By lower brush data markers are treated described in the high speed storing medium for data can be deleted;
    When high speed storing medium needs to discharge resource, data can be deleted described in deletion.
  2. 2. according to the method described in claim 1, it is characterized in that, brushed under treating in the medium by high speed storing under brush data To low speed storage medium, including:
    Data markers by new write-in high speed storing medium are to treat lower brush data;
    Treat to brush to low speed storage medium under lower brush data by described.
  3. 3. according to the method described in claim 1, it is characterized in that, brushed under treating in the medium by high speed storing under brush data To low speed storage medium, including:
    Change in the high speed storing medium and delete data, be to treat lower brush data by amended data markers of deleting;
    Treat to brush to low speed storage medium under lower brush data by described.
  4. 4. the method according to right wants 1, it is characterised in that lower brush data mark is treated described in the medium by high speed storing Data can be deleted by being denoted as, including:
    It will treat that the state of lower brush data is updated to that state can be deleted described in presupposed information table in the high speed storing medium, make It is described to treat lower brush data as data deleted;Wherein, the presupposed information table is preserved each in the high speed storing medium The status information of data.
  5. 5. method as claimed in any of claims 1 to 4, it is characterised in that further include:
    Receive and read target data read requests;
    Judge whether there is the target data in the high speed storing medium;
    If so, then return to the target data;
    If it is not, then determining the target data from the low speed storage medium, the target data is copied into the high speed In memory and retain the target data in the low speed storage medium, return to the target data, and by the high speed Target data in storage medium is labeled as that data can be deleted.
  6. A kind of 6. high speed storing media data management system, it is characterised in that including:
    Lower brush module, for will be brushed under brush data under the treating in high speed storing medium to low speed storage medium;
    Mark module, for data can be deleted by lower brush data markers are treated described in the high speed storing medium;
    Removing module, for when high speed storing medium needs to discharge resource, data can be deleted described in deletion.
  7. 7. system according to claim 6, it is characterised in that the mark module, including:
    First indexing unit, for the data markers of new write-in high speed storing medium to be treated lower brush data;
    First time brush unit, for treating to brush to low speed storage medium under lower brush data by described.
  8. 8. system according to claim 6, it is characterised in that the mark module, including:
    Second indexing unit, deletes data for changing in the high speed storing medium, data is deleted by amended Labeled as treating lower brush data;
    Second time brush unit, for treating that lower brush data markers are that can delete data by described.
  9. 9. the system according to any one in claim 6 to 8, it is characterised in that further include:
    Receiving module, target data read requests are read for receiving;
    Judgment module, for judging whether there is the target data in the high speed storing medium;
    First returns to module, for when having the target data in the high speed storing medium, returning to the target data;
    Second returns to module, for when not having the target data in the high speed storing medium, storing and being situated between from the low speed The target data is determined in matter, the target data is copied in the high-speed memory and retains low speed storage Jie The target data in matter, returns to the target data, and by the target data in the high speed storing medium labeled as can Delete data.
  10. A kind of 10. high speed storing media data managing device, it is characterised in that including:
    Memory, for storing computer program;
    Processor, the high speed storing medium number as described in any one of claim 1 to 5 is realized during for performing the computer program The step of according to management method.
CN201711283014.9A 2017-12-07 2017-12-07 A kind of high speed storing media data management method, system and device Pending CN107943422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711283014.9A CN107943422A (en) 2017-12-07 2017-12-07 A kind of high speed storing media data management method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711283014.9A CN107943422A (en) 2017-12-07 2017-12-07 A kind of high speed storing media data management method, system and device

Publications (1)

Publication Number Publication Date
CN107943422A true CN107943422A (en) 2018-04-20

Family

ID=61945133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711283014.9A Pending CN107943422A (en) 2017-12-07 2017-12-07 A kind of high speed storing media data management method, system and device

Country Status (1)

Country Link
CN (1) CN107943422A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213450A (en) * 2018-09-10 2019-01-15 郑州云海信息技术有限公司 A kind of associated metadata delet method, device and equipment based on flash array
CN112463079A (en) * 2020-12-17 2021-03-09 北京浪潮数据技术有限公司 Data storage control method, device, equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049396A (en) * 2012-12-10 2013-04-17 浪潮(北京)电子信息产业有限公司 Method and device for flushing data
CN103455284A (en) * 2013-09-18 2013-12-18 北京华胜天成科技股份有限公司 Method and device for reading and writing data
CN105068941A (en) * 2015-07-31 2015-11-18 浪潮电子信息产业股份有限公司 Cache page replacing method and cache page replacing device
CN105549905A (en) * 2015-12-09 2016-05-04 上海理工大学 Method for multiple virtual machines to access distributed object storage system
CN105677587A (en) * 2016-01-04 2016-06-15 沈阳东软医疗系统有限公司 Medical imaging equipment data storage method and device
CN106649135A (en) * 2016-12-30 2017-05-10 郑州云海信息技术有限公司 Cache management method and cache management device for single-control storage equipment
CN106886368A (en) * 2016-12-30 2017-06-23 北京同有飞骥科技股份有限公司 A kind of block device writes IO shapings and multi-controller synchronization system and synchronous method
CN106897231A (en) * 2017-02-28 2017-06-27 郑州云海信息技术有限公司 A kind of data cache method and system based on high-performance storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049396A (en) * 2012-12-10 2013-04-17 浪潮(北京)电子信息产业有限公司 Method and device for flushing data
CN103455284A (en) * 2013-09-18 2013-12-18 北京华胜天成科技股份有限公司 Method and device for reading and writing data
CN105068941A (en) * 2015-07-31 2015-11-18 浪潮电子信息产业股份有限公司 Cache page replacing method and cache page replacing device
CN105549905A (en) * 2015-12-09 2016-05-04 上海理工大学 Method for multiple virtual machines to access distributed object storage system
CN105677587A (en) * 2016-01-04 2016-06-15 沈阳东软医疗系统有限公司 Medical imaging equipment data storage method and device
CN106649135A (en) * 2016-12-30 2017-05-10 郑州云海信息技术有限公司 Cache management method and cache management device for single-control storage equipment
CN106886368A (en) * 2016-12-30 2017-06-23 北京同有飞骥科技股份有限公司 A kind of block device writes IO shapings and multi-controller synchronization system and synchronous method
CN106897231A (en) * 2017-02-28 2017-06-27 郑州云海信息技术有限公司 A kind of data cache method and system based on high-performance storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213450A (en) * 2018-09-10 2019-01-15 郑州云海信息技术有限公司 A kind of associated metadata delet method, device and equipment based on flash array
CN109213450B (en) * 2018-09-10 2021-08-31 郑州云海信息技术有限公司 Associated metadata deleting method, device and equipment based on flash memory array
CN112463079A (en) * 2020-12-17 2021-03-09 北京浪潮数据技术有限公司 Data storage control method, device, equipment and readable storage medium
CN112463079B (en) * 2020-12-17 2023-12-22 北京浪潮数据技术有限公司 Data storage control method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN106909313B (en) Memory system and control method
US8805902B2 (en) Managing snapshot storage pools
CN102511044B (en) Method for deleting the data and device thereof
EP1782176B1 (en) Systems, methods, computer readable medium and apparatus for memory management using nvram
CN102696010B (en) For by the device of data cache on solid storage device, system and method
JP4859837B2 (en) Information recording medium access device and data recording method
CN108647151A (en) It is a kind of to dodge system metadata rule method, apparatus, equipment and storage medium entirely
CN103064797B (en) Data processing method and virtual machine management platform
CN105637470B (en) Method and computing device for dirty data management
KR20100132244A (en) Memory system and method of managing memory system
KR20020054255A (en) Ranked Cleaning Policy and Error Recovery Method for File Systems Using Flash Memory
KR20120068765A (en) Memory management device
CN103092766A (en) Balanced loss achievement method for NAND FLASH
CN108604165A (en) Storage device
CN115470216B (en) FTL-based intelligent Internet of things table storage management method and storage medium
CN110147203A (en) A kind of file management method, device, electronic equipment and storage medium
CN107943422A (en) A kind of high speed storing media data management method, system and device
CN109478164A (en) For storing the system and method for being used for the requested information of cache entries transmission
CN105205015B (en) A kind of date storage method and storage equipment
US10073851B2 (en) Fast new file creation cache
CN105630406A (en) Storage system using MRAM as editing buffer and editing buffer method
KR101643278B1 (en) Method, apparatus, and computer program stored in computer readable medium for managing storage server in database system
KR101692055B1 (en) Method, apparatus, and computer program stored in computer readable storage medium for managing shared memory in database server
CN110019086A (en) More copy read methods, equipment and storage medium based on distributed file system
CN108959517B (en) File management method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180420