摘要 |
The present invention relates to an encoding method for an SSD-based RAID system. The encoding method comprises the steps of: reading, from a storage device, two binary blocks with a predetermined word size; transmitting, to an exclusive-OR (XOR) gate, a decimal number corresponding to each of the read two binary blocks as an operand; searching the XOR result for the transmitted operand in an XOR reference matrix (XRM); checking whether all of the blocks in the storage device are read after searching the XOR result; and recording binary data corresponding to the XOR result in a parity block when all of the blocks in the storage device are read. |