[go: up one dir, main page]

TWI891111B - Storage device management method and storage device - Google Patents

Storage device management method and storage device

Info

Publication number
TWI891111B
TWI891111B TW112142453A TW112142453A TWI891111B TW I891111 B TWI891111 B TW I891111B TW 112142453 A TW112142453 A TW 112142453A TW 112142453 A TW112142453 A TW 112142453A TW I891111 B TWI891111 B TW I891111B
Authority
TW
Taiwan
Prior art keywords
storage device
abnormal power
host system
target signal
power failure
Prior art date
Application number
TW112142453A
Other languages
Chinese (zh)
Other versions
TW202520685A (en
Inventor
吳泓陞
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW112142453A priority Critical patent/TWI891111B/en
Publication of TW202520685A publication Critical patent/TW202520685A/en
Application granted granted Critical
Publication of TWI891111B publication Critical patent/TWI891111B/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

A storage device management method and a storage device are disclosed. The method includes: establishing a connection between a host system and the storage device; after the connection is established, detecting an abnormal power-off event of the storage device; in response to the abnormal power-off event, determining whether the abnormal power-off event is caused by an abnormal power-off of the host system itself; and in response to that the abnormal power-off event is caused by the abnormal power-off of the host system itself, updating a host power-off information in the storage device.

Description

儲存裝置管理方法與儲存裝置Storage device management method and storage device

本發明是有關於一種儲存裝置管理方法與儲存裝置。The present invention relates to a storage device management method and a storage device.

一般來說,大部分的儲存裝置都可記錄本身的異常斷電資訊及/或儲存裝置與主機系統之間的連線的異常中斷資訊。但是,目前實務上,儲存裝置難以判斷發生在儲存裝置的異常斷電是由主機系統本身的異常斷電(例如主機系統當機後自動重開機)引起或者是其他非主機系統本身的異常斷電的因素(例如使用者按壓主機系統的電源按鈕)引起的。因此,儲存裝置也難以針對設備狀況較差(例如較容易當機)的主機系統,主動執行相關的管理策略。Generally speaking, most storage devices can record abnormal power outage information and/or abnormal power outage information between the storage device and the host system. However, in practice, it is difficult for storage devices to determine whether an abnormal power outage occurring on the storage device is caused by an abnormal power outage in the host system itself (such as the host system automatically restarting after a crash) or by other factors not related to the host system itself (such as a user pressing the host system's power button). Therefore, it is difficult for storage devices to proactively implement relevant management policies for host systems with poor device health (such as those prone to crashes).

本發明提供一種儲存裝置管理方法與儲存裝置,可提高對儲存裝置的管理與維護效率。The present invention provides a storage device management method and a storage device, which can improve the management and maintenance efficiency of the storage device.

本發明的實施例提供一種儲存裝置管理方法,其包括:建立主機系統與儲存裝置之間的連線;在建立所述連線後,偵測所述儲存裝置的異常斷電事件;響應於所述異常斷電事件,根據目標訊號判斷所述異常斷電事件是否是由所述主機系統本身的異常斷電所引起;以及響應於所述異常斷電是由所述主機系統本身的所述異常斷電所引起,在所述儲存裝置中更新主機斷電資訊。An embodiment of the present invention provides a storage device management method, comprising: establishing a connection between a host system and a storage device; after establishing the connection, detecting an abnormal power outage event in the storage device; in response to the abnormal power outage event, determining based on a target signal whether the abnormal power outage event was caused by an abnormal power outage in the host system itself; and in response to determining that the abnormal power outage was caused by the abnormal power outage in the host system itself, updating host power outage information in the storage device.

本發明的實施例另提供一種儲存裝置,其包括連接介面與記憶體模組。所述連接介面用以耦接至主機系統。所述記憶體控制器耦接至所述連接介面與所述記憶體模組。所述記憶體控制器用以:建立所述主機系統與所述儲存裝置之間的連線;在建立所述連線後,偵測所述儲存裝置的異常斷電事件;響應於所述異常斷電事件,根據目標訊號判斷所述異常斷電事件是否是由所述主機系統本身的異常斷電所引起;以及響應於所述異常斷電是由所述主機系統本身的所述異常斷電所引起,在所述儲存裝置中更新主機斷電資訊。An embodiment of the present invention further provides a storage device comprising a connection interface and a memory module. The connection interface is used to couple to a host system. The memory controller is coupled to the connection interface and the memory module. The memory controller is used to: establish a connection between the host system and the storage device; after establishing the connection, detect an abnormal power failure event of the storage device; in response to the abnormal power failure event, determine whether the abnormal power failure event is caused by an abnormal power failure of the host system itself based on a target signal; and in response to the abnormal power failure being caused by the abnormal power failure of the host system itself, update host power failure information in the storage device.

基於上述,在建立主機系統與儲存裝置之間的連線後,可根據目標訊號來判斷儲存裝置的異常斷電事件是否是由所述主機系統本身的異常斷電所引起。若是,則主機斷電資訊可在儲存裝置中被更新,並可用於後續對儲存裝置進行管理與維護。藉此,可有效提高對儲存裝置的管理與維護效率。Based on the above, once a connection is established between the host system and the storage device, the target signal can be used to determine whether an abnormal power outage in the storage device was caused by an abnormal power outage in the host system itself. If so, the host power outage information can be updated in the storage device and used for subsequent management and maintenance of the storage device. This effectively improves the management and maintenance efficiency of the storage device.

圖1是根據本發明的實施例所繪示的資料儲存系統的示意圖。請參照圖1,資料儲存系統10包括主機系統11與儲存裝置12。主機系統11可將資料儲存至儲存裝置12中,或從儲存裝置12中讀取資料。例如,主機系統11為可實質地與儲存裝置12配合以儲存資料的任意系統,例如,智慧型手機、平板電腦、筆記型電腦、桌上型電腦、工業電腦、伺服器、智慧電視或車載電腦等各式系統,而儲存裝置12則可為隨身碟、記憶卡、固態硬碟(Solid State Drive, SSD)、安全數位(Secure Digital, SD)卡、小型快閃(Compact Flash, CF)卡或嵌入式儲存裝置等各式非揮發性儲存裝置。FIG1 is a schematic diagram of a data storage system according to an embodiment of the present invention. Referring to FIG1 , the data storage system 10 includes a host system 11 and a storage device 12. The host system 11 can store data in the storage device 12 or read data from the storage device 12. For example, the host system 11 is any system that can actually cooperate with the storage device 12 to store data, such as a smartphone, tablet computer, laptop computer, desktop computer, industrial computer, server, smart TV, or car computer, and the storage device 12 can be a non-volatile storage device such as a flash drive, memory card, solid state drive (SSD), secure digital (SD) card, compact flash (CF) card, or embedded storage device.

主機系統11可包括處理器111、連接介面112及電源按鈕113。處理器111可用以控制主機系統11的整體或部分運作。例如,處理器111可包括中央處理單元(Central Processing Unit, CPU)、圖形處理單元(Graphics Processing Unit, GPU)或是其他可程式化之一般用途或特殊用途的微處理器、數位訊號處理器(Digital Signal Processor, DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits, ASIC)、可程式化邏輯裝置(Programmable Logic Device, PLD)或其他類似裝置或這些裝置的組合。The host system 11 may include a processor 111, a connection interface 112, and a power button 113. The processor 111 may be used to control the operation of the host system 11 in whole or in part. For example, the processor 111 may include a central processing unit (CPU), a graphics processing unit (GPU), or other programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application-specific integrated circuits (ASICs), programmable logic devices (PLDs), or other similar devices or combinations of these devices.

連接介面112耦接至處理器111並用以將主機系統11耦接至儲存裝置12。例如,連接介面112可用以將訊號(包含資料與指令)傳輸至儲存裝置12或從儲存裝置12接收訊號。在一實施例中,連接介面112符合NVM Express (NVMe)界面規範。在一實施例中,連接介面112亦可以符合序列先進附件(Serial Advanced Technology Attachment, SATA)、並列先進附件(Parallel Advanced Technology Attachment, PATA)、高速周邊零件連接介面(Peripheral Component Interconnect Express, PCI Express)或通用序列匯流排(Universal Serial Bus, USB)等各式連接介面標準。The connection interface 112 is coupled to the processor 111 and is used to couple the host system 11 to the storage device 12. For example, the connection interface 112 can be used to transmit signals (including data and commands) to the storage device 12 or receive signals from the storage device 12. In one embodiment, the connection interface 112 complies with the NVM Express (NVMe) interface specification. In another embodiment, the connection interface 112 can also comply with various connection interface standards such as Serial Advanced Technology Attachment (SATA), Parallel Advanced Technology Attachment (PATA), Peripheral Component Interconnect Express (PCI Express), or Universal Serial Bus (USB).

電源按鈕113可用以控制主機系統11的電源。例如,電源按鈕113可為實體按鈕。例如,在觸發(例如按壓)電源按鈕113後,主機系統11的電源狀態可被切換,例如從開機狀態切換為關機狀態、從關機狀態切換為開機狀態、從上電狀態切換為斷電狀態或從斷電狀態切換為上電狀態。The power button 113 can be used to control the power of the host system 11. For example, the power button 113 can be a physical button. For example, after triggering (e.g., pressing) the power button 113, the power state of the host system 11 can be switched, for example, from the power-on state to the power-off state, from the power-off state to the power-on state, from the power-on state to the power-off state, or from the power-off state to the power-on state.

在一實施例中,主機系統11還可包含任何實務上所需的硬體裝置,例如電池單元、網路介面卡、鍵盤(或觸控板)、螢幕及/或揚聲器等等,本發明不加以限制。In one embodiment, the host system 11 may also include any practically required hardware devices, such as a battery unit, a network interface card, a keyboard (or touch pad), a screen and/or a speaker, etc., and the present invention is not limited thereto.

儲存裝置12可包括連接介面121、記憶體控制器122及記憶體模組123。連接介面121用以連接主機系統11。例如,連接介面121可用以將訊號(包含資料)傳輸至主機系統11或從主機系統11接收訊號。在一實施例中,連接介面121符合NVMe界面規範。在一實施例中,連接介面121亦可以符合SATA、PATA、PCI Express或USB等各式連接介面標準。The storage device 12 may include a connection interface 121, a memory controller 122, and a memory module 123. The connection interface 121 is used to connect to the host system 11. For example, the connection interface 121 may be used to transmit signals (including data) to the host system 11 or receive signals from the host system 11. In one embodiment, the connection interface 121 complies with the NVMe interface specification. In another embodiment, the connection interface 121 may also comply with various connection interface standards such as SATA, PATA, PCI Express, or USB.

記憶體控制器122耦接至連接介面121與記憶體模組123。記憶體控制器122用以執行以硬體型式或韌體型式實作的多個邏輯閘或控制指令並且根據來自主機系統11的指令在記憶體模組123中進行資料的寫入、讀取與抹除等運作。在一實施例中,記憶體控制器122也可控制儲存裝置12的整體或部分運作。在一實施例中,記憶體控制器122可包括快閃記憶體控制器。The memory controller 122 is coupled to the connection interface 121 and the memory module 123. The memory controller 122 is configured to execute multiple logic gates or control instructions implemented in hardware or firmware, and to perform operations such as writing, reading, and erasing data in the memory module 123 based on instructions from the host system 11. In one embodiment, the memory controller 122 may also control all or part of the operation of the storage device 12. In one embodiment, the memory controller 122 may include a flash memory controller.

記憶體模組123用以儲存主機系統11所寫入的資料。例如,記憶體模組123可包括多個記憶胞。例如,此些記憶胞是以臨界電壓的改變來儲存資料。例如,記憶體模組123可包括單階胞(single level cell, SLC)NAND型快閃記憶體模組(即,一個記憶胞可儲存1個位元的快閃記憶體模組)、多階胞(multi level cell, MLC)NAND型快閃記憶體模組(即,一個記憶胞可儲存2個位元的快閃記憶體模組)、三階胞(triple level cell, TLC)NAND型快閃記憶體模組(即,一個記憶胞可儲存3個位元的快閃記憶體模組)、四階胞(quad level cell, QLC)NAND型快閃記憶體模組(即,一個記憶胞可儲存4個位元的快閃記憶體模組)或其他類型的記憶體模組。The memory module 123 is used to store data written by the host system 11. For example, the memory module 123 may include a plurality of memory cells. For example, these memory cells store data by changing critical voltage. For example, the memory module 123 may include a single level cell (SLC) NAND type flash memory module (i.e., a flash memory module in which one memory cell can store one bit), a multi level cell (MLC) NAND type flash memory module (i.e., a flash memory module in which one memory cell can store two bits), a triple level cell (TLC) NAND type flash memory module (i.e., a flash memory module in which one memory cell can store three bits), a quad level cell (MLC) NAND type flash memory module (i.e., a flash memory module in which one memory cell can store three bits), or a quad level cell (MLC) NAND type flash memory module. A QLC (Quadrature Lattice Crystal Display) NAND-type flash memory module (i.e., a flash memory module in which one memory cell can store 4 bits) or other types of memory modules.

在一實施例中,記憶體控制器122可用以建立主機系統11與儲存裝置12之間的連線。例如,記憶體控制器122可透過連接介面121與主機系統11(例如連接介面112)執行交握操作。此交握操作用以建立主機系統11與儲存裝置12之間的連線。例如,在此交握操作中,記憶體控制器122(或儲存裝置12)可與主機系統11交換建立連線所需的資料(或訊號)並根據此資料(或訊號)建立主機系統11與儲存裝置12之間的連線。In one embodiment, the memory controller 122 may be used to establish a connection between the host system 11 and the storage device 12. For example, the memory controller 122 may perform a handshake operation with the host system 11 (e.g., the connection interface 112) via the connection interface 121. This handshake operation is used to establish a connection between the host system 11 and the storage device 12. For example, during this handshake operation, the memory controller 122 (or the storage device 12) may exchange data (or signals) required to establish the connection with the host system 11 and establish the connection between the host system 11 and the storage device 12 based on this data (or signal).

在一實施例中,在建立主機系統11與儲存裝置12之間的連線後,在主機系統11與儲存裝置12皆正常運作的期間,記憶體控制器122可偵測儲存裝置12的異常斷電事件。例如,此異常斷電事件可反映出儲存裝置12發生即時的異常斷電。例如,此異常斷電包括對儲存裝置12供電的電源(例如電壓或電流)非預期的大幅度下降,甚至降低至對儲存裝置12的供電完全中斷。In one embodiment, after establishing a connection between the host system 11 and the storage device 12, while both the host system 11 and the storage device 12 are operating normally, the memory controller 122 may detect an abnormal power outage event in the storage device 12. For example, this abnormal power outage event may reflect a real-time abnormal power outage in the storage device 12. For example, this abnormal power outage may include an unexpected and significant drop in the power supply (e.g., voltage or current) to the storage device 12, or even a complete power outage to the storage device 12.

在一實施例中,響應於此異常斷電事件,記憶體控制器122可根據特定訊號(亦稱為目標訊號)判斷此異常斷電事件是否是由主機系統11本身的異常斷電所引起。在一實施例中,目標訊號是透過主機系統11與儲存裝置12之間的所述連線來傳輸。In one embodiment, in response to the abnormal power failure event, the memory controller 122 can determine whether the abnormal power failure event is caused by an abnormal power failure of the host system 11 itself based on a specific signal (also referred to as a target signal). In one embodiment, the target signal is transmitted through the connection between the host system 11 and the storage device 12.

在一實施例中,若主機系統11的斷電是由電源按鈕113所控制(例如因觸發電源按鈕113而導致主機系統11斷電),則記憶體控制器122可判定此斷電不屬於主機系統11本身的異常斷電(亦即此斷電是由主機系統11的使用者所控制的)。然而,在一實施例中,若主機系統11的斷電不是由電源按鈕113所控制(例如因主機系統11意外當機或非預期的重開機而導致主機系統11斷電),則記憶體控制器122可判定此斷電屬於主機系統11本身的異常斷電(亦即此斷電不是由主機系統11的使用者所控制的)。需注意的是,無論主機系統11的斷電是否屬於主機系統11本身的異常斷電,主機系統11的突然斷電皆可能同步引起儲存裝置12的異常斷電事件。In one embodiment, if the power off of the host system 11 is controlled by the power button 113 (e.g., the host system 11 is powered off by triggering the power button 113), the memory controller 122 may determine that the power off is not an abnormal power off of the host system 11 itself (i.e., the power off is controlled by the user of the host system 11). However, in one embodiment, if the power off of the host system 11 is not controlled by the power button 113 (e.g., the host system 11 is powered off due to an unexpected crash or an unexpected restart of the host system 11), the memory controller 122 may determine that the power off is an abnormal power off of the host system 11 itself (i.e., the power off is not controlled by the user of the host system 11). It should be noted that regardless of whether the power outage of the host system 11 is an abnormal power outage of the host system 11 itself, the sudden power outage of the host system 11 may simultaneously cause an abnormal power outage event of the storage device 12.

圖2是根據本發明的實施例所繪示的觸發電源按鈕以改變目標訊號的訊號狀態的示意圖。請同時參照圖1與圖2,在一實施例中,儲存裝置12還包括訊號偵測器124。訊號偵測器124耦接至連接介面121與記憶體控制器122。訊號偵測器124可用以分析訊號TS(即目標訊號)的訊號狀態(例如訊號TS的波形)。FIG2 is a schematic diagram illustrating triggering a power button to change the signal state of a target signal according to an embodiment of the present invention. Referring to FIG1 and FIG2 , in one embodiment, the storage device 12 further includes a signal detector 124. The signal detector 124 is coupled to the connection interface 121 and the memory controller 122. The signal detector 124 can be used to analyze the signal state (e.g., the waveform of the signal TS) of the target signal.

在一實施例中,訊號TS(即目標訊號)的訊號狀態可反映電源按鈕113是否被觸發。例如,在一實施例中,響應於電源按鈕113未被觸發(例如未被使用者觸碰或按壓),訊號TS可處於預設的訊號狀態(亦稱為目標訊號狀態)。然而,在一實施例中,若電源按鈕113被觸發(例如被使用者觸碰或按壓),則訊號TS的訊號狀態可被改變且不處於目標訊號狀態。訊號TS可經由透過主機系統11與儲存裝置12之間的連線傳送至儲存裝置12。In one embodiment, the signal state of signal TS (i.e., the target signal) may reflect whether the power button 113 is triggered. For example, in one embodiment, in response to the power button 113 not being triggered (e.g., not being touched or pressed by the user), signal TS may be in a default signal state (also referred to as the target signal state). However, in one embodiment, if the power button 113 is triggered (e.g., being touched or pressed by the user), the signal state of signal TS may be changed and not in the target signal state. Signal TS may be transmitted to storage device 12 via a connection between host system 11 and storage device 12.

圖3是根據本發明的實施例所繪示的目標訊號不處於目標訊號狀態的示意圖。請參照圖3,在一實施例中,假設儲存裝置12的異常斷電事件反映儲存裝置12在時間點T(0)與T(1)之間發生異常斷電。在一實施例中,響應於在時間點T(0)與T(1)之間,訊號TS處於邏輯高(如圖3所示),則記憶體控制器122可判定訊號TS不處於目標訊號狀態(例如邏輯低)。FIG3 is a schematic diagram illustrating a target signal not being in a target signal state according to an embodiment of the present invention. Referring to FIG3 , in one embodiment, it is assumed that the abnormal power-off event of the storage device 12 reflects an abnormal power-off of the storage device 12 between time points T(0) and T(1). In one embodiment, in response to the signal TS being at a logical high level (as shown in FIG3 ) between time points T(0) and T(1), the memory controller 122 may determine that the signal TS is not in a target signal state (e.g., a logical low level).

圖4是根據本發明的實施例所繪示的目標訊號處於目標訊號狀態的示意圖。請參照圖4,在一實施例中,假設儲存裝置12的異常斷電事件反映儲存裝置12在時間點T(0)與T(1)之間發生異常斷電。在一實施例中,響應於在時間點T(0)與T(1)之間,訊號TS處於邏輯低(如圖4所示),則記憶體控制器122可判定訊號TS處於目標訊號狀態(例如邏輯低)。須注意的是,圖3與圖4僅為目標訊號的訊號狀態在不同情況下發生變化的範例,非用以限制本發明。FIG4 is a schematic diagram illustrating a target signal in a target signal state according to an embodiment of the present invention. Referring to FIG4 , in one embodiment, it is assumed that the abnormal power-off event of the storage device 12 reflects an abnormal power-off of the storage device 12 between time points T(0) and T(1). In one embodiment, in response to the signal TS being at a logical low (as shown in FIG4 ) between time points T(0) and T(1), the memory controller 122 may determine that the signal TS is in a target signal state (e.g., logical low). It should be noted that FIG3 and FIG4 are merely examples of how the signal state of the target signal changes under different circumstances and are not intended to limit the present invention.

請回到圖2,在一實施例中,當偵測到儲存裝置12的異常斷電事件時,響應於所述異常斷電事件,記憶體控制器122可透過訊號偵測器124判斷在儲存裝置12發生異常斷電的期間,訊號TS是否處於目標訊號狀態。若判斷結果為是(即在儲存裝置12發生異常斷電的期間,訊號TS處於目標訊號狀態),表示此異常斷電事件不是因主機系統11的電源按鈕113被觸發所引起的。因此,響應於在儲存裝置12發生異常斷電的期間,訊號TS處於目標訊號狀態,記憶體控制器122可判定所述異常斷電事件是由主機系統11本身的異常斷電所引起。Returning to FIG. 2 , in one embodiment, when an abnormal power failure event is detected in the storage device 12, the memory controller 122 can determine, via the signal detector 124, whether the signal TS was in the target signal state during the abnormal power failure of the storage device 12. If the determination is yes (i.e., the signal TS was in the target signal state during the abnormal power failure of the storage device 12), the abnormal power failure event was not caused by the power button 113 of the host system 11 being triggered. Therefore, in response to the abnormal power failure of the storage device 12, the signal TS is in the target signal state, and the memory controller 122 can determine that the abnormal power failure event is caused by the abnormal power failure of the host system 11 itself.

另一方面,若判斷結果為否(即在儲存裝置12發生異常斷電的期間,訊號TS不處於目標訊號狀態),表示此異常斷電事件應是因使用者觸發主機系統11的電源按鈕113所引起的。因此,響應於在儲存裝置12發生異常斷電的期間,訊號TS不處於目標訊號狀態,則記憶體控制器122可判定所述異常斷電事件不是由主機系統11本身的異常斷電所引起。On the other hand, if the determination result is negative (i.e., signal TS is not in the target signal state during the abnormal power outage of storage device 12), this indicates that the abnormal power outage event was caused by the user triggering the power button 113 of host system 11. Therefore, in response to signal TS not being in the target signal state during the abnormal power outage of storage device 12, memory controller 122 can determine that the abnormal power outage event was not caused by the abnormal power outage of host system 11 itself.

在一實施例中,響應於所述異常斷電事件是由主機系統11本身的異常斷電所引起,記憶體控制器122可在儲存裝置12中更新特定資訊(亦稱為主機斷電資訊)。例如,響應於所述異常斷電事件是由主機系統11本身的異常斷電所引起,記憶體控制器122可在儲存裝置12中將主機斷電資訊中的一個參數(亦稱為目標參數)的參數值從第一參數值更新為第二參數值。第一參數值不同於第二參數值。然而,若此異常斷電事件不是由主機系統11本身的異常斷電所引起,則記憶體控制器122可不更新此目標參數(即主機斷電資訊)。例如,若所述異常斷電事件不是由主機系統11本身的異常斷電所引起,記憶體控制器122可將目標參數的參數值維持於第一參數值。In one embodiment, in response to the abnormal power outage event being caused by an abnormal power outage in the host system 11 itself, the memory controller 122 may update specific information (also referred to as host power outage information) in the storage device 12. For example, in response to the abnormal power outage event being caused by an abnormal power outage in the host system 11 itself, the memory controller 122 may update the parameter value of a parameter (also referred to as a target parameter) in the host power outage information in the storage device 12 from a first parameter value to a second parameter value. The first parameter value is different from the second parameter value. However, if the abnormal power failure event is not caused by an abnormal power failure of the host system 11 itself, the memory controller 122 may not update the target parameter (i.e., the host power failure information). For example, if the abnormal power failure event is not caused by an abnormal power failure of the host system 11 itself, the memory controller 122 may maintain the parameter value of the target parameter at the first parameter value.

在一實施例中,在儲存裝置12發生異常斷電並重新上電後,記憶體控制器122可根據此主機斷電資訊判定先前發生在儲存裝置12的異常斷電是否是由主機系統11本身的異常斷電所引起的。例如,在一實施例中,在儲存裝置12發生異常斷電並重新上電後,響應於主機斷電資訊中的所述目標參數的參數值為第一參數值,記憶體控制器122可判定先前發生在儲存裝置12的異常斷電不是由主機系統11本身的異常斷電所引起。或者,在一實施例中,在儲存裝置12發生異常斷電並重新上電後,響應於所述目標參數的參數值為第二參數值,記憶體控制器122可判定先前發生在儲存裝置12的異常斷電是由主機系統11本身的異常斷電所引起。In one embodiment, after the storage device 12 experiences an abnormal power outage and then powers back on, the memory controller 122 can determine, based on the host power outage information, whether the abnormal power outage that occurred previously in the storage device 12 was caused by an abnormal power outage in the host system 11 itself. For example, in one embodiment, after the storage device 12 experiences an abnormal power outage and then powers back on, in response to the parameter value of the target parameter in the host power outage information being the first parameter value, the memory controller 122 can determine that the abnormal power outage that occurred previously in the storage device 12 was not caused by an abnormal power outage in the host system 11 itself. Alternatively, in one embodiment, after the storage device 12 is powered off abnormally and then powered on again, in response to the parameter value of the target parameter being the second parameter value, the memory controller 122 may determine that the abnormal power outage previously occurring in the storage device 12 was caused by an abnormal power outage of the host system 11 itself.

在一實施例中,在儲存裝置12發生異常斷電並重新上電後,記憶體控制器122可根據更新後的主機斷電資訊更新計數資訊。此計數資訊可反映由主機系統11本身的異常斷電所引起的所述異常斷電事件的發生次數。例如,在儲存裝置12發生異常斷電並重新上電後,記憶體控制器122可根據主機斷電資訊中的所述目標參數的參數值(即第二參數值)來更新計數資訊中的一個計數值,例如將此計數值加“1”。藉此,更新後的計數資訊(即此計數值)可反映由主機系統11本身的異常斷電所引起的所述異常斷電事件的發生次數。In one embodiment, after the storage device 12 experiences an abnormal power outage and then powers back on, the memory controller 122 may update the count information based on the updated host power outage information. This count information may reflect the number of abnormal power outage events caused by the host system 11 itself. For example, after the storage device 12 experiences an abnormal power outage and then powers back on, the memory controller 122 may update a count value in the count information based on the parameter value of the target parameter (i.e., the second parameter value) in the host power outage information, for example, by adding "1" to the count value. In this way, the updated count information (i.e., this count value) may reflect the number of abnormal power outage events caused by the host system 11 itself.

在一實施例中,在更新此計數資訊後,記憶體控制器122可重置主機斷電資訊。例如,在更新此計數資訊後,記憶體控制器122可將主機斷電資訊中的所述目標參數的參數值從第二參數值回復為第一參數值,以重置此主機斷電資訊。In one embodiment, after updating the count information, the memory controller 122 may reset the host power-off information. For example, after updating the count information, the memory controller 122 may restore the parameter value of the target parameter in the host power-off information from the second parameter value to the first parameter value to reset the host power-off information.

在一實施例中,在儲存裝置12發生異常斷電並重新上電後,記憶體控制器122可判斷所述計數資訊(例如更新後的計數資訊)是否符合一個預設的數值條件。響應於此計數資訊符合所述數值條件,記憶體控制器122可對儲存裝置12(例如記憶體模組123)所儲存的至少部分資料執行資料維護操作。例如,此資料維護操作包括資料刷新(data refresh)操作、資料搬移操作(例如對長時間未存取的資料執行垃圾回收)、或損耗平衡(wear leveling)操作等。相關技術領域的技術人員應可知曉上述這些資料維護操作的操作細節,在此不多作贅述。藉此,在主機系統11的操作穩定度較低(例如發生多次當機或自動重開機)的情況下,透過主動觸發所述資料維護操作,可有效提高儲存裝置12(例如記憶體模組123)所儲存的至少部分資料的正確性或可靠度。此外,所述資料維護操作還可包括其他類型的資料維護行為,只要可提高儲存裝置12(例如記憶體模組123)所儲存的至少部分資料的正確性或可靠度即可,本發明不加以限制。然而,若此計數資訊不符合所述數值條件,記憶體控制器122可不執行此資料維護操作,以減少對儲存裝置12(例如記憶體模組123)造成額外的操作損耗或資源浪費。In one embodiment, after the storage device 12 experiences an abnormal power outage and then powers on again, the memory controller 122 may determine whether the count information (e.g., updated count information) meets a preset numerical condition. In response to the count information meeting the numerical condition, the memory controller 122 may perform a data maintenance operation on at least a portion of the data stored in the storage device 12 (e.g., the memory module 123). For example, this data maintenance operation includes a data refresh operation, a data migration operation (e.g., performing garbage collection on data that has not been accessed for a long time), or a wear leveling operation. Those skilled in the relevant art should be aware of the operational details of these data maintenance operations, and a detailed description thereof will not be given here. Thus, when the host system 11 experiences low operational stability (e.g., multiple crashes or automatic reboots), the data maintenance operation can be proactively triggered to effectively improve the accuracy or reliability of at least a portion of the data stored in the storage device 12 (e.g., the memory module 123). Furthermore, the data maintenance operation may also include other types of data maintenance actions, as long as they can improve the accuracy or reliability of at least a portion of the data stored in the storage device 12 (e.g., the memory module 123), and the present invention is not limited thereto. However, if the count information does not meet the numerical condition, the memory controller 122 may not perform the data maintenance operation to reduce additional operation loss or resource waste caused to the storage device 12 (eg, the memory module 123).

在一實施例中,在儲存裝置12發生異常斷電並重新上電後,記憶體控制器122可將所述計數資訊(例如更新後的計數資訊)中的計數值與一個臨界值進行比較。響應於此計數值大於此臨界值,記憶體控制器122可判定此計數資訊符合所述數值條件。然而,若此計數值不大於此臨界值,記憶體控制器122可判定此計數資訊不符合所述數值條件。例如,此臨界值可為任意正整數,本發明不加以限制。In one embodiment, after the storage device 12 experiences an abnormal power outage and then powers back on, the memory controller 122 may compare the count value in the count information (e.g., updated count information) with a threshold value. In response to the count value being greater than the threshold value, the memory controller 122 may determine that the count information meets the numerical condition. However, if the count value is not greater than the threshold value, the memory controller 122 may determine that the count information does not meet the numerical condition. For example, the threshold value may be any positive integer and is not limited by the present invention.

圖5是根據本發明的實施例所繪示的儲存裝置管理方法的流程圖。請參照圖5,在步驟S501中,建立主機系統與儲存裝置之間的連線。在建立所述連線後,在步驟S502中,偵測儲存裝置的異常斷電事件。響應於此異常斷電事件,在步驟S503中,根據目標訊號判斷此異常斷電事件是否是由主機系統本身的異常斷電所引起。若是(即此異常斷電是由主機系統本身的異常斷電所引起的),在步驟S504中,在儲存裝置中更新主機斷電資訊。接著,在步驟S505中,等待儲存裝置重新上電(例如重開機)。然而,若否(即此異常斷電不是由主機系統本身的異常斷電所引起的),則在步驟S503之後可進入步驟S505(即步驟S504可被略過)。FIG5 is a flow chart of a storage device management method according to an embodiment of the present invention. Referring to FIG5 , in step S501, a connection is established between the host system and the storage device. After the connection is established, in step S502, an abnormal power failure event in the storage device is detected. In response to this abnormal power failure event, in step S503, a determination is made based on the target signal whether the abnormal power failure event was caused by an abnormal power failure in the host system itself. If so (i.e., the abnormal power failure was caused by an abnormal power failure in the host system itself), in step S504, the host power failure information is updated in the storage device. Then, in step S505, the storage device is waited for to be powered on again (e.g., restarted). However, if not (i.e., the abnormal power outage is not caused by an abnormal power outage of the host system itself), step S505 can be entered after step S503 (i.e., step S504 can be skipped).

圖6是根據本發明的實施例所繪示的儲存裝置管理方法的流程圖。請參照圖6,在步驟S601中,建立主機系統與儲存裝置之間的連線。在建立所述連線後,在步驟S602中,判斷主機斷電資訊是否顯示為異常(例如判斷主機斷電資訊中的目標參數的參數值是否為第二參數值)。若主機斷電資訊顯示為異常(例如所述目標參數的參數值為第二參數值),在步驟S603中,更新計數資訊(例如將計數資訊中的計數值加“1”)。接著,在步驟S604中,重置主機斷電資訊(例如將所述目標參數的參數值回復為第一參數值),並進入步驟S605。另一方面,若主機斷電資訊非顯示為異常(即所述目標參數的參數值為第一參數值),則可直接進入步驟S605。FIG6 is a flow chart illustrating a storage device management method according to an embodiment of the present invention. Referring to FIG6 , in step S601, a connection is established between the host system and the storage device. After the connection is established, in step S602, a determination is made as to whether the host power failure information indicates an abnormality (e.g., determining whether the parameter value of the target parameter in the host power failure information is the second parameter value). If the host power failure information indicates an abnormality (e.g., the parameter value of the target parameter is the second parameter value), in step S603, the count information is updated (e.g., the count value in the count information is incremented by "1"). Then, in step S604, the host power-off information is reset (e.g., the target parameter value is restored to the first parameter value), and the process proceeds to step S605. On the other hand, if the host power-off information is not displayed as abnormal (i.e., the target parameter value is the first parameter value), the process proceeds directly to step S605.

在步驟S605中,在主機系統與儲存裝置正常運作的期間,判斷是否發生儲存裝置的異常斷電。例如,當有偵測到儲存裝置的異常斷電事件時,表示有發生儲存裝置的異常斷電。反之,若沒有偵測到儲存裝置的異常斷電事件,表示沒有發生儲存裝置的異常斷電。In step S605, while the host system and the storage device are operating normally, a determination is made as to whether an abnormal power outage has occurred in the storage device. For example, if an abnormal power outage event is detected in the storage device, it indicates that an abnormal power outage has occurred in the storage device. Conversely, if no abnormal power outage event is detected in the storage device, it indicates that no abnormal power outage has occurred in the storage device.

在判定有發生儲存裝置的異常斷電後,在步驟S606中,判斷在儲存裝置發生異常斷電的期間,目標訊號是否處於目標訊號狀態。若是(即在儲存裝置發生異常斷電的期間,目標訊號處於目標訊號狀態),在步驟S607中,在儲存裝置中更新主機斷電資訊(例如將所述目標參數的參數值更新為第二參數值)。After determining that an abnormal power outage has occurred in the storage device, in step S606, it is determined whether the target signal was in the target signal state during the abnormal power outage. If so (i.e., the target signal was in the target signal state during the abnormal power outage), in step S607, the host power outage information is updated in the storage device (e.g., the parameter value of the target parameter is updated to the second parameter value).

在更新主機斷電資訊後,在步驟S608中,判斷儲存裝置是否重新上電。若是(即儲存裝置重新上電),在步驟S608後重複步驟S601。另一方面,若步驟S606的判斷結果為否(即在儲存裝置發生異常斷電的期間,目標訊號非處於目標訊號狀態),則在步驟S606後可直接進入步驟S608(即步驟S607可被略過)。After updating the host power-off information, in step S608, it is determined whether the storage device has been powered on again. If so (i.e., the storage device has been powered on again), step S601 is repeated after step S608. On the other hand, if the determination result of step S606 is negative (i.e., the target signal was not in the target signal state during the abnormal power-off period of the storage device), the process proceeds directly to step S608 after step S606 (i.e., step S607 can be skipped).

圖7是根據本發明的實施例所繪示的儲存裝置管理方法的流程圖。請參照圖7,在步驟S701中,判斷計數資訊是否符合數值條件(例如計數資訊中的計數值是否大於一個臨界值)。若計數資訊符合此數值條件(例如所述計數值大於此臨界值),在步驟S702中,對儲存裝置所儲存的至少部分資料執行資料維護操作。然而,若計數資訊不符合此數值條件(例如計數資訊中的計數值未大於此臨界值),則步驟S702可不被執行。FIG7 is a flow chart illustrating a storage device management method according to an embodiment of the present invention. Referring to FIG7 , in step S701, a determination is made as to whether the count information satisfies a numerical condition (e.g., whether the count value in the count information is greater than a threshold value). If the count information satisfies the numerical condition (e.g., the count value is greater than the threshold value), in step S702, a data maintenance operation is performed on at least a portion of the data stored in the storage device. However, if the count information does not satisfy the numerical condition (e.g., the count value in the count information is not greater than the threshold value), step S702 may not be performed.

然而,圖5至圖7中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖5至圖7中各步驟可以實作為多個程式碼或是電路,本發明不加以限制。此外,圖5至圖7的方法可以搭配以上範例實施例使用,也可以單獨使用,本發明不加以限制。However, the steps in Figures 5 through 7 have been described in detail above and will not be repeated here. It is worth noting that the steps in Figures 5 through 7 can be implemented as multiple code blocks or circuits, and the present invention is not limited thereto. Furthermore, the methods in Figures 5 through 7 can be used in conjunction with the above exemplary embodiments or independently, and the present invention is not limited thereto.

綜上所述,本發明實施例提出的儲存裝置管理方法與儲存裝置,可在建立主機系統與儲存裝置之間的連線後,根據目標訊號來判斷儲存裝置的異常斷電事件是否是由主機系統本身的異常斷電所引起。若是,則主機斷電資訊可在儲存裝置中被更新,以反映儲存裝置先前的異常斷電是由主機系統本身的異常斷電所引起的。特別是,更新後的主機斷電資訊(或根據此主機斷電資訊更新的計數資訊)可用於後續對儲存裝置進行管理與維護。藉此,可有效提高對儲存裝置的管理與維護效率。In summary, the storage device management method and storage device proposed in the embodiments of the present invention can, after establishing a connection between a host system and the storage device, determine, based on a target signal, whether an abnormal power outage event in the storage device was caused by an abnormal power outage in the host system itself. If so, host power outage information can be updated in the storage device to reflect that the previous abnormal power outage in the storage device was caused by an abnormal power outage in the host system itself. In particular, the updated host power outage information (or the count information updated based on this host power outage information) can be used for subsequent management and maintenance of the storage device. This effectively improves the management and maintenance efficiency of the storage device.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above by way of embodiments, they are not intended to limit the present invention. Any person having ordinary skill in the art may make slight modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the scope of the attached patent application.

10:資料儲存系統 11:主機系統 111:處理器 112:連接介面 113:電源按鈕 12:儲存裝置 121:連接介面 122:記憶體控制器 123:記憶體模組 124:訊號偵測器 TS:訊號(目標訊號) T(0),T(1):時間點 S501~S505,S601~S608,S701,S702:步驟 10: Data storage system 11: Host system 111: Processor 112: Connection interface 113: Power button 12: Storage device 121: Connection interface 122: Memory controller 123: Memory module 124: Signal detector TS: Signal (target signal) T(0), T(1): Time point S501~S505, S601~S608, S701, S702: Steps

圖1是根據本發明的實施例所繪示的資料儲存系統的示意圖。 圖2是根據本發明的實施例所繪示的觸發電源按鈕以改變目標訊號的訊號狀態的示意圖。 圖3是根據本發明的實施例所繪示的目標訊號不處於目標訊號狀態的示意圖。 圖4是根據本發明的實施例所繪示的目標訊號處於目標訊號狀態的示意圖。 圖5是根據本發明的實施例所繪示的儲存裝置管理方法的流程圖。 圖6是根據本發明的實施例所繪示的儲存裝置管理方法的流程圖。 圖7是根據本發明的實施例所繪示的儲存裝置管理方法的流程圖。 Figure 1 is a schematic diagram of a data storage system according to an embodiment of the present invention. Figure 2 is a schematic diagram of triggering a power button to change the signal state of a target signal according to an embodiment of the present invention. Figure 3 is a schematic diagram of a target signal not in the target signal state according to an embodiment of the present invention. Figure 4 is a schematic diagram of a target signal in the target signal state according to an embodiment of the present invention. Figure 5 is a flow chart of a storage device management method according to an embodiment of the present invention. Figure 6 is a flow chart of a storage device management method according to an embodiment of the present invention. Figure 7 is a flow chart of a storage device management method according to an embodiment of the present invention.

S501~S505:步驟 S501~S505: Steps

Claims (12)

一種儲存裝置管理方法,包括: 建立主機系統與儲存裝置之間的連線; 在建立該連線後,偵測該儲存裝置的異常斷電事件; 響應於該異常斷電事件,根據目標訊號判斷該異常斷電事件是否是由該主機系統本身的異常斷電所引起; 響應於該異常斷電事件是由該主機系統本身的該異常斷電所引起,在該儲存裝置中更新主機斷電資訊;以及 在該儲存裝置重新上電後,根據更新後的該主機斷電資訊更新計數資訊,其中該計數資訊反映由該主機系統本身的該異常斷電所引起的該異常斷電事件的發生次數。 A storage device management method comprises: establishing a connection between a host system and a storage device; after establishing the connection, detecting an abnormal power failure event in the storage device; in response to the abnormal power failure event, determining based on a target signal whether the abnormal power failure event was caused by an abnormal power failure in the host system itself; in response to determining that the abnormal power failure event was caused by the abnormal power failure in the host system itself, updating host power failure information in the storage device; and After the storage device is powered on again, the count information is updated based on the updated host power outage information, wherein the count information reflects the number of occurrences of the abnormal power outage event caused by the abnormal power outage of the host system itself. 如請求項1所述的儲存裝置管理方法,其中該目標訊號是透過該主機系統與該儲存裝置之間的該連線傳輸。The storage device management method of claim 1, wherein the target signal is transmitted through the connection between the host system and the storage device. 如請求項1所述的儲存裝置管理方法,其中該目標訊號的訊號狀態反映該主機系統的電源按鈕是否被觸發。The storage device management method of claim 1, wherein the signal state of the target signal reflects whether a power button of the host system is triggered. 如請求項1所述的儲存裝置管理方法,其中根據該目標訊號判斷該異常斷電事件是否是由該主機系統本身的該異常斷電所引起的步驟包括: 判斷在該儲存裝置發生異常斷電的期間,該目標訊號是否處於目標訊號狀態;以及 響應於在該儲存裝置發生該異常斷電的期間,該目標訊號處於該目標訊號狀態,判定該異常斷電事件是由該主機系統本身的該異常斷電所引起。 The storage device management method of claim 1, wherein the step of determining whether the abnormal power outage event was caused by the abnormal power outage of the host system itself based on the target signal comprises: Determining whether the target signal is in a target signal state during the abnormal power outage of the storage device; and In response to the target signal being in the target signal state during the abnormal power outage of the storage device, determining that the abnormal power outage event was caused by the abnormal power outage of the host system itself. 如請求項1所述的儲存裝置管理方法,更包括: 在更新該計數資訊後,重置該主機斷電資訊。 The storage device management method of claim 1 further comprises: After updating the count information, resetting the host power-off information. 如請求項1所述的儲存裝置管理方法,更包括: 判斷該計數資訊是否符合數值條件;以及 響應於該計數資訊符合該數值條件,對該儲存裝置所儲存的至少部分資料執行資料維護操作。 The storage device management method of claim 1 further comprises: Determining whether the count information satisfies a numerical condition; and In response to the count information satisfying the numerical condition, performing a data maintenance operation on at least a portion of the data stored in the storage device. 一種儲存裝置,包括: 連接介面,用以耦接至主機系統; 記憶體模組;以及 記憶體控制器,耦接至該連接介面與該記憶體模組, 其中該記憶體控制器用以: 建立該主機系統與該儲存裝置之間的連線; 在建立該連線後,偵測該儲存裝置的異常斷電事件; 響應於該異常斷電事件,根據目標訊號判斷該異常斷電事件是否是由該主機系統本身的異常斷電所引起; 響應於該異常斷電事件是由該主機系統本身的該異常斷電所引起,在該儲存裝置中更新主機斷電資訊;以及 在該儲存裝置重新上電後,根據更新後的該主機斷電資訊更新計數資訊,其中該計數資訊反映由該主機系統本身的該異常斷電所引起的該異常斷電事件的發生次數。 A storage device comprises: a connection interface for coupling to a host system; a memory module; and a memory controller coupled to the connection interface and the memory module, wherein the memory controller is configured to: establish a connection between the host system and the storage device; after establishing the connection, detect an abnormal power failure event in the storage device; in response to the abnormal power failure event, determine, based on a target signal, whether the abnormal power failure event was caused by an abnormal power failure in the host system itself; In response to the abnormal power outage event being caused by the abnormal power outage of the host system itself, updating host power outage information in the storage device; and After the storage device is powered on again, updating count information based on the updated host power outage information, wherein the count information reflects the number of occurrences of the abnormal power outage event caused by the abnormal power outage of the host system itself. 如請求項7所述的儲存裝置,其中該目標訊號是透過該主機系統與該儲存裝置之間的該連線傳輸。The storage device of claim 7, wherein the target signal is transmitted through the connection between the host system and the storage device. 如請求項7所述的儲存裝置,其中該目標訊號的訊號狀態反映該主機系統的電源按鈕是否被觸發。The storage device of claim 7, wherein the signal state of the target signal reflects whether a power button of the host system is triggered. 如請求項7所述的儲存裝置,其中該記憶體控制器根據該目標訊號判斷該異常斷電事件是否是由該主機系統本身的該異常斷電所引起的操作包括: 判斷在該儲存裝置發生異常斷電的期間,該目標訊號是否處於目標訊號狀態;以及 響應於在該儲存裝置發生該異常斷電的期間,該目標訊號處於該目標訊號狀態,判定該異常斷電事件是由該主機系統本身的該異常斷電所引起。 The storage device of claim 7, wherein the memory controller determines whether the abnormal power failure event was caused by the abnormal power failure of the host system based on the target signal, including: Determining whether the target signal was in a target signal state during the abnormal power failure of the storage device; and In response to the target signal being in the target signal state during the abnormal power failure of the storage device, determining that the abnormal power failure event was caused by the abnormal power failure of the host system. 如請求項7所述的儲存裝置,其中該記憶體控制器更用以: 在更新該計數資訊後,重置該主機斷電資訊。 The storage device of claim 7, wherein the memory controller is further configured to: After updating the count information, reset the host power-off information. 如請求項7所述的儲存裝置,其中該記憶體控制器更用以: 判斷該計數資訊是否符合數值條件;以及 響應於該計數資訊符合該數值條件,對該記憶體模組中的至少部分資料執行資料維護操作。 The storage device of claim 7, wherein the memory controller is further configured to: Determine whether the count information satisfies a numerical condition; and In response to the count information satisfying the numerical condition, perform a data maintenance operation on at least a portion of the data in the memory module.
TW112142453A 2023-11-03 2023-11-03 Storage device management method and storage device TWI891111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112142453A TWI891111B (en) 2023-11-03 2023-11-03 Storage device management method and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112142453A TWI891111B (en) 2023-11-03 2023-11-03 Storage device management method and storage device

Publications (2)

Publication Number Publication Date
TW202520685A TW202520685A (en) 2025-05-16
TWI891111B true TWI891111B (en) 2025-07-21

Family

ID=96548112

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112142453A TWI891111B (en) 2023-11-03 2023-11-03 Storage device management method and storage device

Country Status (1)

Country Link
TW (1) TWI891111B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1402369B1 (en) * 2001-06-12 2016-06-08 Lenovo (Singapore) Pte. Ltd. Power fault analysis in a computer system
WO2020015203A1 (en) * 2018-07-20 2020-01-23 华为技术有限公司 System recovery method and device
CN107909809B (en) * 2017-11-08 2021-05-11 深圳市唯恩科技有限公司 Power failure alarm verification method, device and computer readable storage medium
CN115525461A (en) * 2022-09-20 2022-12-27 深圳市正浩创新科技股份有限公司 Abnormal detection method and server for energy storage equipment
US11762033B2 (en) * 2020-09-16 2023-09-19 Fulian Precision Electronics (Tianjin) Co., Ltd. Power failure monitoring device and power failure monitoring method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1402369B1 (en) * 2001-06-12 2016-06-08 Lenovo (Singapore) Pte. Ltd. Power fault analysis in a computer system
CN107909809B (en) * 2017-11-08 2021-05-11 深圳市唯恩科技有限公司 Power failure alarm verification method, device and computer readable storage medium
WO2020015203A1 (en) * 2018-07-20 2020-01-23 华为技术有限公司 System recovery method and device
US11762033B2 (en) * 2020-09-16 2023-09-19 Fulian Precision Electronics (Tianjin) Co., Ltd. Power failure monitoring device and power failure monitoring method
CN115525461A (en) * 2022-09-20 2022-12-27 深圳市正浩创新科技股份有限公司 Abnormal detection method and server for energy storage equipment

Also Published As

Publication number Publication date
TW202520685A (en) 2025-05-16

Similar Documents

Publication Publication Date Title
US10592143B2 (en) Data storage device and data storage method thereof
TWI467376B (en) Data protecting method, and memory controll and memory storage device using the same
CN103403691B (en) The control method of signal conditioning package, external storage device, host apparatus, relay, signal conditioning package
CN103890724B (en) Information processing apparatus, method for controlling information processing apparatus, host device, and performance evaluation method used for external storage device
TWI524183B (en) Data writing method, memory control circuit unit and memory storage device
TWI489466B (en) Memory erasing method, memory controller and memory storage apparatus
US9424177B2 (en) Clock switching method, memory controller and memory storage apparatus
TW201719412A (en) Method and system for memory management and memory storage device thereof
CN109801668B (en) Data storage device and operation method applied to same
TW201725589A (en) Memory management method, memory control circuit unit and memory storage device
KR20210006121A (en) Memory system and operation method thereof
TWI570738B (en) A primary memory module with a record of usage history and applications of the primary memory module to a computer system
TWI891111B (en) Storage device management method and storage device
CN106484308A (en) Data protection method, memory control circuit unit and memory storage device
US12450121B2 (en) Storage device and storage system
CN117093402A (en) Recording method and device for PSU AC loss event after equipment power failure
TWI728634B (en) Method and apparatus for performing data-accessing management in a storage server
CN103777732B (en) Connector control method, connector and memory storage device
JP2010205167A (en) Nonvolatile memory, and control method and program thereof
US11836033B2 (en) Information processing apparatus and control method for controlling information processing apparatus
TWI844479B (en) Power state control method and data storage system
TWI810095B (en) Data storage device and method for managing write buffer
CN113535459A (en) Data access method and device responding to power supply event
CN106970763B (en) Memory management method, memory control circuit unit and memory storage device
TWI521354B (en) Controlling method for connector, connector and memory storage device