Data protection method of USB storage device based on magnetic disc virtual technology

The invention provides a data protection method of a USB (Universal Serial Bus) storage device based on a magnetic disc virtual technology. The data protection method comprises the following steps: 10) generating a U-disc verification key, a user verification key and an encryption and decryption key through a U-disc initialization module, dividing a U disc into an ordinary partition, an encryption partition and a log partition, and hiding the encryption partition and the log partition; 20) enabling the encryption and decryption key to disappear after performing strategy encryption on the U disc and saving the U-disc verification key and the user verification key; 30) calculating a user key through an authentication module by utilizing an access key, further calculating the encryption and decryption key by the user key and the user verification key and verifying a strategy and the U-disc verification key; 40) enabling authentication to succeed, accessing the encryption partition by a user, and operating a recording module to record an operation action of the encryption partition into the log partition; and 50) terminating access and relieving the carrying between a virtual device and a window roll through a device carrying module. According to the data protection method disclosed by the invention, the data protection function of the USB storage device can be realized in a software layer.