CN109634910A - A method of promoting DVR file writing speed - Google Patents
A method of promoting DVR file writing speed Download PDFInfo
- Publication number
- CN109634910A CN109634910A CN201811327451.0A CN201811327451A CN109634910A CN 109634910 A CN109634910 A CN 109634910A CN 201811327451 A CN201811327451 A CN 201811327451A CN 109634910 A CN109634910 A CN 109634910A
- Authority
- CN
- China
- Prior art keywords
- file
- dvr
- video
- area
- 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
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The present invention relates to a kind of methods for promoting DVR file writing speed, comprising the following steps: simultaneously identification information is written in designated position in formatted storage equipment;It is creatied directory area in data start with DVR bibliographic structure;Classify to storage device data area;File configuration table is written into system;Based on the identification information built in storage equipment, the property of storage equipment is determined;It whether is that video file determines to storage file;The write state of video file is determined;Whether lock operation is needed to determine file.The present invention makes video file content that Coutinuous store may be implemented, and effectively reduces the fragmentation of hard disk, is obviously improved to the writing speed of file.
Description
Technical field
The present invention relates to a kind of methods for promoting DVR file writing speed, belong to DVR field of data storage.
Background technique
Against the background of the prior art, when executing standard FAT file system operation, when recording two videos and there are it simultaneously
When his file write-in work, a large amount of fragmentation files are easy to produce, so that system is slack-off.What is now used in the market includes following solution
Certainly scheme is written in different storage equipment one is being identified using multiple storage devices to different types of file, this
Kind solution is made that certain improvement to file fragmentation, but causes file writing speed slack-off;The second is first by DVR video
File is first stored in internal storage as transition, is periodically classified again and is transferred to External memory equipment, such solution one
Determine the alleviation that can guarantee file fragmentation in degree, but not can guarantee the continuity of file storage.
Summary of the invention
In view of the deficiencies of the prior art, used the present invention provides a kind of method for promoting DVR file writing speed
The technical scheme comprises the following steps:
Simultaneously identification information is written in designated position in S100, formatted storage equipment;
S200, it is creatied directory area in data start with DVR bibliographic structure;
S300, setting directory area, video area and reserved area memory space;
S400, file configuration table is written into system;
S500, the identification information built in based on storage equipment, determine the property of storage equipment, according to judgement result
Execute corresponding operating;
S600, whether it is that video file determines to storage file, corresponding operating is executed according to judgement result;
S700, the write state of proactive and/or rear camera file is determined, is accordingly grasped according to determining that result executes
Make;
S800, whether lock operation is needed to determine file, corresponding operating is executed according to judgement result.
Further, identification information described in step S100 and step S500 includes original equipment manufacturer and device type
Information.
Further, DVR bibliographic structure described in step S200 refers specifically under file configuration table system protocol rule, will
The data separation for storing equipment is directory area, video area and reserved area;Wherein video area includes proactive video file
Region and rear camera file area;Further, proactive and rear camera file area respectively includes ordinary video region and lock
Determine video area.
Further, the memory space distributed in step S300 is as unit of sector.
Further, it is DVR storage card to the judgement result of storage device properties in step S500, then enters S600 step and hold
Row next step;If it is determined that result is common memory card, then illustrates that write storage device is conventional equipment, execute normal file and match
Set table write operation.
Further, it is video file to the storage file property determination of write-in DVR storage card in step S600, then enters
S700 step performs the next step suddenly;If not video file, then execute normal write operation, and it is stored in the reserved of storage equipment
In region.
Further, the write state of proactive and/or rear camera file is determined in step S700, if it is determined that result
In write state, then to be further determined to the path that file is written into, if it is determined that result is at the path being written into
In locking path, then be directed toward the sector of next file, if it is determined that result be it is no, then be directed toward next sector;If to file
It is not write state that write state, which determines that result is, then enters S800 step and perform the next step suddenly.
Further, the judgement result for whether needing lock operation to proactive and/or rear camera file in step S800 is
Be, then by proactive and/or rear camera file write-in it is proactive and/or after take the photograph locking video area;If it is determined that result be it is no, then write
Enter it is proactive and/or after take the photograph ordinary video region.
The invention has the benefit that the technical program effectively reduce video file content can with Coutinuous store hard
The fragmentation of disk is obviously improved the writing speed of file, in addition, also having scalability strong, superstructure is without making volume
Outer modification can compatible files configuration list file system advantage.
Detailed description of the invention
Fig. 1 show execution block diagram according to the present invention;
Fig. 2 show overview flow chart according to the present invention;
Fig. 3 show DVR bibliographic structure figure according to the present invention.
Specific embodiment
It should be appreciated that the embodiment of the present invention can be by computer hardware, the combination of hardware and software or by depositing
The computer instruction in non-transitory computer-readable memory is stored up to be effected or carried out.Standard volume can be used in the method
Journey technology-includes that the non-transitory computer-readable storage media configured with computer program is realized in computer program,
In configured in this way storage medium computer is operated in a manner of specific and is predefined --- according in a particular embodiment
The method and attached drawing of description.Each program can with the programming language of level process or object-oriented come realize with department of computer science
System communication.However, if desired, the program can be realized with compilation or machine language.Under any circumstance, which can be volume
The language translated or explained.In addition, the program can be run on the specific integrated circuit of programming for this purpose.
In addition, the operation of process described herein can be performed in any suitable order, unless herein in addition instruction or
Otherwise significantly with contradicted by context.Process described herein (or modification and/or combination thereof) can be held being configured with
It executes, and is can be used as jointly on the one or more processors under the control of one or more computer systems of row instruction
The code (for example, executable instruction, one or more computer program or one or more application) of execution, by hardware or its group
It closes to realize.The computer program includes the multiple instruction that can be performed by one or more processors.
Further, the method can be realized in being operably coupled to suitable any kind of computing platform, wrap
Include but be not limited to PC, mini-computer, main frame, work station, network or distributed computing environment, individual or integrated
Computer platform or communicated with charged particle tool or other imaging devices etc..Each aspect of the present invention can be to deposit
The machine readable code on non-transitory storage medium or equipment is stored up to realize no matter be moveable or be integrated to calculating
Platform, such as hard disk, optical reading and/or write-in storage medium, RAM, ROM, so that it can be read by programmable calculator, when
Storage medium or equipment can be used for configuration and operation computer to execute process described herein when being read by computer.This
Outside, machine readable code, or part thereof can be transmitted by wired or wireless network.When such media include combining microprocessor
Or other data processors realize steps described above instruction or program when, invention as described herein including these and other not
The non-transitory computer-readable storage media of same type.When methods and techniques according to the present invention programming, the present invention
It further include computer itself.
Computer program can be applied to input data to execute function as described herein, to convert input data with life
At storing to the output data of nonvolatile memory.Output information can also be applied to one or more output equipments as shown
Device.In the preferred embodiment of the invention, the data of conversion indicate physics and tangible object, including the object generated on display
Reason and the particular visual of physical objects are described.
The DVR full name referred in full text is Digital Video Recorder, i.e. digital video recorder, relative to biography
The analog video video recorder of system, uses HD recording, therefore is commonly referred to as hard disk video recorder.
Next specific embodiments of the present invention are described further in conjunction with attached drawing, as depicted in figs. 1 and 2 about this hair
Bright execution block diagram and flow chart execute following methods based on above system in one or more embodiments of the application
Step:
Simultaneously identification information is written in designated position in S100, formatted storage equipment, and the identification information includes but is not limited to
Original equipment manufacturer and device type information, i.e. OEM information and Label information, OEM information are used to identify the original of storage equipment
Beginning source, Label information are then used for the type information that manual identification stores equipment, i.e., to the judgement of storage equipment in S500 step
Foundation, stores the designated position in equipment by being manually arranged, and the information of write-in by manual amendment or can also be deleted;
It S200, in data start with DVR bibliographic structure is according to createing directory area;
S300, it is arranged in storage equipment and distributes certain memory space respectively in directory area, video area and pre-
Stay region;
S400, file configuration table, i.e. FAT file are written in system;
S500, the identification information built in based on storage equipment, determine the property of storage equipment, according to judgement result
Corresponding operating is executed, if it is determined that it is DVR storage card that result, which is the storage equipment, then enters S600 step and performs the next step;If sentencing
Determining result is common memory card, then illustrates that write storage device is conventional equipment, execute the write operation of normal file allocation list;
It S600, whether is that video file determines to storage file, according to result execution corresponding operating is determined, if storage
File property is determined as video file, then enters S700 step and perform the next step;If not video file, then execute and be normally written
Operation, and be stored in the reserved area of storage equipment;
S700, the write state of proactive and/or rear camera file is determined, is accordingly grasped according to determining that result executes
Make, if it is determined that result is then to further determine to the path that file is written into write state, if it is determined that result is quilt
The path of write-in be in locking path, then be directed toward the sector of next file, if it is determined that result be it is no, then be directed toward next fan
Area;If determining that result is to the write state of file is not write state, enters S800 step and perform the next step;
S800, whether lock operation is needed to determine file, according to result execution corresponding operating is determined, if it is determined that knot
Fruit be it is yes, then by proactive and/or rear camera file write-in it is proactive and/or after take the photograph locking video area;If it is determined that result be it is no,
Then be written it is proactive and/or after take the photograph ordinary video region.
The specific subregion of DVR bibliographic structure mentioned herein is illustrated in conjunction with Fig. 3, generally to storage equipment
Data separation is directory area, video area and reserved area three parts;Wherein video area includes proactive video file area again
Domain and rear camera file area two parts;It further, respectively include respectively general area to proactive and rear camera file area
Domain and ' locked ' zone, to execute the memory requirement in specific technical solution.
The above, only presently preferred embodiments of the present invention, the invention is not limited to above embodiment, as long as
It reaches technical effect of the invention with identical means, all should belong to protection scope of the present invention.In protection model of the invention
Its technical solution and/or embodiment can have a variety of different modifications and variations in enclosing.
Claims (8)
1. a kind of method for promoting DVR file writing speed, which comprises the following steps:
Simultaneously identification information is written in designated position in S100, formatted storage equipment;
S200, it is creatied directory area in data start with DVR bibliographic structure;
S300, setting directory area, video area and reserved area memory space;
S400, file configuration table is written into system;
S500, the identification information built in based on storage equipment, determine the property of storage equipment, are executed according to judgement result
Corresponding operating;
S600, whether it is that video file determines to storage file, corresponding operating is executed according to judgement result;
S700, the write state of proactive and/or rear camera file is determined, corresponding operating is executed according to judgement result;
S800, whether lock operation is needed to determine file, corresponding operating is executed according to judgement result.
2. the method according to claim 1 for promoting DVR file writing speed, which is characterized in that step S100 and step
Identification information described in S500 includes original equipment manufacturer and device type information.
3. the method according to claim 1 for promoting DVR file writing speed, which is characterized in that described in step S200
DVR bibliographic structure refer specifically under file configuration table system protocol rule, by the data separation for storing equipment be directory area,
Video area and reserved area;Wherein video area includes proactive video file region and rear camera file area;Further,
Proactive and rear camera file area respectively includes ordinary video region and locking video area.
4. the method according to claim 1 for promoting DVR file writing speed, which is characterized in that distributed in step S300
Memory space as unit of sector.
5. the method according to claim 1 for promoting DVR file writing speed, which is characterized in that depositing in step S500
The judgement result for storing up device properties is DVR storage card, then enters S600 step and perform the next step suddenly;If it is determined that result is commonly to deposit
Card storage then illustrates that write storage device is conventional equipment, executes the write operation of normal file allocation list.
6. the method according to claim 1 for promoting DVR file writing speed, which is characterized in that writing in step S600
The storage file property determination for entering DVR storage card is video file, then enters S700 step and perform the next step suddenly;If not video
File then executes normal write operation, and is stored in the reserved area of storage equipment.
7. the method according to claim 1 for promoting DVR file writing speed, which is characterized in that preceding in step S700
It takes the photograph and/or the write state of rear camera file is determined, if it is determined that result is then to be written into file in write state
Path further determined, if it is determined that result is that the path that is written into is in locking path, be then directed toward next file
Sector, if it is determined that result be it is no, then be directed toward next sector;If determining that result is to the write state of file is not write-in shape
State then enters S800 step and performs the next step suddenly.
8. the method according to claim 1 for promoting DVR file writing speed, which is characterized in that preceding in step S800
Take the photograph and/or rear camera file whether need lock operation judgement result be it is yes, then proactive and/or rear camera file is write
Enter it is proactive and/or after take the photograph locking video area;If it is determined that result be it is no, then be written it is proactive and/or after take the photograph ordinary video region.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811327451.0A CN109634910B (en) | 2018-11-08 | 2018-11-08 | Method for improving DVR file writing speed |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811327451.0A CN109634910B (en) | 2018-11-08 | 2018-11-08 | Method for improving DVR file writing speed |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109634910A true CN109634910A (en) | 2019-04-16 |
CN109634910B CN109634910B (en) | 2020-08-25 |
Family
ID=66067576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811327451.0A Active CN109634910B (en) | 2018-11-08 | 2018-11-08 | Method for improving DVR file writing speed |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634910B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750164A (en) * | 2005-07-20 | 2006-03-22 | 杭州海康威视数字技术有限公司 | Digital hard disc recorder file managing method for preventing file fragment production |
CN103019954A (en) * | 2011-09-22 | 2013-04-03 | 瑞昱半导体股份有限公司 | Cache device and accessing method for cache data |
CN104469310A (en) * | 2014-12-12 | 2015-03-25 | 浙江省公众信息产业有限公司 | Record data network storage method and system and video monitoring platform |
US20150169560A1 (en) * | 2013-12-18 | 2015-06-18 | Kabushiki Kaisha Toshiba | Information processing device, information processing method and storage medium for information processing program |
CN105353986A (en) * | 2015-11-11 | 2016-02-24 | 东莞福泽尔电子科技有限公司 | Vehicle-mounted DVR (Digital Video Record) raw disk file storage system |
-
2018
- 2018-11-08 CN CN201811327451.0A patent/CN109634910B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750164A (en) * | 2005-07-20 | 2006-03-22 | 杭州海康威视数字技术有限公司 | Digital hard disc recorder file managing method for preventing file fragment production |
CN103019954A (en) * | 2011-09-22 | 2013-04-03 | 瑞昱半导体股份有限公司 | Cache device and accessing method for cache data |
US20150169560A1 (en) * | 2013-12-18 | 2015-06-18 | Kabushiki Kaisha Toshiba | Information processing device, information processing method and storage medium for information processing program |
CN104469310A (en) * | 2014-12-12 | 2015-03-25 | 浙江省公众信息产业有限公司 | Record data network storage method and system and video monitoring platform |
CN105353986A (en) * | 2015-11-11 | 2016-02-24 | 东莞福泽尔电子科技有限公司 | Vehicle-mounted DVR (Digital Video Record) raw disk file storage system |
Non-Patent Citations (1)
Title |
---|
占克有: "《嵌入式DVR 文件***的研究与设计》", 《嵌入式DVR 文件***的研究与设计》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109634910B (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160110070A1 (en) | Photo collection display method and apparatus | |
CN102917159B (en) | For improvement of multimode background remove pattern remove | |
CN110413282B (en) | Redundant resource processing method, device, equipment and storage medium | |
WO2014006903A1 (en) | Content control method, content control apparatus, and program | |
US20190332398A1 (en) | Interface switching method and device, and computer readable storage medium | |
CN106708443A (en) | Data reading and writing method and device | |
WO2016197814A1 (en) | Junk file identification and management method, identification device, management device and terminal | |
CN110019891A (en) | Image storage method, image search method and device | |
JP2013045364A5 (en) | ||
CN106326082A (en) | Method and device for recording log in network system | |
US10423580B2 (en) | Storage and compression of an aggregation file | |
CN109684566A (en) | Label engine implementation method, device, computer equipment and storage medium | |
CN111078159B (en) | Writing method for avoiding DVR storage card writing damage | |
CN109634910A (en) | A method of promoting DVR file writing speed | |
CN107832021B (en) | Electronic evidence fixing method, terminal equipment and storage medium | |
JP2007213183A (en) | Device, method, and program for classifying digital image data | |
CN109359878A (en) | Procedure file data digitalized processing method, computer installation and computer readable storage medium | |
US20150109464A1 (en) | Apparatus for and method of managing image files by using thumbnail images | |
KR102221684B1 (en) | Multiclass classification apparatus, method thereof and computer readable medium having computer program recorded therefor | |
CN114556283B (en) | Method and device for data writing, consistency checking and reading | |
CN112632266B (en) | Data writing method and device, computer equipment and readable storage medium | |
TWI482099B (en) | Image processing and recording system and image processing and recording method thereof | |
JP5424788B2 (en) | Biometric information creation method, authentication method and apparatus used in biometric authentication device | |
US9824718B2 (en) | Recording and playback device | |
JP2009217588A (en) | Filing system, electronic camera, file access method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |