WO2008118160A2 - System and method for preventing errors in a storage medium - Google Patents
System and method for preventing errors in a storage medium Download PDFInfo
- Publication number
- WO2008118160A2 WO2008118160A2 PCT/US2007/025169 US2007025169W WO2008118160A2 WO 2008118160 A2 WO2008118160 A2 WO 2008118160A2 US 2007025169 W US2007025169 W US 2007025169W WO 2008118160 A2 WO2008118160 A2 WO 2008118160A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- command
- signal
- storage device
- controller
- epf
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/004—Error avoidance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0754—Error or fault detection not based on redundancy by exceeding limits
Definitions
- the present principles relates to storage devices. More particularly, it relates to the handling of storage devices in the presence of power failure events.
- Video recording devices are more prevalent today than ever before, replacing, in many cases, older video cassette recorder devices.
- the new video recording devices often employ digital technologies including a Hard-Disk Drive (HDD).
- HDD Hard-Disk Drive
- Power interruption due to a power failure event in these new video recording devices may result not only in loss of video content during the outage, but also the corruption of video information stored on the drive immediately before and/or immediately after the power outage.
- critical operating-system data may be mirrored on two sectors or segments of the HDD.
- such a duplication of data writing and storage may not be a practical option for video data storage use of the drive, may not be cost effective, or may be difficult due to implementation of the file and data management system.
- a Write-Splice error occurs on a HDD when data is being written from a memory cache to the storage medium or platter and power is suddenly removed.
- the write splice error results in corrupt data residing on the sector at the moment the drive was writing to when power was removed.
- the sector will contain some data from before the event and the rest of the data from after.
- the cyclical redundancy check (CRC) for that sector will not be correct since it will be based on only data before the event. Therefore, when power is restored and the sector read, the CRC on that sector will not match the CRC generated by the Host when reading the contents of that sector.
- the device may fail to finish its boot process when power is reapplied. Further, if the data is related to a data stream such as video, the error may create issues with maintaining operation such as display of the video.
- the method comprises detecting a signal such as, for example, an early power fail (EPF) signal from power supply circuitry providing power to a storage device, issuing a command such as, for example, a modified standby immediate (MSI) command to controller circuitry of the storage device in response to a detected signal, and in response to the issued command, completing a current data write operation to a particular sector being written and ceasing further write operations to the storage medium.
- a signal such as, for example, an early power fail (EPF) signal from power supply circuitry providing power to a storage device
- a command such as, for example, a modified standby immediate (MSI) command
- the issuing command can further include sending an acknowledgement signal to a controller indicating that the MSI command has been issued and write operations for the storage device are being managed in accordance with the MSI command.
- the apparatus of the present principles includes a controller configured to receive and provide data to an end user, a power supply circuit configured to provide power to the controller, said power supply circuit providing an early power fail (EPF) signal to the controller in the event of a power failure, a storage device having circuitry in communication with said controller and configured to enable selective storage of the data information according to a user preference, and a mechanism by which a modified standby immediate (MSI) command is provided to the controller circuitry of the storage device in response to a detected EPF signal from the power supply circuit.
- the MSI command causes the circuitry of the storage device to complete a current data write operation to a particular sector of the storage medium and cease all further write operations.
- Figure 1 is a block diagram illustrating a set top box with the method of the present principles implemented therein;
- Figure 2 is a timing diagram of the events and signals according to an implementation of the present principles
- Figure 3a is a flow diagram of the method according to an implementation of the present principles
- Figure 3b is a flow diagram of the method according to another implementation of the present principles.
- FIG. 1 illustrates a schematic block diagram of a set top box 100 used for receiving and recording data such as audio and video delivered over a satellite network.
- the set top box contains circuitry for receiving and demodulating satellite signals in a format such as quaternary phase shift keying (QPSK) containing error correction.
- QPSK quaternary phase shift keying
- the demodulated signal, a transport stream is further decoded using Moving Picture Experts Group (MPEG) processing, into individual streams of video and audio.
- MPEG Moving Picture Experts Group
- the video and audio signals may be sent to a display device, not shown.
- a controller 101 manages the operation of the set top box including the user interface and routing of the signals to the various blocks and connectors.
- the controller 101 also controls signals routed to and from a storage device (104, 106) such as a HDD.
- One implementation of the present principles employs an Early-Power-Fail (EPF) signal derived from the power supply circuitry 102 that notifies the controller 101 approximately 30ms before power is ultimately interrupted to circuits such as the HDD.
- EPF Early-Power-Fail
- a routine is entered to send a modified Standby-Immediate (MSI) command to the HDD circuit.
- the modified Standby-Immediate (MSI) command is configured to modify the behavior of the HDD command so that just the sector that is currently being written (i.e., when the EPF is detected) is finished, and the rest of the cache memory is discarded rather than written and then parking the heads.
- the HDD recognizes the modified Standby-Immediate command and finishes the current data write of data to the sector on the HDD storage medium. The HDD then ceases its write operation and will not do any more write operations to the HDD storage medium.
- the combination of the EPF signal and the modified Standby-Immediate command guarantees that all write functions to the HDD storage medium have been successfully completed before power is interrupted by allowing the drive to complete the last sector write and park the heads. This will prevent a write splice error situation from occurring.
- FIG. 2 shows a representative timing diagram showing the timing of events related to operation of the HDD using aspects of the present embodiment.
- the EPF signal 200 is shown as occurring approximately 30 ms before the 5V power signal 202 to the HDD actually drops out of regulation due to a power fail event.
- the modified Standby-Immediate (MSI) command 204 for the HDD is shown starting after recognizing the EPF signal and before the 5V power signal to the HDD drops out of regulation due to the power failure. Generally, it takes no more than 2ms to detect the EPF signal once generated by the power supply circuit 101. Once detected, the MSI command is issued, preferably immediately, and the final write command should not take more than 17ms in duration.
- MSI Standby-Immediate
- This 17ms duration is enough time to provide for a maximum write command size from the system of 64kB. According to this implementation, this provides an additional 11 ms buffer of time 206 (i.e., during the normal 30ms shutdown time period), if needed, for the HDD to finish its write operation to the particular sector, park the heads and dump the remaining cached memory data.
- the system of the present principles will complete the current data write operation, park the heads and shut down the storage device in no more than the remaining 28ms before power failure (i.e., 30ms - 2 ms to detect EPF in the present example).
- Figure 2 shows an example where the EPF time is ⁇ 30ms.
- EPF time is presented here as an example only, and those of skill in the art will recognize that EPF times for storage devices may vary between manufacturers.
- MSI of the present principles will operate to increase the time available in the EPF regardless of the manufacturer's specifications relating to the same.
- FIG. 3a shows a flow diagram of the method 300 according to the present principles.
- the EPF is detected (302).
- the Modified Standby Immediate (MSI) command is sent to the HDD circuit (304a).
- the HDD recognizes the MSI signal and finishes its current data write cycle of data to that particular sector and discards any remaining cached data without writing that data to the storage medium (306).
- the remaining data in the cache will be discarded when the power is eventually lost and the RAM cache in the HDD loses its data.
- the modified Standby-Immediate (MSI) command may also provide an acknowledge signal back to the controller to confirm that the modified write function was properly implemented (304b).
- Applications include, for example, individuals using host devices in their homes to communicate with the Internet using an Ethernet-over- cable communication framework, as described above.
- the features and aspects herein described may be adapted for other application areas and, accordingly, other applications are possible and envisioned.
- users may be located outside of their homes, such as, for example, in public spaces or at their jobs.
- protocols and communication media other than Ethernet and cable may be used.
- data may be sent and received over (and using protocols associated with) fiber optic cables, universal serial bus (USB) cables, small computer system interface (SCSI) cables, telephone lines, digital subscriber line/loop (DSL) lines, satellite connections, line-of-sight connections, and cellular connections.
- USB universal serial bus
- SCSI small computer system interface
- DSL digital subscriber line/loop
- the implementations described herein may be implemented in, for example, a method or process, an apparatus, or a software program. Even if only discussed in the context of a single form of implementation (for example, discussed only as a method), the implementation of features discussed may also be implemented in other forms (for example, an apparatus or program).
- An apparatus may be implemented in, for example, appropriate hardware, software, and firmware.
- the methods may be implemented in, for example, an apparatus such as, for example, a processor, which refers to processing devices in general, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processing devices also include communication devices, such as, for example, computers, cell phones, portable/personal digital assistants ("PDAs”), and other devices that facilitate communication of information between end-users.
- PDAs portable/personal digital assistants
- Implementations of the various processes and features described herein may be embodied in a variety of different equipment or applications, particularly, for example, equipment or applications associated with data transmission and reception.
- equipment include video coders, video decoders, video codecs, web servers, set-top boxes, laptops, personal computers, and other communication devices.
- the equipment may be mobile and even installed in a mobile vehicle.
- the methods may be implemented by instructions being performed by a processor, and such instructions may be stored on a processor- readable medium such as, for example, an integrated circuit, a software carrier or other storage device such as, for example, a hard disk, a compact diskette, a random access memory (“RAM”), or a read-only memory (“ROM”)
- the instructions may form an application program tangibly embodied on a processor-readable medium.
- a processor may include a processor-readable medium having, for example, instructions for carrying out a process.
- implementations may also produce a signal formatted to carry information that may be, for example, stored or transmitted.
- the information may include, for example, instructions for performing a method, or data produced by one of the described implementations.
- a signal may be formatted, for example, as an electromagnetic wave (for example, using a radio frequency portion of spectrum) or as a baseband signal.
- the formatting may include, for example, encoding a data stream, packetizing the encoded stream, and modulating a carrier with the packetized stream.
- the information that the signal carries may be, for example, analog or digital information.
- the signal may be transmitted over a variety of different wired or wireless links, as is known.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
Claims
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200780052267A CN101681278A (en) | 2007-03-23 | 2007-12-07 | System and method for preventing errors in a storage medium |
BRPI0721463-4A BRPI0721463A2 (en) | 2007-03-23 | 2007-12-07 | SYSTEM AND METHOD FOR ERROR PREVENTION IN A STORAGE. |
US12/450,393 US20100107016A1 (en) | 2007-03-23 | 2007-12-07 | System and method for preventing errors ina storage medium |
JP2009554501A JP2010522406A (en) | 2007-03-23 | 2007-12-07 | System and method for preventing errors in storage media |
EP07862669A EP2130122A2 (en) | 2007-03-23 | 2007-12-07 | System and method for preventing errors in a storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US91975107P | 2007-03-23 | 2007-03-23 | |
US60/919,751 | 2007-03-23 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2008118160A2 true WO2008118160A2 (en) | 2008-10-02 |
WO2008118160A3 WO2008118160A3 (en) | 2009-11-26 |
Family
ID=39713891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2007/025169 WO2008118160A2 (en) | 2007-03-23 | 2007-12-07 | System and method for preventing errors in a storage medium |
Country Status (6)
Country | Link |
---|---|
US (1) | US20100107016A1 (en) |
EP (1) | EP2130122A2 (en) |
JP (1) | JP2010522406A (en) |
CN (1) | CN101681278A (en) |
BR (1) | BRPI0721463A2 (en) |
WO (1) | WO2008118160A2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100332922A1 (en) * | 2009-06-30 | 2010-12-30 | Mediatek Inc. | Method for managing device and solid state disk drive utilizing the same |
US10643668B1 (en) | 2013-08-27 | 2020-05-05 | Seagate Technology Llc | Power loss data block marking |
US9250675B2 (en) * | 2013-12-16 | 2016-02-02 | Seagate Technology Llc | Power loss mitigation |
US9141177B1 (en) | 2014-03-21 | 2015-09-22 | Western Digital Technologies, Inc. | Data storage device employing glitch compensation for power loss detection |
US9047932B1 (en) | 2014-03-21 | 2015-06-02 | Western Digital Technologies, Inc. | Data storage device adjusting a power loss threshold based on samples of supply voltage |
US9891846B2 (en) * | 2015-03-31 | 2018-02-13 | Dell Products, Lp | System and method for preventing solid state drive corruption after dirty shutdown power loss |
CN109376031B (en) * | 2018-09-27 | 2022-10-25 | 潍柴动力股份有限公司 | Method and device for preventing error judgment of check of EEPROM storage area |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0565855A2 (en) * | 1992-04-09 | 1993-10-20 | Hewlett-Packard Company | Data integrity assurance in a disk drive upon a power failure |
WO2003096192A2 (en) * | 2002-05-14 | 2003-11-20 | Koninklijke Philips Electronics N.V. | Hard disk drive system, method of using such a system and apparatus |
US20040103238A1 (en) * | 2002-11-26 | 2004-05-27 | M-Systems Flash Disk Pioneers Ltd. | Appliance, including a flash memory, that is robust under power failure |
EP1522927A2 (en) * | 2003-10-10 | 2005-04-13 | Sony Corporation | File storage apparatus capable of restoring file management information |
US20060059380A1 (en) * | 2004-09-10 | 2006-03-16 | Fujitsu Limited | Information processing apparatus and power supply control method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6535996B1 (en) * | 1999-10-07 | 2003-03-18 | International Business Machines Corporation | Method and apparatus for protecting user data during power failures in a data processing system |
US7266619B2 (en) * | 2002-10-18 | 2007-09-04 | Texas Instruments Incorporated | Framework for high-performance hardware abstraction |
KR101107152B1 (en) * | 2004-12-16 | 2012-02-06 | 삼성전자주식회사 | Memory storage apparatus for improvement in operation performance |
US20060212644A1 (en) * | 2005-03-21 | 2006-09-21 | Acton John D | Non-volatile backup for data cache |
BRPI0815679A2 (en) * | 2007-08-21 | 2015-02-18 | Thomson Licensing | METHOD ER SYSTEM TO PREVENT CORRUPTION OF HARD DRIVE FILE SYSTEM |
US7761740B2 (en) * | 2007-12-13 | 2010-07-20 | Spansion Llc | Power safe translation table operation in flash memory |
-
2007
- 2007-12-07 JP JP2009554501A patent/JP2010522406A/en not_active Withdrawn
- 2007-12-07 EP EP07862669A patent/EP2130122A2/en not_active Withdrawn
- 2007-12-07 CN CN200780052267A patent/CN101681278A/en active Pending
- 2007-12-07 BR BRPI0721463-4A patent/BRPI0721463A2/en not_active IP Right Cessation
- 2007-12-07 WO PCT/US2007/025169 patent/WO2008118160A2/en active Application Filing
- 2007-12-07 US US12/450,393 patent/US20100107016A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0565855A2 (en) * | 1992-04-09 | 1993-10-20 | Hewlett-Packard Company | Data integrity assurance in a disk drive upon a power failure |
WO2003096192A2 (en) * | 2002-05-14 | 2003-11-20 | Koninklijke Philips Electronics N.V. | Hard disk drive system, method of using such a system and apparatus |
US20040103238A1 (en) * | 2002-11-26 | 2004-05-27 | M-Systems Flash Disk Pioneers Ltd. | Appliance, including a flash memory, that is robust under power failure |
EP1522927A2 (en) * | 2003-10-10 | 2005-04-13 | Sony Corporation | File storage apparatus capable of restoring file management information |
US20060059380A1 (en) * | 2004-09-10 | 2006-03-16 | Fujitsu Limited | Information processing apparatus and power supply control method |
Non-Patent Citations (1)
Title |
---|
"HARD FILE SHUTDOWN TECHNIQUE FOR UNEXPECTED POWER OFF CONDITIONS" IBM TECHNICAL DISCLOSURE BULLETIN, IBM CORP. NEW YORK, US, vol. 31, no. 2, 1 July 1988 (1988-07-01), page 352/353, XP002050732 ISSN: 0018-8689 * |
Also Published As
Publication number | Publication date |
---|---|
BRPI0721463A2 (en) | 2014-03-25 |
US20100107016A1 (en) | 2010-04-29 |
CN101681278A (en) | 2010-03-24 |
EP2130122A2 (en) | 2009-12-09 |
WO2008118160A3 (en) | 2009-11-26 |
JP2010522406A (en) | 2010-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100107016A1 (en) | System and method for preventing errors ina storage medium | |
JP5503539B2 (en) | Method and system for repairing a damaged hard disk file system | |
US20100153347A1 (en) | Method and system for preventing corruption of hard disk drive file system | |
CN107179909A (en) | Method for upgrading software, device and computer-readable recording medium | |
US8086938B2 (en) | Method for processing noise interference | |
WO2002019706A8 (en) | Video recording system utilizing storage redundancy to transfer error-intolerant data while transferring error-tolerant data | |
US5953513A (en) | Recording and reproducing device for recording and reproducing information from different kinds of storage media having different sector formats | |
US8014093B2 (en) | Hard disk sector/track remapping for transparent wear leveling | |
US10009574B2 (en) | Transferring multiple records including video data to/from host | |
JP4819088B2 (en) | Storage device and method for starting the storage device | |
US20050177652A1 (en) | Hard disk drive system, method of using such a system and apparatus | |
US7500135B2 (en) | Fault tolerant data storage device | |
EP1586996B1 (en) | Fault tolerant data storage method | |
KR20100004792A (en) | Method for storing defected information, information processing apparatus capable of storing defected information, information storing apparatus for transmitting defected information in storable form, and medium capable of being read by information processing apparatus, in which a software needed for storing defected information is recorded | |
JP4178915B2 (en) | Electronics | |
KR20060068383A (en) | Method for recovering data of optical disk system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 200780052267.3 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07862669 Country of ref document: EP Kind code of ref document: A2 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2009554501 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2007862669 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 6138/DELNP/2009 Country of ref document: IN |
|
ENP | Entry into the national phase |
Ref document number: PI0721463 Country of ref document: BR Kind code of ref document: A2 Effective date: 20090916 |