IP Library Granted Patent US 11,372,728
Granted Patent B2
US 11,372,728 · App. 16/986,564 · Granted Jun 28, 2022

Retention time based consistent hash ring

Inventors: Mengze Liao (Shanghai, CN); Lihui Su (Shanghai, CN); Arun Murti (Mission Viejo, CA); Roger Hongyi Che (Shanghai, CN); Zhenzhen Lin (Shanghai, CN); Xiaolei Hu (Shanghai, CN)
Assignee: EMC IP Holding Company LLC
G06F11/1464G06F9/45558G06F11/1451G06F11/1453G06F11/1469G06F16/137G06F16/162G06F16/188G06F2009/45595
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 11,372,728
App. No.
16/986,564
Granted
Jun 28, 2022
Kind
B2
Abstract

A retention-based consistent hash ring process defines each file name in the system to include its expiration date (or time) as a prefix or suffix that is stored and indexed as metadata. The process uses a virtual node to represent adjacent expiration days to create virtual nodes based on individual days of the week. Each physical node contains the same number of labeled virtual nodes, and the consistent hash ring process is used to move files with the same expiration day to different physical nodes by looking for next labeled virtual nodes on the hash ring. This provides a way to locate the virtual node storage location by specifying a file's expiration date as part of the key used in the hash ring process, and distributes files that may otherwise be assigned to the same physical node through a backup policy.

Claims (47)

1. A method of balancing a consistent hash ring having a number of physical nodes representing storage resources in a client-server computer network, comprising:

defining a file name for each file used in a file system to include an expiration day of a corresponding file;

creating a plurality of virtual nodes for each of the physical nodes, wherein each virtual node is labeled with a different day of the week as a label;

creating a key for each file by hashing the corresponding file name including the expiration day; and

using the key to locate a physical node storage location for a respective file by identifying corresponding virtual nodes having a same label as the expiration day of the respective file.

2. The method of claim 1 wherein the network implements a distributed file system storing files in one or more centralized storage resources by access by a plurality of clients.

3. The method of claim 2 wherein the network comprises backup server executing a deduplication backup system.

4. The method of claim 3 wherein at least part of the network comprises a virtualized network, and further comprises virtual storage implemented one or more virtual machines in the network.

5. The method of claim 3 wherein the expiration day is defined by a retention time corresponding to a file deletion frequency set in a backup policy.

6. The method of claim 5 further comprising:

defining a plurality of backup policies for the file system, each backup policy applied to one or more files of the file system; and

applying a frequency and retention policy to the plurality of backup policies to derive the retention time.

7. The method of claim 1 further comprising determining a first entry point of the file into the consistent hash ring by determining physical node corresponding to a nearest match of the key based on a hash value of the file name compared to a calculated hash value for each physical node.

8. The method of claim 7 further comprising:

comparing the key after the first entry point to a next label of a virtual node in the physical node; and if there is no match

comparing the key to virtual nodes in a next physical node adjacent to the physical node to identify a first virtual node matching the key.

9. The method of claim 7 wherein the hash value for each physical node comprises a hash of a processor identifier and network address of the physical node.

10. A method of balancing storage of files in a distributed file based computer network, comprising:

defining a consistent hash ring having a number of physical nodes representing storage resources of the network;

defining, for each physical node, a plurality of virtual nodes, each labeled with a different day of the week;

defining an expanded file name for each file to include a directory path and name of the file and an expiration date of the file appended as a prefix or suffix;

deriving a key for each file comprising a hash value of the expanded file name of the file; and

using the key to find a nearest matching virtual node in a physical node based on a match of the day of week label of the virtual node and the expiration date of the key hash value.

11. The method of claim 10 further comprising determining a first entry point of the file into the consistent hash ring by determining physical node corresponding to a nearest match of the key based on a hash value of the file name compared to a calculated hash value for each physical node.

12. The method of claim 11 further comprising:

comparing the key after the first entry point to a next label of a virtual node in the physical node; and if there is no match

comparing the key to virtual nodes in a next physical node adjacent to the physical node to identify a first virtual node matching the key.

13. The method of claim 10 wherein the hash value for each physical node comprises a hash of a processor identifier and network address of the physical node.

14. The method of claim 10 wherein the network implements a distributed file system storing files in one or more centralized storage resources by access by a plurality of clients, and comprises backup server executing a deduplication backup system.

15. The method of claim 14 wherein the expiration day is defined by a retention time corresponding to a file deletion frequency set in a backup policy.

16. The method of claim 15 further comprising:

defining a plurality of backup policies for the file system, each backup policy applied to one or more files of the file system; and

applying a frequency and retention policy to the plurality of backup policies to derive the retention time.

17. A system for balancing storage of files in a distributed file based computer network comprising: a processor; and memory configured to store one or more sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of:

defining a consistent hash ring having a number of physical nodes representing storage resources of the network;

defining, for each physical node, a plurality of virtual nodes, each labeled with a different day of the week;

defining an expanded file name for each file to include a directory path and name of the file and an expiration date of the file appended as a prefix or suffix;

deriving a key for each file comprising a hash value of the expanded file name of the file; and

using the key to find a nearest matching virtual node in a physical node based on a match of the day of week label of the virtual node and the expiration date of the key hash value.

18. The system of claim 17 wherein the method further comprises:

determining a first entry point of the file into the consistent hash ring by determining physical node corresponding to a nearest match of the key based on a hash value of the file name compared to a calculated hash value for each physical node;

comparing the key after the first entry point to a next label of a virtual node in the physical node; and if there is no match

comparing the key to virtual nodes in a next physical node adjacent to the physical node to identify a first virtual node matching the key.

19. The system of claim 18 wherein the hash value for each physical node comprises a hash of a processor identifier and network address of the physical node, and wherein the network implements a distributed file system storing files in one or more centralized storage resources by access by a plurality of clients, and comprises backup server executing a deduplication backup system.

20. The system of claim 19 wherein the expiration day is defined by a retention time corresponding to a file deletion frequency set in a backup policy, and the method further comprises:

defining a plurality of backup policies for the file system, each backup policy applied to one or more files of the file system; and

applying a frequency and retention policy to the plurality of backup policies to derive the retention time.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0523) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0664 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0434) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0740 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0609) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 062021/0570 →
RELEASE OF SECURITY INTEREST AT REEL 054591 FRAME 0471 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0463 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 054475/0609 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0434 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0523 →
SECURITY AGREEMENT Recorded Nov 13, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 054591/0471 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 6, 2020
From: LIAO, MENGZE; SU, LIHUI; MURTI, ARUN; CHE, ROGER HONGYI; LIN, ZHENZHEN; HU, XIAOLEI
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 053419/0225 →
Continuity (1)
Related Publication 20220043715A1 · Feb 10, 2022