IP Library Granted Patent US 12,443,530
Granted Patent B2
US 12,443,530 · App. 18/685,207 · Granted Oct 14, 2025

Data caching and reading method, and data access system

Inventors: Dapeng Sun (Shanghai, CN); Tao Wang (Shanghai, CN); Shunyang Yao (Shanghai, CN); Xinxin Shu (Shanghai, CN); Kai Zheng (Shanghai, CN); Kunhui Su (Shanghai, CN); Jiajia Li (Shanghai, CN)
Assignee: HANGZHOU ALICLOUD FEITIAN INFORMATION TECHNOLOGY CO., LTD.
G06F12/0815
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,443,530
App. No.
18/685,207
Granted
Oct 14, 2025
Kind
B2
Abstract

A data caching and reading method, and a data access system are provided. A client sends a first request to a data storage system so as to obtain metadata of target data. The client sends a second request to a data caching system, the second request comprising the metadata. The data caching system determines, on the basis of the metadata, whether cache target data consistent with the target data stored in the data storage system is cached. When it is determined cache target data is cached, the client obtains the target data from the data caching system. When no consistent cache target data is cached, the client obtains the target data from the data storage system, and sends the obtained target data to the data caching system, so as to cache the target data.

Claims (58)

1. A data caching method for a data caching system, wherein the data caching system is configured to cache target data stored in a data storage system, and the data storage system is configured to store the target data and metadata of the target data, the method comprises:

receiving a request for target data to be acquired sent by a client, the request comprising metadata of the target data stored in the data storage system, wherein the metadata of the target data is acquired by the client from the data storage system; and

determining, based on the metadata of the target data, whether data which is consistent with the target data stored in the data storage system is cached in the data caching system.

2. The data caching method according to claim 1 , further comprising:

sending location information of the cached data to the client in the case of determining that the cached data which is consistent with the target data of the data storage system is cached; and/or

sending a consistence failure message to the client in the case of determining that the data which is consistent with the target data of the data storage system is not cached.

3. The data caching method according to claim 2 , in the case of determining that the data which is consistent with the target data of the data storage system is not cached, the method further comprising:

acquiring, by the client, the target data from the data caching system;

receiving, from the client, the target data acquired by the client from the data storage system; and

caching the target data.

4. The data caching method according to claim 1 , the step of determining whether the data which is consistent with the target data stored in the data storage system is cached in the data caching system comprising:

determining, based on identification information of the target data, whether data corresponding to the target data is cached; and

determining, based on metadata of the data and the metadata of the target data, whether the cached data is consistent with the target data in the case of determining that the data corresponding to the target data is cached.

5. The data caching method according to claim 1 , wherein

the metadata of the target data comprises at least one of an update time, a cyclic redundancy check value, and a data size of the target data.

6. A data reading method, comprising:

sending a first request for target data to a data storage system, wherein the data storage system is configured to store the target data and metadata of the target data;

receiving the metadata of the target data from the data storage system, wherein the metadata of the target data is used as a basis for determining consistency of cached data; and

sending a second request for the target data to a data caching system, the second request comprising the metadata, wherein the data caching system is configured to cache the target data stored in the data storage system.

7. The data reading method according to claim 6 , further comprising:

acquiring the target data from the data caching system in a case where it is determined by the data caching system, based on the metadata, that data which is consistent with the target data of the data storage system is cached; and/or

acquiring the target data from the data storage system in a case where it is determined by the data caching system, based on the metadata, that data which is consistent with the target data of the data storage system is not cached.

8. The data reading method according to claim 7 , further comprising:

sending the acquired target data to the data caching system after acquiring the target data from the data storage system.

9. A data access system, comprising: a data storage system, a data caching system, and a client, wherein the data storage system is configured to store target data and metadata of the target data, and the data caching system is configured to cache the target data, and wherein

the client sends a first request for target data to the data storage system;

the data storage system returns metadata of the target data to the client in response to the first request;

the client sends a second request for the target data to the data caching system, the second request comprising the metadata;

the data caching system determines, based on the metadata of the target data, whether data which is consistent with the target data stored in the data storage system is cached in the data caching system;

the data caching system sends location information of the data to the client in the case of determining that the data which is consistent with the target data of the data storage system is cached, the client acquires the target data from the data caching system;

the data caching system sends a consistence failure message to the client in the case of determining that the data which is consistent with the target data of the data storage system is not cached, the client acquires the target data from the data storage system and sends the acquired target data to the data caching system, and the data caching system caches the target data.

10. A computing device, comprising:

a processor; and

a memory stored thereon with executable codes which, when executed by the processor, enable the processor to implement the method of claim 1 .

11. A non-transitory machine-readable storage medium stored thereon with executable codes, which, when executed by a processor of an electronic device, enable the processor to implement the method of claim 1 .

12. A computing device, comprising:

a processor; and

a memory stored thereon with executable codes which, when executed by the processor, enable the processor to implement the method of claim 2 .

13. A computing device, comprising:

a processor; and

a memory stored thereon with executable codes which, when executed by the processor, enable the processor to implement the method of claim 3 .

14. A computing device, comprising:

a processor; and

a memory stored thereon with executable codes which, when executed by the processor, enable the processor to implement the method of claim 4 .

15. A computing device, comprising:

a processor; and

a memory stored thereon with executable codes which, when executed by the processor, enable the processor to implement the method of claim 5 .

16. A computing device, comprising:

a processor; and

a memory stored thereon with executable codes which, when executed by the processor, enable the processor to implement the method of claim 6 .

17. A computing device, comprising:

a processor; and

a memory stored thereon with executable codes which, when executed by the processor, enable the processor to implement the method of claim 7 .

18. A computing device, comprising:

a processor; and

a memory stored thereon with executable codes which, when executed by the processor, enable the processor to implement the method of claim 8 .

19. A non-transitory machine-readable storage medium stored thereon with executable codes, which, when executed by a processor of an electronic device, enable the processor to implement the method of claim 2 .

20. A non-transitory machine-readable storage medium stored thereon with executable codes, which, when executed by a processor of an electronic device, enable the processor to implement the method of claim 3 .

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 30, 2026
From: HANGZHOU ALICLOUD FEITIAN INFORMATION TECHNOLOGY CO., LTD.
To: CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PRIVATE LIMITED
Reel/Frame 075366/0376 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 4, 2024
From: SUN, DAPENG; WANG, TAO; YAO, SHUNYANG; SHU, XINXIN; ZHENG, KAI; SU, KUNHUI; LI, JIAJIA
To: HANGZHOU ALICLOUD FEITIAN INFORMATION TECHNOLOGY CO., LTD.
Reel/Frame 069122/0845 →
Priority Claims (1)
CN 202210037805.8 · Jan 13, 2022 · national
Continuity (1)
Related Publication 20240354251A1 · Oct 24, 2024
References Cited (63)
US 6226715B1 · Van Der Wolf · 2001 [cited by examiner]
US 7475321B2 · Gurumurthi · 2009 [cited by examiner]
US 7558947B1 · Trivedi · 2009 [cited by examiner]
US 7644108B1 · Malmskog · 2010 [cited by examiner]
US 7681013B1 · Trivedi · 2010 [cited by examiner]
US 7805575B1 · Agarwal · 2010 [cited by examiner]
US 7979509B1 · Malmskog · 2011 [cited by examiner]
US 8364898B2 · Balakrishnan · 2013 [cited by examiner]
US 8370850B2 · Nochimowski · 2013 [cited by examiner]
US 8732409B2 · Van Der Wolf · 2014 [cited by examiner]
US 9026615B1 · Sirton · 2015 [cited by examiner]
US 9043556B2 · Balakrishnan · 2015 [cited by examiner]
US 9792298B1 · Taylor et al. · 2017 [cited by applicant]
US 9892803B2 · Reed · 2018 [cited by examiner]
US 9946648B1 · Zhang · 2018 [cited by examiner]
US 10467143B1 · Mason · 2019 [cited by examiner]
US 10891228B2 · Steinmacher-Burow · 2021 [cited by examiner]
US 20010047454A1 · Soderstrom · 2001 [cited by examiner]
US 20040039880A1 · Pentkovski · 2004 [cited by examiner]
US 20040103251A1 · Alsup · 2004 [cited by examiner]
US 20060143406A1 · Chrysos · 2006 [cited by examiner]
US 20060156155A1 · Gurumurthi · 2006 [cited by examiner]
US 20100070711A1 · Arimilli · 2010 [cited by examiner]
US 20100281216A1 · Patel · 2010 [cited by examiner]
US 20110161784A1 · Selinger · 2011 [cited by examiner]
US 20140156909A1 · Farhan · 2014 [cited by examiner]
US 20140237147A1 · Joshi · 2014 [cited by examiner]
US 20140281707A1 · Su · 2014 [cited by examiner]
US 20140325148A1 · Choi · 2014 [cited by examiner]
US 20140359221A1 · Kalamatianos · 2014 [cited by examiner]
US 20140365719A1 · Kuzmin · 2014 [cited by examiner]
US 20140372708A1 · Callaway et al. · 2014 [cited by applicant]
US 20160117249A1 · Lin · 2016 [cited by examiner]
US 20160224415A1 · Yoshida · 2016 [cited by examiner]
US 20160246713A1 · Choi · 2016 [cited by examiner]
US 20160253261A1 · Lee · 2016 [cited by examiner]
US 20170139710A1 · Zbiciak · 2017 [cited by examiner]
US 20170300422A1 · Szubbocsev · 2017 [cited by examiner]
US 20180165217A1 · Greenspan · 2018 [cited by examiner]
US 20180336141A1 · Desai · 2018 [cited by examiner]
US 20190065560A1 · Rojkov · 2019 [cited by examiner]
US 20190303303A1 · Krishnan · 2019 [cited by examiner]
US 20200119753A1 · Chirca · 2020 [cited by examiner]
US 20200125495A1 · Galbi · 2020 [cited by examiner]
US 20200159661A1 · Keymolen et al. · 2020 [cited by applicant]
US 20200356278A1 · Gupta · 2020 [cited by examiner]
US 20200356478A1 · Gupta · 2020 [cited by examiner]
US 20200356479A1 · Gupta · 2020 [cited by examiner]
US 20200356494A1 · Gupta · 2020 [cited by examiner]
US 20200371934A1 · Chachad · 2020 [cited by examiner]
US 20200401521A1 · Elliott · 2020 [cited by examiner]
US 20220244870A1 · Duan · 2022 [cited by examiner]
CN 1852318A · 2006 [cited by applicant]
CN 103595797A · 2014 [cited by applicant]
CN 109033363A · 2018 [cited by applicant]
CN 109189748A · 2019 [cited by applicant]
CN 110764708A · 2020 [cited by applicant]
CN 113835614A · 2021 [cited by applicant]
CN 114051056A · 2022 [cited by applicant]
Jim Handy, “the Cache Memory book: THE authoritative reference on cache design”, 2nd Edition, 1998, pp. 64-67 and 155-186 (Year: 1998). [cited by examiner]
International Search Report dated Apr. 6, 2023, in connection with International Application No. PCT/CN2023/071177. [cited by applicant]
Chinese Search Report dated Mar. 1, 2022, in connection with Chinese Application No. 202210037805.8. [cited by applicant]
Chinese Office Action dated Mar. 1, 2022, in connection with Chinese Application No. 202210037805.8. [cited by applicant]