Patent ID: 11861210
Assignee: SHENZHEN DAPU MICROELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for data processing applied to a solid state drive, comprising:
acquiring an interface protocol command received by the solid state drive;
parsing the interface protocol command to obtain I/O information from the interface protocol command, wherein the I/O information comprises at least one I/O timestamp, an I/O type, and an I/O size;
invoking machine learning based on the I/O information to predict I/O information of a first future time period, comprising:
preprocessing the I/O information to obtain a first I/O information table stored in the solid state drive;
combining multiple adjacent I/O operations in the first I/O information table into at least one I/O operation;
obtaining I/O prediction results of the first future time period by using at least one long-short term memory (LSTM) neural network with feature values extracted from the at least one combined I/O operation; and
post-processing the I/O prediction results to adjust the I/O prediction results; and

assessing the I/O prediction results by using a first formula to evaluate an accuracy of the I/O prediction results, wherein the first formula comprises:, r
  =
  
    
      
        ∑
        
          i
          =
          1
        
        n
      
      ⁢
      
        
          (
          
            
              x
              i
            
            -
            
              x
              _
            
          
          )
        
        ⁢
        
          (
          
            
              y
              i
            
            -
            
              y
              _
            
          
          )
        
      
    
    
      
        
          
            ∑
            
              i
              =
              1
            
            n
          
          ⁢
          
            
              (
              
                
                  x
                  i
                
                -
                
                  x
                  _
                
              
              )
            
            2
          
        
      
      ⁢
      
        
          
            ∑
            
              i
              =
              1
            
            n
          
          ⁢
          
            
              (
              
                
                  y
                  i
                
                -
                
                  y
                  _
                
              
              )
            
            2
          
        
      
    
  

wherein r represents an accuracy rate, xi represents an actual intensity of the I/O operation, yi represents a predicted I/O intensity, x represents an average value of a set of xi, and y represents an average value of a set of yi, so that a processor of the solid state drive is configured to proactively execute solid state drive management functions according to the I/O prediction results.