A vibration reliability test and fault diagnosis method and system for a UFS storage device
Patent Information
- Application Number
- CN202611211325.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-11
- Publication Date
- 2026-10-16
AI Technical Summary
现有的测试手段通常只能在振动激励前后分别进行静态验证,无法在动态振动环境下实时监控并验证设备的并发读写状态
1.本申请提供的UFS存储设备的振动可靠性测试与故障诊断方法,填补了现有技术没有针对UFS存储设备在振动环境下的专项测试方案的空白。通过建立子系统间的时钟同步机制,本申请将动态振动载荷下的物理环境状态与UFS存储设备的内部操作置于统一的时间基准上。在此基础上,能够在并发执行读写任务时,实时捕捉执行状态信息发生异常、硬件接口及电气状态事件触发以及物理环境事件发生的时间戳。通过对多维时间戳进行时序关联分析,本申请提供的测试与诊断跨越了多模态之间的壁垒,能够根据时序的耦合关系,准确区分是UFS存储设备的内部缺陷自身问题,还是UFS存储设备与测试平台之间的物理连接松动问题。这一方案精准找到了故障问题所在,有效解决了现有技术中软硬件异常难以对齐、故障归因模糊的技术难题;
Smart Images

Figure CN122930167A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of storage devices, and more particularly to a method and system for vibration reliability testing and fault diagnosis of UFS storage devices. Background Technology
[0002] With the rapid application and development of robotics technology, the UFS storage devices built into them play a core role in supporting system operation and recording critical data. However, robots inevitably face complex working conditions such as walking bumps, robotic arm movements, and accidental collisions during actual operations. The continuous vibration stress generated by these conditions poses a significant potential threat to the real-time data integrity and read / write stability of the storage system.
[0003] Currently, testing solutions for storage devices primarily focus on the mechanical reliability at the packaging or device level, lacking dedicated dynamic vibration testing for real-world application scenarios. Existing testing methods typically only allow for static verification before and after vibration excitation, failing to monitor and verify the concurrent read / write status of the device in real-time under dynamic vibration conditions. More seriously, due to the lack of dedicated dynamic vibration testing, when static tests fail, current technologies lack an analysis mechanism to effectively interact and align software-level read / write anomalies with the underlying physical state, making it impossible to confirm whether the issue stems from loose physical connections or internal defects.
[0004] In summary, existing technologies lack effective reliability testing and fault diagnosis solutions for storage failures under vibration environments. There is an urgent need in this field for a reliability testing and diagnosis solution capable of accurately locating and differentiating the causes of failures. Summary of the Invention
[0005] In order to overcome the above-mentioned technical defects, the purpose of this invention is to provide a method and system for vibration reliability testing and fault diagnosis of UFS storage devices.
[0006] This invention discloses a method for vibration reliability testing and fault diagnosis of UFS storage devices, comprising the following steps: Establish a clock synchronization mechanism between the subsystems within the test system, and control the vibration test equipment to apply vibration excitation to the test platform equipped with UFS storage devices according to the preset dynamic vibration load; During the duration of vibration excitation, preset read and write tasks are issued to and executed concurrently on the UFS storage device; The system acquires the execution status information of read and write tasks in real time, and synchronously collects hardware interface and electrical status events of UFS storage devices as well as current physical environment events of the test platform; and records the timestamps when execution status information anomalies occur, hardware interface and electrical status events are triggered, and physical environment events occur. Perform time-series correlation analysis between the timestamp of the execution status information anomaly and the timestamps of hardware interface and electrical status events, and / or physical environment events; Based on the results of the time-series correlation analysis, the causes of the abnormal execution status information were determined. These causes include: loose physical connection between the UFS storage device and the test platform, or internal defects in the UFS storage device.
[0007] Preferably, the vibration testing equipment applies vibration excitation to the test platform equipped with the UFS storage device according to a preset dynamic vibration load, including: The test platform was placed in multiple preset target ambient temperature ranges and subjected to constant temperature maintenance treatment in each range. Under each target ambient temperature range, the vibration testing equipment is controlled to output dynamic vibration loads; wherein, the dynamic vibration loads include at least one combination of random vibration loads, impact pulse loads and sinusoidal sweep frequency loads applied continuously according to a preset time sequence, in order to simulate physical environmental events of the test platform under different operating conditions.
[0008] Preferably, the process of issuing and concurrently executing preset read / write tasks to the UFS storage device includes: Based on the current application stage of the dynamic vibration load, dynamically configure the corresponding number of concurrent read / write threads and the combination of operation types; Based on the combination of operation types, read and write tasks, including sequential read and write, random read and write, large block data transfer, and file system metadata operations, are distributed to the UFS storage device through multiple concurrent threads. For each read / write task, the system performs real-time consistency comparisons between written and read-back data, as well as checks the correctness of file system metadata, thereby generating execution status information.
[0009] Preferably, establishing a clock synchronization mechanism between subsystems within the test system includes: Based on the NTP or PTP protocol, the system clocks of the test control host, vibration test equipment, and electrical signal monitoring equipment used to collect hardware interface and electrical status events are synchronized to within the preset error accuracy. Collect hardware interface and electrical status events of UFS storage devices, including: real-time monitoring of at least one of the following: physical layer differential signal integrity, power supply voltage drop status, and abnormal triggering status of reset signal level.
[0010] Preferably, the time-series correlation analysis of the timestamp of the execution status information anomaly with the timestamps of hardware interface and electrical status events, and / or physical environment events includes: Continuously monitor the device node status of the corresponding UFS storage device in the operating system, identify the connection events that are re-enumerated after the UFS storage device disappears from the test system, and record the timestamps of the connection events; If a re-enumeration connection event occurs within a preset time window before or after the timestamp of the abnormal execution status information, the initial determination of the cause of the failure is that the physical connection between the UFS storage device and the test platform is loose. Alternatively, obtain the command timeout time of the abnormal read / write task; if the command timeout time exhibits a fixed duration characteristic and the returned error message is a standard protocol layer error, then the cause of the failure is preliminarily determined to be an internal defect of the UFS storage device.
[0011] Preferably, based on the results of the time-series correlation analysis, the reasons for the abnormal execution status information also include: Collect UFS protocol layer error logs when abnormal execution status information occurs, and classify them into physical link layer errors and protocol control layer errors according to error type; If the proportion of physical link layer errors in the UFS protocol layer error log is greater than the first preset threshold, the cause of the failure is determined to be a loose physical connection between the UFS storage device and the test platform. If protocol control layer errors or file system layer errors dominate the UFS protocol layer error log, the cause of the failure is determined to be an internal defect of the UFS storage device.
[0012] Preferably, the time-series correlation analysis of the timestamp of the execution status information anomaly with the timestamps of hardware interface and electrical status events, and / or physical environment events further includes: Acquire continuous vibration acceleration data from physical environment events and extract the time series of vibration acceleration peaks; Calculate the correlation coefficient between the timestamp of the abnormal execution status information and the time series of the peak vibration acceleration; If the correlation coefficient is greater than the second preset threshold, and the abnormal events occur in the impact phase of dynamic vibration load, the cause of the failure is determined to be a loose physical connection between the UFS storage device and the test platform. If the correlation coefficient is less than the third preset threshold, the cause of the failure is determined to be an internal defect in the UFS storage device.
[0013] Preferably, the vibration reliability testing and fault diagnosis method further includes: Before applying vibration excitation, a test file set containing multiple data modes is created in a preset partition of the UFS storage device, and a preset verification algorithm is used to calculate the baseline verification value of the test file set. Furthermore, after stopping the application of vibration excitation, the test file set is revisited, the current verification value is calculated using a preset verification algorithm, and the current verification value is compared with the benchmark verification value; If the comparison results are inconsistent or files in the test file set are lost, it is determined that the data stored in the UFS storage device is corrupted.
[0014] Preferably, the vibration reliability testing and fault diagnosis method further includes: Before applying vibration excitation, benchmark performance tests were performed on the UFS storage device, and benchmark performance indicators, including read and write speeds and number of input / output operations per second, were recorded. After stopping the vibration excitation, perform the same performance test again and record the current performance indicators after vibration; Calculate the decay rate of the current performance index relative to the baseline performance index. If the decay rate exceeds the preset decay warning threshold, output a performance decay warning for the UFS storage device.
[0015] A second aspect of this application provides a vibration reliability testing and fault diagnosis system for a UFS storage device, capable of implementing any of the methods described above. The vibration reliability testing and fault diagnosis system includes: Test base, used to mount and place the UFS storage device under test; The vibration module is connected to the test base and is used to apply vibration excitation to the test base equipped with UFS storage devices according to the preset dynamic vibration load. The read module communicates with the UFS storage device and is used to issue and concurrently execute preset read and write tasks to the UFS storage device during the continuous vibration excitation, as well as synchronously read the hardware interface and electrical status events and current physical environment events of the UFS storage device. The analysis module is used to record the execution status information and timestamps of various events obtained by the reading module, and to perform time-series correlation analysis on the timestamps to output fault diagnosis results; The control module is electrically connected to the vibration module, reading module, and analysis module, respectively, and is used to establish a clock synchronization mechanism within the system and coordinate the operation of each module.
[0016] Compared with existing technologies, the above technical solution has the following advantages: 1. The vibration reliability testing and fault diagnosis method for UFS storage devices provided in this application fills the gap in existing technologies for the lack of a specific testing scheme for UFS storage devices under vibration environments. By establishing a clock synchronization mechanism between subsystems, this application places the physical environment state under dynamic vibration loads and the internal operation of the UFS storage device on a unified time reference. Based on this, it can capture the timestamps of abnormal execution status information, hardware interface and electrical state events, and physical environment events in real time during concurrent read / write tasks. Through time-series correlation analysis of multi-dimensional timestamps, the testing and diagnosis provided in this application overcomes the barriers between multiple modes, accurately distinguishing between internal defects of the UFS storage device and loose physical connections between the UFS storage device and the test platform based on the temporal coupling relationship. This solution accurately identifies the fault location and effectively solves the technical problems of difficulty in aligning hardware and software anomalies and ambiguous fault attribution in existing technologies. 2. To address the issue of matching accuracy between the simulation dimensions of the physical environment and the software load, this application places the test platform within multiple target environmental temperature ranges and superimposes various dynamic vibration loads. This temperature-vibration coupled test environment can realistically reproduce the stress state of the equipment under complex field conditions, fully stimulating potential mechanical contact problems or material thermal expansion and contraction issues. During dynamic testing, the system flexibly schedules the number of concurrent read / write threads and the combination of operation types according to different stages of vibration load application, enabling dynamic matching between the data interaction pressure at the software level and the mechanical impact at the physical level, fully exposing the shortcomings of the storage medium's read / write stability. Simultaneously, static boundary verification is added to the dynamic testing. By comparing test file sets with multiple data modes, hidden data corruption that has occurred without triggering underlying errors during dynamic testing can be discovered, constructing a robust data integrity defense line. 3. Furthermore, relying on a precise time synchronization protocol, the system controls the clock error between devices to a very small range. By real-time monitoring of physical layer differential signals and electrical states such as power supply reset, it captures microsecond-level electrical fluctuations during vibration, providing solid underlying evidence for diagnosis. Based on this, the system constructs a progressive diagnostic mechanism from macroscopic system behavior to microscopic protocol internals: by identifying device re-enumeration events or command timeout characteristics, it achieves rapid screening of fault directions; by quantifying the proportion of errors in the physical link layer and protocol control layer within the UFS protocol layer, it improves the logical rigor of fault root cause localization; simultaneously, by calculating the correlation coefficient between the time series of vibration acceleration peaks and abnormal timestamps, it mathematically models and correlates physical and mechanical characteristics with software anomalies, statistically confirming or excluding the influence of external mechanical stress. 4. This application also introduces a progressive health assessment concept and constructs a complete automated physical testing architecture. The system performs benchmark performance tests before and after vibration excitation. By calculating the attenuation rate of performance indicators, it can quantify and understand the physical degradation trend of the storage medium before the device completely fails or data is lost, providing a preliminary risk assessment. As a physical platform corresponding to the above methodological system, this application provides a system integrating a test base, vibration module, reading module, analysis module, and control module. The various functional modules achieve a fusion and interaction of physical actions and data transmission through transmission, communication, and electrical connections, forming an automated testing platform with a closed loop of control and data flow. This ensures that the entire time-series correlation diagnostic method can be applied to practical engineering applications at low cost and with high reproducibility. Attached Figure Description
[0017] Figure 1 A flowchart illustrating the vibration reliability testing and fault diagnosis method for the UFS storage device provided in this application. Detailed Implementation
[0018] The advantages of the present invention will be further illustrated below with reference to the accompanying drawings and specific embodiments.
[0019] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0020] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0021] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0022] In the description of this invention, it should be understood that the terms "longitudinal", "lateral", "up", "down", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0023] In the description of this invention, unless otherwise specified and limited, it should be noted that the terms "installation", "connection" and "linking" should be interpreted broadly. For example, they can refer to mechanical or electrical connections, or internal connections between two components. They can be direct connections or indirect connections through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms according to the specific circumstances.
[0024] In the following description, suffixes such as "module," "part," or "unit" used to denote elements are used only for the convenience of the description of the invention and have no specific meaning in themselves. Therefore, "module" and "part" can be used interchangeably.
[0025] Please see Figure 1 , Figure 1 A flowchart illustrating the vibration reliability testing and fault diagnosis method for the UFS storage device provided in this application.
[0026] like Figure 1 As shown, the first aspect of this invention discloses a method for vibration reliability testing and fault diagnosis of a UFS storage device, comprising the following steps: Establish a clock synchronization mechanism between the subsystems within the test system, and control the vibration test equipment to apply vibration excitation to the test platform equipped with UFS storage devices according to the preset dynamic vibration load; During the duration of vibration excitation, preset read and write tasks are issued to and executed concurrently on the UFS storage device; The system acquires the execution status information of read and write tasks in real time, and synchronously collects hardware interface and electrical status events of UFS storage devices as well as current physical environment events of the test platform; and records the timestamps when execution status information anomalies occur, hardware interface and electrical status events are triggered, and physical environment events occur. Perform time-series correlation analysis between the timestamp of the execution status information anomaly and the timestamps of hardware interface and electrical status events, and / or physical environment events; Based on the results of the time-series correlation analysis, the causes of the abnormal execution status information were determined. These causes include: loose physical connection between the UFS storage device and the test platform, or internal defects in the UFS storage device.
[0027] It is understandable that the vibration reliability testing and fault diagnosis method for UFS storage devices provided in this application fills the gap in existing technologies for the lack of a specific testing scheme for UFS storage devices under vibration environments. By establishing a clock synchronization mechanism between subsystems, this application places the physical environment state under dynamic vibration loads and the internal operation of the UFS storage device on a unified time reference. Based on this, it can capture the timestamps of abnormal execution status information, hardware interface and electrical state events, and physical environment events in real time during concurrent read / write tasks. Through time-series correlation analysis of multi-dimensional timestamps, the testing and diagnosis provided in this application overcomes the barriers between multiple modes, accurately distinguishing between internal defects of the UFS storage device itself and loose physical connections between the UFS storage device and the test platform based on the temporal coupling relationship. This solution accurately identifies the fault location and effectively solves the technical difficulties of aligning software and hardware anomalies and the ambiguity of fault attribution in existing technologies. The above is an explanation of the basic concept of this application. The following will further explain the specific implementation methods of each step.
[0028] First, there are no restrictions on the specific conditions for the test.
[0029] Regarding time synchronization: In one possible implementation, establishing a clock synchronization mechanism between subsystems within the test system includes: Based on the NTP or PTP protocol, the system clocks of the test control host, vibration test equipment, and electrical signal monitoring equipment used to collect hardware interface and electrical status events are synchronized to within the preset error accuracy. Collect hardware interface and electrical status events of UFS storage devices, including: real-time monitoring of at least one of the following: physical layer differential signal integrity, power supply voltage drop status, and abnormal triggering status of reset signal level.
[0030] On the one hand, relying on the NTP or PTP protocol, the clock error between the test control host, vibration testing equipment, and electrical signal monitoring equipment is kept within a very small preset precision, ensuring the absolute reliability of timestamp comparison. On the other hand, by real-time monitoring of hardware interfaces and electrical status events such as physical layer differential signal integrity, power supply voltage drop status, or abnormal triggering status of reset signal levels, the diagnostic probe penetrates deep into the electrical physical layer. This enables the system to capture microsecond-level electrical fluctuations that are difficult to detect in conventional software logs during vibration, providing conclusive evidence for accurately distinguishing between mechanical loosening and internal chip defects.
[0031] Regarding the specific implementation of applying vibration excitation to the test platform: In one possible implementation, the vibration testing equipment is controlled to apply vibration excitation to the test platform equipped with UFS storage devices according to a preset dynamic vibration load, including: The test platform was placed in multiple preset target ambient temperature ranges and subjected to constant temperature maintenance treatment in each range. Under each target ambient temperature range, the vibration testing equipment is controlled to output dynamic vibration loads; wherein, the dynamic vibration loads include at least one combination of random vibration loads, impact pulse loads and sinusoidal sweep frequency loads applied continuously according to a preset time sequence, in order to simulate physical environmental events of the test platform under different operating conditions.
[0032] The test platform is placed within multiple target ambient temperature ranges and subjected to various dynamic vibration loads, including random vibration loads, impact pulse loads, and sinusoidal sweep loads. The principle is that physical and thermal stresses under different operating conditions can have a cross-effect on storage devices. This temperature-vibration coupled test environment can realistically reproduce the stress state of the equipment under complex field conditions. Through the combination of multi-dimensional physical environmental events, the system can more comprehensively stimulate potential problems caused by poor mechanical contact or thermal expansion and contraction of materials, significantly improving the operating condition coverage and realism of reliability testing.
[0033] Secondly, the specific implementation method of the preset read and write tasks is also not limited during the vibration excitation period.
[0034] In one possible implementation, pre-defined read and write tasks are issued to and executed concurrently on the UFS storage device, including: Based on the current application stage of the dynamic vibration load, dynamically configure the corresponding number of concurrent read / write threads and the combination of operation types; Based on the combination of operation types, read and write tasks, including sequential read and write, random read and write, large block data transfer, and file system metadata operations, are distributed to the UFS storage device through multiple concurrent threads. For each read / write task, the system performs real-time consistency comparisons between written and read-back data, as well as checks the correctness of file system metadata, thereby generating execution status information.
[0035] By flexibly scheduling the number of concurrent read / write threads and the combination of operation types according to different stages of dynamic vibration load application, read / write tasks such as sequential read / write, random read / write, large block data transfer, and file system metadata operations are alternately issued. The principle of this design is to dynamically match the data interaction pressure at the software level with the mechanical impact at the physical level, thereby fully exposing the read / write stability shortcomings of the storage medium under different data transfer modes in complex stress environments. Combined with real-time consistency comparison and correctness checks, abnormal moments in execution status information can be identified immediately, providing high-precision software behavior data for subsequent diagnosis.
[0036] Furthermore, there are no restrictions on the specific methods used in association analysis.
[0037] In one possible implementation, time-series correlation analysis is performed between the timestamp of the execution status information exception and the timestamps of hardware interface and electrical status events, and / or physical environment events, including: Continuously monitor the device node status of the corresponding UFS storage device in the operating system, identify the connection events that are re-enumerated after the UFS storage device disappears from the test system, and record the timestamps of the connection events; If a re-enumeration connection event occurs within a preset time window before or after the timestamp of the abnormal execution status information, the initial determination of the cause of the failure is that the physical connection between the UFS storage device and the test platform is loose. Alternatively, obtain the command timeout time of the abnormal read / write task; if the command timeout time exhibits a fixed duration characteristic and the returned error message is a standard protocol layer error, then the cause of the failure is preliminarily determined to be an internal defect of the UFS storage device.
[0038] This can be understood as follows: The system continuously monitors the status of device nodes in the operating system. If, within a specific time window when abnormal status information occurs, a connection event is detected where the UFS storage device disappears and is then re-enumerated, it indicates that physical vibration directly caused a brief physical disconnection of the device link, clearly pointing to a loose physical connection. Conversely, if abnormal read / write tasks exhibit command timeouts with fixed durations and are accompanied by standard protocol layer errors, this is typically a manifestation of firmware logic deadlock or internal state machine abnormality within the storage chip. This method achieves rapid qualitative analysis of fault direction by analyzing the characteristic patterns of software and hardware interaction.
[0039] Furthermore, in one possible implementation, the time-series correlation analysis of the timestamp of the execution status information exception with the timestamps of hardware interface and electrical status events, and / or physical environment events also includes: Acquire continuous vibration acceleration data from physical environment events and extract the time series of vibration acceleration peaks; Calculate the correlation coefficient between the timestamp of the abnormal execution status information and the time series of the peak vibration acceleration; If the correlation coefficient is greater than the second preset threshold, and the abnormal events occur in the impact phase of dynamic vibration load, the cause of the failure is determined to be a loose physical connection between the UFS storage device and the test platform. If the correlation coefficient is less than the third preset threshold, the cause of the failure is determined to be an internal defect in the UFS storage device.
[0040] By extracting the peak vibration acceleration time series from continuous vibration acceleration data and calculating the correlation coefficient with the timestamps of abnormal execution status information, this correlation analysis reveals the statistical regularity of the fault occurrence: when the correlation coefficient is higher than a preset threshold and the anomaly is concentrated in the impact phase, it proves that the sudden physical impact is the direct physical cause of the error, confirming the judgment of loose physical connection; if the two show a low correlation, that is, the occurrence of the error is completely independent of the peak change of external vibration load, then the main influence of external mechanical stress is mathematically ruled out, and it is diagnosed as an internal defect of the UFS storage device.
[0041] Finally, the specific methods of association analysis are also not limited.
[0042] In one possible implementation, based on the results of temporal correlation analysis, the reasons for the abnormal execution status information may also include: Collect UFS protocol layer error logs when abnormal execution status information occurs, and classify them into physical link layer errors and protocol control layer errors according to error type; If the proportion of physical link layer errors in the UFS protocol layer error log is greater than the first preset threshold, the cause of the failure is determined to be a loose physical connection between the UFS storage device and the test platform. If protocol control layer errors or file system layer errors dominate the UFS protocol layer error log, the cause of the failure is determined to be an internal defect of the UFS storage device.
[0043] By extracting the UFS protocol layer error logs at the time of the anomaly, and precisely classifying them into physical link layer errors and protocol control layer errors, the judgment logic is as follows: poor pin contact caused by mechanical vibration or high-frequency line interference will trigger a large number of underlying physical link layer initialization or transmission interruption errors; while if protocol control layer errors or file system layer errors dominate in the error logs, it indicates that the underlying physical link is functioning properly, and the fault often originates in the data processing or flash memory management process within the chip. By quantifying the proportion of error logs at different levels, the granularity and logical rigor of fault root cause localization are further improved.
[0044] The above is a complete description of the vibration reliability testing and fault diagnosis method of this application. Those skilled in the art will understand that the vibration reliability testing and fault diagnosis method provided in this application may include more steps to achieve more functions.
[0045] For example, in one possible implementation, the vibration reliability testing and fault diagnosis method further includes: Before applying vibration excitation, a test file set containing multiple data modes is created in a preset partition of the UFS storage device, and a preset verification algorithm is used to calculate the baseline verification value of the test file set. Furthermore, after stopping the application of vibration excitation, the test file set is revisited, the current verification value is calculated using a preset verification algorithm, and the current verification value is compared with the benchmark verification value; If the comparison results are inconsistent or files in the test file set are lost, it is determined that the data stored in the UFS storage device is corrupted.
[0046] Before and after applying vibration excitation, the system compares the baseline verification value with the current verification value using a test file set containing multiple data patterns. Different types of data patterns can cover different addressing characteristics and error correction pressure ranges of the storage medium. Full verification under static conditions can detect hidden data corruption that did not trigger real-time I / O error feedback during dynamic testing but has caused bit flips or file corruption at the underlying storage unit level. This constitutes a robust data integrity defense line, ensuring a closed loop for reliability assessment.
[0047] In another possible implementation, vibration reliability testing and fault diagnosis methods also include: Before applying vibration excitation, benchmark performance tests were performed on the UFS storage device, and benchmark performance indicators, including read and write speeds and number of input / output operations per second, were recorded. After stopping the vibration excitation, perform the same performance test again and record the current performance indicators after vibration; Calculate the decay rate of the current performance index relative to the baseline performance index. If the decay rate exceeds the preset decay warning threshold, output a performance decay warning for the UFS storage device.
[0048] This solution introduces a progressive health assessment concept. By performing benchmark performance tests before and after vibration excitation, changes in read / write speeds and input / output operations per second are recorded and compared. Even if the file data on the UFS storage device has not suffered substantial damage, long-term physical vibration may lead to abnormal thermal management of the internal controller, increased error correction burden, or signal channel performance degradation. By calculating the degradation rate and outputting performance degradation warnings when the threshold is exceeded, the system can quantify and understand the physical degradation trend of the storage medium in advance, providing proactive risk assessment, before the device fails completely or data is lost.
[0049] A second aspect of this application provides a vibration reliability testing and fault diagnosis system for a UFS storage device, capable of implementing any of the methods described above. The vibration reliability testing and fault diagnosis system includes: Test base, used to mount and place the UFS storage device under test; The vibration module is connected to the test base and is used to apply vibration excitation to the test base equipped with UFS storage devices according to the preset dynamic vibration load. The read module communicates with the UFS storage device and is used to issue and concurrently execute preset read and write tasks to the UFS storage device during the continuous vibration excitation, as well as synchronously read the hardware interface and electrical status events and current physical environment events of the UFS storage device. The analysis module is used to record the execution status information and timestamps of various events obtained by the reading module, and to perform time-series correlation analysis on the timestamps to output fault diagnosis results; The control module is electrically connected to the vibration module, reading module, and analysis module, respectively, and is used to establish a clock synchronization mechanism within the system and coordinate the operation of each module.
[0050] The vibration reliability testing and fault diagnosis system for UFS storage devices integrates a test base for mounting UFS storage devices, a vibration module that provides mechanical stress, a reading module that performs communication read / write operations and collects underlying state data, an analysis module that processes massive timestamps and performs correlation diagnosis, and a centrally coordinating control module. These functional modules are interconnected through transmission, communication, and electrical connections, achieving a fusion of physical actions and data transmission. This forms an automated testing platform with a closed-loop control and data flow, ensuring that the entire timing correlation diagnosis method can be applied to real-world engineering projects at low cost and with high reproducibility.
[0051] It should be noted that the embodiments of the present invention have better implementability and are not intended to limit the present invention in any way. Any person skilled in the art may use the above-disclosed technical content to change or modify it into equivalent effective embodiments. However, any modifications or equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall still fall within the scope of the technical solution of the present invention.
Claims
1. A method for vibration reliability testing and fault diagnosis of a UFS storage device, characterized in that, Includes the following steps: Establish a clock synchronization mechanism between the subsystems within the test system, and control the vibration test equipment to apply vibration excitation to the test platform equipped with UFS storage devices according to the preset dynamic vibration load; During the duration of the vibration excitation, preset read and write tasks are issued to and concurrently executed on the UFS storage device; The system acquires the execution status information of the read and write tasks in real time, and simultaneously collects the hardware interface and electrical status events of the UFS storage device and the current physical environment events of the test platform; and records the timestamps when the execution status information is abnormal, the hardware interface and electrical status events are triggered, and the physical environment events occur. Perform time-series correlation analysis between the timestamp of the abnormal execution status information and the timestamps of the hardware interface and electrical status events, and / or the timestamps of the physical environment events; Based on the results of the time-series correlation analysis, the cause of the abnormal execution status information is determined. The cause includes: loose physical connection between the UFS storage device and the test platform, or internal defects of the UFS storage device.
2. The vibration reliability testing and fault diagnosis method for UFS storage devices as described in claim 1, characterized in that, The controlled vibration testing equipment applies vibration excitation to the test platform equipped with UFS storage devices according to a preset dynamic vibration load, including: The test platform was placed in multiple preset target ambient temperature ranges and subjected to constant temperature maintenance treatment in each range. Under each target ambient temperature range, the vibration testing equipment is controlled to output the dynamic vibration load; wherein, the dynamic vibration load includes at least one combination of random vibration load, impact pulse load and sinusoidal sweep frequency load applied continuously according to a preset time sequence, so as to simulate physical environment events of the test platform under different operating conditions.
3. The vibration reliability testing and fault diagnosis method for UFS storage devices as described in claim 1, characterized in that, The step of issuing and concurrently executing preset read and write tasks to the UFS storage device includes: Based on the current application stage of the dynamic vibration load, dynamically configure the corresponding number of concurrent read / write threads and the combination of operation types; According to the combination of the operation types, read and write tasks including sequential read and write, random read and write, large block data transfer, and file system metadata operations are distributed to the UFS storage device through multiple concurrent threads; For each read / write task, the consistency of the written data and the read-back data is compared in real time, and the correctness of the file system metadata is checked, thereby generating the execution status information.
4. The vibration reliability testing and fault diagnosis method for UFS storage devices as described in claim 1, characterized in that, The established clock synchronization mechanism between the subsystems within the test system includes: Based on the NTP or PTP protocol, the system clocks of the test control host, vibration test equipment, and electrical signal monitoring equipment used to collect the hardware interface and electrical status events are synchronized to within the preset error accuracy. The acquisition of hardware interface and electrical status events of the UFS storage device includes: real-time monitoring of at least one of the following: physical layer differential signal integrity, power supply voltage drop status, and reset signal level abnormal trigger status of the UFS storage device.
5. The vibration reliability testing and fault diagnosis method for UFS storage devices as described in claim 1, characterized in that, The time-series correlation analysis of the timestamp of the abnormal execution status information with the timestamps of the hardware interface and electrical status events, and / or the timestamps of the physical environment events includes: Continuously monitor the device node status corresponding to the UFS storage device in the operating system, identify the connection events that are re-enumerated after the UFS storage device disappears from the test system, and record the timestamp of the connection events; If the re-enumeration connection event occurs within a preset time window before or after the timestamp of the abnormal execution status information, the cause of the failure is initially determined to be a loose physical connection between the UFS storage device and the test platform. Alternatively, obtain the command timeout time of the abnormal read / write task; if the command timeout time exhibits a fixed duration characteristic and the returned error message is a standard protocol layer error, then the cause of the failure is preliminarily determined to be an internal defect of the UFS storage device.
6. The vibration reliability testing and fault diagnosis method for UFS storage devices as described in claim 1, characterized in that, The determination of the reasons for the abnormality in the execution status information based on the results of the time-series correlation analysis also includes: Collect UFS protocol layer error logs when the execution status information is abnormal, and classify them into physical link layer errors and protocol control layer errors according to error type; If the proportion of physical link layer errors in the UFS protocol layer error log is greater than a first preset threshold, the cause of the failure is determined to be a loose physical connection between the UFS storage device and the test platform. If the protocol control layer error or file system layer error dominates the UFS protocol layer error log, the cause of the failure is determined to be an internal defect of the UFS storage device.
7. The vibration reliability testing and fault diagnosis method for UFS storage devices as described in claim 1, characterized in that, The step of performing a time-series correlation analysis between the timestamp of the abnormal execution status information and the timestamps of the hardware interface and electrical status events, and / or the timestamps of the physical environment events, further includes: Acquire continuous vibration acceleration data from the physical environment events and extract the time series of vibration acceleration peaks; Calculate the correlation coefficient between the timestamp of the abnormal execution status information and the time series of the vibration acceleration peak; If the correlation coefficient is greater than the second preset threshold, and the abnormal events occur in the impact phase of the dynamic vibration load, then the cause of the failure is determined to be a loose physical connection between the UFS storage device and the test platform. If the correlation coefficient is less than the third preset threshold, the cause of the fault is determined to be an internal defect of the UFS storage device.
8. The vibration reliability testing and fault diagnosis method for UFS storage devices as described in claim 1, characterized in that, The vibration reliability testing and fault diagnosis method also includes: Before applying the vibration excitation, a test file set containing multiple data modes is created in a preset partition of the UFS storage device, and a preset verification algorithm is used to calculate the baseline verification value of the test file set. Furthermore, after ceasing the application of the vibration excitation, the test file set is revisited, the current verification value is calculated using the preset verification algorithm, and the current verification value is compared with the benchmark verification value; If the comparison results are inconsistent or files in the test file set are lost, it is determined that the data stored in the UFS storage device is corrupted.
9. The vibration reliability testing and fault diagnosis method for UFS storage devices as described in claim 1, characterized in that, The vibration reliability testing and fault diagnosis method also includes: Before applying the vibration excitation, benchmark performance tests were performed on the UFS storage device, and benchmark performance indicators, including read and write speeds and the number of input / output operations per second, were recorded. After stopping the application of the vibration excitation, perform the same performance test again and record the current performance index after vibration; Calculate the decay rate of the current performance index relative to the baseline performance index. If the decay rate exceeds a preset decay warning threshold, output a performance decay warning for the UFS storage device.
10. A vibration reliability testing and fault diagnosis system for UFS storage devices, characterized in that, The vibration reliability testing and fault diagnosis system, capable of implementing the method as described in any one of claims 1 to 9, comprises: Test base, used to mount and place the UFS storage device under test; A vibration module, which is connected to the test base, is used to apply vibration excitation to the test base equipped with the UFS storage device according to a preset dynamic vibration load. The reading module is communicatively connected to the UFS storage device and is used to issue and concurrently execute preset read and write tasks to the UFS storage device during the duration of the vibration excitation, as well as to synchronously read the hardware interface and electrical status events and current physical environment events of the UFS storage device. The analysis module is used to record the execution status information and timestamps of various events obtained by the reading module, and to perform time-series correlation analysis on the timestamps to output fault diagnosis results; The control module is electrically connected to the vibration module, the reading module, and the analysis module, respectively, and is used to establish a clock synchronization mechanism within the system and coordinate the operation of each module.