IP Library Granted Patent US 12,386,544
Granted Patent B2
US 12,386,544 · App. 18/865,269 · Granted Aug 12, 2025

Server data erasing method, apparatus and device, and readable storage medium

Inventors: Chengping Liu (Jiangsu, CN); Yufeng Zhang (Jiangsu, CN); Feng Guo (Jiangsu, CN)
Assignee: SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD.
G06F3/0652G06F3/0604G06F3/0679
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,386,544
App. No.
18/865,269
Granted
Aug 12, 2025
Kind
B2
Abstract

Provided are a method, apparatus and device for erasing server data. The method includes: receiving a target data erasure strategy sent from a human-machine interaction device; in response to the target data erasure strategy being a fast erasure strategy, erasing a specified type of data in a hard disk drive of a server to be processed; and in response to the target data erasure strategy being a safe erasure strategy and a hard disk drive alarm existing in the server to be processed, performing data erasure on a part of the hard disk drive of the server to be processed except a sector to be mapped, and erasing data other than hard disk drive data of the server to be processed.

Claims (60)

1. A method for erasing server data, applied to a server, comprising:

receiving a target data erasure strategy sent from a human-machine interaction device;

in response to the target data erasure strategy being a fast erasure strategy, erasing a specified type of data in a hard disk drive of a server to be processed; and

in response to the target data erasure strategy being a safe erasure strategy and a hard disk drive alarm existing in the server to be processed, performing data erasure on a part of the hard disk drive of the server to be processed except a sector to be mapped, and erasing data other than hard disk drive data of the server to be processed;

in response to the target data erasure strategy being a delisting erasure strategy, erasing all the hard disk drive data in the server to be processed, and erasing the data other than the hard disk drive data of the server to be processed;

wherein the specified type of data further comprises header data and a file allocation table of a disk volume,

wherein the step of in response to the target data erasure strategy being a safe erasure strategy and a hard disk drive alarm existing in the server to be processed, performing data erasure on a part of the hard disk drive of the server to be processed except a sector to be mapped, and erasing data other than hard disk drive data of the server to be processed further comprises:

in response to the target data erasure strategy being the safe erasure strategy, determining whether the hard disk drive alarm exists in the server to be processed;

in response to the hard disk drive alarm existing in the server to be processed, performing data erasure on the part of the hard disk drive of the server to be processed except the sector to be mapped, and erasing the data other than the hard disk drive data of the server to be processed; and

in response to no hard disk drive alarm existing in the server to be processed, erasing all the hard disk drive data of the server to be processed, and erasing the data other than the hard disk drive data of the server to be processed.

2. The method for erasing server data according to claim 1 , wherein after the step of in response to the target data erasure strategy being a fast erasure strategy, erasing a specified type of data in a hard disk drive of a server to be processed, the method for erasing server data further comprises:

not deleting usage records and data for other hardware in the server to be processed.

3. The method for erasing server data according to claim 1 , wherein the determining whether the hard disk drive alarm exists in the server to be processed further comprises:

determining whether the hard disk drive alarm exists in the server to be processed by actively reading a register where hard disk drive alarm information is located.

4. The method for erasing server data according to claim 1 , wherein the erasing the data other than the hard disk drive data of the server to be processed further comprises at least one of:

deleting usage records of firmware in the server to be processed and deleting data in a persistent memory (PMEM).

5. The method for erasing server data according to claim 4 , wherein the deleting usage records of firmware in the server to be processed and deleting data in a persistent memory (PMEM) further comprises at least one of:

deleting the usage records of the firmware in the server to be processed by calling a firmware interface; and

deleting data in the persistent memory (PMEM) in the server to be processed by means of a command line script.

6. The method for erasing server data according to claim 1 , wherein the step of performing data erasure on the part of the hard disk drive of the server to be processed except the sector to be mapped, and erasing the data other than the hard disk drive data of the server to be processed, further comprises:

counting starting and ending positions of all sectors to be mapped in the hard disk drive of the server to be processed;

constructing an erasure isolation table of the sectors to be mapped according to the starting and ending positions counted;

performing data erasure on sectors other than the sectors are in the erasure isolation table in the hard disk drive of the server to be processed; and

erasing the data other than the hard disk drive data of the server to be processed.

7. The method for erasing server data according to claim 1 , further comprising:

during performing data erasure, controlling a prompter to prompt a current data erasure progress of the server to be processed.

8. The method for erasing server data according to claim 7 , wherein the step of during performing data erasure, controlling a prompter to prompt a current data erasure progress of the server to be processed, further comprises:

acquiring a total amount of all the data to be erased that is pre-calculated, calculating the amount of data that has been erased in real time, calculating a percentage progress of data erasure according to the total amount of all data to be erased and the amount of data that has been erased; and

during performing data erasure, controlling the prompter to prompt the current percentage progress of data erasure of the server to be processed.

9. The method for erasing server data according to claim 1 , wherein the erasing all the hard disk drive data in the server to be processed further comprises:

invoking an array card tool to erase all the data on a hard disk drive connected to the array card; and

erasing all the data of a hard disk drive directly connected to the server to be processed by overwriting a random number.

10. The method for erasing server data according to claim 9 , wherein data erasure actions are performed for multiple times for both the hard disk drive connected to the array card and the hard disk drive directly connected to the server.

11. The method for erasing server data according to claim 1 , wherein the step of in response to the target data erasure strategy being a fast erasure strategy, erasing a specified type of data in a hard disk drive of a server to be processed, further comprises:

for the hard disk drive connected to an array card, deleting the header data and the file allocation table of the disk volume by using a rapid reorganization technology of the array card.

12. The method for erasing server data according to claim 1 , wherein all data erasure strategies are stored in a memory card;

wherein the memory card is fixed in a card slot on a mainboard of the server by means of plug-in mounting.

13. The method for erasing server data according to claim 12 , wherein the memory card is embedded with a specified operating system;

wherein the memory card is in a quiesced state when being not activated;

the receiving a target data erasure strategy sent from a human-machine interaction device further comprises:

in response to an instruction for activating the memory card, booting up the specified operating system in the memory card and executing the step of receiving the target data erasure strategy sent from the human-machine interaction device.

14. The method for erasing server data according to claim 12 , further comprising:

controlling the card slot where the memory card is located to be powered off in response to not receiving the instruction for activating the memory card; and

controlling the card slot where the memory card is located to be powered on in response to receiving the instruction for activating the memory card.

15. A device for erasing server data, comprising:

a memory configured for storing a computer program; and

a processor configured for executing the computer program to implement operations of:

receiving a target data erasure strategy sent from a human-machine interaction device;

in response to the target data erasure strategy being a fast erasure strategy, erasing a specified type of data in a hard disk drive of a server to be processed; and

in response to the target data erasure strategy being a safe erasure strategy and a hard disk drive alarm existing in the server to be processed, performing data erasure on a part of the hard disk drive of the server to be processed except a sector to be mapped, and erasing data other than hard disk drive data of the server to be processed;

wherein the specified type of data further comprises header data and a file allocation table of a disk volume.

16. The device for erasing server data according to claim 15 , wherein the processor is further configured for:

in response to the target data erasure strategy being a delisting erasure strategy, erasing all the hard disk drive data in the server to be processed, and erasing the data other than the hard disk drive data of the server to be processed.

17. The device for erasing server data according to claim 15 , wherein the processor is further configured for:

after the step of in response to the target data erasure strategy being a fast erasure strategy, erasing a specified type of data in a hard disk drive of a server to be processed, not deleting usage records and data for other hardware in the server to be processed.

18. A non-transient computer readable storage medium storing a computer program that, when executed by a processor, implements operations of:

receiving a target data erasure strategy sent from a human-machine interaction device;

in response to the target data erasure strategy being a fast erasure strategy, erasing a specified type of data in a hard disk drive of a server to be processed; and

in response to the target data erasure strategy being a safe erasure strategy and a hard disk drive alarm existing in the server to be processed, performing data erasure on a part of the hard disk drive of the server to be processed except a sector to be mapped, and erasing data other than hard disk drive data of the server to be processed;

wherein the specified type of data further comprises header data and a file allocation table of a disk volume.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 12, 2024
From: LIU, CHENGPING; ZHANG, YUFENG; GUO, FENG
To: SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 069237/0506 →
Priority Claims (1)
CN 202211231505.X · Oct 10, 2022 · national
Continuity (1)
Related Publication 20250110656A1 · Apr 3, 2025
References Cited (16)
US 6757842B2 · Harari · 2004 [cited by examiner]
US 11543992B2 · Bhat · 2023 [cited by examiner]
US 20060117136A1 · Tran et al. · 2006 [cited by applicant]
US 20100318810A1 · Strom · 2010 [cited by examiner]
US 20110242590A1 · Takahashi · 2011 [cited by examiner]
US 20140136577A1 · Cherel · 2014 [cited by examiner]
US 20150106562A1 · Helmer · 2015 [cited by examiner]
US 20190121571A1 · Wahla · 2019 [cited by examiner]
US 20190303029A1 · Brown · 2019 [cited by examiner]
US 20200183595A1 · Goda · 2020 [cited by examiner]
US 20210311650A1 · Tsu · 2021 [cited by examiner]
US 20220137850A1 · Boddu · 2022 [cited by examiner]
CN 205028663U · 2016 [cited by applicant]
CN 114115724A · 2022 [cited by applicant]
CN 114816269A · 2022 [cited by applicant]
CN 115309346A · 2022 [cited by applicant]