CPC G06F 3/061 (2013.01) [G06F 3/06 (2013.01); G06F 3/0611 (2013.01); G06F 3/0653 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01); G06N 5/04 (2013.01); G06N 20/00 (2019.01); G06N 3/092 (2023.01)] | 20 Claims |
1. A method for accessing data of a solid-state drive, comprising:
obtaining an I/O data stream to be written into the solid-state drive;
dividing the I/O data stream to be written into a plurality of groups based on a plurality of rewriting times using a learning model,
wherein:
the learning model comprises a plurality of neural structure layers comprising an output layer, one or more coding layers, and one or more decoding layers, wherein the output layer generates a result characteristic set; and
dividing the I/O data stream using the learning model comprises:
inputting a set of data characteristics associated with the I/O data stream into the learning model, the set of data characteristics being obtained from one or more hash values in a hash table, the one or more hash values corresponding to the I/O data stream;
calculating, through one of the one or more coding layers, a weight matrix based on the set of data characteristics; and
inputting the weight matrix into one of the one or more decoding layers for decoding performed by the one of the one or more decoding layers, the one of the one or more decoding layers corresponding to the one of the one or more coding layers; and
determining a corresponding target data block of the solid-state drive for writing each group of the plurality of groups of the I/O data stream, respectively, and writing each group of the plurality of groups of the I/O data stream to the corresponding target data block, respectively, so that two or more groups of the I/O data stream are not written in a same target data block.
|