Data caching method and apparatus

US2021133103A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2021133103-A1
Application numberUS-201816487817-A
CountryUS
Kind codeA1
Filing dateJan 24, 2018
Priority dateFeb 21, 2017
Publication dateMay 6, 2021
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Disclosed in the present disclosure is a data caching method and apparatus, the data caching method includes the following steps: receiving a data request message sent by a user terminal; if detecting that a cache apparatus does not include the target access data requested by the data request message, then sending the target access data in a storage apparatus to the user terminal; extracting parameter information of the target access data in the storage apparatus, and determining whether the parameter information matches a preset parameter condition; and, if the parameter information matches the preset parameter condition, then transmitting the target access data to the cache apparatus.

First claim

Opening claim text (preview).

1 . A data caching method comprising: receiving a data request message sent from a user terminal; sending a target access data in a storage apparatus to the user terminal if it is detected that a cache apparatus does not comprise the target access data requested by the data request message; extracting a parameter information correlated to the target access data in the storage apparatus, and determining whether the parameter information matches a preset parameter condition; and transmitting the target access data to the cache apparatus if the parameter information matches the preset parameter condition. 2 . The method of claim 1 , wherein the parameter information comprises the number of accesses, and the step of transmitting the target access data to the cache apparatus if the parameter information matches the preset parameter condition comprises: transmitting the target access data to the cache apparatus if the number of accesses is larger than or equal to a preset first threshold value. 3 . The method of claim 1 , wherein the parameter information comprises the number of accesses and access time, and the step of transmitting the target access data to the cache apparatus if the parameter information matches the preset parameter condition comprises: transmitting the target access data to the cache apparatus if the number of accesses is larger than or equal to a preset second threshold value and the access time is within a preset period. 4 . The method of claim 1 , wherein after the step of transmitting the target access data to the cache apparatus, the method further comprises: detecting a cache occupancy rate of the cache apparatus; and clearing out the data for which the number of accesses is less than or equal to a preset fourth threshold value from the cache apparatus and/or transmitting modified data in the cache apparatus to the storage apparatus if the cache occupancy rate is larger than or equal to a preset third threshold value. 5 . The method of claim 1 , wherein after the step of receiving the data request message sent from the user terminal, the method further comprises: backing up cache information redundancy in an internal memory of the cache apparatus to a persistent storage device of the cache apparatus; and restoring the persistent cache information in the cache apparatus to the cache apparatus if it is detected that a node failure or system breakdown is occurred in the cache apparatus. 6 . The method of claim 1 , wherein after the step of transmitting the target access data to the cache apparatus, the method further comprises: sending the target access data in the cache apparatus to the user terminal if it is detected that the cache apparatus comprises the target access data requested by the data request message. 7 . A data caching apparatus comprising: a receiving module configured to receive a data request message sent from a user terminal; a transmitting module configured to send a target access data in a storage apparatus to the user terminal if it is detected that a cache apparatus does not comprise the target access data requested by the data request message; an extracting module configured to extract a parameter information correlated to the target access data in the storage apparatus, and determine whether the parameter information matches a preset parameter condition; and a transmission module configured to transmit the target access data to the cache apparatus if the parameter information matches the preset parameter condition. 8 . The data caching apparatus of claim 7 , wherein the parameter information comprises the number of accesses; and the preset parameter condition is that the number of accesses is larger than or equal to a preset first threshold value. 9 . The data caching apparatus of claim 7 , wherein the parameter information comprises the number of accesses and access time; and the preset parameter condition is that the number of accesses is larger than or equal to a preset second threshold value and the access time is within a preset period. 10 . The data caching apparatus of claim 7 , further comprising: a detecting module configured to detect a cache occupancy rate of the cache apparatus; and a processing module configured to clear out the data for which the number of accesses is less than or equal to a preset fourth threshold value from the cache apparatus and/or transmitting modified data in the cache apparatus to the storage apparatus if the cache occupancy rate is larger than or equal to a preset third threshold value. 11 . The data caching apparatus of claim 7 , further comprising: a back-up module configured to back up cache information redundancy in an internal memory of the cache apparatus to a persistent storage device of the cache apparatus; and a restoring module configured to restore the persistent cache information in the cache apparatus to the cache apparatus if it is detected that a node failure or system breakdown is occurred in the cache apparatus. 12 . The data caching apparatus of claim 7 , wherein the transmitting module is further configured to send the target access data in the cache apparatus to the user terminal if it is detected that the cache apparatus comprises the target access data requested by the data request message. 13 . A computer readable medium having program instructions stored therein, the program instructions make a computer perform the method according to claim 1 . 14 . The method of claim 2 , wherein after the step of transmitting the target access data to the cache apparatus, the method further comprises: detecting a cache occupancy rate of the cache apparatus; and clearing out the data for which the number of accesses is less than or equal to a preset fourth threshold value from the cache apparatus and/or transmitting modified data in the cache apparatus to the storage apparatus if the cache occupancy rate is larger than or equal to a preset third threshold value. 15 . The method of claim 3 , wherein after the step of transmitting the target access data to the cache apparatus, the method further comprises: detecting a cache occupancy rate of the cache apparatus; and clearing out the data for which the number of accesses is less than or equal to a preset fourth threshold value from the cache apparatus and/or transmitting modified data in the cache apparatus to the storage apparatus if the cache occupancy rate is larger than or equal to a preset third threshold value. 16 . The method of claim 2 , wherein after the step of receiving the data request message sent from the user terminal, the method further comprises: backing up cache information redundancy in an internal memory of the cache apparatus to a persistent storage device of the cache apparatus; and restoring the persistent cache information in the cache apparatus to the cache apparatus if it is detected that a node failure or system breakdown is occurred in the cache apparatus. 17 . The method of claim 3 , wherein after the step of receiving the data request message sent from the user terminal, the method further comprises: backing up cache information redundancy in an internal memory of the cache apparatus to a persistent storage device of the cache apparatus; and restoring the persistent cache information in the cache apparatus to the cache apparatus if it is detected that a node failure or system breakdown is occurred in the cache apparatus. 18 . The data caching apparatus of claim 8 , further comprising: a detecting module configured to detect a

Assignees

Inventors

Classifications

  • for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS] · CPC title

  • Policies or rules for updating, deleting or replacing the stored data · CPC title

  • using clearing, invalidating or resetting means · CPC title

  • G06F3/061Primary

    Improving I/O performance · CPC title

  • Storage comprising a plurality of storage devices · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2021133103A1 cover?
Disclosed in the present disclosure is a data caching method and apparatus, the data caching method includes the following steps: receiving a data request message sent by a user terminal; if detecting that a cache apparatus does not include the target access data requested by the data request message, then sending the target access data in a storage apparatus to the user terminal; extracting pa…
Who is the assignee on this patent?
Zte Corp
What technology area does this patent fall under?
Primary CPC classification H04L67/1097. Mapped technology areas include Electricity.
When was this patent published?
Publication date Thu May 06 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).