CN103914364A - Error detection device and method of solid state disk - Google Patents

Error detection device and method of solid state disk Download PDF

Info

Publication number
CN103914364A
CN103914364A CN201310004935.2A CN201310004935A CN103914364A CN 103914364 A CN103914364 A CN 103914364A CN 201310004935 A CN201310004935 A CN 201310004935A CN 103914364 A CN103914364 A CN 103914364A
Authority
CN
China
Prior art keywords
buffer
mentioned
solid state
hard disc
warning message
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201310004935.2A
Other languages
Chinese (zh)
Inventor
殷志杰
官清标
林哲纬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Acer Inc
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 CN201310004935.2A priority Critical patent/CN103914364A/en
Publication of CN103914364A publication Critical patent/CN103914364A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to an error detection device. The error detection device comprises a solid state disk, a multimedia device and a processing device; the solid state disk comprises a first buffer which is used for storing the number of times of abnormal shutdown of the solid state disk; the multimedia device is used for outputting the alarm information; the processing device comprises a second buffer and a third buffer; the processing device is used for updating the number of times of the abnormal shutdown of the solid state disk during abnormal shutdown operation, storing the number of times of the abnormal shutdown into one of the second buffer and the third buffer in a first startup program, performing comparison on content stored in the second buffer and the third buffer and controlling the multimedia device to output the alarm information when the content stored in the second buffer and the third buffer is different from each other. Accordingly, a user can control the system state through the alarm information which is output through the multimedia device and accordingly the cause of the long boot time can be understood.

Description

Solid state hard disc Error Detection Unit and method
Technical field
The present invention relates to Error Detection Unit and the method for hard disk in the time that undesired power-off operation occurs system, particularly Error Detection Unit and the method for solid state hard disc in the time that undesired power-off operation occurs system.
Background technology
The notebook computer sold on the market at present, the storage device of arranging in pairs or groups in the inside, change into gradually and use solid state hard disc (solid-state disk by the hard disk of conventional motor formula, SSD), also can reach the effect of more power saving simultaneously except alleviating the weight of notebook computer.But there is read/write head can directly read data due to solid state hard disc and unlike conventional hard, but must be by the mode of mapping (mapping) by LBA (Logical Block Addressing) pattern (Logical Block Addressing, LBA) data is deposited in the storage element of solid state hard disc inside, there is undesired power-off operation once the system of running into, likely can cause system documentation because have little time the data of the LBA (Logical Block Addressing) in storage element to deposit back flash cell, when causing start shooting next time, because must rebuilding the data of LBA (Logical Block Addressing) before start, solid state hard disc needs the stand-by period more of a specified duration.
Summary of the invention
In view of this, propose a kind of Error Detection Unit at this, comprising: a solid state hard disc, comprises one first buffer, in order to store a undesired shutdown number of times of above-mentioned solid state hard disc, one multimedia device, in order to export a warning message, an and treating apparatus, comprise one second buffer and one the 3rd buffer, wherein said treating apparatus upgrades the described undesired shutdown number of times of described solid state hard disc in a undesired power-off operation, described undesired shutdown number of times is deposited in to the one in described the second buffer and described the 3rd buffer in one first boot program, and more described the second buffer and the stored content of described the 3rd buffer, when described the second buffer and the stored content of described the 3rd buffer be not when identical, described in described treating apparatus control, multimedia device is exported described warning message.
One embodiment of the invention also proposes a kind of error-detecting method, is applicable to a solid state hard disc, and described solid state hard disc comprises one first buffer, comprising: carry out a shutdown programm; In the time that one undesired power-off operation occurs described shutdown programm, upgrade the stored undesired shutdown number of times of described the first buffer; In one first boot program, read the stored described undesired shutdown number of times of described the first buffer, and deposit described undesired shutdown number of times in one in one second buffer and one the 3rd buffer; And in described the first boot program, more described the second buffer and the stored content of described the 3rd buffer, when described the second buffer and the stored content of described the 3rd buffer be not when identical, use a multimedia device to export a warning message.
The warning message that the present invention can make user export by multimedia device is learnt the undesired power-off operation occurring in last shutdown process, and learn and cause the required time of this start process to extend because of the relation of the data of reparation LBA (Logical Block Addressing), and can learn the progress that the addressing of current logic piece is repaired via warning message, and then when estimation completes boot program.In addition, had the output of warning message, user can grasp the state of system, thereby understands the reason that the on time grows.
Brief description of the drawings
Fig. 1 stores according to having described in one embodiment of the invention the computer system high-level schematic functional block diagram of controlling function.
Fig. 2 is the composition module diagram according to the Error Detection Unit described in one embodiment of the invention.
Fig. 3 is the schematic diagram that the warning message described in one embodiment of the invention is shown in display.
Fig. 4 is the process flow diagram that is applicable to the error-detecting method of solid state hard disc according to the demonstration described in one embodiment of the invention.
Wherein,
1~computer system; 10~CPU (central processing unit); 11~bridging chip group;
12~main storage element; 13~graphic accelerating interface interface; 14~perimeter component linkage interface;
15~general serial bus interface; 16~integration development environment interface; 17~storage device;
111~north bridge chips; 112~South Bridge chip; 1001~preposition bus;
1002~storage element bus; 1003~graphic accelerating interface bus; 1004~perimeter component connects bus;
200~Error Detection Unit; 201~solid state hard disc, 202~multimedia device; 203~treating apparatus;
204~the first buffers; 205~the second buffers; The 206~three buffer; 301~warning message; 302~display.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, below especially exemplified by a preferred embodiment, and coordinate appended graphicly, be described in detail below:
Below will introduce according to preferred embodiment of the present invention.Must be noted that and the invention provides many applicable inventive principle, specific embodiment disclosed herein, is only reach and use ad hoc fashion of the present invention for explanation, and unavailable to limit to scope of the present invention.
Fig. 1 stores according to having described in one embodiment of the invention the computer system high-level schematic functional block diagram of controlling function.In Fig. 1, we can clearly be seen that, this computer system 1 is mainly with a CPU (central processing unit) (Central Processing Unit, CPU) 10 as system trunk, CPU (central processing unit) 10 signals are connected in the bridging chip group (Chipset) 11 being made up of a north bridge chips (North Bridge Chip) 111 and a South Bridge chip (South Bridge Chip) 112, wherein north bridge chips 111 is with one preposition (Front Side Bus, FSB) bus 1001 and CPU (central processing unit) 10 intercoordinations, with a storage element bus 1002 and a main storage element (Main Memory) 12 intercoordinations and with a graphic accelerating interface (Accelerated Graphics Port, AGP) bus 1003 is communicated with a graphic accelerating interface interface 13, and South Bridge chip (South BridgeChip) 112 connects (Peripheral Component Interconnect with a perimeter component, PCI) bus 1004 and a perimeter component linkage interface 14 interconnect, in addition with South Bridge chip 112 link also have a universal serial bus (Universal Serial Bus, hereinafter to be referred as USB) 15 and an integration development environment (Integrated Drive Electronics, IDE) interface 16, wherein on this integration development environment interface 16, be connected with a storage device 17.
Fig. 2 is the composition module diagram according to the Error Detection Unit described in one embodiment of the invention.Comprise solid state hard disc 201, multimedia device 202 and treating apparatus 203 according to the Error Detection Unit 200 described in one embodiment of the invention, wherein solid state hard disc 201 can map to the storage device 17 in Fig. 1, and treating apparatus 203 can comprise CPU (central processing unit) 10 in Fig. 1, north bridge chips 111, a South Bridge chip 112 and main storage element 12.
Solid state hard disc 201 comprises the first buffer 204, in order to store the undesired shutdown number of times of solid state hard disc 201.According to one embodiment of the invention, the multimedia device 202 of Error Detection Unit 200 is in order to export warning message, and the treating apparatus 203 of Error Detection Unit 200 comprises the second buffer 205 and the 3rd buffer 206.According to one embodiment of the invention, treating apparatus 203, except comprising CPU (central processing unit) 10, north bridge chips 111, a South Bridge chip 112 and the main storage element 12 in Fig. 1, also can be an embedded controller.In the time there is undesired power-off operation, treating apparatus 203 upgrades the undesired shutdown number of times (for example undesired shutdown number of times being added to) that is stored in the first buffer 204.According to embodiments of the invention, the situation that undesired shut down event occurs comprise power supply moment quit work, user's false touch shutdown button, user's forced shutdown, deadlock, or other cause the data being stored in storage unit cannot deposit back all situations of Winchester disk drive or solid state hard disc because cannot completely complete shutdown programm.
Next, when system is started shooting while entering BIOS again, treating apparatus 203 can remove to read by bus the undesired shutdown number of times of the first buffer 204 that is stored in solid state hard disc 201, then the numerical value of the undesired shutdown number of times that is stored in the first buffer 204 is stored in to the one in the second buffer 205 and the 3rd buffer 206, wherein the second buffer 205 and the 3rd buffer 206 all have an initial value.For instance, according to one embodiment of the invention, while start for the first time, undesired shutdown number of times is stored in the second buffer 205 the insides by treating apparatus 203, while start for the second time, be stored in the 3rd buffer 206 the insides, while start for the third time, be stored in again the second buffer 205 the insides, go round and begin again.According to one embodiment of the invention, treating apparatus 203 reads the bus that the undesired shutdown number of times of the first buffer 204 that is stored in solid state hard disc 201 passed through and can be an ide (Integrated Drive Electronics, IDE) bus, Serial Advanced Technology Attachment (Serial Advanced Technology Attachment, SATA) bus, or the bus of other technology newly developed.
In the time of the electric power starting of computer, Basic Input or Output System (BIOS) (Basic Input/Output System, hereinafter to be referred as BIOS) will be carried out by the flash cell on motherboard (flash memory), and by chipset and the initialization of storage element subsystem.When start enters after BIOS state, the undesired shutdown number of times that is stored in the first buffer 204 is stored to the one in the second buffer 205 and the 3rd buffer 206 by treating apparatus 203.Then, treating apparatus 203 can start comparison and be stored in the value of the second buffer 205 and the 3rd buffer 206, inconsistently represents that undesired power-off operation occurs in last shutdown if find.Now, treating apparatus 103 notifies multimedia device 202 to export a warning message.
According to one embodiment of the invention, treating apparatus 203 is stored to the undesired shutdown number of times that is stored in the first buffer 204 in the second buffer 205 and the 3rd buffer 206 and carries out under the BIOS before entering operating system, that is before user starts operation, whether the last shutdown of error detection there is undesired power-off operation.If confirm as while there is undesired power-off operation, notify user's on time to extend, so that by LBA (Logical Block Addressing) (Logical Block Addressing, LBA) reconstruct data series.
According to one embodiment of the invention, multimedia device 202 can be a display of warning.Fig. 3 is shown in display according to the warning message described in one embodiment of the invention.Display 302 shows that " because undesired power-off operation occurs system, solid state hard disc need to be rebuild the data of LBA (Logical Block Addressing).In the time that LBA (Logical Block Addressing) completes, system will start automatically.At present completion rate is XX% " warning message 301, notify user at present and cause the data of LBA (Logical Block Addressing) to rebuild because undesired power-off operation occurs in the last shutdown, therefore starting up speed drags slowly.In addition,, for convenient user estimates required time, in warning message 301, can comprise and show the progress of repairing.
In addition, according to another embodiment of the present invention, warning message can be also to play specific audio to inform user via a loudspeaker, or represent a pilot lamp of warning message with ad hoc fashion, wherein pilot lamp with flicker, permanent bright, show different colours or other variety of ways, inform that user drags slow starting up speed because there is undesired power-off operation.Moreover, ad hoc fashion or the particular color of the specific audio that above-mentioned loudspeaker is play and pilot lamp flicker, can in service manual, inform user play which kind of audio, in which way or which kind of color show pilot lamp representative because of the last time shutdown undesired cause starting up speed slowly.
According to one embodiment of the invention, the display that multimedia device 202 is warning, and this display maps to the graphic accelerating interface interface 13 of Fig. 1; According to another embodiment of the present invention, multimedia device 202 is for playing specific audio to inform user's a loudspeaker, and this display corresponds to the perimeter component linkage interface 14 of Fig. 1.
Fig. 4 is applicable to the process flow diagram of the error-detecting method of solid state hard disc according to the demonstration described in one embodiment of the invention.At this, the process flow diagram collocation Fig. 2 module diagram described in Fig. 4 is discussed in the lump.
First, system is carried out shutdown programm (S1), when there is undesired power-off operation in shutdown programm process, upgrades the stored undesired shutdown number of times (S2) of the first buffer.Next, in the time that system is started shooting again, in boot program, read the stored undesired shutdown number of times of the first buffer 204, and deposit undesired shutdown number of times in one (S3) in the second buffer 205 and the 3rd buffer 206, and in boot program, relatively the second buffer 205 and the stored content of the 3rd buffer 206 for the treatment of apparatus 203, when the second buffer 205 and the stored content of the 3rd buffer 206 be not when identical, use multimedia device 202 to export warning message (S4).
Therefore, the warning message that user can export by multimedia device 202 is learnt, in last shutdown process, there is undesired power-off operation, cause the required time of this start process and extend because of the relation of the data of reparation LBA (Logical Block Addressing), and can learn the progress that the addressing of current logic piece is repaired via the warning message of Fig. 3 301, and then when estimation completes boot program.In addition, had the output of warning message, user can grasp the state of system, thereby understands the reason that the on time grows.
Emphasize at this, above disclosed embodiment is only in order to the possible embodiment setting forth for clear interpretation principle of the present invention.Many variations and amendment, can be via the above embodiments in the situation that not departing from spirit of the present invention and principle and make.All these variations all comprise within the scope of the invention with amendment, and protection domain is as the criterion with the scope of claims.

Claims (9)

1. a solid state hard disc Error Detection Unit, comprising:
One solid state hard disc, comprises one first buffer, in order to store a undesired shutdown number of times of above-mentioned solid state hard disc;
One multimedia device, in order to export a warning message; And
One treating apparatus, comprise one second buffer and one the 3rd buffer, wherein above-mentioned treating apparatus upgrades the described undesired shutdown number of times of described solid state hard disc in a undesired power-off operation, described undesired shutdown number of times is deposited in to the one of described the second buffer and described the 3rd buffer in one first boot program, and more described the second buffer and the stored content of described the 3rd buffer, when described the second buffer and the stored content of described the 3rd buffer be not when identical, described in described treating apparatus control, multimedia device is exported above-mentioned warning message.
2. solid state hard disc Error Detection Unit as claimed in claim 1, it is characterized in that, described treating apparatus is also carried out one second boot program, above-mentioned undesired shutdown number of times is deposited in to the another kind of described the second buffer and described the 3rd buffer, and more described the second buffer and the stored content of described the 3rd buffer, when above-mentioned the second buffer and the stored content of above-mentioned the 3rd buffer be not when identical, described host computer control aforementioned display device shows above-mentioned warning message, after wherein above-mentioned the second boot program is connected in above-mentioned the first boot program.
3. solid state hard disc Error Detection Unit as claimed in claim 1, is characterized in that, described multimedia device is a display, in order to show above-mentioned warning message.
4. solid state hard disc pick-up unit as claimed in claim 1, is characterized in that, described multimedia device is a loudspeaker, in order to play above-mentioned warning message.
5. solid state hard disc Error Detection Unit as claimed in claim 1, is characterized in that, described warning message is to represent with ad hoc fashion via a pilot lamp.
6. an error-detecting method, is applicable to a solid state hard disc, and described solid state hard disc comprises one first buffer, comprising:
Carry out a shutdown programm;
In the time that one undesired power-off operation occurs above-mentioned shutdown programm, upgrade the stored undesired shutdown number of times of above-mentioned the first buffer;
In one first boot program, read the stored above-mentioned undesired shutdown number of times of above-mentioned the first buffer, and above-mentioned undesired shutdown number of times is deposited in the middle of the one of one second buffer and one the 3rd buffer; And
In above-mentioned the first boot program, more above-mentioned the second buffer and the stored content of above-mentioned the 3rd buffer, when above-mentioned the second buffer and the stored content of above-mentioned the 3rd buffer be not when identical, used a multimedia device to export a warning message.
7. error-detecting method as claimed in claim 6, is characterized in that, above-mentioned warning message is shown in a display.
8. error-detecting method as claimed in claim 6, is characterized in that, above-mentioned warning message is an audio of playing via a loudspeaker.
9. error-detecting method as claimed in claim 6, is characterized in that, above-mentioned warning message is represented with ad hoc fashion by an information pilot lamp.
CN201310004935.2A 2013-01-07 2013-01-07 Error detection device and method of solid state disk Pending CN103914364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310004935.2A CN103914364A (en) 2013-01-07 2013-01-07 Error detection device and method of solid state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310004935.2A CN103914364A (en) 2013-01-07 2013-01-07 Error detection device and method of solid state disk

Publications (1)

Publication Number Publication Date
CN103914364A true CN103914364A (en) 2014-07-09

Family

ID=51040066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310004935.2A Pending CN103914364A (en) 2013-01-07 2013-01-07 Error detection device and method of solid state disk

Country Status (1)

Country Link
CN (1) CN103914364A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512007A (en) * 2015-12-17 2016-04-20 英业达科技有限公司 Method for controlling peripheral component interface express (PCIE) hard disk status lamp and system
CN109859794A (en) * 2019-01-10 2019-06-07 宁波智研信息技术有限公司 Solid state storage unit repair system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987834A (en) * 2005-12-19 2007-06-27 纬创资通股份有限公司 Method for protecting computer data
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
US20120042211A1 (en) * 2009-04-21 2012-02-16 International Business Machines Corporation Controlling a Solid State Disk (SSD) Device
CN102375765A (en) * 2010-08-19 2012-03-14 鸿富锦精密工业(深圳)有限公司 Server power failure detection system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987834A (en) * 2005-12-19 2007-06-27 纬创资通股份有限公司 Method for protecting computer data
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
US20120042211A1 (en) * 2009-04-21 2012-02-16 International Business Machines Corporation Controlling a Solid State Disk (SSD) Device
CN102375765A (en) * 2010-08-19 2012-03-14 鸿富锦精密工业(深圳)有限公司 Server power failure detection system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WIN简约: "CrystalDiskInfo-磁盘信息工具", 《百度文库》, 17 October 2012 (2012-10-17), pages 1 - 6 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512007A (en) * 2015-12-17 2016-04-20 英业达科技有限公司 Method for controlling peripheral component interface express (PCIE) hard disk status lamp and system
WO2017101217A1 (en) * 2015-12-17 2017-06-22 英业达科技有限公司 Method and system for controlling pcie hard drive status light
CN105512007B (en) * 2015-12-17 2018-12-04 英业达科技有限公司 A kind of control method and system of PCIE disk state lamp
US10909818B2 (en) 2015-12-17 2021-02-02 Inventec (Pudong) Technology Corporation Method and system for controlling status indication light of PCIE hard disk drive
CN109859794A (en) * 2019-01-10 2019-06-07 宁波智研信息技术有限公司 Solid state storage unit repair system

Similar Documents

Publication Publication Date Title
CN106990958B (en) Expansion assembly, electronic equipment and starting method
US9037812B2 (en) Method, apparatus and system for memory validation
JP6126211B2 (en) Reinitialization of processing system from volatile memory when resuming from low power state
US9417967B2 (en) Computing device and method for automatically recovering bios of computing device
US20150095632A1 (en) Computer booting system and method for computer system
TWI489466B (en) Memory erasing method, memory controller and memory storage apparatus
US9442834B2 (en) Data management method, memory controller and memory storage device
CN102467440A (en) Internal memory error detection system and method
CN108647169B (en) Hot plug processing method and device
KR101260066B1 (en) Computer system having serial and parallel interfaces
WO2021098485A1 (en) Method and system for power-on and power-off control of pcie device
KR20160146991A (en) Accelerating boot time zeroing of memory based on non-volatile memory (nvm) technology
US20150347151A1 (en) System and method for booting from a non-volatile memory
US20120271983A1 (en) Computing device and data synchronization method
TWI437493B (en) Computer system and operation systen loading method
CN103544115A (en) Data writing method, memorizer controller and memorizer storage device
US7861074B2 (en) Electronic systems using flash memory modules as main storage and related system booting methods
US20210034478A1 (en) Memory controller and operating method thereof
TW201327185A (en) Memory storage device and memory controller and data writing method thereof
CN109885466B (en) Simulation method, system and medium for processor C8000
CN109445561B (en) Power failure protection system and method applied to server and server
TWI526818B (en) Method of enabling sleep mode, memory control circuit unit and storage appartus
CN103914364A (en) Error detection device and method of solid state disk
CN103513930A (en) Memorizer management method, memorizer controller and memorizer storage device
CN103853638A (en) Method for refreshing firmware and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140709

WD01 Invention patent application deemed withdrawn after publication