CN108897495B - Cache updating method, device, cache equipment and storage medium - Google Patents
Cache updating method, device, cache equipment and storage medium Download PDFInfo
- Publication number
- CN108897495B CN108897495B CN201810689532.9A CN201810689532A CN108897495B CN 108897495 B CN108897495 B CN 108897495B CN 201810689532 A CN201810689532 A CN 201810689532A CN 108897495 B CN108897495 B CN 108897495B
- Authority
- CN
- China
- Prior art keywords
- cache
- data
- updating
- trigger mark
- trigger
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0656—Data buffering arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The invention discloses a cache updating method, a device, cache equipment and a storage medium, wherein the method comprises the following steps: receiving a data request; judging whether the cache data corresponding to the data request has a corresponding trigger mark or not; and when the trigger mark does not exist, recording the trigger mark, updating a cache according to a data source corresponding to the data request, and deleting the trigger mark after updating is finished. The invention effectively enhances the stability of the cache.
Description
Technical Field
The present invention relates to the field of storage technologies, and in particular, to a method and apparatus for updating a cache, a cache device, and a storage medium.
Background
The cache data is divided into a consistent cache and a non-consistent cache according to the system demand requirement. Coherency caching requires that cached data must be consistent with the actual stored data at any time. Non-coherent caching is a degradation of coherent caching, in other words, non-coherent caching may allow for a defined time for cache data to be inconsistent with actual stored data, which may be a historical version of the actual stored data over some recent time.
The existing non-uniform caching technology has the problems of low utilization rate, low efficiency, poor stability and the like. For these problems no effective solution is given in the prior art.
Disclosure of Invention
In order to overcome the above-mentioned drawbacks, the present invention provides a method, an apparatus, a cache device and a storage medium for updating a cache, so as to at least improve the stability of the cache.
In order to solve the above technical problems, a cache update method in an embodiment of the present invention includes:
receiving a data request;
judging whether the cache data corresponding to the data request has a corresponding trigger mark or not;
and when the trigger mark does not exist, recording the trigger mark, updating a cache according to a data source corresponding to the data request, and deleting the trigger mark after updating is finished.
Optionally, the determining whether the cached data corresponding to the data request has a corresponding trigger flag includes:
reading the cache;
judging whether the cache data corresponding to the data request hits the cache data in the cache or not;
if yes, judging whether the trigger mark exists or not;
and if the data source does not hit, updating the cache according to the data source.
Optionally, the determining whether the trigger flag exists if hit includes:
if hit, obtaining the failure time of the cache;
judging whether the failure duration is smaller than a duration threshold value or not;
if the trigger mark is smaller than the preset threshold value, reading the trigger mark, and judging whether the trigger mark exists according to a reading result;
and if not, ending updating the cache.
Optionally, before the determining whether the failure duration is less than the duration threshold, the determining includes:
setting the time length threshold according to the service corresponding to the data request; or alternatively
And generating the duration threshold according to the frequency of the data request.
Optionally, after the recording of the trigger mark, the recording includes:
and deleting the trigger mark when the life cycle of the trigger mark reaches the preset mark effective duration.
Optionally, the method further comprises:
and recording the trigger mark in an asynchronous mode, updating the cache according to a data source corresponding to the data request, and deleting the trigger mark after the updating is finished.
In order to solve the above technical problems, a cache update device in an embodiment of the present invention includes:
the receiving module is used for receiving the data request;
the first judging module is used for judging whether the cache data corresponding to the data request has a corresponding trigger mark or not;
and the updating module is used for recording the trigger mark when the trigger mark does not exist, updating the cache according to the data source corresponding to the data request, and deleting the trigger mark after the updating is finished.
Optionally, the device further comprises a first reading module and a second judging module;
the first reading module is used for reading the cache when the receiving module receives the data request;
the first judging module is specifically configured to judge whether the cache data corresponding to the data request hits the cache data in the cache; if yes, triggering the second judging module to judge whether the triggering mark exists or not; and if the data source does not hit, triggering the updating module to update the cache according to the data source.
Optionally, the apparatus further comprises a second reading module;
the second judging module is specifically configured to obtain a failure duration of the cache under the triggering of the first judging module; judging whether the failure duration is smaller than a duration threshold value or not; if the trigger mark is smaller than the preset trigger mark, triggering the second reading module to read the trigger mark, and judging whether the trigger mark exists according to a reading result; and if the data is not smaller than the predetermined value, triggering the line-updating module to finish updating the cache.
Optionally, the apparatus further comprises:
the setting module is used for setting the duration threshold according to the service corresponding to the data request; or generating the time length threshold according to the frequency of the data request.
Optionally, the apparatus further comprises:
and the deleting module is used for deleting the trigger mark when the life cycle of the trigger mark reaches the preset mark effective duration.
Optionally, the update module is specifically configured to record the trigger flag in an asynchronous manner, update the cache according to a data source corresponding to the data request, and delete the trigger flag after the update is completed.
To solve the above technical problem, a cache device in an embodiment of the present invention includes a memory and a processor, where the memory stores a cache update computer program, and the processor executes the computer program to implement the steps of the method according to any one of the above.
To solve the above technical problem, a computer readable storage medium in an embodiment of the present invention stores a cache update computer program, where the computer program is executable by at least one processor to implement the steps of the method according to any one of the above.
The invention has the following beneficial effects:
according to the embodiment of the invention, the trigger mark is adopted to update the cache, so that the instantaneous peak value of a read data source in a certain time can be effectively reduced, repeated updating operation on the cache can be abandoned, and the cache is not updated in a locking mode, thereby effectively solving the problem of blocking during cache reading and updating, and effectively enhancing the stability of the cache; the data is not cached in full, so that the utilization rate of cache resources is effectively enhanced; meanwhile, when the requested cache data is used normally and periodically, the cache performance is smooth, and when the requested cache data is not used, resources are released.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the alternative embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a main flow chart of a cache updating method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative cache update method in an embodiment of the invention;
FIGS. 3, 4 and 5 are flowcharts of triggered asynchronous updates in accordance with embodiments of the present invention;
FIG. 6 is a block diagram illustrating a cache update apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of a buffering device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The use of prefixes such as "first," "second," etc. for distinguishing elements is merely for facilitating the description of the present invention and is not itself of particular significance.
The mobile terminal may be a cell phone, tablet, notebook, palm top, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, wearable device, smart bracelet, pedometer, etc.
Example 1
An embodiment of the present invention provides a method for updating a cache, as shown in fig. 1, where the method includes:
s101, receiving a data request;
s102, judging whether corresponding trigger marks exist in cache data corresponding to the data request;
and S103, when the trigger mark does not exist, recording the trigger mark, updating a cache according to a data source corresponding to the data request, and deleting the trigger mark after updating is finished.
The method in the embodiment of the invention can be executed in the electronic equipment such as a server, a desktop computer, a mobile terminal and the like. Wherein a trigger flag may also be described as a flag, trigger, flag, etc. that indicates whether the cached data is being updated for another thread or task. For example, if so, a trigger flag is present so that the current cache update may be aborted/stopped/ended. The method for updating the cache comprises, but is not limited to, a synchronous update method or an asynchronous update method; caches include, but are not limited to, local caches and distributed caches. The method in the embodiment of the invention is particularly suitable for non-uniform caching; that is, in some embodiments the cache is a non-coherent cache.
According to the embodiment of the invention, the trigger mark is adopted to update the cache, so that the instantaneous peak value of a read data source in a certain time can be effectively reduced, repeated updating operation on the cache can be abandoned, and the cache is not updated in a locking mode, thereby effectively solving the problem of blocking during cache reading and updating, and effectively enhancing the stability of the cache; the data is not cached in full, so that the utilization rate of cache resources is effectively enhanced; meanwhile, when the requested cache data is used normally and periodically, the cache performance is smooth, and when the requested cache data is not used, resources are released.
In some embodiments, the determining whether the cached data corresponding to the data request has a corresponding trigger flag may include:
reading the cache;
judging whether the cache data corresponding to the data request hits the cache data in the cache or not;
if yes, judging whether the trigger mark exists or not;
and if the data source does not hit, updating the cache according to the data source. Of course this step may also be preceded by reading the data source. Wherein a hit indicates that the corresponding cache data is matched in the cache, and vice versa, indicating a miss.
That is, some embodiments not only effectively increase the cache stability in the case of hit cache, but also effectively reduce the risk of unstable cache system when no hit cache exists, thereby further enhancing the cache system stability.
In some embodiments, when the trigger mark is recorded and the cache is updated according to the data source corresponding to the data request, and the trigger mark is deleted after the update is finished, an asynchronous update cache mode may be adopted. That is, in some embodiments, the update cache is triggered by the trigger mark (i.e. the trigger update cache), so that the cache resource utilization is further improved, and repeated update of the cache is avoided. The triggered update cache comprises a triggered asynchronous update cache and a triggered synchronous update cache
Example two
An embodiment of the present invention provides a method for updating a cache, as shown in fig. 2, where the method includes:
s201, receiving a data request;
s202, reading a cache;
s203, judging whether the cache data corresponding to the data request hits the cache data in the cache; if hit, execute S207; if not, S204 is performed.
S204, reading a data source;
s205, updating the cache according to the read data source;
s206, responding to the data request, and returning the cache data.
S207, if hit, executing trigger type update cache; comprises judging whether the trigger mark exists or not; when not present, the trigger flag is recorded, the cache is updated according to the data source corresponding to the data request, the trigger flag is deleted after the update is completed, and then S206 is executed.
According to the embodiment of the invention, the trigger mark is adopted to update the cache, so that the instantaneous peak value of a read data source in a certain time can be effectively reduced, repeated updating operation on the cache can be abandoned, and the problem of blocking during cache reading and updating is effectively solved without adopting a locking mode, thereby effectively enhancing the stability of the cache; the data is not cached in full, so that the utilization rate of cache resources is effectively enhanced; meanwhile, when the requested cache data is used normally and periodically, the cache performance is ensured to be smooth, and when the requested cache data is not used, the resources are released; and the risk of instability of the cached system when the cache is not hit is effectively reduced, so that the stability of the system is further enhanced.
In some embodiments, the determining whether the trigger tag is present if there is a hit may include:
if hit, obtaining the failure time of the cache;
judging whether the failure duration is smaller than a duration threshold value or not;
if the trigger mark is smaller than the preset threshold value, reading the trigger mark, and judging whether the trigger mark exists according to a reading result;
and if not, stopping updating the cache.
Of course, in some embodiments, the update request may also be included before the expiration time of the cache is obtained.
In some embodiments of the invention the cache includes, but is not limited to, local cache and distributed cache. Wherein the expiration time indicates how long the cache distance expires. That is, the cache in which the data is stored has a short life cycle, which facilitates reloading after failure.
In some embodiments, the failure duration and the duration threshold may be adjusted according to service requirements, where the duration threshold may also be described as a defined duration, the duration threshold may be determined according to the frequency of data requests, a static defined duration may be used, for example, the duration threshold may be set in advance according to a service condition corresponding to a data request, or a dynamic defined duration may be used, for example, in an execution process, the defined duration may be automatically generated by an algorithm according to the frequency of the data requests, where the frequency of the data requests is also high, which indicates that the more frequent requests, the shorter the corresponding duration threshold.
That is, in some embodiments, before the determining whether the failure duration is less than the duration threshold may include:
setting the time length threshold according to the service corresponding to the data request; or alternatively
And generating the duration threshold according to the frequency of the data request.
In some embodiments, the recording the trigger mark may also include:
and deleting the trigger mark when the life cycle of the trigger mark reaches the preset mark effective duration. Wherein the flag validity period may be set in some embodiments by:
presetting a mark effective duration according to the reading time of a data source and the time for updating a cache, or
And setting the effective time length of the mark according to the time length threshold and the updating times.
That is, the presence of the trigger indicates that a task is updating the cache, and the trigger may be recorded in a local host, a distributed cache, or the like, as the case may be, without limitation. In order to avoid the condition that the trigger mark cannot be deleted caused by abnormal operation, the trigger mark also has effective duration, which can be defined as mark effective duration, and the trigger mark is invalid and automatically deleted after the life cycle is longer than the mark effective duration. The effective duration of the trigger mark can be set statically, for example, the duration required for reading a data source and updating the cache is estimated according to the situation; it is also possible to dynamically set, for example, to dynamically calculate a time length as the effective time length of the trigger mark by dividing the defined time length by the number of updates, or the like. After the update cache is finished, the update cache triggers the life cycle recalculation of the mark and the mark failure time length recalculation.
Example III
The embodiment of the invention provides a cache updating method, in particular to a triggering type asynchronous cache updating process related in the cache updating method provided by the first embodiment and the second embodiment, wherein the process comprises the following steps:
s301, updating a request;
s302, acquiring the failure time of the cache;
s303, judging whether the failure duration is smaller than a duration threshold value; if yes, executing S304, if not, executing S306;
s306, updating the cache is finished;
s304, reading a trigger mark;
s305, judging whether a trigger mark exists or not; if execution S306 exists, if execution S307 does not exist;
s307, recording a trigger mark;
s308, reading a data source corresponding to the update request;
s309, updating the cache according to the data source;
s310, deleting the trigger mark after updating is finished; s306 is performed.
The trigger updates of S302-S310, which are framed by the square frames in the figure, can be performed asynchronously, as shown in FIG. 3. As shown in FIG. 4, the trigger updates of S303-S310, framed by the square frame in the figure, may be performed asynchronously. As shown in FIG. 5, the trigger updates of S306-S310, framed by the square frame in the figure, may be all performed in an asynchronous manner.
The three trigger type asynchronous update caching processes provided by the embodiment of the invention update the caches by adopting the trigger marks, so that the instantaneous peak value of a read data source in a certain time can be effectively reduced, repeated update operation on the caches can be abandoned, and the caches are not updated by adopting a locking mode, thereby effectively solving the problem of blocking during cache reading and updating, and effectively enhancing the stability of the caches; the data is not cached in full, so that the utilization rate of cache resources is effectively enhanced; meanwhile, when the requested cache data is used normally and periodically, the cache performance is smooth, and when the requested cache data is not used, resources are released.
Example IV
An embodiment of the present invention provides a cache updating apparatus, corresponding to the method in each embodiment, as shown in fig. 6, where the apparatus includes:
a receiving module 10 for receiving a data request;
a first judging module 12, configured to judge whether a corresponding trigger flag exists in the cache data corresponding to the data request;
and the updating module 14 is used for recording the trigger mark when the trigger mark does not exist, updating the cache according to the data source corresponding to the data request, and deleting the trigger mark after the updating is finished.
According to the embodiment of the invention, the trigger mark is adopted to update the cache, so that the instantaneous peak value of a read data source in a certain time can be effectively reduced, repeated updating operation on the cache can be abandoned, and the cache is not updated in a locking mode, thereby effectively solving the problem of blocking during cache reading and updating, and effectively enhancing the stability of the cache; the data is not cached in full, so that the utilization rate of cache resources is effectively enhanced; meanwhile, when the requested cache data is used normally and periodically, the cache performance is smooth, and when the requested cache data is not used, resources are released.
In some embodiments, the apparatus further comprises a first reading module and a second determining module;
the first reading module is used for reading the cache when the receiving module receives the data request;
the first judging module is specifically configured to judge whether the cache data corresponding to the data request hits the cache data in the cache; if yes, triggering the second judging module to judge whether the triggering mark exists or not; if not, the update module 14 is triggered to update the cache based on the data source.
In some embodiments, the apparatus further comprises a second reading module;
the second judging module is specifically configured to obtain a failure duration of the cache under the triggering of the first judging module; judging whether the failure duration is smaller than a duration threshold value or not; if the trigger mark is smaller than the preset trigger mark, triggering the second reading module to read the trigger mark, and judging whether the trigger mark exists according to a reading result; if not, the update module 14 is triggered to end the update to the cache.
In some embodiments, the apparatus further comprises:
the setting module is used for setting the duration threshold according to the service corresponding to the data request; or generating the time length threshold according to the frequency of the data request.
In some embodiments, the apparatus further comprises:
and the deleting module is used for deleting the trigger mark when the life cycle of the trigger mark reaches the preset mark effective duration.
In some embodiments, the update module 14 is specifically configured to record the trigger flag in an asynchronous manner, update the cache according to a data source corresponding to the data request, and delete the trigger flag after the update is completed.
The embodiment of the invention can be concretely implemented by referring to the above embodiments, and has corresponding technical effects.
Example five
An embodiment of the present invention provides a cache device, as shown in fig. 7, where the device includes a memory 20 and a processor 22, where the memory 20 stores a cache update computer program, and the processor 22 executes the computer program to implement the steps of the method according to any one of the first to fourth embodiments.
Example six
An embodiment of the present invention provides a computer readable storage medium storing a cache update computer program executable by at least one processor to implement the steps of the method according to any one of embodiments one to four.
In the specific implementation, the fifth embodiment and the sixth embodiment can refer to the above embodiments, and have corresponding technical effects.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Claims (14)
1. A method for cache update, the method comprising:
receiving a data request for updating part of data sources in the cache;
judging whether the cache data corresponding to the data request has a corresponding trigger mark or not, wherein the trigger mark is used for indicating whether threads or tasks of the cache data are being updated or not;
when the cache update exists, stopping the current cache update; and when the trigger mark does not exist, recording the trigger mark, updating a cache according to a data source corresponding to the data request, and deleting the trigger mark after updating is finished.
2. The method of claim 1, wherein determining whether the cached data corresponding to the data request has a corresponding trigger tag comprises:
reading the cache;
judging whether the cache data corresponding to the data request hits the cache data in the cache or not;
if yes, judging whether the trigger mark exists or not;
and if the data source does not hit, updating the cache according to the data source.
3. The method of claim 2, wherein the determining if the trigger flag is present if there is a hit comprises:
if hit, obtaining the failure time of the cache;
judging whether the failure duration is smaller than a duration threshold value or not;
if the trigger mark is smaller than the preset threshold value, reading the trigger mark, and judging whether the trigger mark exists according to a reading result;
and if not, ending updating the cache.
4. The method of claim 3, wherein the determining whether the failure duration is less than a duration threshold is preceded by:
setting the time length threshold according to the service corresponding to the data request; or alternatively
And generating the duration threshold according to the frequency of the data request.
5. The method of claim 1, wherein said recording said trigger mark is followed by:
and deleting the trigger mark when the life cycle of the trigger mark reaches the preset mark effective duration.
6. The method of any one of claims 1-5, wherein the method further comprises:
and recording the trigger mark in an asynchronous mode, updating the cache according to a data source corresponding to the data request, and deleting the trigger mark after the updating is finished.
7. A cache update apparatus, the apparatus comprising:
the receiving module is used for receiving a data request for updating part of data sources in the cache;
the first judging module is used for judging whether the cache data corresponding to the data request has a corresponding trigger mark or not, wherein the trigger mark is used for indicating whether the cache data has other threads or tasks to be updated or not;
the updating module is used for stopping the current cache updating when the cache updating exists; and when the trigger mark does not exist, recording the trigger mark, updating a cache according to a data source corresponding to the data request, and deleting the trigger mark after updating is finished.
8. The apparatus of claim 7, further comprising a first reading module and a second determining module;
the first reading module is used for reading the cache when the receiving module receives the data request;
the first judging module is specifically configured to judge whether the cache data corresponding to the data request hits the cache data in the cache; if yes, triggering the second judging module to judge whether the triggering mark exists or not; and if the data source does not hit, triggering the updating module to update the cache according to the data source.
9. The apparatus of claim 8, wherein the apparatus further comprises a second reading module;
the second judging module is specifically configured to obtain a failure duration of the cache under the triggering of the first judging module; judging whether the failure duration is smaller than a duration threshold value or not; if the trigger mark is smaller than the preset trigger mark, triggering the second reading module to read the trigger mark, and judging whether the trigger mark exists according to a reading result; and if the data is not smaller than the predetermined value, triggering the updating module to finish updating the cache.
10. The apparatus of claim 9, wherein the apparatus further comprises:
the setting module is used for setting the duration threshold according to the service corresponding to the data request; or generating the time length threshold according to the frequency of the data request.
11. The apparatus of claim 7, wherein the apparatus further comprises:
and the deleting module is used for deleting the trigger mark when the life cycle of the trigger mark reaches the preset mark effective duration.
12. The apparatus according to any one of claims 7-11, wherein the updating module is specifically configured to record the trigger flag in an asynchronous manner, update the cache according to a data source corresponding to the data request, and delete the trigger flag after the update is completed.
13. A caching device, characterized in that the device comprises a memory storing a cache update computer program and a processor executing the computer program to implement the steps of the method according to any of claims 1-6.
14. A computer readable storage medium, characterized in that the storage medium stores a cache update computer program executable by at least one processor to implement the steps of the method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810689532.9A CN108897495B (en) | 2018-06-28 | 2018-06-28 | Cache updating method, device, cache equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810689532.9A CN108897495B (en) | 2018-06-28 | 2018-06-28 | Cache updating method, device, cache equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108897495A CN108897495A (en) | 2018-11-27 |
CN108897495B true CN108897495B (en) | 2023-10-03 |
Family
ID=64346870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810689532.9A Active CN108897495B (en) | 2018-06-28 | 2018-06-28 | Cache updating method, device, cache equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108897495B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831659B (en) * | 2018-11-29 | 2020-05-08 | 北京邮电大学 | VR video caching method and system |
CN109948098B (en) * | 2019-02-21 | 2021-07-06 | 网宿科技股份有限公司 | Data filtering method, and method and device for recording cache information |
US10922236B2 (en) | 2019-04-04 | 2021-02-16 | Advanced New Technologies Co., Ltd. | Cascade cache refreshing |
CN110059023B (en) * | 2019-04-04 | 2020-11-10 | 创新先进技术有限公司 | Method, system and equipment for refreshing cascade cache |
CN111464662B (en) * | 2020-06-18 | 2021-03-05 | 北京国科天迅科技有限公司 | Multi-node master-slave network system |
CN112468522B (en) * | 2021-02-02 | 2021-04-13 | 江苏北弓智能科技有限公司 | Graphics stream real-time increment updating method and device based on LRU cache mechanism |
CN114185905A (en) * | 2021-12-06 | 2022-03-15 | 蓝信移动(北京)科技有限公司 | Cache data updating method, apparatus, device, storage medium, and program |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09115227A (en) * | 1995-10-20 | 1997-05-02 | Nec Corp | Write-in method for variable length sequencial record |
CN103955486A (en) * | 2014-04-14 | 2014-07-30 | 五八同城信息技术有限公司 | Distributed service system as well as data updating method and data query method thereof |
CN104202424A (en) * | 2014-09-19 | 2014-12-10 | 中国人民财产保险股份有限公司 | Method for extending cache by software architecture |
JP2016038648A (en) * | 2014-08-06 | 2016-03-22 | 富士通株式会社 | Storage control device, copy control program, and copy control method |
WO2016090985A1 (en) * | 2014-12-11 | 2016-06-16 | 中兴通讯股份有限公司 | Cache reading method and apparatus, and cache reading processing method and apparatus |
CN106331148A (en) * | 2016-09-14 | 2017-01-11 | 郑州云海信息技术有限公司 | Cache management method and cache management device for data reading by clients |
CN106682176A (en) * | 2016-12-29 | 2017-05-17 | 北京五八信息技术有限公司 | Page loading method, equipment and device |
CN106934057A (en) * | 2017-03-22 | 2017-07-07 | 福建中金在线信息科技有限公司 | A kind of data cached update method of paging and device |
CN107046551A (en) * | 2016-02-05 | 2017-08-15 | 优信拍(北京)信息科技有限公司 | A kind of request of data, update method and related device |
WO2018040167A1 (en) * | 2016-08-31 | 2018-03-08 | 广州市乐商软件科技有限公司 | Data caching method and apparatus |
CN107943399A (en) * | 2017-11-29 | 2018-04-20 | 努比亚技术有限公司 | Display methods, device and the computer-readable recording medium of double-sided screen |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5699619B2 (en) * | 2011-01-17 | 2015-04-15 | 日本電気株式会社 | Cache device, data management method, program, and cache system |
WO2014028068A1 (en) * | 2012-08-17 | 2014-02-20 | Flextronics Ap, Llc | Media center |
US10754842B2 (en) * | 2014-06-13 | 2020-08-25 | International Business Machines Corporation | Preplaying transactions that mix hot and cold data |
TWI575374B (en) * | 2015-08-04 | 2017-03-21 | 群聯電子股份有限公司 | Mapping table updating method, memory storage device and memory control circuit unit |
-
2018
- 2018-06-28 CN CN201810689532.9A patent/CN108897495B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09115227A (en) * | 1995-10-20 | 1997-05-02 | Nec Corp | Write-in method for variable length sequencial record |
CN103955486A (en) * | 2014-04-14 | 2014-07-30 | 五八同城信息技术有限公司 | Distributed service system as well as data updating method and data query method thereof |
JP2016038648A (en) * | 2014-08-06 | 2016-03-22 | 富士通株式会社 | Storage control device, copy control program, and copy control method |
CN104202424A (en) * | 2014-09-19 | 2014-12-10 | 中国人民财产保险股份有限公司 | Method for extending cache by software architecture |
WO2016090985A1 (en) * | 2014-12-11 | 2016-06-16 | 中兴通讯股份有限公司 | Cache reading method and apparatus, and cache reading processing method and apparatus |
CN107046551A (en) * | 2016-02-05 | 2017-08-15 | 优信拍(北京)信息科技有限公司 | A kind of request of data, update method and related device |
WO2018040167A1 (en) * | 2016-08-31 | 2018-03-08 | 广州市乐商软件科技有限公司 | Data caching method and apparatus |
CN106331148A (en) * | 2016-09-14 | 2017-01-11 | 郑州云海信息技术有限公司 | Cache management method and cache management device for data reading by clients |
CN106682176A (en) * | 2016-12-29 | 2017-05-17 | 北京五八信息技术有限公司 | Page loading method, equipment and device |
CN106934057A (en) * | 2017-03-22 | 2017-07-07 | 福建中金在线信息科技有限公司 | A kind of data cached update method of paging and device |
CN107943399A (en) * | 2017-11-29 | 2018-04-20 | 努比亚技术有限公司 | Display methods, device and the computer-readable recording medium of double-sided screen |
Also Published As
Publication number | Publication date |
---|---|
CN108897495A (en) | 2018-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108897495B (en) | Cache updating method, device, cache equipment and storage medium | |
CN108319654B (en) | Computing system, cold and hot data separation method and device, and computer readable storage medium | |
US10025513B2 (en) | Execution method and apparatus | |
US10133679B2 (en) | Read cache management method and apparatus based on solid state drive | |
US10268719B2 (en) | Granular buffering of metadata changes for journaling file systems | |
US9201810B2 (en) | Memory page eviction priority in mobile computing devices | |
CN109657174B (en) | Method and device for updating data | |
US20150317246A1 (en) | Memory Reclamation Method and Apparatus | |
CN109766362B (en) | Data processing method and device | |
US11611634B2 (en) | Method and device for timeout monitoring | |
US10649905B2 (en) | Method and apparatus for storing data | |
CN113032432A (en) | Data caching processing method, system, computing device and readable storage medium | |
CN110134550B (en) | Data processing method, device and computer readable storage medium | |
US20020194210A1 (en) | Method for using non-temporal stores to improve garbage collection algorithm | |
US20200387328A1 (en) | Method, device, and computer program product for managing storage system | |
Kim et al. | Application-aware swapping for mobile systems | |
CN112631504A (en) | Method and device for realizing local cache by using off-heap memory | |
CN110764930B (en) | Request or response processing method and device based on message mode | |
CN115455058A (en) | Cache data processing method and device, computer equipment and storage medium | |
US20150378934A1 (en) | Context based cache eviction | |
CN111858393B (en) | Memory page management method, memory page management device, medium and electronic equipment | |
CN106484691B (en) | data storage method and device of mobile terminal | |
CN113485642A (en) | Data caching method and device | |
CN103209212B (en) | Based on the data cache method in the Web network management client of RIA and system | |
CN111694806A (en) | Transaction log caching method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |