The invention discloses a data protection method and
system based on a
USB flash disk, and relates to the technical field of
USB flash disk security, and the method comprises the steps: obtaining the
working environment data of a storage medium, collecting the number of interference sources in a
signal interference region, and obtaining an environment interference degree evaluation value through
processing; dynamically adjusting a preset storage medium state
risk assessment threshold according to the environment interference degree assessment value; monitoring the state data of the storage medium,
processing the state data to obtain a storage medium position anomaly evaluation value, and performing monitoring period division according to the storage medium position anomaly evaluation value to obtain a first monitoring period and a second monitoring period; performing primary data protection according to the state data of the storage medium in the first monitoring period; and according to the state data of the storage medium in the second monitoring period and the environment interference degree assessment value, performing comprehensive analysis to obtain a storage medium state
risk assessment value, and performing secondary data protection according to the storage medium state
risk assessment value.