Torque test method, device and equipment of solid state disk and storage medium
By acquiring initial performance data and appearance images, applying periodic torque stress and performing programmed erase cycle tests, and combining image difference and gradient boosting tree model analysis, the problem of low accuracy in SSD torque testing was solved. This enabled precise quantification of the impact of torque stress and identification of physical defects, improving the accuracy and reliability of test results.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-02
- Publication Date
- 2026-03-31
AI Technical Summary
Existing methods for testing solid-state drive (SSD) torque have low accuracy and lack effective wear leveling verification, which affects the accuracy of test results and the lifespan of SSDs.
By acquiring initial performance data and appearance benchmark images, applying periodic torque stress and collecting actual torque values and torsional angles in real time, performing programmed erase cycle tests, and combining image difference algorithms and pre-trained gradient boosting tree models for analysis, a torque test report is generated to identify physical defects and performance degradation.
This improves the accuracy of torque testing, enabling precise quantification of the impact of torque stress on performance degradation and physical defects, thereby enhancing the reliability of solid-state drives and the credibility of test results.
Smart Images

Figure CN121237181B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of solid-state drive (SSD) technology, and more specifically to a torque testing method, apparatus, device, and storage medium for SSDs. Background Technology
[0002] Solid-state drives (SSDs) are critical storage devices in modern computer systems, and their performance and reliability are essential for the overall system operation. Torque is a significant factor affecting SSD performance during manufacturing and testing. During computer assembly, SSDs are subjected to various torques, which can cause cracks in the chip packaging and printed circuit board soldering, leading to SSD malfunctions.
[0003] Existing torque testing standards mainly include three-point bending and four-point bending tests, where the sample is placed between support points and a concentrated load is applied in the middle. However, these testing methods have some limitations, requiring specialized test boards and large sample sizes. Furthermore, wear leveling of solid-state drives (SSDs) is also a key factor affecting their performance. Improper wear leveling can lead to decreased read / write speeds and consequently, reduced lifespan. However, current server testing methods for SSDs primarily focus on frequent upgrades and downgrades, lacking effective techniques to verify wear leveling, thus affecting the accuracy of test results.
[0004] Therefore, improving the accuracy of solid-state drive torque testing has become a pressing technical problem. Summary of the Invention
[0005] This invention provides a method, apparatus, device, and storage medium for testing the torque of a solid-state drive (SSD), thereby solving the technical problem of low accuracy in existing SSD torque testing.
[0006] In a first aspect, the present invention provides a method for testing the torque of a solid-state drive, comprising:
[0007] Acquire initial performance data and a baseline image of the solid-state drive under test, wherein the initial performance data includes data integrity parameters and read / write performance parameters;
[0008] A preset periodic torque stress is applied to the solid-state drive under test, and the actual torque value and torsion angle of the solid-state drive under test are collected in real time during the stress application process;
[0009] The solid-state drive under test was subjected to a programming erase cycle test after applying torque stress. The performance data of the solid-state drive under test after the test was recorded, and the performance degradation index of the solid-state drive under test after the test was calculated based on the initial performance data.
[0010] The appearance image of the solid-state drive under test after applying torque stress is acquired, and the appearance image of the solid-state drive under test after applying torque stress is compared with the appearance reference image by the image difference algorithm to identify the physical defects of the solid-state drive under test after applying torque stress.
[0011] The correlation between the monitored actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test is analyzed based on the pre-trained gradient boosting tree model, and a torque test report including performance degradation analysis and physical defect analysis is generated.
[0012] Optionally, the initial performance data and appearance benchmark image of the solid-state drive under test are obtained, wherein the initial performance data includes data integrity parameters and read / write performance parameters, including:
[0013] The solid-state drive under test was installed on the multi-dimensional stress platform, and the ambient temperature of the multi-dimensional stress platform was set to the target temperature.
[0014] Data verification commands and benchmark test commands are sent to the solid-state drive under test respectively to obtain the data integrity parameters and read / write performance parameters of the solid-state drive under test.
[0015] Image sensors are used to acquire image information of the printed circuit board and component areas of the solid-state drive under test, thereby obtaining a baseline image of the solid-state drive's appearance.
[0016] Optionally, applying a preset periodic torque stress to the solid-state drive under test, and acquiring the actual torque value and torsion angle of the solid-state drive under test in real time during the stress application process, includes:
[0017] A composite torque stress sequence is applied to the solid-state drive under test by controlling the servo motor of the multi-dimensional stress platform through a program.
[0018] During the process of applying a composite torque stress sequence to the solid-state drive under test, the actual torque value and torsion angle of the solid-state drive under test are collected in real time based on a preset sampling frequency;
[0019] The actual torque and torsion angle collected in real time are compared with the preset target torque and torsion angle, and the output parameters of the servo motor are dynamically adjusted based on the comparison results.
[0020] Optionally, the step of performing a programming erase cycle test on the solid-state drive under test after applying torque stress, recording the performance data of the solid-state drive under test after the test, and calculating the performance degradation index of the solid-state drive under test after the test based on the initial performance data includes:
[0021] A preset pseudo-random binary sequence verification pattern is written to the solid-state drive under test, and the integrity of the written data on the solid-state drive under test is verified based on the verification pattern.
[0022] Perform a full disk scan on the solid-state drive under test after integrity verification, and record the number and location distribution of correctable and uncorrectable errors that occur during the full disk scan;
[0023] Send the same test command as the benchmark test command to the SSD under test after a full disk scan, and obtain the read and write performance parameters of the SSD under test after the test;
[0024] The test read / write performance parameters are compared with the corresponding initial read / write performance parameters to calculate the performance degradation index of the solid-state drive under test.
[0025] Optionally, an external image of the solid-state drive under test after applying torque stress is acquired, and the external image of the solid-state drive under test after applying torque stress is compared with an external reference image using an image difference algorithm to identify physical defects of the solid-state drive under test after applying torque stress, including:
[0026] The external image of the solid-state drive under test after applying torque stress is acquired from the same preset position and angle as the acquisition of the external reference image;
[0027] Based on the pixel difference algorithm, the collected appearance image after stress application is compared pixel by pixel with the appearance reference image to identify surface scratches and structural cracks on the solid-state drive under test.
[0028] Based on a pre-trained defect classification model, the physical defect types of surface scratches and structural cracks on the solid-state drive under test are determined, and the type, size, and location information of the determined physical defects are labeled.
[0029] Optionally, the pre-trained gradient boosting tree model analyzes the correlation between the monitored actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test, and generates a torque test report including performance degradation analysis and physical defect analysis, including:
[0030] The monitored actual torque value and torsion angle are aligned with the performance degradation index of the solid-state drive under test through time series processing to obtain multi-dimensional data with time series alignment.
[0031] By using a pre-trained gradient boosting tree model to perform correlation analysis on the multi-dimensional data of the solid-state drive under test, a quantitative mapping relationship is established between the actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test.
[0032] Based on the quantitative mapping relationship between the actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test, a torque test report containing performance degradation analysis and physical defect analysis is generated.
[0033] Optionally, the step of performing correlation analysis on the multi-dimensional data of the solid-state drive under test using a pre-trained gradient boosting tree model to establish a quantitative mapping relationship between the actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test includes:
[0034] Feature extraction is performed on the multi-dimensional data of the solid-state drive under test to generate time-domain feature information and frequency-domain feature information of the solid-state drive under test. The time-domain feature information includes peak torque, angle change rate, and stress cycle count, and the frequency-domain feature information includes torque spectrum distribution and angle phase characteristics.
[0035] The extracted time-domain and frequency-domain feature information is input into a pre-trained gradient boosting tree model to calculate the feature importance ranking of each feature vector;
[0036] Based on the ranking of the feature importance of each feature vector, the weighted influence factors of each torque parameter and torsional angle parameter on the performance degradation index and physical defects are quantified, and a parameterized quantitative mapping relationship is established based on the quantified weighted influence factors.
[0037] Secondly, the present invention provides a torque testing device for a solid-state drive, comprising:
[0038] The acquisition module is used to acquire the initial performance data and appearance benchmark image of the solid-state drive under test, wherein the initial performance data includes data integrity parameters and read / write performance parameters;
[0039] The acquisition module is used to apply a preset periodic torque stress to the solid-state drive under test, and to acquire the actual torque value and torsion angle of the solid-state drive under test in real time during the stress application process;
[0040] The testing module is used to perform a programming erase cycle test on the solid-state drive under test after applying torque stress, record the performance data of the solid-state drive under test after the test, and calculate the performance degradation index of the solid-state drive under test after the test based on the initial performance data.
[0041] The identification module is used to acquire an image of the solid-state drive under test after applying torque stress, and compare the image of the solid-state drive under test after applying torque stress with a reference image of the appearance through an image difference algorithm to identify physical defects of the solid-state drive under test after applying torque stress.
[0042] The generation module is used to analyze the correlation between the monitored actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test based on a pre-trained gradient boosting tree model, and generate a torque test report that includes performance degradation analysis and physical defect analysis.
[0043] Thirdly, the present invention provides a computer device, the device including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;
[0044] Memory, used to store computer programs;
[0045] When the processor executes a program stored in the memory, it implements the steps of the torque testing method for the solid-state drive described in any one of the first aspects above.
[0046] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the torque testing method for a solid-state drive as described in any one of the first aspects above.
[0047] Compared with existing technologies, the present invention provides a torque testing method, apparatus, device, and storage medium for solid-state drives (SSDs). By applying a preset periodic torque stress to the SSD under test and performing a programmed erase cycle test on the SSD after the torque stress is applied, the performance changes under the synergistic effect of torque stress can be accurately tested. Compared with single torque testing, this method better reflects the degradation scenarios in actual SSD use. Furthermore, based on a pre-trained gradient boosting tree model, the correlation between the monitored actual torque value and torsion angle and the performance degradation index and physical defects of the SSD under test can be analyzed. This allows for precise quantification of the correlation weights between the actual torque value, torsion angle, performance degradation index, and physical defects of the SSD under test, effectively improving the accuracy of SSD torque testing. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and not all embodiments. For those skilled in the art, other drawings obtained from these drawings without creative effort are all within the scope of protection of this application.
[0049] Figure 1 This is a flowchart of a torque testing method for a solid-state drive provided in an embodiment of the present invention.
[0050] Figure 2This is a flowchart illustrating the application of torque stress to a solid-state drive according to an embodiment of the present invention.
[0051] Figure 3 This is a flowchart of a programming and erasure cycle test for a solid-state drive provided in an embodiment of the present invention.
[0052] Figure 4 This is a flowchart of a solid-state drive physical defect identification method provided in an embodiment of the present invention.
[0053] Figure 5 This is a torque testing device for solid-state drives provided in an embodiment of the present invention.
[0054] Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention.
[0055] Figure 7 This is a schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present invention. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0057] To make the description of this disclosure more detailed and complete, illustrative descriptions of embodiments and specific examples of the present invention are provided below; however, these are not the only forms of implementing or utilizing the specific embodiments of the present invention. The embodiments cover features of multiple specific embodiments and the methods, steps, and their order for constructing and operating these specific embodiments. However, other specific embodiments may also be used to achieve the same or equivalent functions and step sequences. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of this application.
[0058] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.
[0059] In the description of the embodiments of the present invention, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The word "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more. Other quantifiers should be understood similarly. The preferred embodiments described herein are only used to illustrate and explain the present invention and are not intended to limit the present invention. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.
[0060] To address the technical problem of low accuracy in torque testing of existing solid-state drives (SSDs), this invention provides a torque testing method for SSDs, such as... Figure 1 The flowchart described above illustrates a torque testing method for a solid-state drive provided in an embodiment of the present invention, which includes the following steps.
[0061] S10: Acquire initial performance data and a baseline image of the solid-state drive under test, wherein the initial performance data includes data integrity parameters and read / write performance parameters. In this embodiment of the invention, by pre-acquiring initial data including data integrity and read / write performance, as well as a high-resolution image of the solid-state drive under test, the performance degradation or physical changes of the solid-state drive under test observed in subsequent tests can have a reference target, ensuring the accuracy of the test results.
[0062] S20: A preset periodic torque stress is applied to the solid-state drive under test, and the actual torque value and torsion angle of the solid-state drive under test are collected in real time during the stress application process. In this embodiment of the invention, the preset periodic torque stress can ensure the standardization and reproducibility of the test conditions. Solid-state drives of different batches and models can be tested under the same stress conditions, making the test results comparable. Real-time collection of the actual torque value and torsion angle of the solid-state drive can not only verify whether the stress application meets the preset requirements, but also obtain the dynamic mechanical response data of the solid-state drive under torque, providing a basis for subsequent correlation analysis.
[0063] S30: Perform a programming erase cycle test on the solid-state drive under test after applying torque stress, record the performance data of the solid-state drive under test after the test, and calculate the performance degradation index of the solid-state drive under test after the test based on the initial performance data. In this embodiment of the invention, the programming erase cycle is the core cause of the life decay of the solid-state drive. Combined with the torque stress test, it can accurately verify the performance change of the torque stress under synergistic effect. Compared with the single torque test, it is more in line with the decay scenario in the actual use of solid-state drives. By comparing with the initial performance data to calculate the degradation index, the performance change is transformed from a qualitative description into quantitative indicators such as the read / write rate decay rate and the decrease in data integrity. This makes the impact of torque stress on performance intuitive and quantifiable. The performance degradation index of the solid-state drive under test after the test is shown in formulas (1) and (2):
[0064] (1)
[0065] in, Indicates the number of solid-state drives under test The decay rate of each performance indicator Indicates the number of solid-state drives under test The initial baseline value for each performance metric, Indicates the number of solid-state drives under test The values of each performance metric after testing;
[0066] (2)
[0067] in, This indicates the performance degradation index of the solid-state drive under test after testing. Indicates the first [number]th [unit] of the solid-state drive under test One performance metric, This represents the total number of performance metrics for the solid-state drive under test. Indicates the first The weights of each performance metric.
[0068] S40: Acquire an image of the solid-state drive (SSD) under test after applying torque stress, and compare this image with a baseline image using an image difference algorithm to identify physical defects in the SSD after applying torque stress. Specifically, in this embodiment of the invention, by comparing the baseline image with the image after applying stress using an image difference algorithm, initial appearance defects of the SSD can be automatically eliminated, and only defects such as shell cracks and component misalignment caused by torque stress can be identified. Identifying the type and location of defects can convert physical damage into quantifiable image feature data, providing a basis for subsequent correlation analysis.
[0069] S50: Based on a pre-trained gradient boosting tree model, the correlation between the monitored actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test is analyzed, and a torque test report including performance degradation analysis and physical defect analysis is generated. In this embodiment of the invention, the pre-trained gradient boosting tree model is adept at handling multi-dimensional nonlinear data, and can accurately quantify the correlation weights between the actual torque value, torsion angle, performance degradation index, and physical defects of the solid-state drive under test. Compared with traditional statistical analysis, the correlation analysis is more accurate and comprehensive. The generated comprehensive report integrates performance degradation analysis and physical defect analysis, which not only clarifies the impact of torque stress on the solid-state drive, but also provides data support for the structural optimization and usage scenario limitation of the solid-state drive, helping to improve the reliability of solid-state drive products.
[0070] In this embodiment of the invention, when training the gradient boosting tree model, firstly, a dataset is obtained from accelerated life tests and directional torque stress tests conducted on multiple models and batches of solid-state drives. This dataset includes torque stress feature vectors, performance degradation exponents, and the number of physical defect labels. Then, the obtained dataset is preprocessed, and numerical features are normalized to eliminate the influence of dimensions. Subsequently, the dataset is divided into a training set, a validation set, and a test set. During the model training phase, multiple decision trees are iteratively constructed using the gradient boosting algorithm based on the training set data. In this process, cross-validation is employed, and grid search is combined to optimize the learning rate, the maximum depth of the trees, and the subsampling ratio to obtain optimal performance on the validation set and prevent overfitting. Finally, the model performance is evaluated on an independent test set to obtain the pre-trained gradient boosting tree model.
[0071] As an optional implementation, in step S10, initial performance data and a baseline image of the solid-state drive under test are acquired. The initial performance data includes data integrity parameters and read / write performance parameters, including:
[0072] S11: Install the solid-state drive under test (SSD) onto the multi-dimensional stress platform and set the ambient temperature of the multi-dimensional stress platform to the target temperature. Specifically, in this embodiment of the invention, the SSD under test can first be inserted into a specially designed thermally conductive clamp, and then the clamp is fixedly mounted on the torque application axis of the multi-dimensional stress platform to ensure that the stress is accurately transmitted to the printed circuit board of the SSD and to maintain good heat dissipation to simulate real-world scenarios. In addition, the ambient temperature of the SSD needs to be set to 70°C and stabilized for 30 minutes. Installing the SSD under test onto the multi-dimensional stress platform enables precise application and transmission of torque and other stresses, avoiding uneven stress distribution due to unstable installation, and ensuring the consistency and reliability of subsequent stress tests. Setting the target temperature in the ambient temperature chamber can closely match the actual temperature scenario of the SSD's application, eliminating the interference of temperature fluctuations on the initial data acquisition, and making the benchmark data more consistent with the initial state under actual operating conditions.
[0073] S12: Send data verification commands and benchmark test commands to the solid-state drive under test respectively to obtain the data integrity parameters and read / write performance parameters of the solid-state drive under test. Specifically, in this embodiment of the invention, a data verification command can be sent to the solid-state drive under test first to confirm that the basic functions of the hard drive are normal and there are no error messages. Then, run the benchmark test software, configure test modes such as 4K random write and 128K sequential read, and record the initial performance indicators.
[0074] S13: Acquire image information of the printed circuit board and component areas of the solid-state drive under test using an image sensor to obtain a baseline image of the solid-state drive's appearance. Specifically, in this embodiment of the invention, a 5-megapixel high-resolution industrial camera can be used to photograph the main control chip and memory chip areas of the solid-state drive from directly above, focusing on the solder joint area to establish a baseline image. Acquiring information of the printed circuit board and component areas of the solid-state drive under test—these areas are the most prone to defects when the solid-state drive is subjected to stress—allows for more accurate capture of the initial state of the core areas compared to acquiring the overall appearance, avoiding interference from irrelevant area images in subsequent defect identification.
[0075] As an optional implementation method, such as Figure 2 The above, Figure 2 This is a flowchart of applying torque stress to a solid-state drive (SSD) according to an embodiment of the present invention. In step S20, a preset periodic torque stress is applied to the SSD under test, and the actual torque value and torsion angle of the SSD under test are collected in real time during the stress application process, including:
[0076] S21: The servo motor of the multi-dimensional stress platform is controlled by a program to apply a composite torque stress sequence to the solid-state drive under test. Specifically, in this embodiment of the invention, the program controls the servo motor to execute a composite stress cycle sequence, which simulates the thermal expansion and contraction stress during server startup, operation, and shutdown. Three stages of torque stress can be set. The first stage can be a square wave with a frequency of 0.5Hz and a torque of ±1.5Nm, simulating a sudden impact; the second stage can be a sine wave with a frequency of 1.0Hz and a torque of ±0.5Nm; the third stage can be a random wave with a frequency of 2.5Hz and a torque varying between ±0.1Nm and ±1.2Nm.
[0077] S22: During the application of a composite torque stress sequence to the solid-state drive under test (SSD), the actual torque value and torsional angle of the SSD are collected in real time based on a preset sampling frequency. Specifically, in this embodiment of the invention, throughout the process, the system synchronously collects mechanical data, electrical data, and functional data at a sampling rate of 1kHz. The mechanical data includes the actual torque and angle of the SSD under test; the electrical data includes: collecting the 12V power supply current fluctuation of the SSD and the bit error rate of the interface; the functional data includes: real-time monitoring of the operating status of the SSD registers, and immediately triggering a failure protection interruption test once an abnormal status is reported.
[0078] S23: Compare the real-time acquired actual torque and torsion angle with the preset target torque and torsion angle, and dynamically adjust the output parameters of the servo motor based on the comparison results. By comparing the real-time acquired actual torque and torsion angle with the preset target torque and torsion angle, the deviation between the actual and target parameters can be automatically corrected, ensuring the application accuracy of the composite torque stress sequence and avoiding stress deviation from the preset standard due to equipment wear and load changes.
[0079] As an optional implementation method, such as Figure 3 The above, Figure 3 This is a flowchart of a programming and erasing cycle test for a solid-state drive (SSD) provided in an embodiment of the present invention. In step S30, a programming and erasing cycle test is performed on the SSD under test after applying torque stress, the performance data of the SSD under test after the test is recorded, and the performance degradation index of the SSD under test after the test is calculated based on the initial performance data, including:
[0080] S31: A preset pseudo-random binary sequence verification pattern is written to the solid-state drive under test, and the integrity of the written data is verified based on the verification pattern. Specifically, in this embodiment of the invention, the pseudo-random binary sequence has the characteristics of strong randomness and wide coverage, which can simulate the complex data read and write scenarios in actual use of solid-state drives. Compared with fixed format data, the verification result can better reflect the data storage reliability under real working conditions. Integrity verification provides a preliminary screening for subsequent full-disk scanning, which can eliminate invalid tests caused by write failures, and at the same time provide a basis for identifying errors that exist in the write stage, avoiding confusion in subsequent error location.
[0081] S32: Perform a full disk scan on the solid-state drive under test after integrity verification, and record the number and location distribution of correctable and uncorrectable errors that occur during the full disk scan. Specifically, in this embodiment of the invention, clearly distinguishing between correctable and uncorrectable errors allows for a precise assessment of the impact of torque stress on data security.
[0082] S33: Send the same test command as the benchmark test command to the SSD under test after a full disk scan to obtain the read and write performance parameters of the SSD under test after the test. Specifically, in this embodiment of the invention, using the same command as the initial benchmark test can eliminate performance deviations caused by differences in test conditions, ensuring that performance changes after the initial test are only affected by torque stress, thus improving the accuracy of torque testing of the SSD under test.
[0083] S34: Compare the tested read / write performance parameters with the corresponding initial read / write performance parameters to calculate the performance degradation index of the solid-state drive under test. Specifically, in this embodiment of the invention, the performance change of the solid-state drive is converted into a quantitative indicator, such as a 20% decrease in read / write speed, which can intuitively show the impact of torque stress on performance.
[0084] As an optional implementation method, such as Figure 4 The above, Figure 4 This is a flowchart of a solid-state drive (SSD) physical defect identification method provided in an embodiment of the present invention. In step S40, an appearance image of the SSD under test after applying torque stress is acquired, and the appearance image of the SSD under test after applying torque stress is compared with a reference appearance image using an image difference algorithm to identify physical defects of the SSD under test after applying torque stress, including:
[0085] S41: From the same preset position and angle as the appearance reference image, acquire an appearance image of the solid-state drive under test after applying torque stress. Specifically, in this embodiment of the invention, the acquisition position and angle consistent with the appearance reference image are used to eliminate image deviations such as misjudgment of component deformation and missed crack detection caused by changes in shooting angle and distance, ensuring that subsequent comparison differences only stem from physical changes caused by torque stress, thereby improving the accuracy of physical defect identification of the solid-state drive under test.
[0086] S42: Based on a pixel difference algorithm, the collected appearance image after stress application is compared pixel by pixel with the appearance reference image to identify surface scratches and structural cracks on the solid-state drive under test. Specifically, in this embodiment of the invention, pixel-by-pixel comparison can detect pixel-level grayscale differences, identify subtle defects that are difficult to detect with traditional visual inspection, and significantly improve the sensitivity of defect detection.
[0087] S43: Based on a pre-trained defect classification model, the physical defect types of surface scratches and structural cracks on the solid-state drive under test are determined, and the type, size, and location information of the determined physical defects are labeled. Specifically, in this embodiment of the invention, the defect type is automatically determined by a pre-trained model, replacing subjective human judgment, which avoids human experience bias and significantly improves detection efficiency. Labeling the type, size, and location of defects can transform the qualitative description of the defects into standardized quantitative data. For example, a crack on the edge of a printed circuit board, 0.5 mm in length, located on the right side of the interface, makes the severity of the defect intuitively assessable.
[0088] As an optional implementation, in step S50, the pre-trained gradient boosting tree model analyzes the correlation between the monitored actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test, and generates a torque test report including performance degradation analysis and physical defect analysis, including:
[0089] S51: The monitored actual torque value and torsion angle are time-series aligned with the performance degradation index of the solid-state drive under test to obtain multi-dimensional data with time-series alignment. Specifically, in this embodiment of the invention, the torque stress is instantaneous, and the resulting performance degradation or physical defects may have a time lag or cumulative effect. Through time-series alignment, it can be ensured that a specific torque value at a certain moment can be accurately matched with the state change of the solid-state drive at that moment.
[0090] S52: A pre-trained gradient boosting tree model is used to perform correlation analysis on the multi-dimensional data of the solid-state drive under test, establishing a quantitative mapping relationship between the actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test. Specifically, in this embodiment of the invention, the pre-trained gradient boosting tree model can automatically discover complex feature combinations that are difficult for humans to imagine. For example, it may discover that although torque in a single direction does not pose a threat, a specific sequence of alternating positive and negative torques is a key pattern leading to a certain type of solder joint crack, effectively improving the accuracy of fault diagnosis.
[0091] S53: Based on the quantitative mapping relationship between the actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test, a torque test report containing performance degradation analysis and physical defect analysis is generated. Specifically, in this embodiment of the invention, the report integrates the correlation analysis between performance degradation and physical defects, transforming the complex model output into clear test conclusions. For example, under torque conditions, a 15% performance degradation corresponds to a 30% increase in the risk of microcracks on the printed circuit board.
[0092] As an optional implementation, in step S52, the step of performing correlation analysis on the multi-dimensional data of the solid-state drive under test using a pre-trained gradient boosting tree model to establish a quantitative mapping relationship between the actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test includes:
[0093] S521: Perform feature extraction on the multi-dimensional data of the solid-state drive under test to generate time-domain and frequency-domain feature information. The time-domain feature information includes peak torque, angle change rate, and stress cycle count, while the frequency-domain feature information includes torque spectrum distribution and angle phase characteristics. Specifically, in this embodiment of the invention, the time-domain features reflect the intensity and rate of change of stress, while the frequency-domain features reveal the periodic composition and energy distribution of stress. This combined time-frequency domain analysis method can comprehensively and thoroughly characterize complex periodic torque stress states, enabling the discovery of the impact of different stress modes on the solid-state drive.
[0094] S522: The extracted time-domain and frequency-domain feature information is input into the pre-trained gradient boosting tree model to calculate the feature importance ranking of each feature vector. Specifically, in this embodiment of the invention, the pre-trained gradient boosting tree model can automatically calculate the importance ranking of each feature. This directly delves into the analysis, moving beyond simply determining which specific parameters in the stress, such as the rate of change of the peak torque and the energy of specific frequency components, are key factors leading to SSD failure. This greatly enhances the credibility and interpretability of SSD torque test results.
[0095] S523: Based on the importance ranking of each feature vector, quantify the weighted influence factors of each torque parameter and torsion angle parameter on the performance degradation index and physical defects, and establish a parameterized quantitative mapping relationship based on the quantified weighted influence factors. Specifically, in this embodiment of the invention, by ranking the importance, the key stress parameters that have the greatest impact on the reliability of the solid-state drive can be screened out.
[0096] To fully verify the effectiveness of the proposed solid-state drive (SSD) torque testing method, it was compared with the traditional three-point bending test method. Ten enterprise-grade SSDs from the same batch were selected as test subjects and randomly divided into an experimental group and a control group. The experimental group used the complete testing process of the proposed SSD torque testing method, which integrates periodic torque stress application, programmed erase cycle testing, high-precision image differential comparison, and intelligent correlation analysis based on gradient boosting trees. The control group strictly followed the traditional three-point bending test standard for comparison. Experimental results showed that all samples in the experimental group successfully identified microscopic solder joint cracks with dimensions between 5µm and 10µm, while the traditional method only found functional anomalies in three samples and could not locate physical defects at all. Therefore, the torque testing method provided by this invention effectively improves the accuracy of SSD torque testing.
[0097] Based on the above-described torque testing method for solid-state drives (SSDs), this invention provides a torque testing device for SSDs, such as... Figure 5 As shown in Figure 5, the structural schematic diagram of this solid-state drive (SSD) torque testing device includes: an acquisition module 51, used to acquire initial performance data and a reference image of the SSD under test, wherein the initial performance data includes data integrity parameters and read / write performance parameters; a collection module 52, used to apply a preset periodic torque stress to the SSD under test, and to collect the actual torque value and torsion angle of the SSD under test in real time during the stress application process; and a testing module 53, used to perform a programming erase cycle test on the SSD under test after the torque stress is applied, record the performance data of the SSD under test after the test, and based on... The initial performance data is used to calculate the performance degradation index of the solid-state drive under test after testing; the identification module 54 is used to acquire the appearance image of the solid-state drive under test after applying torque stress, and compare the appearance image of the solid-state drive under test after applying torque stress with the appearance baseline image through an image difference algorithm to identify the physical defects of the solid-state drive under test after applying torque stress; the generation module 55 is used to analyze the correlation between the monitored actual torque value and torsion angle and the performance degradation index and physical defects of the solid-state drive under test based on a pre-trained gradient boosting tree model, and generate a torque test report containing performance degradation analysis and physical defect analysis.
[0098] For further details regarding the implementation of the above technical solution by each module in the torque testing device for solid-state drives, please refer to the description of the torque testing method for solid-state drives provided in the above embodiments of the invention, which will not be repeated here.
[0099] Please refer to Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. The device includes a processor 601, which can be implemented using a general-purpose central processing unit (CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, for executing relevant programs to implement the technical solutions provided in the embodiments of this application; and a memory 602, which can be implemented using a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM), etc. The memory 602 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 602 and is called and executed by the processor 601. The input / output interface 603 is used to realize information input and output. The communication interface 604 is used to realize communication interaction between this device and other devices. Communication can be realized by wired means (e.g., USB, network cable, etc.) or by wireless means (e.g., mobile network, WIFI, Bluetooth, etc.). The bus 605 transmits information between the various components of the device (e.g., processor 601, memory 602, input / output interface 603 and communication interface 604). The processor 601, memory 602, input / output interface 603 and communication interface 604 realize communication connection between each other within the device through the bus 605.
[0100] Please refer to Figure 7This is a schematic diagram of a computer-readable storage medium structure according to an embodiment of the present invention. The storage medium 70 of this embodiment stores program instructions 71 capable of implementing the torque testing method for a solid-state drive described above. These program instructions 71 can be stored in the storage medium in the form of a software product, including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, or terminal devices such as computers, servers, mobile phones, and tablets.
[0101] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0102] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units. The above are merely embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
[0103] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.
Claims
1. A torque test method of a solid state drive, characterized in that, The method comprises the following steps: acquiring initial performance data and appearance reference image of the to-be-tested solid state disk, wherein the initial performance data comprises data integrity parameters and read-write performance parameters; applying a preset periodic torque stress to the to-be-tested solid state disk, and collecting real-time torque value and torsion angle of the to-be-tested solid state disk during the stress application process; performing programming and erasing cycle test on the to-be-tested solid state disk after the torque stress application, recording the performance data of the to-be-tested solid state disk after the test, and calculating the performance attenuation index of the to-be-tested solid state disk after the test based on the initial performance data; the calculation formula of the performance attenuation index of the to-be-tested solid state disk after the test is: in, Indicates the number of solid-state drives under test The decay rate of each performance indicator Indicates the number of solid-state drives under test The initial baseline value for each performance metric, Indicates the number of solid-state drives under test The values of each performance metric after testing; in, This indicates the performance degradation index of the solid-state drive under test after testing. Indicates the first [number]th [unit] of the solid-state drive under test One performance metric, This represents the total number of performance metrics for the solid-state drive under test. Indicates the first Weights of each performance metric; collecting the appearance image of the to-be-tested solid state disk after the torque stress application, and comparing the appearance image of the to-be-tested solid state disk after the torque stress application with the appearance reference image through image difference algorithm to identify the physical defects of the to-be-tested solid state disk after the torque stress application; analyzing the correlation between the monitored real-time torque value and torsion angle and the performance attenuation index and physical defects of the to-be-tested solid state disk based on the pre-trained gradient boosting tree model, and generating a torque test report containing performance attenuation analysis and physical defect analysis, which comprises: aligning the monitored real-time torque value and torsion angle with the performance attenuation index of the to-be-tested solid state disk in time sequence to obtain multi-dimensional data of the to-be-tested solid state disk after time sequence alignment; performing correlation analysis on the multi-dimensional data of the to-be-tested solid state disk through the pre-trained gradient boosting tree model to establish a quantitative mapping relationship between the real-time torque value and torsion angle and the performance attenuation index and physical defects of the to-be-tested solid state disk, which comprises: extracting features from the multi-dimensional data of the to-be-tested solid state disk to generate time domain feature information and frequency domain feature information of the to-be-tested solid state disk, wherein the time domain feature information comprises torque peak value, angle change rate and stress cycle number, and the frequency domain feature information comprises torque frequency spectrum distribution and angle phase feature; inputting the extracted time domain feature information and frequency domain feature information into the pre-trained gradient boosting tree model to calculate the feature importance ranking of each feature vector; based on the feature importance ranking of each feature vector, quantifying the weight influence factor of each torque parameter and torsion angle parameter on the performance attenuation index and physical defects, and establishing a parameterized quantitative mapping relationship based on the quantified weight influence factor; based on the quantitative mapping relationship between the real-time torque value and torsion angle and the performance attenuation index and physical defects of the to-be-tested solid state disk, generating a torque test report containing performance attenuation analysis and physical defect analysis. 2.The method of claim 1, wherein, The method comprises the following steps: installing the to-be-tested solid state disk on a multi-dimensional stress platform, and setting the environmental chamber temperature of the multi-dimensional stress platform to a target temperature; sending data verification commands and reference test commands to the to-be-tested solid state disk respectively to acquire data integrity parameters and read-write performance parameters of the to-be-tested solid state disk; acquiring the appearance reference image of the to-be-tested solid state disk by collecting image information of the printed circuit board and component area of the to-be-tested solid state disk through an image sensor. 3.The method of claim 1, wherein, The preset periodic torque stress is applied to the to-be-tested solid state disk, and the actual torque value and the torsion angle of the to-be-tested solid state disk are collected in real time during the stress application process, including: A servo motor of a multi-dimensional stress platform is controlled by a program to apply a composite torque stress sequence to the to-be-tested solid state disk; During the process of applying the composite torque stress sequence to the to-be-tested solid state disk, the actual torque value and the torsion angle of the to-be-tested solid state disk are collected in real time based on a preset sampling frequency; The real-time collected actual torque value and the torsion angle are compared with the preset target torque value and the torsion angle, and the output parameters of the servo motor are dynamically adjusted based on the comparison result. 4.The method of claim 1, wherein, The to-be-tested solid state disk subjected to the torque stress is subjected to a program erase cycle test, the performance data of the to-be-tested solid state disk after the test is recorded, and the performance attenuation index of the to-be-tested solid state disk after the test is calculated based on the initial performance data, including: A preset pseudo-random binary sequence check pattern is written into the to-be-tested solid state disk, and the integrity of the written data of the to-be-tested solid state disk is checked based on the check pattern; The to-be-tested solid state disk after the integrity check is subjected to a full-disk scan, and the number and position distribution of correctable errors and uncorrectable errors occurring in the full-disk scan are recorded; The to-be-tested solid state disk after the full-disk scan is sent a test command same as a reference test command, and the read-write performance parameters of the to-be-tested solid state disk after the test are obtained; The read-write performance parameters after the test are compared with the corresponding initial read-write performance parameters, and the performance attenuation index of the to-be-tested solid state disk is calculated. 5.The method of claim 1, wherein, The appearance image of the to-be-tested solid state disk after the torque stress is applied is collected, and the appearance image of the to-be-tested solid state disk after the torque stress is applied is compared with an appearance reference image through an image difference algorithm to identify the physical defects of the to-be-tested solid state disk after the torque stress is applied, including: The appearance image of the to-be-tested solid state disk after the torque stress is applied is collected from a preset position and angle same as that of the appearance reference image; Based on a pixel difference algorithm, the collected appearance image after the stress application is compared with the appearance reference image pixel by pixel to identify surface scratches and structural cracks on the to-be-tested solid state disk; Based on a pre-trained defect classification model, the physical defect types of the identified surface scratches and structural cracks on the to-be-tested solid state disk are determined, and the type, size and position information of the determined physical defects are labeled.
6. A torque testing device for a solid-state drive, characterized in that, The device is used to implement the torque test method of the solid state disk as claimed in any one of claims 1 to 5, including: An acquisition module is configured to acquire initial performance data and an appearance reference image of a to-be-tested solid state disk, wherein the initial performance data includes data integrity parameters and read-write performance parameters; A collection module is configured to apply a preset periodic torque stress to the to-be-tested solid state disk, and collect actual torque values and torsion angles of the to-be-tested solid state disk in real time during the stress application process; A test module is configured to perform a program erase cycle test on the to-be-tested solid state disk subjected to the torque stress, record the performance data of the to-be-tested solid state disk after the test, and calculate the performance attenuation index of the to-be-tested solid state disk after the test based on the initial performance data. The identification module is configured to collect an appearance image of the SSD after the torque stress is applied, and compare the appearance image of the SSD after the torque stress is applied with the appearance reference image through an image difference algorithm to identify physical defects of the SSD after the torque stress is applied. The generation module is configured to analyze the correlation between the monitored actual torque value and the twist angle and the performance attenuation index and the physical defects of the SSD to be tested based on the pre-trained gradient boosting tree model, and generate a torque test report containing performance attenuation analysis and physical defect analysis.
7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the torque test method of the SSD according to any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, the computer-readable storage medium comprising: The computer program is executed by the processor to implement the steps of the torque test method of the SSD according to any one of claims 1 to 5.
Citation Information
Patent Citations
NAND Flash Solid State Disk Space Environment Effect Test System and Test Method
CN109285583A
Solid state disk bending test method and device, computer equipment and storage medium
CN116364166A