CN103544975A - Vehicular hard disk drive protection method - Google Patents

Vehicular hard disk drive protection method Download PDF

Info

Publication number
CN103544975A
CN103544975A CN201310484817.6A CN201310484817A CN103544975A CN 103544975 A CN103544975 A CN 103544975A CN 201310484817 A CN201310484817 A CN 201310484817A CN 103544975 A CN103544975 A CN 103544975A
Authority
CN
China
Prior art keywords
signal
hard disk
video
cpu processor
buffer memory
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.)
Granted
Application number
CN201310484817.6A
Other languages
Chinese (zh)
Other versions
CN103544975B (en
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.)
Shanghai Tong Li Information Technology Co Ltd
Original Assignee
Shanghai Tong Li Information 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 Shanghai Tong Li Information Technology Co Ltd filed Critical Shanghai Tong Li Information Technology Co Ltd
Priority to CN201310484817.6A priority Critical patent/CN103544975B/en
Publication of CN103544975A publication Critical patent/CN103544975A/en
Application granted granted Critical
Publication of CN103544975B publication Critical patent/CN103544975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the technical field of vehicular hard disk video recorders, in particular to a vehicular hard disk drive protection method. The method is characterized in that processing software in the vehicular hard disk video recorder controlled through a single-chip microcomputer system transfers video files in a cache medium to an SATA hard disk drive. Compared to the prior art, the method has the advantages that the running state of a vehicle is judged by judging ACC signals so as to a proper time for transferring from the cache medium to a primary hard drive of the vehicular hard disk drive video recorder; when the ACC signals are valid, cache medium video recording is performed; at this moment, the primary hard drive of the vehicular hard disk drive video recorder hibernates; when the ACC signals are invalid, the primary hard drive of the vehicular hard disk drive video recorder is started, transfer is cleaned, and the service life of the primary hard drive in vehicular applications is prolonged effectively; an SD card or onboard NAND flash is used as the cache medium for audio and video data files, and the problem that too small cache of the electronic sensor causes loss of videos is solved thoroughly.

Description

A kind of guard method of vehicle-mounted hard disks
Technical field
The present invention relates to vehicle-mounted hard disk videocorder technical field, specifically a kind of guard method of vehicle-mounted hard disks.
Background technology
Under the environment of Vehicular vibration, vehicle-mounted DVR is substantially all to adopt the mode of physics damping to reduce hard disk failure rate, but because disk read-write is the mode that adopts magnetic head to contact with disc, there is intrinsic drawback in it, no matter adopts which type of physics damping modes, the damage of hard disk is inevitable, be the length difference of service time, three months of having, some half a year, maximum 1 year, substantially all can there is hard disk corruptions.
In addition, also have part producer to select the scheme of electronics damping, by external acceleration sensor, obtain vibration information, according to the intensity of vibration, the disk read-write cycle is intervened, to protect hard disc magnetic head normally to read and write.Because the Vehicular vibration duration is longer, system cache is limited, and therefore, its effect of the electronics damping of this mode is also very limited.
Although visible existing hard disk shock-absorbing method, by the increase of hardware cost, has reduced the failure rate of hard disk to a certain extent, all cannot effectively solve the problem of vehicle-mounted hard disk videocorder hard disk corruptions.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, by the detection of ACC signal is judged to suitable reading opportunity, video file is transferred to the Primary Hard Drive of vehicle-mounted hard disk videocorder from buffer memory medium, avoids, under vibration environment, Primary Hard Drive is carried out to read-write operation.
For achieving the above object, design a kind of guard method of vehicle-mounted hard disks, the process software of establishing in the vehicle-mounted hard disk videocorder that adopts Single Chip Microcomputer (SCM) system to control is transferred to the video file on buffer memory medium on SATA hard disk, it is characterized in that in conjunction with process software, being handled as follows flow process after vehicle-mounted hard disk videocorder powers on: whether (1) Single Chip Microcomputer (SCM) system detects ACC signal effective; (2) whether ACC invalidating signal returns to previous step continuation detection ACC signal effective, and ACC signal is effective, and Single Chip Microcomputer (SCM) system powers on to CPU processor; (3) the SATA hard disk dormancy of vehicle-mounted hard disk videocorder; (4) buffer memory medium video recording: CPU processor gathers audio frequency and video by audio-video collection module, records a video, and video file is deposited on buffer memory medium; (5) whether detection ACC signal is effective; ACC signal effectively returns to previous step " video recording of buffer memory medium ", and ACC invalidating signal judges whether time of delay switching-off that arrive to set; (6) do not arrive the time of the delay switching-off of setting, return to " video recording of buffer memory medium " step, arrived the time of the delay switching-off of setting, start SATA hard disk; (7) stop the video recording of buffer memory medium; (8) compare the file on buffer memory medium and Primary Hard Drive; (9) the new file of nothing on buffer memory medium, clears up buffer memory medium; On buffer memory medium, have new file, from buffer memory medium to the new file of unloading on SATA hard disk; Then whether effectively detect ACC signal, ACC signal effectively interrupts unloading, returns to " the SATA hard disk dormancy of vehicle-mounted hard disk videocorder " step; If ACC invalidating signal, has judged whether unloading, if do not complete unloading, continue from buffer memory medium, to the new file of unloading on SATA hard disk, if completed unloading, to clear up buffer memory medium; (10) standby: single-chip microcomputer works on, the power-off of CPU processor; (11) return to (1) step " it is whether effective that Single Chip Microcomputer (SCM) system detects ACC signal ".
Described vehicle-mounted hard disk videocorder for being provided with multiple signals end on CPU processor, wherein, the two-way connection MCU of the first signal end single-chip microcomputer of CPU processor, the input end of MCU single-chip microcomputer connects the output terminal of ACC signal acquisition module, the two-way connection Nand of the secondary signal end Flash flash memory of CPU processor, the signal end of the two-way connection SD of the 3rd signal end card of CPU processor, the first signal end of the two-way connection USB of the 4th signal end expansion module of CPU processor, the two-way connection SATA of the secondary signal end hard disk of USB expansion module.
Described buffer memory medium is SD card or Nand Flash flash memory.
The first signal input end of described CPU processor connects the first signal output terminal of video and audio acquisition module, the first signal output terminal of CPU processor connects the first signal input end of video and audio acquisition module, the secondary signal input end of video and audio acquisition module connects camera, the 3rd signal input part of video and audio acquisition module connects acoustic pickup, the secondary signal output terminal of video and audio acquisition module connects liquid crystal display, and the 3rd signal output part of video and audio acquisition module connects loudspeaker.
The two-way connection 10/100M of the 5th signal end Ethernet of described CPU processor, the signal end of the two-way connection WIFI of the 3rd signal end module of USB expansion module, the signal end of the two-way connection 3G of the 4th signal end module of USB expansion module, the 6th signal end of CPU processor is the signal end of two-way connection GPS module also.
The two-way connection DDR2 of the 7th signal end flash memory of described CPU processor, the two-way connection Flash of the 8th signal end flash memory of CPU processor.
The secondary signal input end of described CPU processor connects ZEM, and the secondary signal output terminal of CPU processor connects alarm output module.
The present invention compared with the existing technology, by the judgement to ACC signal, judge the transport condition of vehicle, thereby select the suitable opportunity of the Primary Hard Drive unloading from buffer memory medium to vehicle-mounted hard disk videocorder, when ACC signal is effective, carry out the video recording of buffer memory medium, now the Primary Hard Drive of vehicle-mounted hard disk videocorder is in dormant state, when ACC invalidating signal, the Primary Hard Drive of vehicle-mounted hard disk videocorder starts, carry out unloading cleaning work, effectively extend Primary Hard Drive vehicle-mounted running with in serviceable life, and guarantee to store integrality and the security of data, damping effect is remarkable, video recording data are not lost continuously, realized efficient unloading technology, guarantee data fast transfer, and the NAND flash that employing SD card or plate carry is used as the buffer memory medium of audio, video data file, realize the Coutinuous store of data, different according to the SD card capacity of selecting, cache-time can reach more than 2 days, thoroughly solves the too little and problem that causes video recording to be lost of electronic sensor buffer memory.
Accompanying drawing explanation
Fig. 1 is the connection block diagram of vehicle-mounted hard disk videocorder in the embodiment of the present invention.
Fig. 2 is the FB(flow block) of process software in the embodiment of the present invention.
Embodiment
Now by reference to the accompanying drawings the present invention is further described.
Embodiment 1
Referring to Fig. 1, the present invention includes CPU processor, MCU single-chip microcomputer, ACC signal acquisition module, audio-video collection module, camera, loudspeaker, SATA hard disk, it is characterized in that: CPU processor is provided with multiple signals end, wherein, the two-way connection MCU of the first signal end single-chip microcomputer of CPU processor, the input end of MCU single-chip microcomputer connects the output terminal of ACC signal acquisition module, the two-way connection Nand of the secondary signal end Flash flash memory of CPU processor, the signal end of the two-way connection SD of the 3rd signal end card of CPU processor, the first signal end of the two-way connection USB of the 4th signal end expansion module of CPU processor, the two-way connection SATA of the secondary signal end hard disk of USB expansion module.The first signal input end of CPU processor connects the first signal output terminal of video and audio acquisition module, the first signal output terminal of CPU processor connects the first signal input end of video and audio acquisition module, the secondary signal input end of video and audio acquisition module connects camera, the 3rd signal input part of video and audio acquisition module connects acoustic pickup, the secondary signal output terminal of video and audio acquisition module connects liquid crystal display, and the 3rd signal output part of video and audio acquisition module connects loudspeaker.
This example has comprised flash media and two kinds of storage mediums of SATA hard disk; wherein flash media can utilize the Nand Flash flash memory that SD card or plate carry to be used as buffer memory medium; and by ACC signal acquisition module, obtain the transport condition of vehicle; thereby on suitable opportunity; video file on buffer memory medium is transferred in SATA hard disk; avoid, under the environment of vibration, SATA hard disk being carried out to read-write operation, finally protect SATA hard disk.
The two-way connection 10/100M of the 5th signal end Ethernet of described CPU processor, the signal end of the two-way connection WIFI of the 3rd signal end module of USB expansion module, the signal end of the two-way connection 3G of the 4th signal end module of USB expansion module, the 6th signal end of CPU processor is the signal end of two-way connection GPS module also.The two-way connection DDR2 of the 7th signal end flash memory of described CPU processor, the two-way connection Flash of the 8th signal end flash memory of CPU processor.The secondary signal input end of described CPU processor connects ZEM, and the secondary signal output terminal of CPU processor connects alarm output module.
Referring to Fig. 2, after powering on, vehicle-mounted hard disk videocorder is handled as follows flow process in conjunction with process software:
(1) whether Single Chip Microcomputer (SCM) system detects ACC signal effective; (2) whether ACC invalidating signal returns to previous step continuation detection ACC signal effective, and ACC signal is effective, and Single Chip Microcomputer (SCM) system powers on to CPU processor; (3) the SATA hard disk dormancy of vehicle-mounted hard disk videocorder; (4) buffer memory medium video recording: CPU processor gathers audio frequency and video by audio-video collection module, records a video, and video file is deposited on buffer memory medium; (5) whether detection ACC signal is effective; ACC signal effectively returns to previous step " video recording of buffer memory medium ", and ACC invalidating signal judges whether time of delay switching-off that arrive to set; (6) do not arrive the time of the delay switching-off of setting, return to " video recording of buffer memory medium " step, arrived the time of the delay switching-off of setting, start SATA hard disk; (7) stop the video recording of buffer memory medium; (8) compare the file on buffer memory medium and Primary Hard Drive; (9) the new file of nothing on buffer memory medium, clears up buffer memory medium; On buffer memory medium, have new file, from buffer memory medium to the new file of unloading on SATA hard disk; Then whether effectively detect ACC signal, ACC signal effectively interrupts unloading, returns to " the SATA hard disk dormancy of vehicle-mounted hard disk videocorder " step; If ACC invalidating signal, has judged whether unloading, if do not complete unloading, continue from buffer memory medium, to the new file of unloading on SATA hard disk, if completed unloading, to clear up buffer memory medium; (10) standby: single-chip microcomputer works on, the power-off of CPU processor; (11) return to (1) step " it is whether effective that Single Chip Microcomputer (SCM) system detects ACC signal ".
In the present invention, in the time cannot meeting unloading condition, and now want to transfer data, user can obtain data by two kinds of modes: one, buffer memory medium can be taken out, after be placed on the enterprising row data of other PC and have access to.Two, CPU processor passes through 3G or WIFI network, the video recording content on query caching medium, and by network, Video Document is transferred to telemanagement center, with the promptness of guaranteeing that data are had access to.
In addition, the present invention is when CPU processor powers on, and can detect current operable buffer memory medium according to hardware information is SD card or Nand Flash flash memory, generally, in the time both can using, can preferentially select SD card to be used as buffer memory medium.
In unloading process, need to ceaselessly judge current ACC signal, to determine whether will stop the process of unloading at once, be switched in the video recording of buffer memory medium at once, be also camera, acoustic pickup work and by audio-video collection module, the video information collecting deposited on buffer memory medium and forms video file.Owing to likely there being the interrupted situation of unloading process, therefore, in order to promote the efficiency of unloading, here adopted the mechanism of " breakpoint transmission ", that is to say, before carrying out unloading, can judge and start wherefrom unloading, rather than by all video recordings on whole buffer memory medium all unloading go over.
In video file unloading process; equipment is accepted the judgement of ACC signal always; as there is ACC signal effective information in unloading process; equipment will stop unloading action automatically; and open buffer memory medium and enter video recording, and make the dormancy of SATA hard disk, with this effective protection SATA hard disk under vehicle vibration environment; extend the serviceable life of SATA hard disk, integrality and the security of the data of protection storage medium.

Claims (7)

1. the guard method of a vehicle-mounted hard disks, the process software of establishing in the vehicle-mounted hard disk videocorder that adopts Single Chip Microcomputer (SCM) system to control is transferred to the video file on buffer memory medium on SATA hard disk, it is characterized in that in conjunction with process software, being handled as follows flow process after vehicle-mounted hard disk videocorder powers on: whether (1) Single Chip Microcomputer (SCM) system detects ACC signal effective; (2) whether ACC invalidating signal returns to previous step continuation detection ACC signal effective, and ACC signal is effective, and Single Chip Microcomputer (SCM) system powers on to CPU processor; (3) the SATA hard disk dormancy of vehicle-mounted hard disk videocorder; (4) buffer memory medium video recording: CPU processor gathers audio frequency and video by audio-video collection module, records a video, and video file is deposited on buffer memory medium; (5) whether detection ACC signal is effective; ACC signal effectively returns to previous step " video recording of buffer memory medium ", and ACC invalidating signal judges whether time of delay switching-off that arrive to set; (6) do not arrive the time of the delay switching-off of setting, return to " video recording of buffer memory medium " step, arrived the time of the delay switching-off of setting, start SATA hard disk; (7) stop the video recording of buffer memory medium; (8) compare the file on buffer memory medium and Primary Hard Drive; (9) the new file of nothing on buffer memory medium, clears up buffer memory medium; On buffer memory medium, have new file, from buffer memory medium to the new file of unloading on SATA hard disk; Then whether effectively detect ACC signal, ACC signal effectively interrupts unloading, returns to " the SATA hard disk dormancy of vehicle-mounted hard disk videocorder " step; If ACC invalidating signal, has judged whether unloading, if do not complete unloading, continue from buffer memory medium, to the new file of unloading on SATA hard disk, if completed unloading, to clear up buffer memory medium; (10) standby: single-chip microcomputer works on, the power-off of CPU processor; (11) return to (1) step " it is whether effective that Single Chip Microcomputer (SCM) system detects ACC signal ".
2. the guard method of a kind of vehicle-mounted hard disks as claimed in claim 1, it is characterized in that: described vehicle-mounted hard disk videocorder for being provided with multiple signals end on CPU processor, wherein, the two-way connection MCU of the first signal end single-chip microcomputer of CPU processor, the input end of MCU single-chip microcomputer connects the output terminal of ACC signal acquisition module, the two-way connection Nand of the secondary signal end Flash flash memory of CPU processor, the signal end of the two-way connection SD of the 3rd signal end card of CPU processor, the first signal end of the two-way connection USB of the 4th signal end expansion module of CPU processor, the two-way connection SATA of the secondary signal end hard disk of USB expansion module.
3. the guard method of a kind of vehicle-mounted hard disks as claimed in claim 1, is characterized in that: described buffer memory medium is SD card or Nand Flash flash memory.
4. the guard method of a kind of vehicle-mounted hard disks as claimed in claim 2, it is characterized in that: the first signal input end of described CPU processor connects the first signal output terminal of video and audio acquisition module, the first signal output terminal of CPU processor connects the first signal input end of video and audio acquisition module, the secondary signal input end of video and audio acquisition module connects camera, the 3rd signal input part of video and audio acquisition module connects acoustic pickup, the secondary signal output terminal of video and audio acquisition module connects liquid crystal display, the 3rd signal output part of video and audio acquisition module connects loudspeaker.
5. the guard method of a kind of vehicle-mounted hard disks as claimed in claim 2; it is characterized in that: the two-way connection 10/100M of the 5th signal end Ethernet of described CPU processor; the signal end of the two-way connection WIFI of the 3rd signal end module of USB expansion module; the signal end of the two-way connection 3G of the 4th signal end module of USB expansion module, the 6th signal end of CPU processor is the signal end of two-way connection GPS module also.
6. the guard method of a kind of vehicle-mounted hard disks as claimed in claim 2, is characterized in that: the two-way connection DDR2 of the 7th signal end flash memory of described CPU processor, the two-way connection Flash of the 8th signal end flash memory of CPU processor.
7. the guard method of a kind of vehicle-mounted hard disks as claimed in claim 2, is characterized in that: the secondary signal input end of described CPU processor connects ZEM, and the secondary signal output terminal of CPU processor connects alarm output module.
CN201310484817.6A 2013-10-16 2013-10-16 A kind of guard method of vehicle-mounted hard disks Active CN103544975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310484817.6A CN103544975B (en) 2013-10-16 2013-10-16 A kind of guard method of vehicle-mounted hard disks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310484817.6A CN103544975B (en) 2013-10-16 2013-10-16 A kind of guard method of vehicle-mounted hard disks

Publications (2)

Publication Number Publication Date
CN103544975A true CN103544975A (en) 2014-01-29
CN103544975B CN103544975B (en) 2016-01-06

Family

ID=49968364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310484817.6A Active CN103544975B (en) 2013-10-16 2013-10-16 A kind of guard method of vehicle-mounted hard disks

Country Status (1)

Country Link
CN (1) CN103544975B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992720A (en) * 2015-07-06 2015-10-21 浙江宇视科技有限公司 Shock-proof method and system of vehicle-mounted mechanical hard disk and vehicle-mounted recording device
CN110244682A (en) * 2018-03-08 2019-09-17 厦门雅迅网络股份有限公司 A kind of circuit and method of vehicle electronic device separation of software and hardware control shutdown
CN111726563A (en) * 2019-03-19 2020-09-29 中车株洲电力机车研究所有限公司 Video storage device for train video monitoring system
CN113228624A (en) * 2021-01-25 2021-08-06 深圳市锐明技术股份有限公司 Video storage method of vehicle-mounted equipment and vehicle-mounted equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007018646A (en) * 2005-07-11 2007-01-25 Hitachi Ltd Recording and reproducing device
CN101246720A (en) * 2008-02-26 2008-08-20 浪潮电子信息产业股份有限公司 Vehicle mounted computer hard disk and battery protection method
CN202502551U (en) * 2012-03-22 2012-10-24 濮宏保 Vehicle-mounted intelligent video monitoring server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007018646A (en) * 2005-07-11 2007-01-25 Hitachi Ltd Recording and reproducing device
CN101246720A (en) * 2008-02-26 2008-08-20 浪潮电子信息产业股份有限公司 Vehicle mounted computer hard disk and battery protection method
CN202502551U (en) * 2012-03-22 2012-10-24 濮宏保 Vehicle-mounted intelligent video monitoring server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992720A (en) * 2015-07-06 2015-10-21 浙江宇视科技有限公司 Shock-proof method and system of vehicle-mounted mechanical hard disk and vehicle-mounted recording device
CN104992720B (en) * 2015-07-06 2017-11-03 浙江宇视科技有限公司 A kind of vehicle-mounted mechanical hard vibration method and system and vehicle-mounted video recording equipment
CN110244682A (en) * 2018-03-08 2019-09-17 厦门雅迅网络股份有限公司 A kind of circuit and method of vehicle electronic device separation of software and hardware control shutdown
CN111726563A (en) * 2019-03-19 2020-09-29 中车株洲电力机车研究所有限公司 Video storage device for train video monitoring system
CN113228624A (en) * 2021-01-25 2021-08-06 深圳市锐明技术股份有限公司 Video storage method of vehicle-mounted equipment and vehicle-mounted equipment

Also Published As

Publication number Publication date
CN103544975B (en) 2016-01-06

Similar Documents

Publication Publication Date Title
US9250820B2 (en) Power efficient method for cold storage data retention management
CN104811645B (en) A kind of embedded Video data storage method
US9165667B2 (en) Electronic device with solid state drive and associated control method
CN103544975B (en) A kind of guard method of vehicle-mounted hard disks
JP2006024211A5 (en)
CN103226965B (en) Based on the audio/video data access method of time bitmap
CN103631976A (en) Small multichannel serial data recorder
KR20050038650A (en) Method and apparatus for managing power consumption of a disk drive
CN104333724A (en) Alarm video prerecording method for embedded hard disk video recorder
CN106406751A (en) High-speed large-capacity I/Q data recorder based on multi-channel LVDS interface
CN203520874U (en) Vibration damping effect-improved vehicle-mounted hard disk video recorder apparatus
CN101635815A (en) Wireless vehicle-mounted USB flash drive video recording control device with hard disk backup function
CN103617008B (en) Double SD card multimedia file storage system of Vehicular video monitoring terminal and method
JP2008198322A (en) Hard disk state monitoring apparatus and method
CN202422734U (en) Real-time streaming media DVD (digital video disk) recording device
WO2020124347A1 (en) Fpga chip and electronic device having said fpga chip
KR20190089796A (en) Video managing apparatus and method of surveillance systems
US20220107893A1 (en) Prediction-Based Selective Flushing Of Data To Memory
CN101600077A (en) A kind of digital hard disc video recorder system and its implementation based on stream media file management
CN102801946A (en) High-reliability vehicle-mounted video storage device and video storage method
CN105427406B (en) Aeronautical data recording equipment
CN202759536U (en) Highly reliable vehicle-loaded video storage apparatus and vehicle-loaded video apparatus
CN110825314B (en) Data scheduling method and device
CN104767994A (en) Method for detecting vehicle-mounted DVR video data storage integrity
CN101526887A (en) Method for writing data into hard disc, device and system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant