TW202203029A - Low-level formatting method of storage device - Google Patents

Low-level formatting method of storage device Download PDF

Info

Publication number
TW202203029A
TW202203029A TW109122162A TW109122162A TW202203029A TW 202203029 A TW202203029 A TW 202203029A TW 109122162 A TW109122162 A TW 109122162A TW 109122162 A TW109122162 A TW 109122162A TW 202203029 A TW202203029 A TW 202203029A
Authority
TW
Taiwan
Prior art keywords
writing
storage device
record
storage
erasing
Prior art date
Application number
TW109122162A
Other languages
Chinese (zh)
Other versions
TWI747349B (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 TW109122162A priority Critical patent/TWI747349B/en
Application granted granted Critical
Publication of TWI747349B publication Critical patent/TWI747349B/en
Publication of TW202203029A publication Critical patent/TW202203029A/en

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention relates to a low-level formatting method for a storage device. The storage device has a plurality of storage blocks. The low-level formatting method includes: searching whether a plurality of storage blocks in the storage device already exists a reliability and life cycle test result or firmware storage information, both of the reliability and life cycle test result and the firmware storage information include a program-erase (P/E) cycle record and a terabyte write (TBW) record of the storage device; if the reliability and life cycle test result or the firmware storage information exist in the plurality of storage blocks of the storage device, determining whether a P/E cycle and a TBW of the storage device are recorded in the P/E cycle record and the TBW record; if the reliability and life cycle test result and the firmware storage information do not exist in the plurality of storage blocks of the storage device, values of the P/E cycle and the TBW of the storage device are set to 0, and written into the storage block of the storage device; if the P/E cycle and the TBW of the storage device are recorded in the P/E cycle record and the TBW record, the recorded values of the P/E cycle and the TBW are written to the storage block of the storage device; and if the P/E cycle and the TBW of the storage device are not recorded in the P/E cycle record and the TBW record, the values of the P/E cycle and the TBW of the storage device are set to 0, and written into the storage block of the storage device.

Description

儲存裝置之低級格式化方法Low-level formatting method of storage device

本發明有關儲存裝置之低級格式化方法,尤指一種快閃記憶體儲存裝置的低級格式化方法。The present invention relates to a low-level formatting method of a storage device, and more particularly, to a low-level formatting method of a flash memory storage device.

固態驅動器(Solid State Disk或Solid State Drive,簡稱SSD)俗稱固態硬碟,固態硬碟是用固態電子儲存晶片陣列而製成的硬碟。SSD的P/E (Program-Erase) Cycle指的是SSD中的儲存介質NAND的擦寫次數,而TBW(Terabyte Write,寫入兆位元組)指的是SSD的整個壽命週期中,總共可供寫入之兆位元組的數目。所述兩參數均是衡量SSD壽命的指標。Solid State Drive (Solid State Disk or Solid State Drive, referred to as SSD) is commonly known as solid state hard disk, and solid state hard disk is a hard disk made of a solid-state electronic storage chip array. The P/E (Program-Erase) Cycle of SSD refers to the number of times of erasing and writing of the storage medium NAND in the SSD, while TBW (Terabyte Write, writing terabytes) refers to the entire life cycle of the SSD. The number of megabytes available for writing. Both of the two parameters are indicators to measure the lifespan of the SSD.

圖1a為現有之SSD系統韌體(Whole System Firmware)讀取設定檔(config)的示意圖。首先,在SSD進行低級格式化之前,低級格式化之韌體會將其內部的一設定檔寫入NAND的一個儲存區塊中,接著系統韌體由所述儲存區塊讀取該設定檔,該設定檔包含了許多的參數資訊,例如低級格式化模式等。由這些參數,可以決定低級格式化要開RDT韌體(Reliability and Duration Test Firmware)或系統韌體(Whole System Firmware)。FIG. 1a is a schematic diagram of a conventional SSD system firmware (Whole System Firmware) reading a configuration file (config). First, before the low-level format of the SSD, the low-level format firmware will write an internal configuration file into a storage block of the NAND, and then the system firmware will read the configuration file from the storage block. The configuration file contains a lot of parameter information, such as low-level formatting mode, etc. From these parameters, you can decide whether to open RDT firmware (Reliability and Duration Test Firmware) or system firmware (Whole System Firmware) for low-level formatting.

圖1b為低級格式化開RDT韌體的示意圖。在圖1b中,系統韌體(Whole System Firmware)讀取所述設定檔,並取得低級格式化開RDT韌體之資訊,因此RDT韌體開始對NAND中的各個區塊逐一檢測,並將測試的結果寫回NAND的一既定區塊中,其流程顯示於圖2a中。FIG. 1b is a schematic diagram of low-level formatting to open the RDT firmware. In Figure 1b, the system firmware (Whole System Firmware) reads the configuration file and obtains the information of low-level format to open the RDT firmware, so the RDT firmware starts to detect each block in the NAND one by one, and will test The result is written back to a predetermined block of NAND, and its process is shown in Figure 2a.

圖1c顯示低級格式化開系統韌體(Whole System Firmware)的示意圖。在此模式中,系統韌體會執行主控器的讀取操作、寫入操作、垃圾收集等等,如圖2b所示。在此模式下,系統韌體所讀取的資訊將常駐於SRAM內,韌體可以隨時修改(更新)其內容,並每隔一段時間將P/E Cycle、TBW資訊寫入NAND備份。FIG. 1c shows a schematic diagram of low-level formatting and opening the system firmware (Whole System Firmware). In this mode, the system firmware will perform read operations, write operations, garbage collection, etc. of the host controller, as shown in Figure 2b. In this mode, the information read by the system firmware will reside in the SRAM, the firmware can modify (update) its content at any time, and write the P/E Cycle and TBW information into the NAND backup at regular intervals.

圖2c顯示現有低級格式化的流程圖,包含判斷低級格式化是開RDT韌體(也就是,進行圖1b的模式)或系統韌體(也就是,進行圖1c的模式)(步驟S21)、檢查NAND損毀的區塊(步驟S22)、校準資料選取脈衝相位(步驟S23),以及將相關參數(損毀的區塊、選取到的脈衝相位)更新至韌體,並將更新後韌體寫入NAND(步驟S24)等等。Fig. 2c shows a flowchart of the existing low-level formatting, including determining whether the low-level formatting is to open the RDT firmware (that is, to perform the mode of Fig. 1b) or the system firmware (that is, to perform the mode of Fig. 1c) (step S21), Check the damaged block of NAND (step S22), select the pulse phase for calibration data (step S23), update the relevant parameters (damaged block, selected pulse phase) to the firmware, and write the updated firmware into the firmware NAND (step S24) and so on.

此外,在SSD出貨前,會先進行圖1b的低級格式化開RDT韌體的模式,再進行圖1c的開系統韌體(Whole System Firmware)的模式。然而,在所述圖1b的RDT韌體的檢測過程中,對區塊進行檢測需要執行讀取及寫入的動作,因此會破壞原本寫入的資料(如圖1b中所示的刪除線),故所述的P/E Cycle及TBW資訊將會消失。如此一來,對於退料審查(Return Merchandise Authorization,RMA)的SSD,無法在重新進行低級格式化後,繼承SSD前次的P/E Cycle及TBW資訊。In addition, before the SSD is shipped, the mode of opening the RDT firmware in the low-level format shown in FIG. 1b will be performed first, and then the mode of opening the system firmware (Whole System Firmware) shown in FIG. 1c will be performed. However, during the detection process of the RDT firmware of FIG. 1b, the detection of the block needs to perform read and write operations, so the originally written data will be destroyed (as shown in FIG. 1b with strikethrough) , so the P/E Cycle and TBW information will disappear. As a result, for the SSD under Return Merchandise Authorization (RMA), the previous P/E Cycle and TBW information of the SSD cannot be inherited after the low-level format is performed again.

再者,若SSD經過了長時間的使用而由於某些因素再次進行低級格式化時,由於SSD的P/E Cycle及TBW已累積了相當大的值,而在重新低級格式化(在所述圖1b的RDT韌體的檢測過程)之後又會將所述資訊刪除,因此使用者所得知SSD的壽命週期並非真正的壽命週期,導致未在SSD真正的壽命結束之前,將資料備份出來,造成無法挽回的資料遺失。Furthermore, if the SSD is used for a long time and the low-level format is performed again due to some factors, the P/E Cycle and TBW of the SSD have accumulated a considerable value, and the low-level format (described in the The information is deleted after the RDT firmware detection process in Figure 1b), so the life cycle of the SSD that the user knows is not the real life cycle, so the data is not backed up before the real life of the SSD ends, resulting in Irretrievable data loss.

有鑑於此,如何在進行低級格式化之後仍能繼承SSD前次的P/E Cycle及TBW資訊,讓使用者能得知SSD真實的P/E Cycle及TBW並避免造成資料的遺失,實為有待解決的問題。In view of this, how to still inherit the previous P/E Cycle and TBW information of SSD after low-level formatting, so that users can know the real P/E Cycle and TBW of SSD and avoid data loss, it is really Issues to be resolved.

本發明涉及一種儲存裝置之低級格式化方法,所述儲存裝置具有多個儲存區塊,所述低級格式化方法包括:搜尋所述儲存裝置的所述多個儲存區塊中,是否已存在一可靠性及壽命週期測試結果或一韌體儲存資訊,所述可靠性及壽命週期測試結果及所述韌體儲存資訊皆包含所述儲存裝置的一擦寫次數紀錄及一寫入兆位元組紀錄;若所述儲存裝置的所述多個儲存區塊中存在有所述可靠性及壽命週期測試結果或所述韌體儲存資訊,則判斷所述擦寫次數紀錄及所述寫入兆位元組紀錄中,是否有記載所述儲存裝置的一擦寫次數及一寫入兆位元組;若所述儲存裝置的所述多個儲存區塊中不存在所述可靠性及壽命週期測試結果及所述韌體儲存資訊,則將所述儲存裝置的所述擦寫次數及所述寫入兆位元組的值設為0(預設值),並寫入所述儲存裝置的所述儲存區塊;若所述擦寫次數紀錄及所述寫入兆位元組紀錄中有記載所述儲存裝置的所述擦寫次數及所述寫入兆位元組,則將所記載的擦寫次數及寫入兆位元組的值寫入所述儲存裝置之所述儲存區塊;以及若所述擦寫次數紀錄及所述寫入兆位元組紀錄中未記載所述儲存裝置的所述擦寫次數及所述寫入兆位元組,則將所述儲存裝置的所述擦寫次數及所述寫入兆位元組的值設為0(預設值),並寫入所述儲存裝置的所述儲存區塊。The present invention relates to a low-level formatting method for a storage device, wherein the storage device has a plurality of storage blocks, and the low-level formatting method comprises: searching whether there is a storage block in the storage device. Reliability and life cycle test results or a firmware storage information, the reliability and life cycle test results and the firmware storage information both include a record of the number of times of erasing and writing and a written megabyte of the storage device record; if the reliability and life cycle test results or the firmware storage information exist in the plurality of storage blocks of the storage device, determine the record of the number of times of erasing and writing and the written megabit In the tuple record, whether an erasing and writing times and a writing megabyte of the storage device are recorded; if the reliability and life cycle test does not exist in the plurality of storage blocks of the storage device The result and the firmware storage information, set the erasing and writing times of the storage device and the value of the write megabyte as 0 (default value), and write all the data in the storage device. the storage block; if the number of times of erasing and writing and the record of writing megabytes are recorded in the number of times of erasing and writing and the record of writing megabytes, the recorded The number of times of erasing and the value of writing megabytes are written into the storage block of the storage device; and if the number of times of erasing and the value of writing megabytes are not recorded in the storage device The number of times of erasing and writing and the value of the writing megabyte set are set to 0 (the default value) for the number of times of erasing and writing and the value of the writing megabyte set of the storage device, and write into the storage block of the storage device.

本發明另涉及一種儲存裝置,所述儲存裝置包括一處理器以及多個儲存區塊,其特徵在於,所述處理器執行所述低級格式化方法。The present invention further relates to a storage device comprising a processor and a plurality of storage blocks, wherein the processor executes the low-level formatting method.

其中,所述儲存裝置之低級格式化方法另包含:確認所述擦寫次數紀錄及所述寫入兆位元組紀錄的有效性。Wherein, the low-level formatting method of the storage device further includes: confirming the validity of the record of times of erasing and writing and the record of writing megabytes.

其中,所述儲存裝置之低級格式化方法另包含:讀取所述儲存裝置的所述儲存區塊;由所述儲存裝置的所述儲存區塊取得所述擦寫次數紀錄及所述寫入兆位元組紀錄;以及將所取得之所述擦寫次數紀錄及所述寫入兆位元組紀錄整合成為所述可靠性及壽命週期測試結果。Wherein, the low-level formatting method of the storage device further comprises: reading the storage block of the storage device; obtaining the erasing and writing times record and the writing from the storage block of the storage device megabyte records; and integrating the obtained erasing and writing times records and the writing megabyte records into the reliability and life cycle test results.

其中,在所述儲存裝置的所述多個儲存區塊中,儲存著所述儲存裝置於不同時間點的所述擦寫次數紀錄及所述寫入兆位元組紀錄,所述方法另包括:讀取所述儲存裝置的所述儲存區塊;取得所述儲存裝置之最新時間點的所述擦寫次數紀錄及所述寫入兆位元組紀錄;以及將所取得之所述擦寫次數紀錄及所述寫入兆位元組紀錄寫回所述儲存裝置的所述多個儲存區塊中的一既定儲存區塊,以產生所述韌體儲存資訊。Wherein, in the plurality of storage blocks of the storage device, the records of the number of times of erasing and writing and the records of writing megabytes of the storage device at different time points are stored, and the method further includes : read the storage block of the storage device; obtain the record of the number of times of erasing and writing and the record of writing megabytes at the latest time point of the storage device; and the obtained erasing and writing The times record and the write megabyte record are written back to a predetermined storage block of the plurality of storage blocks of the storage device to generate the firmware storage information.

其中,所述儲存裝置為快閃記憶體儲存裝置。Wherein, the storage device is a flash memory storage device.

其中,在所述擦寫次數紀錄及所述寫入兆位元組紀錄的取得及寫入的過程中,所述多個儲存區塊的測試結果、所述擦寫次數紀錄及所述寫入兆位元組紀錄將整合成為所述可靠性及壽命週期測試結果。Wherein, in the process of obtaining and writing the record of the number of times of erasing and writing and the record of writing megabytes, the test results of the plurality of storage blocks, the record of the number of times of erasing and writing, and the writing The terabyte records will be consolidated into the reliability and life cycle test results.

其中,在所述儲存裝置之最新時間點的所述擦寫次數紀錄及所述寫入兆位元組紀錄的取得及寫入的過程中,所述的儲存裝置之低級格式化方法另包含:執行讀取運作;執行寫入運作;以及執行垃圾收集運作。Wherein, in the process of obtaining and writing the record of the number of times of erasing and writing and the record of writing megabytes at the latest time point of the storage device, the low-level formatting method of the storage device further includes: Perform read operations; perform write operations; and perform garbage collection operations.

本發明的其他優點將配合以下的說明和附圖進行更詳細的解說。Other advantages of the present invention will be explained in more detail in conjunction with the following description and drawings.

以下將配合相關附圖來說明本發明的實施例。在這些附圖中,相同的標號表示相同或類似的元件或方法流程。The embodiments of the present invention will be described below with reference to the related drawings. In the figures, the same reference numbers refer to the same or similar elements or method flows.

必須瞭解的是,使用在本說明書中的“包含”、“包括”等詞,是用於表示存在特定的技術特徵、數值、方法步驟、作業處理、元件和/或元件,但並不排除可加上更多的技術特徵、數值、方法步驟、作業處理、元件、元件,或以上的任意組合。It must be understood that words such as "comprising" and "comprising" used in this specification are used to indicate the existence of specific technical features, values, method steps, operation processes, elements and/or elements, but do not exclude the possibility of Plus more technical features, values, method steps, job processes, elements, elements, or any combination of the above.

本發明中使用如“第一”、“第二”、“第三”等詞是用來修飾權利要求中的元件,並非用來表示之間具有優先權順序,先行關係,或者是一個元件先於另一個元件,或者是執行方法步驟時的時間先後順序,僅用來區別具有相同名字的元件。The use of words such as "first", "second", "third", etc. in the present invention is used to modify the elements in the claims, and is not used to indicate that there is a priority order, a precedence relationship, or that an element comes first relative to another element, or the chronological order in which method steps are performed, is only used to distinguish elements with the same name.

必須瞭解的是,當元件描述為“連接”或“耦接”至另一元件時,可以是直接連結、或耦接至其他元件,可能出現中間元件。相反地,當元件描述為“直接連接”或“直接耦接”至另一組件時,其中不存在任何中間組件。使用於描述元件之間關係的其他語詞也可類似方式解讀,例如“介於”相對於“直接介於”,或者是“鄰接”相對於“直接鄰接”等等。It must be understood that when an element is described as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, and intervening elements may be present. In contrast, when an element is described as being "directly connected" or "directly coupled" to another component, there are no intervening components present. Other words used to describe the relationship between elements may also be read in a similar fashion, such as "between" versus "directly interposed," or "adjacent" versus "directly adjoining," and the like.

圖3為根據本發明實施例所述一種儲存裝置之低級格式化方法中可保有P/E Cycle及TBW資訊的流程圖。圖3本發明實施例適用於開RDT韌體或系統韌體(System Firmware)的低級格式化的流程圖,是修改於圖2c之現有流程上。其中,本發明實施例的步驟S32係接續在圖2c步驟S21之後。首先,在步驟S32中,搜尋SSD的NAND的儲存區塊中,是否已存在一RDT測試結果(pre-RDT result)或一韌體儲存資訊(pre-WS sblock),所述RDT測試結果及所述韌體儲存資訊皆可包含所述儲存裝置的一擦寫次數(P/E Cycle)紀錄及一寫入兆位元組(TBW)紀錄。所述RDT測試結果是SSD做完RDT測試後所產生的紀錄。若存在所述RDT測試結果,則表示SSD是剛剛打完件,做完RDT測試但未經使用。若存在所述韌體儲存資訊,則表示SSD已經有使用紀錄,而所述韌體儲存資訊是指SSD經使用者使用後,由於品質問題或其他因素,遭使用者退貨或送修後之SSD裡面已存放的資訊。換言之,對於使用中的SSD,系統韌體(Whole System Firmware)會每隔一段時間把SSD最新的擦寫次數及寫入兆位元組的值寫入儲存區塊,以彙整成所述韌體儲存資訊。通過定時更新上述的參數值,可以在SSD斷電並重新複電後,由紀錄有最新擦寫次數及寫入兆位元組參數的儲存區塊中取得SSD最新的參數值,如此便能夠繼承SSD最新的參數資訊。FIG. 3 is a flow chart of P/E Cycle and TBW information that can be retained in a low-level format method of a storage device according to an embodiment of the present invention. FIG. 3 is a flowchart of a low-level format suitable for opening RDT firmware or system firmware (System Firmware) according to an embodiment of the present invention, which is modified from the existing process in FIG. 2c. Wherein, step S32 in the embodiment of the present invention is continued after step S21 in FIG. 2c. First, in step S32, search whether there is an RDT test result (pre-RDT result) or a firmware storage information (pre-WS sblock) in the NAND storage block of the SSD, the RDT test result and all The firmware storage information may include a P/E Cycle record and a terabyte write (TBW) record of the storage device. The RDT test result is a record generated after the SSD completes the RDT test. If the RDT test result exists, it means that the SSD is just finished, and the RDT test is completed but not used. If the firmware storage information exists, it means that the SSD has a usage record, and the firmware storage information refers to the SSD that has been returned or sent for repair by the user due to quality problems or other factors after the SSD has been used by the user. information stored in it. In other words, for the SSD in use, the system firmware (Whole System Firmware) will write the latest erasing and writing times of the SSD and the value written in megabytes into the storage block at regular intervals to form the firmware. Save information. By regularly updating the above parameter values, the latest parameter values of the SSD can be obtained from the storage block that records the latest erasing and writing times and the parameters of the megabytes written after the SSD is powered off and then powered on again. The latest parameter information of SSD.

若步驟S32中,皆無法搜尋到所述RDT測試結果及所述韌體儲存資訊,則表示SSD可能剛打完件,尚未進行RDT,亦未經使用。此時,流程進行至步驟S36,將SSD的P/E Cycle及TBW的預設值(預設值為0),並寫入所述儲存裝置的所述儲存區塊,且流程結束。必須要注意的是,圖3流程結束之後,接著要進行的就是圖2c中後續現有的低級格式化步驟,包括檢查NAND損毀的區塊(步驟S22)、校準資料選取脈衝相位(calibrate DQS phase)(步驟S23),以及將相關參數(有損毀的區塊、選取脈衝相位)更新至韌體,並將更新後韌體寫入NAND(write updated firmware to NAND) (步驟S24)等等。由於上述後續的低級格式化步驟非本發明的重點,故省略說明。If both the RDT test result and the firmware storage information cannot be found in step S32, it means that the SSD may have just finished printing, and the RDT has not been performed or used. At this time, the flow proceeds to step S36, and the default values (the default values are 0) of the P/E Cycle and TBW of the SSD are written into the storage block of the storage device, and the flow ends. It must be noted that after the process shown in FIG. 3 is completed, the subsequent low-level formatting steps in FIG. 2c are performed, including checking the damaged NAND blocks (step S22 ), and calibrating the data selection pulse phase (calibrate DQS phase). (step S23), and update the relevant parameters (damaged blocks, selection pulse phase) to the firmware, and write the updated firmware to NAND (write updated firmware to NAND) (step S24) and so on. Since the above-mentioned subsequent low-level formatting steps are not the focus of the present invention, the description is omitted.

在步驟S32中,若NAND的儲存區塊中已存在所述RDT測試結果或所述韌體儲存資訊,則流程進行至步驟S33,確認所述擦寫次數紀錄及所述寫入兆位元組紀錄的有效性。此處的有效性,是指所述擦寫次數紀錄及所述寫入兆位元組紀錄是否可為系統韌體所辨識;若否,則代表系統韌體的版本過舊,需要更新成能夠支援所述擦寫次數紀錄及所述寫入兆位元組紀錄的版本。接著,流程進行至步驟S34,判斷所述擦寫次數紀錄及所述寫入兆位元組紀錄中,是否有記載所述儲存裝置的一擦寫次數(P/E Cycle)及一寫入兆位元組(TBW)。若有記載,則流程進行至步驟S35,將所記載的P/E Cycle及TBW的值寫入所述儲存裝置之所述儲存區塊;若無記載,代表SSD尚未有使用紀錄,因此流程進行至步驟S36,將所述儲存裝置的P/E Cycle及TBW的預設值(預設值為0)寫入所述儲存裝置的所述儲存區塊。通過本發明實施例所述的低級格式化方法,可以讓SSD在使用後,不論經過幾次的RDT測試或低級格式化,皆能保有其最新的P/E Cycle及TBW資訊。因此,用戶能夠得知SSD真實的壽命週期,並能夠在SSD壽命屆滿前,及早備份資料及更換儲存裝置,避免造成不可挽回的資料遺失。In step S32, if the RDT test result or the firmware storage information already exists in the storage block of the NAND, the process proceeds to step S33 to confirm the record of the number of times of erasing and writing and the written megabytes Validity of records. The validity here refers to whether the record of erasing and writing times and the record of writing megabytes can be identified by the system firmware; if not, it means that the version of the system firmware is too old and needs to be updated to be able to Versions of the erase count record and the write megabyte record are supported. Next, the process proceeds to step S34, and it is judged whether the number of erasing and writing (P/E Cycle) and one writing megabyte record of the storage device are recorded in the record of times of erasing and writing and the record of writing megabytes Bytes (TBW). If there is a record, the process proceeds to step S35, and the recorded values of P/E Cycle and TBW are written into the storage block of the storage device; if there is no record, it means that the SSD has no usage record, so the process proceeds to Go to step S36, write the default values of the P/E Cycle and TBW of the storage device (the default value is 0) into the storage block of the storage device. Through the low-level formatting method described in the embodiments of the present invention, the SSD can retain its latest P/E Cycle and TBW information after several RDT tests or low-level formatting after use. Therefore, the user can know the real life cycle of the SSD, and can back up the data and replace the storage device as soon as possible before the life of the SSD expires, so as to avoid irreversible data loss.

本發明上述圖3所執行之流程圖,主要是確保P/E Cycle及TBW資訊在低級格式化或RDT測試的過程中,不會遺失。然而,在執行圖3的流程之前,系統韌體(Whole System Firmware)及RDT韌體可分別執行其方法流程圖,才能分別產生所述韌體儲存資訊及所述RDT測試結果,詳述如下。The above-mentioned flowchart shown in FIG. 3 of the present invention mainly ensures that the P/E Cycle and TBW information will not be lost during the process of low-level formatting or RDT testing. However, before executing the process of FIG. 3 , the system firmware (Whole System Firmware) and the RDT firmware can respectively execute their method flow charts to generate the firmware storage information and the RDT test results respectively, which are described in detail below.

圖4為根據本發明實施例所述一種儲存裝置之低級格式化方法中,其系統韌體(Whole System Firmware)產生所述韌體儲存資訊的流程圖。如前所述,SSD在使用時,系統韌體會每隔一段時間將P/E Cycle、TBW等資訊寫入NAND的不同區塊作備份。因此,在執行本發明實施例所述之低級格式化之前,系統韌體首先讀取SSD的儲存區塊(步驟S41)。接著,系統韌體由所述儲存區塊取得SSD之最新時間點的所述擦寫次數(P/E Cycle)紀錄及所述寫入兆位元組(TBW)紀錄(步驟S42)。最後,系統韌體將所取得之所述擦寫次數(P/E Cycle)紀錄及所述寫入兆位元組(TBW)紀錄寫回所述多個儲存區塊中的一既定儲存區塊,以產生所述韌體儲存資訊(步驟S43)。根據圖4的方法流程,若之後需進行低級格式化時,即可在低級格式化開系統韌體(Whole System Firmware)的情況下,由系統韌體產生所述韌體儲存資訊,供後續的低級格式化流程(圖3)讀取使用。另,本發明圖4的流程圖,是修改於圖2b之現有流程上的,具體如圖5所示。亦即,所述步驟S42及S43是平行於現有的「主控制器讀取運作」、「主控制器寫入運作」及「垃圾收集運作」等步驟運作的。據此,所述系統韌體(Whole System Firmware)可以在進行所述現有步驟的同時,同步進行步驟S42及S43,以同時產生所述韌體儲存資訊,再由圖3的低級格式化程式根據所述韌體儲存資訊進行SSD的低級格式化。因此,本發明實施例產生所述韌體儲存資訊的過程,完全不影響現有步驟的執行,因此不會增加任何的成本。當然,必須要注意的是,圖3的低級格式化程式僅僅是繼承了所述的P/E Cycle、TBW資訊,圖3的流程結束之後,就是進行後續現有的格式化程式,亦即圖2c的「檢查NAND損毀的區塊」、「校準資料選取脈衝相位」及「將更新後韌體寫入NAND」等步驟,如此,才完成整個SSD的低級格式化流程。4 is a flowchart of a system firmware (Whole System Firmware) generating the firmware storage information in a low-level formatting method of a storage device according to an embodiment of the present invention. As mentioned above, when the SSD is in use, the system firmware will write P/E Cycle, TBW and other information into different blocks of the NAND at regular intervals for backup. Therefore, before executing the low-level format described in the embodiment of the present invention, the system firmware first reads the storage blocks of the SSD (step S41 ). Next, the system firmware obtains the P/E Cycle record and the Terabyte Write (TBW) record at the latest time point of the SSD from the storage block (step S42 ). Finally, the system firmware writes the obtained P/E Cycle record and the terabyte write (TBW) record back to a predetermined storage block among the plurality of storage blocks , to generate the firmware storage information (step S43 ). According to the method flow shown in FIG. 4 , if the low-level formatting is required later, the system firmware can generate the firmware storage information in the case of opening the system firmware (Whole System Firmware) in the low-level formatting for subsequent The low-level formatting process (Figure 3) is used to read. In addition, the flow chart of FIG. 4 of the present invention is modified from the existing flow of FIG. 2 b , and is specifically shown in FIG. 5 . That is, the steps S42 and S43 are operated in parallel with the existing steps of "main controller read operation", "main controller write operation" and "garbage collection operation". Accordingly, the system firmware (Whole System Firmware) can simultaneously perform steps S42 and S43 while performing the existing steps, so as to generate the firmware storage information at the same time, and then use the low-level formatter of FIG. 3 according to The firmware stores information for low-level formatting of the SSD. Therefore, the process of generating the firmware storage information in the embodiment of the present invention does not affect the execution of the existing steps at all, and therefore does not increase any cost. Of course, it must be noted that the low-level formatter in Figure 3 only inherits the P/E Cycle and TBW information. After the process in Figure 3 ends, the existing formatter will be executed, that is, Figure 2c "Check NAND damaged blocks", "Calibrate data selection pulse phase" and "Write updated firmware to NAND" and other steps. Only in this way can the entire SSD low-level format process be completed.

圖6為根據本發明實施例所述一種儲存裝置之低級格式化方法中,其RDT韌體產生所述RDT測試結果的流程圖。首先,RDT韌體讀取所述儲存裝置的所述儲存區塊(步驟S61)。接著,RDT韌體由所述儲存區塊取得所述擦寫次數(P/E Cycle)紀錄及所述寫入兆位元組(TBW)紀錄(步驟S62)。最後,RDT韌體將所取得之所述擦寫次數紀錄及所述寫入兆位元組紀錄整合成為所述RDT測試結果(步驟S63)。同樣地,本發明圖6的流程圖,是修改於圖2a之現有流程上的,具體如圖7所示。亦即,所述步驟S62及S63是平行於現有的「測試NAND品質」及「將NAND的測試品質寫入所述可靠性及壽命週期測試結果」等步驟運作的。據此,所述RDT韌體可以在進行所述現有步驟的同時,同步進行步驟S62及S63,以同時將所述P/E Cycle、TBW資訊以及NAND的測試品質一起整合至所述RDT測試結果內。若之後需進行低級格式化時,再由進行圖3的低級格式化程式根據所述RDT測試結果進行SSD的低級格式化。因此,本發明實施例整合P/E Cycle、TBW資訊的過程,完全不影響現有RDT測試結果產生的流程,因此亦不會增加任何的成本。當然,必須要注意的是,圖3的低級格式化程式僅僅是繼承了所述的P/E Cycle、TBW資訊,圖3的流程結束之後,就是進行現有的格式化程式,亦即圖2c的「檢查NAND損毀的區塊」、「校準資料選取脈衝相位」及「將更新後韌體寫入NAND」等步驟,如此,才完成整個SSD的低級格式化流程。6 is a flowchart of the RDT test result generated by the RDT firmware in a low-level format method of a storage device according to an embodiment of the present invention. First, the RDT firmware reads the storage block of the storage device (step S61). Next, the RDT firmware obtains the P/E Cycle record and the Terabyte Write (TBW) record from the storage block (step S62 ). Finally, the RDT firmware integrates the obtained record of erasing and writing times and the record of writing megabytes into the RDT test result (step S63). Likewise, the flow chart of FIG. 6 of the present invention is modified from the existing flow chart of FIG. 2 a , and is specifically shown in FIG. 7 . That is, the steps S62 and S63 operate in parallel with the existing steps of "testing the NAND quality" and "writing the test quality of the NAND into the reliability and life cycle test results". Accordingly, the RDT firmware can simultaneously perform steps S62 and S63 while performing the existing steps, so as to simultaneously integrate the P/E Cycle, TBW information and NAND test quality into the RDT test result Inside. If low-level formatting is required later, the low-level formatting program of FIG. 3 is used to perform low-level formatting of the SSD according to the RDT test result. Therefore, the process of integrating the P/E Cycle and TBW information in the embodiment of the present invention does not affect the process of generating the existing RDT test results at all, and therefore does not increase any cost. Of course, it must be noted that the low-level formatter in Figure 3 only inherits the P/E Cycle and TBW information. After the process in Figure 3 ends, the existing formatter is executed, that is, the format in Figure 2c. Steps such as "checking damaged blocks in NAND", "calibrating data selection pulse phase" and "writing updated firmware to NAND" are the steps to complete the low-level formatting process of the entire SSD.

綜上所述,本發明所述實施例的低級格式化方法,僅僅是在現有的圖2b系統韌體流程中增加了某些步驟(S42及S43),便能同步於現有步驟產生所述韌體儲存資訊,然後所述低級格式化韌體再進一步根據所述韌體儲存資訊進行低級格式化,如此便能以完全不增加成本的方式,實現低級格式化期間的重要資訊參數的繼承。同樣地,本發明所述低級格式化方法亦僅僅是在現有的圖2a之RDT韌體流程中增加了某些步驟(S62及S63),便能同步於現有步驟產生所述RDT測試結果,然後所述低級格式化韌體再進一步根據所述RDT測試結果進行低級格式化,如此便能以完全不增加成本的方式,實現低級格式化期間的重要資訊參數的繼承。To sum up, the low-level formatting method according to the embodiment of the present invention only adds some steps (S42 and S43) to the existing firmware flow of the system shown in FIG. 2b, so that the firmware can be generated in synchronization with the existing steps. Then, the low-level format firmware further performs low-level format according to the firmware storage information, so that the inheritance of important information parameters during the low-level format can be realized in a manner that does not increase the cost at all. Similarly, the low-level formatting method of the present invention only adds some steps (S62 and S63) to the existing RDT firmware flow in FIG. 2a, so that the RDT test results can be generated in synchronization with the existing steps, and then The low-level formatting firmware further performs low-level formatting according to the RDT test result, so that the inheritance of important information parameters during the low-level formatting can be realized in a manner that does not increase the cost at all.

據此,本發明所述實施例的低級格式化方法確實能夠在SSD的整個週期的壽命過程中,忠實地反映其P/E Cycle、TBW等資訊,除了避免使用者因誤判SSD的使用壽命而導致不可挽回的資料遺失外,亦能適用於使用者退貨(RMA)的磁片,以便在維修退貨磁片的時候,能夠查詢SSD真正的使用情況,作為提供產品保固的依據。Accordingly, the low-level formatting method according to the embodiment of the present invention can faithfully reflect information such as P/E Cycle, TBW, etc. of the SSD during the entire life cycle of the SSD. In addition to causing irreparable data loss, it can also be applied to the magnetic disc returned by the user (RMA), so that when the returned magnetic disc is repaired, the real usage of the SSD can be inquired as a basis for providing product warranty.

本發明所述的方法中的全部或部分步驟可以計算機程式實現,例如電腦的作業系統、電腦中特定硬體的驅動程式、或軟體程式。此外,也可實現在如上所示的其他類型程式。所屬技術領域具有通常知識者可將本發明實施例的方法撰寫成計算機程式,為求簡明不再加以描述。依據本發明實施例方法實施的計算機程式可儲存在適當的電腦可讀取介質,例如DVD、CD-ROM、USB、硬碟,亦可置於可通過網路(例如,互聯網,或其他適當載體)存取的網路服務器。All or part of the steps in the method of the present invention can be implemented by a computer program, such as an operating system of a computer, a driver program of specific hardware in the computer, or a software program. In addition, other types of programs as shown above can also be implemented. Those skilled in the art can write the method of the embodiment of the present invention into a computer program, which will not be described for the sake of brevity. The computer program implemented by the method according to the embodiment of the present invention can be stored in a suitable computer-readable medium, such as DVD, CD-ROM, USB, hard disk, or can be stored in a network (for example, the Internet, or other suitable carrier) ) to access the web server.

雖然在本申請的圖式中包含了以上描述的組件,但不排除在不違反發明的精神下,使用更多其他的附加元件,已達成更佳的技術效果。此外,雖然本申請的流程圖採用指定的順序來執行,但是在不違反發明精神的情況下,所屬技術領域的技術人員可以在達到相同效果的前提下,修改這些步驟間的順序,所以,本發明並不侷限於僅使用如上所述的順序。此外,所屬技術領域的技術人員也可以將若干步驟整合為一個步驟,或者是除了這些步驟外,循序或平行地執行更多步驟,本發明也不因此而侷限。Although the above-described components are included in the drawings of the present application, it is not excluded that more other additional components can be used to achieve better technical effects without departing from the spirit of the invention. In addition, although the flowcharts of the present application are executed in the specified order, those skilled in the art can modify the order of these steps on the premise of achieving the same effect without violating the spirit of the invention. Therefore, this The invention is not limited to using only the sequence described above. In addition, those skilled in the art can also integrate several steps into one step, or in addition to these steps, perform more steps sequentially or in parallel, and the present invention is not limited thereby.

雖然本發明使用以上實施例進行說明,但需要注意的是,這些描述並非用於限縮本發明。相反地,此發明涵蓋了所屬技術領域中的技術人員顯而易見的修改與相似設置。所以,申請專利範圍須以最寬廣的方式解釋來包含所有顯而易見的修改與相似設置。Although the present invention is described using the above embodiments, it should be noted that these descriptions are not intended to limit the present invention. On the contrary, this invention covers modifications and similar arrangements obvious to those skilled in the art. Therefore, the scope of the patent application is to be construed in the broadest possible manner to encompass all obvious modifications and similar arrangements.

S21~S24:步驟 S31~S36:步驟 S41~S43:步驟 S61~S63:步驟S21~S24: Steps S31~S36: Steps S41~S43: Steps S61~S63: Steps

此處所說明的附圖用來提供對本申請的進一步理解,構成本申請的一部分,本申請的示意性實施例及其說明用於解釋本申請,並不構成對本申請的不當限定。 圖1a為現有之SSD之系統韌體讀取設定檔的示意圖。 圖1b為現有之SSD之低級格式化開RDT韌體的示意圖。 圖1c為現有之SSD之低級格式化開系統韌體的示意圖。 圖2a為現有之SSD之低級格式化開RDT韌體的運作流程圖。 圖2b為現有之SSD之低級格式化開系統韌體的運作流程圖。 圖2c為現有之SSD之低級格式化的運作流程圖。 圖3為根據本發明實施例所述一種儲存裝置之低級格式化方法的流程圖。 圖4為根據本發明實施例所述一種儲存裝置之低級格式化方法中,其系統韌體產生所述韌體儲存資訊的流程圖。 圖5為根據本發明實施例所述一種儲存裝置之低級格式化方法中,其系統韌體之流程與現有流程之組合圖。 圖6為根據本發明實施例所述一種儲存裝置之低級格式化方法中,其RDT韌體產生所述RDT測試結果的流程圖。 圖7為根據本發明實施例所述一種儲存裝置之低級格式化方法中,其RDT韌體之流程與現有流程之組合圖。The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. FIG. 1a is a schematic diagram of a conventional SSD system firmware reading a configuration file. FIG. 1b is a schematic diagram of a low-level format and RDT firmware of a conventional SSD. FIG. 1c is a schematic diagram of a conventional low-level format system firmware of an SSD. FIG. 2a is a flow chart of the operation of the conventional low-level format and RDT firmware of the SSD. FIG. 2b is a flow chart of the operation of the existing low-level format of the SSD to open the system firmware. FIG. 2c is a flow chart of the operation of the low-level format of the conventional SSD. FIG. 3 is a flowchart of a low-level formatting method of a storage device according to an embodiment of the present invention. 4 is a flowchart of the system firmware generating the firmware storage information in a low-level formatting method of a storage device according to an embodiment of the present invention. FIG. 5 is a combination diagram of a system firmware process and an existing process in a low-level format method of a storage device according to an embodiment of the present invention. 6 is a flowchart of the RDT test result generated by the RDT firmware in a low-level format method of a storage device according to an embodiment of the present invention. FIG. 7 is a combination diagram of the process of the RDT firmware and the existing process in a low-level format method of a storage device according to an embodiment of the present invention.

S31~S36:步驟S31~S36: Steps

Claims (10)

一種儲存裝置之低級格式化方法,所述儲存裝置具有多個儲存區塊,包括: 搜尋所述儲存裝置的所述多個儲存區塊中,是否已存在一可靠性及壽命週期測試結果或一韌體儲存資訊,其中,所述可靠性及壽命週期測試結果及所述韌體儲存資訊皆包含所述儲存裝置的一擦寫次數紀錄及一寫入兆位元組紀錄; 若所述儲存裝置的所述多個儲存區塊中存在有所述可靠性及壽命週期測試結果或所述韌體儲存資訊,則判斷所述擦寫次數紀錄及所述寫入兆位元組紀錄中,是否有記載所述儲存裝置的一擦寫次數及一寫入兆位元組; 若所述儲存裝置的所述多個儲存區塊中不存在所述可靠性及壽命週期測試結果及所述韌體儲存資訊,則將所述儲存裝置的所述擦寫次數及所述寫入兆位元組的預設值寫入所述儲存裝置的所述儲存區塊; 若所述擦寫次數紀錄及所述寫入兆位元組紀錄中有記載所述儲存裝置的所述擦寫次數及所述寫入兆位元組,則將所記載的擦寫次數及寫入兆位元組的值寫入所述儲存裝置之所述儲存區塊;以及 若所述擦寫次數紀錄及所述寫入兆位元組紀錄中未記載所述儲存裝置的所述擦寫次數及所述寫入兆位元組,則將所述儲存裝置的所述擦寫次數及所述寫入兆位元組的預設值寫入所述儲存裝置的所述儲存區塊。A low-level formatting method for a storage device, the storage device has a plurality of storage blocks, comprising: Searching whether there is a reliability and life cycle test result or a firmware storage information in the plurality of storage blocks of the storage device, wherein the reliability and life cycle test result and the firmware storage The information includes a record of the number of times of erasing and writing and a record of writing megabytes of the storage device; If the reliability and life cycle test results or the firmware storage information exist in the plurality of storage blocks of the storage device, determine the record of the number of times of erasing and writing and the written megabyte group In the record, whether there is a record of a number of times of erasing and writing and a written megabyte of the storage device; If the reliability and life cycle test results and the firmware storage information do not exist in the plurality of storage blocks of the storage device, the number of times of erasing and writing and the writing of the storage device are writing a default value of megabytes to the storage block of the storage device; If the number of times of erasing and writing and the record of writing megabytes are recorded in the number of times of erasing and writing and the record of writing megabytes, the recorded number of times of erasing and writing and writing writing megabytes of values into the storage block of the storage device; and If the erasing times and the writing megabytes of the storage device are not recorded in the erasing times record and the writing megabyte record, the erasing times and the writing megabytes of the storage device are not recorded. The number of writes and the default values of the write megabytes are written into the storage block of the storage device. 如請求項1所述的儲存裝置之低級格式化方法,另包含:確認所述擦寫次數紀錄及所述寫入兆位元組紀錄的有效性。The low-level formatting method for a storage device according to claim 1, further comprising: confirming the validity of the record of times of erasing and writing and the record of writing megabytes. 如請求項1所述的儲存裝置之低級格式化方法,另包括: 讀取所述儲存裝置的所述儲存區塊; 由所述儲存裝置的所述儲存區塊取得所述擦寫次數紀錄及所述寫入兆位元組紀錄;以及 將所取得之所述擦寫次數紀錄及所述寫入兆位元組紀錄整合成為所述可靠性及壽命週期測試結果。The low-level formatting method for a storage device as claimed in claim 1, further comprising: reading the storage block of the storage device; obtaining the record of the number of times of erasing and writing and the record of writing megabytes from the storage block of the storage device; and The obtained records of erasing and writing times and the records of writing megabytes are integrated into the reliability and life cycle test results. 如請求項1所述的儲存裝置之低級格式化方法,其中,在所述儲存裝置的所述多個儲存區塊中,儲存著所述儲存裝置於不同時間點的所述擦寫次數紀錄及所述寫入兆位元組紀錄,所述方法另包括: 讀取所述儲存裝置的所述儲存區塊; 取得所述儲存裝置之最新時間點的所述擦寫次數紀錄及所述寫入兆位元組紀錄;以及 將所取得之所述擦寫次數紀錄及所述寫入兆位元組紀錄寫回所述儲存裝置的所述多個儲存區塊中的一既定儲存區塊,以產生所述韌體儲存資訊。The low-level formatting method for a storage device according to claim 1, wherein the plurality of storage blocks of the storage device store the records of the number of times of erasing and writing of the storage device at different time points and The described writing megabyte record, the method further includes: reading the storage block of the storage device; obtaining the record of the number of times of erasing and writing and the record of writing megabytes at the latest time point of the storage device; and writing the obtained record of erasing and writing times and the record of writing megabytes back to a predetermined storage block in the plurality of storage blocks of the storage device to generate the firmware storage information . 如請求項1所述的儲存裝置之低級格式化方法,其中,所述儲存裝置為快閃記憶體儲存裝置。The low-level formatting method of a storage device according to claim 1, wherein the storage device is a flash memory storage device. 如請求項3所述的儲存裝置之低級格式化方法,其中,在所述擦寫次數紀錄及所述寫入兆位元組紀錄的取得及寫入的過程中,所述的儲存裝置之低級格式化方法另包含: 測試所述儲存裝置之所述多個儲存區塊;以及 將所述多個儲存區塊的測試結果寫入所述可靠性及壽命週期測試結果內。The low-level formatting method of a storage device according to claim 3, wherein in the process of obtaining and writing the erasing and writing times record and the writing megabyte record, the low-level formatting of the storage device Formatting methods also include: testing the plurality of storage blocks of the storage device; and Writing the test results of the plurality of storage blocks into the reliability and life cycle test results. 如請求項6所述的儲存裝置之低級格式化方法,其中,所述多個儲存區塊的測試結果、所述擦寫次數紀錄及所述寫入兆位元組紀錄將整合成為所述可靠性及壽命週期測試結果。The low-level formatting method of a storage device according to claim 6, wherein the test results of the plurality of storage blocks, the record of the number of times of erasing and writing, and the record of writing megabytes are integrated into the reliable performance and life cycle test results. 一種儲存裝置,所述儲存裝置包括一處理器以及多個儲存區塊,所述處理器執行一低級格式化方法,所述低級格式化方法包括: 搜尋所述儲存裝置的所述多個儲存區塊中,是否已存在一可靠性及壽命週期測試結果或一韌體儲存資訊,其中,所述可靠性及壽命週期測試結果及所述韌體儲存資訊皆包含所述儲存裝置的一擦寫次數紀錄及一寫入兆位元組紀錄; 若所述儲存裝置的所述多個儲存區塊中存在有所述可靠性及壽命週期測試結果或所述韌體儲存資訊,則判斷所述擦寫次數紀錄及所述寫入兆位元組紀錄中,是否有記載所述儲存裝置的一擦寫次數及一寫入兆位元組; 若所述儲存裝置的所述多個儲存區塊中不存在所述可靠性及壽命週期測試結果及所述韌體儲存資訊,則將所述儲存裝置的所述擦寫次數及所述寫入兆位元組的預設值寫入所述儲存裝置的所述儲存區塊; 若所述擦寫次數紀錄及所述寫入兆位元組紀錄中有記載所述儲存裝置的所述擦寫次數及所述寫入兆位元組,則將所記載的擦寫次數及寫入兆位元組的值寫入所述儲存裝置之所述儲存區塊;以及 若所述擦寫次數紀錄及所述寫入兆位元組紀錄中未記載所述儲存裝置的所述擦寫次數及所述寫入兆位元組,則將所述儲存裝置的所述擦寫次數及所述寫入兆位元組的預設值寫入所述儲存裝置的所述儲存區塊。A storage device, the storage device includes a processor and a plurality of storage blocks, the processor executes a low-level formatting method, and the low-level formatting method includes: Searching whether there is a reliability and life cycle test result or a firmware storage information in the plurality of storage blocks of the storage device, wherein the reliability and life cycle test result and the firmware storage The information includes a record of the number of times of erasing and writing and a record of writing megabytes of the storage device; If the reliability and life cycle test results or the firmware storage information exist in the plurality of storage blocks of the storage device, determine the record of the number of times of erasing and writing and the written megabyte group In the record, whether there is a record of a number of times of erasing and writing and a written megabyte of the storage device; If the reliability and life cycle test results and the firmware storage information do not exist in the plurality of storage blocks of the storage device, the number of times of erasing and writing and the writing of the storage device are writing a default value of megabytes to the storage block of the storage device; If the number of times of erasing and writing and the record of writing megabytes are recorded in the number of times of erasing and writing and the record of writing megabytes, the recorded number of times of erasing and writing and writing writing megabytes of values into the storage block of the storage device; and If the erasing times and the writing megabytes of the storage device are not recorded in the erasing times record and the writing megabyte record, the erasing times and the writing megabytes of the storage device are not recorded. The number of writes and the default values of the write megabytes are written into the storage block of the storage device. 如請求項8所述的儲存裝置,其中,所述低級格式化方法另包含:確認所述擦寫次數紀錄及所述寫入兆位元組紀錄的有效性。The storage device of claim 8, wherein the low-level formatting method further comprises: confirming the validity of the record of times of erasing and writing and the record of writing megabytes. 如請求項8所述的儲存裝置,其中,所述多個儲存區塊的測試結果、所述擦寫次數紀錄及所述寫入兆位元組紀錄將整合成為所述可靠性及壽命週期測試結果。The storage device of claim 8, wherein the test results of the plurality of storage blocks, the record of the number of times of erasing and writing, and the record of writing megabytes are integrated into the reliability and life cycle test result.
TW109122162A 2020-06-30 2020-06-30 Low-level formatting method of storage device TWI747349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109122162A TWI747349B (en) 2020-06-30 2020-06-30 Low-level formatting method of storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109122162A TWI747349B (en) 2020-06-30 2020-06-30 Low-level formatting method of storage device

Publications (2)

Publication Number Publication Date
TWI747349B TWI747349B (en) 2021-11-21
TW202203029A true TW202203029A (en) 2022-01-16

Family

ID=79907732

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109122162A TWI747349B (en) 2020-06-30 2020-06-30 Low-level formatting method of storage device

Country Status (1)

Country Link
TW (1) TWI747349B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060134011A (en) * 2003-12-30 2006-12-27 쌘디스크 코포레이션 Non-volatile memory and method with memory planes alignment
US7139864B2 (en) * 2003-12-30 2006-11-21 Sandisk Corporation Non-volatile memory and method with block management system
US8296398B2 (en) * 2008-04-29 2012-10-23 Overland Storage, Inc. Peer-to-peer redundant file server system and methods
US9389952B2 (en) * 2008-06-18 2016-07-12 Super Talent Technology, Corp. Green NAND SSD application and driver

Also Published As

Publication number Publication date
TWI747349B (en) 2021-11-21

Similar Documents

Publication Publication Date Title
TWI410976B (en) Reliability test method for solid storage medium
CN111696598B (en) Storage device and low-level formatting method thereof
KR100243314B1 (en) Error log method using defect list
JP4416914B2 (en) Method for providing control information to a drive via a data storage medium
TWI248604B (en) Method and apparatus for managing disc defects
JP4215746B2 (en) Information processing apparatus and life monitoring method
WO2005109432A1 (en) Information recording device
US20140317443A1 (en) Method and apparatus for testing a storage system
RU2346341C2 (en) Non-rewritable optical disk as well as method and device enabling control of defect zones of non-rewritable optical disk
TWI747349B (en) Low-level formatting method of storage device
TWI260593B (en) Method of verifying defect management area information of optical disc upon initialization with certification and test apparatus for performing the same
TW556165B (en) Method of verifying defect management area information of disc and test apparatus for performing the same
JP4150861B2 (en) Information recording medium, defect management method, information recording / reproducing apparatus, and information reproducing apparatus
US9262264B2 (en) Error correction code seeding
CN107885640B (en) Hard disk management method and device
CN111949198A (en) Bad block management method and device and storage equipment
US6782493B2 (en) Method of verifying defect management area information of optical disc upon initialization without certification and test apparatus for performing the same
JP2001076422A (en) Judgment and test method for replacement processing time of storage device
KR100510520B1 (en) Method for recording data
US11334447B2 (en) Integrated circuit facilitating subsequent failure analysis and methods useful in conjunction therewith
JPS6139987A (en) Maintenance recording media
TWI788252B (en) Bad block table inheritance method and storage device thereof
CN115373607A (en) Data storage method and device
CN115691643A (en) NAND flash memory block screening method, device, equipment and storage medium
TWI389108B (en) Method for testing a recorder and a rw disk