CN102360561A - Digital hard disc video recorder and working method thereof in vibration environment - Google Patents

Digital hard disc video recorder and working method thereof in vibration environment Download PDF

Info

Publication number
CN102360561A
CN102360561A CN2011102316861A CN201110231686A CN102360561A CN 102360561 A CN102360561 A CN 102360561A CN 2011102316861 A CN2011102316861 A CN 2011102316861A CN 201110231686 A CN201110231686 A CN 201110231686A CN 102360561 A CN102360561 A CN 102360561A
Authority
CN
China
Prior art keywords
hard disk
hard
reset
status register
video recorder
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
CN2011102316861A
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN2011102316861A priority Critical patent/CN102360561A/en
Publication of CN102360561A publication Critical patent/CN102360561A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention relates to a data storage technology, and discloses a digital hard disc video recorder (DVR) and a working method thereof in a vibration environment. In the invention, after soft reset, when a state register of a hard disc is kept in a busy signal all the time, hard reset is initiated for the hard disc; after the hard reset is succeeded, a direct memory access attribute of the hard disc is newly configured; and the hard disc can still be normally recovered after being read and written abnormally even in a high-strength vibration environment. When the hard disc accesses abnormally, counting is stopped if abnormality is caused by long-term busying of a driver, so that discarding of the hard disc can be avoided when a vehicle-mounted DVR works in a long-term vibration environment. The hard disc is detected by reading the value of the state register; and even if the vehicle-mounted DVR is started in a strong vibration environment, the accuracy of detecting the hard disc can still be obviously improved.

Description

Digital hard disc video recorder and the method for work under vibration environment thereof
Technical field
The present invention relates to data storage technology, the reset mechanism when particularly vehicle-mounted DVR disk read-write is unusual under the strong motion environment.
Background technology
Ide interface is the external interface that generally uses now, mainly connects hard disk and CD-ROM drive.Adopt 16 bit data parallel transfer modes, volume is little, and data transmission is fast.An ide interface can only connect two external units.
The English full name of IDE is " Integrated Drive Electronics ", i.e. " ide ", and its original idea is meant the hard disk drive that integrates " hard disk controller " and " disk body ".The way that integrates disk body and controller has reduced the number of cable and the length of hard-disk interface; Reliability of data transmission has obtained enhancing; It is easier that hard disk manufacturing gets up to become, because hard disk manufacture manufacturer does not need to worry whether the hard disk of oneself is compatible with the controller of other manufacturers produce again.As far as the user, hard disk installs also more convenient.So far just always in continuous development, performance also constantly improves this interfacing of IDE from birth, and cheap, the compatible strong characteristics that it has are for it has brought up other irreplaceable status of type hard disk.
Early stage ide interface has two kinds of transmission modes, and one is PIO (Programming I/O) pattern, and another is direct memory visit (Direct Memory Access is called for short " DMA ").Though DMA modular system resource occupation is few, need extra driver or setting, therefore received degree is lower.Afterwards under to the more and more high situation of rate request, the DMA pattern is because to carry out efficient better, and operating system begins direct support, and manufacturer has more released more and more fast DMA mode transfer velocity standard.
Advanced Technology Attachment (Advanced Technology Attachment is called for short " ATA ") technology is a technical manual family about IDE (Integrated Device Electronics).
The IDE_SELECT_REG:IDE mask register also is called as IDE device/headregister, and wherein one is used for indicating master-slave equipment carry state, and particular content has description in the ATA protocol specification.
Status register: belong to the IDE controller I/O registers group of standard, preserved the state of disc driver when carrying out last order, tracking BSY (representing to hurry in busy position, set) wherein can grasp the reset mode of hard disk.
Error register: belong to the IDE controller I/O registers group of standard, preserve the diagnosis sign indicating number of the last order of carrying out.
Control register: belong to the IDE controller I/O registers group of standard, wherein the SRST position is set to " 1 ", and corresponding disc driver will be in the warm reset state.When this data bit became " 0 ", corresponding disc driver will be carried out start-up course.
Warm reset (SRST): the software reset, realize through controling register SRST position.
Hard reset (HRST): hardware reset, be similar to the operation of hard disk being carried out power-down rebooting, force hard disk to carry out initialization again, can realize through the RESET pin level of control ide interface.
Master-slave equipment: an ide interface can be controlled two equipment of principal and subordinate.
DMA: direct memory access.
Fig. 1 is that existing linux system IDE drives the detection schematic flow sheet to hard disk.Carry out the IDE module initialization behind the hard reset, after the waiting facilities state is ready, reads the IDE_SELECT_REG register value and judge whether ide interface has the hard disk carry.
Wherein the 4th step was read the value of IDE_SELECT_REG, and taking main mouthful of hard disk (Master) is example, if insert main mouthful hard disk, this value is 0 * a0; If insert a main mouthful hard disk, this value is 0 * 20, that is to say that existing driving leans on this register to judge hard disk carry situation above the ide interface; But in actual application, can find such problem: if DVR deactivation under the environment of intensity vibrations; The value of IDE_SELECT_REG is easy to let driver produce erroneous judgement, promptly under the situation that inserts hard disk, has still read the state value that does not connect hard disk, will make DVR obtain wrong hard disk carry information like this; And have no unusual; Even the intensity vibrations stage stops, DVR still still is operated under the no disk state, but but this moment hard disk probably returned to duty.
In vehicle-mounted DVR video process, carrying out the high strength vibrations can make video recording end; We know that the access process of IDE hard disk is that host side is initiated instruction request to hard disk earlier; Hard disk receives that instruction can carry out the visit and the data-moving of sector; Can return an interruption after the completion to host side, not have for a long time and interrupt returning causing operation overtime but vehicle-mounted DVR might make magnetic head can not find designated sector under the situation of strong motion, probably make system stuck this moment; Only if hard disk outage; Can't recover otherwise be in a kind of busy condition (reading the BSY bit from the status register of hard disk drive) always, traditional method to the hard disk software reset can't let disk recovery arrive normally, but continues to respond the instruction of back.
Inventor of the present invention finds, there are 2 serious problems aspect vehicle-mounted in prior art:
A) starting outfit can not find hard disk under the high strength vibration environment.
B) the existing reset mechanism in the unusual back of disk read-write possibly can't be recovered.
How satisfying the job stability requirement of vehicle-mounted DVR, make under the environment that is operated in the high strength vibrations that system can be stable, is present problem demanding prompt solution.
Summary of the invention
The object of the present invention is to provide a kind of digital hard disc video recorder and the method for work under vibration environment thereof,, still can normally recover after disk read-write is unusual even under the high strength vibration environment.
For solving the problems of the technologies described above, embodiment of the present invention provides the method for work of a kind of digital hard disc video recorder under vibration environment, may further comprise the steps:
When disk read-write is unusual, this hard disk is initiated warm reset;
After the warm reset, if in scheduled duration, the status register of this hard disk keeps busy signal always, then this hard disk is initiated hard reset;
Behind the hard reset, if in scheduled duration, the busy signal of the status register of this hard disk is removed, and then reconfigures the direct memory access attribute of this hard disk.
Embodiment of the present invention also provides a kind of digital hard disc video recorder, comprising:
Hard disk is comprising status register and DASD;
The warm reset unit is used for hard disk is initiated warm reset;
The hard reset unit is used for hard disk is initiated hard reset;
The abnormal monitoring unit is used to monitor the state of hard disk, detects hard disk and read-write takes place when unusual, and warm reset is initiated to hard disk in control warm reset unit;
First control module is used for after warm reset, judges whether the status register of this hard disk keeps busy signal always in scheduled duration, if then control the hard reset unit hard disk is initiated hard reset;
Second control module is used for behind hard reset, judges whether the busy signal of the status register of this hard disk is removed in scheduled duration, if then reconfigure the direct memory access attribute of this hard disk.
Embodiment of the present invention compared with prior art, the key distinction and effect thereof are:
After the warm reset; When the status register of hard disk keeps busy signal always, then this hard disk is initiated hard reset, and after the hard reset success, reconfigure the direct memory access attribute of this hard disk; Even under the high strength vibration environment, still can normally recover after disk read-write is unusual.
Vibrations cause can repairing automatically unusually in the video process, and after vibrations weaken or finish, return to normal condition.
Further; When hard disk visit generation is unusual; The status register through reading hard disk drive and the value of error register judge that current hard disk belongs to sector corruption, driver is busy or other reasons causes; If since the sector make mistakes cause then carry out error count unusually; When error count reaches some ultimate value, can hang up this hard disk and not do follow-up any processing, if since driver for a long time busy cause then do not do counting unusually, avoid that work can abandon hard disk under the vehicle-mounted long-time vibration environment.
Further, survey hard disk,, still can significantly improve the accuracy of surveying hard disk even under the strong motion environment, start vehicle-mounted DVR through the value of read status register.
Description of drawings
Fig. 1 is that existing linux system IDE drives the detection schematic flow sheet to hard disk;
Fig. 2 is the schematic flow sheet of the method for work of a kind of digital hard disc video recorder under vibration environment in the first embodiment of the invention;
Fig. 3 is the schematic flow sheet of the method for work of a kind of digital hard disc video recorder under vibration environment in the third embodiment of the invention;
Fig. 4 is the structural representation of a kind of digital hard disc video recorder in the four embodiment of the invention;
Fig. 5 is the structural representation of a kind of digital hard disc video recorder in the sixth embodiment of the invention.
Embodiment
In following narration, many ins and outs have been proposed in order to make the reader understand the application better.But, persons of ordinary skill in the art may appreciate that even without these ins and outs with based on the many variations and the modification of following each embodiment, also can realize each claim of the application technical scheme required for protection.
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
First embodiment of the invention relates to the method for work of a kind of digital hard disc video recorder under vibration environment.Fig. 2 is the schematic flow sheet of the method for work of this digital hard disc video recorder under vibration environment.Specifically, mainly may further comprise the steps:
In step 201, when disk read-write is unusual, this hard disk is initiated warm reset.
Hard disk is called hard disk drive again.Cisco unity malfunction is in long busy condition if vibrations take place hard disk, and then we at first carry out warm reset trial processing, promptly send the warm reset signal to hard disk.
After this get into step 202, judge whether warm reset is successful.
If, the end that then resets, process ends; If not, then get into step 203.
After the warm reset, if in scheduled duration, the busy signal of the status register of this hard disk is removed, then warm reset success, disk recovery operate as normal.If busy signal is not removed at the appointed time, then warm reset failure.
In step 203, hard disk is initiated hard reset.
After the warm reset, if in scheduled duration, the status register of this hard disk keeps busy signal always, then this hard disk is initiated hard reset, makes hard disk get into the state of power-down rebooting.
After this get into step 204, judge whether the BSY busy signal is removed.
If then get into step 205; If not, then get into step 208.
Behind the hard reset, status register is scanned, if busy signal is removed at the appointed time, then hard reset success; If busy signal is not removed at the appointed time, then hard reset is overtime.
In step 205, carry out DMA and reset.
Reconfigure the DMA attribute of hard disk drive, because can return to the PIO pattern of acquiescence, so the transmission mode that hard disk will be set to mode designated, otherwise can reduce data transmission rate through the transmission property of hard reset hard disk drive.
Behind the hard reset, if in scheduled duration, the busy signal of the status register of this hard disk is removed, and then reconfigures the direct memory access attribute of this hard disk.
After the warm reset; When the status register of hard disk keeps busy signal always, then this hard disk is initiated hard reset, and after the hard reset success, reconfigure the direct memory access attribute of this hard disk; Even under the high strength vibration environment, still can normally recover after disk read-write is unusual.
After this get into step 206, judge whether the BSY busy signal is removed.
If, the end that then resets, process ends; If not, then get into step 207.
In scheduled duration, if the busy signal of the status register of this hard disk is removed then hard reset success, disk recovery operate as normal.If busy signal delays to remove, explain that hard disk is in vibrating state.
In step 207, judge and wait for whether overtime the BSY busy signal is removed.
If then get into step 209; If not, then get into step 206.
Can suspend follow-up instruction to hard disk this moment and send, and the notice upper system stops to send instructions down waiting for vibrations releasings (DVR suspends video recording), carry out automatic regular polling later on once more and check status register.
In step 208, judge and wait for whether overtime the BSY busy signal is removed.
If then get into step 209; If not, then get into step 204.
In step 209, start and report to the police.
Here can not wait for always that the long period (as 10 minutes) can't be removed busy signal, start the alert notice user, be the situation of very severe this moment, and we suspect maybe be relevant with the cable loose contact, can not get rid of the vibrations meeting certainly considerably beyond 10 minutes.
After this get back to step 203 hard reset once more once more.
Second embodiment of the invention relates to the method for work of a kind of digital hard disc video recorder under vibration environment.
Second embodiment improves on the basis of first embodiment, and main improvements are: ignore the error count that the status register owing to hard disk keeps busy signal to cause for a long time.When hard disk visit generation is unusual; The status register through reading hard disk drive and the value of error register judge that current hard disk belongs to sector corruption, driver is busy or other reasons causes; If since the sector make mistakes cause then carry out error count unusually; When error count reaches some ultimate value, can hang up this hard disk and not do follow-up any processing; If since driver for a long time busy cause then do not do counting unusually, avoid that work can abandon hard disk under the vehicle-mounted long-time vibration environment.Specifically:
Further comprising the steps of:
When hard disk visit takes place unusually, in the time of need carrying out error count,, this error count keep busy signal to cause for a long time if being status register by hard disk, then ignore this error count.
In addition, be appreciated that in some other embodiments of the present invention, keep busy signal to cause for a long time, also can carry out error count if this error count is a status register by hard disk.
Third embodiment of the invention relates to the method for work of a kind of digital hard disc video recorder under vibration environment.Fig. 3 is the schematic flow sheet of the method for work of this digital hard disc video recorder under vibration environment.
The 3rd embodiment improves on the basis of second embodiment, and main improvements are: the value through read status register is surveyed hard disk, even under the strong motion environment, start vehicle-mounted DVR, still can significantly improve the accuracy of surveying hard disk.
When digital hard disc video recorder starts; In scheduled duration; Read the value of the status register of hard disk repeatedly through ide IDE bus, if the value of the status register that reads is 0 * 50, then judging has hard disk to insert; If the value of the status register that reads is 0 * 8, then judging does not have hard disk to insert.
In addition, be appreciated that in some other embodiments of the present invention, also can not survey hard disk, for example, can survey hard disk through the value that reads mask register through the value of read status register.Certainly, if the value of the status register that reads is not 0 * 50, but other other value, also can judge has hard disk to insert.If the value of the status register that reads is not 0 * 8, but other other value, can judge does not have hard disk to insert yet.
Specifically, as shown in Figure 3, mainly may further comprise the steps:
In step 201, IDE equipment is carried out hard reset.
After this get into step 202, configuration ID E module controls register.
After this get into step 203, choose the IDE main equipment.
After this get into step 204, the scanning time-out time is set.
After this get into step 205, judge whether overtime.
If then get into step 208; If not, then get into step 206.
In step 206, judge whether the value of status register equals 0 * 50.
If, then get into step 207, if not, then get into step 205 once more.
In step 207, explain that main mouth has the hard disk carry.
In step 208, explain that main mouth does not have the hard disk carry.
After this get into step 209, choose the IDE slave unit.
After this get into step 210, the scanning time-out time is set.
After this get into step 211, judge whether overtime.
If then get into step 214; If not, then get into step 212.
In step 212, judge whether the value of status register equals 0 * 50.
If, then get into step 213, if not, then get into step 211 once more.
In step 213, explaining from mouth (Slave) has the hard disk carry.After this process ends.
In step 214, explaining from mouth does not have the hard disk carry.After this process ends.
Each method embodiment of the present invention all can be realized with modes such as software, hardware, firmwares.No matter the present invention be with software, hardware, or the firmware mode realize; Instruction code can be stored in the storer of computer-accessible of any kind (for example permanent or revisable; Volatibility or non-volatile; Solid-state or non-solid-state, fixing perhaps removable medium or the like).Equally; Storer can for example be programmable logic array (Programmable Array Logic; Abbreviation " PAL "), RAS (Random Access Memory; Abbreviation " RAM "), programmable read only memory (Programmable Read Only Memory is called for short " PROM "), ROM (read-only memory) (Read-Only Memory is called for short " ROM "), Electrically Erasable Read Only Memory (Electrically Erasable Programmable ROM; Abbreviation " EEPROM "), disk, CD, digital versatile disc (Digital Versatile Disc is called for short " DVD ") or the like.
Four embodiment of the invention relates to a kind of digital hard disc video recorder.Fig. 4 is the structural representation of this digital hard disc video recorder.This digital hard disc video recorder comprises:
Hard disk is comprising status register and DASD.
The warm reset unit is used for hard disk is initiated warm reset.
The hard reset unit is used for hard disk is initiated hard reset.
The abnormal monitoring unit is used to monitor the state of hard disk, detects hard disk and read-write takes place when unusual, and warm reset is initiated to hard disk in control warm reset unit.
Timing unit is used to set scheduled duration.
First control module is used for after warm reset, judges whether the status register of this hard disk keeps busy signal always in scheduled duration, if then control the hard reset unit hard disk is initiated hard reset.
Second control module is used for behind hard reset, judges whether the busy signal of the status register of this hard disk is removed in scheduled duration, if then reconfigure the direct memory access attribute of this hard disk.
Vibrations cause can repairing automatically unusually in the video process, and after vibrations weaken or finish, return to normal condition.
This digital hard disc video recorder is a kind of vehicle-mounted digital DVR.
In addition, be appreciated that this digital hard disc video recorder also is not limited under the vehicle environment, also can be used under other the environment of high strength vibrations.
First embodiment is and the corresponding method embodiment of this embodiment, this embodiment can with the enforcement of working in coordination of first embodiment.The correlation technique details of mentioning in first embodiment is still effective in this embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in this embodiment also can be applicable in first embodiment.
Fifth embodiment of the invention relates to a kind of digital hard disc video recorder.
The 5th embodiment improves on the basis of the 4th embodiment; Main improvements are: when hard disk visit generation is unusual; The status register through reading hard disk drive and the value of error register belong to sector corruption when judging current hard disk, driver is busy or other reasons causes; If since the sector make mistakes cause then carry out error count unusually; When error count reaches some ultimate value, can hang up this hard disk and not do follow-up any processing, if since driver for a long time busy cause then do not do counting unusually, avoid that work can abandon hard disk under the vehicle-mounted long-time vibration environment.Specifically:
Also comprise:
Error count unit is used for taking place to carry out error count when unusual when hard disk visit, when carrying out error count, keeps busy signal to cause for a long time if this error count is a status register by hard disk, then ignores this error count.
In addition, be appreciated that in some other embodiments of the present invention, keep busy signal to cause for a long time, also can carry out error count if this error count is a status register by hard disk.
Second embodiment is and the corresponding method embodiment of this embodiment, this embodiment can with the enforcement of working in coordination of second embodiment.The correlation technique details of mentioning in second embodiment is still effective in this embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in this embodiment also can be applicable in second embodiment.
Sixth embodiment of the invention relates to a kind of digital hard disc video recorder.Fig. 5 is the structural representation of this digital hard disc video recorder.
The 6th embodiment improves on the basis of the 5th embodiment, and main improvements are: the environment start down of high strength vibrations significantly improves the accuracy of surveying hard disk.Specifically:
Also comprise:
The hard disk detecting unit is used to detect the access situation of hard disk.
When digital hard disc video recorder started, in scheduled duration, through the IDE bus value of read status register repeatedly, if the value of the status register that reads is 0 * 50, the hard disk detecting unit is then judged had hard disk to insert.If the value of the status register that reads is 0 * 8, the hard disk detecting unit is then judged does not have hard disk to insert.
In addition, be appreciated that in some other embodiments of the present invention, also can not survey hard disk, for example, can survey hard disk through the value that reads mask register through the value of read status register.Certainly, if the value of the status register that reads is not 0 * 50, but other other value, also can judge has hard disk to insert.If the value of the status register that reads is not 0 * 8, but other other value, can judge does not have hard disk to insert yet.
The 3rd embodiment is and the corresponding method embodiment of this embodiment, this embodiment can with the enforcement of working in coordination of the 3rd embodiment.The correlation technique details of mentioning in the 3rd embodiment is still effective in this embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in this embodiment also can be applicable in the 3rd embodiment.
Need to prove; Each unit of mentioning in each digital hard disc video recorder of the present invention all is a logical block, and physically, a logical block can be a physical location; It also can be the part of a physical location; Can also realize that the physics realization mode of these logical blocks itself is not most important with the combination of a plurality of physical locations, the combination of the function that these logical blocks realized is the key that just solves technical matters proposed by the invention.In addition; For outstanding innovation part of the present invention; Above-mentioned each digital hard disc video recorder of the present invention will not introduced with solving the not too close unit of technical matters relation proposed by the invention, and this does not show that there is not other unit in the said equipment embodiment.
Though through reference some preferred implementation of the present invention; The present invention is illustrated and describes; But those of ordinary skill in the art should be understood that and can do various changes to it in form with on the details, and without departing from the spirit and scope of the present invention.

Claims (11)

1. the method for work of a digital hard disc video recorder under vibration environment is characterized in that, may further comprise the steps:
When disk read-write is unusual, this hard disk is initiated warm reset;
After the warm reset, if in scheduled duration, the status register of this hard disk keeps busy signal always, then this hard disk is initiated hard reset;
Behind the hard reset, if in scheduled duration, the busy signal of the status register of this hard disk is removed, and then reconfigures the direct memory access attribute of this hard disk.
2. the method for work of digital hard disc video recorder according to claim 1 under vibration environment is characterized in that, and be further comprising the steps of:
When the visit of said hard disk takes place unusually, in the time of need carrying out error count,, this error count keep busy signal to cause for a long time if being status register by hard disk, then ignore this error count.
3. the method for work of digital hard disc video recorder according to claim 1 under vibration environment is characterized in that, said when disk read-write is unusual; This hard disk is initiated after the step of warm reset; Further comprising the steps of: after the warm reset, if in scheduled duration, the busy signal of the status register of this hard disk is removed; Then warm reset success, the disk recovery operate as normal.
4. the method for work of digital hard disc video recorder according to claim 3 under vibration environment is characterized in that, said when disk read-write is unusual; This hard disk is initiated after the step of warm reset; Further comprising the steps of: behind the hard reset, if in the scheduled duration, the status register of this hard disk keeps busy signal always; Hard reset is overtime, then starts the alert notice user.
5. the method for work of digital hard disc video recorder according to claim 4 under vibration environment is characterized in that, behind said hard reset; If in scheduled duration; The busy signal of the status register of this hard disk is removed, and then reconfigures after the step of direct memory access attribute of this hard disk, and is further comprising the steps of: in scheduled duration; If the status register of this hard disk keeps busy signal always, then start the alert notice user; If the busy signal of the status register of this hard disk is removed, then hard reset success, disk recovery operate as normal.
6. according to the method for work of each described digital hard disc video recorder under vibration environment in the claim 1 to 5, it is characterized in that, further comprising the steps of:
When said digital hard disc video recorder starts, in scheduled duration, read the value of the status register of hard disk repeatedly through ide IDE bus, if the value of the said status register that reads is 0 * 50, then judging has hard disk to insert.
7. the method for work of digital hard disc video recorder according to claim 6 under vibration environment is characterized in that, and be further comprising the steps of:
In the step of the value of the said status register that reads hard disk through the IDE bus repeatedly, if the value of the said status register that reads is 0 * 8, then judging does not have hard disk to insert.
8. a digital hard disc video recorder is characterized in that, comprising:
Hard disk is comprising status register and DASD;
The warm reset unit is used for hard disk is initiated warm reset;
The hard reset unit is used for hard disk is initiated hard reset;
The abnormal monitoring unit is used to monitor the state of hard disk, detects hard disk and read-write takes place when unusual, controls said warm reset unit hard disk is initiated warm reset;
First control module is used for after warm reset, judges whether the status register of this hard disk keeps busy signal always in scheduled duration, if then control said hard reset unit hard disk is initiated hard reset;
Second control module is used for behind hard reset, judges whether the busy signal of the status register of this hard disk is removed in scheduled duration, if then reconfigure the direct memory access attribute of this hard disk.
9. digital hard disc video recorder according to claim 8 is characterized in that, also comprises:
Error count unit is used for taking place to carry out error count when unusual when the visit of said hard disk, when carrying out error count, keeps busy signal to cause for a long time if this error count is a status register by said hard disk, then ignores this error count.
10. according to Claim 8 or 9 described digital hard disc video recorders, it is characterized in that, also comprise:
The hard disk detecting unit is used to detect the access situation of hard disk;
When digital hard disc video recorder starts, in scheduled duration, read the value of said status register repeatedly through the IDE bus, if the value of the said status register that reads is 0 * 50, said hard disk detecting unit is then judged has hard disk to insert; If the value of the said status register that reads is 0 * 8, said hard disk detecting unit is then judged does not have hard disk to insert.
11. digital hard disc video recorder according to claim 10 is characterized in that, said digital hard disc video recorder is the vehicle-mounted digital DVR.
CN2011102316861A 2011-08-12 2011-08-12 Digital hard disc video recorder and working method thereof in vibration environment Pending CN102360561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102316861A CN102360561A (en) 2011-08-12 2011-08-12 Digital hard disc video recorder and working method thereof in vibration environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102316861A CN102360561A (en) 2011-08-12 2011-08-12 Digital hard disc video recorder and working method thereof in vibration environment

Publications (1)

Publication Number Publication Date
CN102360561A true CN102360561A (en) 2012-02-22

Family

ID=45585867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102316861A Pending CN102360561A (en) 2011-08-12 2011-08-12 Digital hard disc video recorder and working method thereof in vibration environment

Country Status (1)

Country Link
CN (1) CN102360561A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260278A (en) * 2015-11-04 2016-01-20 四川效率源信息安全技术股份有限公司 Detecting and repairing method for respond loss of Seagate hard disk caused by data area sequential access
CN105338278A (en) * 2014-07-29 2016-02-17 杭州海康威视数字技术股份有限公司 Method and device for repairing vehicle-mounted digital video recorder

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6415383B1 (en) * 1999-10-06 2002-07-02 International Business Machines Corporation Address offset feature for a hard disk drive
CN1728273A (en) * 2004-07-30 2006-02-01 日本胜利株式会社 Information processing appliance
CN101031053A (en) * 2007-03-30 2007-09-05 杭州华为三康技术有限公司 Video-information storing device and method
CN101198020A (en) * 2006-12-07 2008-06-11 厦门华侨电子股份有限公司 Video data file transmission and playing method and device with hard disk as storage medium
CN101212618A (en) * 2006-12-26 2008-07-02 上海乐金广电电子有限公司 Digital video recorder fault monitoring method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6415383B1 (en) * 1999-10-06 2002-07-02 International Business Machines Corporation Address offset feature for a hard disk drive
CN1728273A (en) * 2004-07-30 2006-02-01 日本胜利株式会社 Information processing appliance
CN101198020A (en) * 2006-12-07 2008-06-11 厦门华侨电子股份有限公司 Video data file transmission and playing method and device with hard disk as storage medium
CN101212618A (en) * 2006-12-26 2008-07-02 上海乐金广电电子有限公司 Digital video recorder fault monitoring method
CN101031053A (en) * 2007-03-30 2007-09-05 杭州华为三康技术有限公司 Video-information storing device and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张乘学 等: "单片机应用系统硬件自复位与软件条件复位的综合设计", 《微计算机应用》 *
龙小奇: "基于SATA接口的固态硬盘控制器设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338278A (en) * 2014-07-29 2016-02-17 杭州海康威视数字技术股份有限公司 Method and device for repairing vehicle-mounted digital video recorder
CN105338278B (en) * 2014-07-29 2019-01-08 杭州海康威视数字技术股份有限公司 The restorative procedure and device of vehicle-mounted digital harddisk video recorder
CN105260278A (en) * 2015-11-04 2016-01-20 四川效率源信息安全技术股份有限公司 Detecting and repairing method for respond loss of Seagate hard disk caused by data area sequential access

Similar Documents

Publication Publication Date Title
US7525745B2 (en) Magnetic disk drive apparatus and method of controlling the same
JPH1078897A (en) Computer data storage system
CN101681281A (en) Emerging bad block detection
US5923897A (en) System for adapter with status and command registers to provide status information to operating system and processor operative to write eject command to command register
US7421596B2 (en) Disk array system
US20120054434A1 (en) Information Processing Apparatus and Cache Control Method
US20120210059A1 (en) Cascaded raid controller
US7478195B2 (en) Disk device with degree of multiplexing based on a received logical block address
CN102360561A (en) Digital hard disc video recorder and working method thereof in vibration environment
CN108170375B (en) Overrun protection method and device in distributed storage system
US20160132382A1 (en) Computing system with debug assert mechanism and method of operation thereof
CN202353660U (en) Digital video recorder
TWI396994B (en) Controller capable of preventing spread of computer viruses and storage system and metho thereof
JP2007048017A (en) Storage system and storage control method
JPH11249821A (en) Data storage device and interface condition setting method to be applied to the same
US6760788B2 (en) Domain validation process that is transparent to a device driver
US7398416B2 (en) Proactive driver response to an operating system if a drive is removed from a RAID configuration
JP5823755B2 (en) Storage device and program
US8214683B2 (en) Image forming apparatus, control method, and storage medium
JP2019125109A (en) Storage device, storage system, and program
TW201447762A (en) Electronic system with system modification control mechanism and method of operation thereof
CN110737483B (en) Signaling and data transmission method based on Windows USB MassStorage class
US8627157B2 (en) Storing apparatus
JP3457602B2 (en) Disk unit
JP4532877B2 (en) Removable media device, host device, program and recording medium thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120222