Patent ID: 7992214

Claim:
A method for protecting memory proprietary commands, applicable to a host end using a logic block area (LBA) mode to transmit a proprietary command to a device end, said proprietary command being included in an LBA transmission unit, said LBA transmission unit having a header and a data sector, said header having an LBA address and said data sector having said proprietary command, said device end having a memory and a controller, said method comprising the steps of: Step 1 : said host end selecting a specific point address and a plurality of characteristic point addresses from said data sector of said LBA transmission unit, entering step 2 ; Step 2 : selecting a plurality of signature values to be stored in said characteristic point addresses respectively, entering step 3 ; Step 3 : using a computation function to compute a mark value from said signature values, entering step 4 ; Step 4 : storing said mark value in said specific point address, entering step 5 ; Step 5 : transmitting said LBA transmission unit having said mark value and said signature values in LBA mode, entering step 6 ; Step 6 : said controller of said device end receiving said LBA transmission unit, entering step 7 ; Step 7 : extracting said LBA address from said header of said LBA transmission unit, entering step 8 ; Step 8 : determining whether said LBA address is within or outside a pre-defined range; if outside of said pre-define range, entering step 9 ; otherwise, entering step 10 ; Step 9 : executing said proprietary command in said data sector, entering step 16 ; Step 10 : extracting said characteristic point addresses from said data sector of said LBA transmission unit, entering step 11 ; Step 11 : performing computation function on said signature values to obtain a comparison value, entering step 12 ; Step 12 : extracting said mark value from said specific point address of said data sector, entering step 13 ; Step 13 : comparing said comparison value against said mark value; if said comparison value is different from said mark value, entering step 14 ; otherwise entering step 15 ; Step 14 : executing normal data storage operation, entering step 16 ; Step 15 : executing said proprietary command in said data sector, entering step 16 ; and Step 16 : termination.