CN102457695B - Digital hard disc video recorder and digital hard disc video recorder take out frame backup method - Google Patents

Digital hard disc video recorder and digital hard disc video recorder take out frame backup method Download PDF

Info

Publication number
CN102457695B
CN102457695B CN201010512508.1A CN201010512508A CN102457695B CN 102457695 B CN102457695 B CN 102457695B CN 201010512508 A CN201010512508 A CN 201010512508A CN 102457695 B CN102457695 B CN 102457695B
Authority
CN
China
Prior art keywords
frame
backup
module
hard disc
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.)
Active
Application number
CN201010512508.1A
Other languages
Chinese (zh)
Other versions
CN102457695A (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 TIANYUE TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI TIANYUE 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 TIANYUE TECHNOLOGY Co Ltd filed Critical SHANGHAI TIANYUE TECHNOLOGY Co Ltd
Priority to CN201010512508.1A priority Critical patent/CN102457695B/en
Publication of CN102457695A publication Critical patent/CN102457695A/en
Application granted granted Critical
Publication of CN102457695B publication Critical patent/CN102457695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of digital hard disc video recorder, including coding module, main control module, picture recording module, and take out frame backup module, described picture recording module is connected with described coding module and described main control module respectively with taking out frame backup module, it is characterised in that, described frame backup module of taking out transmits, for receiving coding module, the voice data stream of coming, and the data audio data stream of acquisition is adjusted to low frame code check coded frame structured file by the backup parameter transmitted according to main control module and stores.The digital hard disc video recorder of the present invention and digital hard disc video recorder take out frame backup method, frame recombinant technique is taken out in utilization, audio, video data source is adjusted to IPE coded frame structure, and extract I frame therein and E frame, form the file of new IE coded frame structure and store, have compressed backup data quantity, be greatly saved memory space, provide the backup scenario of economical rationality for safety defense monitoring system.

Description

Digital hard disc video recorder and digital hard disc video recorder take out frame backup method
Technical field
The invention belongs to technical field of image processing, relate in particular to a kind of digital hard disc video recorder system;The invention still further relates to a kind of digital hard disc video recorder and take out frame backup method.
Background technology
Image procossing (imageprocessing), refer to and with computer, image is analyzed, to reach the technology of results needed, it, also referred to as picture processing, image processing, photo disposal, later stage process etc., has a wide range of applications in security protection and monitored video camera system.Compression of images refers to the technology damaging or nondestructively representing original picture element matrix with less bit, also referred to as picture coding, is the one in common image procossing.Image processing method needs corresponding storage device while being monitored, and is stored by the image collected, that is to say backup.At present, most of safety defense monitoring systems are required for supporting data backup scenario, conventional backup scheme is for back up completely, needing and an equal amount of alternate device of initial data such as hard disk, CD, video-tape etc., it requires that user puts into suitable energy and fund in the management and alternate device of Backup Data.Standby system refers to and just can be used when initial data destroys, and user has reason the importance according to data completely, controls the input to standby system.Therefore, the input of data backup how when not affecting backup quality, can be made more to rationalize, be we all the time need solve problem.
Summary of the invention
It is an object of the invention to provide a kind of digital hard disc video recorder system and digital hard disc video recorder takes out frame backup method, it utilizes and takes out frame recombinant technique, have compressed backup data quantity, is greatly saved the memory space of disk, economical and practical.
To achieve these goals, the digital hard disc video recorder of the present invention includes coding module, main control module, picture recording module, and take out frame backup module, described picture recording module is connected with described coding module and described main control module respectively with taking out frame backup module, and described frame backup module of taking out transmits, for receiving coding module, the voice data stream of coming, and the data audio data stream of acquisition is adjusted to low frame code check coded frame structured data stream and stores.
Above-mentioned digital hard disc video recorder, wherein, described low frame code check coded frame structure is IE coding structure, and wherein, E frame is by specifying the I frame of E frame pitch or E frame as reference frame, and each E frame depends on previous I frame or E frame is predicted.
Above-mentioned digital hard disc video recorder system, wherein, between adjacent two the I frames in described IE coding structure, the number of E frame is less than the half of frame number between adjacent two I frames.
Present invention also offers a kind of digital hard disc video recorder and take out frame backup method, comprise the following steps:
101: obtain the audio and video data streams after coding, and be adjusted to IPE coding structure according to taking out frame frame per second size;
102: judge currently whether meet backup condition;If meeting, then continue next step;Otherwise, then 107 are jumped to;
103: judge to currently belong to back up or take out frame backup completely, take out frame backup if belonging to, then continue next step;Back up completely if belonging to, then jump to 105;
104: I frame in decimated data stream and E frame, form new data stream;
105: judge whether the current backup time arrives, if BACKUP TIME arrives, continue next step;If BACKUP TIME does not arrive, then jump to 107;
106: set up backup file storage catalogue, and by described data stream write backup file;
107: Backup end.
5, digital hard disc video recorder as claimed in claim 4 takes out frame backup method, it is characterised in that the backup condition in described step 102 is back-up disk number to be non-zero and reach backup mark position.
The digital hard disc video recorder system of the present invention and digital hard disc video recorder take out frame backup method, frame recombinant technique is taken out in utilization, audio, video data source is adjusted to IE coded frame structure, form new low frame per second coded frame structure and store, have compressed backup data quantity, it is greatly saved memory space, provides the backup scenario of economical rationality for safety defense monitoring system.
Accompanying drawing explanation
Fig. 1 be the digital hard disc video recorder of the present invention frame diagram;
Fig. 2 is the flow chart that the digital hard disc video recorder of the present invention takes out frame backup method.
Detailed description of the invention
Below in conjunction with specification drawings and specific embodiments, the present invention will be further described in detail.
As it is shown in figure 1, the digital hard disc video recorder system of the present invention includes coding module 1, main control module 2, picture recording module 3 and take out frame backup module 4.Wherein, the audio and video data streams received also is sent to certain speed and takes out frame backup module 4 by audio and video data streams that coding module 1 transmits for obtaining compression coding board, picture recording module 3 and take out video recording parameter that frame backup module 4 transmits according to main control module 2 and backup parameter carries out recording a video and backing up respectively.Take out complete the preserving of data source that first coding module 1 is transmitted by frame backup module 4, and the backup parameter transmitted according to main control module 2 includes backup path, backup purpose dish, BACKUP TIME, backup frame per second (taking out true frame per second), it is IPE structure by data source coded frame structural adjustment, therefrom extract I frame and E frame again, finally all I frames, E frame are sequentially written to file, just constitute a low frame per second file.IPE frame structure in the present embodiment is IPPPPEPPPPE ... IPPPPEPPPPE ..., IE frame structure is formed after taking out frame backup module 4 and extracting, i.e. IEE ... IEE ..., wherein, E frame is by specifying the I frame of E frame pitch or E frame as reference frame, each E frame depends on previous I frame or E frame is predicted, and often the E frame number between adjacent two I frames is less than the half of frame number between adjacent two I frames.The digital hard disc video recorder system of the present invention take out frame after frame per second size can by control I, E frame distribution number carry out suitable adjustment.
Traditional mpeg image compression have employed IPB frame structure;Wherein, I frame is intraframe coding, and as reference frame, P frame is forward predictive coded, and B frame is bi-directional predictive coding.P frame is predicted by previous I frame or P two field picture, and B frame is predicted by the two of front and back P frames or an I frame and a P frame.Each P frame depends on previous I frame or P frame, as long as a middle P frame data is problematic, P frame below all can be problematic.And the IE frame structure in the present invention, E frame is by specifying the I frame of E frame pitch or E frame as reference frame, and each E frame depends on previous I frame or E frame but do not rely on the P frame of centre;Utilize the above-mentioned characteristic of E frame, take out I frame and E frame that frame backup module 4 extracts in IPE frame, form IE frame structure file and store.Wherein, due between adjacent two the I frames in the present invention number of E frame less than the half of frame number between adjacent two I frames, as before taking out frame, frame per second is 25 frames/s, then the frame per second after taking out frame backup module 4 and adjusting be 1 ~ 12 frame/s not etc., so, backup file at least can be compressed to about the 50% of former data file, is greatly saved disk storage space.
As in figure 2 it is shown, the digital hard disc video recorder of the present invention takes out frame backup method, comprise the following steps:
101: obtain the audio and video data streams after coding, and be adjusted to IPE coding structure according to taking out frame frame per second size;
In digital hard disc video recorder, by video line video signal is sent in digital hard disc video recorder compression coding board in, the video data of acquisition is compressed forming new data source by compression coding board, this data source be namely digital hard disc video recorder system take out frame backup data sources, by coding module, this data source is entered data into digital hard disc video recorder with certain frame per second and takes out in frame backup module.Taking out frame backup module is not whole data source completely remained, but complete the preserving of data source first coding module transmitted, and be IPE structure by data source coded frame structural adjustment as required.
102: judge currently whether meet backup condition;If meeting, then continue next step;Otherwise, then 107 are jumped to;
Backup condition in this step is that back-up disk number more than zero and reaches backup mark position.
103: judge to currently belong to back up or take out frame backup completely, take out frame backup if belonging to, then continue next step;Back up completely if belonging to, then jump to 105;
The condition backed up completely in this step, for taking out frame frame per second equal to transmission frame per second, takes out the condition of frame backup for taking out frame frame per second less than transmission frame per second.
104: I frame in decimated data stream and E frame, form new data stream;
I frame in this step is key frame;
105: judge whether the current backup time arrives, if BACKUP TIME arrives, continue next step;If BACKUP TIME does not arrive, then jump to 107;
BACKUP TIME in this step can dissimilar according to different needs and video recording, such as timing, intelligence, mobile alarm etc., arrange and different take out frame BACKUP TIME;
106: set up backup file storage catalogue, and by described data stream write backup file;
107: Backup end.
The digital hard disc video recorder of the present invention takes out frame backup method, it is possible to arrange different BACKUP TIMEs according to different demands, convenient and practical and applied widely.
In sum, the digital hard disc video recorder system of the present invention and take out frame backup method and have the advantage that
1, backup cost is reduced: digital hard disc video recorder is taken out frame backup module and is set to adjustable by backup file, user can according to self-condition, select suitable low frame per second file backup, namely by adjust often between adjacent two I frames the number of E frame adjust backup file size, greatly reduce the data volume of backup, thus reduce the management difficulty of Backup Data, and the cost on alternate device is applied widely;
2, applied widely: this system is not only arranged takes out frame frame per second adjustable function, and has merged complete backup functionality, it is adaptable to the backup of all kinds monitoring system;
3, hommization more: the setting of custom backup time in this system, facilitates user to formulate different back-up plans.

Claims (4)

1. a digital hard disc video recorder, it is characterized in that, including coding module, main control module, picture recording module, and take out frame backup module, described picture recording module is connected with described coding module and described main control module respectively with taking out frame backup module, described frame backup module of taking out transmits, for receiving coding module, the voice data stream of coming, and the data audio data stream of acquisition is adjusted to low frame code check coded frame structured data stream and stores;
Described take out the data stream that described coding module transmits by frame backup module and intactly preserve, and data source coded frame structural adjustment is IPE structure by the backup parameter transmitted according to described main control module, more therefrom extract low frame code check coded frame structure;Described IPE structure is IPPPPEPPPPE ... IPPPPEPPPPE ...;
Described low frame code check coded frame structure is IE coding structure, described IPE structure through described in take out frame backup module extract after formed IE coding structure, described IE coding structure is IEE ... IEE ..., wherein, E frame is by specifying the I frame of E frame pitch or E frame as reference frame, and each E frame depends on previous I frame or E frame is predicted.
2. digital hard disc video recorder system as claimed in claim 1, it is characterised in that between adjacent two the I frames in described IE coding structure, the number of E frame is less than the half of frame number between adjacent two I frames.
3. a digital hard disc video recorder takes out frame backup method, it is characterised in that it comprises the following steps:
101: obtaining the audio and video data streams after coding, and be adjusted to IPE structure according to taking out frame frame per second size, described IPE structure is IPPPPEPPPPE ... IPPPPEPPPPE ...;
102: judge currently whether meet backup condition;If meeting, then continue next step;Otherwise, then 107 are jumped to;
103: judge to currently belong to back up or take out frame backup completely, take out frame backup if belonging to, then continue next step;Back up completely if belonging to, then jump to 105;
104: I frame in decimated data stream and E frame, form new data stream, IE coding structure, described IE coding structure is IEE ... IEE ..., wherein, E frame is by specifying the I frame of E frame pitch or E frame as reference frame, and each E frame depends on previous I frame or E frame is predicted;
105: judge whether the current backup time arrives, if BACKUP TIME arrives, continue next step;If BACKUP TIME does not arrive, then jump to 107;
106: set up backup file storage catalogue, and by described data stream write backup file;
107: Backup end.
4. digital hard disc video recorder as claimed in claim 3 takes out frame backup method, it is characterised in that the backup condition in described step 102 is back-up disk number to be non-zero and reach backup mark position.
CN201010512508.1A 2010-10-20 2010-10-20 Digital hard disc video recorder and digital hard disc video recorder take out frame backup method Active CN102457695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010512508.1A CN102457695B (en) 2010-10-20 2010-10-20 Digital hard disc video recorder and digital hard disc video recorder take out frame backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010512508.1A CN102457695B (en) 2010-10-20 2010-10-20 Digital hard disc video recorder and digital hard disc video recorder take out frame backup method

Publications (2)

Publication Number Publication Date
CN102457695A CN102457695A (en) 2012-05-16
CN102457695B true CN102457695B (en) 2016-07-06

Family

ID=46040299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010512508.1A Active CN102457695B (en) 2010-10-20 2010-10-20 Digital hard disc video recorder and digital hard disc video recorder take out frame backup method

Country Status (1)

Country Link
CN (1) CN102457695B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945678A (en) * 2012-11-09 2013-02-27 中兴通讯股份有限公司 Storage method and system of video documents and video monitoring device
CN102970508A (en) * 2012-11-20 2013-03-13 无锡乾煜信息技术有限公司 Frame extraction storing method for digital video surveillance
CN103067702B (en) * 2012-12-06 2015-07-22 中通服公众信息产业股份有限公司 Video concentration method used for video with still picture
CN104853132A (en) * 2015-05-13 2015-08-19 北京掌中经纬技术有限公司 Delay video recording method and system
CN107623852B (en) * 2017-09-12 2020-02-14 童剑军 Method and device for coding and frame reduction of digital video signal
CN108377399B (en) * 2018-03-07 2019-03-19 广州图普网络科技有限公司 Live video stream code-transferring method, device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2891111Y (en) * 2006-01-09 2007-04-18 张辉 On-board image recorder
CN101415107A (en) * 2007-10-19 2009-04-22 深圳中兴力维技术有限公司 A kind of reliable multilevel medium storage method
CN101674444A (en) * 2009-10-15 2010-03-17 杭州华三通信技术有限公司 Storage method of video data, system and encoder thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2891111Y (en) * 2006-01-09 2007-04-18 张辉 On-board image recorder
CN101415107A (en) * 2007-10-19 2009-04-22 深圳中兴力维技术有限公司 A kind of reliable multilevel medium storage method
CN101674444A (en) * 2009-10-15 2010-03-17 杭州华三通信技术有限公司 Storage method of video data, system and encoder thereof

Also Published As

Publication number Publication date
CN102457695A (en) 2012-05-16

Similar Documents

Publication Publication Date Title
CN102457695B (en) Digital hard disc video recorder and digital hard disc video recorder take out frame backup method
CN102547444B (en) Method for optimizing play of real-time video monitoring record
CN102572357A (en) Video monitoring system front end memory method and video monitoring system
CN102037718A (en) Method and apparatus for masking signal loss
CN101980533A (en) Method for implementing stunt mode function of transport stream file based on indexed file
CN101729836B (en) Method for videoing bottom acquisition device
CN102625082A (en) Video monitoring system
CN105659587A (en) A data storage method for a monitor system and a system thereof
CN103037203A (en) Method and device for index recovery based on block storage
WO2023207872A1 (en) Video encoding and decoding method, video codec and electronic device
CN105100716A (en) Safe memory cell used for network video monitoring and system thereof
CN102547221A (en) Video recording and network transmitting method based on motion detection
CN110717070A (en) Video compression method and system for indoor monitoring scene
CN102523410B (en) Method for writing video data and video data storage equipment
CN102243615A (en) Memory buffer management mechanism supporting audio/video frame storage
CN102158344A (en) Parallel multicasting network file system
CN101547216B (en) Safe storage method and system in process of real-time data acquisition
CN113194295A (en) Monitoring data storage system
CN204859420U (en) Intelligent building video monitor system
US9008488B2 (en) Video recording apparatus and camera recorder
CN106484566B (en) NAS data backup and file fine-grained browsing recovery method based on NDMP protocol
CN102543108A (en) Video redundancy strategy optimization method based on distributed storage
CN104796728A (en) 4G-WIFI (fourth generation-wireless fidelity) high-definition network video server
CN110392267A (en) A kind of low cost mining production scene automation centralized monitoring method
CN105187688A (en) Method and system for carrying out synchronization on real-time video and audio collected by mobile phone

Legal Events

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