IP Library Granted Patent US 10,496,287
Granted Patent B2
US 10,496,287 · App. 15/848,488 · Granted Dec 3, 2019

Method and apparatus for caching data

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 10,496,287
App. No.
15/848,488
Granted
Dec 3, 2019
Kind
B2
Abstract

Embodiments of the present disclosure relate to methods and apparatuses for caching data. A method comprises writing data into a first cache module on a first processor in response to receiving a first request for caching the data from a client module running on the first processor. The method further comprises transmitting, to the client module, a first indication that the data has been written into the first cache module. The method further comprises, in response to receiving from the client module a second request for synchronizing the data to a second processor, transmitting to the second processor a first command for causing the data to be written into a second cache module on the second processor. In addition, the method further comprises transmitting to the client module a second indication that the data has been synchronized.

Claims (63)

1. A method for caching data, comprising:

in response to receiving a first request for caching data from a client module running on a first processor, writing the data into a first cache module on the first processor;

transmitting, to the client module, a first indication that the data has been written into the first cache module;

in response to receiving, from the client module, a second request for synchronizing the data to a second processor, transmitting, to the second processor, a first command for causing the data to be written into a second cache module on the second processor;

transmitting, to the client module, a second indication that the data has been synchronized;

creating, in the first cache module, a first memory pool dedicated to the client module; and

allocating, from the first memory pool, a first storage object for caching the data;

wherein creating the first memory pool comprises:

in response to receiving, from the client module, a third request for creating mirror memory pools on the first and second cache modules, creating the first memory pool in the first cache module;

transmitting, to the second processor, a second command for creating in the second cache module a second memory pool mirrored with the first memory pool; and

in response to the first memory pool being created, returning the created first memory pool to the client module.

2. The method of claim 1 , wherein the first cache module includes a transient storage medium and a persistent storage medium, the data is cached in the transient storage medium, and the method further comprises:

in response to receiving a first signal indicative of occurrence of a power supply failure, transferring the data from the transient storage medium to the persistent storage medium;

in response to receiving a second signal indicative of recovery of the power supply failure, transferring the data from the persistent storage medium back to the transient storage medium; and

transmitting, to the client module, an indication that the caching of the data has recovered from the power supply failure.

3. The method of claim 2 , wherein transferring the data from the persistent storage medium back to the transient storage medium comprises:

re-creating the first memory pool in the transient storage medium;

re-allocating the first storage object from the first memory pool; and

transferring the data from the persistent storage medium to the first storage object.

4. A method for caching data, comprising:

in response to receiving a first request for caching data from a client module running on a first processor, writing the data into a first cache module on the first processor;

transmitting, to the client module, a first indication that the data has been written into the first cache module;

in response to receiving, from the client module, a second request for synchronizing the data to a second processor, transmitting, to the second processor, a first command for causing the data to be written into a second cache module on the second processor;

transmitting, to the client module, a second indication that the data has been synchronized;

creating, in the first cache module, a first memory pool dedicated to the client module; and

allocating, from the first memory pool, a first storage object for caching the data;

wherein allocating the first storage object comprises:

in response to receiving, from the client module, a fourth request for allocating mirror storage objects, allocating the first storage object from the first memory pool;

transmitting, to the second processor, a third command for allocating a second storage object mirrored with the first storage object; and

in response to the first storage object being allocated, returning the allocated first storage object to the client module.

5. The method of claim 4 , wherein writing the data into the first cache module comprises:

writing the data into the first storage object.

6. The method of claim 4 , wherein transmitting the first command comprises:

transmitting, to the second cache module, the first command for causing the data to be written into the second storage object.

7. The method of claim 4 , wherein the first cache module includes a transient storage medium and a persistent storage medium, the data is cached in the transient storage medium, and the method further comprises:

in response to receiving a first signal indicative of occurrence of a power supply failure, transferring the data from the transient storage medium to the persistent storage medium;

in response to receiving a second signal indicative of recovery of the power supply failure, transferring the data from the persistent storage medium back to the transient storage medium; and

transmitting, to the client module, an indication that the caching of the data has recovered from the power supply failure.

8. The method of claim 7 , wherein transferring the data from the persistent storage medium back to the transient storage medium comprises:

re-creating the first memory pool in the transient storage medium;

re-allocating the first storage object from the first memory pool; and

transferring the data from the persistent storage medium to the first storage object.

9. A method for caching data, comprising:

transmitting, to a first cache module on a first processor, a first request for caching data;

in response to receiving, from the first cache module, a first indication that the data has been written into the first cache module, transmitting, to the first cache module, a second request for synchronizing the data to a second processor, such that the data is written into a second cache module on the second processor;

receiving a second indication that the data has been synchronized;

transmitting, to the first cache module, a third request for creating mirror memory pools on the first and second cache modules;

obtaining, from the first cache module, a memory pool of the mirror memory pools, the memory pool being created on the first cache module;

transmitting, to the first cache module, a fourth request for allocating mirror storage objects for caching the data from the mirror memory pools; and

obtaining, from the first cache module, a storage object of the mirror memory objects, the storage object being allocated from the first memory pool.

10. The method of claim 9 , wherein transmitting the first request comprises:

transmitting the first request for caching the data in the storage object.

11. The method of claim 9 , further comprising:

in response to receiving, from the first cache module, an indication that the caching of the data has recovered from a power supply failure, obtaining the memory pool from the first cache module; and

obtaining the storage object from the first cache module.

12. A method for caching data, comprising:

in response to receiving, from a first processor, a first command for synchronizing data cached in a first cache module on the first processor to a second processor, writing the data into a second cache module on the second processor;

wherein the data is cached in a first storage object in a first memory pool in the first cache module, and the method further comprises:

in response to receiving, from the first processor, a second command for creating in the second cache module a second memory pool mirrored with the first memory pool, creating the second memory pool in the second cache module; and

in response to receiving, from the first processor, a third command for allocating a second storage object mirrored with the first storage object, allocating the second storage object from the second memory pool;

wherein the first memory pool and the second memory pool are mirror memory pools such that the second storage object allocated from the second memory pool is mirrored with the first storage object in the first memory pool.

13. The method of claim 12 , wherein writing the data into the second cache module comprises:

writing the data into the second storage object.

Assignments (8)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (045482/0131) Recorded May 20, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.)
Reel/Frame 061749/0924 →
RELEASE OF SECURITY INTEREST AT REEL 045482 FRAME 0395 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058298/0314 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
PATENT SECURITY AGREEMENT (NOTES) Recorded Mar 1, 2018
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 045482/0131 →
PATENT SECURITY AGREEMENT (CREDIT) Recorded Mar 1, 2018
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 045482/0395 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 11, 2018
From: XU, XINLEI; LIU, YOUSHENG; JIA, RUIYONG; FENG, CHANGYU; GAO, JIAN
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 044593/0472 →