CN107430551A - Data cache method, memory control device and storage device - Google Patents

Data cache method, memory control device and storage device Download PDF

Info

Publication number
CN107430551A
CN107430551A CN201580054160.7A CN201580054160A CN107430551A CN 107430551 A CN107430551 A CN 107430551A CN 201580054160 A CN201580054160 A CN 201580054160A CN 107430551 A CN107430551 A CN 107430551A
Authority
CN
China
Prior art keywords
caching
data block
data
stored
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201580054160.7A
Other languages
Chinese (zh)
Other versions
CN107430551B (en
Inventor
李夫路
蔡恩挺
林春恭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010981446.2A priority Critical patent/CN112214420A/en
Priority to CN202010983144.9A priority patent/CN112231242A/en
Publication of CN107430551A publication Critical patent/CN107430551A/en
Application granted granted Critical
Publication of CN107430551B publication Critical patent/CN107430551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Abstract

A kind of caching method of data applied to storage device, the control device and storage device of storage device.The storage device includes the first caching (212) and the second caching (213).Monitor to have cached the first data block (S301) in first caching (212) in the storage device, first data block (S601) to be deleted, or first data block first caching (212) in caching time exceeded threshold value when (S801), obtain the characteristic information of first data block, then determine whether first data block is stored in second caching (213) according to the characteristic information of first data block, it is determined that first data block is stored in (S303 in second caching (213), S603, S803 in the case of), adjust the rank (S304 of superseded priority of first data block in the described second caching (213), S604, S804).By caching the data harmonization in (213) to the first caching (212) in storage device and second, the response speed of I/O request is improved.

Description

Data cache method, storage control device and storage equipment Technical field
The present invention relates to technical field of data storage, in particular to Data cache technology.
Background technique
With the fast development of the technologies such as big data, mobile interchange and cloud service and application, application server also greatly increases the requirements for access of storage server, this just needs to accelerate the processing capacity of the I/O request to access storage server, with the requirements for access of quick response user.
The method of caching is usually used to accelerate the processing capacity of I/O request in the prior art, i.e., all setting caches in application server and storage server.The dsc data that the buffer memory application server of application server determines, the data that the buffer memory of storage server is read from hard disk.
When application server receives I/O request, data block is accessed in the caching of application server first, if miss, I/O request is transmitted to the storage server, if also not hitting in the storage server, needs to read data from hard disk.
Since the memory space of the caching of application server is smaller than the memory space of the caching of storage server, so the data being buffered in higher level's caching may will soon be eliminated, in this way, after I/O requests requested data block to be eliminated by the caching of application server, it can be hit in the caching of storage server, so as to quick response I/O request.
However, caching in application server and the mechanism for lacking cooperating between the caching of storage server, may often occur identical data two cachings all cache respectively and caused by storage resource waste the problem of, it is also possible to often occur certain dsc data two cachings all need to hard disk to read the data without caching and caused by data reading speed postpone the problem of.
Summary of the invention
The application provides data cache method, storage equipment and data processing system, to provide the cooperating mechanism of multi-level buffer.
First aspect present invention provides a kind of caching method of data, and the method is applied to storage server, and the storage equipment includes the first caching, second caches and storage unit, and described the One caching provides data buffer storage for application server, and second caching is for providing data buffer storage for the storage unit.In the case where the storage server monitors the first trigger condition, the characteristic information for being buffered in the first data block in first caching is obtained, then determines whether first data block is stored in second caching according to the characteristic information of first data block;In the case where determining that first data block is stored in second caching, the rank of superseded priority of first data block in second caching is adjusted.The characteristic information of first data block is determined by the data content of first data block.
According to the data cached situation of level cache and L2 cache, adjust the rank of the superseded priority of the data block cached to second caching, to superseded sequence data cached in the second caching of control, reduce the repeated data cached in the first caching and the second caching, or extend the cache-time in L2 cache of dsc data, improve the response speed of I/O request
Optionally, first trigger condition are as follows: the storage server receives data write request, and it will be in the first data block for including in data write request write-in first caching, or, cache-time of first data block in first caching is more than the predetermined time, under this trigger condition, when determining that first data block stores in second caching, the rank of superseded priority of first data block in second caching can be improved.
In this way, there is the identical data block of data block being newly written in first caching in determining second caching, or when there is data block identical with the dsc data in first caching, then improve the rank of the superseded priority of the identical block in second caching, eliminate it preferentially, the data block stored is repeated in the second caching to which reduction first is cached, the first caching and second is increased and caches data cached total amount, saving storage resource.
Optionally, first trigger condition are as follows: the storage server receives the removal request that first data block is deleted from first caching;Under this trigger condition, when determining that first data block stores in second caching, the rank of superseded priority of first data block in second caching is reduced.
In this way, when deleting data block from first caching, if the data block to be deleted also is stored in second caching, if then superseded priority of the data block to be deleted in the second caching is reduced, in this way, the time that the data deleted in the first caching can be made to save in the second caching is longer, when thering is I/O request to access the data block next time, Ke Yi It is hit in second caching, without being obtained from hard disk, so improving the response speed of I/O request.
Optionally, the storage equipment preserves the index record of second caching, the index record of second caching includes the data characteristics mark that data block is saved in second caching, the size of the data block saved in second caching is equal to the size of first data block, and the data characteristics mark of the data block saved in each second caching is determined by the data content of the data block saved in each second caching;The characteristic information of first data block is to be obtained according to the data content of each first data block;Determine whether each first data block is stored in second caching according to the index record of the data characteristics of first data block mark inquiry second caching.
By way of establishing concordance list, it can quickly determine whether first data block is stored in second caching.
Optionally, the storage equipment preserves address table, the signature identification and storage address of the second data block being buffered in second caching are had recorded in the address table, after determining that first data block is stored in second caching, first data block is found in the address table according to the signature identification of first data block, and then superseded rank of first data block in second caching is adjusted again.By establishing address table, position of first data block in second caching can be quickly found, so that the rank of the superseded priority to first data block in second caching is adjusted.
Optionally, the second caching index record only records the Data Identification that the data block of second caching is written for a period of time recently.It can reduce by the second occupied space of caching index record in this way, reduce the time tabled look-up.
Optionally, in the case where the storage server monitors the second trigger condition, the characteristic information for the second data block being buffered in second caching is obtained, then determines whether second data block is stored in first caching according to the characteristic information of second data block;In the case where determining that second data block is stored in first caching, the rank of superseded priority of second data block in second caching is adjusted.
In this way, the data cases in the second caching can be monitored, are buffered in whether data in the second caching are buffered in the first caching by judgement, to adjust the superseded priority-level for the data block being buffered in the second caching, to control superseded sequence data cached in the second caching, from And reduce the repeated data cached in the first caching and the second caching.
Optionally, second trigger condition are as follows: cache-time of second data block in second caching is more than the predetermined time;Under this trigger condition, when determining that second data block stores in first caching, second data block is improved from the rank of the superseded priority in second caching.
In this way, when there is data block identical with the data in second caching in determining first caching, then improve the rank of the superseded priority of data block in second caching, eliminate it preferentially, to reduce the data block for repeating storage in the first caching and the second caching, it increases the first caching and second and caches data cached total amount, to improve the response speed of I/O request.
Optionally, second trigger condition are as follows: delete it is described second caching in second data block, then the method also includes:
In the case where determining that second data are not stored in first caching, the rank of superseded priority of second data in second caching is reduced.
In this way, deletion second caching in data block when, if the data block deleted is not stored in first caching, then improve the superseded priority of deleted data block, the data block is not deleted, in this way, when there is I/O request to access the data block, it can be hit in the second caching, then the response speed of the I/O request improved.
Optionally, second trigger condition are as follows: the data of second data block write-in second caching will be included;Under these conditions, in the case where determining that second data block is stored in first caching, the rank of superseded priority of second data block in second caching is improved.
In this way, if the data block that new caching is cached to described second, it also is stored in the first caching, then improve the rank of the superseded priority of new caching data block, to eliminate the data block of new caching to second caching as early as possible, the repeated data in the first caching and the second caching is reduced, increase is data cached, improves I/O request hit rate.
Optionally, the storage equipment preserves the index record of first caching, the index record of first caching includes the data characteristics mark of at least one data block saved in first caching, the size of each data block is predefined size, and the data characteristics mark of each data block is determined by the data content that each data block includes;Second data block Signature identification is obtained according to the data content that the second data block includes;It when determining whether second data block stores in first caching, is determined according to the index record of the data characteristics of each second data block mark inquiry first caching.
In this way, data identical with the data in second caching can be quickly found in first caching by the way that the first caching index record is arranged.
Optionally, the first caching index record only records the Data Identification that the data block of first caching is written for a period of time recently.It can reduce by the first occupied space of caching index record in this way, reduce the time tabled look-up.
Second aspect of the present invention provides a kind of caching method of data, applied to storage equipment, the storage equipment includes the first caching, the second caching and storage unit, first caching provides data buffer storage for application server, second caching is for providing data buffer storage for the storage unit, in the case where storage server monitors the second trigger condition, the characteristic information for the second data block being buffered in second caching is obtained;Determine whether second data block is stored in first caching according to the characteristic information of second data;In the case where determining that second data block is stored in first caching, the rank of superseded priority of second data block in second caching is adjusted.
In this way, the data cases in the second caching can be monitored, it is buffered in whether data in the second caching are buffered in the first caching by judgement, to adjust the superseded priority-level for the data block being buffered in the second caching, to superseded sequence data cached in the second caching of control, the data being not stored in first caching in the second caching are eliminated to reduce the repeated data cached in the first caching and the second caching or delay, increase the response speed of I/O request.
Optionally, second trigger condition are as follows: cache-time of second data block in second caching is more than the predetermined time, in the case where determining that second data block is stored in first caching, the rank of superseded priority of second data block in second caching is improved.
In this way, when there is data block identical with the data in second caching in determining first caching, then improve the rank of the superseded priority of data block in second caching, eliminate it preferentially, to reduce the data block for repeating storage in the first caching and the second caching, it increases the first caching and second and caches data cached total amount, save storage resource.
Optionally, second trigger condition are as follows: delete described second in second caching Data block, then the storage server reduces the rank of superseded priority of second data in second caching in the case where determining that second data are not stored in first caching.
In this way, deletion second caching in data block when, if the data block deleted is not stored in first caching, then improve the superseded priority of deleted data block, the data block is not deleted, in this way, when there is I/O request to access the data block, it can be hit in the second caching, then the response speed of the I/O request improved.
Optionally, if second trigger condition are as follows: the data of second data block write-in second caching will be included;
In the case where determining that second data block is stored in first caching, the rank of superseded priority of second data block in second caching is improved.
In this way, if the data block that new caching is cached to described second, it also is stored in the first caching, then improve the rank that priority is eliminated in second caching of new caching data block, to eliminate the data block of new caching to second caching as early as possible, the repeated data in the first caching and the second caching is reduced, increase is data cached, saves storage resource.
Optionally, the storage equipment preserves the index record of first caching, the index record of first caching includes the data characteristics mark of the data block saved in first caching, the size of the data block saved in first caching is equal to the size of second data block, and the data characteristics mark of the data block saved in each second caching is determined by the data content of the data block saved in each second caching;Determine whether second data block is stored in first caching according to the index record of the data characteristics of each second data block mark inquiry first caching.
In this way, data identical with the data in second caching can be quickly found in first caching by the way that the first caching index record is arranged.
Optionally, the first caching index record only records the Data Identification that the data block of first caching is written for a period of time recently.It can reduce by the first occupied space of caching index record in this way, reduce the time tabled look-up.
Third aspect present invention provides a kind of storage control device, for controlling the data storage of storage equipment, the storage equipment is cached including the first caching, second and storage unit, and first caching provides data buffer storage for application server, and second caching is used for as the storage list Member provides data buffer storage, first monitoring unit, first acquisition unit, the first determination unit, the first adjustment unit, in the case where first monitoring unit monitors first trigger condition, the first acquisition unit obtains the characteristic information for being buffered in the first data block in first caching;First determination unit determines whether first data block is stored in second caching according to the characteristic information of first data block, in the case where first determination unit determines that first data block is stored in second caching, the rank of superseded priority of first data block in second caching is adjusted.
In this way, the situation data cached according to level cache and L2 cache, adjusts the rank of the superseded priority of the data block cached to second caching, so that superseded sequence data cached in the second caching of control, improves the response speed of I/O request.
In the first implementation of the third aspect, first trigger condition are as follows: will be in data to be written write-in first caching including at least one first data block according to the first data write request, alternatively, cache-time of first data in first caching is more than the predetermined time;In the case where determining that first data block is stored in second caching, the rank of superseded priority of the first adjustment unit by first data block in second caching is improved.
In this way, there is the identical data block of data block being newly written in first caching in determining second caching, or when there is data block identical with the dsc data in first caching, then improve the rank of the superseded priority of the identical block in second caching, eliminate it preferentially, the data block stored is repeated in the second caching to which reduction first is cached, the first caching and second is increased and caches data cached total amount, to improve the response speed of I/O request.
Optionally, first trigger condition are as follows: receive the removal request that first data block is deleted in first caching;
In the case where first determination unit determines that first data block is stored in second caching, the rank of superseded priority of the first adjustment unit by first data block in second caching is reduced.
In this way, when deleting data block from first caching, if the data block to be deleted also is stored in second caching, if superseded priority of the data block to be deleted in the second caching is reduced, in this way, the data deleted in the first caching can be made in the second caching The time of middle preservation is longer, when having I/O request to access the data block next time, can hit in the second caching, without obtaining from hard disk, so improving the response speed of I/O request.
Optionally, the storage equipment preserves the index record of second caching, the index record of second caching includes the data characteristics mark of at least one the second data block saved in second caching, the size of second data block is equal to the size of first data block, and the data characteristics mark of each second data block is determined by the data content that each second data block includes;
First determination unit determines whether each first data block is stored in second caching according to the index record of the data characteristics of first data block mark inquiry second caching.By way of establishing concordance list, it can quickly determine whether first data block is stored in second caching.
In the 4th kind of implementation of the third aspect, the storage equipment preserves address table, the signature identification and storage address of the second data block being buffered in second caching are had recorded in the address table, after determining that first data block is stored in second caching, first data block is found in the address table according to the signature identification of first data block, and then superseded rank of first data block in second caching is adjusted again.By establishing address table, position of first data block in second caching can be quickly found, so that the rank of the superseded priority to first data block in second caching is adjusted.
Optionally, the second caching index record only records the Data Identification that the data block of second caching is written for a period of time recently.It can reduce by the second occupied space of caching index record in this way, reduce the time tabled look-up.
Optionally, the storage control device further includes the second monitoring unit, second acquisition unit, the second determination unit and second adjustment unit,
In the case where second monitoring unit monitors second trigger condition, the second acquisition unit obtains the characteristic information for being buffered in the second data block in second caching;Second determination unit determines whether second data block is stored in first caching second adjustment unit adjustment described second in the case where second determination unit determines that second data block is stored in first caching according to the characteristic information of second data block The rank of superseded priority of the data block in second caching.
In this way, the data cases in the second caching of monitoring can be passed through, it is buffered in whether data in the second caching are buffered in the first caching by judgement, to adjust the superseded priority-level for the data block being buffered in the second caching, to superseded sequence data cached in the second caching of control, the response speed of I/O request is improved.
Optionally, second trigger condition that second monitoring unit is monitored are as follows: cache-time of second data block in second caching is more than the predetermined time;In the case where second determination unit determines that second data block is stored in first caching, the second adjustment unit
Second data block is improved from the rank of the superseded priority in second caching.
In this way, when there is data block identical with the data in second caching in determining first caching, then improve the rank of the superseded priority of data block in second caching, eliminate it preferentially, to reduce the data block for repeating storage in the first caching and the second caching, it increases the first caching and second and caches data cached total amount, to improve the response speed of I/O request.
Optionally, second trigger condition that second monitoring unit is monitored are as follows: delete second data block in second caching, when second determination unit is in the case where determining that second data are not stored in first caching, the rank of superseded priority of the second adjustment unit by second data in second caching is reduced.
In this way, deletion second caching in data block when, if the data block deleted is not stored in first caching, then improve the superseded priority of deleted data block, the data block is not deleted, in this way, when there is I/O request to access the data block, it can be hit in the second caching, then the response speed of the I/O request improved.
Optionally, second trigger condition that second monitoring unit is monitored are as follows: the data of second data block write-in second caching will be included;In the case where second determination unit determines that second data block is stored in first caching, the rank of superseded priority of the second adjustment unit by second data block in second caching is improved.
In this way, if new caching also is stored in the first caching to the data block of second caching, then improves the rank of the superseded priority of new caching data block, to eliminate new caching as early as possible To the data block of second caching, the first caching of reduction and the repeated data in the second caching increase data cached, raising I/O request hit rate.
Optionally, the storage equipment preserves the index record of first caching, the index record of first caching includes the data characteristics mark of the data block saved in first caching, the size of the data block saved in each first caching is equal to the size of second data block, and the data characteristics mark of each data block is determined by the data content of each data block;
Second confirmation unit described in unit determines whether second data block is stored in first caching according to the index record of the data characteristics of each second data block mark inquiry first caching.
In this way, data identical with the data in second caching can be quickly found in first caching by the way that the first caching index record is arranged.
Optionally, the first caching index record only records the Data Identification that the data block of first caching is written for a period of time recently.It can reduce by the first occupied space of caching index record in this way, reduce the time tabled look-up.
Fourth aspect present invention provides a kind of storage control device, for controlling the data storage of storage equipment, the storage equipment includes the first caching, the second caching and storage unit, first caching provides data buffer storage for application server, second caching is for providing data buffer storage for the storage unit, the storage control device includes: the second monitoring unit, second acquisition unit, the second determination unit and second adjustment unit.In the case where second monitoring unit monitors second trigger condition, the second acquisition unit obtains the characteristic information for the second data block being buffered in second caching;Second determination unit determines whether second data block is stored in first caching according to the characteristic information of second data block;
The second adjustment unit adjusts the rank of superseded priority of second data block in second caching in the case where second determination unit determines that second data block is stored in first caching.
In this way, the data cases in the second caching can be monitored, it is buffered in whether data in the second caching are buffered in the first caching by judgement, to adjust the superseded priority-level for the data block being buffered in the second caching, to superseded sequence data cached in the second caching of control, the response speed of I/O request is improved.
Optionally, second trigger condition that second monitoring unit is monitored are as follows: cache-time of second data block in second caching is more than the predetermined time;
In the case where second determination unit determines that second data block is stored in first caching, the second adjustment unit improves second data block from the rank of the superseded priority in second caching.
In this way, when there is data block identical with the data in second caching in determining first caching, then improve the rank of the superseded priority of data block in second caching, eliminate it preferentially, to reduce the data block for repeating storage in the first caching and the second caching, it increases the first caching and second and caches data cached total amount, to improve the response speed of I/O request.
Optionally, second trigger condition that second monitoring unit is monitored are as follows: second data block in second caching is deleted,
When second determination unit is in the case where determining that second data are not stored in first caching, the rank of superseded priority of the second adjustment unit by second data in second caching is reduced.
In this way, deletion second caching in data block when, if the data block deleted is not stored in first caching, then improve the superseded priority of deleted data block, the data block is not deleted, in this way, when there is I/O request to access the data block, it can be hit in the second caching, then the response speed of the I/O request improved.
Optionally, second trigger condition that second monitoring unit is monitored are as follows: the data of second data block write-in second caching will be included;
In the case where second determination unit determines that second data block is stored in first caching, the rank of superseded priority of the second adjustment unit by second data block in second caching is improved.
In this way, if the data block that new caching is cached to described second, it also is stored in the first caching, then improve the rank of the superseded priority of new caching data block, to eliminate the data block of new caching to second caching as early as possible, the repeated data in the first caching and the second caching is reduced, increase is data cached, saves cache resources.
Optionally, the storage equipment preserves the index record of first caching, and the index record of first caching includes the data characteristics mark of the data block saved in first caching Know, the size of the data block stored in each first caching is equal to the size with two data block, and the data characteristics mark of each data block is determined by the data content of each data block;
Second confirmation unit determines whether second data block is stored in first caching according to the index record of the data characteristics of each second data block mark inquiry first caching.
In this way, data identical with the data in second caching can be quickly found in first caching by the way that the first caching index record is arranged.
Optionally, the first caching index record only records the Data Identification that the data block of first caching is written for a period of time recently.It can reduce by the first occupied space of caching index record in this way, reduce the time tabled look-up.
Fifth aspect present invention provides a kind of storage equipment, the storage equipment includes processor, memory, first caching, second caching and storage unit, first caching provides data buffer storage for application server, second caching is for providing data buffer storage for the storage unit, the memory is for storing computer executed instructions, when storage equipment operation, the processor executes the computer executed instructions of the memory storage, so that the storage equipment executes data cache method provided by data cache method provided by first aspect or second aspect.
The embodiment of the present invention is by caching in storage server side setting first to cache the data from the application cache of the application server, then judge second caching in whether be stored with first caching in identical data, and according to judging result adjust it is described second caching in data eliminate priority-level.So, pass through the data for coordinating to cache in the first caching and the second caching, reduce the repeated data in the first caching and the second caching, save cache resources, data not identical with the data in the first caching in the second caching can also be postponed eliminating, or data identical with the data to be deleted in the first caching, to increase the response speed of I/O request.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, the drawings to be used in the description of the embodiments or prior art will be briefly described below, it should be evident that drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without any creative labor, it is also possible to obtain other drawings based on these drawings.
Fig. 1 provides the architecture diagram of the data processing system of storage service for storage server in the prior art for application server.
Fig. 2 provides the architecture diagram of the data processing system of storage service for storage server in the embodiment of the present invention for application server.
Fig. 3 is that under a kind of trigger condition, the flow chart of the method for data block coordination is carried out between the first caching and the second caching in one embodiment of the invention.
Fig. 4 A and Fig. 4 B are the schematic diagram of the index record of the second caching.
Fig. 5 is that the schematic diagram of data block coordination is carried out between first caching and the second caching in embodiment shown in Fig. 3.
Fig. 6 is that under another trigger condition, the flow chart of the method for data block coordination is carried out between the first caching and the second caching in one embodiment of the invention.
Fig. 7 is that the schematic diagram of data block coordination is carried out between first caching and the second caching in embodiment shown in fig. 6.
Fig. 8 is that under another trigger condition, the flow chart of the method for data block coordination is carried out between the first caching and the second caching in one embodiment of the invention.
Fig. 9 is that the schematic diagram of data block coordination is carried out between first caching and the second caching in embodiment shown in Fig. 8.
Figure 10 is that under another trigger condition, the flow chart of the method for data block coordination is carried out between the first caching and the second caching in one embodiment of the invention.
Figure 11 is that the schematic diagram of data block coordination is carried out between first caching and the second caching in embodiment shown in Fig. 10.
Figure 12 is that under another trigger condition, the flow chart of the method for data block coordination is carried out between the first caching and the second caching in one embodiment of the invention.
Figure 13 is that the schematic diagram of data block coordination is carried out between the first caching and the second caching in embodiment shown in Figure 12.
Figure 14 is that under another trigger condition, the flow chart of the method for data block coordination is carried out between the first caching and the second caching in one embodiment of the invention.
Figure 15 is that the schematic diagram of data block coordination is carried out between the first caching and the second caching in embodiment shown in Figure 14.
Figure 16 is a kind of structure chart of storage control device provided in an embodiment of the present invention.
Figure 17 is the structure chart of another storage control device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, shall fall within the protection scope of the present invention.As shown in Figure 1, being the architecture diagram that storage server 110 in the prior art is the data processing system 100 that application server 120 provides storage service.
The application server 120 can be the shared server, such as database server, Virtual Machine Management Service device, desktop Cloud Server etc. for multiple users access simultaneously.The storage server 110 is that the application server 120 provides data storage service.
The application server 120 includes application processor 121, application cache 122, extension caching 123 and other elements.The storage server 110 includes storage processor 111, memory buffers 112, storage unit 113 and other elements.The application cache 122 is that the application server 120 provides data buffer storage, generally cache such as dynamic RAM (Dynamic Random Access Memory, DRAM), but since the price of DRAM is somewhat expensive, so general capacity is smaller.Generally solid-state memory (the Solid State Disk of extension caching 123, SSD), since the price of SSD memory is relatively cheap with respect to DRAM, but speed is relatively low, so being typically used as the extension caching of application cache 122, i.e., for storing the data eliminated from the application cache 122.Since the capacity of application cache 122 is smaller, so the data of caching to the application cache 122 may be eliminated quickly, so the data superseded by 123 caching application cache 122 of extension caching, can increase the response speed of I/O request.
The memory buffers 112 are that the storage unit 113 such as hard disk providing data caches, and are generally also DRAM.The data read from storage unit 113 can be cached, the data that storage server 110 is written in application server 100 can also be cached.Due to that can delay simultaneously in the memory buffers 112 of storage server 110 and the application cache 122 of application server 120 when data cached Deposit identical data, and the data that storage server 110 can not be cached in the application cache 122 of aware application server 120, this memory buffers 112 that will result in the data and storage server 110 that cache in application cache 122 and extension caching 123 in application server 120 cache identical data.In addition, when data in extension caching 123 are eliminated, the data identical with the superseded data block being buffered in memory buffers 112 may be also at the position being eliminated quickly, in this way, after the data eliminated in extension caching 123 are also eliminated quickly in memory buffers 112, it when there is I/O request to access the superseded data, and needs to call from storage unit 113, to influence the response speed of I/O request.
As it can be seen that lacking the cooperating mechanism of two cachings since storage server 110 in the prior art can not know the data cached in the extension caching 123 in application server 120, so influencing the response speed of I/O request or leading to the waste of storage resource.
The embodiment of the present invention is by the way that the buffer setting of application server to be arranged in storage server side, such as the first caching in storage server, to cache the data of the application cache of the application server, then judge whether be stored in the second caching of storage server and identical data in the first caching, and the superseded priority-level of the data in second caching is adjusted according to different judging results, such as, if it is determined that being cached with data identical with the data for being buffered in first caching in the second caching, it will then be eliminated in the L2 cache with the data cached identical high priority data, if it is determined that being cached with data identical with the data deleted from first caching in the second caching, then will preferentially it be stored in second caching with the deletion data identical data, if without slow in first caching Data identical with data to be deleted in the L2 cache are deposited, then are not deleted described from second caching data to be deleted.So, pass through the data for coordinating to cache in the first caching and the second caching, reduce the repeated data in the first caching and the second caching, data to be deleted not identical with the data cached in the first caching in the second caching can also be postponed deleting, or data identical with the data to be deleted in the first caching, it can be increased the response speed of I/O request.
Technical solution of the present invention is described in detail combined with specific embodiments below.
As shown in Fig. 2, being the architecture diagram that the storage server 210 in the embodiment of the present invention is the data processing system 200 that application server 220 provides service.
In the present embodiment, the application server 220 includes application processor 221, application cache 222 and other elements, such as memory, since the other elements embodiment of the present invention is not directed to, It is not showed that in figure.
The storage server 210 includes that 212, second caching 213 of the caching of storage processor 211, first, storage unit 214, memory 215 and other elements, the other elements embodiment of the present invention are not directed to, do not show that in figure.
Remove the extension caching 123 in application server 120 compared with the data processing system 100 in Fig. 1, in the present embodiment, but increases the first caching 212 in the storage server 210.The application cache 222 is additionally provided in the embodiment of the present invention in application server, the first caching 212 in storage server 210 is only used for the caching of the extension in alternate figures 1 123, but actually in other embodiments of the invention, application server can also no longer include application cache 222, be arranged in storage server 210 the first caching 212 can alternate application server completely various cachings, because those skilled in the art are understood that above-mentioned extension embodiment completely, this will not be repeated here for specific implementation.
First caching 212 is supplied to the use of application server 220 for the storage server 210, for caching the data in application server 220, such as, cache the data deleted from the application cache 222, when the data in the application cache 222 are deleted, the application processor 221 of the application server 220 sends data buffer storage and requests to the storage server 210, make the caching of storage server 210 from the data that application cache 222 is deleted into first caching 212, after the deletion data buffer storage to first caching 212, the storage processor 211 returns to the application processor 221 of the application server 200 by caching to the address of the data of first caching 212, then the application processor 221 can root The data in first caching are controlled according to the data address of return, the control can be read out for the data block cached in 212 to first, eliminate.When the application processor 221 will eliminate the data in first caching 212, the application processor 221 sends data and eliminates request to the storage server 210, it includes the address that eliminate data in request that the data, which are eliminated, after the storage server 210 receives the superseded request, according to the address for the superseded data for including in the superseded request, found in first caching carried out after needing superseded data it is superseded.
Second caching 213 provides data buffer storage for the storage unit 214.
In this way, the data block superseded by the application cache 222 of the application server by the data block cached in first caching 212, then the storage server 210 can be by described The data cached in first caching 212 are cached before knowing to the data of the application cache 222, in this way, the storage processor 211 is you can learn that the data that the first caching 212 is cached, and coordinate the data block stored in first caching 212 and second caching 213, to improve the response speed of I/O request, the first caching 212 and the coordination approach of the data in the second caching 213 will be described in detail hereinafter.
The storage processor 211 and application processor 111 may be single or multiple core central processing unit, perhaps be specific integrated circuit or to be configured to implement one or more integrated circuits of the embodiment of the present invention.
The memory 215 can be high speed RAM memory, or nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage, for storing computer executed instructions 2151.Specifically, may include program code in computer executed instructions 2151.
When storage server 210 is run, the storage processor 211 runs computer executed instructions 2151, can execute the process of the first caching 212 and the data coordinating method in the second caching 213 described in Fig. 3, Fig. 6, Fig. 8, Figure 10, Figure 12 and Figure 14.
The coordination approach of Fig. 3, Fig. 6, Fig. 8, Figure 10, Figure 12 and Figure 14 will be described in detail below.
In the present embodiment, including two kinds of situations, data cached situation in the first situation the first caching 212 described for detecting triggers first caching 212 and the second 213 data cached coordinations of caching, and the data cached situation in second situation the second caching 213 described for detecting triggers first caching 212 and the second 213 data cached coordinations of caching.In actual products, it can only implement the data coordinating method in the case of the first, can also only implement the data coordinating method under second situation, the data coordinating method in the case of two kinds can also be implemented simultaneously.
Will be described first carry out in the case of the first first caching 212 with second cache 213 data coordinating method, in the first scenario, the data harmonization of first caching 212 and the second caching 213 triggers under the first trigger condition, first trigger condition can be with are as follows: the storage processor 211 receives the data buffer storage request that the application server 220 is sent, and the data buffer storage that will include in data buffer storage request according to data buffer storage request is to first caching 212;The storage processor 211 receives the data removal request that the application server 220 is sent;The storage processor 211, which detects, is buffered in first caching In time of data be more than a threshold value.
As shown in Figure 3, it is the data buffer storage request that the storage processor 211 receives that the application server 220 is sent for the first trigger condition that the storage processor 211 detects, and according to the data buffer storage request will the data buffer storage request in include data buffer storage to it is described first caching 212 when, it is described first caching 212 and second caching 212 between carry out data block coordination method flow chart.
Step S301, the storage processor 211 receives the data buffer storage request that the application server 220 is sent, and the data buffer storage for including in data buffer storage request to described first is cached 212 according to data buffer storage request, obtain the signature identification of at least one corresponding the first data block of the cache request.
In the present embodiment, the signature identification that the storage processor 211 obtains first data includes: the data characteristics mark that first data block is obtained according to the data content that the first data block includes.
The signature identification of first data block is the code for capableing of the first data block described in unique identification parsed according to the data content that the first data block includes.Specific analytic method can be to do Hash operation to first data block itself, using the cryptographic Hash of calculating as the signature identification of first data block, can also run that the feature using set data block identifies according to application server 220 being capable of the first data block data signature identification described in unique identification, such as, when it is that data block library is applied that the application server, which is run, relative data block address (the relative data block address of the 5th to the 8th byte of first data block can then be passed through, RDBA) carry out the first data block described in unique identification.
Step S302, the storage processor 211 determine whether first data block is stored in second caching 213 according to the signature identification of first data block.
The index record 2153 of second caching is also stored in the memory 215, the index record 2153 of second caching includes the signature identification of at least one the second data block saved in second caching, the size of second data block is equal to the size of first data block, and the acquisition methods of the signature identification of second data block are also consistent with the acquisition methods of signature identification of first data block, details are not described herein.
In this way, the second caching index record 2153 can be inquired according to the signature identification of each first data block then to determine it is slow whether each first data block is stored in described second It deposits in 213.
The data block identifier stored in the second caching index record 2153 can be the signature identification for all second data blocks that second caching 213 is cached, or the signature identification of the second data block of part.Since the second data number of blocks cached in second caching 213 is relatively more, so if the data characteristics mark for second being cached all second data blocks in 213 is all recorded in the second caching index record 2153, memory space can then be wasted, and it will increase the time tabled look-up, to influence performance, so the caching in index record 2153 maintenance preset time periods of the second caching described in the present embodiment caches the data block identifier of 213 data block to described second, such as within 10 minutes, specifically as shown in fig. 4 a and 4b, signature identification (such as An of the second data block stored in the index record of second caching, An-1 ... An-6) it is arranged with the time of second data-block cache to second caching for sequence, and the feature of each second data block Mark all has a timestamp (such as 12:01, 12:02 ... 12:10), corresponding second data-block cache of signature identification for recording second data block to second caching 213 time, the period can be 10 minutes, as shown in Figure 4 A, when have the second data block a cache to it is described second caching 213 when, the storage processor 211 obtains the signature identification (An+1) of second data block, and acquired Data Identification is added to the gauge outfit position in the second caching index record 2153, timestamp (12:00) is added simultaneously, and start timing.As shown in Figure 4 B, if the current time is 12:10, time of the signature identification (An-6) of the second data block b in the second caching index record 2153 reaches preset time period (10 minutes), then deletes from the second caching index record 2153.
In this case, the data being buffered in second caching just will record in the second caching index record, then when record has signature identification identical with the signature identification of first data block in the second caching index record 2153, it is determined that first data block is stored in second caching 213.
Second caching index record 2153 is also possible to Hash (Hash) table, the key of Hash table is second data block identifier, Value is 0 or 1,0 indicates that data characteristics identifies corresponding second data block there is no in second caching 213, and the 1 expression data characteristics identifies corresponding data block, and there are in the index record.When data block identifier is added to the index record of second caching 213, the value value is set as 1, when the signature identification corresponding the When two data blocks are deleted from second caching, 0 can be set by the Value of the corresponding signature identification of the data block of the deletion.
In this case, when determining whether first data block stores in second caching 213, whether the signature identification for inquiring first data block first is recorded in the second caching index record 2153, when the signature identification of first data block is recorded in the second caching index record 2153, determine corresponding Value value, when Value value is 1, it is determined that first data block is stored in second caching 213.
Step S303, when determining that first data block stores in second caching 213, the storage processor 211 is identified according to the data characteristics of first data block and address table finds first data block in second caching 213, when determining that first data block is not stored in second caching 213, return step S301.
The signature identification and storage address of the second data block being buffered in second caching are had recorded in the address table.When there is the second data-block cache to second caching 213, the storage processor 211 obtains the data characteristics mark of second data block, and the mapping relations between the data characteristics mark of second data block and storage address are established, form the address table.When the second data block cached in second caching 213 is eliminated, the storage processor 211 obtains the data block identifier of second data block, then the corresponding mapping relations of second data block identifier are deleted from the address table, so that the address table be made to update with the variation of institute's caching data block in second caching 213.
Step S304, after the storage processor 211 finds first data block in second caching 213, the rank of superseded priority of first data block in second caching 213 is improved, it can be and be increased to the superlative degree, or it is increased to the priority-level of default settings, if being increased to the superlative degree, first data block can be deleted from second caching 213.
In the present embodiment, the superseded sequence of each second data block is set by way of eliminating queue, the superseded queue can be at least uses algorithm (Least Recently Used in the recent period, LRU) queue, it is also possible to that algorithm (least frequently used is commonly used in the recent period, LFU) queue or other data in caching are carried out with superseded algorithm queue.
As shown in figure 5, the storage processor 211 determines that the signature identification of the first data block a is An+1, then described if the first data block a is cached to first caching 212 The signature identification An+1 is found in second caching index record 2153, the address of the corresponding data a of the signature identification An+1 is obtained in the address table 2154 again, finally adjust position of the data a in LRU queue to the position being preferentially eliminated, the position being preferentially eliminated can be the tail of the queue of LRU queue, be also possible to close to the position to tail.
As shown in fig. 6, carrying out the flow chart of the method for data block coordination between first caching 212 and the second caching 212 when first trigger condition is the data removal request that the storage processor 211 receives that the application server 220 is sent.
Step S601, the storage processor 211 receives the first data block removal request that the application server 220 is sent, according to the address for the first data block for including in the removal request, first data block is found in first caching, and obtains the signature identification of first data block.
Step S602, the storage processor 211 determine whether first data block is stored in second caching 213 according to the signature identification of first data block.
Step S603, when determining that the first data block storage stores in second caching 213, the storage processor 211 finds first data block in second caching 213 according to the signature identification and address table 2154 of first data block, when determining that first data block is not stored in second caching 213, it does not do any operation then, continues to detect the data cases in first caching 212.
Step S604, after the storage processor 211 finds first data block in second caching 213, the rank of superseded priority of first data block in second caching is reduced, lowermost level can be reduced to, or be reduced to the priority-level of default settings.
As shown in Figure 7, if the first data block f is to determine the data deleted from first caching 212 according to data removal request, the storage processor 211 determines that the data characteristics for the first data block (the first data described in the present embodiment only include first data block) for forming first data identifies An+1, then the data characteristics mark An+1 is found in the second caching index record 2153, the address of the corresponding data f of the data characteristics mark An+1 is obtained in the address table 2154 again, position of the data f in LRU queue is finally adjusted to preferential stored position, the preferential stored position can be the head of the queue of LRU queue, it is also possible to close to first position.
As shown in figure 8, carrying out the flow chart of the method for data block coordination between first caching 212 and the second caching 212 when the time that first trigger condition is the data being buffered in first caching 212 being more than a threshold value.
Step S801, the storage processor 211 obtain the signature identification of first data block when 212 the first data blocks cached are more than threshold value in detecting first caching.
Step S802, the storage processor 211 determine whether first data block is stored in second caching 213 according to the signature identification of first data block.
Step S803, when determining that the first data block storage stores in second caching 213, the storage processor 211 finds first data block in second caching 213 according to the signature identification and address table 2154 of first data block, when determining that first data block is not stored in second caching 213, return step S301.
Step S804, after the storage processor 211 finds first data block in second caching 213, the rank of superseded priority of first data block in second caching is improved, can be and be increased to the superlative degree, or be increased to the priority-level of default settings.
As shown in Figure 9, if data of the first data block d in the first caching 212 are more than a threshold value, the storage processor 211 determines that the data characteristics of the first data block d identifies An, then the data characteristics mark An is found in the second caching index record, the address of the corresponding data block d of the data characteristics mark An is obtained in the address table again, finally adjust position of the data d in LRU queue to the position being preferentially eliminated, the position being preferentially eliminated can be the tail of the queue of LRU queue, be also possible to close to the position to tail.
The above are in the case of the first, detect the data harmonization that the data cached situation in first caching 212 triggers first caching 212 and the second caching 213, second situation is explained below, that is, detects the method that the data cached situation in second caching 213 triggers the data harmonization of first caching 212 and the second caching 213.
In the latter case, the data harmonization of first caching 212 and the second caching 213 triggers under the second trigger condition, and second trigger condition can be with are as follows: toward described second cache in it is data cached when;When deleting the data in second caching;Or the time that the data block in second caching stores in the second caching has been more than a threshold value.Separately below under this two trigger condition, the coordination approach of the data of first caching and the second caching is illustrated.
As shown in Figure 10, for second trigger condition be it is described second caching in it is data cached when, it is described first caching and second caching data coordination approach flow chart.
Step S1001, the storage processor 211 are requested according to data buffer storage, and second caching, the data cached are divided at least one second data block of predefined size, then obtain the signature identification of second data block.
The acquisition modes of the signature identification of second data block are identical as the acquisition modes of data characteristics of first data block, and details are not described herein.
Step S1002, the storage processor 211 determine whether second data are stored in first caching according to the signature identification of second data.
In the present embodiment, the index record 2152 of the first caching is also stored in the memory 215, the first caching index record 2152 includes the data characteristics mark of at least one the first data block saved in first caching 212, and the size of first data block is equal to the size of second data block.
In this way, the index record 2152 of first caching can be inquired according to the signature identification of each second data block then to determine whether each second data block is stored in first caching 212.
The data block identifier stored in the index record of first caching 212 can be the signature identification for all first data blocks that first caching 212 is cached, or the signature identification of the first data block of part.Since the first data number of blocks cached in first caching 212 is relatively more, so if the data characteristics mark for first being cached all first data blocks in 212 is stored in the first caching index record, memory space can then be wasted, and it will increase the time tabled look-up, to influence performance, so the first data block characteristics of caching to first caching 212 in index record 2153 maintenance preset time periods of the first caching described in the present embodiment identify, such as within 10 minutes.
In this case, the data being buffered in first caching 212 just will record in the first caching index record 2152, then when record has signature identification identical with the signature identification of first data block in the first caching index record 2152, it is determined that first data block is stored in first caching 212.
The first caching index record 2152 is also possible to Hash (Hash) table, and the key of Hash table is first data block identifier, and Value is 0 or 1,0 expression data characteristics mark Corresponding first data block is known there is no in first caching 212, and 1 indicates the corresponding data block of the data characteristics mark, and there are in the index record.When the first data block identifier is added to the index record of first caching 212, the value value is set as 1, when corresponding first data block of the signature identification is deleted from first caching, 0 can be set by the Value of the corresponding signature identification of the data block of the deletion.
In this case, when determining whether second data block stores in first caching 212, whether the signature identification for inquiring first data block first is recorded in the first caching index record 2152, when the signature identification of first data block is recorded in the first caching index record 2152, determine corresponding Value value, when Value value is 1, it is determined that first data block is stored in first caching 212.
Step S1003, when the storage processor 211 determines that second data store in first caching 212 according to the signature identification of second data, the rank of superseded priority of second data in second caching 213 is improved, the raising, which can be, is increased to the superlative degree, or preset priority-level.When the storage processor 211 determines that second data are not stored in first caching 212, then the priority-level of second data is not adjusted.
As shown in figure 11, the signature identification for caching the second data block a1 for caching 213 to described two is Bn+1, inquire the first caching index record 2152, the signature identification of the data block a1 is found in the first caching index record 2152, then illustrate that the second data a1 is stored in first caching 212, the second data block a1 can be then adjusted to the tail of the queue position of the LRU queue, also may be adjusted to close to the position to tail.
As shown in figure 12, when the storage processor 211 deletes data from second caching 213, the flow chart of the coordination approach of the data of first caching 212 and the second caching 213.
Step S1201, the storage processor 211 determines after the second data block to be deleted in second caching 213, obtains the signature identification of second data block.
Step S1202, the storage processor 211 determine whether second data block is stored in first caching 212 according to the signature identification of second data.
Step S1203 then deletes second data block when the storage processor 211 determines that second data store in first caching 212.
Step S1204, when the storage processor 211 determines that second data are not stored in When in first caching 212, then the rank of the superseded priority by second data in second caching 213 improves, and the raising, which can be, is increased to the superlative degree, or preset priority-level.But when the data block to be deleted is selected again as data block to be deleted, then directly delete second data block to be deleted.
As shown in figure 13, second data block f1 is identified data block to be deleted from second caching, the signature identification of acquired the second data block f1 is Bn-3, the signature identification Bn-3 is not recorded in the first caching index record, then illustrate that second data block may be not stored in first caching, the second data block f1 is then adjusted to the Head-of-line of the LRU queue into second caching 213, or close to the position of head of the queue.
As shown in figure 14, when the time that the second data block in second caching stores in the second caching being more than a threshold value, the flow chart of the coordination approach of the data of first caching and the second caching.
Step S1401 obtains the signature identification of second data block when the time that the second data block determined in second caching stores in the second caching being more than a threshold value.
Step S1402, the storage processor 211 determine whether second data are stored in first caching according to the signature identification of second data.
Step S1403, when the storage processor 211 determines that second data store in first caching 212, then the rank of the superseded priority by second data in second caching 213 improves.
Step S1404, when the storage processor 211 determines that second data are not stored in first caching 212, then the rank of the superseded priority by second data in second caching 213 reduces.
As shown in figure 15, when the time that the second data block c1 is cached in second caching being more than threshold value, then determine whether the signature identification Bn of the second data block c1 is recorded in the first caching index record, when the signature identification of the second data block c1 is recorded in the first caching index record 2152, the second data block c1 is adjusted to the tail of the queue of the LRU queue, or close to the position of tail of the queue.
When the time that the second data block d1 is cached in second caching 213 being more than threshold value, then determine whether the signature identification Bn-3 of the second data block d1 is recorded in the first caching index record, when the signature identification of the second data block d1 is not recorded in described the When in one index record, the second data block d1 is adjusted to the head of the queue of the LRU queue, or close to the position of head of the queue.
In other embodiments of the invention, the application server can be the application software in electronic device, the application cache provides data buffer storage for the application software, and the storage server is the storage device of electronic device, provides storage service for the application software.
As shown in figure 16, the structure chart of storage control device is provided for the embodiment of the present invention.
The storage control device includes the first monitoring unit 1601, first acquisition unit 1602, the first determination unit 1603 and the first adjustment unit 1604.
First monitoring unit 1601 is used to detect the data cached situation in first caching 212, to trigger the data harmonization of first caching 212 and the second caching 213.There are three types of trigger conditions for the data harmonization of first caching 212 and the second caching 213, it is respectively as follows: first monitoring unit 1601 and receives the data buffer storage request that the application server 220 is sent, and the first data buffer storage for including in data buffer storage request to described first is cached 212 according to data buffer storage request;First monitoring unit 1601 receives the data removal request that the application server 220 is sent;The time that first monitoring unit 1601 detects the data being buffered in first caching is more than preset threshold.
When first monitoring unit 1601 receives the data buffer storage request that the application server 220 is sent, and it will be after the first data buffer storage for including in data buffer storage request to first caching 212 according to data buffer storage request, the acquiring unit 1602 obtains the signature identification for forming the first data block of first data, the acquisition modes of the signature identification of first data block are already explained above, and which is not described herein again.
The determination unit 1603 determines whether the first evidence described in number is stored in second caching according to the signature identification of first data.The i.e. described determination unit 1603 determines whether each first data block is stored in second caching 213 according to the index record of the data characteristics of each first data block mark inquiry second caching.When existing in the index record of second caching with the data characteristics of the first data block identical second data block index record of mark, it is determined that first data block is stored in second caching 213.
When the determination unit 1603 determines that first data block stores in second caching 213, the adjustment unit 1604 finds first data block in second caching 213 according to the signature identification and address table of first data block, then by first data The rank of superseded priority of the block in second caching reduces, and can be reduced to lowermost level, or be reduced to the priority-level of default settings.
When 212 the first data blocks cached are more than easy threshold value to first monitoring unit 1601 in detecting first caching, the signature identification of first data block is obtained.
The determination unit 1603 determines whether the first evidence described in number is stored in second caching according to the signature identification of first data.
The adjustment unit 1604 finds first data block in second caching 213 according to the signature identification and address table of first data block, the rank of superseded priority of first data block in second caching is improved, it can be and be increased to the superlative degree, or be increased to the priority-level of default settings.
As shown in figure 17, the storage control device further comprises the second monitoring unit 1605, second acquisition unit 1606, the second determination unit 1607 and second adjustment unit 1608.
Second monitoring unit 1605 is used to detect the data cases of second caching, to trigger first caching and the data cached coordination of second caching.There are three types of trigger conditions for the data harmonization of first caching 212 and the second caching 213, when respectively data cached into second caching;When deleting the data in second caching;Or the time that the data block in second caching stores in the second caching has been more than a threshold value.
After 1605 detecting data of the second monitoring unit is cached to second caching, and the data cached are divided at least one second data block of predefined size, the signature identification of second data block is obtained.
Second determination unit 1603 is used to determine whether second data are stored in first caching according to the signature identification of second data.The determination unit 1602 inquires the index record of first caching according to the signature identification of second data block to determine whether each second data block is stored in first caching 212.When there is the second data block index record identical with the signature identification of second data block in the index record of first caching, it is determined that second data block is stored in first caching 213.
When second determination unit 1603, which determines second data, to be stored in first caching 212, the rank that the adjustment unit 1604 is used for the superseded priority by second data in second caching 213 improves, the raising, which can be, is increased to the superlative degree, or preset priority-level.When the storage processor 211 determines second data When being not stored in first caching 212, then the priority-level of second data is not adjusted.
After second monitoring unit 1605 is to second data block to be deleted from second caching 213, the signature identification of second data block is obtained.
Second determination unit 1605 determines whether second data are stored in first caching according to the signature identification of second data.
When second determination unit 1605 determines that second data store in first caching, second data block described in the second adjustment element deletion, when second determination unit 1605 determines that second data are not stored in first caching, the rank of superseded priority of the second adjustment unit by second data in second caching 213 is improved.
After second monitoring unit 1605 detects the second data block to be deleted from second caching 213, the second acquisition unit 1606 obtains the signature identification of second data block.
Second determination unit 1607 determines whether second data are stored in first caching according to the signature identification of second data.
When second determination unit 1605 determines that second data store in first caching, the adjustment unit 1608 deletes second data block.When second determination unit 1605 determines that second data store in first caching, then the rank of the superseded priority by the adjustment unit by second data in second caching 213 improves.
When second monitoring unit 1605, which detects the time that the second data block in second caching stores in the second caching, has been more than a threshold value, the second acquisition unit 1606 obtains the signature identification of second data block.
Second determination unit 1606 determines whether second data are stored in first caching according to the signature identification of second data.
When second determination unit 1605 determines that second data store in first caching, then the rank of superseded priority of the adjustment unit 1608 by second data in second caching 213 improves.When second determination unit 1605 determines that second data are not stored in first caching, then the rank of superseded priority of the adjustment unit 1608 by second data in second caching 213 reduces.
The embodiment of the present invention also provides a kind of computer-readable medium, including computer executed instructions, and when the processor of computer executes the computer executed instructions, the computer executes method flow described in Fig. 3, Fig. 6, Fig. 8, Figure 10, Figure 12 and Figure 14.
The first data block in the embodiment of the present invention, first, second in second data block is only intended to the data block stored respectively in the first caching of difference and the second caching, first, second meanings different, sequentially different not comprising rank, also not comprising the connotation of quantity, first data block and the second data block can be a data blocks, can also refer to multiple data blocks.
What first, second in the first trigger condition and the second trigger condition in the embodiment of the present invention was only intended to difference detecting is the data in the first caching or the data in the second caching, first, second meanings different, sequentially different not comprising rank, also not comprising the connotation of quantity.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is relevant hardware can be instructed to complete by program, the program can be stored in a computer readable storage medium, and storage medium may include: ROM, RAM, disk or CD etc..
It is provided for the embodiments of the invention data block writing station above and method is described in detail, used herein a specific example illustrates the principle and implementation of the invention, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;At the same time, for those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (29)

  1. A kind of caching method of data, applied to storage equipment, it is characterized in that, the storage equipment includes the first caching, the second caching and storage unit, first caching provides data buffer storage for application server, second caching is for providing data buffer storage for the storage unit, which comprises
    In the case where monitoring the first trigger condition, the characteristic information for the first data block being buffered in first caching is obtained;
    Determine whether first data block is stored in second caching according to the characteristic information of first data block;
    In the case where determining that first data block is stored in second caching, the rank of superseded priority of first data block in second caching is adjusted.
  2. The method as described in claim 1, it is characterized in that, first trigger condition are as follows: first data block is written in first caching according to the first data write request, alternatively, cache-time of first data block in first caching is more than the predetermined time;
    It is described in the case where determining that first data block is stored in second caching, the rank for adjusting the superseded priority of first data block in second caching includes:
    In the case where determining that first data block is stored in second caching, the rank of superseded priority of first data block in second caching is improved.
  3. The method as described in claim 1, which is characterized in that first trigger condition are as follows: receive the removal request that first data block is deleted in first caching;
    It is described in the case where determining that first data block is stored in second caching, the rank for adjusting the superseded priority of first data block in second caching includes:
    In the case where determining that first data block is stored in second caching, the rank of superseded priority of first data block in second caching is reduced.
  4. Method as claimed in any one of claims 1-3, it is characterized in that, the storage equipment preserves the index record of second caching, the index record of second caching includes the data characteristics mark of the data block saved in second caching, the size of data block saved in second caching is equal to the size of first data block, and the data characteristics mark of the data block saved in each second caching in each second caching by saving The data content of data block determines;
    The characteristic information for obtaining the first data block includes: the data characteristics mark that first data block is obtained according to the data content of each first data block;
    It includes: to determine whether each first data block is stored in second caching according to the index record of the data characteristics of first data block mark inquiry second caching that the characteristic information according to first data block, which determines whether first data block is stored in second caching,.
  5. Method as described in claim 1-4 any one, which is characterized in that further include:
    In the case where monitoring the second trigger condition, the characteristic information for the second data block being buffered in second caching is obtained;
    Determine whether second data block is stored in first caching according to the characteristic information of second data block;
    In the case where determining that second data block is stored in first caching, the rank of superseded priority of second data block in second caching is adjusted.
  6. Method as claimed in claim 5, which is characterized in that second trigger condition are as follows: cache-time of second data block in second caching is more than the predetermined time;
    It is described in the case where determining that second data block is stored in first caching, the rank for adjusting the superseded priority of second data block in second caching includes:
    In the case where determining that second data block is stored in first caching, second data block is improved from the rank of the superseded priority in second caching.
  7. Method as claimed in claim 5, which is characterized in that if second trigger condition are as follows: second data block in second caching is deleted,
    The method also includes:
    In the case where determining that second data are not stored in first caching, the rank of superseded priority of second data in second caching is reduced.
  8. Method as claimed in claim 5, which is characterized in that if second trigger condition are as follows: by second data block write-in, second caching;
    It is described in the case where determining that second data block is stored in first caching, the rank for adjusting the superseded priority of second data block in second caching includes:
    It, will be described in the case where determining that second data block is stored in first caching The rank of superseded priority of second data block in second caching improves.
  9. Method as described in claim 5-8 any one, it is characterized in that, the storage equipment preserves the index record of first caching, the index record of first caching includes the data characteristics mark of the data block saved in first caching, the size of the data block saved in first caching is equal to the size of second data block, and the data characteristics mark of the data block saved in first caching is determined by the data content that each data block includes;
    The characteristic information for obtaining the second data block includes: the data characteristics mark that each second data block is obtained according to the data content of each second data block;
    It includes: to determine whether second data block is stored in first caching according to the index record of the data characteristics of second data block mark inquiry first caching that the characteristic information according to second data block, which determines whether second data block is stored in first caching,.
  10. A kind of caching method of data, applied to storage equipment, it is characterized in that, the storage equipment includes the first caching, the second caching and storage unit, first caching provides data buffer storage for application server, second caching is for providing data buffer storage for the storage unit, which comprises
    In the case where monitoring the second trigger condition, the characteristic information for the second data block being buffered in second caching is obtained;
    Determine whether second data block is stored in first caching according to the characteristic information of second data;
    In the case where determining that second data block is stored in first caching, the rank of superseded priority of second data block in second caching is adjusted.
  11. Method as claimed in claim 10, which is characterized in that second trigger condition are as follows: cache-time of second data block in second caching is more than the predetermined time;
    It is described in the case where determining that second data block is stored in first caching, the rank for adjusting the superseded priority of second data in second caching includes:
    In the case where determining that second data block is stored in first caching, the rank of superseded priority of second data block in second caching is improved.
  12. Method as claimed in claim 10, which is characterized in that if second trigger condition are as follows: second data block in second caching is deleted,
    The method also includes:
    In the case where determining that second data block is not stored in first caching, the rank of superseded priority of second data block in second caching is reduced.
  13. Method as claimed in claim 5, which is characterized in that if second trigger condition are as follows: the data of second data block write-in second caching will be included;
    It is described in the case where determining that second data block is stored in first caching, the rank for adjusting the superseded priority of second data block in second caching includes:
    In the case where determining that second data block is stored in first caching, the rank of superseded priority of second data block in second caching is improved.
  14. Method as described in claim 10-13 any one, it is characterized in that, the storage equipment preserves the index record of first caching, the index record of first caching includes the data characteristics mark of the data block saved in first caching, the size of the data block saved in first caching is equal to the size of second data block, and the data characteristics mark of the data block saved in each second caching is determined by the data content of the data block saved in each second caching;
    The characteristic information for obtaining the second data block includes: the data characteristics mark that each second data block is obtained according to the data content that each second data block includes;
    It includes: to determine whether second data block is stored in first caching according to the index record of the data characteristics of each second data block mark inquiry first caching that the characteristic information according to second data block, which determines whether second data block is stored in first caching,.
  15. A kind of storage control device, for controlling the data storage of storage equipment, it is characterized in that, the storage equipment includes the first caching, the second caching and storage unit, first caching provides data buffer storage for application server, for providing data buffer storage for the storage unit, the storage control device includes: second caching
    First monitoring unit, for monitoring the first trigger condition;
    First acquisition unit, in the case where first monitoring unit monitors first trigger condition, obtaining the characteristic information for the first data block being buffered in first caching;
    First determination unit, for determining whether first data block is stored in second caching according to the characteristic information of first data block;
    The first adjustment unit, for adjusting the rank of superseded priority of first data block in second caching in the case where first determination unit determines that first data block is stored in second caching.
  16. Storage control device as claimed in claim 15, it is characterized in that, first trigger condition are as follows: first data block is written in first caching according to the first data write request, alternatively, cache-time of first data in first caching is more than the predetermined time;
    The first adjustment unit is specifically used for: in the case where first determination unit determines that first data block is stored in second caching, the rank of superseded priority of first data block in second caching being improved.
  17. Storage control device as claimed in claim 15, which is characterized in that first trigger condition are as follows: receive the removal request that first data block is deleted in first caching;
    The first adjustment unit is specifically used for: in the case where first determination unit determines that first data block is stored in second caching, the rank of superseded priority of first data block in second caching being reduced.
  18. Storage control device as described in claim 15-17 any one, it is characterized in that, the storage equipment preserves the index record of second caching, the index record of second caching includes the data characteristics mark of the data block saved in second caching, the size of the data block saved in second caching is equal to the size of first data block, and the data characteristics mark of the data block saved in each second caching is determined by the data content of the data block saved in each second caching;
    The first acquisition unit is specifically used for: being identified according to the data characteristics that the data content of each first data block obtains first data block;
    First determination unit is specifically used for: according to the index record of the data characteristics of first data block mark inquiry second caching, determining whether each first data block is stored in second caching.
  19. Storage control device as described in claim 15-18 any one, which is characterized in that further include:
    Second monitoring unit, for monitoring the second trigger condition;
    Second acquisition unit, in the case where second monitoring unit monitors second trigger condition, obtaining the characteristic information for the second data block being buffered in second caching;
    Second determination unit, for determining whether second data block is stored in first caching according to the characteristic information of second data block;
    Second adjustment unit, for adjusting the rank of superseded priority of second data block in second caching in the case where second determination unit determines that second data block is stored in first caching.
  20. Storage control device as claimed in claim 19, which is characterized in that second trigger condition that second monitoring unit is monitored are as follows: cache-time of second data block in second caching is more than the predetermined time;
    In the case where second determination unit determines that second data block is stored in first caching, the second adjustment unit is specifically used for:
    Second data block is improved from the rank of the superseded priority in second caching.
  21. Storage control device as claimed in claim 19, which is characterized in that second trigger condition that second monitoring unit is monitored are as follows: second data block in second caching is deleted,
    When second determination unit is in the case where determining that second data are not stored in first caching, the second adjustment unit is specifically used for: the rank of superseded priority of second data in second caching is reduced.
  22. Storage control device as claimed in claim 19, which is characterized in that second trigger condition that second monitoring unit is monitored are as follows: the data of second data block write-in second caching will be included;
    In the case where second determination unit determines that second data block is stored in first caching, the second adjustment unit is specifically used for: the rank of superseded priority of second data block in second caching is improved.
  23. Storage control device as described in claim 19-22 any one, it is characterized in that, the storage equipment preserves the index record of first caching, the index record of first caching includes the data characteristics mark of the data block saved in first caching, the size of data block saved in first caching is equal to the size of second data block, and described first The data characteristics mark of the data block saved in caching is determined by the data content that each data block includes;
    The second acquisition unit is specifically used for: being identified according to the data characteristics that the data content of each second data block obtains each second data block;
    Second determination unit is specifically used for: according to the index record of the data characteristics of second data block mark inquiry first caching, determining whether second data block is stored in first caching.
  24. A kind of storage control device, for controlling the data storage of storage equipment, it is characterized in that, the storage equipment includes the first caching, the second caching and storage unit, first caching provides data buffer storage for application server, for providing data buffer storage for the storage unit, the storage control device includes: second caching
    Second monitoring unit, for monitoring the second trigger condition;
    Second acquisition unit, in the case where second monitoring unit monitors second trigger condition, obtaining the characteristic information of the second data block, second data block is the data being buffered in second caching;
    Second determination unit, for determining whether second data block is stored in first caching according to the characteristic information of second data block;
    Second adjustment unit, for adjusting the rank of superseded priority of second data block in second caching in the case where second determination unit determines that second data block is stored in first caching.
  25. Storage control device as claimed in claim 24, which is characterized in that second trigger condition that second monitoring unit is monitored are as follows: cache-time of second data block in second caching is more than the predetermined time;
    The second adjustment unit is specifically used for: in the case where second determination unit determines that second data block is stored in first caching,
    Second data block is improved from the rank of the superseded priority in second caching.
  26. Storage control device as claimed in claim 24, which is characterized in that second trigger condition that second monitoring unit is monitored are as follows: second data block in second caching is deleted,
    When second determination unit is in the case where determining that second data are not stored in first caching, the second adjustment unit is also used to: the rank of superseded priority of second data in second caching is reduced.
  27. Storage control device as claimed in claim 24, which is characterized in that second trigger condition that second monitoring unit is monitored are as follows: the data of second data block write-in second caching will be included;
    In the case where second determination unit determines that second data block is stored in first caching, the second adjustment unit is specifically used for: the rank of superseded priority of second data block in second caching is improved.
  28. Storage control device as described in claim 24-27 any one, it is characterized in that, the storage equipment preserves the index record of first caching, the index record of first caching includes size of the size equal to second data block that the data characteristics of the data block saved in first caching identifies the data block saved in first caching, and the data characteristics mark of the data block saved in each second caching is determined by the data content that the data block saved in each second caching includes;
    The second acquisition unit is specifically used for: being identified according to the data characteristics that the data content that each second data block includes obtains each second data block;
    Second determination unit is specifically used for: according to the index record of the data characteristics of each second data block mark inquiry first caching, determining whether second data block is stored in first caching.
  29. A kind of storage equipment, the storage equipment includes processor, memory, the first caching, the second caching and storage unit, first caching provides data buffer storage for application server, second caching is for providing data buffer storage for the storage unit, the memory is for storing computer executed instructions, when storage equipment operation, the processor executes the computer executed instructions of the memory storage, so that the storage equipment perform claim requires the caching method of data described in 1-9 or 10-14.
CN201580054160.7A 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment Active CN107430551B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010981446.2A CN112214420A (en) 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment
CN202010983144.9A CN112231242A (en) 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/096176 WO2017091984A1 (en) 2015-12-01 2015-12-01 Data caching method, storage control apparatus and storage device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN202010981446.2A Division CN112214420A (en) 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment
CN202010983144.9A Division CN112231242A (en) 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment

Publications (2)

Publication Number Publication Date
CN107430551A true CN107430551A (en) 2017-12-01
CN107430551B CN107430551B (en) 2020-10-23

Family

ID=58796064

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202010983144.9A Pending CN112231242A (en) 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment
CN202010981446.2A Pending CN112214420A (en) 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment
CN201580054160.7A Active CN107430551B (en) 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN202010983144.9A Pending CN112231242A (en) 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment
CN202010981446.2A Pending CN112214420A (en) 2015-12-01 2015-12-01 Data caching method, storage control device and storage equipment

Country Status (2)

Country Link
CN (3) CN112231242A (en)
WO (1) WO2017091984A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144431A (en) * 2018-09-30 2019-01-04 华中科技大学 Caching method, device, equipment and the storage medium of data block
CN109240946A (en) * 2018-09-06 2019-01-18 平安科技(深圳)有限公司 The multi-level buffer method and terminal device of data
CN110971962A (en) * 2019-11-30 2020-04-07 咪咕视讯科技有限公司 Slice caching method and device and storage medium
CN112035529A (en) * 2020-09-11 2020-12-04 北京字跳网络技术有限公司 Caching method and device, electronic equipment and computer readable storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254893B (en) * 2020-02-13 2023-09-19 百度在线网络技术(北京)有限公司 Identity verification method and device, electronic equipment and storage medium
CN111339143B (en) * 2020-02-27 2023-04-25 郑州阿帕斯数云信息科技有限公司 Data caching method and device and cloud server
CN113098973B (en) * 2021-04-13 2022-05-20 鹏城实验室 Data transmission method, system, storage medium and terminal device in packet-level network
CN116467353B (en) * 2023-06-12 2023-10-10 天翼云科技有限公司 Self-adaptive adjustment caching method and system based on LRU differentiation
CN117149836B (en) * 2023-10-27 2024-02-27 联通在线信息科技有限公司 Cache processing method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5224217A (en) * 1988-12-30 1993-06-29 Saied Zangenehpour Computer system which uses a least-recently-used algorithm for manipulating data tags when performing cache replacement
CN1679004A (en) * 2002-07-04 2005-10-05 索尼株式会社 Cache device, cache data management method, and computer program
US7143205B2 (en) * 2001-06-18 2006-11-28 Renesas Technology Corp. DMA controller having a trace buffer
CN102945207A (en) * 2012-10-26 2013-02-27 浪潮(北京)电子信息产业有限公司 Cache management method and system for block-level data
CN103019962A (en) * 2012-12-21 2013-04-03 华为技术有限公司 Data cache processing method, device and system
CN103268292A (en) * 2013-06-13 2013-08-28 江苏大学 Method for prolonging life of non-volatile external memory and high-speed long-life external memory system
CN103491075A (en) * 2013-09-09 2014-01-01 中国科学院计算机网络信息中心 Method and system for dynamically adjusting cached resource records of DNS recursive server
CN104106061A (en) * 2012-02-08 2014-10-15 国际商业机器公司 Forward progress mechanism for stores in the presence of load contention in a system favoring loads
CN104239233A (en) * 2014-09-19 2014-12-24 华为技术有限公司 Cache managing method, cache managing device and cache managing equipment
US20150039835A1 (en) * 2013-08-05 2015-02-05 Lsi Corporation System and Method of Hinted Cache Data Removal
CN104572528A (en) * 2015-01-27 2015-04-29 东南大学 Method and system for processing access requests by second-level Cache
KR20150079413A (en) * 2013-12-31 2015-07-08 삼성전자주식회사 Cache replacement policy methods and systems
CN104994152A (en) * 2015-06-30 2015-10-21 中国科学院计算技术研究所 Web cooperative caching system and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140115260A1 (en) * 2012-10-18 2014-04-24 Oracle International Corporation System and method for prioritizing data in a cache
JP6027504B2 (en) * 2013-08-02 2016-11-16 日本電信電話株式会社 Application server and cache control method
KR102147356B1 (en) * 2013-09-30 2020-08-24 삼성전자 주식회사 Cache memory system and operating method for the same
CN104090852B (en) * 2014-07-03 2017-04-05 华为技术有限公司 The method and apparatus of management hybrid cache
CN104572491B (en) * 2014-12-30 2017-10-17 华为技术有限公司 A kind of read buffer management method and device based on solid state hard disc

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5224217A (en) * 1988-12-30 1993-06-29 Saied Zangenehpour Computer system which uses a least-recently-used algorithm for manipulating data tags when performing cache replacement
US7143205B2 (en) * 2001-06-18 2006-11-28 Renesas Technology Corp. DMA controller having a trace buffer
CN1679004A (en) * 2002-07-04 2005-10-05 索尼株式会社 Cache device, cache data management method, and computer program
CN104106061A (en) * 2012-02-08 2014-10-15 国际商业机器公司 Forward progress mechanism for stores in the presence of load contention in a system favoring loads
CN102945207A (en) * 2012-10-26 2013-02-27 浪潮(北京)电子信息产业有限公司 Cache management method and system for block-level data
CN103019962A (en) * 2012-12-21 2013-04-03 华为技术有限公司 Data cache processing method, device and system
CN103268292A (en) * 2013-06-13 2013-08-28 江苏大学 Method for prolonging life of non-volatile external memory and high-speed long-life external memory system
US20150039835A1 (en) * 2013-08-05 2015-02-05 Lsi Corporation System and Method of Hinted Cache Data Removal
CN103491075A (en) * 2013-09-09 2014-01-01 中国科学院计算机网络信息中心 Method and system for dynamically adjusting cached resource records of DNS recursive server
KR20150079413A (en) * 2013-12-31 2015-07-08 삼성전자주식회사 Cache replacement policy methods and systems
CN104239233A (en) * 2014-09-19 2014-12-24 华为技术有限公司 Cache managing method, cache managing device and cache managing equipment
CN104572528A (en) * 2015-01-27 2015-04-29 东南大学 Method and system for processing access requests by second-level Cache
CN104994152A (en) * 2015-06-30 2015-10-21 中国科学院计算技术研究所 Web cooperative caching system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SHIN-HUNG CHANG等: "PSC: a priority selected cache algorithm for streaming video over Internet", 《THE 11TH IEEE INTERNATIONAL CONFERENCE ON NETWORKS, 2003. ICON2003.》 *
叶建位等: "实时数据库系统关键技术及实现", 《计算机应用研究》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240946A (en) * 2018-09-06 2019-01-18 平安科技(深圳)有限公司 The multi-level buffer method and terminal device of data
CN109144431A (en) * 2018-09-30 2019-01-04 华中科技大学 Caching method, device, equipment and the storage medium of data block
CN109144431B (en) * 2018-09-30 2021-11-02 华中科技大学 Data block caching method, device, equipment and storage medium
CN110971962A (en) * 2019-11-30 2020-04-07 咪咕视讯科技有限公司 Slice caching method and device and storage medium
CN112035529A (en) * 2020-09-11 2020-12-04 北京字跳网络技术有限公司 Caching method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112231242A (en) 2021-01-15
CN112214420A (en) 2021-01-12
CN107430551B (en) 2020-10-23
WO2017091984A1 (en) 2017-06-08

Similar Documents

Publication Publication Date Title
CN107430551A (en) Data cache method, memory control device and storage device
US10133679B2 (en) Read cache management method and apparatus based on solid state drive
US11531482B2 (en) Data deduplication method and apparatus
CN101510219B (en) File data accessing method, apparatus and system
US11809330B2 (en) Information processing apparatus and method
CN110737388A (en) Data pre-reading method, client, server and file system
CN107729535B (en) Method for configuring bloom filter in key value database
US7660964B2 (en) Windowing external block translations
CN109063103A (en) A kind of non-volatile file system of distribution
KR20170010810A (en) Method, device and user equipment for reading/writing data in nand flash
CN110990302A (en) Data caching method and device, electronic equipment and storage medium
US9021208B2 (en) Information processing device, memory management method, and computer-readable recording medium
CN107122140A (en) A kind of file intelligent storage method based on metadata information
CN107181773A (en) Data storage and data managing method, the equipment of distributed memory system
CN115470157A (en) Prefetching method, electronic device, storage medium, and program product
CN113157606A (en) Buffer implementation method and device and data processing equipment
CN110554914B (en) Resource lock management method, device, server and storage medium
US9858204B2 (en) Cache device, cache system, and cache method
US20150212949A1 (en) Storage control device and storage control method
CN109582233A (en) A kind of caching method and device of data
KR20210029417A (en) Storage system having cache and method for processing data thereby
CN109408412B (en) Memory prefetch control method, device and equipment
CN113806389A (en) Data processing method and device, computing equipment and storage medium
CN110658999A (en) Information updating method, device, equipment and computer readable storage medium
JP2014085822A (en) Data transmitter, data transmission system, data transmission method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant