Method, device, and computer program product for recovering data

US12554844B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12554844-B2
Application numberUS-202418618332-A
CountryUS
Kind codeB2
Filing dateMar 27, 2024
Priority dateSep 27, 2023
Publication dateFeb 17, 2026
Grant dateFeb 17, 2026

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.

Techniques for recovering data involve, in response to detecting that a data block of a storage system is attacked, determining one or more attacked data blocks, wherein snapshots in multiple snapshots of the storage system have snapshot replicate numbers. Such techniques further involve determining one or more data block replicate numbers of the one or more attacked data blocks. Such techniques further involve identifying the latest target snapshot in the multiple snapshots based on the snapshot replicate numbers of snapshots in the multiple snapshots and the one or more data block replicate numbers, wherein all data blocks in the target snapshot are not attacked. Such techniques further involve recovering data of the storage system based on the latest target snapshot.

First claim

Opening claim text (preview).

The invention claimed is: 1 . A method for recovering data, comprising: in response to detecting that a data block of a storage system is attacked, determining one or more attacked data blocks, wherein snapshots in multiple snapshots of the storage system have snapshot replicate numbers; determining one or more data block replicate numbers of the one or more attacked data blocks; identifying the latest target snapshot in the multiple snapshots based on the snapshot replicate numbers of snapshots in the multiple snapshots and the one or more data block replicate numbers, wherein all data blocks in the target snapshot are not attacked; recovering data of the storage system based on the latest target snapshot; and in response to creating a new snapshot in the storage system: acquiring a current snapshot replicate number and a next snapshot replicate number from the storage system; allocating the current snapshot replicate number to the new snapshot; and updating the current snapshot replicate number and the next snapshot replicate number. 2 . The method according to claim 1 , wherein identifying the latest target snapshot in the multiple snapshots comprises: determining a minimum data block replicate number in the one or more data block replicate numbers; and identifying the latest target snapshot in the multiple snapshots based on the minimum data block replicate number. 3 . The method according to claim 1 , wherein updating the current snapshot replicate number and the next snapshot replicate number comprises: using the next snapshot replicate number as the current snapshot replicate number; and increasing the next snapshot replicate number progressively as the new next snapshot replicate number. 4 . The method according to claim 1 , further comprising: in response to that a data block in the storage system is modified: acquiring another snapshot replicate number from the storage system; and using the other snapshot replicate number as the data block replicate number of the data block. 5 . The method according to claim 4 , further comprising: in response to allocating a new data block in the storage system: acquiring the other snapshot replicate number from the storage system; and using the other snapshot replicate number as the data block replicate number of the new data block. 6 . The method according to claim 5 , wherein recovering data of the storage system comprises: recovering the storage system to a state corresponding the latest target snapshot by mounting the latest target snapshot. 7 . The method according to claim 1 , wherein determining the one or more data block replicate numbers of the one or more attacked data blocks comprises: collecting one or more file system numbers of the one or more attacked data blocks; determining, based on the one or more file system numbers, one or more file system entries of the one or more attacked data blocks; and determining the one or more data block replicate numbers based on the one or more file system entries. 8 . The method according to claim 7 , wherein determining the one or more attacked data blocks further comprises: in response to determining that the quantity of attacked data blocks is greater than a predetermined threshold, sampling the attacked data blocks; and using the sampled attacked data blocks as the one or more attacked data blocks. 9 . The method according to claim 8 , wherein identifying the latest target snapshot in the multiple snapshots comprises: if the snapshot replicate number of a snapshot in the multiple snapshots is greater than or equal to each data block replicate number in the one or more data block replicate numbers, determining that the storage system does not have the latest target snapshot. 10 . An electronic device, comprising: a processing unit; and a memory coupled to the processing unit and storing instructions, wherein the instructions, when executed by the processing unit, perform the following actions: in response to detecting that a data block of a storage system is attacked, determining one or more attacked data blocks, wherein snapshots in multiple snapshots of the storage system have snapshot replicate numbers; determining one or more data block replicate numbers of the one or more attacked data blocks; identifying the latest target snapshot in the multiple snapshots based on the snapshot replicate numbers of snapshots in the multiple snapshots and the one or more data block replicate numbers, wherein all data blocks in the target snapshot are not attacked; recovering data of the storage system based on the latest target snapshot; in response to creating a new snapshot in the storage system: acquiring a current snapshot replicate number and a next snapshot replicate number from the storage system; allocating the current snapshot replicate number to the new snapshot; and updating the current snapshot replicate number and the next snapshot replicate number. 11 . The electronic device according to claim 10 , wherein identifying the latest target snapshot in the multiple snapshots comprises: determining a minimum data block replicate number in the one or more data block replicate numbers; and identifying the latest target snapshot in the multiple snapshots based on the minimum data block replicate number. 12 . The electronic device according to claim 10 , wherein updating the current snapshot replicate number and the next snapshot replicate number comprises: using the next snapshot replicate number as the current snapshot replicate number; and increasing the next snapshot replicate number progressively as the new next snapshot replicate number. 13 . The electronic device according to claim 10 , further comprising: in response to that a data block in the storage system is modified: acquiring another snapshot replicate number from the storage system; and using the other snapshot replicate number as the data block replicate number of the data block. 14 . The electronic device according to claim 13 , further comprising: in response to allocating a new data block in the storage system: acquiring the other snapshot replicate number from the storage system; and using the other snapshot replicate number as the data block replicate number of the new data block. 15 . The electronic device according to claim 14 , wherein recovering data of the storage system comprises: recovering the storage system to a state corresponding the latest target snapshot by mounting the latest target snapshot. 16 . The electronic device according to claim 10 , wherein determining the one or more data block replicate numbers of the one or more attacked data blocks comprises: collecting one or more file system numbers of the one or more attacked data blocks; determining, based on the one or more file system numbers, one or more file system entries of the one or more attacked data blocks; and determining the one or more data block replicate numbers based on the one or more file system entries. 17 . The electronic device according to claim 16 , wherein determining the one or more attacked data blocks further comprises: in response to determining that the quantity of attacked data blocks is greater than a predetermined threshold, sampling the attacked data blocks; and using the sampled attacked data blocks as the one or more attacked data blocks. 18 . A computer program product, wherein the computer program product is tangibly stored on a non-volatile computer-readable medium an

Assignees

Inventors

Classifications

  • Error detection or correction of the data by redundancy in hardware · CPC title

  • Test or assess a computer or a system · CPC title

  • G06F21/554Primary

    involving event detection and direct action · 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 US12554844B2 cover?
Techniques for recovering data involve, in response to detecting that a data block of a storage system is attacked, determining one or more attacked data blocks, wherein snapshots in multiple snapshots of the storage system have snapshot replicate numbers. Such techniques further involve determining one or more data block replicate numbers of the one or more attacked data blocks. Such technique…
Who is the assignee on this patent?
Dell Products Lp
What technology area does this patent fall under?
Primary CPC classification G06F21/554. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 17 2026 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).