Flash memory performance testing method, device, electronic equipment and computer program product
By conducting read and write tests on flash memory particles under different temperature conditions, we obtain performance data under extreme temperatures, which solves the problem of performance degradation of flash memory particles under extreme temperatures in the existing technology and achieves more accurate performance evaluation and data. Storage reliability.
Patent Information
- Application Number
- CN202410895058.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-05
AI Technical Summary
When evaluating the performance of flash memory particles, the existing technology ignores extreme temperature conditions, resulting in performance degradation and data loss in actual applications, and lacks an accurate evaluation method for wide-temperature application capabilities.
By obtaining the read and write test data of flash memory particles under different temperature conditions, including normal temperature, multiple sets of high-temperature write and low-temperature read data, and low-temperature write and high-temperature read data, the performance test results at different temperatures are calculated and compared horizontally, and it is concluded that Comprehensive performance test results.
It improves the comprehensiveness and accuracy of flash memory testing, enables more accurate analysis of the flash memory particles' own capabilities and adaptability to wide-temperature environments, and ensures the reliability and security of data storage.
Smart Images

Figure CN118430633B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of flash memory testing, and in particular relates to a flash memory performance testing method, device, electronic equipment and computer program product. Background Art
[0002] Flash memory particles, as the core components of modern data storage, are directly related to the reliability and security of data storage. With the advancement of technology, the types of flash memory particles are increasing, from the early SLC (single-layer cell) to MLC (multi-layer cell), and then to the current TLC (triple-layer cell). Its storage capacity is constantly improving, but at the same time, the problem of its performance and reliability being affected by temperature is becoming increasingly prominent.
[0003] In the prior art, the structural design of flash memory particles mainly focuses on improving storage capacity, read and write speed, and durability. However, in actual applications, due to the limitations of the material properties and working principles of flash memory particles, they often experience performance degradation in extreme temperature environments. At the same time, existing products (such as various flash drives, solid-state drives, etc.) have a very wide range of applications, ranging from personal consumer electronics to industrial control, aerospace and other fields. Therefore, with the expansion of application areas, especially in some extreme temperature environments (such as polar scientific research, deep-sea exploration, etc.), the performance requirements for flash memory particles are becoming higher and higher. Relevant data show that when the ambient temperature exceeds the normal operating range of flash memory particles, their read and write speeds may drop by as much as 50% or more, and data retention may also be greatly reduced. Especially in extremely low or high temperature environments, the failure rate of flash memory particles will increase significantly, which will seriously affect the reliability of data storage.
[0004] However, most of the existing evaluation methods only focus on the performance of flash memory particles at room temperature, but ignore the application of flash memory particles under extreme temperature conditions. As a result, many flash memory particles will experience serious performance degradation or even data loss in actual applications, especially in extreme temperature environments. Based on this, the existing technology has many deficiencies in evaluating the wide-temperature application capability of flash memory particles, and a more accurate and comprehensive testing method is urgently needed to solve the above problems. Summary of the invention
[0005] The purpose of the present invention is to provide a flash memory performance testing method, device, electronic device and computer program product to solve the problem of incomplete and inaccurate test results caused by flash memory particle performance testing at room temperature in the prior art.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] In a first aspect, a flash memory performance testing method is provided, comprising:
[0008] Acquire first read-write test data of the target flash memory at a specified temperature, second read-write test data at at least one first temperature data, and third read-write test data at at least one second temperature data, wherein any first temperature data includes a first write temperature and a first read temperature, any second temperature data includes a second write temperature and a second read temperature, the first write temperature is greater than the first read temperature, the second write temperature is less than the second read temperature, the first write temperature and the second read temperature are both higher than a first preset temperature, the first read temperature and the second write temperature are both lower than a second preset temperature, the first preset temperature is higher than the second preset temperature, and the specified temperature is between the second preset temperature and the first preset temperature;
[0009] Determining a first performance test result of the target flash memory at a specified temperature based on the first read-write test data;
[0010] According to each second read-write test data, a second performance test result of the target flash memory at each first temperature data is obtained, and according to each third read-write test data, a third performance test result of the target flash memory at each second temperature data is obtained;
[0011] Using the first performance test result and each second performance test result, obtain first change data of the read and write performance of the target flash memory at each first temperature data compared to the read and write performance at the specified temperature; and using the first performance test result and each third performance test result, obtain second change data of the read and write performance of the target flash memory at each second temperature data compared to the read and write performance at the specified temperature;
[0012] A comprehensive performance test result of the target flash memory is obtained based on the first performance test result, each second performance test result, each third performance test result, each first change data and each second change data.
[0013] Based on the above disclosed content, the present invention obtains test data of flash memory particles under different temperature conditions when performing performance tests on the flash memory particles, wherein the test data includes first read-write test data at a specified temperature (i.e., test data at room temperature), second read-write test data under at least one first temperature data, and third read-write test data under at least one second temperature data; specifically, the first temperature data and the second temperature data both include a write temperature and a read temperature, but the write temperature in the first temperature data is greater than the read temperature, the write temperature in the second temperature data is less than the read temperature, and the write temperature in the first temperature data and the read temperature in the second temperature data are both greater than the first preset temperature, and the first temperature data The read temperature and the write temperature in the second temperature data are both lower than the second preset temperature (the first preset temperature is greater than the second preset temperature); thus, in addition to obtaining the test data under normal temperature conditions, the present invention is also equivalent to obtaining multiple sets of high-temperature writing and low-temperature reading test data and multiple sets of low-temperature writing and high-temperature reading test data; then, the performance test results of the target flash memory under different temperature conditions can be obtained based on the test data under different temperature conditions, and the performance change data of the target flash memory when working in high and low temperature environments and when working in normal temperature environments can be obtained based on the performance test results under different temperature conditions; finally, the comprehensive performance test results of the target flash memory can be obtained based on the test data and performance change data under the aforementioned different temperature conditions.
[0014] Through the above design, the present invention obtains the performance test results of the flash memory under different temperature conditions based on the performance test data of the flash memory at room temperature and the performance test data in multiple high and low temperature environments, and compares the performance test results in different high and low temperature environments with the performance test results at room temperature, so as to obtain corresponding performance change data; finally, the comprehensive performance test results of the flash memory can be obtained according to the aforementioned performance change data and the performance test results at different temperatures; thus, the present invention obtains the comprehensive performance of the flash memory based on the performance test data of the flash memory at room temperature and multiple high and low temperature environments. Compared with traditional technologies, the present invention can accurately and comprehensively analyze the flash memory's own capabilities and its adaptability to a wide temperature environment, thereby improving the comprehensiveness and accuracy of flash memory testing, and is therefore very suitable for large-scale application and promotion.
[0015] In a possible design, obtaining first read / write test data of a target flash memory at a specified temperature includes:
[0016] At the specified temperature, performing an erasing process and a writing process on the target flash memory to obtain a block erasing delay of each block in the target flash memory, a page programming delay of each page in each block, and the target flash memory after data is written;
[0017] Performing data reading processing on the target flash memory after the data is written, so as to obtain a page reading delay and an original bit error rate of each page in each block in the target flash memory after the data reading processing;
[0018] The first read-write test data is composed by using the block erase delay of each block in the target flash memory, the page programming delay of each page in each block, the page read delay and the raw bit error rate.
[0019] In a possible design, at the specified temperature, the target flash memory is erased and written to obtain a block erase delay of each block in the target flash memory, a page program delay of each page in each block, and the target flash memory after data is written, including:
[0020] At the specified temperature, performing a block erase process on the i-th block in the target flash memory, so as to obtain a block erase delay of the i-th block after the block erase process;
[0021] After the i-th block is subjected to a block erase process, a j-th page in the i-th block is subjected to a programming process to obtain a page programming delay of the j-th page;
[0022] Add 1 to j and reprogram the jth page in the i-th block until j equals m, and obtain the page programming delay of each page in the i-th block, where the initial value of j is 1 and m is the total number of pages in the i-th block;
[0023] i is incremented by 1, and the i-th block in the target flash memory is re-erased until i is equal to n, thereby obtaining the target flash memory after the data is written, as well as the block erase delay of each block in the target flash memory and the page programming delay of each page in each block, wherein the initial value of i is 1, and n is the total number of blocks in the target flash memory.
[0024] In one possible design, the first read-write test data includes a block erase delay of each block in the target flash memory at the specified temperature, and a page programming delay, a page read delay, and a raw bit error rate of each page in each block at the specified temperature;
[0025] Wherein, based on the first read-write test data, determining a first performance test result of the target flash memory at a specified temperature includes:
[0026] Obtaining a block erase delay threshold, a page programming delay threshold, a page read delay threshold, and a raw bit error rate threshold of the target flash memory at the specified temperature;
[0027] Counting the number of blocks in the target flash memory whose block erase delay is greater than the block erase delay threshold, the number of pages whose page programming delay is greater than the page programming delay threshold, the number of pages whose page read delay is greater than the page read delay threshold, and the number of pages whose raw bit error rate is greater than the raw bit error rate threshold, so as to obtain, after statistics, the abnormal block ratio, write abnormal page ratio, read abnormal page ratio and data transmission abnormal page ratio corresponding to the read and write test of the target flash memory at the specified temperature;
[0028] Based on the block erase delay of each block in the target flash memory at the specified temperature, deriving a mean block erase delay of the target flash memory at the specified temperature;
[0029] According to the page programming delay, page reading delay and raw bit error rate of each page in each block in the target flash memory at the specified temperature, the average programming delay, the average reading delay and the average raw bit error rate of the target flash memory at the specified temperature are obtained;
[0030] The first performance test result is composed of the abnormal block ratio, the write abnormal page ratio, the read abnormal page ratio, the data transfer abnormal page ratio, and the block erase delay mean, programming delay mean, read delay mean and raw bit error rate mean of the target flash memory at the specified temperature.
[0031] In a possible design, the first performance test result includes a block erase delay mean, a programming delay mean, a read delay mean, and a raw bit error rate mean of the target flash memory at the specified temperature, and any second performance test result includes a block erase delay mean, a programming delay mean, a read delay mean, and a raw bit error rate mean of the target flash memory under target temperature data, and the target temperature data is the first temperature data corresponding to any second performance test result;
[0032] Wherein, using the first performance test result and each second performance test result to obtain the read and write performance of the target flash memory at each first temperature data, compared with the first change data of the read and write performance at the specified temperature, includes:
[0033] For any of the second performance test results, calculating a change value between a mean value of block erase delay in any of the second performance test results and a mean value of block erase delay in the first performance test result, and calculating a change value between a mean value of programming delay in any of the second performance test results and a mean value of programming delay in the first performance test result, so as to obtain a block erase delay change value and a programming delay change value, respectively;
[0034] Calculate the change value between the mean value of the read latency in any of the second performance test results and the mean value of the read latency in the first performance test result, and determine the change value between the mean value of the original bit error rate in any of the second performance test results and the mean value of the original bit error rate in the first performance test result, so as to obtain the read latency change value and the bit error rate change value respectively;
[0035] Obtaining a block erase delay variation threshold, a programming delay variation threshold, a read delay variation threshold, and a bit error rate variation threshold, and counting the number of variation values exceeding the variation threshold from the block erase delay variation value, the programming delay variation value, the read delay variation value, and the bit error rate variation value, so as to obtain an abnormal variation value ratio using the counted number;
[0036] Using the abnormal change value ratio, the block erase delay change value, the programming delay change value, the read delay change value and the bit error rate change value, the read and write performance of the target flash memory at the target temperature data is obtained compared to the first change data of the read and write performance at the specified temperature.
[0037] In one possible design, the first performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory at the specified temperature, each second performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory under the corresponding first temperature data, and each third performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory under the corresponding second temperature data;
[0038] Wherein, according to the first performance test result, each second performance test result, each third performance test result, each first change data and each second change data, a comprehensive performance test result of the target flash memory is obtained, including:
[0039] Obtaining an erase delay weight, a programming delay weight, a read delay weight, a bit error rate weight, a first weight, and a second weight;
[0040] Multiplying the block erase delay mean value in the first performance test result by the erase delay weight, multiplying the programming delay mean value by the programming delay weight, multiplying the read delay mean value by the read delay weight, and multiplying the raw bit error rate mean value by the bit error rate weight, and adding the multiplied results to obtain a first intermediate value after the addition process;
[0041] Multiplying the block erase delay mean value in each second performance test result and each third performance test result by the erase delay weight, multiplying the programming delay mean value by the programming delay weight, multiplying the read delay mean value by the read delay weight, and multiplying the raw bit error rate mean value in each second performance test result and each third performance test result by the bit error rate weight, and adding the multiplication results corresponding to each second performance test result and each third performance test result to obtain a plurality of second intermediate values after the addition process;
[0042] Calculating the product of each first change data and the first weight, and the product of each second change data and the second weight, to obtain a plurality of third intermediate values and a plurality of fourth intermediate values respectively;
[0043] Obtaining the read / write performance value of the target flash memory by using the first intermediate value, the plurality of second intermediate values, the plurality of third intermediate values, and the plurality of fourth intermediate values;
[0044] Based on the read and write performance values, a comprehensive performance test result of the target flash memory is determined.
[0045] In a possible design, the first change data of the read / write performance of the target flash memory at any first temperature data compared to the read / write performance at the specified temperature includes: a block erase delay change value, a programming delay change value, a read delay change value, and a bit error rate change value;
[0046] Wherein, the method further comprises:
[0047] Determine the optimal operating temperature range of the target flash memory according to the block erase delay variation value, programming delay variation value, read delay variation value and bit error rate variation value in each first variation data and each second variation data;
[0048] Based on the optimal operating temperature range and the read-write performance values, a comprehensive performance test result of the target flash memory is obtained.
[0049] In a second aspect, a performance testing device for a flash memory is provided, comprising:
[0050] A test unit, used for obtaining first read-write test data of a target flash memory at a specified temperature, second read-write test data at at least one first temperature data, and third read-write test data at at least one second temperature data, wherein any first temperature data includes a first write temperature and a first read temperature, any second temperature data includes a second write temperature and a second read temperature, the first write temperature is greater than the first read temperature, the second write temperature is less than the second read temperature, the first write temperature and the second read temperature are both higher than a first preset temperature, the first read temperature and the second write temperature are both lower than a second preset temperature, the first preset temperature is higher than the second preset temperature, and the specified temperature is between the second preset temperature and the first preset temperature;
[0051] A performance analysis unit, configured to determine a first performance test result of the target flash memory at a specified temperature based on the first read-write test data;
[0052] A performance analysis unit, used to obtain a second performance test result of the target flash memory at each first temperature data according to each second read-write test data, and to obtain a third performance test result of the target flash memory at each second temperature data according to each third read-write test data;
[0053] a performance analysis unit, configured to obtain first change data of the read and write performance of the target flash memory at each first temperature data compared to the read and write performance at the specified temperature by using the first performance test result and each second performance test result, and to obtain second change data of the read and write performance of the target flash memory at each second temperature data compared to the read and write performance at the specified temperature by using the first performance test result and each third performance test result;
[0054] The performance analysis unit is further used to obtain a comprehensive performance test result of the target flash memory based on the first performance test result, each second performance test result, each third performance test result, each first change data and each second change data.
[0055] According to a third aspect, another flash memory performance testing device is provided. Taking the device as an electronic device as an example, the device includes a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the flash memory performance testing method as described in the first aspect or any one of the possible designs in the first aspect.
[0056] In a fourth aspect, a storage medium is provided, on which instructions are stored. When the instructions are executed on a computer, a performance testing method for the flash memory as in the first aspect or any possible design of the first aspect is executed.
[0057] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, causes the computer to execute a flash memory performance testing method as described in the first aspect or any possible design of the first aspect.
[0058] Beneficial effects:
[0059] (1) The present invention obtains the comprehensive performance of the flash memory based on the performance test data of the flash memory under normal temperature and multiple high and low temperature environments. Compared with the traditional technology, it can accurately and comprehensively analyze the inherent capabilities of the flash memory and its adaptability to a wide temperature environment, thereby improving the comprehensiveness and accuracy of the flash memory test. Therefore, it is very suitable for large-scale application and promotion.
[0060] (2) When performing performance testing, the present invention only uses blocks as the basic unit for evaluation when testing the erase delay, and the rest of the performance level and reliability evaluations are all performed on pages as the basic unit. Thus, compared with the traditional method of performing performance evaluation on a block basis, the present invention breaks the whole into parts, refines the problem, and only focuses on the final overall level and the proportion of the level with poor performance. In this way, the final evaluation result can be more practical and effective.
[0061] (3) The present invention can perform individual level analysis on a certain type of flash memory particles, so that flash memory particles with excellent wide temperature application capabilities can be screened out. These flash memory particles can still maintain good performance and reliability in a wide temperature environment, thereby ensuring the reliability and security of data storage.
[0062] (4) The present invention can also be used to support the selection of flash memory particles for industrial-grade SSDs; in particular, the present invention designs a test method for performance and reliability. Therefore, by using this method to test and analyze flash memory particles of different models, the particle's own level and adaptability to wide-temperature applications can be obtained. In this way, the advantages and disadvantages of various types of flash memory particles can be more clearly understood, thereby assisting users in making more accurate selection decisions.
[0063] (5) The present invention is a non-destructive test, and the entire process involves only a few rounds of reading and writing, which causes little damage to the flash memory particles themselves. Therefore, the present invention is very suitable for large-scale application and promotion. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 A schematic diagram of the steps of a flash memory performance testing method provided by an embodiment of the present invention;
[0065] Figure 2 A schematic diagram of the structure of a flash memory performance testing device provided by an embodiment of the present invention;
[0066] Figure 3A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0067] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.
[0068] It should be understood that although the terms first, second, etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another unit. For example, a first unit can be referred to as a second unit, and similarly, a second unit can be referred to as a first unit without departing from the scope of the exemplary embodiments of the present invention.
[0069] It should be understood that the term "and / or" that may appear in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, B exists alone, and A and B exist at the same time. The term " / and" that may appear in this article describes another type of association object relationship, indicating that two relationships may exist. For example, A / and B can represent two situations: A exists alone, and A and B exist alone. In addition, the character " / " that may appear in this article generally indicates that the previous and next associated objects are in an "or" relationship.
[0070] Example:
[0071] See also Figure 1 As shown, the performance testing method of the flash memory provided in the present embodiment obtains the performance test data of the flash memory particles at room temperature and multiple high and low temperature environments when performing the performance test. Then, the comprehensive performance of the flash memory can be obtained based on the performance test data of the flash memory at room temperature and multiple high and low temperature environments. In this way, compared with the traditional technology, the present method can accurately and comprehensively analyze the inherent capabilities of the flash memory and its adaptability to a wide temperature environment, thereby improving the comprehensiveness and accuracy of the flash memory test, and therefore, it is very suitable for large-scale application and promotion; among which, for example, the present method can be but not limited to running on the flash memory test end side, and optionally, the flash memory test end can be but not limited to a personal computer (personal computer, PC). It can be understood that the aforementioned execution subject does not constitute a limitation on the embodiments of the present application. Accordingly, the operation steps of the present method can be but not limited to the following steps S1 to S5.
[0072] S1. Obtain first read-write test data of the target flash memory at a specified temperature, second read-write test data at at least one first temperature data, and third read-write test data at at least one second temperature data, wherein any first temperature data includes a first write temperature and a first read temperature, any second temperature data includes a second write temperature and a second read temperature, the first write temperature is greater than the first read temperature, the second write temperature is less than the second read temperature, the first write temperature and the second read temperature are both higher than a first preset temperature, the first read temperature and the second write temperature are both lower than a second preset temperature, the first preset temperature is higher than the second preset temperature, and the specified temperature is within the second preset temperature. temperature and the first preset temperature; in specific applications, for example, the first preset temperature may be but not limited to 70 degrees Celsius, the second preset temperature may be but not limited to 0 degrees Celsius, and the specified temperature may be but not limited to any temperature between 20-40 degrees Celsius; therefore, the aforementioned first write temperature and the second read temperature are high temperatures greater than 70 degrees Celsius, while the first read temperature and the second write temperature are low temperatures below 0 degrees; based on this, this embodiment obtains the read and write test data of the target flash memory at room temperature, as well as multiple groups of high-temperature write and low-temperature read read and write test data and multiple groups of low-temperature write and high-temperature read read and write test data; therefore, performance evaluation can be performed based on the test data of the target flash memory at room temperature and in different high and low temperature environments.
[0073] Optionally, since the acquisition process of different read-write test data is the same, the first read-write test data is taken as an example for specific explanation below, and the process may be but is not limited to the following steps S11 to S13.
[0074] S11. At the specified temperature, the target flash memory is erased and written to obtain the block erase delay of each block in the target flash memory, the page programming delay of each page in each block, and the target flash memory after writing the data; in specific applications, this embodiment first performs data erasure processing in units of blocks, and then performs data writing processing in units of pages within the blocks; specifically, the aforementioned processing process can be but is not limited to the following steps S11a to S11d.
[0075] S11a. At the specified temperature, the i-th block in the target flash memory is subjected to a block erase process, so as to obtain the block erase delay of the i-th block after the block erase process. In this embodiment, the flash memory test end may, but is not limited to, execute a BLOCK ERASE (D8H) command to perform the block erase process of the i-th block, so that during the erase process, the block erase delay corresponding to the i-th block is recorded. After the erase process of the i-th block is completed, a data write operation may be performed, and the process may, but is not limited to, be as shown in the following step S11b.
[0076] S11b. After the block erasure processing is performed on the i-th block, the j-th page in the i-th block is programmed to obtain the page programming delay of the j-th page; in the present embodiment, the page programming processing refers to the process of writing data into the erased block, therefore, the page programming delay of the j-th page in the i-th block can be obtained during the page programming processing; and after completing the data writing operation of the j-th page, the data writing of the next page in the j-th block can be performed, and the cycle is continuously performed until all pages in the i-th block are polled; at this time, the data erasure and writing of the i-th block can be completed; wherein, the aforementioned cycle process can be but is not limited to as shown in the following step S11c.
[0077] S11c. Add 1 to j and reprogram the jth page in the i-th block until j is equal to m, and obtain the page programming delay of each page in the i-th block, wherein the initial value of j is 1, and m is the total number of pages in the i-th block; after completing the data erasing and writing of the i-th block based on the aforementioned steps S11a to S11c, the data erasing and writing process of the next block can be entered, and the cycle is continuously repeated until all blocks in the target flash memory are polled, wherein the block polling process can be but is not limited to as shown in the following step S11d.
[0078] S11d. Increment i by 1, and re-erase the i-th block in the target flash memory until i is equal to n, thereby obtaining the target flash memory after the data is written, as well as the block erase delay of each block in the target flash memory and the page programming delay of each page in each block, wherein the initial value of i is 1, and n is the total number of blocks in the target flash memory.
[0079] In this way, through the aforementioned steps S11a to S11d, the data erasing and writing processing of the target flash memory can be completed, thereby obtaining the block erase delay of each block therein and the page programming delay of each page in each block; then, a data read test can be performed, wherein the data read test process can be but is not limited to as shown in the following step S12.
[0080] S12. Performing data reading processing on the target flash memory after the data is written, so as to obtain the page reading delay and raw bit error rate of each page in each block in the target flash memory after the data reading processing; in this embodiment, data reading is still started from the jth page in the i-th block in the target flash memory after the data is written, and then all pages in the i-th block are polled, and then data reading of each page in the next block is performed, until all blocks are polled, the page reading delay and raw bit error rate of each page in each block in the target flash memory can be obtained; wherein, the raw bit error rate refers to the bit error rate (Raw Bit Error Rate) before using ECC (memory), and the raw bit error rate reflects the most original reliability state of the flash memory. The higher the raw bit error rate, the worse the reliability of the flash memory; and the bit error rate is the ratio between the number of error bits and the total number of bits transmitted in a period of time.
[0081] After completing the data erasing, writing and reading tests of the target flash memory at the specified temperature, the test data obtained above can be used to form the first read-write test data, and the process is shown in the following step S13.
[0082] S13. The first read-write test data is composed using the block erase delay of each block in the target flash memory, the page programming delay of each page in each block, the page read delay and the raw bit error rate.
[0083] Thus, through the aforementioned steps S11 to S13, the first read and write test data of the target flash memory at the specified temperature can be obtained, and then, the same method can be used to obtain its read and write test data under different first temperature data and second temperature data; specifically, taking any first temperature data as an example for explanation (assuming that the first internal write temperature is 80 degrees Celsius and the first read temperature is -2 degrees Celsius), the i-th block in the target flash memory is firstly subjected to block erasure processing at 80 degrees Celsius to obtain the corresponding block erase delay, and then the pages in the i-th block are subjected to page programming processing in turn to obtain the page programming delay of each page at 80 degrees Celsius; similarly, after completing the erasing and writing processing of the i-th block, the next block can be processed until all blocks are polled. At this time, the target flash memory at 80 degrees Celsius can be obtained. At 0 degrees Celsius, the block erase delay of each block inside it and the page programming delay of each page in each block; then, under a temperature environment of -2 degrees Celsius, data is read for each page in the i-th block in the target flash memory after the data is written (of course, it is also read in sequence by page), and the page read delay and original bit error rate of each page in the i-th block are obtained; finally, data is read for each page in the next block until all blocks are polled, and the page read delay and original bit error rate of each page inside it at -2 degrees Celsius can be obtained; thus, using the aforementioned data, the second read-write test data of the target flash memory under any of the aforementioned first temperature data can be composed; of course, the method for obtaining each third read-write test data is the same as the method for obtaining the second read-write test data in the aforementioned example, and will not be repeated here.
[0084] Furthermore, when obtaining the second read-write test data, the first write temperature can be fixed, and then the read-write test can be performed at different first read temperatures, thereby obtaining multiple second read-write test data; similarly, when obtaining the third read-write test data, the second read temperature can be fixed, and then the read-write test can be performed at different second write temperatures, thereby obtaining multiple third read-write test data; of course, the first write temperature and the first read temperature, as well as the second write temperature and the second read temperature can also be changed at the same time; in this embodiment, the aforementioned temperature data can be specifically set according to actual use, and is not limited to the aforementioned examples.
[0085] Based on this, after obtaining the read and write test data of the target flash memory under different temperature conditions through the aforementioned step S1 and its sub-steps, its performance test results at different temperatures can be analyzed; wherein, the performance analysis process at different temperatures can be but is not limited to as shown in the following steps S2 and S3.
[0086] S2. Based on the first read-write test data, determine a first performance test result of the target flash memory at a specified temperature. In this embodiment, the first performance test result can be obtained by, for example but not limited to, using the following steps S21 to S25.
[0087] S21. Obtain the block erase delay threshold, page programming delay threshold, page read delay threshold and raw bit error rate threshold of the target flash memory at the specified temperature; in specific implementation, the aforementioned thresholds can be pre-set in the flash memory test terminal and can be read when used; at the same time, the value of each threshold can be specifically set according to actual use and is not specifically limited here.
[0088] After obtaining the block erase delay, page programming delay, page read delay and raw bit error rate threshold of the target flash memory, statistics of abnormal blocks and pages can be performed, and the process is shown in the following step S22.
[0089] S22. Count the number of blocks in the target flash memory whose block erase delay is greater than the block erase delay threshold, the number of pages whose page programming delay is greater than the page programming delay threshold, the number of pages whose page read delay is greater than the page read delay threshold, and the number of pages whose raw bit error rate is greater than the raw bit error rate threshold, so as to obtain the abnormal block ratio, write abnormal page ratio, read abnormal page ratio and data transmission abnormal page ratio corresponding to the read and write test of the target flash memory at the specified temperature after counting; in this embodiment, it is equivalent to dividing the counted number of blocks by the total number of blocks to obtain the abnormal block ratio. Similarly, the number of pages whose page programming delay is greater than the page programming delay threshold and the number of pages whose page read delay is greater than the page read delay threshold are divided by the total number of pages in the target flash memory, and the corresponding read abnormal page ratio and data transmission abnormal page ratio can be obtained; of course, the calculation method of the data transmission abnormal page ratio is the same as the above example, which will not be repeated here.
[0090] In this way, by counting the number of blocks and pages that exceed the threshold and calculating the corresponding proportion, the individual differences of the target flash memory at a specified temperature (i.e., normal temperature) can be obtained. That is, the proportion exceeding the threshold represents the individual differences of some blocks or pages. The larger the ratio value, the more blocks / pages with poor reliability / performance there are.
[0091] After the proportion of abnormal blocks and pages is calculated based on the aforementioned steps S21 and S22, a performance analysis of read / write latency and data transmission may be performed, and the process may be, but is not limited to, as shown in the following steps S23 and S24.
[0092] S23. Based on the block erase delay of each block in the target flash memory at the specified temperature, the mean block erase delay of the target flash memory at the specified temperature is obtained; in this embodiment, the average value of the block erase delay of all blocks is obtained, which is used as the mean block erase delay of the target flash memory at the specified temperature; similarly, the mean programming delay, the mean read delay and the mean raw bit error rate are calculated in the same way, and the process is shown in the following step S24.
[0093] S24. According to the page programming delay, page reading delay and raw bit error rate of each page in each block in the target flash memory at the specified temperature, the mean programming delay, mean reading delay and mean raw bit error rate of the target flash memory at the specified temperature are obtained; in this embodiment, the mean can illustrate the overall level of the target flash memory, and the smaller the mean delay, the better the overall performance of the particles at room temperature.
[0094] After obtaining the block erase delay mean, programming delay mean, read delay mean and raw bit error rate mean of the target flash memory at a specified temperature based on the aforementioned steps S23 and S24, the first performance test result can be formed by combining the aforementioned abnormal block and page ratios, and the process can be but is not limited to as shown in the following step S25.
[0095] S25. The first performance test result is composed of the abnormal block ratio, the write abnormal page ratio, the read abnormal page ratio, the data transfer abnormal page ratio, and the block erase delay mean, programming delay mean, read delay mean, and raw bit error rate mean of the target flash memory at the specified temperature.
[0096] Therefore, through the aforementioned steps S21 to S25, the first performance test result of the target flash memory at room temperature can be obtained based on the first read-write test data; then, the performance test results of the target flash memory under each first temperature data and each second temperature data can be obtained based on each second read-write test data and each third read-write test data, and the process can be but is not limited to as shown in the following step S3.
[0097] S3. According to each second read-write test data, a second performance test result of the target flash memory under each first temperature data is obtained, and according to each third read-write test data, a third performance test result of the target flash memory under each second temperature data is obtained; in specific applications, each second performance test result includes the average block erase delay, the average programming delay, the average read delay and the average raw bit error rate of the target flash memory under the corresponding first temperature data (that is, the average delay, the average programming delay at the corresponding first write temperature, and the average read delay and the average raw bit error rate at the corresponding first read temperature). Similarly, each third performance test result also includes the average block erase delay, the average programming delay, the average read delay and the average raw bit error rate of the target flash memory under the corresponding second temperature data; wherein, the smaller the average of the aforementioned index items is, the better the read and write performance of the target flash memory at the corresponding temperature is.
[0098] Of course, the process of obtaining any second performance test result and any third performance test result is the same as the process of obtaining the aforementioned first performance test result, and the principle will not be repeated here.
[0099] After obtaining the performance test results of the target flash memory at different temperatures, a horizontal comparison of the test results may be performed, and the process may be, but is not limited to, as shown in the following step S4.
[0100] S4. Using the first performance test result and each second performance test result, obtain the first change data of the read and write performance of the target flash memory at each first temperature data compared to the read and write performance at the specified temperature, and using the first performance test result and each third performance test result, obtain the second change data of the read and write performance of the target flash memory at each second temperature data compared to the read and write performance at the specified temperature.
[0101] In the specific implementation, the following takes any second performance test result as an example to illustrate the specific calculation process of the aforementioned first change data, and the process is: for any second performance test result, first calculate the change value between the block erase delay mean value in any second performance test result and the block erase delay mean value in the first performance test result, and calculate the change value between the programming delay mean value in any second performance test result and the programming delay mean value in the first performance test result, so as to obtain the block erase delay change value and the programming delay change value respectively; then, calculate the change value between the read delay mean value in any second performance test result and the read delay mean value in the first performance test result, and determine the original bit error rate mean value in any second performance test result and the original bit error rate mean value in the first performance test result. Then, a block erase delay change threshold, a programming delay change threshold, a read delay change threshold and a bit error rate change threshold are obtained, and the number of change values exceeding the change threshold is counted from the block erase delay change value, the programming delay change value, the read delay change value and the bit error rate change value, so as to obtain the abnormal change value ratio by using the counted number; finally, the read and write performance of the target flash memory under the target temperature data (i.e., the first temperature data corresponding to any of the second performance test results mentioned above) can be obtained by using the abnormal change value ratio, the block erase delay change value, the programming delay change value, the read delay change value and the bit error rate change value, compared with the first change data of the read and write performance under the specified temperature.
[0102] In this embodiment, the difference between the mean value of the block erase delay in any second performance test result and the mean value of the block erase delay in the first performance test result is used as the block erase delay variation value; similarly, the calculation process of the programming delay variation value, the reading delay variation value and the bit error rate variation value is the same; wherein, the smaller the various variation values are, the smaller the data fluctuation generated by the target flash memory in the high and low temperature environment compared with the normal temperature, the smaller the temperature influence, and the higher the overall performance; similarly, by counting the number of indicators whose aforementioned variation values exceed the variation threshold and obtaining the corresponding ratio, it is possible to obtain an indicator of the target flash memory having a larger data fluctuation in the high and low temperature environment compared with the normal temperature (such as whether the block erase delay is more affected or the programming delay is more affected); in this way, by analyzing the changes in the test data in the high and low temperature environment compared with the normal temperature environment, the sensitivity of the flash memory particles to high and low temperature applications (including changes in performance and reliability) can be obtained, so as to determine whether the flash memory particles are reliable in a wide temperature environment.
[0103] In this way, through the aforementioned step S4, the performance change data of the target flash memory working in different high and low temperature environments compared to when working in a normal temperature environment is obtained, which is equivalent to obtaining a comparison of multiple temperature points. Based on this, a more accurate performance analysis result can be determined; of course, the calculation process of each second change data is the same as the calculation process of the first change data in the aforementioned example, and will not be elaborated here.
[0104] After completing the performance analysis of the target flash memory at different temperatures and the horizontal comparative analysis of the performance data at different temperatures based on the aforementioned steps S2 to S4, the comprehensive performance test results of the target flash memory can be determined based on the aforementioned analysis results. The process can be but is not limited to as shown in the following step S5.
[0105] S5. Based on the first performance test result, each second performance test result, each third performance test result, each first change data and each second change data, a comprehensive performance test result of the target flash memory is obtained; in a specific implementation, for example, but not limited to, the following steps S51 to S56 can be used to obtain the aforementioned comprehensive performance test result.
[0106] S51. Obtain erase delay weight, programming delay weight, read delay weight, bit error rate weight, first weight and second weight; in the present embodiment, the aforementioned weights are pre-set in the flash memory test terminal and can be read when used, and the value of each weight can be specifically set according to actual use, which is not specifically limited here; at the same time, the first weight can include but is not limited to programming delay change weight, reading delay change value weight and bit error rate change weight; of course, the types of weights included in the second weight are also the same, which will not be repeated here.
[0107] After obtaining the weights of different delays and bit error rates, performance analysis can be performed based on the weights, and the process may be, but is not limited to, as shown in the following steps S52 to S56.
[0108] S52. Multiply the mean value of the block erase delay in the first performance test result by the erase delay weight, multiply the mean value of the programming delay by the programming delay weight, multiply the mean value of the read delay by the read delay weight, and multiply the mean value of the original bit error rate by the bit error rate weight, and add the multiplied results to obtain a first intermediate value after the addition; in this embodiment, the aforementioned indicators are multiplied by the corresponding weights, and then the sum is calculated to obtain the corresponding first intermediate value; similarly, the processing process of each second performance test result and each third performance test result is the same, and the processing process can be but is not limited to the following step S53.
[0109] S53. Multiply the mean value of the block erase delay in each second performance test result and each third performance test result by the erase delay weight, multiply the mean value of the programming delay by the programming delay weight, multiply the mean value of the read delay by the read delay weight, and multiply the mean value of the original bit error rate in each second performance test result and each third performance test result by the bit error rate weight, and add the multiplication results corresponding to each second performance test result and each third performance test result to obtain a number of second intermediate values after the addition process; in this embodiment, each indicator in each second performance test result is multiplied by the corresponding weight and then added to obtain a second intermediate value; then, after polling all the second performance test results and the third performance test results, a number of second intermediate values can be obtained.
[0110] After completing the analysis and processing of each performance test result, the analysis of each first change data and second change data may be performed, and the process may be but not limited to that shown in the following step S54.
[0111] S54. Calculate the product of each first change data and the first weight, and the product of each second change data and the second weight, to obtain a number of third intermediate values and a number of fourth intermediate values respectively; in this embodiment, the block erase delay change value, programming delay change value, read delay change value and the bit error rate change value in each first change data are multiplied by the weight value of the corresponding type in the first weight, and then added together to obtain a third intermediate value; similarly, the same is true for the second change data, therefore, when all the first change data and the second change data are polled, a number of third intermediate values and a number of fourth intermediate values can be obtained; then, the first intermediate value and the second intermediate value can be combined to obtain the read and write performance value of the target flash memory; wherein, the calculation process of the read and write performance value can be but is not limited to as shown in the following step S55.
[0112] S55. The read and write performance values of the target flash memory are obtained using the first intermediate value, several second intermediate values, several third intermediate values and several fourth intermediate values; in this embodiment, the read and write performance values are obtained by summing up all the first intermediate values, the second intermediate values, the third intermediate values and the fourth intermediate values; then, the comprehensive performance test results of the target flash memory can be determined based on the read and write performance values, and the process is shown in the following step S56.
[0113] S56. Based on the read / write performance values, determine the comprehensive performance test results of the target flash memory; in the present embodiment, the higher the read / write performance values, the higher the comprehensive performance; at the same time, for example, but not limited to, based on the read / write performance values, the comprehensive performance can be divided into three levels: low, medium and high, wherein, when the read / write performance value is between [0,50], its comprehensive performance test result is determined as low performance, when the read / write performance value is between [50,80], its comprehensive performance test result is determined as medium performance; when the read / write performance value is between [80,100], its comprehensive performance test result is determined as high performance.
[0114] In addition, it has been explained above that each of the first change data and the second change data includes the change values of each delay and the change value of the bit error rate; therefore, the optimal operating temperature range of the target flash memory can be determined according to the block erase delay change value, programming delay change value, read delay change value and bit error rate change value in each of the first change data and each of the second change data, and then based on the optimal operating temperature range and the read-write performance value, the comprehensive performance test result of the target flash memory is obtained; specifically, the smaller the block erase delay change value, programming delay change value, read delay change value and bit error rate change value are, the less sensitive the target flash memory is to high and low temperatures, the smaller its data fluctuation is, and therefore, the stronger its adaptability under the temperature condition is; based on this, the first change data and the second change data can be used to determine the optimal operating temperature range of the target flash memory, and then the comprehensive performance test result of the target flash memory is obtained based on the optimal operating temperature range and the read-write performance value. The change data is used to filter out the minimum change data of the delay change value and the bit error rate change value, and then the corresponding temperature data is used as the optimal operating temperature range of the target flash memory; or, the temperature data corresponding to the change data with the smallest abnormal change value ratio (the smaller the abnormal change value ratio, the smaller the number of delay and bit error rate change values exceeding the change threshold, and the smaller the data fluctuation) is used as the optimal operating temperature range. For example, in the two temperature ranges of -40 to 85°C and -20 to 70°C, the change value of the target flash memory in -20 to 70°C is smaller, then it means that the target flash memory may not be suitable for a wide temperature environment of -40 to 85°C, but may be more suitable for a wide temperature environment of -20 to 70°C. Therefore, -20 to 70°C can be used as its corresponding optimal operating temperature range.
[0115] Based on this, the final comprehensive performance test results obtained based on the aforementioned steps S51 to S56 may include but are not limited to: read and write performance values and performance levels, and the optimal operating temperature range of the target flash memory.
[0116] Therefore, through the flash memory performance testing method described in detail in the aforementioned steps S1 to S5, the present invention obtains the performance test data of the flash memory particles at room temperature and multiple high and low temperature environments when performing performance testing, and then, the comprehensive performance of the flash memory can be obtained based on the aforementioned performance test data of the flash memory at room temperature and multiple high and low temperature environments. In this way, compared with traditional technologies, the present invention can accurately and comprehensively analyze the flash memory's own capabilities and its adaptability to a wide temperature environment, thereby improving the comprehensiveness and accuracy of flash memory testing, and is therefore very suitable for large-scale application and promotion.
[0117] like Figure 2 As shown, the second aspect of this embodiment provides a hardware device for implementing the flash memory performance testing method described in the first aspect of the embodiment, including:
[0118] A test unit, used for obtaining first read-write test data of a target flash memory at a specified temperature, second read-write test data under at least one first temperature data, and third read-write test data under at least one second temperature data, wherein any first temperature data includes a first write temperature and a first read temperature, any second temperature data includes a second write temperature and a second read temperature, the first write temperature is greater than the first read temperature, the second write temperature is less than the second read temperature, the first write temperature and the second read temperature are both higher than a first preset temperature, the first read temperature and the second write temperature are both lower than a second preset temperature, the first preset temperature is higher than the second preset temperature, and the specified temperature is between the second preset temperature and the first preset temperature.
[0119] The performance analysis unit is used to determine a first performance test result of the target flash memory at a specified temperature based on the first read-write test data.
[0120] The performance analysis unit is used to obtain the second performance test results of the target flash memory at each first temperature data according to each second read-write test data, and to obtain the third performance test results of the target flash memory at each second temperature data according to each third read-write test data.
[0121] A performance analysis unit is used to use the first performance test result and each second performance test result to obtain the first change data of the read and write performance of the target flash memory at each first temperature data compared to the read and write performance at the specified temperature, and to use the first performance test result and each third performance test result to obtain the second change data of the read and write performance of the target flash memory at each second temperature data compared to the read and write performance at the specified temperature.
[0122] The performance analysis unit is further used to obtain a comprehensive performance test result of the target flash memory based on the first performance test result, each second performance test result, each third performance test result, each first change data and each second change data.
[0123] The working process, working details and technical effects of the device provided in this embodiment can be found in the first aspect of the embodiment and will not be described in detail here.
[0124] like Figure 3 As shown, the third aspect of this embodiment provides another flash memory performance testing device, taking the device as an electronic device as an example, comprising: a memory, a processor and a transceiver that are communicatively connected in sequence, wherein the memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer program, and execute the flash memory performance testing method as described in the first aspect of the embodiment.
[0125] For example, the memory may include, but is not limited to, random access memory (RAM), read only memory (ROM), flash memory, first input first output (FIFO) and / or first in last out (FILO), etc. Specifically, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). At the same time, the processor may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state.
[0126] In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. For example, the processor may not be limited to a microprocessor of the STM32F105 series, a reduced instruction set computer (RISC) microprocessor, an X86 or other architecture processor, or a processor with an integrated embedded neural network processing unit (NPU); the transceiver may be, but is not limited to, a wireless fidelity (WIFI) wireless transceiver, a Bluetooth wireless transceiver, a general packet radio service technology (General Packet Radio Service, GPRS) wireless transceiver, a ZigBee protocol (a low-power local area network protocol based on the IEEE802.15.4 standard, ZigBee) wireless transceiver, a 3G transceiver, a 4G transceiver and / or a 5G transceiver, etc. In addition, the device may also include, but is not limited to, a power module, a display screen and other necessary components.
[0127] The working process, working details and technical effects of the electronic device provided in this embodiment can be found in the first aspect of the embodiment and will not be described in detail here.
[0128] The fourth aspect of this embodiment provides a storage medium that stores instructions for the flash memory performance testing method described in the first aspect of the embodiment, that is, the storage medium stores instructions, and when the instructions are run on a computer, the flash memory performance testing method described in the first aspect of the embodiment is executed.
[0129] The storage medium refers to a carrier for storing data, which may include but is not limited to a floppy disk, a CD, a hard disk, a flash memory, a USB flash drive and / or a memory stick, and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0130] The working process, working details and technical effects of the storage medium provided in this embodiment can be found in the first aspect of the embodiment and will not be described in detail here.
[0131] A fifth aspect of this embodiment provides a computer program product comprising instructions, which, when executed on a computer, causes the computer to execute the flash memory performance testing method as described in the first aspect of the embodiment, wherein the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
[0132] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A flash memory performance testing method, characterized in that: include: Acquire first read-write test data of the target flash memory at a specified temperature, second read-write test data at at least one first temperature data, and third read-write test data at at least one second temperature data, wherein any first temperature data includes a first write temperature and a first read temperature, any second temperature data includes a second write temperature and a second read temperature, the first write temperature is greater than the first read temperature, the second write temperature is less than the second read temperature, the first write temperature and the second read temperature are both higher than a first preset temperature, the first read temperature and the second write temperature are both lower than a second preset temperature, the first preset temperature is higher than the second preset temperature, and the specified temperature is between the second preset temperature and the first preset temperature; Determining a first performance test result of the target flash memory at a specified temperature based on the first read-write test data; According to each second read-write test data, a second performance test result of the target flash memory at each first temperature data is obtained, and according to each third read-write test data, a third performance test result of the target flash memory at each second temperature data is obtained; Using the first performance test result and each second performance test result, obtain first change data of the read and write performance of the target flash memory at each first temperature data compared to the read and write performance at the specified temperature; and using the first performance test result and each third performance test result, obtain second change data of the read and write performance of the target flash memory at each second temperature data compared to the read and write performance at the specified temperature; Obtaining a comprehensive performance test result of the target flash memory according to the first performance test result, each second performance test result, each third performance test result, each first change data, and each second change data; The first read-write test data includes a block erase delay of each block in the target flash memory at the specified temperature, and a page programming delay, a page read delay and a raw bit error rate of each page in each block at the specified temperature; Wherein, based on the first read-write test data, determining a first performance test result of the target flash memory at a specified temperature includes: Obtaining a block erase delay threshold, a page programming delay threshold, a page read delay threshold, and a raw bit error rate threshold of the target flash memory at the specified temperature; Counting the number of blocks in the target flash memory whose block erase delay is greater than the block erase delay threshold, the number of pages whose page programming delay is greater than the page programming delay threshold, the number of pages whose page read delay is greater than the page read delay threshold, and the number of pages whose raw bit error rate is greater than the raw bit error rate threshold, so as to obtain, after statistics, the abnormal block ratio, write abnormal page ratio, read abnormal page ratio and data transmission abnormal page ratio corresponding to the read and write test of the target flash memory at the specified temperature; Based on the block erase delay of each block in the target flash memory at the specified temperature, deriving a mean block erase delay of the target flash memory at the specified temperature; According to the page programming delay, page reading delay and raw bit error rate of each page in each block in the target flash memory at the specified temperature, the average programming delay, the average reading delay and the average raw bit error rate of the target flash memory at the specified temperature are obtained; The first performance test result is formed by using the abnormal block ratio, the write abnormal page ratio, the read abnormal page ratio, the data transmission abnormal page ratio, and the block erase delay mean, programming delay mean, read delay mean, and raw bit error rate mean of the target flash memory at the specified temperature; The first performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory at the specified temperature, each second performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory under the corresponding first temperature data, and each third performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory under the corresponding second temperature data; Wherein, according to the first performance test result, each second performance test result, each third performance test result, each first change data and each second change data, a comprehensive performance test result of the target flash memory is obtained, including: Obtaining an erase delay weight, a programming delay weight, a read delay weight, a bit error rate weight, a first weight, and a second weight; Multiplying the block erase delay mean value in the first performance test result by the erase delay weight, multiplying the programming delay mean value by the programming delay weight, multiplying the read delay mean value by the read delay weight, and multiplying the raw bit error rate mean value by the bit error rate weight, and adding the multiplied results to obtain a first intermediate value after the addition process; Multiplying the block erase delay mean value in each second performance test result and each third performance test result by the erase delay weight, multiplying the programming delay mean value by the programming delay weight, multiplying the read delay mean value by the read delay weight, and multiplying the raw bit error rate mean value in each second performance test result and each third performance test result by the bit error rate weight, and adding the multiplication results corresponding to each second performance test result and each third performance test result to obtain a plurality of second intermediate values after the addition process; Calculating the product of each first change data and the first weight, and the product of each second change data and the second weight, to obtain a plurality of third intermediate values and a plurality of fourth intermediate values respectively; Obtaining the read / write performance value of the target flash memory by using the first intermediate value, the plurality of second intermediate values, the plurality of third intermediate values, and the plurality of fourth intermediate values; Based on the read and write performance values, a comprehensive performance test result of the target flash memory is determined.
2. The method according to claim 1, characterized in that Obtain the first read and write test data of the target flash memory at a specified temperature, including: At the specified temperature, performing an erasing process and a writing process on the target flash memory to obtain a block erasing delay of each block in the target flash memory, a page programming delay of each page in each block, and the target flash memory after data is written; Performing data reading processing on the target flash memory after the data is written, so as to obtain a page reading delay and an original bit error rate of each page in each block in the target flash memory after the data reading processing; The first read-write test data is composed by using the block erase delay of each block in the target flash memory, the page programming delay of each page in each block, the page read delay and the raw bit error rate.
3. The method according to claim 2, characterized in that At the specified temperature, the target flash memory is erased and written to obtain a block erase delay of each block in the target flash memory, a page programming delay of each page in each block, and the target flash memory after data is written, including: At the specified temperature, performing a block erase process on the i-th block in the target flash memory, so as to obtain a block erase delay of the i-th block after the block erase process; After the i-th block is subjected to a block erase process, a j-th page in the i-th block is subjected to a programming process to obtain a page programming delay of the j-th page; Add 1 to j and reprogram the jth page in the i-th block until j equals m, and obtain the page programming delay of each page in the i-th block, where the initial value of j is 1 and m is the total number of pages in the i-th block; i is incremented by 1, and the i-th block in the target flash memory is re-erased until i is equal to n, thereby obtaining the target flash memory after the data is written, as well as the block erase delay of each block in the target flash memory and the page programming delay of each page in each block, wherein the initial value of i is 1, and n is the total number of blocks in the target flash memory.
4. The method according to claim 1, characterized in that: The first performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory at the specified temperature, and any second performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory under the target temperature data, and the target temperature data is the first temperature data corresponding to any second performance test result; Wherein, using the first performance test result and each second performance test result to obtain the read and write performance of the target flash memory at each first temperature data, compared with the first change data of the read and write performance at the specified temperature, includes: For any of the second performance test results, calculating a change value between a mean value of block erase delay in any of the second performance test results and a mean value of block erase delay in the first performance test result, and calculating a change value between a mean value of programming delay in any of the second performance test results and a mean value of programming delay in the first performance test result, so as to obtain a block erase delay change value and a programming delay change value, respectively; Calculate the change value between the mean value of the read latency in any of the second performance test results and the mean value of the read latency in the first performance test result, and determine the change value between the mean value of the original bit error rate in any of the second performance test results and the mean value of the original bit error rate in the first performance test result, so as to obtain the read latency change value and the bit error rate change value respectively; Obtaining a block erase delay variation threshold, a programming delay variation threshold, a read delay variation threshold, and a bit error rate variation threshold, and counting the number of variation values exceeding the variation threshold from the block erase delay variation value, the programming delay variation value, the read delay variation value, and the bit error rate variation value, so as to obtain an abnormal variation value ratio using the counted number; Using the abnormal change value ratio, the block erase delay change value, the programming delay change value, the read delay change value and the bit error rate change value, the read and write performance of the target flash memory at the target temperature data is obtained compared to the first change data of the read and write performance at the specified temperature.
5. The method according to claim 1, characterized in that The first change data of the read and write performance of the target flash memory at any first temperature data compared to the read and write performance at the specified temperature includes: a block erase delay change value, a programming delay change value, a read delay change value, and a bit error rate change value; Wherein, the method further comprises: Determine the optimal operating temperature range of the target flash memory according to the block erase delay variation value, programming delay variation value, read delay variation value and bit error rate variation value in each first variation data and each second variation data; Based on the optimal operating temperature range and the read-write performance values, a comprehensive performance test result of the target flash memory is obtained.
6. A performance testing device for a flash memory, characterized in that: include: A test unit, used for obtaining first read-write test data of a target flash memory at a specified temperature, second read-write test data at at least one first temperature data, and third read-write test data at at least one second temperature data, wherein any first temperature data includes a first write temperature and a first read temperature, any second temperature data includes a second write temperature and a second read temperature, the first write temperature is greater than the first read temperature, the second write temperature is less than the second read temperature, the first write temperature and the second read temperature are both higher than a first preset temperature, the first read temperature and the second write temperature are both lower than a second preset temperature, the first preset temperature is higher than the second preset temperature, and the specified temperature is between the second preset temperature and the first preset temperature; A performance analysis unit, configured to determine a first performance test result of the target flash memory at a specified temperature based on the first read-write test data; A performance analysis unit, used to obtain a second performance test result of the target flash memory at each first temperature data according to each second read-write test data, and to obtain a third performance test result of the target flash memory at each second temperature data according to each third read-write test data; a performance analysis unit, configured to obtain first change data of the read and write performance of the target flash memory at each first temperature data compared to the read and write performance at the specified temperature by using the first performance test result and each second performance test result, and to obtain second change data of the read and write performance of the target flash memory at each second temperature data compared to the read and write performance at the specified temperature by using the first performance test result and each third performance test result; The performance analysis unit is further used to obtain a comprehensive performance test result of the target flash memory according to the first performance test result, each second performance test result, each third performance test result, each first change data and each second change data; The first read-write test data includes a block erase delay of each block in the target flash memory at the specified temperature, and a page programming delay, a page read delay and a raw bit error rate of each page in each block at the specified temperature; Wherein, based on the first read-write test data, determining a first performance test result of the target flash memory at a specified temperature includes: Obtaining a block erase delay threshold, a page programming delay threshold, a page read delay threshold, and a raw bit error rate threshold of the target flash memory at the specified temperature; Counting the number of blocks in the target flash memory whose block erase delay is greater than the block erase delay threshold, the number of pages whose page programming delay is greater than the page programming delay threshold, the number of pages whose page read delay is greater than the page read delay threshold, and the number of pages whose raw bit error rate is greater than the raw bit error rate threshold, so as to obtain, after statistics, the abnormal block ratio, write abnormal page ratio, read abnormal page ratio and data transmission abnormal page ratio corresponding to the read and write test of the target flash memory at the specified temperature; Based on the block erase delay of each block in the target flash memory at the specified temperature, deriving a mean block erase delay of the target flash memory at the specified temperature; According to the page programming delay, page reading delay and raw bit error rate of each page in each block in the target flash memory at the specified temperature, the average programming delay, the average reading delay and the average raw bit error rate of the target flash memory at the specified temperature are obtained; The first performance test result is formed by using the abnormal block ratio, the write abnormal page ratio, the read abnormal page ratio, the data transmission abnormal page ratio, and the block erase delay mean, programming delay mean, read delay mean, and raw bit error rate mean of the target flash memory at the specified temperature; The first performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory at the specified temperature, each second performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory under the corresponding first temperature data, and each third performance test result includes the average block erase delay, the average programming delay, the average read delay, and the average raw bit error rate of the target flash memory under the corresponding second temperature data; Wherein, according to the first performance test result, each second performance test result, each third performance test result, each first change data and each second change data, a comprehensive performance test result of the target flash memory is obtained, including: Obtaining an erase delay weight, a programming delay weight, a read delay weight, a bit error rate weight, a first weight, and a second weight; Multiplying the block erase delay mean value in the first performance test result by the erase delay weight, multiplying the programming delay mean value by the programming delay weight, multiplying the read delay mean value by the read delay weight, and multiplying the raw bit error rate mean value by the bit error rate weight, and adding the multiplied results to obtain a first intermediate value after the addition process; Multiplying the block erase delay mean value in each second performance test result and each third performance test result by the erase delay weight, multiplying the programming delay mean value by the programming delay weight, multiplying the read delay mean value by the read delay weight, and multiplying the raw bit error rate mean value in each second performance test result and each third performance test result by the bit error rate weight, and adding the multiplication results corresponding to each second performance test result and each third performance test result to obtain a plurality of second intermediate values after the addition process; Calculating the product of each first change data and the first weight, and the product of each second change data and the second weight, to obtain a plurality of third intermediate values and a plurality of fourth intermediate values respectively; Obtaining the read / write performance value of the target flash memory by using the first intermediate value, the plurality of second intermediate values, the plurality of third intermediate values, and the plurality of fourth intermediate values; Based on the read and write performance values, a comprehensive performance test result of the target flash memory is determined.
7. An electronic device, characterized in that: include: A memory, a processor and a transceiver which are sequentially communicatively connected, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program, and execute the flash memory performance testing method as described in any one of claims 1 to 5.
8. A computer program product comprising instructions, characterized in that When the instructions are executed on a computer, the computer is caused to execute the flash memory performance testing method as claimed in any one of claims 1 to 5.
Citation Information
Patent Citations
Effectiveness prediction method and device of flash memory and storage medium
CN113257332A
Screening method and device for flash memory particles
CN116469448A
Flash memory particle screening and grading method
CN117809725A
Method of testing flash memory
US20130173975A1
Updating read voltages
US20170271031A1
