Patent ID: 11947819
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 5:
6. A readable storage medium, for storing a computer program, wherein when executed by a processor, the computer program is configured to cause the at least one processor to:
write random numbers to obtain a test sample block, perform M times of block reading on the test sample block, record first BER information, and store the first BER information as a block reading bit error rate file, wherein M represents the maximum number of times of reading supported by the flash memory chip;
determine a test starting point value, a test ending point value and a test step length value, randomly select pages from N pages in the test sample block, perform page reading of which number of times is equal to the test starting point value, record second BER information, and store the second BER information as a page reading bit error rate file;
randomly select pages, perform page reading of which the number of times is equal to the test step length value, record third BER information, and store the third BER information as the page reading bit error rate file; and repeatedly execute the following steps for the number of times of, the
    ⁢
       
    test
    ⁢
       
    ending
    ⁢
       
    point
    ⁢
       
    value
   
   -
   
    the
    ⁢
       
    test
    ⁢
       
    starting
    ⁢
       
    point
    ⁢
       
    value
   
  
  
   the
   ⁢
      
   test
   ⁢
      
   step
   ⁢
      
   length
   ⁢
      
   value, randomly selecting the pages, performing the page reading of which the number of times is equal to the test step length value, recording the third BER information, and storing the third BER information as the page reading bit error rate file;
analyze the block reading bit error rate file and a plurality of page reading bit error rate files, set a bit error rate threshold value, calculate the number of bit error rates greater than the bit error rate threshold value in the block reading bit error rate file and a proportion P_br, as reference values; and calculate number of bit error rates greater than the bit error rate threshold value in each of the plurality of the page reading bit error rate files and a proportion P_pr_num, and in a case that a difference value between the P_br and P_pr_num is the minimum, record the number of times of page reading PR_num_similar under the page reading bit error rate file; and
calculate a conversion coefficient of the block reading and the page reading at current number of times of erasure.