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

Claim 0:
1. A method for testing a conversion relationship between block reading and page reading in a flash memory chip, comprising:
writing random numbers to obtain a test sample block, performing M times of block reading on the test sample block, recording first BER information, and storing 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;
determining a test starting point value, a test ending point value and a test step length value, randomly selecting pages from N pages in the test sample block, performing page reading of which number of times is equal to the test starting point value, recording second BER information, and storing the second BER information as a page reading bit error rate file;
randomly selecting pages, performing page reading of which the number of times is equal to the test step length value, recording third BER information, and storing the third BER information as the page reading bit error rate file; and repeatedly executing 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;
analyzing the block reading bit error rate file and a plurality of page reading bit error rate files, setting a bit error rate threshold value, calculating 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 calculating 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, recording the number of times of page reading PR_num_similar under the page reading bit error rate file; and
calculating a conversion coefficient of the block reading and the page reading at current number of times of erasure.