A solid state hard disk durability testing method, sample size calculation method and device
By introducing the UCL function value model to accurately calculate the sample size of solid-state drives, it solves the problem of high cost of durability testing of solid-state drives in the existing technology, achieves a more efficient testing process, and reduces research and development costs.
Patent Information
- Application Number
- CN202210469559.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-30
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-04-30
AI Technical Summary
The existing solid-state drive durability testing method uses a sample size calculation method that is costly and unnecessary, resulting in high testing costs and the fact that after testing, the disk reaches the end of its life and cannot be reused.
By introducing the relationship model of influencing factors such as uncorrectable error rate, functional error and data error UCL function value, the sample size can be accurately calculated and testing costs can be reduced.
While ensuring test quality, it also improves the accuracy and efficiency of test sample volume, significantly saving R&D costs.
Smart Images

Figure CN114882937B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of solid state drive durability testing, and in particular to a solid state drive durability testing method, a sample size calculation method and a device. Background Art
[0002] The current mainstream SSD is a storage device that uses semiconductor flash memory (Flash NAND) as a medium. The basic storage unit of Flash NAND is a floating gate transistor. The structure of the floating gate transistor is that the bottom is the substrate, source and drain. Above the substrate, there are tunnel oxide layer, floating gate (floating gate layer), oxide layer, and control gate. The floating gate in the middle is surrounded by an insulating layer, and it is easy for electrons to enter but difficult to exit. The transistor is written and erased by charging and discharging electrons in the floating gate. The electrons stored in it will not disappear due to power failure, so flash memory is a non-volatile memory.
[0003] Flash NAND erase principle:
[0004] 1) Writing is to apply a positive voltage to the control gate, so that electrons pass through the tunnel oxide layer to reach the floating gate and gather on the floating gate to store information.
[0005] 2) When erasing, a positive voltage is applied to the substrate for a long time to draw electrons out of the floating gate, thereby clearing the information. If there are electrons before writing, they must be erased before writing.
[0006] 3) The repeated back-and-forth movement of electrons will cause irreversible wear to the tunnel oxide layer, making it unable to effectively maintain the charge in the floating gate and eventually causing it to fail.
[0007] During the process of repeated erasing and writing, the durability or reliability of SSD Flash media will gradually decrease. Generally, a large number of samples are tested to verify whether the durability of SSD products can meet quality requirements.
[0008] The existing method for determining the sample size of SSD endurance test generally estimates the test sample size through FFR and AFR. The SSD product industry generally has a 5-year warranty, so AFR = FFR / 5. Generally, FFR = 2.19%, so AFR = 2.19% / 5 = 0.44%. In other words, if no more than 4 out of 1,000 disks fail within a year, the SSD endurance is considered to meet the requirements. Through the above estimation, 1,000 disks are determined as the sample size for the test.
[0009] The cost of testing 1,000 SSDs is huge, including labor and material costs. Even if it is reduced by half, 400 SSDs is still a huge investment. After the durability test, the test disk has reached the end of its life and can only be scrapped and cannot be used for other purposes.
[0010] Therefore, a precise method for calculating the test sample size and a corresponding SSD durability test method are needed to reduce unnecessary cost investment while ensuring quality. Summary of the invention
[0011] To solve the above problems, the present invention provides a solid state drive durability testing method, a sample size calculation method and a device. By introducing a set of relationship models including influencing factors such as uncorrectable error rate, functional error and data error UCL function values, the sample size is accurately calculated to reduce the testing cost.
[0012] In a first aspect, the technical solution of the present invention provides a method for calculating the sample size of a solid state drive durability test, comprising the following steps:
[0013] Extract the product specifications of the SSD to be tested;
[0014] According to the product specifications of the solid state drive to be tested, extract the functional failure rate and uncorrectable error rate of the solid state drive to be tested from the storage end;
[0015] Based on the confidence upper limit control function, a functional failure error and sample size relationship model with the functional failure rate as the influencing factor and a data error and sample size relationship model with the uncorrectable error rate as the influencing factor were created;
[0016] Determine a standard functional failure error of the durability test, substitute the standard functional failure error into a functional failure error and sample size relationship model, and obtain a first sample size;
[0017] Substitute the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size;
[0018] Between the first sample size and the second sample size, the larger sample size is selected as the test sample size.
[0019] Furthermore, the relationship model between the functional failure error and the sample size created based on the confidence upper limit control function is expressed by the following formula:
[0020] UCL(FF) = FFR * sample size (1)
[0021] Among them, UCL() represents the confidence upper limit control function, FF represents the functional failure error, and FFR represents the functional failure rate.
[0022] Furthermore, the data error and sample size relationship model created based on the confidence upper limit control function is expressed by the following formula:
[0023] UCL(DE) = TBW * 8 * 1012 * UBER * Sample size (2)
[0024] Among them, DE represents data error, TBW represents the total data written in TB bytes, and UBER represents the uncorrectable error rate.
[0025] Further, substituting the standard functional failure error into the functional failure error and sample size relationship model to obtain the first sample size specifically includes:
[0026] Look up the confidence upper limit control function value table and find the confidence upper limit control function value corresponding to the standard function failure error;
[0027] Substitute the found confidence upper limit control function value into formula (1) to obtain the first sample size.
[0028] Further, substituting the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size, specifically including:
[0029] Substitute the confidence upper limit control function value corresponding to the standard functional failure error into formula (2) to obtain the second sample size.
[0030] In a second aspect, the technical solution of the present invention provides a solid state hard disk durability test sample size calculation device, comprising:
[0031] Product specification extraction module: extracts the product specifications of the solid-state drive to be tested;
[0032] Parameter extraction module: extracts the functional failure rate and uncorrectable error rate of the SSD to be tested from the storage end according to the product specifications of the SSD to be tested;
[0033] Relationship model creation module: based on the confidence upper limit control function, a relationship model between functional failure error and sample size is created with the functional failure rate as the influencing factor, and a relationship model between data error and sample size with the uncorrectable error rate as the influencing factor;
[0034] A first sample size calculation module: determining a standard functional failure error of a durability test, substituting the standard functional failure error into a functional failure error and sample size relationship model, and obtaining a first sample size;
[0035] Second sample size calculation module: Substitute the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size;
[0036] Test sample size determination module: between the first sample size and the second sample size, select the larger sample size as the test sample size.
[0037] Furthermore, the functional failure error and sample size relationship model created by the relationship model creation module based on the confidence upper limit control function is represented by the following formula:
[0038] UCL(FF) = FFR * sample size (1)
[0039] Among them, UCL() represents the confidence upper limit control function, FF represents the functional failure error, and FFR represents the functional failure rate;
[0040] The data error and sample size relationship model created by the relationship model creation module based on the confidence upper limit control function is expressed by the following formula:
[0041] UCL(DE) = TBW * 8 * 1012 * UBER * Sample size (2)
[0042] Among them, DE represents data error, TBW represents the total data written in TB bytes, and UBER represents the uncorrectable error rate.
[0043] Furthermore, the first sample size calculation module substitutes the standard functional failure error into the functional failure error and sample size relationship model to obtain the first sample size, specifically including:
[0044] Look up the confidence upper limit control function value table and find the confidence upper limit control function value corresponding to the standard function failure error;
[0045] Substitute the found confidence upper limit control function value into formula (1) to obtain the first sample size.
[0046] Furthermore, the second sample size calculation module substitutes the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size, specifically including:
[0047] Substitute the confidence upper limit control function value corresponding to the standard functional failure error into formula (2) to obtain the second sample size.
[0048] In a third aspect, the technical solution of the present invention provides a method for testing the durability of a solid state drive, comprising the following steps:
[0049] Execute any of the above methods to determine the test sample size;
[0050] Substitute the test sample size into formula (2) to obtain the standard data error;
[0051] Conduct SSD endurance testing based on test sample size;
[0052] If during the test, the functional failure errors do not exceed the standard functional failure errors, and the data errors do not exceed the standard data errors, the SSD endurance test passes.
[0053] Compared with the prior art, the solid-state hard disk durability testing method, sample size calculation method and device provided by the present invention have the following beneficial effects: by introducing a set of relationship models including influencing factors such as uncorrectable error rate, functional error and data error UCL function values, the sample size is accurately calculated, while ensuring the test quality, the accuracy of the test sample size and the test efficiency are improved, thereby significantly saving R&D costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0055] Figure 1 A schematic flow chart of a method for calculating the sample size for a solid state drive durability test provided in Embodiment 1 of the present invention.
[0056] Figure 2 A schematic diagram of the structure of a solid state drive durability test sample quantity calculation device provided in Embodiment 2 of the present invention.
[0057] Figure 3 A schematic flow chart of a solid state drive durability testing method provided in a third embodiment of the present invention.
[0058] Figure 4 A schematic diagram of the structure of a terminal provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0059] The English terms involved in the present invention are explained below.
[0060] SSD Solid State Drive
[0061] FFR Functional Failure Requirement Functional Failure Rate
[0062] AFR Annualized Failure Rate Annualized Failure Rate
[0063] FF Functional Failure Functional Failure
[0064] DD Data Error Data Error
[0065] UBER Uncorrectable Bit Error Rate Uncorrectable Bit Error Rate
[0066] UCL upper confidence limit confidence limit control
[0067] DWPD drive-writes-per-day daily write volume
[0068] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0069] Embodiment 1
[0070] like Figure 1 The figure is a flow chart of a method for calculating the sample size for a solid state drive durability test provided in the first embodiment of the present invention, which includes the following steps.
[0071] S101, extracting product specifications of the solid state drive to be tested.
[0072] The product specifications of the solid state drive to be tested can be extracted by scanning the information code of the solid state drive.
[0073] S102, extracting the functional failure rate and uncorrectable error rate of the solid state drive to be tested from the storage end according to the product specifications of the solid state drive to be tested.
[0074] This embodiment introduces functional failure rate and uncorrectable error rate as influencing factors to create a relationship model to calculate the sample size. Therefore, the functional failure rate and uncorrectable error rate of the solid-state drive to be tested are extracted from the storage end in advance according to the product specifications of the solid-state drive.
[0075] S103, based on the confidence upper limit control function, a functional failure error and sample size relationship model with the functional failure rate as an influencing factor and a data error and sample size relationship model with the uncorrectable error rate as an influencing factor are created.
[0076] The functional failure error and sample size relationship model created by the confidence upper limit control function in this embodiment is represented by the following formula:
[0077] UCL(FF) = FFR * sample size (1)
[0078] Among them, UCL() represents the confidence upper limit control function, FF represents the functional failure error, and FFR represents the functional failure rate.
[0079] The data error and sample size relationship model created based on the confidence upper limit control function is expressed by the following formula:
[0080] UCL(DE) = TBW * 8 * 1012 * UBER * Sample size (2)
[0081] Among them, DE represents data error, TBW represents the total data written in TB bytes, and UBER represents the uncorrectable error rate.
[0082] S104, determining a standard functional failure error of the durability test, substituting the standard functional failure error into a functional failure error and sample size relationship model, and obtaining a first sample size.
[0083] The test requirements need to determine the standard functional failure error of the durability test, for example, the standard functional failure error is 0.
[0084] Substituting the standard functional failure error into the functional failure error and sample size relationship model to obtain the first sample size specifically includes:
[0085] Look up the confidence upper limit control function value table and find the confidence upper limit control function value corresponding to the standard function failure error;
[0086] Substitute the found confidence upper limit control function value into formula (1) to obtain the first sample size.
[0087] S105, substituting the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size.
[0088] Specifically, the confidence upper limit control function value corresponding to the standard functional failure error is substituted into formula (2) to obtain the second sample size.
[0089] S106: Select a larger sample size from the first sample size and the second sample size as the test sample size.
[0090] In order to make the test sample size satisfy both relationship models at the same time, a larger sample size is selected as the test sample size.
[0091] The method for calculating the sample size for a solid-state drive durability test provided by the present invention accurately calculates the sample size by introducing a set of relationship models including influencing factors such as uncorrectable error rate, functional error and data error UCL function values. While ensuring the test quality, it improves the accuracy of the test sample size and the test efficiency, thereby significantly saving R&D costs.
[0092] Embodiment 2
[0093] Based on the first embodiment, the second embodiment provides a solid state drive durability test sample quantity calculation device, which is used to implement the method of the first embodiment.
[0094] like Figure 2 The figure shows a schematic diagram of the structure of a solid state drive durability test sample quantity calculation device provided in the second embodiment, which includes the following functional modules.
[0095] Product specification extraction module 101: extracts product specifications of the solid state drive to be tested.
[0096] Parameter extraction module 102: extracts the functional failure rate and uncorrectable error rate of the solid state drive to be tested from the storage end according to the product specifications of the solid state drive to be tested.
[0097] Relationship model creation module 103: based on the confidence upper limit control function, a functional failure error and sample size relationship model with the functional failure rate as an influencing factor and a data error and sample size relationship model with the uncorrectable error rate as an influencing factor are created.
[0098] The first sample size calculation module 104 determines a standard functional failure error of the durability test, substitutes the standard functional failure error into a functional failure error and sample size relationship model, and obtains a first sample size.
[0099] The second sample size calculation module 105: substitutes the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size.
[0100] The test sample size determination module 106 selects the larger sample size between the first sample size and the second sample size as the test sample size.
[0101] In this embodiment, the functional failure error and sample size relationship model created by the relationship model creation module 103 based on the confidence upper limit control function is represented by the following formula:
[0102] UCL(FF) = FFR * sample size (1)
[0103] Among them, UCL() represents the confidence upper limit control function, FF represents the functional failure error, and FFR represents the functional failure rate.
[0104] The data error and sample size relationship model created by the relationship model creation module 103 based on the confidence upper limit control function is represented by the following formula:
[0105] UCL(DE) = TBW * 8 * 1012 * UBER * Sample size (2)
[0106] Among them, DE represents data error, TBW represents the total data written in TB bytes, and UBER represents the uncorrectable error rate.
[0107] The first sample size calculation module 104 substitutes the standard functional failure error into the functional failure error and sample size relationship model to obtain the first sample size, specifically including:
[0108] Look up the confidence upper limit control function value table and find the confidence upper limit control function value corresponding to the standard function failure error;
[0109] Substitute the found confidence upper limit control function value into formula (1) to obtain the first sample size.
[0110] The second sample size calculation module substitutes the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size, specifically including:
[0111] Substitute the confidence upper limit control function value corresponding to the standard functional failure error into formula (2) to obtain the second sample size.
[0112] The solid-state hard disk durability test sample size calculation device provided by the present invention accurately calculates the sample size by introducing a set of relationship models including influencing factors such as uncorrectable error rate, functional error and data error UCL function values. While ensuring the test quality, it improves the accuracy of the test sample size and the test efficiency, thereby significantly saving R&D costs.
[0113] Embodiment 3
[0114] This embodiment 3 provides a solid state hard disk durability testing method based on the embodiment 1, such as Figure 3 As shown, the method includes the following steps.
[0115] S301, executing the method of embodiment 1 to determine the test sample size.
[0116] S302, substitute the test sample size into formula (2) to obtain the standard data error.
[0117] S303, performing a solid state drive durability test based on the test sample size.
[0118] S304, if during the test, the functional failure error does not exceed the standard functional failure error, and the data error does not exceed the standard data error, then the SSD durability test passes.
[0119] The SSD durability test method of this embodiment is implemented based on the aforementioned SSD durability test sample size calculation method. Therefore, the specific implementation method of this method can be seen in the embodiment section of the SSD durability test sample size calculation method in the previous text. Therefore, its specific implementation method can refer to the description of the corresponding embodiments of each part, which will not be elaborated here.
[0120] In addition, since the SSD durability test method of this embodiment is implemented based on the aforementioned SSD durability test sample size calculation method, its function corresponds to that of the aforementioned method and will not be repeated here.
[0121] In order to further understand the present invention, a specific embodiment is provided below to explain the present invention. The specific process is as follows.
[0122] 1) Create the equation 1 for the relationship between functional failure error and sample size:
[0123] UCL(FF) = FFR * sample size.
[0124] 2) Create Equation 2 for the relationship between data error and sample size:
[0125] UCL(DE) = TBW * 8 * 1012 * UBER * sample size;
[0126] TBW is the total amount of data written in TB bytes.
[0127] 3) UCL function value table:
[0128] Table 1: UCL function value table
[0129] X UCL(x) X UCL(x) X UCL(x) X UCL(x) 0 0.92 20 21.84 40 42.31 60 62.66 1 2.05 21 22.87 41 43.33 61 63.68 2 3.12 22 23.88 42 44.34 62 64.69 3 4.17 23 24.93 43 45.36 63 65.71 4 5.23 24 25.95 44 46.38 64 66.72 5 6.28 25 26.97 45 47.4 65 67.74 6 7.35 26 28 46 48.42 66 68.75 7 8.37 27 29.12 47 49.43 67 69.77 8 9.44 28 30.26 48 50.46 68 70.79 9 10.48 29 31.07 49 51.47 69 71.8 10 11.52 30 32.09 50 52.49 70 72.82 11 12.55 31 33.12 51 53.51 71 73.83 12 13.59 32 34.14 52 54.52 72 74.85 13 14.62 33 35.16 53 55.55 73 75.86 14 15.66 34 36.18 54 56.56 74 76.88 15 16.69 35 37.2 55 57.58 75 77.89 16 17.72 36 38.22 56 58.6 76 78.91 17 18.75 37 39.24 57 59.61 77 79.92 18 19.78 38 40.26 58 60.63 78 80.94 19 20.81 39 41.29 59 61.64 79 81.95
[0130] The UCL function value table is predetermined and stored.
[0131] 4) Generally, the sample size of 0 functional failure error is selected, and the product specifications follow FFR=2.19%, UBER=10 -17 .
[0132] 5) Taking an SSD with a capacity of 1.6 TB and DWPD=3 as an example, TBW = 3*365*5*1.6 T = 8760 TB.
[0133] 6) According to equation 1: UCL(0) = FFR * sample size,
[0134] From the UCL function value table, we can get UCL(0)=0.92,
[0135] Substituting into equation 1, 0.92 = 2.19 % * sample size,
[0136] Then sample size = 42.
[0137] 7) According to equation 2: UCL(0) = 8760* 8 * 1012 * 10-17 * sample size,
[0138] Then the sample size = 0.92 / (8760* 8 * 1012 * 10-17 ) = 1.3.
[0139] 8) If the sample size obtained by both Equation 1 and Equation 2 is to be satisfied, the sample size can be determined to be 42 disks.
[0140] 9) Substitute the sample size of 42 into equation 2,
[0141] UCL(DE)=8760*8*1012*10-17*42=29.4336;
[0142] Substituting 29.4336 into the value column in the UCL function value table, we get Data Error = 27.
[0143] 10) Through the above calculation, it can be determined that the sample size for the test is 42 pieces. If there is no Function Failed during the test and the Data Error does not exceed 27, it is considered that the durability of the product model has passed the verification and meets the quality requirements.
[0144] Embodiment 4
[0145] Figure 4 A schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present invention includes: a processor 410, a memory 420 and a communication unit 430. The processor 410 is used to implement the following steps when implementing the solid state drive durability test sample size calculation program stored in the memory 420:
[0146] Extract the product specifications of the SSD to be tested;
[0147] According to the product specifications of the solid state drive to be tested, extract the functional failure rate and uncorrectable error rate of the solid state drive to be tested from the storage end;
[0148] Based on the confidence upper limit control function, a functional failure error and sample size relationship model with the functional failure rate as the influencing factor and a data error and sample size relationship model with the uncorrectable error rate as the influencing factor were created;
[0149] Determine a standard functional failure error of the durability test, substitute the standard functional failure error into a functional failure error and sample size relationship model, and obtain a first sample size;
[0150] Substitute the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size;
[0151] Between the first sample size and the second sample size, the larger sample size is selected as the test sample size.
[0152] The method for calculating the sample size for a solid-state drive durability test provided by the present invention accurately calculates the sample size by introducing a set of relationship models including influencing factors such as uncorrectable error rate, functional error and data error UCL function values. While ensuring the test quality, it improves the accuracy of the test sample size and the test efficiency, thereby significantly saving R&D costs.
[0153] The terminal device 400 includes a processor 410, a memory 420 and a communication unit 430. These components communicate via one or more buses. It can be understood by those skilled in the art that the structure of the server shown in the figure does not constitute a limitation of the present invention, and it can be a bus structure or a star structure, and can also include more or less components than shown in the figure, or combine some components, or arrange the components differently.
[0154] The memory 420 can be used to store the execution instructions of the processor 410, and the memory 420 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 420 are executed by the processor 410, the terminal 400 can perform some or all of the steps in the following method embodiments.
[0155] The processor 410 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 420, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 410 can include only a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0156] The communication unit 430 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals or send user data to other terminals.
[0157] Embodiment 5
[0158] The present invention also provides a computer storage medium, wherein the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0159] The computer storage medium stores a solid state drive durability test sample size calculation program, and when the solid state drive durability test sample size calculation program is executed by the processor, the following steps are implemented:
[0160] Extract the product specifications of the SSD to be tested;
[0161] According to the product specifications of the solid state drive to be tested, extract the functional failure rate and uncorrectable error rate of the solid state drive to be tested from the storage end;
[0162] Based on the confidence upper limit control function, a functional failure error and sample size relationship model with the functional failure rate as the influencing factor and a data error and sample size relationship model with the uncorrectable error rate as the influencing factor were created;
[0163] Determine a standard functional failure error of the durability test, substitute the standard functional failure error into a functional failure error and sample size relationship model, and obtain a first sample size;
[0164] Substitute the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size;
[0165] Between the first sample size and the second sample size, the larger sample size is selected as the test sample size.
[0166] The method for calculating the sample size for a solid-state drive durability test provided by the present invention accurately calculates the sample size by introducing a set of relationship models including influencing factors such as uncorrectable error rate, functional error and data error UCL function values. While ensuring the test quality, it improves the accuracy of the test sample size and the test efficiency, thereby significantly saving R&D costs.
[0167] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention.
[0168] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the 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.
[0169] 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, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0170] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0171] The above disclosure is only a preferred embodiment of the present invention, but the present invention is not limited thereto. Any non-creative changes that can be thought of by a person skilled in the art, as well as several improvements and modifications made without departing from the principle of the present invention, should fall within the protection scope of the present invention.
Claims
1. A method for calculating the sample size for a solid state drive durability test, characterized in that: The following steps are involved: Extract the product specifications of the SSD to be tested; According to the product specifications of the solid state drive to be tested, extract the functional failure rate and uncorrectable error rate of the solid state drive to be tested from the storage end; Based on the confidence upper limit control function, a functional failure error and sample size relationship model with the functional failure rate as the influencing factor and a data error and sample size relationship model with the uncorrectable error rate as the influencing factor were created; Determine a standard functional failure error of the durability test, substitute the standard functional failure error into a functional failure error and sample size relationship model, and obtain a first sample size; Substitute the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size; Between the first sample size and the second sample size, the larger sample size is selected as the test sample size; The relationship model between the functional failure error and the sample size created based on the confidence upper limit control function is expressed by the following formula: UCL(FF) = FFR * sample size (1) Among them, UCL() represents the confidence upper limit control function, FF represents the functional failure error, and FFR represents the functional failure rate; The data error and sample size relationship model created based on the confidence upper limit control function is expressed by the following formula: UCL(DE) = TBW * 8 * 1012 * UBER * Sample size (2) Among them, DE represents data error, TBW represents the total data written in TB bytes, and UBER represents the uncorrectable error rate.
2. The method for calculating the sample size of a solid state drive durability test according to claim 1, characterized in that: Substituting the standard functional failure error into the functional failure error and sample size relationship model to obtain the first sample size specifically includes: Look up the confidence upper limit control function value table and find the confidence upper limit control function value corresponding to the standard function failure error; Substitute the found confidence upper limit control function value into formula (1) to obtain the first sample size.
3. The method for calculating the sample size of a solid state drive durability test according to claim 2, wherein: Substituting the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size, specifically including: Substitute the confidence upper limit control function value corresponding to the standard functional failure error into formula (2) to obtain the second sample size.
4. A device for calculating sample quantity for a solid state hard disk durability test, characterized in that: include, Product specification extraction module: extracts the product specifications of the solid-state drive to be tested; Parameter extraction module: extracts the functional failure rate and uncorrectable error rate of the SSD to be tested from the storage end according to the product specifications of the SSD to be tested; Relationship model creation module: based on the confidence upper limit control function, a relationship model between functional failure error and sample size is created with the functional failure rate as the influencing factor, and a relationship model between data error and sample size with the uncorrectable error rate as the influencing factor; A first sample size calculation module: determining a standard functional failure error of a durability test, substituting the standard functional failure error into a functional failure error and sample size relationship model, and obtaining a first sample size; Second sample size calculation module: Substitute the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size; A test sample size determination module: selects a larger sample size from a first sample size and a second sample size as a test sample size; Among them, the functional failure error and sample size relationship model created by the relationship model creation module based on the confidence upper limit control function is expressed by the following formula: UCL(FF) = FFR * sample size (1) Among them, UCL() represents the confidence upper limit control function, FF represents the functional failure error, and FFR represents the functional failure rate; The data error and sample size relationship model created by the relationship model creation module based on the confidence upper limit control function is expressed by the following formula: UCL(DE) = TBW * 8 * 1012 * UBER * Sample size (2) Among them, DE represents data error, TBW represents the total data written in TB bytes, and UBER represents the uncorrectable error rate.
5. The device for calculating the sample quantity for a solid state drive durability test according to claim 4, characterized in that: The first sample size calculation module substitutes the standard functional failure error into the functional failure error and sample size relationship model to obtain the first sample size, specifically including: Look up the confidence upper limit control function value table and find the confidence upper limit control function value corresponding to the standard function failure error; Substitute the found confidence upper limit control function value into formula (1) to obtain the first sample size.
6. The device for calculating the sample size of a solid state drive durability test according to claim 5, characterized in that: The second sample size calculation module substitutes the confidence upper limit control function value under the first sample size into the data error and sample size relationship model to obtain the second sample size, specifically including: Substitute the confidence upper limit control function value corresponding to the standard functional failure error into formula (2) to obtain the second sample size.
7. A method for testing the durability of a solid state drive, characterized in that: The following steps are involved: Execute the method according to any one of claims 1 to 3 to determine the test sample size; Substitute the test sample size into formula (2) to obtain the standard data error; Conduct SSD endurance testing based on test sample size; If during the test, the functional failure errors do not exceed the standard functional failure errors, and the data errors do not exceed the standard data errors, the SSD endurance test passes.
