IP Library Granted Patent US 11,592,983
Granted Patent B2
US 11,592,983 · App. 17/316,960 · Granted Feb 28, 2023

Method, electronic device and computer program product for storage management

Inventors: Lei Sun (Beijing, CN); Jian Gao (Beijing, CN); Xinlei Xu (Beijing, CN); Jianbin Kang (Beijing, CN)
Assignee: EMC IP Holding Company LLC
G06F3/0604G06F3/0655G06F3/0689
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,592,983
App. No.
17/316,960
Granted
Feb 28, 2023
Kind
B2
Abstract

Storage management techniques involve: acquiring target data in a target storage page in a memory; determining, based on the target data, check information and identification information associated with the target data, the check information being used to verify whether the target data is correct and the identification information being used to identify the target data; and determining, based on the identification information, storage information associated with the target data and the check information, the storage information indicating whether to store the target data and the check information to a persistent storage device. Therefore, the processing efficiency can be improved, and the input/output (I/O) performance can be improved.

Claims (56)

1. A method for storage management, comprising:

acquiring target data in a target storage page in a memory;

determining, based on the target data, check information and identification information associated with the target data, the check information being used to verify whether the target data is correct and the identification information being used to identify the target data; and

determining, based on the identification information, storage information associated with the target data and the check information, the storage information indicating whether to store the target data and the check information to a persistent storage device,

wherein determining the check information and the identification information includes:

cyclically loading each of a plurality of portions of the target data from the memory into a register;

for each of the portions of the target data when loaded in the register, performing both a check operation and a hash operation, the check operation creating a respective first intermediate value and the hash operation creating a respective second intermediate value, the first intermediate value being accumulated into a first group of intermediate values, and the second intermediate value being accumulated into a second group of intermediate values; and

subsequently determining the check information from the first group of intermediate values, and determining the identification information from the second group of intermediate values.

2. The method according to claim 1 , wherein determining the storage information comprises:

acquiring a group of reference identification information items associated with corresponding reference data in a group of reference storage pages that have been stored in the persistent storage device;

comparing the identification information with the group of reference identification information items respectively; and

if the identification information matches one of the group of reference identification information items, determining the storage information as indicating not to store the target data and the check information in the persistent storage device.

3. The method according to claim 1 , wherein determining the storage information comprises:

acquiring a group of reference identification information items associated with corresponding reference data in a group of reference storage pages that have been stored in the persistent storage device;

comparing the identification information with the group of reference identification information items respectively; and

if the identification information matches one of the group of reference identification information items, comparing the target data with reference data corresponding to the matched reference identification information item; and

if the target data matches the reference data, determining the storage information as indicating not to store the target data and the check information in the persistent storage device.

4. The method according to claim 1 , wherein the storage information indicates to store the target data and the check information in the persistent storage device, and the method further comprises:

adding the check information to the target data to obtain data to be stored; and

storing the data to be stored into the persistent storage device.

5. The method according to claim 1 , further comprising:

determining whether the number of at least one candidate storage page in the memory exceeds a threshold number; and

if the number exceeds the threshold number, determining the target storage page from the at least one candidate storage page.

6. An electronic device, comprising:

at least one processing unit; and

at least one memory that is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, wherein the instructions, when executed by the at least one processing unit, cause the device to perform actions including:

acquiring target data in a target storage page in a memory;

determining, based on the target data, check information and identification information associated with the target data, the check information being used to verify whether the target data is correct and the identification information being used to identify the target data; and

determining, based on the identification information, storage information associated with the target data and the check information, the storage information indicating whether to store the target data and the check information to a persistent storage device,

wherein determining the check information and the identification information includes:

cyclically loading each of a plurality of portions of the target data from the memory into a register;

for each of the portions of the target data when loaded in the register, performing both a check operation and a hash operation, the check operation creating a respective first intermediate value and the hash operation creating a respective second intermediate value, the first intermediate value being accumulated into a first group of intermediate values, and the second intermediate value being accumulated into a second group of intermediate values; and

subsequently determining the check information from the first group of intermediate values, and determining the identification information from the second group of intermediate values.

7. The device according to claim 6 , wherein determining the storage information comprises:

acquiring a group of reference identification information items associated with corresponding reference data in a group of reference storage pages that have been stored in the persistent storage device;

comparing the identification information with the group of reference identification information items respectively; and

if the identification information matches one of the group of reference identification information items, determining the storage information as indicating not to store the target data and the check information in the persistent storage device.

8. The device according to claim 6 , wherein determining the storage information comprises:

acquiring a group of reference identification information items associated with corresponding reference data in a group of reference storage pages that have been stored in the persistent storage device;

comparing the identification information with the group of reference identification information items respectively;

if the identification information matches one of the group of reference identification information items, comparing the target data with reference data corresponding to the matched reference identification information item; and

if the target data matches the reference data, determining the storage information as indicating not to store the target data and the check information in the persistent storage device.

9. The device according to claim 6 , wherein the storage information indicates to store the target data and the check information in the persistent storage device, and the actions further comprise:

adding the check information to the target data to obtain data to be stored; and

storing the data to be stored into the persistent storage device.

10. The device according to claim 6 , wherein the actions further comprise:

determining whether the number of at least one candidate storage page in the memory exceeds a threshold number; and

if the number exceeds the threshold number, determining the target storage page from the at least one candidate storage page.

11. A computer program product having a non-transitory computer readable medium which stores a set of instructions to perform storage management; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:

acquiring target data in a target storage page in a memory;

determining, based on the target data, check information and identification information associated with the target data, the check information being used to verify whether the target data is correct and the identification information being used to identify the target data; and

determining, based on the identification information, storage information associated with the target data and the check information, the storage information indicating whether to store the target data and the check information to a persistent storage device,

wherein determining the check information and the identification information includes:

cyclically loading each of a plurality of portions of the target data from the memory into a register;

for each of the portions of the target data when loaded in the register, performing both a check operation and a hash operation, the check operation creating a respective first intermediate value and the hash operation creating a respective second intermediate value, the first intermediate value being accumulated into a first group of intermediate values, and the second intermediate value being accumulated into a second group of intermediate values; and

subsequently determining the check information from the first group of intermediate values, and determining the identification information from the second group of intermediate values.

Assignments (8)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (058014/0560) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 062022/0473 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (057931/0392) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 062022/0382 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (057758/0286) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 061654/0064 →
SECURITY INTEREST Recorded Oct 6, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 058014/0560 →
SECURITY INTEREST Recorded Oct 6, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 057758/0286 →
SECURITY INTEREST Recorded Oct 6, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 057931/0392 →
SECURITY AGREEMENT Recorded Oct 1, 2021
From: DELL PRODUCTS, L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 057682/0830 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 26, 2021
From: SUN, LEI; GAO, JIAN; XU, XINLEI; KANG, JIANBIN
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 056353/0438 →
Priority Claims (1)
CN 202110014398.4 · Jan 6, 2021 · national
Continuity (1)
Related Publication 20220214806A1 · Jul 7, 2022