CN104268088A - Vehicle DVR (Digital Video Recorder) hard disk data storage method - Google Patents
Vehicle DVR (Digital Video Recorder) hard disk data storage method Download PDFInfo
- Publication number
- CN104268088A CN104268088A CN201410467649.4A CN201410467649A CN104268088A CN 104268088 A CN104268088 A CN 104268088A CN 201410467649 A CN201410467649 A CN 201410467649A CN 104268088 A CN104268088 A CN 104268088A
- Authority
- CN
- China
- Prior art keywords
- file
- hard disk
- partition
- video
- data storage
- 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
Links
Landscapes
- Management Or Editing Of Information On Record Carriers (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The invention discloses a vehicle DVR (Digital Video Recorder) hard disk data storage method. The vehicle DVR hard disk data storage method comprises step 1, dividing an available storage area of a vehicle DVR hard disk into an ext3 file system partition and a file-free system partition; step 2, collecting video files and dividing the collected video files into index files and video data corresponding to the index files; step 3, storing the index files in the ext3 file system partition and storing the video data corresponding to the index files in the file-free system partition according to the time sequence; step 4, performing cyclic covering when a storage space of the file-free system partition is full and cyclically cover the corresponding index files in the ext3 file system partition. According to the vehicle DVR hard disk data storage method, a file-free system storage method is adopted and accordingly the operation on a disk is reduced as far as possible, the convenience of the data storage and reading is ensured, the storage capacity is increased, the visits to the disk are reduced, and the damage rate of the disk is reduced, and the later maintenance cost is reduced.
Description
Technical field
The present invention relates to a kind of date storage method, especially relate to a kind of vehicle-mounted DVR hard disc data storage means.
Background technology
Existing vehicle-mounted DVR(digital video recorder) storage means mainly contains following three kinds: 1, adopt SD card to store, shortcoming is that capacity is less, and not soon, unexpected power down easily damages read or write speed, and advantage is not afraid of the environment that jolts.2, SSD(solid state hard disc is adopted) store, advantage is that capacity is comparatively large, and read or write speed is fast, be not afraid of and jolt, but price is costly, increases cost of products.3, adopt traditional mechanical hard disk to store, adopt buffer memory (buffer memory adopts the storage mediums of mechanical parts), namely when be in jolt environment time stored in buffer memory, when steady again data batchmove to hard disk.The advantage of the method solves the problems such as memory capacity, storage speed and cost, shortcoming hard disk adopts special file system carry out management data, because there is file system, increase the workload to disk read-write, hard disk has to carry out the reading and writing data of many corresponding maintaining file systems when storing DVR data, considerably increase hard disk operational amount.Because spatial cache is limited, can not ensure this hard disk only storage data when steady always, when buffer memory will be expired, even if road environment cannot meet hard-disc storage, requirement also must carry out read-write operation to hard disk.The amount read and write hard disk under the environment that jolts is more, and hard disk more easily damages, and one piece of hard disk price is cheap, can increase later maintenance cost like this.
Summary of the invention
In view of this, the object of this invention is to provide a kind of vehicle-mounted DVR hard disc data storage means, add memory capacity, decrease the visit capacity to hard disk, reduce the spoilage of hard disk, reduce the maintenance cost in later stage.
For achieving the above object, the present invention by the following technical solutions:
A kind of vehicle-mounted DVR hard disc data storage means, wherein, comprises the steps:
Step 1, is divided into ext3 file partition by the available storage area of vehicle-mounted DVR hard disk and without file partition;
Step 2, gathers video file, and the video file collected is divided into index file and video data two parts corresponding to index file; Index file and video data are one-corresponding relations;
Step 3, is stored in ext3 file partition by index file; Video data corresponding for index file is stored in chronological order without file partition;
Step 4, when covering without the full Posterior circle of file partition storage space, index file corresponding in ext3 file partition is also recycled covering.
The invention has the beneficial effects as follows:
For vehicle-mounted DVR, the data stored are all some video stream datas, unlike application be store some trifling small documents, therefore it is not high to file system demand degree, and there are the words of file system, disk also can increase the visit capacity to hard disk to the bookkeeping of file system, and increase hard disk visit capacity under the environment that jolts on bus and also just mean the probability adding hard disk corruptions, add the maintenance cost in later stage.The present invention adopts the storage means without file system, both ensure that as far as possible few operation to disk, in turn ensure that the convenience that data store and read.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention;
Fig. 2 is index file and schematic diagram corresponding to video data in hard-disc storage district of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
File system is method and the data structure of the file of operating system on clear and definite memory device or subregion; The i.e. method of constituent act on a storage device.File system is made up of three parts: with file management associated software, be managed file and implement file management desired data structure.From system perspective, file system is organized the space of file-storage device and distributes, be responsible for file store and to stored in the file system protecting and retrieve.Specifically, it is responsible for user and sets up file, stored in, read, amendment, dump file, the access of control documents, cancels file when user does not re-use.
If one piece of empty hard disk is regarded as a blank sheet of paper, file system draws form exactly on this blank sheet of paper, such as financial form, personal information forms etc., are divided into the differentiation of different forms i.e. different file system, FAT32 file system conventional on such as USB flash disk, new technology file system on hard disk, since be draw form, is to take certain hard-disc storage space certainly, but also need to carry out corresponding bookkeeping, which adds the operational ton to hard disk.
Of the present invention is that hard disk is regarded as an end to end tape without file system data storage means, can circulate and cover write data, there is a corresponding coordinate each memory location, this coordinate is the address of this position, and video data once writes direct does not need the nuisance operation such as maintaining file system.The relevant information of not preserving file completely is of course not said without file system, larger difficulty can be caused like this to during digital independent, for addressing this problem, a block message memory block can be retained in hard disk reference position, preserve some specific informations, as data head, data tail, some key messages of overall importance of time etc.When DVR data (video data) preserved, every block beginning can simply preserve some video datas, as data block sequence number, timestamp, video channel number etc., and, generally can directly by video data needed for the index file quick position set up in ext3 file partition.
As shown in Figure 1, of the present inventionly to comprise the following steps:
Step 1, is divided into ext3 file partition by the available storage area of vehicle-mounted DVR hard disk and without file partition;
Step 2, gathers video file, and the video file collected is divided into index file and video data two parts corresponding to index file; Index file and video data are one-corresponding relations;
Step 3, is stored in ext3 file partition by index file; Video data corresponding for index file is stored in chronological order without file partition;
Step 4, when covering without the full Posterior circle of file partition storage space, index file corresponding in ext3 file partition is also recycled covering.Index file and be one to one without the video data in file partition, compare conference without file partition factor data amount and carry out circulation covering, the index file of ext3 file partition exists according to the existence without the corresponding video data in file partition, when covering without the full Posterior circle of file partition storage space, index file corresponding in ext3 file partition is also recycled covering.
Fashionable in video data write, vehicle-mounted DVR hard disk marks off the ext3 subregion of a fritter to store index file, index file little is one by one created according to temporal information, record the start address of the video data in corresponding moment, end address, data head, data tail, time, from the data of which camera collection etc. relevant information, because just write a simple index, the data volume of write is very little, very little to entire effect, and because index file is more trifling and higher to data accuracy requirement, so need to be based upon on the storage medium of file system, general selection ext3 file system, this file system can the accuracy of reasonable this index data of guarantee.And easy-to-look-up read-write index file.Just create an index file at set intervals, ensure the continuity that data are preserved, and can manage according to these index files the video data deposited in hard disk easily, and video data can circulate covering.Because ext3 partitions of file only preserves index file, the data volume of write is very little, and subregion is less, and without file partition because want stored video data, the space of needs is very large, and the subregion major part of hard disk is distributed to without file partition.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, other amendments that those of ordinary skill in the art make technical scheme of the present invention or equivalently to replace, only otherwise depart from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of right of the present invention.
Claims (1)
1. a vehicle-mounted DVR hard disc data storage means, is characterized in that: comprise the steps:
Step 1, is divided into ext3 file partition by the available storage area of vehicle-mounted DVR hard disk and without file partition;
Step 2, gathers video file, and the video file collected is divided into index file and video data two parts corresponding to index file; Index file and video data are one-corresponding relations;
Step 3, is stored in ext3 file partition by index file; Video data corresponding for index file is stored in chronological order without file partition;
Step 4, when covering without the full rear video datacycle of file partition storage space, index file corresponding in ext3 file partition is also recycled covering.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410467649.4A CN104268088B (en) | 2014-09-15 | 2014-09-15 | Vehicle-mounted DVR hard disc data storage method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410467649.4A CN104268088B (en) | 2014-09-15 | 2014-09-15 | Vehicle-mounted DVR hard disc data storage method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104268088A true CN104268088A (en) | 2015-01-07 |
CN104268088B CN104268088B (en) | 2018-11-16 |
Family
ID=52159611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410467649.4A Active CN104268088B (en) | 2014-09-15 | 2014-09-15 | Vehicle-mounted DVR hard disc data storage method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104268088B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104767994A (en) * | 2015-04-13 | 2015-07-08 | 郑州天迈科技股份有限公司 | Method for detecting vehicle-mounted DVR video data storage integrity |
CN105117177A (en) * | 2015-09-14 | 2015-12-02 | 许昌许继软件技术有限公司 | Big data management method based on single-hard-disk multi-partition mode |
CN105353986A (en) * | 2015-11-11 | 2016-02-24 | 东莞福泽尔电子科技有限公司 | Vehicle-mounted DVR (Digital Video Record) raw disk file storage system |
CN107172375A (en) * | 2017-05-17 | 2017-09-15 | 上海尧达信息科技有限公司 | Super DVR |
CN109189724A (en) * | 2018-07-18 | 2019-01-11 | 北京世纪东方通讯设备有限公司 | Improve the method and device of video monitoring system audio, video data storage efficiency |
CN109359066A (en) * | 2018-09-19 | 2019-02-19 | 天津七所精密机电技术有限公司 | A kind of dual control storage equipment applied to sonar data acquisition |
CN109788307A (en) * | 2019-02-11 | 2019-05-21 | 北京字节跳动网络技术有限公司 | Processing method, device, storage medium and the electronic equipment of video list |
CN110333887A (en) * | 2019-07-04 | 2019-10-15 | 郑州天迈科技股份有限公司 | Vehicle-mounted machine picture recording module upgrades optimization system |
CN111355910A (en) * | 2019-04-23 | 2020-06-30 | 杭州海康威视数字技术股份有限公司 | Video storage method, video search method and device |
CN111857581A (en) * | 2020-07-06 | 2020-10-30 | 浙江鸿泉电子科技有限公司 | Data storage processing method and system |
CN112069139A (en) * | 2020-07-28 | 2020-12-11 | 重庆攸亮科技股份有限公司 | High-speed read-write cyclic coverage file transmission system and transmission method |
CN112463733A (en) * | 2020-08-21 | 2021-03-09 | 海信视像科技股份有限公司 | Method for protecting hard disk data and display device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005339262A (en) * | 2004-05-27 | 2005-12-08 | Canon Inc | File system and its control method |
CN1750164A (en) * | 2005-07-20 | 2006-03-22 | 杭州海康威视数字技术有限公司 | Digital hard disc recorder file managing method for preventing file fragment production |
CN1822174A (en) * | 2005-12-08 | 2006-08-23 | 杭州海康威视数字技术有限公司 | Method for protecting hardware key information area in embedded device |
CN103474087A (en) * | 2013-09-06 | 2013-12-25 | 南京南自信息技术有限公司 | Video recording file management method and device for easily preventing disk fragments from being generated |
CN103745007A (en) * | 2014-01-24 | 2014-04-23 | 深圳市华宝电子科技有限公司 | File managing method and device |
-
2014
- 2014-09-15 CN CN201410467649.4A patent/CN104268088B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005339262A (en) * | 2004-05-27 | 2005-12-08 | Canon Inc | File system and its control method |
CN1750164A (en) * | 2005-07-20 | 2006-03-22 | 杭州海康威视数字技术有限公司 | Digital hard disc recorder file managing method for preventing file fragment production |
CN1822174A (en) * | 2005-12-08 | 2006-08-23 | 杭州海康威视数字技术有限公司 | Method for protecting hardware key information area in embedded device |
CN103474087A (en) * | 2013-09-06 | 2013-12-25 | 南京南自信息技术有限公司 | Video recording file management method and device for easily preventing disk fragments from being generated |
CN103745007A (en) * | 2014-01-24 | 2014-04-23 | 深圳市华宝电子科技有限公司 | File managing method and device |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104767994A (en) * | 2015-04-13 | 2015-07-08 | 郑州天迈科技股份有限公司 | Method for detecting vehicle-mounted DVR video data storage integrity |
CN105117177A (en) * | 2015-09-14 | 2015-12-02 | 许昌许继软件技术有限公司 | Big data management method based on single-hard-disk multi-partition mode |
CN105117177B (en) * | 2015-09-14 | 2018-08-10 | 许昌许继软件技术有限公司 | A kind of big data management method based on single hard disk multi partition |
CN105353986A (en) * | 2015-11-11 | 2016-02-24 | 东莞福泽尔电子科技有限公司 | Vehicle-mounted DVR (Digital Video Record) raw disk file storage system |
CN105353986B (en) * | 2015-11-11 | 2018-04-03 | 东莞福泽尔电子科技有限公司 | A kind of naked disk storage file system of vehicle-mounted DVR |
CN107172375A (en) * | 2017-05-17 | 2017-09-15 | 上海尧达信息科技有限公司 | Super DVR |
CN109189724B (en) * | 2018-07-18 | 2021-01-29 | 北京世纪东方通讯设备有限公司 | Method and device for improving audio and video data storage efficiency of video monitoring system |
CN109189724A (en) * | 2018-07-18 | 2019-01-11 | 北京世纪东方通讯设备有限公司 | Improve the method and device of video monitoring system audio, video data storage efficiency |
CN109359066A (en) * | 2018-09-19 | 2019-02-19 | 天津七所精密机电技术有限公司 | A kind of dual control storage equipment applied to sonar data acquisition |
CN109788307A (en) * | 2019-02-11 | 2019-05-21 | 北京字节跳动网络技术有限公司 | Processing method, device, storage medium and the electronic equipment of video list |
CN111355910A (en) * | 2019-04-23 | 2020-06-30 | 杭州海康威视数字技术股份有限公司 | Video storage method, video search method and device |
CN110333887A (en) * | 2019-07-04 | 2019-10-15 | 郑州天迈科技股份有限公司 | Vehicle-mounted machine picture recording module upgrades optimization system |
CN110333887B (en) * | 2019-07-04 | 2023-04-14 | 郑州天迈科技股份有限公司 | Vehicle-mounted machine video recording module optimization system |
CN111857581A (en) * | 2020-07-06 | 2020-10-30 | 浙江鸿泉电子科技有限公司 | Data storage processing method and system |
CN112069139A (en) * | 2020-07-28 | 2020-12-11 | 重庆攸亮科技股份有限公司 | High-speed read-write cyclic coverage file transmission system and transmission method |
CN112463733A (en) * | 2020-08-21 | 2021-03-09 | 海信视像科技股份有限公司 | Method for protecting hard disk data and display device |
Also Published As
Publication number | Publication date |
---|---|
CN104268088B (en) | 2018-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104268088A (en) | Vehicle DVR (Digital Video Recorder) hard disk data storage method | |
US11797191B2 (en) | Systems and methods for storing data in SSD | |
CN104461391B (en) | A kind of storage device metadata management approach and system | |
CN105574104B (en) | A kind of LogStructure storage system and its method for writing data based on ObjectStore | |
US9298384B2 (en) | Method and device for storing data in a flash memory using address mapping for supporting various block sizes | |
KR101813786B1 (en) | System and method for copy on write on an ssd | |
US8214581B2 (en) | System and method for cache synchronization | |
CN103049224B (en) | By the methods, devices and systems of data importing physical tape | |
CN102136290A (en) | Method for storing embedded real-time video files | |
CN106548789A (en) | Method and apparatus for operating stacked tile type magnetic recording equipment | |
CN101872639B (en) | Method and device for storing and retrieving image data on digital hard disk video recorder | |
CN105426127A (en) | File storage method and apparatus for distributed cluster system | |
GB2513492A (en) | Tape drive system server | |
CN102043687B (en) | Copy on first write device for realizing data snapshot and control method | |
CN102158349A (en) | Log management device and method thereof | |
CN103106047A (en) | Storage system based on object and storage method thereof | |
CN107608625B (en) | Method for improving reading performance of fixed storage equipment | |
CN103226965B (en) | Based on the audio/video data access method of time bitmap | |
CN103985393B (en) | A kind of multiple optical disk data parallel management method and device | |
CN105786401A (en) | Data management method and device in server cluster system | |
CN105094695A (en) | Storing method and system | |
CN105224474A (en) | The system that realizes of solid state hard disc flash translation layer (FTL) and the implement device of flash translation layer (FTL) | |
CN103729149A (en) | Data storage method | |
CN103092849A (en) | File system cluster management method | |
CN105260139A (en) | Magnetic disk management method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |