Patent ID: 7783918

Claim:
A data protection method of a storage device, applied in a computer, wherein the computer is at least composed of a first storage device, a second storage device, an interrupt service routine (ISR), a hardware control unit, a system management interrupt (SMI) program, and an operating system (OS), and the first storage device is consisted of a plurality of blocks, the data protection method comprising: ordering the hardware control unit to obtain a type and an address message of an error in a block having the error in the first storage device and storing the type and the address message in the second storage device using the SMI program; reading the type and the address message of the error in the first storage device from the second storage device using the ISR; ordering the OS to search for a block that is accessed normally and not damaged in the first storage device and setting the block as a reserved block using the ISR; and transmitting the error address message of the first storage device to the OS, such that the OS copies the data stored in the block having the error in the first storage device to the reserved block using the ISR, wherein when the first storage device has no available blocks, the OS uses a disk to simulate a virtual memory to be used as a memory.