Storage device predicting failure using machine learning and method of operating same
By using machine learning models in storage devices to predict faults and take preemptive measures, the problem of data damage and loss caused by fault follow-up measures in the existing technology is solved, and more efficient fault detection and data protection are achieved.
Patent Information
- Application Number
- CN202410440123.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-14
- Filing Date
- 2024-04-12
- Publication Date
- 2024-10-18
AI Technical Summary
When existing storage devices take follow-up measures after a failure occurs, data recovery and reconstruction may take a long time or consume resources, and may result in data corruption or permanent data loss.
A machine learning model is used to predict the occurrence of failures by identifying risk data from telemetry information in the memory, inputting it into the machine learning model to obtain an anomaly score, detecting the presence of anomalies, and sending alerts and taking preemptive measures to prevent failures when anomalies are detected. .
Take preemptive measures before a fault occurs to reduce the risk of data loss, improve the accuracy and timeliness of fault detection, and reduce the resources and time required for data recovery.
Smart Images

Figure CN118797401A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of priority from Korean Patent Application No. 10-2023-0049197 filed on April 14, 2023 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] The present disclosure relates to a storage device. Background Art
[0004] The memory device may include, for example, a semiconductor memory device implemented using a semiconductor such as silicon (Si), germanium (Ge), gallium arsenide (GaAs), indium phosphide (InP), etc. The semiconductor memory device is classified into a volatile memory device and a nonvolatile memory device.
[0005] For example, a flash memory as an example of a nonvolatile memory can maintain its stored data even when its power supply is interrupted. Recently, a storage device including the flash memory, such as a solid state drive (SSD) or a memory card, has been widely used and is useful in storing or moving a large amount of data.
[0006] In such storage devices, the status of such storage devices can be checked and telemetry can be periodically monitored to take action in response to a fault. When a fault is detected, subsequent actions are taken in response to the detected fault.
[0007] However, such measures are limited to subsequent measures after a failure occurs in a storage device, which may result in consumption of time or resources associated with recovery and / or reconstruction of damaged data, as well as data corruption and / or permanent data loss due to the failure. Summary of the invention
[0008] Example embodiments provide a storage device that predicts the occurrence of a failure using a machine learning model and takes preemptive measures.
[0009] According to at least one example embodiment, a fault prediction method for predicting a fault of a storage device includes: identifying risk data from at least a portion of telemetry information stored in a memory based on a first criterion; inputting first data of a first attribute among the risk data into a machine learning model; obtaining a first anomaly score output from the machine learning model; detecting whether there is an anomaly in the first attribute based on determining whether the first anomaly score satisfies a second criterion; in response to detecting the anomaly, sending an alarm associated with the first attribute to a host; and controlling the operation of the storage device in response to receiving feedback corresponding to the alarm from the host. The machine learning model can be configured to be trained based on the risk data, learn a pattern of data from the risk data, and can output an anomaly score based on the learned pattern of data.
[0010] According to at least one example embodiment, a storage device includes: a non-volatile memory; and a controller including a memory configured to store telemetry information about the storage device. The controller may be configured to: identify risk data from at least a portion of the telemetry information stored in at least one of the memory and the non-volatile memory based on a first criterion; input first data of a first attribute among the risk data into a machine learning model; obtain a first anomaly score output from the machine learning model; detect whether there is an anomaly in the first attribute based on whether the first anomaly score meets a predetermined second criterion; send an alarm associated with the first attribute to a host in response to detecting the anomaly; and control the operation of the storage device in response to receiving feedback. The machine learning model may be configured to be trained based on the risk data, learn a pattern of data from the risk data, and output an anomaly score based on the learned pattern of data.
[0011] According to at least one example embodiment, a storage device includes a controller and a non-volatile memory. The controller may include: a memory configured to store telemetry information about the storage device; and a processing circuit system configured to store identified risk data, store a debug dump based on detecting an anomaly, and identify risk data from at least a portion of the telemetry information stored in the memory based on a first criterion, detect whether there is an anomaly in at least a portion of the attributes among the stored risk data by using a machine learning model trained using the identified risk data, send an alarm associated with the attribute of the detected anomaly to a host in response to detecting the anomaly, and control the operation of the storage device in response to receiving feedback corresponding to the alarm from the host. The machine learning model may be configured to learn a pattern of the received data and output an anomaly score based on the learned pattern of the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other aspects, features and advantages of the present disclosure will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings.
[0013] Figure 1 is a block diagram illustrating a storage system according to at least one example embodiment.
[0014] Figure 2 It is shown Figure 1 A block diagram of an example of a controller.
[0015] Figure 3 It is shown Figure 1 A flow chart of an example of the operation of a storage device.
[0016] Figure 4 It is shown Figure 3 0047 is a flow chart of an example of operation S10 , in which the controller identifies risk data.
[0017] Figure 5A is a flowchart illustrating an example of operation S20 in which the controller detects an abnormality using risk data.
[0018] Figure 5B is a flowchart illustrating an example of operation S20 in which the controller detects abnormality using variation data.
[0019] Figure 6 It is shown Figure 3 Flowchart of an example of operation S30 of , wherein a debug feature is enabled when the controller detects an anomaly.
[0020] Figure 7 is a flow chart illustrating controlling operation of a memory device based on feedback received from a host according to at least one example embodiment.
[0021] Figure 8 is a block diagram illustrating a storage system according to at least one example embodiment.
[0022] Fig. 9 It is shown by Figure 8 A diagram of an example of risk data stored by a telemetry module.
[0023] Fig.10 It is shown Figure 8 A flowchart of an example of operation of a telemetry module to store risk data according to a period.
[0024] Fig.11 is a diagram illustrating a storage system further including a debugging module according to at least one example embodiment.
[0025] Fig.12 is a diagram illustrating an example of a debug dump stored by a debug module.
[0026] Fig.13is a flow chart illustrating the operation of storing a debug dump corresponding to an enabled debug feature when a failure occurs in a storage device.
[0027] Fig.14 is a diagram illustrating a storage system further including a telemetry module and a debug module according to at least one example embodiment. DETAILED DESCRIPTION
[0028] Hereinafter, example embodiments will be described with reference to the accompanying drawings.
[0029] In the following description, any element and / or functional block disclosed, including those elements and / or functional blocks including "unit", "... machine / device", "module", etc., may include a processing circuit system (such as hardware including logic circuits; hardware / software combinations, such as processors that execute software; or combinations thereof) or be implemented in a processing circuit system. For example, the processing circuit system may more specifically include, but is not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a system on a chip (SoC), a programmable logic unit, a microprocessor, an application-specific integrated circuit (ASIC), etc.
[0030] Figure 1 is a block diagram illustrating a memory system 100A according to at least one example embodiment.
[0031] The storage system 100A includes a storage device 110 and a host 120. The storage device 110 is configured to use a machine learning model to detect anomalies that may cause a failure. The anomaly may be, for example, a sign of a failure and / or a precursor to a failure. Therefore, the storage device 110 may be configured to take preemptive measures before a failure occurs.
[0032] The storage system 100A is implemented as and / or in, for example, a personal computer (PC), a data server, a network coupled storage, an Internet of Things (IoT) device, a portable electronic device, etc. For example, the portable electronic device may be a laptop computer, a mobile phone, a smart phone, a tablet PC, a personal digital assistant (PDA), an enterprise digital assistant (EDA), a digital still camera, a digital video camera, an audio device, a portable multimedia player (PMP), a personal navigation device (PND), an MPEG-1 Audio Layer 3 (MP3) player, a handheld game console, an electronic book (e-book), or a wearable device.
[0033] The host 120 is configured to receive an alarm associated with an abnormality from the storage device 110, and transmit a feedback signal corresponding to the received alarm to the storage device 110. In addition, the host 120 may transmit a signal requesting additional information (e.g., additional information associated with the detected abnormality) to the storage device 110. As described above, the communication between the host 120 and the storage device 110 may be referred to as bidirectional communication.
[0034] The host 120 may be, for example, a processor. For example, according to at least one example embodiment, the host 120 may be an application processor (AP). In addition, according to at least one example embodiment, the host 120 may be implemented as a system on chip (SoC).
[0035] The storage device 110 is configured to store data transmitted from the host 120 and transmit the stored data to the host 120 .
[0036] According to at least one example embodiment, the storage device 110 may be an internal memory embedded in the electronic device. For example, the storage device 110 may be at least one of an SSD, an embedded universal flash memory (UFS) memory device, an embedded multimedia card (eMMC), etc. According to another example embodiment, the storage device 110 may be an external memory that can be removed from the electronic device. For example, the storage device 110 may be a UFS memory card, a compact flash memory (CF), a secure digital (SD), a micro secure digital (Micro-SD), a mini secure digital (Mini-SD), an extreme digital (xD), a memory stick, etc. However, the storage device 110 is not limited to the above examples.
[0037] The memory device 110 according to at least one example embodiment may include a controller 112 and a non-volatile memory (NVM) 111 .
[0038] The non-volatile memory 111 may include a memory cell array (MCA). The memory cell array MCA may include a plurality of flash memory cells. The plurality of flash memory cells may be, for example, NAND flash memory cells. However, example embodiments are not limited thereto, and the memory cells may be memory cells such as resistive RAM (ReRAM) cells, phase change RAM (PRAM) cells, magnetic RAM (MRAM) cells, and the like. In at least some embodiments, the storage device 110 includes at least one telemeter (not shown) configured to collect in-situ information and transmit the in-situ information to the controller 112 as telemetry information 1013. In at least one embodiment, the telemeter may measure, for example, the temperature, speed, voltage drop, and the like of the non-volatile memory 111 when it is operating. In addition, in at least some embodiments, the controller 112 may be configured to collect telemetry information 1013 by monitoring the performance of read and / or write operations performed by the non-volatile memory 111. For example, the controller 112 may be configured to monitor media-related information, input / output (I / O)-related information, link information, and the like.
[0039] The controller 112 includes a processor 1115 and a memory 1113, and is configured to control the overall operation of the non-volatile memory 111. For example, the controller 112 can read data stored in the non-volatile memory 111, and can write data to the non-volatile memory 111. The processor 1115 can be configured to implement the machine learning model 1111.
[0040] In at least one example embodiment, the controller 112 is configured to detect an anomaly of the storage device 110 using the machine learning model 1111, and to provide an alarm associated with the anomaly to the host 120. For example, the controller 112 may identify at least a portion of the telemetry information 1013 as risk data based on a first predetermined criterion, and may determine whether an anomaly exists in some attributes of the risk data using the machine learning model 1111. In at least one embodiment, the telemetry information 1013 may include at least one of media-related information, input / output (I / O)-related information, link information, environmental information, etc. When an anomaly is detected, the controller 112 may send an alarm associated with the detected anomaly to the host 120.
[0041] The memory 1113 may store telemetry information 1013. For example, among the multiple attributes of the storage device 110, the attributes to be monitored may be preset, and the memory 1113 may store telemetry information 1013 including data corresponding to the preset attributes. For example, the telemetry information 1013 may include at least one of self-monitoring analysis and reporting technology (SMART) information and / or extended SMART attribute information defined by, for example, non-volatile memory express (NVMe), serial advanced technology attachment (SATA), parallel ATA (PATA), small computer system interface (SCSI), serial attached SCSI (SAS), enhanced small disk interface (ESDI), and / or integrated drive electronics (IDE) standards, but example embodiments are not limited thereto. The telemetry information 1013 may also be referred to as, for example, telemetry attribute information and / or telemetry superset information.
[0042] The processor 1115 may include processing circuitry, such as a central processing unit or a microprocessor, and is configured to control the overall operation of the controller 112 .
[0043] In addition, the processor 1115 may include a machine learning model 1111. Figure 1 In the embodiment, the machine learning model 1111 is shown as being implemented within the processor 1115, but example embodiments are not limited thereto. As another example, the machine learning model 1111 may be implemented as a separate module connected to the processor 1115.
[0044] According to at least one example embodiment, the processor 1115 may identify at least a portion of the telemetry information 1013 stored in the memory 1113 as risk data based on a first criterion.
[0045] For example, the processor 1115 may identify attributes and data satisfying the first criterion as risk data among the telemetry information 1013 stored in the memory 1113. In these cases, the first criterion may enable determination of whether the data value of the attribute included in the telemetry information 1013 is greater than a predetermined first reference value.
[0046] For example, where the attribute to be monitored includes the temperature of the storage device 110, and the telemetry information 1013 includes temperature data of the storage device 110 when the temperature of the storage device 110 is greater than a predetermined first reference value, the processor 1115 can manage the temperature data of the storage device 110 as a candidate attribute, and can identify the temperature data as risk data.
[0047] In addition, the processor 1115 can use the risk data and the machine learning model 1111 to detect anomalies that may cause failures in the storage device 110.
[0048] For example, the processor 1115 may input risk data or change data generated from the risk data into the machine learning model 1111. Then, the processor 1115 may determine whether there are anomalies in some attributes of the risk data based on the output of the machine learning model 1111.
[0049] In these cases, the machine learning model 1111 can be obtained by receiving data (e.g., risk data) associated with the attributes of the storage device 110 and learning patterns from the received data. Therefore, the machine learning model 1111 can output an anomaly score for the input risk data based on the learned pattern.
[0050] According to at least one example embodiment, the processor 1115 may input data of a specific attribute among the risk data to the machine learning model 1111. Then, the processor 1115 may determine whether there is an anomaly in the corresponding attribute based on whether the first anomaly score output by the machine learning model 1111 satisfies a predetermined second criterion. In these cases, the second criterion may enable determination of whether the first anomaly score output from the machine learning model 1111 is greater than a predetermined second reference value.
[0051] For example, the risk data may be data about temperature, and the machine learning model 1111 may receive the data about temperature and may output an abnormality score for the input temperature. In these cases, when the abnormality score of the temperature (or temperature change) is greater than a predetermined second reference value, the processor 1115 may determine that an abnormality has occurred.
[0052] In addition, the processor 1115 may input the change data (generated from the risk data) into the machine learning model 1111. The processor 1115 may then determine whether an anomaly has occurred based on whether the second anomaly score output by the machine learning model 1111 satisfies a predetermined third criterion. In these cases, the third criterion may enable determination of whether the second anomaly score is greater than a predetermined third reference value.
[0053] For example, the risk data may be data about temperature and / or temperature change, and the machine learning model 1111 may receive data about temperature change and may output an abnormality score for the input temperature change. In these cases, when the abnormality score of the temperature change is greater than a predetermined third reference value, the processor 1115 may determine that an abnormality has occurred.
[0054] In addition, the processor 1115 can determine whether an abnormality has occurred based on whether the data of a specific attribute among the risk data meets a predetermined fourth standard. In these cases, the fourth standard enables determination of whether the data of a specific attribute among the risk data exceeds a predetermined fourth reference value.
[0055] For example, when the temperature data among the risk data exceeds a predetermined fourth reference value, the processor 1115 may determine that an abnormality has occurred in the temperature attribute. In these cases, the fourth reference value may be set to a higher temperature than the first reference value.
[0056] In addition, when an anomaly is detected, the processor 1115 may send an alarm associated with the detected anomaly to the host 120. In these cases, the alarm sent to the host 120 may include at least one of a cause factor of the detected anomaly, an attribute of the detected anomaly, and data associated with the anomaly.
[0057] Processor 1115 may receive feedback corresponding to the received alert from host 120. In these cases, the feedback received from host 120 may include a control signal for storage device 110. Therefore, processor 1115 may control the operation of storage device 110 based on the control signal included in the received feedback.
[0058] As described above, the storage device 110 is configured to detect anomalies that may cause defects using the machine learning model 1111. Therefore, the storage system 100A according to the present disclosure can take preemptive measures before a failure occurs in the storage device 110.
[0059] Figure 2 It is shown Figure 1 1 is a block diagram of an example of a controller 112.
[0060] Reference Figure 2 , the controller 112 may include a memory 1113 , a processor 1115 , a read-only memory (ROM) 1116 , a host interface 1117 , and a non-volatile memory (NVM) interface 1118 configured to communicate with each other through a bus 1119 .
[0061] The memory 1113 is configured to operate under the control of the processor 1115 and can be used as a working memory or a buffer memory. For example, the memory 1113 can be implemented as a dynamic random access memory (DRAM). However, this is only an example, and the memory 1113 may include a non-volatile memory (such as a PRAM, a flash memory, etc.) and / or a volatile memory (such as a DRAM, a static random access memory (SRAM), etc.).
[0062] The ROM 1116 may store code data for initialization startup of the storage device 110 .
[0063] The host interface 1117 is configured to provide an interface between the host 120 and the controller 112, and may provide an interface based on, for example, a universal serial bus (USB), a multimedia card (MMC), a peripheral component interconnect (PCI) express (PIC-E), an advanced technology attachment (ATA), a serial ATA (SATA), a parallel ATA (PATA), a small computer system interface (SCSI), a serial attached SCSI (SAS), an enhanced small disk interface (ESDI), an integrated drive electronics (IDE), or a NVM express (NVMe).
[0064] The non-volatile memory interface 1118 is configured to provide an interface between the controller 112 and the non-volatile memory 111 .
[0065] The machine learning model 1111 is configured to be implemented based on anomaly detection methods. For example, in at least one embodiment, the machine learning model 1111 can learn the normal pattern of the data set based on a decision tree, and can apply an unsupervised learning model (such as an isolation forest model) to measure the anomaly score based on the isolation degree of the input data and the normal pattern.
[0066] According to at least one embodiment, the machine learning model 1111 can be an anomaly detection model based on a deep neural network (such as an autoencoder) from traditional machine learning methods (such as 1-level SVM, Gaussian mixture model (GMM), k-nearest neighbor (k-NN), PCA, etc.).
[0067] However, the type and configuration of the machine learning model 1111 according to the present disclosure are not limited to the above examples, and the machine learning model 111 may be referred to as various types of models for outputting anomaly scores from input data associated with attributes of the storage device 110 .
[0068] Figure 3 It is shown Figure 1 A flowchart of an example of the operation of the storage device 110 is shown.
[0069] Refer to Figures 1 to 3 , the controller 112 is configured to use the machine learning model 1111 to detect anomalies that may cause failures in the storage device 110. In addition, the controller 112 is configured to send an alert associated with the detected anomaly to the host 120. The controller 112 can then receive feedback based on the sent alert.
[0070] In operation S10, the controller 112 identifies at least a portion of the telemetry information 1013 as risk data based on a first predetermined criterion. In these cases, the first criterion may enable a determination of whether a data value of an attribute included in the telemetry information 1013 is greater than a predetermined first reference value. The attribute may be associated with an attribute or state of the storage device 110.
[0071] In at least one example embodiment, in operation S10 , when data of some attributes among the telemetry information 1013 exceeds a reference value corresponding to each of the attributes, the controller 112 may identify the attributes as risk data.
[0072] For example, in operation S10 , when first data of a first attribute among the telemetry information 1013 exceeds a first reference value corresponding to the first attribute, the controller 112 may identify the first data as risk data.
[0073] In operation S20 , the controller 112 may use the machine learning model 1111 to detect whether there are anomalies in some attributes among the identified risk data.
[0074] For example, in operation S20 , the controller 112 inputs the risk data identified by operation S10 into the learned machine learning model 1111 , and determines whether an abnormality exists in at least a portion of the attributes of the risk data based on the output of the machine learning model 1111 .
[0075] In these cases, the machine learning model 1111 receives the identified risk data to identify and / or learn patterns in the data and learn how to output anomaly scores for the input data.
[0076] In operation S30 , when an abnormality is detected in at least a portion of the attributes of the risk data, the controller 112 transmits an alarm associated with the attribute in which the abnormality is detected to the host 120 .
[0077] In these cases, the alarm sent to the host 120 may include data associated with the attribute of the detected abnormality. For example, the alarm sent to the host 120 may include at least one of the attribute of the detected abnormality, data corresponding to the attribute, and the cause factor of the detected abnormality.
[0078] In at least some embodiments, controller 112 may be configured to send an alert to host 120 via an asynchronous event request (AER) command.
[0079] In operation S40 , the controller 112 receives feedback from the host 120 corresponding to the alarm transmitted to the host 120 .
[0080] In these cases, the feedback may include a control signal including a measurement of the detected anomaly and / or a signal requesting additional information about the detected anomaly. However, the signals included in the feedback are not limited to the above examples and may include various signals or data received from the host 120 via the host interface 1117.
[0081] Furthermore, in operation S40, the controller 112 controls the storage device 110 based on the feedback received from the host 120 to prevent a failure from occurring in the storage device 110. Additionally, in at least one embodiment, operations S10 to S40 may be repeated until an abnormality is no longer identified and / or detected. In at least one embodiment, after operation S40, the controller 112 may return to operation S101 (discussed below).
[0082] As described above, the storage device 110 according to at least one example embodiment may detect anomalies that may cause a failure using the machine learning model 1111. Therefore, the storage system 100A according to the present disclosure may take preemptive measures before a failure occurs in the storage device 110.
[0083] Figure 4 It is shown Figure 3 0047 is a flow chart of an example of operation S10 , in which the controller identifies risk data.
[0084] Reference Figure 4 , the controller 112 according to at least one example embodiment may identify at least a portion of the telemetry information 1013 as risk data based on a predetermined period and criteria.
[0085] In operation S101 , the controller 112 according to at least one example embodiment may obtain telemetry information 1013 based on a predetermined period.
[0086] For example, the controller 112 monitors the storage device based on a predetermined cycle to obtain the telemetry information 1013. In these cases, the telemetry information 1013 obtained based on the predetermined cycle can be temporarily stored in the memory 1113. However, this is only an example, and the telemetry information 1013 obtained based on the predetermined cycle can be stored in the non-volatile memory 111.
[0087] In at least one example embodiment, the telemetry information 1013 of the storage device 110 may be stored in the memory 1113 or the non-volatile memory 111 in real time or based on a first cycle, and the controller 112 may monitor the memory 1113 based on a second cycle to obtain the telemetry information 1013. In these cases, the first cycle and the second cycle may be different from each other.
[0088] The telemetry information 1013 may include at least one of media-related information, input / output (I / O)-related information, link information, and environment information.
[0089] For example, the media-related information may include a write or read media unit of the storage device 110 , a program / erase failure count, a bad block count, a wear leveling count, and an uncorrectable error correction code (UECC), etc.
[0090] The I / O-related information may include at least one of a read count requested from the host (e.g., read I / O), a write count (e.g., write I / O), a maximum number of writes to the non-volatile memory (e.g., lifetime NAND writes), and a maximum number of reads from the non-volatile memory (e.g., lifetime NAND reads).
[0091] The link information may include at least one of an end-to-end (E2E) error count, a cyclic redundancy check (CRC) error count, a peripheral component interconnect express (PCIe) correctable error, and a physical layer (PHY) error count of the storage device 110 .
[0092] The environmental information may include at least one of a current temperature, a maximum temperature, a lifetime maximum temperature, a lifetime minimum temperature, and a dynamic temperature throttling (DTT) of the storage device 110 .
[0093] However, the attributes and data included in the telemetry information 1013 are not limited to the above examples and may refer to various types of attributes (or states) associated with the storage device 110.
[0094] In operation S102, the controller 112 identifies whether at least a portion of the attributes in the telemetry information 1013 are risk data based on a first criterion. In these cases, the first criterion may enable determination of whether data of some attributes in the telemetry information 1013 exceeds a predetermined first reference value.
[0095] For example, in operation S102 , when data of some attributes among the telemetry information 1013 exceeds a predetermined first reference value, the controller 112 may identify the corresponding attributes and data as risk data.
[0096] In at least one example, the controller 112 may identify the first attribute and the first data as risk data in response to the fact that the first data of the first attribute in the telemetry information 1013 is greater than a predetermined first reference value. For example, the controller 112 may identify the temperature attribute and data as risk data in response to the fact that the data of the temperature attribute in the telemetry information 1013 exceeds a predetermined temperature value.
[0097] Furthermore, the controller 112 may be configured to control learning of the machine learning model 1111 such that the machine learning model 1111 is trained to output an anomaly score for the input data using the identified risk data.
[0098] For example, the risk data identified by the controller 112 may be understood as learning data for learning how the machine learning model 1111 outputs anomaly scores for input data.
[0099] As described above, the storage device 110 can select data that meets a predetermined standard from the telemetry information 1013 to train the machine learning model 1111. Therefore, the storage device 110 can save resources required for training the machine learning model 1111.
[0100] Figure 5A is a flowchart illustrating an example of operation S20, in which the controller detects anomalies using risk data, and Figure 5B is a flowchart illustrating an example of operation S20 in which the controller detects abnormality using variation data.
[0101] Refer to Figure 5A and Figure 5B , the controller 112 according to at least one example embodiment may use the machine learning model 1111 to determine whether there is an anomaly in the attributes included in the risk data.
[0102] As an example, the controller 112 may input risk data or change data generated from the risk data to the machine learning model 1111. Then, the controller 112 may determine whether there is an abnormality in the attributes included in the risk data based on the output of the machine learning model 1111.
[0103] Reference Figure 5A , the controller 112 according to at least one example embodiment may use the risk data to determine whether there are anomalies in some attributes of the risk data.
[0104] In operation S211, the controller 112 inputs the risk data to the machine learning model 1111. For example, in operation S211, the controller 112 may input data of at least a portion of the attributes among the risk data to the machine learning model 1111.
[0105] In operation S211 , the controller 112 obtains a first abnormality score from the machine learning model 1111 .
[0106] For example, the controller 112 may input temperature data among the risk data into the machine learning model 1111, and may obtain an abnormality score for the input temperature data.
[0107] In at least some embodiments, the machine learning model 1111 can also learn (or be trained) based on the difference from the previously learned data pattern to output anomaly scores of the input risk data. For example, the risk data can be understood as learning data for training the machine learning model 1111.
[0108] In operation S212 , the controller 112 determines whether the first abnormality score obtained from the machine learning model 1111 satisfies a second criterion.
[0109] For example, in operation S212, the controller 112 may determine that an anomaly has occurred in a specific attribute in response to the fact that a first anomaly score obtained by inputting data of the specific attribute (among the risk data) into the machine learning model 111 satisfies a second criterion.
[0110] In these cases, the second criterion may enable determination of whether a first anomaly score obtained by inputting data about a particular attribute among the risk data into the machine learning model 1111 is greater than a predetermined second reference value.
[0111] For example, the controller 112 may determine that an abnormality has occurred in the temperature attribute in response to the fact that a first abnormality score obtained by inputting temperature data among risk data into the machine learning model 1111 is greater than a second reference value.
[0112] According to at least one embodiment, the controller 112 may determine whether an abnormality exists based on whether data of a specific attribute among the risk data satisfies a predetermined fourth criterion.
[0113] For example, when data of some attributes among the risk data exceeds a predetermined fourth reference value, the controller 112 may determine that an abnormality has occurred in the corresponding attribute.
[0114] For example, when the temperature data (among the risk data) exceeds a predetermined reference temperature value of the temperature attribute, the controller 112 may determine that an abnormality has occurred in the temperature attribute.
[0115] As described above, the storage device 110 according to at least one example embodiment may determine whether an abnormality exists based on a value of risk data or an abnormality score obtained by inputting risk data into the machine learning model 1111 .
[0116] Therefore, the storage device 110 can improve the accuracy of determining whether an abnormality exists.
[0117] Additionally (or alternatively), refer to Figure 5B , the controller 112 according to at least one example embodiment may determine whether there is an abnormality in the attributes included in the risk data using the change data generated from the risk data.
[0118] In operation S201, the controller 112 can obtain the information from, for example, a telemetry module ( Figure 8 1120) generates change data from the risk data stored.
[0119] For example, in operation S201 , the controller 112 may generate change data including data changes depending on a time point regarding some attributes of risk data.
[0120] For example, when the risk data is data about temperature, the controller 112 may generate change data including temperature changes compared to the temperature at a previous time point. As another example, when the risk data is data about workload, the controller 112 may generate change data including changes in workload compared to workloads at different time points.
[0121] In operation S202, the controller 112 may input the change data into the machine learning model 1111 to obtain a second abnormality score from the machine learning model 1111. For example, the controller 112 may input data on temperature change into the machine learning model 1111 to obtain an abnormality score of the input temperature change.
[0122] In these cases, the machine learning model 1111 can be configured (e.g., by learning) how to output an anomaly score for the input variation data based on differences from previously learned normal data patterns. For example, variation data generated from risk data can be understood as training data for training the machine learning model 1111.
[0123] In operation S203, the controller 112 may determine whether the second abnormality score obtained by the machine learning model 1111 satisfies the third criterion. In addition, the controller 112 may determine that an abnormality has occurred in response to the fact that the second abnormality score satisfies the third criterion.
[0124] The third criterion may enable determination of whether the second anomaly score obtained by the machine learning model 1111 is greater than a predetermined third reference value.
[0125] The controller 112 may determine that an abnormality has occurred in the first attribute in response to the fact that a second abnormality score obtained by inputting change data about the first attribute into the machine learning model 1111 satisfies the third criterion.
[0126] For example, the controller 112 may input change data regarding the temperature attribute into the machine learning model 1111 to determine whether the second abnormality score is greater than a third reference value.
[0127] As described above, the storage device 110 according to at least one example embodiment may determine whether an abnormality exists based on an abnormality score obtained by inputting change data into the machine learning model 1111 .
[0128] Therefore, the storage device 110 can improve the accuracy of determining whether an abnormality exists, and ensure the timeliness of determining whether an abnormality exists, so that preemptive measures can be applied before a failure occurs.
[0129] Figure 6 It is shown Figure 3 Flowchart of an example of operation S30 of , wherein a debug feature is enabled when the controller detects an anomaly.
[0130] Reference Figure 6 , the controller 112 according to at least one example embodiment may enable a debugging feature associated with the detected anomaly in response to the fact that the anomaly is detected in the risk data.
[0131] In operation S301 , the controller 112 may infer a cause factor of the detected abnormality in response to the fact that abnormalities are detected in some attributes of risk data.
[0132] For example, in operation S301, the controller 112 according to at least one example embodiment may infer a cause factor of a detected abnormality using the machine learning model 1111. For example, when an abnormality is detected in some attributes, the machine learning model 1111 may be configured to learn to infer the cause of the abnormality based on data of the corresponding attribute or an abnormality score measured from the data.
[0133] According to at least one embodiment, in operation S301 , the controller 112 may infer a cause factor of the detected abnormality based on a predetermined cause of the abnormality of each attribute included in the risk data.
[0134] In operation S302 , the controller 112 enables a debug feature associated with the property where the anomaly is detected.
[0135] For example, in operation S302, the controller 112 may enable a debug feature associated with an inferred cause factor of the detected anomaly. For example, the controller 112 may enable a debug feature associated with a cell spread in which an anomaly has been detected.
[0136] In operation S303 , the controller 112 may transmit an alarm including at least one of the cause factor and data associated with the debugging feature to the host in response to the inference of the cause factor of the detected abnormality.
[0137] In at least one embodiment, operation S303 of the controller 112 sending an alarm to the host 120 and operation S302 of the controller 112 enabling a debug feature may be performed simultaneously, or may be performed continuously regardless of their order.
[0138] As described above, the storage device 110 according to the present disclosure can enable a debug feature corresponding to the attribute of the detected abnormality. Therefore, when a fault occurs in the storage device 110, the storage system 100A can store a debug dump corresponding to the enabled debug feature to be used in fault analysis or performance improvement.
[0139] Figure 7 is a flow chart illustrating controlling operation of a memory device based on feedback received from a host according to at least one example embodiment.
[0140] As Figure 3 Different examples of examples, Figure 7 1 and 2 show operations of the controller 112 controlling the storage device 110. Operations that are the same as or substantially similar to those described above are denoted by the same reference numerals, and repeated descriptions are omitted.
[0141] Reference Figure 7 In operation S50 , the controller 112 controls the storage device 110 based on the feedback received from the host 120 .
[0142] In operation S50 , the controller 112 may control the operation of the memory device 110 based on a control signal included in the feedback received from the host 120 to prevent a failure from occurring in the memory device 110 .
[0143] For example, when an abnormality has been determined in the risk data, controller 112 may receive feedback from host 120 in response to an alert sent to host 120. Controller 112 may control the operation of storage device 110 so that the data of the temperature attribute is adjusted within a predetermined range based on a control signal included in the feedback.
[0144] As described above, the storage device 110 can take preemptive measures to prevent a failure from occurring in the storage device 110 based on the fact that an abnormality is detected before a failure occurs. Therefore, even in a case where a significant failure may occur before human intervention can be applied, the failure can be prevented preemptively, and the storage device 110 can prevent data loss due to the occurrence of the failure, and can significantly reduce resources required for data recovery.
[0145] In accordance with at least one embodiment, controller 112 may train machine learning model 1111 based on feedback received from host 120 .
[0146] For example, the controller 112 may detect an anomaly of a specific attribute through the machine learning model 1111 to send an alarm to the host 120. However, when the host 120 determines that a failure caused by the anomaly is unlikely to occur, the controller 112 may input feedback received from the host 120 into the machine learning model 1111. Therefore, the machine learning model 1111 may be trained to include stable (even) data in which anomalies have been detected in a normal mode.
[0147] According to at least one example embodiment, the machine learning model 1111 may learn to output a modulation criterion for at least one of the criteria for selecting risk data and / or detecting anomalies.
[0148] For example, the machine learning model 1111 may be trained to output a first modulation standard based on feedback received from the host 120 that is modulated against a first standard for identifying risk data from the telemetry information 1013 .
[0149] In addition, the machine learning model 1111 can be trained to output a second modulation standard based on feedback received from the host 120, which is modulated for a second standard for determining whether an anomaly exists in data of a specific attribute in the risk data.
[0150] In addition, the machine learning model 1111 can be trained to output a third modulation standard based on feedback received from the host 120, where the third modulation standard is modulated for a third standard for determining whether an anomaly exists based on the anomaly score output by the machine learning model 1111.
[0151] For example, in addition to determining the anomaly score, the storage device 110 can also control the training of the machine learning model 1111 to modulate the value of the criterion for determining whether an anomaly exists. Therefore, the storage device 110 can use the machine learning model 1111 to improve the accuracy of determining whether an anomaly exists.
[0152] According to at least one embodiment, the feedback received from host 120 may include a signal requesting additional information regarding the detected anomaly.
[0153] Thus, controller 112 may send additional information associated with the detected anomaly to host 120 in response to a request for additional information included in feedback received from host 120 .
[0154] In these cases, the additional information sent by the controller 112 to the host 120 may include at least one of a data value of an attribute of the detected exception, change data, a cause factor of the exception, a debug dump associated with the detected exception, etc. However, the data included in the additional information is not limited to the above examples, and may be referred to as various types of data associated with the detected exception.
[0155] Therefore, host 120 may send additional feedback to controller 112 including a control signal generated based on the additional information.
[0156] Then, the controller 112 may receive additional feedback including a control signal with high precision from the host 120. In addition, the controller 112 may control the storage device 110 based on the received control signal. Therefore, the precision of controlling the storage device 110 may be improved.
[0157] Figure 8 is a block diagram illustrating a storage system 100B according to at least one example embodiment, and Fig. 9 It is shown by Figure 8 110 is a diagram of an example of risk data stored by the telemetry module 1120.
[0158] about Figure 8 ,and Figure 1 Compared with the storage system 100A of FIG. 1 , the same reference numerals denote the same or substantially similar elements as those described above, and redundant descriptions will be omitted. Figure 8 The controller 112 may also include a telemetry module 1120 configured to store identified risk data.
[0159] Refer to Figure 8 and Fig. 9 The telemetry module 1120 is configured to store attributes and data identified as risk data in the telemetry information 1013 and manage the stored attributes and data.
[0160] For example, when risk data is identified from telemetry information 1013, controller 112 may send the identified risk data and its attributes to telemetry module 1120. Telemetry module 1120 may store the attributes identified as risk data and the corresponding risk data in risk data area 1102 of nonvolatile memory 111.
[0161] In at least one example embodiment, the telemetry module 1120 is configured to accumulate attributes identified as risk data and corresponding risk data, and store the accumulated attributes and risk data in the risk data area 1102 of the non-volatile memory 111. The accumulated risk data may be used to generate change data to be provided to the machine learning model 1111. Only the risk data may be accumulated and stored, rather than all of the telemetry information 1013, so that the storage space used to accumulate and store the risk data may be reduced.
[0162] Reference Fig. 9 , the attributes included in the risk data may include at least one of temperature, hardware, recycling, uncorrectable by error correction code (UECC), health status, etc. However, the attributes included in the risk data are not limited to the above examples, and may include more or less data, such as various types of data associated with the attributes (or status) of the storage device 110.
[0163] In these cases, the risk data may be stored in a table format by the telemetry module 1120. However, the type and / or table format in which the risk data is stored is not limited in this regard.
[0164] exist Figure 8 and Fig. 9 , the risk data has been described as being accumulated and stored in the nonvolatile memory 111. However, these are merely examples, and the example embodiments are not limited thereto. For example, the risk data may be accumulated and stored in the memory 1113 of the controller 112. In these cases, the risk data stored in the memory 1113 may be flushed to the nonvolatile memory 111 according to a predetermined cycle. As another example, the controller 112 may also include a main memory implemented as a nonvolatile memory, and the risk data may be stored in the nonvolatile memory in the controller 112.
[0165] The above configuration can reduce the area for implementing the storage device 110. For example, the storage device 110 can meet the area required for a mobile device through the above configuration.
[0166] Fig.10 It is shown Figure 8 A flowchart of an example of operation of a telemetry module to store risk data according to a period.
[0167] In operation S1001 , the telemetry module 1120 receives identified risk data from the processor 1115 .
[0168] For example, the telemetry module 1120 may receive the identified risk data from the processor 1115 in response to the fact that the processor 1115 identifies the risk data, and / or the telemetry module 1120 may receive the identified risk data from the processor 1115 according to a predetermined period.
[0169] In operation S1002 , the telemetry module 1120 may store the risk data received from the processor 1115 in the nonvolatile memory 111 according to a predetermined period.
[0170] In at least one embodiment, in operation S1002 , the telemetry module 1120 stores the identified risk data in the memory 1113 according to a predetermined period.
[0171] For example, the element storing the identified risk data is not limited to the nonvolatile memory 111 or the memory 1113 .
[0172] The telemetry module 1120 according to at least one example embodiment may store and manage risk data received from the processor 1115 according to a predetermined period.
[0173] Therefore, the storage device 110 according to the present disclosure may separately store and manage attributes where abnormalities may occur.
[0174] As described above, the storage device 110 may accumulate and store only the risk data instead of all the telemetry information 1013 , thereby reducing the storage space required for accumulating and storing the risk data.
[0175] Therefore, it is possible to reduce the area for implementing the storage device 110. For example, the storage device 110 can meet the area required for a mobile device through the above configuration.
[0176] Fig.11 is a diagram illustrating a storage system 100C further including a debugging module according to at least one example embodiment, and Fig.12 is a diagram illustrating an example of a debug dump stored by a debug module.
[0177] about Fig.11 ,and Figure 1 Compared with the storage system 100A of FIG. 1 , the same reference numerals denote the same or substantially similar elements as those described above, and redundant descriptions will be omitted. Fig.11 The controller 112 may further include a debug module 1130 that stores debug dumps.
[0178] Refer to Fig.11 and Fig.12 , the debug module 1130 is configured to store a debug dump corresponding to the previously enabled debug feature in response to the fact that a failure occurs in the storage device 110 .
[0179] In at least one example embodiment, the debug module 1130 is configured to accumulate debug data corresponding to the enabled debug features and store the debug data as a debug dump in the debug dump area 1103 of the non-volatile memory 111. Therefore, only debug data corresponding to the enabled debug features associated with the fault may be accumulated and stored instead of all debug data, thereby reducing the storage space required for accumulating and storing the debug data.
[0180] For example, refer to Fig.12 , the debug dump stored when the fault occurs may include at least one of unit dispersion, waiting time, UECC, and temperature. In these cases, the debug dump may be stored in the non-volatile memory 111 in a table format. However, the type and / or storage format of the data (or debug log) included in the debug dump is not limited to the above examples.
[0181] Fig.13 is a flow chart illustrating the operation of storing a debug dump corresponding to an enabled debug feature when a failure occurs in a storage device.
[0182] In operation S1301 , the controller 112 detects that a failure has occurred in the storage device 110 based on a predetermined failure criterion.
[0183] In these cases, the failure criteria may include at least one case where the storage device 110 operates abnormally. Therefore, when a case included in the failure criteria occurs, the controller 112 may recognize that a failure has occurred in the storage device 110.
[0184] For example, when the connection between the storage device 110 and the host 120 is disconnected (eg, link is disconnected), the controller 112 may recognize that a failure has occurred in the storage device 110. However, the failure criteria and the situations included in the failure criteria are not limited to the above examples.
[0185] In operation S1302 , when it is determined that a failure has occurred in the storage device 110 , the controller 112 stores a debug dump corresponding to a previously enabled debug feature using, for example, the debug module 1130 .
[0186] In these cases, a debug dump can be understood as a set of debug logs accumulated and stored in a time series until the failure occurs, or a set of debug logs stored separately at each point in time.
[0187] The debug log may include a log of data sent and received by the storage device 110 to and from the host 120 .
[0188] According to at least one embodiment, even when a failure does not occur, the controller 112 may control the debug module 1130 to store a debug dump based on a predetermined storage standard.
[0189] For example, the controller 112 may control the debug module 1130 to store a debug dump based on data or change data about some attributes of the risk data.
[0190] In at least one example embodiment, when the change data generated from the data of a specific attribute in the risk data exceeds a predetermined storage standard, the controller 112 controls the debug module 1130 to store a debug dump associated with the corresponding attribute.
[0191] In addition, in at least one embodiment, when the anomaly score obtained by inputting the change data of a specific attribute into the machine learning model exceeds the storage standard, the controller 112 controls the debugging module 1130 to store a debugging dump associated with the corresponding attribute. In these cases, the storage standard may be a standard that allows the controller 112 to store the debugging dump even before a fault occurs, and may be set higher or lower than the second standard or the third standard.
[0192] exist Fig.11 and Fig.12 , the debug dump is described as being stored in the nonvolatile memory 111. However, this is merely an example, and example embodiments are not limited thereto. For example, the debug dump may be accumulated and stored in the memory 1113 of the controller 112. In these cases, the debug dump stored in the memory 1113 may be refreshed to the nonvolatile memory 111 according to a predetermined cycle; and / or the controller 112 may further include a main memory implemented as a nonvolatile memory, and the debug dump may be stored in the nonvolatile memory in the controller 112.
[0193] Furthermore, the debug dump may be stored in the nonvolatile memory 111 or the memory 1113 based on each debug feature. For example, the debug module 1130 may store each debug log included in the debug dump in the memory 1113 or the nonvolatile memory 111 based on the corresponding debug feature of each debug log.
[0194] The storage device 110 according to at least one example embodiment may store in real time a debug dump associated with an exception or a failure occurring in the storage device 110. Therefore, the storage device 110 may protect advanced data usable in failure analysis and quality improvement of the storage device.
[0195] For example, the storage device 110 according to the present disclosure may ensure the accuracy and timeliness of data available in failure analysis and quality improvement for various attributes.
[0196] In addition, when a failure occurs in the storage device 110, the host 120 according to at least one example embodiment may send a signal requesting a stored debug dump when the failure occurs. In response to the request of the host 120, the stored debug dump may be provided to the host 120. The debug dump provided to the host 120 may be usable in failure analysis and quality improvement. For example, the debug dump may be applied to update the training of the machine learning model 1111.
[0197] For example, when the connection between the storage device 110 and the host 120 is disconnected, the storage device 110 may provide the stored debug dump to the host 120 through an additional channel in response to a request of the host 120 to analyze the fault.
[0198] Fig.14 is a diagram illustrating a storage system 100D further including a telemetry module and a debugging module according to at least one example embodiment.
[0199] Reference Fig.14 According to at least one example embodiment, the controller 112 may include a telemetry module 1120 configured to store identified risk data and a debugging module 1130 configured to store a debugging dump. Figure 8 and Fig.11 Compared with the storage systems 100B and 100C, the same reference numerals denote the same or substantially similar elements as those described above, and redundant descriptions will be omitted.
[0200] The controller 112 is configured to identify at least a portion of the telemetry information 1013 stored in the memory 1113 as risk data. In addition, the telemetry module 1120 is configured to store the identified risk data in the non-volatile memory 111 (eg, the risk data area 1102).
[0201] According to at least one example embodiment, the controller 112 is configured to detect anomalies that may indicate a failure in the storage device 110 using the machine learning model 1111 .
[0202] When an anomaly is detected, the controller 112 is configured to send an alert associated with the detected anomaly to the host 120. In addition, the controller 112 may enable debug features associated with the detected anomaly.
[0203] The controller 112 may receive feedback corresponding to the transmitted alert from the host 120. In addition, the controller 112 is configured to control the operation of the storage device 110 based on the received feedback.
[0204] In these cases, the alert sent to host 120 may include at least a portion of the cause factor inferred for the detected anomaly, the attribute of the detected anomaly, and the data. Feedback received from host 120 may include a control signal for storage device 110.
[0205] However, the types and contents of data included in the alarm sent to the host 120 and the feedback received from the host 120 are not limited to the above examples and may be referred to as various types of data sent and received through bidirectional communication between the storage device 110 and the host 120 .
[0206] Debug module 1130 is configured to store a debug dump corresponding to a previously enabled debug feature in nonvolatile memory 111 (eg, debug dump area 1103 ) in response to the processor detecting the fact that a failure has occurred in storage device 110 .
[0207] As described above, the storage device 110 according to at least one example embodiment may detect anomalies that may cause a failure using the machine learning model 1111. In addition, the storage device 110 may send an alarm associated with the detected anomaly to the host 120. Therefore, the storage device 110 may take preemptive measures before a failure occurs.
[0208] In addition, the storage device 110 according to at least one example embodiment may enable a debug feature associated with the attribute where the abnormality is detected. In addition, when a fault occurs, the debug module 1130 may store a debug dump corresponding to the enabled debug feature. Therefore, the storage device 110 according to the present disclosure may protect the latest debug data corresponding to each attribute.
[0209] In addition, the storage device 110 according to at least one example embodiment may select risk data for training the machine learning model 1111 from the stored telemetry information 1013 based on a predetermined criterion. Therefore, the storage device 110 may reduce resources required for training the machine learning model 1111. In addition, the storage device 110 may reduce an area required to implement the storage device 110.
[0210] As described above, a storage device according to example embodiments may predict the occurrence of a failure using a machine learning model, and may take preemptive measures before the failure occurs.
[0211] While example embodiments have been shown and described above, it will be apparent to those skilled in the art that modifications and variations may be made without departing from the scope of the inventive concept as defined by the appended claims.
Claims
1. A fault prediction method for predicting a fault of a storage device, the fault prediction method include: identifying risk data from at least a portion of the telemetry information stored in the memory based on a first criterion; Inputting first data of a first attribute among the risk data into a machine learning model; Obtaining a first anomaly score output from the machine learning model; detecting whether an anomaly exists in the first attribute based on determining whether the first anomaly score satisfies a second criterion; In response to detecting the anomaly, sending an alert associated with the first attribute to a host; as well as controlling operation of the storage device in response to receiving feedback corresponding to the alarm from the host, Wherein, the machine learning model is configured to be trained based on the risk data, learn patterns of data from the risk data, and output anomaly scores based on the learned patterns of data.
2. The fault prediction method according to claim 1, further comprising: include: generating first change data from the first data of the first attribute; inputting the first change data into the machine learning model; as well as obtaining a second anomaly score from the machine learning model based on the first change data; as well as A determination is made whether an anomaly has occurred in the first attribute in response to the second anomaly score satisfying a third criterion.
3. The fault prediction method according to claim 1, further comprising: include: monitoring the telemetry information during a first period to identify the at least a portion of the telemetry information as the risk data; as well as The identified risk data is stored in at least one of a non-volatile memory and the memory.
4. The fault prediction method according to claim 2, in, The machine learning model is trained to output a criterion modulated for at least one of the first criterion, the second criterion, and the third criterion based on at least one of the risk data and the feedback received from the host, and The fault prediction method further includes performing at least one of identifying the risk data and determining whether an abnormality has occurred in the risk data based on the modulated criteria.
5. The fault prediction method according to claim 1, further comprising: include: enabling a debug feature associated with the first attribute in response to detecting an anomaly in the first attribute; determining whether a failure has occurred in the storage device based on a failure criterion; as well as A debug dump corresponding to the enabled debug features is stored in response to determining that the failure has occurred in the storage device.
6. The fault prediction method according to claim 5, further comprising: include: The stored debug dump is sent to the host in response to receiving an information request for the debug dump from the host.
7. The fault prediction method according to claim 5, in, The feedback includes a control signal that enables the storage device to prevent the fault from occurring, and The failure prediction method further includes controlling an operation of the memory device based on the control signal.
8. A storage device, include: Non-volatile memory; as well as a controller including a memory configured to store telemetry information about the storage device, the controller including processing circuitry configured to: identifying risk data from at least a portion of the telemetry information stored in at least one of the memory and the non-volatile memory based on a first criterion; Inputting first data of a first attribute among the risk data into a machine learning model; Obtaining a first anomaly score output from the machine learning model; detecting whether an anomaly exists in the first attribute based on determining whether the first anomaly score satisfies a second criterion; sending an alert associated with the first attribute to a host in response to detecting the anomaly; as well as controlling operation of the storage device in response to receiving feedback corresponding to the alarm from the host, Wherein, the machine learning model is configured to be trained based on the risk data, learn patterns of data from the risk data, and output anomaly scores based on the learned patterns of data.
9. The storage device according to claim 8, in, The controller is configured to: generating first change data from said first data of said first attribute, inputting the first change data into the machine learning model, obtaining a second anomaly score from the machine learning model based on the first change data, and A determination is made whether an anomaly has occurred in the first attribute in response to the second anomaly score satisfying a third criterion.
10. The storage device according to claim 8, in, The controller is configured to infer a causal factor of the abnormality in response to detecting the abnormality, and The alert sent to the host includes the inferred causal factor.
11. The storage device according to claim 8, in, The controller is configured to monitor the telemetry information during a first period to identify the at least a portion of the telemetry information as the risk data, and The processing circuitry is further configured to store the risk data in at least one of the non-volatile memory and the memory.
12. The storage device according to claim 9, in, The machine learning model is trained to output a criterion modulated for at least one of the first criterion, the second criterion, and the third criterion based on at least one of the risk data and the feedback received from the host, and The controller is further configured to perform at least one of identifying the risk data and determining whether an abnormality occurs in the risk data based on a modulated criterion.
13. The storage device according to claim 8, in, The controller is configured to enable a debug feature associated with the first attribute in response to detecting an anomaly in the first attribute, and The processing circuitry is configured to store a debug dump corresponding to an enabled debug feature in at least one of the non-volatile memory and the memory in response to determining that a failure has occurred in the storage device.
14. The storage device according to claim 8, in, The feedback includes a control signal that enables the storage device to prevent the failure, and The processing circuitry is further configured to control operation of the memory device based on the control signal.
15. A storage device, include: non-volatile memory; and A controller comprising a memory configured to store telemetry information about the storage device, and processing circuitry configured to store risk data identified from the telemetry information, storing debug dumps based on detected anomalies, and identifying risk data from at least a portion of the telemetry information stored in the memory based on a first criterion, By using a machine learning model trained using the identified risk data, detecting whether there is an anomaly in at least a portion of the attributes in the stored risk data, responsive to detecting the anomaly, sending an alert associated with the attribute in which the anomaly was detected to a host, and controlling operation of the storage device in response to receiving feedback corresponding to the alarm from the host, Wherein, the machine learning model is configured to learn patterns from received data and output anomaly scores based on the learned patterns.
16. The storage device according to claim 15, in, The processing circuitry is configured to, in response to detecting an anomaly in at least a portion of the attributes, enable debug features associated with the attributes in which the anomaly was detected.
17. The storage device according to claim 16, in, The nonvolatile memory includes a risk data area in which the risk data is stored and a debug dump area in which a debug dump corresponding to an enabled debug feature is stored.
18. The storage device according to claim 17, in, The processing circuitry is configured to store the risk data in the risk data area of the non-volatile memory based on a period associated with the risk data.
19. The storage device according to claim 17, in, The processing circuitry is configured to store the debug dump in the debug dump area of the non-volatile memory in response to a failure occurring in the storage device.
20. The storage device according to claim 15, in, The processing circuit system is configured to: generating first change data from first data of a first attribute among the attributes of the risk data, inputting the first change data into the machine learning model, obtaining a first anomaly score from the machine learning model; as well as In response to the first data satisfying a second criterion and the first anomaly score satisfying at least one of a third criterion, it is determined that an anomaly has occurred in the first attribute.
Citation Information
Cited By
Circuit controller fault prediction method and system based on machine learning
CN120595085A
