Patent ID: 11954333
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 19:
20. A data storage device comprising:
a non-volatile storage medium;
means for storing at least one file system control block, the file system control block comprising a first partition of the non-volatile storage medium configured to store:
firmware of the data storage device; and
at least one reference data structure comprised of records for protocol commands or malicious data;

means for storing, in a second partition of the non-volatile storage medium, user data blocks configured to store user data from a host computer system, wherein:
a device controller in the data storage device controls the at least one file system control block; and
the host computer system controls the user data blocks through storage commands to the data storage device;

means for writing the firmware of the data storage device and the at least one reference data structure to the first partition;
means for writing the user data blocks to the second partition;
means for temporarily storing user data transferred from the host computer system to the means for storing the user data blocks;
means for scanning, from the means for temporarily storing the user data and by the device controller in the data storage device, the user data for each write command in the means for temporarily storing the user data for protocol commands or malicious data, wherein scanning comprises comparing the user data for each write command to the records in the at least one reference data structure in the first partition; and
means for stopping the data transfer of the user data from the means for temporarily storing the user data to the second partition responsive to at least one of protocol commands or malicious data being detected in the user data for at least one write command.