A method and device for testing a command sequence of a memory chip
By constructing an anomaly probability model and combining it with temperature-related factors, the lifespan of memory chips can be accurately predicted, solving the problem of inaccurate lifespan testing of memory chips in existing technologies and achieving a more comprehensive and accurate lifespan assessment.
Patent Information
- Application Number
- CN202411089950.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-08-09
AI Technical Summary
Existing technologies struggle to accurately test the lifespan of memory chips, especially in assessing their performance stability and reliability under varying temperature and frequency conditions.
By acquiring multiple preset test command sequences at different test temperatures and read/write frequencies, read/write anomaly information is collected, an anomaly probability model is constructed, and the lifespan of the memory chip is predicted by combining it with a temperature influence model.
It enables comprehensive evaluation of memory chip performance in various practical application environments, and the test results are closer to actual application conditions, shortening test time, improving test efficiency, and accurately assessing the lifespan of memory chips.
Smart Images

Figure CN118645145B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of equipment testing, and in particular relates to a method and a device for testing a command sequence of a memory chip. Background Art
[0002] The life test of memory chips is the process of evaluating the performance stability and reliability of memory (such as flash memory, DRAM, SRAM, etc.) under long-term use. These test methods can evaluate the life and reliability of memory chips under different working conditions. Through these tests, manufacturers can find potential defects and improve the design and process, thereby improving product quality.
[0003] Life tests usually need to run for a long time, especially data retention tests and read-write cycle tests. Although accelerated aging tests can shorten the test time, the results of accelerated aging tests cannot always be directly mapped to the actual service life. Therefore, how to accurately test the life of memory chips has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In order to solve the above technical problem, an embodiment of the present invention provides a method and device for testing a command sequence of a memory chip to solve the technical problem of how to accurately test the life of a memory chip.
[0005] A first aspect of an embodiment of the present invention provides a command sequence test method for a memory chip, the command sequence test method for the memory chip comprising:
[0006] Obtain a preset test command sequence, the preset test command sequence including read and write operations corresponding to multiple test temperatures; the read and write operations include a first frequency read and write operation and a second frequency read and write operation; the first frequency read and write operation is a frequency set based on a normal read and write operation usage frequency, the normal read and write operation usage frequency is obtained based on statistical data, and the second frequency read and write operation is greater than the first frequency read and write operation;
[0007] Execute the corresponding read and write operations under the multiple test temperatures respectively, and collect read and write abnormal information; the read and write abnormal information includes bit flip, read and write error and data loss;
[0008] Constructing an abnormality probability model according to the read-write abnormality information and the read-write operation sequence corresponding to the read-write abnormality information;
[0009] The service life of the storage chip is predicted according to the abnormal probability model.
[0010] Furthermore, the step of constructing an abnormality probability model according to the read / write abnormality information and the read / write operation sequence corresponding to the read / write abnormality information includes:
[0011] Based on the read / write exception information and the read / write operation order corresponding to the read / write exception information, maximum likelihood estimation is used to solve the target distribution parameter and the target scale factor; the target distribution parameter is used to characterize the shape of the probability distribution, and the target scale factor is used to characterize the span of the probability distribution;
[0012] constructing a temperature influence model according to the test temperature;
[0013] An abnormality probability model is constructed according to the target distribution parameter, the target scale factor and the temperature influence model.
[0014] Furthermore, the step of solving the target distribution parameter and the target scale factor by using maximum likelihood estimation based on the read / write exception information and the read / write operation sequence corresponding to the read / write exception information includes:
[0015] Obtain an average read and write operation cycle, where the average read and write operation cycle refers to the average duration of each read and write operation under normal use conditions;
[0016] Multiplying the read / write operation sequence corresponding to the read / write exception information by the average read / write operation cycle to obtain the exception duration corresponding to each read / write exception information;
[0017] Substituting the abnormal duration into the following first mathematical model and second mathematical model;
[0018] The first mathematical model is:
[0019] ,
[0020] The second mathematical model is:
[0021] ,
[0022] in, represents the iterative value of the distribution parameter, represents the scale factor iteration value, Indicates the number of abnormal durations, represents the duration of the ith abnormality, Indicates the duration of the i-th abnormality Power;
[0023] Get the preset initial iteration value of the distribution parameter iteration value;
[0024] Substituting the preset initial iteration value into the first mathematical model to solve the current scale factor iteration value;
[0025] Substituting the current scale factor iteration value into the second mathematical model to solve the current distribution parameter iteration value;
[0026] The current distribution parameter iteration value is used as the preset initial iteration value, and the step of substituting the initial value into the first mathematical model and solving the current scale factor iteration value and subsequent steps are iteratively executed until the changes in the distribution parameter iteration value and the scale factor iteration value are less than the tolerance range, thereby obtaining the target distribution parameter and the target scale factor.
[0027] Furthermore, the step of constructing a temperature influence model according to the test temperature includes:
[0028] Substituting the test temperature into the following third mathematical model to obtain the temperature influence model;
[0029] The third mathematical model is:
[0030] ,
[0031] in, Indicates the test temperature is The temperature influence factor is Indicates the preset reference temperature, Indicates the service life at the reference temperature. Represents the energy barrier value corresponding to the storage material, represents a constant term, represents the i-th test temperature.
[0032] Furthermore, the step of constructing an abnormal probability model according to the target distribution parameter, the target scale factor and the temperature influence model includes:
[0033] Substituting the target distribution parameter, the target scale factor and the temperature influence model into the following fourth mathematical model to obtain the abnormal probability model;
[0034] The fourth mathematical model is:
[0035] ,
[0036] in, represents the probability of an abnormality occurring during the i-th abnormal duration, represents the duration of the i-th abnormality, represents the target distribution parameter, represents the target scale factor, Indicates the test temperature is Temperature influence factor.
[0037] Furthermore, the step of predicting the service life of the storage chip according to the abnormal probability model includes:
[0038] Calculate the abnormal probability of the abnormal duration corresponding to each of the multiple read and write operation sequences according to the abnormal probability model;
[0039] Extract the abnormal read and write operation sequence with abnormal probability greater than the threshold;
[0040] If the continuous abnormal read and write operation sequences are traversed and the continuous abnormal read and write operation sequences exceed the preset fault tolerance value, the abnormal duration corresponding to the maximum sequence in the continuous abnormal read and write operation sequences is used as the service life duration.
[0041] A second aspect of an embodiment of the present invention provides a command sequence test device for a memory chip, comprising:
[0042] An acquisition unit is used to acquire a preset test command sequence, wherein the preset test command sequence includes read and write operations corresponding to multiple test temperatures; the read and write operations include first frequency read and write operations and second frequency read and write operations; the first frequency read and write operations are frequencies set based on the frequency of normal read and write operations, the frequency of normal read and write operations is obtained based on statistical data, and the second frequency read and write operations are greater than the first frequency read and write operations;
[0043] A test unit, used to respectively perform corresponding read and write operations under a plurality of the test temperatures, and collect read and write abnormal information; the read and write abnormal information includes bit flip, read and write error and data loss;
[0044] A construction unit, configured to construct an abnormality probability model according to the read / write abnormality information and the read / write operation sequence corresponding to the read / write abnormality information;
[0045] A prediction unit is used to predict the service life of the storage chip according to the abnormal probability model.
[0046] A third aspect of an embodiment of the present invention provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.
[0047] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0048] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: by obtaining a preset test command sequence including multiple test temperatures and different read and write frequencies, the present invention can be tested under a variety of practical application environments. This multi-dimensional testing method can comprehensively evaluate the performance of the memory chip under different temperatures and frequencies. The first frequency read and write operation is set based on the normal use frequency of statistical data, simulating the read and write frequency of the memory chip in daily operation, so that the test results are closer to the actual application situation and the credibility of the test results is improved. The second frequency read and write operation is higher than the normal use frequency. By testing under a higher intensity of read and write operations, the potential defects of the memory chip can be exposed faster, and its performance data under extreme conditions can be quickly obtained, the test time can be shortened, and the test efficiency can be improved. During the test process, detailed read and write abnormal information such as bit flips, read and write errors, and data loss are collected. These data can reflect the stability and reliability of the memory chip under different conditions, and provide rich basic data for subsequent analysis. According to the collected read and write abnormal information and the corresponding read and write operation order, an abnormal probability model is constructed. The model can comprehensively consider the impact of various factors such as temperature and read and write frequency on the memory chip, accurately analyze the probability of abnormal occurrence, and provide an important basis for life prediction. The service life of the memory chip is predicted based on the abnormal probability model, and the life of the memory chip can be accurately evaluated. This prediction method not only takes into account the life under normal use conditions, but also covers high-intensity use scenarios, and has a higher reference value in practical applications. In short, the command sequence test method for the memory chip provided by the present invention can more comprehensively and accurately evaluate the service life of the memory chip through a multi-dimensional test method and an accurate abnormal probability model. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are 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.
[0050] Figure 1 A schematic flow chart of a command sequence test method for a memory chip provided by the present invention is shown;
[0051] Figure 2 A schematic diagram of a command sequence test device for a memory chip provided by an embodiment of the present invention is shown;
[0052] Figure 3 A schematic diagram of a terminal device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0053] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0054] The embodiment of the present invention provides a method and device for testing a command sequence of a memory chip to solve the technical problem of how to accurately test the life of the memory chip.
[0055] First, the present invention provides a method for testing the command sequence of a memory chip. Figure 1 , Figure 1 FIG. 1 is a schematic flow chart of a method for testing a command sequence of a memory chip provided by the present invention. Figure 1 As shown, the command sequence test method of the memory chip may include the following steps:
[0056] Step 101: Obtain a preset test command sequence, wherein the preset test command sequence includes corresponding read and write operations under multiple test temperatures; the read and write operations include first frequency read and write operations and second frequency read and write operations; the first frequency read and write operations are set based on the frequency of normal read and write operations, the normal read and write operation frequency is obtained based on statistical data, and the second frequency read and write operations are greater than the first frequency read and write operations;
[0057] The preset test command sequence is an automated test pre-set by the user and input into the test equipment. The first frequency read and write operation simulates the read and write frequency under normal use. The second frequency read and write operation simulates the read and write frequency under high-frequency violent use. The first frequency read and write operation and the second frequency read and write operation simulate different actual use scenarios.
[0058] Step 102: performing corresponding read and write operations at a plurality of the test temperatures respectively, and collecting read and write abnormal information; the read and write abnormal information includes bit flip, read and write error and data loss;
[0059] The test equipment performs corresponding read and write operations under multiple test temperatures and collects read and write abnormal information to provide a data basis for subsequent life prediction.
[0060] Step 103: constructing an abnormality probability model according to the read / write abnormality information and the read / write operation sequence corresponding to the read / write abnormality information;
[0061] The abnormal probability model is used to quantify the probability of abnormalities occurring under different conditions to predict the service life of memory chips. The specific logic of constructing the abnormal probability model is as follows:
[0062] Specifically, step 103 specifically includes steps 1031 to 1033:
[0063] Step 1031: Based on the read / write exception information and the read / write operation sequence corresponding to the read / write exception information, maximum likelihood estimation is used to solve target distribution parameters and target scale factors; the target distribution parameters are used to characterize the shape of the probability distribution, and the target scale factor is used to characterize the span of the probability distribution;
[0064] Specifically, step 1031 specifically includes steps A1 to A7:
[0065] Step A1: Obtain an average read and write operation cycle, where the average read and write operation cycle refers to the average duration of each read and write operation under normal use;
[0066] The average read and write operation cycle is obtained based on data statistics or set based on human experience.
[0067] Step A2: multiplying the read / write operation sequence corresponding to the read / write abnormal information by the average read / write operation cycle to obtain the abnormal duration corresponding to each read / write abnormal information;
[0068] Since the command sequence test is an accelerated aging test, it is necessary to multiply the read and write operation sequence by the average read and write operation cycle to restore the actual read and write operation interval.
[0069] Step A3: Substituting the abnormal duration into the following first mathematical model and second mathematical model;
[0070] The first mathematical model is:
[0071] ,
[0072] The second mathematical model is:
[0073] ,
[0074] in, represents the iterative value of the distribution parameter, represents the scale factor iteration value, Indicates the number of abnormal durations, represents the duration of the ith abnormality, Indicates the duration of the i-th abnormality Power;
[0075] Since the solution of the scale factor depends on the distribution parameters, an iterative method is needed to estimate these two parameters simultaneously.
[0076] The first mathematical model is to adjust the distribution parameters to minimize the error between the observed value and the estimated value through linear regression after logarithmic transformation. The second mathematical model relies on the property of symmetry by estimating the scale factor under a known distribution parameter. Its purpose is to find a scale factor that makes the weighted sum of the data points equal to the overall expected value, and use an iterative method to estimate these two parameters simultaneously. The iterative method continuously optimizes the parameter value through the method of initial guess and stepwise approximation.
[0077] Step A4: obtaining a preset initial iteration value of a distribution parameter iteration value;
[0078] The preset initial iteration value is an artificially preset initial value used for the first iteration.
[0079] Step A5: Substituting the preset initial iteration value into the first mathematical model to solve the current scale factor iteration value;
[0080] Step A6: Substituting the current scale factor iteration value into the second mathematical model to solve the current distribution parameter iteration value;
[0081] Step A7: Using the current distribution parameter iteration value as the preset initial iteration value, iteratively executing the step of substituting the initial value into the first mathematical model, solving the current scale factor iteration value and subsequent steps, until the changes in the distribution parameter iteration value and the scale factor iteration value are less than the tolerance range, thereby obtaining the target distribution parameter and the target scale factor.
[0082] By iteratively solving the distribution parameters and scale factors, the maximum likelihood estimation method can provide more accurate parameter estimates. These estimates can maximize the probability of observed data under given parameters, thereby ensuring the model's fitting effect. In many cases, the maximum likelihood estimation method is asymptotically unbiased when used for parameter estimation, that is, as the sample size increases, the estimated value approaches the true parameter value. This means that in the case of large samples, the accuracy and reliability of parameter estimation are guaranteed.
[0083] The distribution parameters can reflect the dispersion and tail characteristics of the data, while the scale factor can reflect the central tendency of the data. The physical and statistical significance of these parameters make the model more interpretable and analyzable. In summary, the first mathematical model and the second mathematical model can provide accurate, stable and robust parameter estimates by iteratively solving the distribution parameters and scale factors through the maximum likelihood estimation method, thereby improving the accuracy of data fitting and the interpretability of the model.
[0084] The tolerance range is a preset value range (eg, a change of less than 0.001).
[0085] Step 1032: constructing a temperature influence model according to the test temperature;
[0086] Specifically, step 1032 includes:
[0087] Substituting the test temperature into the following third mathematical model to obtain the temperature influence model;
[0088] The third mathematical model is:
[0089] ,
[0090] in, Indicates the test temperature is The temperature influence factor is Indicates the preset reference temperature, Indicates the service life at the reference temperature. Represents the energy barrier value corresponding to the storage material, represents a constant term, represents the i-th test temperature.
[0091] Reference temperature refers to the optimal operating temperature of the memory chip. The service life at the reference temperature is obtained through experimental data or historical experience. The energy barrier value refers to the energy value of the test temperature relative to the reference temperature.
[0092] It is worth noting that the third mathematical model is an empirical formula used to describe the effect of temperature on the life of memory chips. It can be used to understand and predict the life of memory chips under different temperature conditions, thereby performing effective life cycle management.
[0093] Step 1033: construct an abnormal probability model according to the target distribution parameters, the target scale factor and the temperature influence model.
[0094] Specifically, step 1033 includes:
[0095] Substituting the target distribution parameter, the target scale factor and the temperature influence model into the following fourth mathematical model to obtain the abnormal probability model;
[0096] The fourth mathematical model is:
[0097] ,
[0098] in, represents the probability of an abnormality occurring during the i-th abnormal duration, represents the duration of the i-th abnormality, represents the target distribution parameter, represents the target scale factor, Indicates the test temperature is Temperature influence factor.
[0099] The life of a memory chip is not only affected by its own quality but also by temperature. Therefore, the temperature factor is taken into account in the fourth mathematical model to more accurately predict the chip life. It is a decay factor. As time t increases, the value of this part will decrease exponentially.
[0100] Determines the shape of the distribution, in particular how the anomaly probability changes over time.
[0101] <1: Indicates that the probability of abnormality decreases over time (applicable to early failure situations).
[0102] = 1: indicates a constant probability of anomaly (a special case of exponential distribution, applicable to random failures).
[0103] >1: Indicates that the probability of abnormality increases with time (applicable to wear-out failure).
[0104] Step 104: predicting the service life of the storage chip according to the abnormal probability model.
[0105] The abnormal probability model constructed above is used to predict the service life of the memory chip. By analyzing the abnormal data under various test conditions, the life of the chip under normal use and high-frequency violent use can be inferred.
[0106] Specifically, step 104 includes steps 1041 to 1043:
[0107] Step 1041: Calculate the abnormal probability of the abnormal duration corresponding to each of the plurality of read and write operation sequences according to the abnormal probability model;
[0108] Step 1042: extracting abnormal read and write operation sequences with abnormal probability greater than a threshold;
[0109] Step 1043: traverse the continuous abnormal read and write operation sequences and if the continuous abnormal read and write operation sequences exceed the preset fault tolerance value, then use the abnormal duration corresponding to the maximum sequence in the continuous abnormal read and write operation sequences as the service life duration.
[0110] The preset fault tolerance value is used to limit the maximum number of abnormalities of the storage chip. By taking the abnormal duration corresponding to the maximum order in the continuous abnormal read and write operation sequence as the service life, the maximum number of abnormalities of the storage chip can be located. This method not only considers the frequency and severity of the abnormality, but also integrates its distribution over time, making the prediction result more scientific and reasonable.
[0111] In this embodiment, by obtaining a preset test command sequence including multiple test temperatures and different read and write frequencies, the present invention can be tested in a variety of practical application environments. This multi-dimensional testing method can comprehensively evaluate the performance of the memory chip at different temperatures and frequencies. The first frequency read and write operation is set based on the normal use frequency of statistical data, simulating the read and write frequency of the memory chip in daily operation, so that the test results are closer to the actual application situation and the credibility of the test results is improved. The second frequency read and write operation is higher than the normal use frequency. By testing under higher intensity read and write operations, the potential defects of the memory chip can be exposed faster, and its performance data under extreme conditions can be quickly obtained, shortening the test time and improving the test efficiency. During the test process, detailed read and write abnormal information such as bit flips, read and write errors, and data loss are collected. These data can reflect the stability and reliability of the memory chip under different conditions, and provide rich basic data for subsequent analysis. According to the collected read and write abnormal information and the corresponding read and write operation order, an abnormal probability model is constructed. The model can comprehensively consider the impact of various factors such as temperature and read and write frequency on the memory chip, accurately analyze the probability of abnormal occurrence, and provide an important basis for life prediction. The service life of the memory chip is predicted based on the abnormal probability model, and the life of the memory chip can be accurately evaluated. This prediction method not only takes into account the life under normal use conditions, but also covers high-intensity use scenarios, and has a higher reference value in practical applications. In summary, the present invention provides a memory chip life prediction method through a multi-dimensional testing method and an accurate abnormal probability model, which can more comprehensively and accurately evaluate the service life of the memory chip.
[0112] like Figure 2 The present invention provides a memory chip command sequence test device 2, see Figure 2 , Figure 2 A schematic diagram of a command sequence test device for a memory chip provided by the present invention is shown. Figure 2 A memory chip command sequence test device includes:
[0113] An acquisition unit 21 is used to acquire a preset test command sequence, wherein the preset test command sequence includes read and write operations corresponding to a plurality of test temperatures; the read and write operations include a first frequency read and write operation and a second frequency read and write operation; the first frequency read and write operation is a frequency set based on a normal read and write operation usage frequency, the normal read and write operation usage frequency is obtained based on statistical data, and the second frequency read and write operation is greater than the first frequency read and write operation;
[0114] The test unit 22 is used to respectively perform corresponding read and write operations under the multiple test temperatures and collect read and write abnormal information; the read and write abnormal information includes bit flip, read and write error and data loss;
[0115] A construction unit 23, configured to construct an abnormality probability model according to the read / write abnormality information and the read / write operation sequence corresponding to the read / write abnormality information;
[0116] The prediction unit 24 is used to predict the service life of the storage chip according to the abnormal probability model.
[0117] The present invention provides a command sequence test device for a memory chip. By acquiring a preset test command sequence including multiple test temperatures and different read and write frequencies, the present invention can perform tests under a variety of practical application environments. This multi-dimensional test method can comprehensively evaluate the performance of the memory chip at different temperatures and frequencies. The first frequency read and write operation is set based on the normal use frequency of statistical data, simulating the read and write frequency of the memory chip in daily operation, so that the test results are closer to the actual application situation and the credibility of the test results is improved. The second frequency read and write operation is higher than the normal use frequency. By testing under a higher intensity of read and write operations, the potential defects of the memory chip can be exposed faster, and its performance data under extreme conditions can be quickly obtained, the test time can be shortened, and the test efficiency can be improved. During the test process, detailed read and write abnormal information such as bit flips, read and write errors, and data loss are collected. These data can reflect the stability and reliability of the memory chip under different conditions, and provide rich basic data for subsequent analysis. According to the collected read and write abnormal information and the corresponding read and write operation order, an abnormal probability model is constructed. The model can comprehensively consider the impact of various factors such as temperature and read and write frequency on the memory chip, accurately analyze the probability of abnormal occurrence, and provide an important basis for life prediction. The service life of the memory chip is predicted based on the abnormal probability model, and the life of the memory chip can be accurately evaluated. This prediction method not only takes into account the life under normal use conditions, but also covers high-intensity use scenarios, and has a higher reference value in practical applications. In summary, the present invention provides a memory chip life prediction method through a multi-dimensional testing method and an accurate abnormal probability model, which can more comprehensively and accurately evaluate the service life of the memory chip.
[0118] Figure 3 Schematic diagram of a terminal device provided by an embodiment of the present invention. Figure 3 As shown, a terminal device 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30, such as a program for a command sequence test of a memory chip. When the processor 30 executes the computer program 32, the steps in the above-mentioned embodiments of the method for testing a command sequence of a memory chip are implemented, such as Figure 1 Alternatively, when the processor 30 executes the computer program 32, the functions of each unit in the above-mentioned device embodiments are realized, for example, Figure 2Function of the unit shown.
[0119] Exemplarily, the computer program 32 may be divided into one or more units, which are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into the following specific functions of each unit:
[0120] An acquisition unit is used to acquire a preset test command sequence, wherein the preset test command sequence includes read and write operations corresponding to multiple test temperatures; the read and write operations include first frequency read and write operations and second frequency read and write operations; the first frequency read and write operations are frequencies set based on the frequency of normal read and write operations, the frequency of normal read and write operations is obtained based on statistical data, and the second frequency read and write operations are greater than the first frequency read and write operations;
[0121] A test unit, used to respectively perform corresponding read and write operations under a plurality of the test temperatures, and collect read and write abnormal information; the read and write abnormal information includes bit flip, read and write error and data loss;
[0122] A construction unit, configured to construct an abnormality probability model according to the read / write abnormality information and the read / write operation sequence corresponding to the read / write abnormality information;
[0123] A prediction unit is used to predict the service life of the storage chip according to the abnormal probability model.
[0124] The terminal device includes but is not limited to a processor 30 and a memory 31. Those skilled in the art will appreciate that Figure 3 It is only an example of a terminal device 3 and does not constitute a limitation on the terminal device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0125] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0126] The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used to store the computer program and other programs and data required by the roaming control device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
[0127] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0128] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0129] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0130] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0131] An embodiment of the present invention provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0132] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera device / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0133] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0134] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0135] In the embodiments provided by the present invention, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed over multiple network units.
[0137] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0138] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0139] As used in the present specification and the appended claims, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to monitoring, depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is monitored" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is monitored" or "in response to monitoring [described condition or event]", depending on the context.
[0140] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0141] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0142] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A command sequence test method for a memory chip, characterized in that: The command sequence test method of the memory chip comprises: Obtain a preset test command sequence, the preset test command sequence including read and write operations corresponding to multiple test temperatures; the read and write operations include a first frequency read and write operation and a second frequency read and write operation; the first frequency read and write operation is a frequency set based on a normal read and write operation usage frequency, the normal read and write operation usage frequency is obtained based on statistical data, and the second frequency read and write operation is greater than the first frequency read and write operation; Execute the corresponding read and write operations under the multiple test temperatures respectively, and collect read and write abnormal information; the read and write abnormal information includes bit flip, read and write error and data loss; According to the read-write exception information and the read-write operation sequence corresponding to the read-write exception information, an abnormal probability model is constructed; this step includes: based on the read-write exception information and the read-write operation sequence corresponding to the read-write exception information, using maximum likelihood estimation to solve the target distribution parameter and the target scale factor; the target distribution parameter is used to characterize the shape of the probability distribution, and the target scale factor is used to characterize the span of the probability distribution; according to the test temperature, a temperature influence model is constructed; according to the target distribution parameter, the target scale factor and the temperature influence model, an abnormal probability model is constructed; Predicting the service life of the memory chip according to the abnormal probability model; The step of solving the target distribution parameter and the target scale factor by using maximum likelihood estimation based on the read / write exception information and the read / write operation order corresponding to the read / write exception information comprises: Obtain an average read and write operation cycle, where the average read and write operation cycle refers to the average duration of each read and write operation under normal use conditions; Multiplying the read / write operation sequence corresponding to the read / write exception information by the average read / write operation cycle to obtain the exception duration corresponding to each read / write exception information; Substituting the abnormal duration into the following first mathematical model and second mathematical model; The first mathematical model is: , The second mathematical model is: , in, represents the iterative value of the distribution parameter, represents the scale factor iteration value, Indicates the number of abnormal durations, represents the duration of the ith abnormality, Indicates the duration of the i-th abnormality Power; Get the preset initial iteration value of the distribution parameter iteration value; Substituting the preset initial iteration value into the first mathematical model to solve the current scale factor iteration value; Substituting the current scale factor iteration value into the second mathematical model to solve the current distribution parameter iteration value; The current distribution parameter iteration value is used as the preset initial iteration value, and the preset initial iteration value is substituted into the first mathematical model to solve the current scale factor iteration value and subsequent steps, until the change amount of the distribution parameter iteration value and the scale factor iteration value is less than the tolerance range, and the target distribution parameter and the target scale factor are obtained; Wherein, the step of constructing an abnormal probability model according to the target distribution parameter, the target scale factor and the temperature influence model comprises: Substituting the target distribution parameter, the target scale factor and the temperature influence model into the following fourth mathematical model to obtain the abnormal probability model; The fourth mathematical model is: , in, represents the probability of an abnormality occurring during the i-th abnormal duration, represents the duration of the i-th abnormality, represents the target distribution parameter, represents the target scale factor, Indicates the test temperature is Temperature influence factor.
2. The command sequence test method for a memory chip according to claim 1, characterized in that: The step of constructing a temperature influence model according to the test temperature comprises: Substituting the test temperature into the following third mathematical model to obtain the temperature influence model; The third mathematical model is: , in, Indicates the test temperature is The temperature influence factor is Indicates the preset reference temperature, Indicates the service life at the reference temperature. Represents the energy barrier value corresponding to the storage material, represents a constant term, represents the i-th test temperature.
3. The command sequence test method for a memory chip according to claim 1, characterized in that: The step of predicting the service life of the storage chip according to the abnormal probability model includes: Calculate the abnormal probability of the abnormal duration corresponding to each of the multiple read and write operation sequences according to the abnormal probability model; Extract the abnormal read and write operation sequence with abnormal probability greater than the threshold; If the continuous abnormal read and write operation sequences are traversed and the continuous abnormal read and write operation sequences exceed the preset fault tolerance value, the abnormal duration corresponding to the maximum sequence in the continuous abnormal read and write operation sequences is used as the service life duration.
4. A memory chip command sequence test device, characterized in that: The command sequence test device of the memory chip comprises: An acquisition unit is used to acquire a preset test command sequence, wherein the preset test command sequence includes read and write operations corresponding to multiple test temperatures; the read and write operations include first frequency read and write operations and second frequency read and write operations; the first frequency read and write operations are frequencies set based on the frequency of normal read and write operations, the frequency of normal read and write operations is obtained based on statistical data, and the second frequency read and write operations are greater than the first frequency read and write operations; A test unit, used to respectively perform corresponding read and write operations under a plurality of the test temperatures, and collect read and write abnormal information; the read and write abnormal information includes bit flip, read and write error and data loss; A construction unit is used to construct an abnormality probability model according to the read-write abnormality information and the read-write operation sequence corresponding to the read-write abnormality information; the construction unit is used to: solve the target distribution parameter and the target scale factor by maximum likelihood estimation based on the read-write abnormality information and the read-write operation sequence corresponding to the read-write abnormality information; the target distribution parameter is used to characterize the shape of the probability distribution, and the target scale factor is used to characterize the span of the probability distribution; construct a temperature influence model according to the test temperature; construct an abnormality probability model according to the target distribution parameter, the target scale factor and the temperature influence model; A prediction unit, used for predicting the service life of the storage chip according to the abnormal probability model; Wherein, based on the read / write exception information and the read / write operation order corresponding to the read / write exception information, solving the target distribution parameter and the target scale factor by maximum likelihood estimation includes: Obtain an average read and write operation cycle, where the average read and write operation cycle refers to the average duration of each read and write operation under normal use conditions; Multiplying the read / write operation sequence corresponding to the read / write exception information by the average read / write operation cycle to obtain the exception duration corresponding to each read / write exception information; Substituting the abnormal duration into the following first mathematical model and second mathematical model; The first mathematical model is: , The second mathematical model is: , in, represents the iterative value of the distribution parameter, represents the scale factor iteration value, Indicates the number of abnormal durations, represents the duration of the ith abnormality, Indicates the duration of the i-th abnormality Power; Get the preset initial iteration value of the distribution parameter iteration value; Substituting the preset initial iteration value into the first mathematical model to solve the current scale factor iteration value; Substituting the current scale factor iteration value into the second mathematical model to solve the current distribution parameter iteration value; The current distribution parameter iteration value is used as the preset initial iteration value, and the preset initial iteration value is substituted into the first mathematical model to solve the current scale factor iteration value and subsequent steps, until the change amount of the distribution parameter iteration value and the scale factor iteration value is less than the tolerance range, and the target distribution parameter and the target scale factor are obtained; Wherein, constructing the abnormal probability model according to the target distribution parameter, the target scale factor and the temperature influence model includes: Substituting the target distribution parameter, the target scale factor and the temperature influence model into the following fourth mathematical model to obtain the abnormal probability model; The fourth mathematical model is: , in, represents the probability of an abnormality occurring during the i-th abnormal duration, represents the duration of the i-th abnormality, represents the target distribution parameter, represents the target scale factor, Indicates the test temperature is Temperature influence factor.
5. A terminal device, characterized in that: The device includes: a memory, a processor, and a command sequence test program for a memory chip stored in the memory and executable on the processor, wherein the command sequence test program for the memory chip is configured to implement a command sequence test method for a memory chip as described in any one of claims 1 to 3.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the command sequence testing method for a memory chip as claimed in any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Performance detection method and system for storage chip
CN112164417A
Method and device for detecting abnormal data, computer equipment and storage medium
CN117251811A
Multi-index anomaly detection method and device, electronic equipment and storage medium
CN117688499A
Communication control method and system based on RFID and storage medium
CN117910486A
Storage chip efficient test method based on time sequence analysis
CN118335178A
