TWI488037B - Detection device and method of solid-state disk - Google Patents

Detection device and method of solid-state disk Download PDF

Info

Publication number
TWI488037B
TWI488037B TW101148239A TW101148239A TWI488037B TW I488037 B TWI488037 B TW I488037B TW 101148239 A TW101148239 A TW 101148239A TW 101148239 A TW101148239 A TW 101148239A TW I488037 B TWI488037 B TW I488037B
Authority
TW
Taiwan
Prior art keywords
temporary storage
storage device
hard disk
solid state
warning message
Prior art date
Application number
TW101148239A
Other languages
Chinese (zh)
Other versions
TW201426285A (en
Inventor
Chih Chieh Yin
Ching Piao Kuan
Che Wei Lin
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to TW101148239A priority Critical patent/TWI488037B/en
Publication of TW201426285A publication Critical patent/TW201426285A/en
Application granted granted Critical
Publication of TWI488037B publication Critical patent/TWI488037B/en

Links

Description

固態硬碟偵錯裝置以及方法Solid state hard disk debugging device and method

本發明係有關於硬碟在系統發生不正常關機事件時之偵錯裝置以及方法,特別係有關於固態硬碟在系統發生不正常關機事件時之偵錯裝置以及方法。The invention relates to a debugging device and a method for a hard disk in the event of an abnormal shutdown of the system, in particular to a debugging device and a method for a solid state hard disk in the event of an abnormal shutdown of the system.

目前市面上所販售的筆記型電腦,裡面所搭配的儲存裝置,已經由傳統馬達式的硬碟逐漸改為使用固態硬碟(solid-state disk,SSD),除了可以減輕筆記型電腦的重量同時也可以達到更省電的效果。但是由於固態硬碟並不像傳統硬碟有讀寫頭可以直接讀取資料,而是必須透過對應(mapping)的方式將邏輯區塊定址(Logical Block Addressing,LBA)的資料存到固態硬碟內部的記憶體內,一旦遇到系統發生不正常關機事件的時候,有可能會造成系統資料因為來不及將記憶體內的邏輯區塊定址之資料存回快閃記憶體,造成下次開機的時候因為固態硬碟必須在開機之前重建邏輯區塊定址之資料而需要較久的等待時間。At present, the notebooks sold on the market, the storage devices used in them have gradually changed from the traditional motor-type hard disk to the solid-state disk (SSD), in addition to reducing the weight of the notebook. At the same time, it can also achieve more power saving effect. However, since the solid state hard disk does not have the read/write head of the conventional hard disk, the data can be directly read, but the logical block address (LBA) data must be stored in the solid state hard disk by means of mapping. In the internal memory, once an abnormal shutdown event occurs in the system, it may cause the system data to be stored in the flash memory because it is too late to store the logical block address in the memory, resulting in the solid state when the next boot. The hard disk must rebuild the logical block addressing data before booting and requires a longer wait time.

有鑑於此,在此提出一種偵錯裝置,包括:一固態硬碟,包括一第一暫存器,用以儲存上述固態硬碟之一不正常關機次數;一多媒體裝置,用以輸出一警告訊息;以及一處理裝置,包括一第二暫存器以及一第三暫存器,其中上述處理裝置於一不正常關機事件中更新上述固態硬碟之 上述不正常關機次數,於一第一開機程序中將上述不正常關機次數存入上述第二暫存器以及上述第三暫存器之一者,並比較上述第二暫存器以及上述第三暫存器所儲存之內容,當上述第二暫存器以及上述第三暫存器所儲存之內容不相同時,上述處理裝置控制上述多媒體裝置輸出上述警告訊息。In view of the above, a debugging apparatus is provided, comprising: a solid state hard disk, comprising a first temporary storage device for storing an abnormal shutdown frequency of one of the solid state hard disks; and a multimedia device for outputting a warning And a processing device comprising a second temporary memory and a third temporary memory, wherein the processing device updates the solid state hard disk in an abnormal shutdown event The number of abnormal shutdowns is stored in the first booting program in the first booting program, and the one of the second temporary register and the third temporary register is compared, and the second temporary register and the third The processing device controls the multimedia device to output the warning message when the contents stored in the temporary storage device and the third temporary storage device are different.

本發明一實施例更提出一種偵錯方法,適用於一固態硬碟,上述固態硬碟包括一第一暫存器,包括:執行一關機程序;當上述關機程序發生一不正常關機事件時,更新上述第一暫存器所儲存之一不正常關機次數;於一第一開機程序中讀取上述第一暫存器所儲存之上述不正常關機次數,並將上述不正常關機次數存入一第二暫存器以及一第三暫存器之一者;以及在上述第一開機程序中,比較上述第二暫存器以及上述第三暫存器所儲存之內容,當上述第二暫存器以及上述第三暫存器所儲存之內容不相同時,使用一多媒體裝置輸出一警告訊息。An embodiment of the present invention further provides an error detection method, which is applicable to a solid state hard disk. The solid state hard disk includes a first temporary storage device, including: performing a shutdown process; when an abnormal shutdown event occurs in the shutdown process, Updating an abnormal shutdown number stored in the first temporary storage device; reading the abnormal shutdown number stored in the first temporary storage device in a first booting process, and storing the abnormal shutdown number in the first temporary booting program Comparing the second temporary register and one of the third temporary storage devices; and comparing the contents stored by the second temporary storage device and the third temporary storage device in the first booting process, when the second temporary storage When the content stored in the third temporary storage device is different, a multimedia device is used to output a warning message.

為使本發明之上述目的、特徵和優點能更明顯易懂,下文特例舉一較佳實施例,並配合所附圖式,來作詳細說明如下:以下將介紹係根據本發明所述之較佳實施例。必須要說明的是,本發明提供了許多可應用之發明概念,在此所揭露之特定實施例,僅是用於說明達成與運用本發明之特定方式,而不可用以侷限本發明之範圍。The above described objects, features, and advantages of the present invention will become more apparent from the description of the appended claims appended claims A good example. It is to be understood that the invention is not limited to the scope of the invention.

第1圖係顯示根據本發明之一實施例所述之具有儲存控制功能之電腦系統功能方塊示意圖。在第1圖中我們可以清楚的看出,該電腦系統1主要以一中央處理單元(Central Processing Unit,CPU)10作為系統主幹,中央處理單元10信號連接於由一北橋晶片(North Bridge Chip)111與一南橋晶片(South Bridge Chip)112所組成之橋接晶片組(Chipset)11,其中北橋晶片111以一前置(Front Side Bus,FSB)匯流排1001與中央處理單元10相互連繫;以一記憶體匯流排1002與一主記憶體(Main Memory)12相互連繫以及以一圖形加速埠(Accelerated Graphics Port,AGP)匯流排1003與一圖形加速埠介面13溝通,而南橋晶片(South Bridge Chip)112以一週邊組件連結(Peripheral Component Interconnect,PCI)匯流排1004與一週邊組件連結介面14相互連結,另外與南橋晶片112連結的還有一通用串列匯流排(Universal Serial Bus,以下簡稱USB)介面15以及一整合開發環境(Integrated Drive Electronics,IDE)介面16,其中該整合開發環境介面16上連接有一儲存裝置17。1 is a block diagram showing the function of a computer system having a storage control function according to an embodiment of the present invention. As can be clearly seen in Fig. 1, the computer system 1 mainly uses a central processing unit (CPU) 10 as a system backbone, and the central processing unit 10 is signal-connected to a North Bridge Chip. a bridge chipset 11 formed by a south bridge chip 111, wherein the north bridge wafer 111 is connected to the central processing unit 10 by a front side bus (FSB) bus bar 1001; A memory bus 1002 is interconnected with a main memory 12 and communicates with a graphics acceleration interface 13 via an Accelerated Graphics Port (AGP) bus 1003, and the South Bridge chip (South Bridge) The Chip) 112 is connected to a peripheral component connection interface 14 by a Peripheral Component Interconnect (PCI) bus bar 1004, and a Universal Serial Bus (USB) is also connected to the South Bridge chip 112. The interface 15 and an integrated development network (IDE) interface 16 in which a storage device 17 is connected to the integrated development environment interface 16.

第2圖係顯示根據本發明之一實施例所述之偵錯裝置之方塊圖。根據本發明之一實施例所述之偵錯裝置200包括固態硬碟201、多媒體裝置202以及處理裝置203,其中固態硬碟201可對應至第1圖中之儲存裝置17,處理裝置203可包括第1圖中之中央處理單元10、北橋晶片111、一南橋晶片112以及主記憶體12。Figure 2 is a block diagram showing a debug device according to an embodiment of the present invention. The debug device 200 according to an embodiment of the present invention includes a solid state hard disk 201, a multimedia device 202, and a processing device 203, wherein the solid state hard disk 201 can correspond to the storage device 17 in FIG. 1, and the processing device 203 can include The central processing unit 10, the north bridge wafer 111, the south bridge wafer 112, and the main memory 12 in FIG.

固態硬碟201包括第一暫存器204,用以儲存固態硬碟201之不正常關機次數。根據本發明一實施例,偵錯裝 置200之多媒體裝置202用以輸出警告訊息,而偵錯裝置200之處理裝置203,包括第二暫存器205以及第三暫存器206。根據本發明之一實施例,處理裝置203除了包括第1圖中之中央處理單元10、北橋晶片111、一南橋晶片112以及主記憶體12外,更可為一嵌入式控制器。當發生不正常關機事件時,處理裝置203更新儲存於第一暫存器204之不正常關機次數(例如將不正常關機次數加一)。根據本發明之實施例,發生不正常關機事件的情況包括電源瞬間終止、使用者誤觸關機按鈕、使用者強制關機、當機,或其他因為無法完整完成關機程序而造成儲存於記憶體中之資料無法存回磁碟機或固態硬碟之所有情況。The solid state hard disk 201 includes a first temporary memory 204 for storing the number of abnormal shutdowns of the solid state hard disk 201. According to an embodiment of the invention, the debug installation The multimedia device 202 of the 200 is configured to output a warning message, and the processing device 203 of the debug device 200 includes a second temporary register 205 and a third temporary register 206. According to an embodiment of the present invention, the processing device 203 may be an embedded controller in addition to the central processing unit 10, the north bridge wafer 111, the south bridge wafer 112, and the main memory 12 in FIG. When an abnormal shutdown event occurs, the processing device 203 updates the number of abnormal shutdowns stored in the first register 204 (eg, increments the number of abnormal shutdowns by one). According to the embodiment of the present invention, the abnormal shutdown event includes an instantaneous power termination, a user accidentally touching the shutdown button, a user forced shutdown, a crash, or other storage in the memory due to failure to complete the shutdown process. Data cannot be saved back to all drives or solid state drives.

接下來,當系統再次開機進入BIOS時,處理裝置203會透過匯流排去讀取儲存於固態硬碟201之第一暫存器204的不正常關機次數,然後將儲存於第一暫存器204之不正常關機次數之數值儲存於第二暫存器205以及第三暫存器206之一者裡面,其中第二暫存器205以及第三暫存器206皆具有一初始值。舉例來說,根據本發明之一實施例,第一次開機時,處理裝置203將不正常關機次數儲存於第二暫存器205裡面,第二次開機時,則儲存於第三暫存器206裡面,第三次開機時,則又儲存於第二暫存器205裡面,週而復始。根據本發明之一實施例,處理裝置203讀取儲存於固態硬碟201之第一暫存器204的不正常關機次數所透過之匯流排可為一整合開發環境(Integrated Drive Electronics,IDE)匯流排、一序列先進技術附加(Serial Advanced Technology Attachment,SATA)匯流排,或是其他 新開發技術之匯流排。Next, when the system is booted into the BIOS again, the processing device 203 reads the number of abnormal shutdowns stored in the first register 204 of the solid state hard disk 201 through the bus bar, and then stores the number of abnormal shutdowns in the first register 204. The value of the number of abnormal shutdowns is stored in one of the second temporary register 205 and the third temporary register 206, wherein the second temporary register 205 and the third temporary register 206 each have an initial value. For example, according to an embodiment of the present invention, the processing device 203 stores the number of abnormal shutdowns in the second temporary storage device 205 when the first power is turned on, and stores the third temporary storage device in the second startup. In the 206, when it is turned on for the third time, it is stored in the second temporary register 205 again and again. According to an embodiment of the present invention, the processing device 203 reads the busbar through which the number of abnormal shutdowns stored in the first register 204 of the solid state hard disk 201 is transmitted, which may be an integrated development environment (IDE) convergence. Row, a sequence of Advanced Technology Attachment (SATA) bus, or other The bus of new development technology.

當電腦的電源開啟時,基本輸出輸入系統(Basic Input/Output System,以下簡稱BIOS)就會由主機板上的快閃記憶體(flash memory)執行,並將晶片組和記憶體子系統初始化。當開機進入BIOS狀態後,處理裝置203將儲存於第一暫存器204之不正常關機次數儲存至第二暫存器205以及第三暫存器206之一者。接著,處理裝置203會開始比對儲存於第二暫存器205以及第三暫存器206之值,若是發現不一致則代表上一次的關機發生不正常關機事件。此時,處理裝置103通知多媒體裝置202輸出一警告訊息。When the power of the computer is turned on, the Basic Input/Output System (BIOS) is executed by the flash memory on the motherboard, and the chipset and the memory subsystem are initialized. After booting into the BIOS state, the processing device 203 stores the number of abnormal shutdowns stored in the first register 204 to one of the second register 205 and the third register 206. Next, the processing device 203 starts to compare the values stored in the second register 205 and the third register 206. If the difference is found, the abnormal shutdown event occurs on the previous shutdown. At this time, the processing device 103 notifies the multimedia device 202 to output a warning message.

根據本發明之一實施例,處理裝置203將儲存於第一暫存器204之不正常關機次數儲存至第二暫存器205以及第三暫存器206之一者係於進入作業系統前之BIOS下執行,亦即在使用者開始操作以前,偵測最近一次關機是否發生不正常關機事件。若確認為發生不正常關機事件時,則通知使用者開機時間必須延長,以便將邏輯區塊定址(Logical Block Addressing,LBA)資料重建。According to an embodiment of the present invention, the processing device 203 stores the number of abnormal shutdowns stored in the first temporary memory 204 to one of the second temporary storage unit 205 and the third temporary storage unit 206 before entering the operating system. Execution under the BIOS, that is, before the user starts the operation, it is detected whether an abnormal shutdown event has occurred in the last shutdown. If it is confirmed that an abnormal shutdown event occurs, the user is notified that the boot time must be extended to reconstruct the Logical Block Addressing (LBA) data.

根據本發明之一實施例,多媒體裝置202可為顯示警告訊息之一顯示器。第3圖係顯示根據本發明之一實施例所述之警告訊息顯示於顯示器。顯示器302顯示「由於系統發生不正常關機事件,固態硬碟需要重建邏輯區塊定址之資料。當邏輯區塊定址完成時,系統將會自動啟動。目前完成率為XX%。」之警告訊息301,通知使用者目前因為最近一次關機發生不正常關機事件造成邏輯區塊定址的 資料必須重建,開機速度因此拖慢。此外,為了便利使用者估算所需時間,警告訊息301中可包括顯示修復之進度。According to an embodiment of the invention, the multimedia device 202 can be a display that displays one of the warning messages. Figure 3 is a diagram showing a warning message displayed on a display in accordance with an embodiment of the present invention. The display 302 displays "The solid state hard disk needs to reconstruct the logical block addressing data due to the abnormal shutdown event of the system. When the logical block address is completed, the system will automatically start. The current completion rate is XX%." Warning message 301 , notifying the user that the logical block is currently addressed due to an abnormal shutdown event due to a recent shutdown. The data must be rebuilt and the boot speed is slowed down. In addition, in order to facilitate the user to estimate the required time, the warning message 301 may include displaying the progress of the repair.

此外,根據本發明之另一實施例,警告訊息也可以是經由一揚聲器播放特定音效以告知使用者,或以特定方式表示警告訊息之一燈號,其中燈號以閃爍、恆亮、顯示不同顏色或其他各種方式,告知使用者因發生不正常關機事件而拖慢開機速度。再者,上述之揚聲器播放之特定音效以及燈號閃爍之特定方式或特定顏色,可以於使用手冊中告知使用者播放何種音效、以何種方式或何種顏色顯示燈號代表因最近一次關機的不正常而導致開機速度的緩慢。In addition, according to another embodiment of the present invention, the warning message may also be a specific sound effect transmitted through a speaker to inform the user, or a specific way to indicate a warning signal, wherein the light is blinking, constant light, and different display. Color or other various ways to inform the user to slow down the boot speed due to an abnormal shutdown event. Furthermore, the specific sound effect of the above-mentioned speaker playback and the specific mode or specific color of the flashing of the light can be notified to the user in the manual, what kind of sound effect, in what manner or in which color the light signal represents the last shutdown. The abnormality caused the boot speed to be slow.

根據本發明之一實施例,多媒體裝置202為顯示警告訊息之一顯示器,而該顯示器對應至第1圖之圖形加速埠介面13;根據本發明之另一實施例,多媒體裝置202為播放特定音效以告知使用者之一揚聲器,而該顯示器對應至第1圖之周邊組件連接介面14。According to an embodiment of the present invention, the multimedia device 202 is a display for displaying a warning message, and the display corresponds to the graphic acceleration interface 13 of FIG. 1; according to another embodiment of the present invention, the multimedia device 202 is for playing a specific sound effect. To inform the user of one of the speakers, and the display corresponds to the peripheral component connection interface 14 of FIG.

第4圖係顯示根據本發明之一實施例所述之顯示適用於固態硬碟之偵錯方法之流程圖。在此,第4圖所述之流程圖搭配第2圖之方塊圖一併討論。4 is a flow chart showing a method of detecting an error applied to a solid state hard disk according to an embodiment of the present invention. Here, the flowchart described in FIG. 4 is discussed together with the block diagram of FIG.

首先,系統執行關機程序(S1),當關機程序過程中發生不正常關機事件,則更新第一暫存器所儲存之不正常關機次數(S2)。接下來,當系統再次開機時,在開機程序中讀取第一暫存器204所儲存之不正常關機次數,並將不正常關機次數存入第二暫存器205以及第三暫存器206之一者(S3),並在開機程序中,處理裝置203比較第二暫存器205以及第三暫存器206所儲存之內容,當第二暫存器205 以及第三暫存器206所儲存之內容不相同時,使用多媒體裝置202輸出警告訊息(S4)。First, the system executes a shutdown procedure (S1), and when an abnormal shutdown event occurs during the shutdown procedure, the number of abnormal shutdowns stored in the first temporary storage is updated (S2). Next, when the system is powered on again, the number of abnormal shutdowns stored in the first temporary memory 204 is read in the booting process, and the number of abnormal shutdowns is stored in the second temporary register 205 and the third temporary register 206. One (S3), and in the booting process, the processing device 203 compares the contents stored by the second register 205 and the third register 206, when the second register 205 When the contents stored in the third register 206 are different, the multimedia device 202 is used to output a warning message (S4).

因此,使用者可透過多媒體裝置202所輸出之警告訊息得知,上一次關機過程中發生不正常關機事件,造成此次開機過程所需的時間因為修復邏輯區塊定址之資料的關係而延長,並且可以經由第3圖所示之警告訊息301得知目前邏輯區塊定址修復之進度,進而估算何時完成開機程序。此外,有了警告訊息之輸出,使用者較能夠掌握系統之狀態,從而了解開機時間較長之原因。Therefore, the user can learn through the warning message outputted by the multimedia device 202 that an abnormal shutdown event occurs during the last shutdown process, and the time required for the boot process is prolonged due to the relationship between the data addressed by the repair logic block. And the warning message 301 shown in FIG. 3 can be used to know the progress of the current logical block address repair, and then estimate when the boot process is completed. In addition, with the output of the warning message, the user can better grasp the status of the system and understand the reason for the longer boot time.

在此強調,以上所述的目前揭露之實施例僅僅只是為了清楚解釋本發明之原理而用以闡述之可能實施例。許多變化與修改,可經由上述的實施例在不偏離本發明之精神與原理的情況下而製作出來。所有該變化與修改都包括於本發明的範圍內,且受以下專利申請範圍之保護。It is emphasized that the presently disclosed embodiments are merely illustrative of possible embodiments for the purpose of illustrating the principles of the invention. Many variations and modifications can be made without departing from the spirit and scope of the invention. All such variations and modifications are intended to be included within the scope of the present invention and are protected by the scope of the following patent application.

1‧‧‧電腦系統1‧‧‧ computer system

10‧‧‧中央處理單元10‧‧‧Central Processing Unit

11‧‧‧橋接晶片組11‧‧‧Bridge chipset

12‧‧‧主記憶體12‧‧‧ main memory

13‧‧‧圖形加速埠介面13‧‧‧Graphics Acceleration Interface

14‧‧‧週邊組件連結介面14‧‧‧ peripheral component interface

15‧‧‧通用串列匯流排介面15‧‧‧Common Serial Bus Interface

16‧‧‧整合開發環境介面16‧‧‧Integrated development environment interface

17‧‧‧儲存裝置17‧‧‧Storage device

111‧‧‧北橋晶片111‧‧‧ North Bridge Chip

112‧‧‧南橋晶片112‧‧‧South Bridge Chip

1001‧‧‧前置匯流排1001‧‧‧ front busbar

1002‧‧‧記憶體匯流排1002‧‧‧ memory bus

1003‧‧‧圖形加速埠匯流排1003‧‧‧Graphic acceleration 埠 bus

1004‧‧‧週邊組件連結匯流排1004‧‧‧ peripheral components link bus

200‧‧‧偵錯裝置200‧‧‧Detection device

201‧‧‧固態硬碟201‧‧‧ Solid State Drive

202‧‧‧多媒體裝置202‧‧‧Multimedia device

203‧‧‧處理裝置203‧‧‧Processing device

204‧‧‧第一暫存器204‧‧‧First register

205‧‧‧第二暫存器205‧‧‧Second register

206‧‧‧第三暫存器206‧‧‧ Third register

301‧‧‧警告訊息301‧‧‧Warning message

302‧‧‧顯示器302‧‧‧ display

第1圖係顯示根據本發明之一實施例所述之具有儲存控制功能之電腦系統功能方塊示意圖。1 is a block diagram showing the function of a computer system having a storage control function according to an embodiment of the present invention.

第2圖係顯示根據本發明之一實施例所述之偵錯裝置之方塊圖。Figure 2 is a block diagram showing a debug device according to an embodiment of the present invention.

第3圖係顯示根據本發明之一實施例所述之警告訊息顯示於顯示器。Figure 3 is a diagram showing a warning message displayed on a display in accordance with an embodiment of the present invention.

第4圖係顯示根據本發明之一實施例所述之顯示適用於固態硬碟之偵錯方法之流程圖。4 is a flow chart showing a method of detecting an error applied to a solid state hard disk according to an embodiment of the present invention.

200‧‧‧偵錯裝置200‧‧‧Detection device

201‧‧‧固態硬碟201‧‧‧ Solid State Drive

202‧‧‧多媒體裝置202‧‧‧Multimedia device

203‧‧‧處理裝置203‧‧‧Processing device

204‧‧‧第一暫存器204‧‧‧First register

205‧‧‧第二暫存器205‧‧‧Second register

206‧‧‧第三暫存器206‧‧‧ Third register

Claims (9)

一種固態硬碟偵錯裝置,包括:一固態硬碟,包括一第一暫存器,用以儲存上述固態硬碟之一不正常關機次數;一多媒體裝置,用以輸出一警告訊息;以及一處理裝置,包括一第二暫存器以及一第三暫存器,其中上述處理裝置於一不正常關機事件中更新上述固態硬碟之上述不正常關機次數,於一第一開機程序中將上述不正常關機次數存入上述第二暫存器以及上述第三暫存器之一者,並比較上述第二暫存器以及上述第三暫存器所儲存之內容,當上述第二暫存器以及上述第三暫存器所儲存之內容不相同時,上述處理裝置控制上述多媒體裝置輸出上述警告訊息。A solid state hard disk debugging device comprising: a solid state hard disk comprising a first temporary storage device for storing an abnormal number of shutdowns of the solid state hard disk; a multimedia device for outputting a warning message; and a The processing device includes a second temporary storage device and a third temporary storage device, wherein the processing device updates the abnormal shutdown frequency of the solid state hard disk in an abnormal shutdown event, and the above The number of abnormal shutdowns is stored in one of the second temporary storage device and the third temporary storage device, and the contents stored in the second temporary storage device and the third temporary storage device are compared, and the second temporary storage device is used. And when the content stored in the third temporary storage device is different, the processing device controls the multimedia device to output the warning message. 如申請專利範圍第1項所述之固態硬碟偵錯裝置,其中上述處理裝置更執行一第二開機程序,將上述不正常關機次數存入上述第二暫存器以及上述第三暫存器之另一者,並比較上述第二暫存器以及上述第三暫存器所儲存之內容,當上述第二暫存器以及上述第三暫存器所儲存之內容不相同時,上述主機控制上述顯示器顯示上述警告訊息,其中上述第二開機程序接續於上述第一開機程序之後。The solid-state hard disk debugging device of claim 1, wherein the processing device further performs a second booting process, and stores the abnormal shutdown number in the second temporary register and the third temporary storage device. The other one, and comparing the contents stored by the second temporary register and the third temporary register, when the contents stored by the second temporary storage device and the third temporary storage device are different, the host control The above display displays the above warning message, wherein the second booting process is subsequent to the first booting process. 如申請專利範圍第1項所述之固態硬碟偵錯裝置,其中上述多媒體裝置係一顯示器,用以顯示上述警告訊息。The solid state hard disk debugging device of claim 1, wherein the multimedia device is a display for displaying the warning message. 如申請專利範圍第1項所述之固態硬碟偵錯裝置,其中上述多媒體裝置係一揚聲器,用以播放上述警告訊息。The solid state hard disk debugging device of claim 1, wherein the multimedia device is a speaker for playing the warning message. 如申請專利範圍第1項所述之固態硬碟偵錯裝置, 其中上述警告訊息係經由一燈號以特定方式表示。For example, the solid state hard disk debugging device described in claim 1 is The above warning message is indicated in a specific manner via a light signal. 一種偵錯方法,適用於一固態硬碟,上述固態硬碟包括一第一暫存器,包括:執行一關機程序;當上述關機程序發生一不正常關機事件時,更新上述第一暫存器所儲存之一不正常關機次數;於一第一開機程序中讀取上述第一暫存器所儲存之上述不正常關機次數,並將上述不正常關機次數存入一第二暫存器以及一第三暫存器之一者;以及在上述第一開機程序中,比較上述第二暫存器以及上述第三暫存器所儲存之內容,當上述第二暫存器以及上述第三暫存器所儲存之內容不相同時,使用一多媒體裝置輸出一警告訊息。An error detection method is applicable to a solid state hard disk, wherein the solid state hard disk includes a first temporary storage device, including: executing a shutdown program; and updating the first temporary storage device when an abnormal shutdown event occurs in the shutdown program One of the abnormal shutdown times stored; reading the abnormal shutdown number stored in the first temporary storage device in a first booting process, and storing the abnormal shutdown number in a second temporary storage device and a And storing, in the first booting process, the content stored by the second temporary register and the third temporary register, when the second temporary register and the third temporary storage When the contents stored by the device are different, a multimedia device is used to output a warning message. 如申請專利範圍第6項所述之偵錯方法,其中上述警告訊息為顯示於一顯示器。The debugging method of claim 6, wherein the warning message is displayed on a display. 如申請專利範圍第6項所述之偵錯方法,其中上述警告訊息為經由一揚聲器播放之一音效。The debugging method of claim 6, wherein the warning message is a sound effect played through a speaker. 如申請專利範圍第6項所述之偵錯方法,其中上述警告訊息由一訊息燈以特定方式表示。The method for detecting a fault as described in claim 6 wherein the warning message is represented by a message light in a specific manner.
TW101148239A 2012-12-19 2012-12-19 Detection device and method of solid-state disk TWI488037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101148239A TWI488037B (en) 2012-12-19 2012-12-19 Detection device and method of solid-state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101148239A TWI488037B (en) 2012-12-19 2012-12-19 Detection device and method of solid-state disk

Publications (2)

Publication Number Publication Date
TW201426285A TW201426285A (en) 2014-07-01
TWI488037B true TWI488037B (en) 2015-06-11

Family

ID=51725484

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101148239A TWI488037B (en) 2012-12-19 2012-12-19 Detection device and method of solid-state disk

Country Status (1)

Country Link
TW (1) TWI488037B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200925850A (en) * 2007-12-07 2009-06-16 Hon Hai Prec Ind Co Ltd System and method for testing a computer's motherboard during power-on and power-off
TW201111981A (en) * 2009-04-21 2011-04-01 Ibm Apparatus and method for controlling a solid state disk

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200925850A (en) * 2007-12-07 2009-06-16 Hon Hai Prec Ind Co Ltd System and method for testing a computer's motherboard during power-on and power-off
TW201111981A (en) * 2009-04-21 2011-04-01 Ibm Apparatus and method for controlling a solid state disk

Also Published As

Publication number Publication date
TW201426285A (en) 2014-07-01

Similar Documents

Publication Publication Date Title
TWI588649B (en) Hardware recovery methods, hardware recovery systems, and computer-readable storage device
US9037812B2 (en) Method, apparatus and system for memory validation
US9417967B2 (en) Computing device and method for automatically recovering bios of computing device
US8538720B2 (en) Cold boot test system and method for electronic devices
WO2016101411A1 (en) Server display method and device
TWI526821B (en) Recovery after input/output error-containment events
TWI632462B (en) Switching device and method for detecting i2c bus
TWI362588B (en) Monitor apparatus, a monitoring method thereof and computer apparatus therewith
US20150095632A1 (en) Computer booting system and method for computer system
TWI620061B (en) Error detecting apparatus of server and error detecting method thereof
TWI480731B (en) Adapter and debug method using the same
CN115525486A (en) SSD SMBUS temperature alarm and low power consumption state test verification method and device
TW201616273A (en) System and method for recovering BIOS data of a computer
JP5689783B2 (en) Computer, computer system, and failure information management method
TW201405302A (en) Initialization of GPU using ROM-based initialization unit and programmable microcontroller
TWI488037B (en) Detection device and method of solid-state disk
TW201301023A (en) System and method for testing a mother board
JP6667733B2 (en) Simulation apparatus, simulation method, and simulation program
TWM532085U (en) Hard disk control chip and hard disk including the same
TWI769399B (en) Chip having debug memory interface and debug method thereof
TW201933091A (en) A system and a method for testing a data storage device
JP2008276691A (en) Interface card emulating hard disk interface
CN103914364A (en) Error detection device and method of solid state disk
US8325193B1 (en) System and method for determining optimal GPU initialization order in a multiple-GPU system
TWI324727B (en) Method for diagnosing power management table