Patent ID: 9239802
Filing Date: 2016-01-19
CPC Classification: G06F,Y04S

Claim Text:
1. A method for locking and unlocking an eMMC flash disk by using a physical USB device with a plug server, wherein the internet is not available to the plug server, comprising the steps of: mounting the USB device to the plug server via a serial port connector, wherein the serial port connector is attached to the plug server; powering on the plug server to start the boot sequence on the USB device, wherein the boot sequence mounts the plug server as an external device to the USB device, mounts a partition, and uses a key file to decrypt the partition; obtaining a user password to generate a key, wherein the key is transferred to the USB device to save as the key file; creating the partition on the eMMC flash disk, wherein the partition is initialized by using a block level device encryption algorithm and the key, formatted by allocating zeros, and is mounted to a local directory on the plug server; creating one or more key slots in the partition, wherein the key is put into the first of the key slots; obtaining parent hardware attributes from the plug server, wherein the attributes are coupled with the key in the key slot; obtaining child hardware attributes from the USB device, wherein the attributes are coupled with the key in the key slot; locating a root file system on the eMMC flash disk, wherein the root file system contains web server files, database files, and application data files; moving the web server files, the database files, and the application data files into the mounted local directory, wherein the files are removed from the root file system; swapping out the eMMC flash disk from the plug server; for each first key slot of the key slots, determining if the first key slot contains the key that match the key file, determining if the key is coupled with the parent hardware attributes, and determining if the key is coupled with the child hardware attributes; and for each of the first key slots that contains the key that matches the key file, is coupled with the parent hardware attributes, and is coupled with the child hardware attributes, starting an web server instance, a database instance, and an application instance, wherein the web server instance, the database instance, and the application instance are uniquely identified by the combination of the hardware attributes of the plug server and the hardware attributes of the USB device.