hottub.patents
US 12,423,239 B2#3439050 Most CitedActiveUnited States (USPTO)Utility

Cache management method, apparatus and system, device and medium

0Forward Citations (#3439050 Global)
0.0/yrCitation Velocity (#3439050 Global)
0.00Citation PageRank (#3439050 Global)
14Prior Art Cited
8Claims (1 Indep. · 7 Dep.)
0Drawings / Sheets

Abstract

A cache management method, apparatus and system, a device, and a nonvolatile readable storage medium. The method includes: receiving, by a storage system cache manager, a target operation request sent by a target user; processing the target operation request in a pipeline manner, so as to execute a processing operation corresponding to the target operation request on a cache line using the target operation request; and feeding back a processing result of the target operation request to the target user, and executing a cache maintenance operation corresponding to the processing result according to the processing result by means of a software cache manager.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.

Claims (8 — 1 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    A cache management method, wherein the cache management method is applied to a storage system cache manager, and the cache management method comprises: receiving a plurality of target operation requests sent by a target user, wherein the target user comprises a software cache user or a hardware cache user; processing the plurality of target operation requests in a pipeline manner, so as to execute a processing operation corresponding to each target operation request on a cache line using the target operation request; and feeding back a processing result of each target operation request to the target user, and based on the processing result, executing a cache maintenance operation corresponding to the processing result by means of a software cache manager.

  2. Claim 2Depends on #1

    The cache management method as claimed in claim 1, wherein executing the processing operation corresponding to each target operation request on the cache line using the target operation request comprises: calculating a target hash value according to a key value in each target operation request; performing table lookup in a target data table using the target hash value; if no target address corresponding to the target hash value is found, outputting a first query result; if the target address is found, performing retrieval in a cache entry table corresponding to the target address according to the target address, and comparing a retrieved key value with the key value of the target operation request to output a second query result; and executing a processing operation according to each target operation request and one of the first query result and the second query result.

  3. Claim 3Depends on #2

    The cache management method as claimed in claim 2, wherein before calculating the target hash value according to the key value in each target operation request, the method further comprises: performing priority ranking on the plurality of target operation requests using an arbitration rule.

  4. Claim 4Depends on #3

    The cache management method as claimed in claim 3, wherein after performing priority ranking on the plurality of target operation requests using the arbitration rule, the method further comprises: if one target operation request is an allocation request, determining whether the allocation request exceeds a remaining quota; if the allocation request does not exceed the remaining quota, continuing to execute calculating the target hash value according to the key value in the target operation request; and if the allocation request exceeds the remaining quota, processing the target operation request according to an over-quota configuration mode.

  5. Claim 5Depends on #4

    The cache management method as claimed in claim 4, wherein determining whether the allocation request exceeds the remaining quota comprises: determining a key value of the allocation request; determining a cache count corresponding to the key value of the allocation request according to the key value of the allocation request; determining whether a cache count incremented by 1 is greater than a corresponding first threshold; if the cache count incremented by 1 is greater than the corresponding first threshold, determining that the allocation request exceeds the remaining quota; and if the cache count incremented by 1 is less than or equal to the corresponding first threshold, determining whether a global count after the cache count is incremented by 1 is greater than a corresponding second threshold; if the global count after the cache count is incremented by 1 is greater than the corresponding second threshold, determining that the allocation request exceeds the remaining quota; and i

  6. Claim 6Depends on #4

    The cache management method as claimed in claim 4, wherein processing the target operation request according to the over-quota configuration mode comprises: if the over-quota configuration mode is a warning mode, continuing to calculate the target hash value according to the key value in the target operation request, and generating corresponding event information and sending same to the software cache manager; and if the over-quota configuration mode is a blocking mode, directly generating a processing result indicating processing failure.

  7. Claim 7Depends on #6

    The cache management method as claimed in claim 6, wherein after directly generating the processing result indicating processing failure, the method further comprises: if the target operation request is an operation request initiated by a software cache user, reporting response information to the software cache manager, wherein the target user comprises the software cache user; and if the target operation request is an operation request initiated by a hardware cache user, reporting response information to a hardware cache user, and copying event information and reporting same to the software cache manager, wherein the target user comprises the hardware cache user.

  8. Claim 8Depends on #3

    The cache management method as claimed in claim 3, wherein performing priority ranking on the plurality of target operation requests using the arbitration rule comprises: setting a priority of an operation request sent by the hardware cache user to be higher than a priority of an operation request sent by a software cache user.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION The present disclosure is a National Stage Filing of the PCT International Application No. PCT/CN2023/071904 filed Jan. 12, 2023, which claims priority to Chinese patent application no. 202210856082.4, filed with the China National Intellectual Property Administration on Jul. 21, 2022 and entitled “ cache Management Method, Apparatus and System, Device and Medium ” , which is incorporated herein by reference in its entirety. TECHNICAL FIELD The present disclosure relates to the technical field of cache management, and in particular, to a cache management method, apparatus and system, a device and a nonvolatile readable storage medium. BACKGROUND In a computer system, a cache is a memory for storing a small amount of temporary data that needs to be accessed quickly, for example, a common Central Processing Component (CPU) cache located between a CPU and a main memory. In an external storage system, a magnetic disk or a solid state disk has different access delays due to the physical characteristics of its storage medium. This delay is typically much greater than the access delay of the main memory. To accelerate an access speed of external storage, a Dynamic Random Access Memory (DRAM) is generally used on a magnetic disk or a solid state disk as an on-disk data cache. For a storage acceleration card located between a magnetic disk, a solid state disk and a host CPU, such as a device like Redundant Arrays of Independent Disks (Raid) card, a cache is also required to improve the performance of the entire storage system. How to reduce a delay of a cache operation and improve the real-time performance of cache management is a problem that needs to be solved by a person skilled in the art. SUMMARY The embodiments of the present disclosure provide a cache management method, apparatus and system, a device and a nonvolatile readable storage medium. The embodiments of the present disclosure provide a cache management method. The cache m

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (14)

PatentTitleYearCitations

Non-Patent Literature (10)

  • International Search Report and Written Opinion received for PCT Serial No. PCT/CN2023/071904, Apr. 28, 2023.
  • Chinese Search Report
  • —
  • 1 received for CN Serial No. 2022108560824, 2 pgs.
  • Chinese Search Report
  • —
  • 2 for CN Serial No. 2022108560824, Sep. 5, 2022, 2 pgs.
  • Song, H.G.
  • “
  • Parallel multi-source video processing based on software pipeline