CN101873462A - DVR (Digital Video Recorder) as well as data backup and recovery method and system thereof - Google Patents

DVR (Digital Video Recorder) as well as data backup and recovery method and system thereof Download PDF

Info

Publication number
CN101873462A
CN101873462A CN200910165368A CN200910165368A CN101873462A CN 101873462 A CN101873462 A CN 101873462A CN 200910165368 A CN200910165368 A CN 200910165368A CN 200910165368 A CN200910165368 A CN 200910165368A CN 101873462 A CN101873462 A CN 101873462A
Authority
CN
China
Prior art keywords
dvr
backup
video recording
data
unusual
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
CN200910165368A
Other languages
Chinese (zh)
Other versions
CN101873462B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN2009101653682A priority Critical patent/CN101873462B/en
Publication of CN101873462A publication Critical patent/CN101873462A/en
Application granted granted Critical
Publication of CN101873462B publication Critical patent/CN101873462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a DVR (Digital Video Recorder) as well as data backup and recovery method and system thereof, which are applied to a monitoring system comprising a backup DVR and a plurality of video DVRs, wherein the backup DVR is connected with the video DVRs. The method comprises the following steps of: when the backup DVR detects abnormal video DVRs, switching the videos of the abnormal video DVRs to the backup DVR; carrying out data backup on the abnormal video DVRs through a video source by the backup DVR; when the detected abnormal video DVRs return to normal, stopping the data backup and transmitting the backed up data to the abnormal video DVRs; and carrying out data recovery by the abnormal video DVRs according to the backed up data to obtain a complete data source. By applying the invention, the recovery of complete data can be automatically carried out according to the backup data transmitted by the backup DVR, thereby the operation complexity is reduced.

Description

Data backup restoration method, system and the DVR of DVR
Technical field
The application relates to the digital supervision technical field, relates in particular to data backup restoration method, system and the DVR of a kind of DVR (Digital Video Recorder, digital hard disc video recorder).
Background technology
DVR is a kind of watch-dog that can pass through data hard disk recording video and voice data, DVR is divided into plain edition digital hard disc video recorder (can only insert analog video camera), mixed type digital hard disc video recorder (Hybrid DVR) and network hard disk video recorder (NVR), the mixed type digital hard disc video recorder is the digital hard disk recording equipment that can insert analog video camera and IP video camera simultaneously, and network hard disk video recorder is only to insert the digital hard disk recording equipment of IP video camera.
In order to prevent that DVR (also claiming video recording DVR) is when breaking down in the course of the work, cause the loss of video recording resource, need a backup of configuration DVR, backup DVR and video recording DVR work simultaneously, when video recording DVR breaks down, because backup DVR is still in running order, therefore can not lose the video recording resource, but be that each video recording DVR equal configuration backup DVR will waste more resource, especially the video recording DVR in supervisory control system more for a long time, the backup DVR that disposes equal number will expend great amount of cost.In order to save cost, prior art is taked a backup of configuration DVR in system, and the method by monitoring video DVR operating state realizes backup, and when certain video recording DVR broke down, then control switched to the continue video recording work of this fault video recording DVR by backup DVR.
The inventor is in research and practice process to prior art, find to exist in the prior art following problem: though when can be implemented in video recording DVR fault by monitoring, work on to guarantee that the video recording resource do not lose by backup DVR, but the video recording DVR with the backup DVR each self-recording video recording resource still be not a complete video recording resource, the mode that need take manually to derive is synthesized complete video recording resource, has promoted operation complexity.
Summary of the invention
The purpose of the embodiment of the present application provides data backup restoration method, system and the DVR of a kind of DVR, needs manually to realize backup DVR and the video recording video recording problem of resource that DVR was write down in the prior art to solve.
For solving the problems of the technologies described above, the embodiment of the present application provides the data backup restoration method of a kind of DVR, is achieved in that
The data backup restoration method of a kind of DVR is applied to comprise in the supervisory control system of a backup DVR and some video recording DVR, and described backup DVR links to each other with video recording DVR, comprising:
Backup DVR detects when unusual video recording DVR occurring, and the video source of switching the unusual video recording DVR of described appearance is to described backup DVR;
Described backup DVR carries out data backup by described video source to the unusual video recording DVR of described appearance;
Recover just often when detecting the unusual video recording DVR of described appearance, stop described data backup, and backed up data transfers to the unusual video recording DVR of described appearance;
The unusual video recording DVR of described appearance carries out data according to described backed up data and recovers, and obtains complete data resource.
For solving the problems of the technologies described above, the embodiment of the present application also provides the data backup restoration system of a kind of DVR, is achieved in that
The data backup restoration system of a kind of DVR comprises a backup DVR and some video recording DVR, and described backup DVR links to each other with video recording DVR,
Described backup DVR, be used to detect when unusual video recording DVR occurring, the video source of switching the unusual video recording DVR of described appearance is to described backup DVR, described backup DVR carries out data backup by described video source to the unusual video recording DVR of described appearance, recover just often when detecting the unusual video recording DVR of described appearance, stop described data backup, and backed up data transfers to the unusual video recording DVR of described appearance;
Described video recording DVR is used for when unusual video recording DVR appears in conduct, carries out data according to described backed up data and recovers, and obtains complete data resource.
For solving the problems of the technologies described above, the embodiment of the present application also provides a kind of backup DVR, is achieved in that
A kind of backup DVR is applied to comprise in the supervisory control system of some video recording DVR, and described backup DVR links to each other with video recording DVR, comprising:
Whether detecting unit is used to detect described video recording DVR and occurs unusually;
Switch unit is used for detecting when unusual video recording DVR occurring when described detecting unit, and the video source of switching the unusual video recording DVR of described appearance is to described backup DVR;
Backup units is used for by described video source the unusual video recording DVR of described appearance being carried out data backup;
Transmission unit is used for recovering just often when described detecting unit detects the unusual video recording DVR of described appearance, stop described data backup, and backed up data transfers to the unusual video recording DVR of described appearance.
For solving the problems of the technologies described above, the embodiment of the present application also provides a kind of video recording DVR, is achieved in that
A kind of video recording DVR is applied to comprise in the supervisory control system of a backup DVR, and described backup DVR links to each other with video recording DVR, comprising:
Receiving element, be used to receive the Backup Data of described backup DVR transmission, described Backup Data is that described backup DVR detects described video recording DVR and occurs when unusual, the video source of switching described video recording DVR is carried out the data that obtain after the data backup to the described DVR that records a video by described video source to described backup DVR;
Recovery unit is used for carrying out data according to described backed up data and recovers, and obtains complete data resource.
As seen, backup DVR detects when unusual video recording DVR occurring in the embodiment of the present application, the video source of switching the unusual video recording DVR of appearance is to backing up DVR, backup DVR carries out data backup by video source to unusual video recording DVR occurring, unusual video recording DVR recovery occurs just often when detecting, stop data backup, and backed up data transfers to the unusual video recording DVR of appearance, unusual video recording DVR occurs and carry out data according to backed up data and recover, obtain complete data resource.Using the application can be behind video recording DVR abnormal restoring; Backup Data according to backup DVR transmission carries out the recovery of partial data automatically; recover owing to need not to adopt manual mode to carry out data, therefore reduced operation complexity, improved the data processing performance of supervisory control system.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, the accompanying drawing that describes below only is some embodiment that put down in writing among the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the first embodiment flow chart of the data backup restoration method of the application DVR;
Fig. 2 is the second embodiment flow chart of the data backup restoration method of the application DVR;
Fig. 3 is the 3rd an embodiment flow chart of the data backup restoration method of the application DVR;
Video source was the supervisory control system configuration diagram of analog video camera when Fig. 4 carried out data backup restoration for using the application;
Video source was the supervisory control system configuration diagram of IP video camera when Fig. 5 carried out data backup restoration for using the application;
Fig. 6 is the embodiment block diagram of the data backup restoration system of the application DVR;
Fig. 7 backs up the embodiment block diagram of DVR for the application;
Fig. 8 is the record a video embodiment block diagram of DVR of the application.
Embodiment
The embodiment of the present application provides data backup restoration method, system and the DVR of a kind of DVR, is applied in usually in the monitoring environment, comprises a backup DVR and some video recording DVR in this monitoring environment, and backup DVR links to each other with video recording DVR.
In order to make those skilled in the art person understand technical scheme in the embodiment of the present application better, and the above-mentioned purpose of the embodiment of the present application, feature and advantage can be become apparent more, below in conjunction with accompanying drawing technical scheme in the embodiment of the present application is described in further detail.
Referring to Fig. 1, be the first embodiment flow chart of the data backup restoration method of the application DVR:
Step 101: backup DVR detects when unusual video recording DVR occurring, and the video source of switching the unusual video recording DVR of appearance is to backing up DVR.
Concrete, backup DVR is according to IP address and the port numbers of pre-configured video recording DVR, by TCP (Transmission Control Protocol, transmission control protocol) agreement and described video recording DVR connect, when getting nowhere when connecting, it is unusual to determine that video recording DVR occurs, after the success that connects, backup DVR sends the request of inquiry operating state to video recording DVR according to the time interval that sets in advance, if receive the exception reporting that video recording DVR returns, or do not receive the feedback report of video recording DVR, it is unusual to confirm that then video recording DVR occurs.
Wherein, when video source is analog video camera, switch the video source of the unusual video recording DVR of appearance to described backup DVR by video matrix; When video source is the IP video camera, backup DVR in the supervisory control system and video recording DVR are positioned at same local area network (LAN), and information such as the IP address of the IP video camera that the unusual video recording DVR of appearance by storage in advance connects and port numbers switch to video source and back up DVR and link to each other.
Step 102: backup DVR carries out data backup by video source to unusual video recording DVR occurring.
Concrete, the data that backup DVR exports after with video frequency source coding as backup data store in the memory space of backup DVR, preserve index file, comprise information such as time started of IP address, backup of the IP video camera that the size of Backup Data, corresponding video recording DVR connect and concluding time in the index file.
Step 103: unusual video recording DVR recovery occurs just often when detecting, stop data backup, and backed up data transfers to described existing unusual video recording DVR.
Concrete, DVR is according to the time interval that sets in advance in backup, the appearance unusual video recording DVR corresponding with the IP address of record connects, after the success that connects, send the request of inquiry operating state to video recording DVR, if receive the normal report that video recording DVR returns, determine that then video recording DVR recovers normal.
After determining that video recording DVR recovers normally, backup DVR is according to the Backup Data in the IP address searching memory space that unusual video recording DVR occurs, obtain the Backup Data that searches, and size, time started and the concluding time of passing through the list records Backup Data, tabulation is sent to the unusual video recording DVR of appearance, when in unusual video recording DVR occurring, enough memory spaces being arranged, Backup Data is transferred to the unusual video recording DVR of appearance by Transmission Control Protocol.
Step 104: unusual video recording DVR occurs and carry out data according to backed up data and recover, obtain complete data resource, finish current flow process.
Concrete, the clearance spaces of video recording DVR inquiry current memory space is kept at the Backup Data that receives in this clearance spaces, and writes down size, time started and the concluding time of this Backup Data.
Referring to Fig. 2, be the second embodiment flow chart of the data backup restoration method of the application DVR, this embodiment shows in detail the handling process of backup DVR side:
Step 201: backup DVR connects with video recording DVR by Transmission Control Protocol according to IP address and the port numbers of pre-configured video recording DVR.
Stored IP address and the port numbers of all video recording DVR in the supervisory control system in the backup DVR in advance, can connect with corresponding video recording DVR according to IP address and port numbers.When system initially started working, backup DVR and video recording DVR all started, and back up IP address and the port numbers of DVR according to pre-configured video recording DVR this moment, set up network by Transmission Control Protocol with each video recording DVR and were connected.
Step 202: whether judgement connects successful, if then execution in step 203; Otherwise, execution in step 205.
Step 203: backup DVR sends the request of inquiry operating state to video recording DVR according to the time interval that sets in advance.
Whether backup DVR and video recording DVR connect successfully, then can set the request to its operating state of each video recording DVR transmission inquiry every 5 seconds usually, occur unusually to check video recording DVR.
After video recording DVR startup, the port numbers foundation pre-configured according to the user is connected with the TCP of backup DVR, and connects the request that receives the inquiry operating state that backs up the DVR transmission according to TCP, and to backup DVR feedback operation state.
Step 204: judge according to the feedback of video recording DVR whether video recording DVR is unusual, if then execution in step 205; Otherwise, finish current flow process.
If receive the exception reporting that video recording DVR returns, or do not receive the feedback report of video recording DVR, it is unusual to confirm that then this video recording DVR occurs.
In video recording DVR side, video recording DVR feeds back video state by the numeral of inquiring about available fdisk, and available partition equals at 0 o'clock, thinks that then video state is undesired.Divide several briefing video recording testing processes below:
After video recording DVR starts, search the hard disk on all hard-disk interfaces in order, if do not find any hard disk, just writing down available fdisk is 0;
When starting, video recording DVR finds n hard disk, then detect the data of each hard disk in order, if hard disk is format not, perhaps hard disk SMART data are made mistakes, perhaps critical data is made mistakes in the hard disk, think that then this hard disk is unavailable, if n hard disk is all unavailable, then writing down available fdisk is 0;
When video recording DVR starts the back hypothesis m available partition arranged, the DVR that records a video usually be divided into record full cover and record to expire do not cover two kinds of mode of operations, the user can select a kind of in two kinds of patterns.When the user selects to record full covering, video recording DVR has only under the situation of reading writing harddisk mistake and can be revised as the current subregion of this hard disk unavailable, video recording DVR available partition number subtracts 1, when hard disk available partition number equals 0, thinks that then the operating state of video recording DVR occurs unusual; When the user selected record completely not cover, video recording DVR can be revised as this subregion unavailable when read-write makes mistakes, and the available partition number subtracts 1, in addition, write when full when fdisk video recording data, video recording DVR can be revised as this subregion unavailable, and the available partition number subtracts 1; When hard disk available partition number was kept to 0, it is unusual that video recording DVR confirms that its operating state occurs.
Step 205: the video source of switching the unusual video recording DVR of appearance is to backing up DVR.
If it is unsuccessful that backup DVR and video recording DVR connect, represent that then this video recording DVR may crash; If backup DVR and video recording DVR connect successfully, but receive the exception reporting that video recording DVR returns, or do not receive the feedback report of video recording DVR, it is unusual to confirm that then this video recording DVR occurs.
When carrying out switching, when video source is analog video camera, switch the video source of the unusual video recording DVR of appearance to described backup DVR by video matrix; When video source was the IP video camera, backup DVR and video recording DVR were positioned at same local area network (LAN), and information such as the IP address of the IP video camera that the unusual video recording DVR of appearance by storage in advance connects and port numbers switch to described video source with described backup DVR and link to each other.
Step 206: backup DVR sends a warning message to control centre.
Usually can comprise the sign that unusual video recording DVR occurs in the warning information, be used to notify control centre that the detection that unusual DVR carries out abnormal restoring is handled; Backup DVR can also further be unusual video recording DVR log, so that subsequent query.
Step 207: with the data exported behind the video frequency source coding as backup data store in the memory space of backup DVR.
Step 208: preserve index file, comprise the IP address of the IP video camera that the size of Backup Data, corresponding video recording DVR connect, the time started and the concluding time of backup in the index file.
Step 209: detect the unusual video recording DVR of appearance and whether recover normally, if then execution in step 210; Otherwise, return step 208.
Backup DVR has the task of recovering Backup Data, can set in advance the circulation in per 1 minute of this task and carry out once, when when inquire backup DVR according to data list in Backup Data being arranged, initiates the video recording DVR corresponding with stored IP address and connects.
After the success that connects, DVR sends the request of inquiry operating state to video recording, if receive the normal report that described video recording DVR returns, determines that then video recording DVR recovers normal.Wherein, after video recording DVR received the request of inquiry operating state, whether the remaining space of inquiring about on self hard disk was enough, if enough, then send normal report to backup DVR, then can execution in step 210, if not enough, then need to return step 208 and proceed data backup by backup DVR.
Step 210: backup DVR stops data backup, and backed up data transfers to the unusual video recording DVR of appearance.
Step 211: unusual video recording DVR occurs and carry out data according to backed up data and recover, obtain complete data resource, finish current flow process.
Referring to Fig. 3, be the 3rd embodiment flow chart of the data backup restoration method of the application DVR, this embodiment shows in detail and unusual video recording DVR side occurs and carry out the handling process that data are recovered:
Step 301: backup DVR detects when unusual video recording DVR occurring, and the video source of switching the unusual video recording DVR of appearance is to backing up DVR.
Step 302: with the data exported behind the video frequency source coding as backup data store in the memory space of backup DVR.
Step 303: preserve index file, comprise the IP address of the IP video camera that the size of Backup Data, corresponding video recording DVR connect, the time started and the concluding time of backup in the index file.
Step 304: unusual video recording DVR recovery occurs just often when detecting, stop data backup.
Wherein, backup DVR has the task of recovering Backup Data, can set in advance the circulation in per 1 minute of this task and carry out once, when when inquire backup DVR according to data list in Backup Data being arranged, initiates the video recording DVR corresponding with stored IP address and connects.After the success that connects, DVR sends the request of inquiry operating state to video recording, if receive the normal report that described video recording DVR returns, determines that then video recording DVR recovers normal.
Step 305: backup DVR is according to the Backup Data in the IP address searching memory space that unusual video recording DVR occurs.
Step 306: obtain behind the Backup Data that searches size, time started and concluding time, tabulation is sent to unusual video recording DVR occurs by this Backup Data of list records.
Step 307: when the unusual video recording DVR of appearance has enough memory spaces, Backup Data is transferred to the unusual video recording DVR of appearance by Transmission Control Protocol.
Step 308: the clearance spaces of video recording DVR inquiry current memory space.
Step 309: the Backup Data that receives is kept in the clearance spaces, and writes down size, time started and the concluding time of described Backup Data.
Step 310: when unusual video recording DVR occurring according to after backed up data is carried out the data recovery, this video recording DVR sends a notification message to backup DVR.
Step 311: after backup DVR received notification message, the state that Backup Data is set finished current flow process for recovering.
Referring to Fig. 4, video source is the supervisory control system configuration diagram of analog video camera when carrying out data backup restoration for using the application.
Wherein, be the situation of analog video camera for video source, we need select suitable video switching matrix, realize the switching of video source, and the input of video switching matrix is no less than the number in total video source, and output is no less than the way that backs up DVR.As shown in Figure 4, a backup DVR is arranged in this system, N platform video recording DVR is arranged, and each simulation camera is all imported video recording DVR and video switching matrix to vision signal simultaneously by the audio frequency three-way plug, and the video output of video switching matrix inserts the video input of backup DVR.Suppose that N platform video recording DVR and backup DVR are 16 tunnel inputs, need select for use 16 to multiply by N input, the video switching matrix of 16 outputs this moment.According to the description in the previous embodiment; backup DVR can not stop to scan the operating state of video recording DVR; (report condition of 1<=M<=N) is feedback states unusually or not whenever video recording DVR M; backup DVR just sends order to video matrix; video matrix all switches to the video source of video recording DVR M the video output of video switching matrix; and open backup DVR this video recording DVR M is carried out data backup; the state of the DVR of this video recording of cyclic query simultaneously M; wait for that video recording DVR M recovers operate as normal; backup DVR stops data backup and backed up data is transferred to this video recording DVR M; video recording DVR M recovers complete video recording data according to Backup Data, so moves in circles.
Referring to Fig. 5, video source is the supervisory control system configuration diagram of IP video camera when carrying out data backup restoration for using the application.
Wherein, be the situation of IP video camera for video source, need backup DVR to mix DVR or NVR.Backup DVR need store the IP address and the port numbers of the IP video camera of all video recording DVR connections, can also store access informations such as user name, password.Under the situation that inserts the IP video camera, need not come Switch Video by video switching matrix, also do not need video three-way plug multichannel output video source, an IP camera that needs assurance backup DVR can connect all video recording DVR connections gets final product (promptly all DVR and IP camera are in same local area network (LAN)).Situation about inserting with the simulation camera is similar, backup DVR can not stop to scan the operating state of video recording DVR, when inquiring certain video recording DVR M (during the abnormal state of 1<=M<=N), backup DVR initiatively removes to connect the IP camera that this video recording DVR connects, and the video recording of unlatching backup DVR, inquire about the state of this video recording DVR simultaneously, after waiting for that video recording DVR recovers operate as normal, backup DVR stops data backup and backed up data is transferred to this video recording DVR, video recording DVR recovers complete video recording data according to Backup Data, so moves in circles.
Corresponding with the embodiment of the data backup restoration method of the application DVR, the application also provides the embodiment of data backup restoration system, backup DVR and the video recording DVR of DVR.
Referring to Fig. 6, be the embodiment block diagram of the data backup restoration system of the application DVR.
The data backup restoration system of this DVR comprises: a backup DVR610 and some video recording DVR620 (convenient for example, that N platform video recording DVR has been shown among Fig. 6), described backup DVR610 links to each other with video recording DVR620.
Wherein, backup DVR610, be used to detect when unusual video recording DVR620 occurring, the video source of switching the unusual video recording DVR620 of described appearance is to described backup DVR610, described backup DVR610 carries out data backup by described video source to the unusual video recording DVR620 of described appearance, recover just often when detecting the unusual video recording DVR620 of described appearance, stop described data backup, and backed up data transfers to the unusual video recording DVR620 of described appearance;
Video recording DVR620 is used for when unusual video recording DVR appears in conduct, carries out data according to described backed up data and recovers, and obtains complete data resource.
Referring to Fig. 7, for the application backs up the embodiment block diagram of DVR, this backup DVR is applied to comprise in the supervisory control system of some video recording DVR, and described backup DVR links to each other with the DVR that records a video.
This backup DVR comprises: detecting unit 710, switch unit 720, backup units 730 and transmission unit 740.
Wherein, whether detecting unit 710 is used to detect described video recording DVR and occurs unusually;
Switch unit 720 is used for detecting when unusual video recording DVR occurring when described detecting unit 710, and the video source of switching the unusual video recording DVR of described appearance is to described backup DVR;
Backup units 730 is used for by described video source the unusual video recording DVR of described appearance being carried out data backup;
Transmission unit 740 is used for recovering just often when described detecting unit 710 detects the unusual video recording DVR of described appearance, stop described data backup, and backed up data transfers to the unusual video recording DVR of described appearance.
Further, this backup DVR can also comprise (not shown among Fig. 7): Alarm Unit, be used for sending a warning message to control centre, and comprise the sign of the unusual video recording DVR of described appearance in the described warning information; Record cell, the unusual condition daily record that is used to write down the unusual video recording DVR of described appearance; The unit is set, is used for carrying out data when recovering notification message that the back sends when receiving the unusual video recording DVR of described appearance according to described backed up data, the state that described Backup Data is set is for recovering.
Referring to Fig. 8, for the record a video embodiment block diagram of DVR of the application, be applied to comprise in the supervisory control system of a backup DVR, described backup DVR links to each other with the DVR that records a video.
This video recording DVR comprises: receiving element 810 and recovery unit 820.
Wherein, receiving element 810, be used to receive the Backup Data of described backup DVR transmission, described Backup Data is that described backup DVR detects described video recording DVR and occurs when unusual, the video source of switching described video recording DVR is carried out the data that obtain after the data backup to the described DVR that records a video by described video source to described backup DVR;
Recovery unit 820 is used for carrying out data according to described backed up data and recovers, and obtains complete data resource.
As seen through the above description of the embodiments, backup DVR detects when unusual video recording DVR occurring in the embodiment of the present application, the video source of switching the unusual video recording DVR of appearance is to backing up DVR, backup DVR carries out data backup by video source to unusual video recording DVR occurring, when detecting unusual video recording DVR recovery appears just often, stop data backup, and backed up data has transferred to the unusual video recording DVR of appearance, unusual video recording DVR occurs and carry out data according to backed up data and recover, obtain complete data resource.Using the application can be behind video recording DVR abnormal restoring; Backup Data according to backup DVR transmission carries out the recovery of partial data automatically; recover owing to need not to adopt manual mode to carry out data, therefore reduced operation complexity, improved the data processing performance of supervisory control system.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is difference with other embodiment.Especially, for system embodiment, because it is substantially similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
The application can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise distributed computing environment (DCE) of above any system or equipment or the like.
The application can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment (DCE), put into practice the application, in these distributed computing environment (DCE), by by communication network connected teleprocessing equipment execute the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Though described the application by embodiment, those of ordinary skills know, the application has many distortion and variation and the spirit that do not break away from the application, wish that appended claim comprises these distortion and variation and the spirit that do not break away from the application.

Claims (14)

1. the data backup restoration method of a DVR is characterized in that, is applied to comprise in the supervisory control system of a backup DVR and some video recording DVR, and described backup DVR links to each other with video recording DVR, comprising:
Backup DVR detects when unusual video recording DVR occurring, and the video source of switching the unusual video recording DVR of described appearance is to described backup DVR;
Described backup DVR carries out data backup by described video source to the unusual video recording DVR of described appearance;
Recover just often when detecting the unusual video recording DVR of described appearance, stop described data backup, and backed up data transfers to the unusual video recording DVR of described appearance;
The unusual video recording DVR of described appearance carries out data according to described backed up data and recovers, and obtains complete data resource.
2. method according to claim 1 is characterized in that, described backup DVR detects the unusual video recording DVR of appearance and comprises:
Described backup DVR connects by Transmission Control Protocol and described video recording DVR according to IP address and the port numbers of pre-configured video recording DVR, connects when unsuccessful when described, determines described video recording DVR appearance unusually; Or
After the described success that connects, described backup DVR sends the request of inquiry operating state to described video recording DVR according to the time interval that sets in advance, if receive the exception reporting that video recording DVR returns, or do not receive the feedback report of video recording DVR, it is unusual to confirm that then described video recording DVR occurs.
3. method according to claim 1 is characterized in that, the video source that unusual video recording DVR appears in described switching comprises to backing up DVR:
When described video source is analog video camera, switch the video source of the unusual video recording DVR of appearance to described backup DVR by video matrix;
When described video source is the IP video camera, backup DVR in the described supervisory control system and video recording DVR are positioned at same local area network (LAN), and the IP address of the IP video camera that the unusual video recording DVR of described appearance by storage in advance connects switches to described video source with described backup DVR with port numbers and links to each other.
4. method according to claim 1 is characterized in that, the video source of the video recording DVR that the described appearance of described switching is unusual also comprises to the described backup DVR:
Backup DVR sends a warning message to control centre, comprises the sign of the unusual video recording DVR of described appearance in the described warning information;
The unusual condition daily record that described backup DVR writes down the unusual video recording DVR of described appearance.
5. method according to claim 1 is characterized in that, described backup DVR carries out data backup by described video source to the unusual video recording DVR of described appearance and comprises:
With the data exported behind the described video frequency source coding as backup data store in the memory space of described backup DVR;
Preserve index file, comprise the IP address of the IP video camera that the size of described Backup Data, corresponding described video recording DVR connect, the time started and the concluding time of backup in the described index file.
6. method according to claim 5 is characterized in that, described detection unusual video recording DVR occurs and recovers normally to comprise:
DVR is according to the time interval that sets in advance in backup, and the unusual video recording DVR of the appearance corresponding with the IP address of described record connects;
After the described success that connects, send the request of inquiry operating state to described video recording DVR, if receive the normal report that described video recording DVR returns, determine that then video recording DVR recovers normal.
7. method according to claim 5 is characterized in that, described backed up data transfers to the unusual video recording DVR of described appearance and comprises:
DVR is according to the Backup Data in the IP address searching memory space of the unusual video recording DVR of described appearance in backup;
Obtain the described Backup Data that searches, and pass through size, time started and the concluding time of the described Backup Data of list records;
Described tabulation is sent to the unusual video recording DVR of described appearance;
When among the unusual video recording DVR of described appearance enough memory spaces being arranged, described Backup Data is transferred to the unusual video recording DVR of described appearance by Transmission Control Protocol.
8. method according to claim 7 is characterized in that, the unusual video recording DVR of described appearance carries out data according to described backed up data and recovers to comprise:
The clearance spaces of described video recording DVR inquiry current memory space;
The described Backup Data that receives is kept in the described clearance spaces, and writes down size, time started and the concluding time of described Backup Data.
9. method according to claim 1 is characterized in that, also comprises:
When the unusual video recording DVR of described appearance carried out the data recovery according to described backed up data after, the unusual video recording DVR of described appearance sent a notification message to described backup DVR;
After described backup DVR received described notification message, the state that described Backup Data is set was for recovering.
10. the data backup restoration system of a DVR is characterized in that, comprises a backup DVR and some video recording DVR, and described backup DVR links to each other with video recording DVR,
Described backup DVR, be used to detect when unusual video recording DVR occurring, the video source of switching the unusual video recording DVR of described appearance is to described backup DVR, described backup DVR carries out data backup by described video source to the unusual video recording DVR of described appearance, recover just often when detecting the unusual video recording DVR of described appearance, stop described data backup, and backed up data transfers to the unusual video recording DVR of described appearance;
Described video recording DVR is used for when unusual video recording DVR appears in conduct, carries out data according to described backed up data and recovers, and obtains complete data resource.
11. a backup DVR is characterized in that, is applied to comprise in the supervisory control system of some video recording DVR, described backup DVR links to each other with video recording DVR, comprising:
Whether detecting unit is used to detect described video recording DVR and occurs unusually;
Switch unit is used for detecting when unusual video recording DVR occurring when described detecting unit, and the video source of switching the unusual video recording DVR of described appearance is to described backup DVR;
Backup units is used for by described video source the unusual video recording DVR of described appearance being carried out data backup;
Transmission unit is used for recovering just often when described detecting unit detects the unusual video recording DVR of described appearance, stop described data backup, and backed up data transfers to the unusual video recording DVR of described appearance.
12. backup DVR according to claim 11 is characterized in that, also comprises:
Alarm Unit is used for sending a warning message to control centre, comprises the sign of the unusual video recording DVR of described appearance in the described warning information;
Record cell, the unusual condition daily record that is used to write down the unusual video recording DVR of described appearance.
13. backup DVR according to claim 11 is characterized in that, also comprises:
The unit is set, is used for carrying out data when recovering notification message that the back sends when receiving the unusual video recording DVR of described appearance according to described backed up data, the state that described Backup Data is set is for recovering.
14. a video recording DVR is characterized in that, is applied to comprise in the supervisory control system of a backup DVR, described backup DVR links to each other with video recording DVR, comprising:
Receiving element, be used to receive the Backup Data of described backup DVR transmission, described Backup Data is that described backup DVR detects described video recording DVR and occurs when unusual, the video source of switching described video recording DVR is carried out the data that obtain after the data backup to the described DVR that records a video by described video source to described backup DVR;
Recovery unit is used for carrying out data according to described backed up data and recovers, and obtains complete data resource.
CN2009101653682A 2009-08-07 2009-08-07 DVR (Digital Video Recorder) as well as data backup and recovery method and system thereof Active CN101873462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101653682A CN101873462B (en) 2009-08-07 2009-08-07 DVR (Digital Video Recorder) as well as data backup and recovery method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101653682A CN101873462B (en) 2009-08-07 2009-08-07 DVR (Digital Video Recorder) as well as data backup and recovery method and system thereof

Publications (2)

Publication Number Publication Date
CN101873462A true CN101873462A (en) 2010-10-27
CN101873462B CN101873462B (en) 2012-05-30

Family

ID=42998089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101653682A Active CN101873462B (en) 2009-08-07 2009-08-07 DVR (Digital Video Recorder) as well as data backup and recovery method and system thereof

Country Status (1)

Country Link
CN (1) CN101873462B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102227131A (en) * 2011-05-12 2011-10-26 杭州海康威视数字技术股份有限公司 Hot backup system of NVR and method thereof
CN102968360A (en) * 2012-11-28 2013-03-13 青岛海信网络科技股份有限公司 Storage system with N+1 redundancy function and method
CN103309838A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Switching method of information acquisition equipment, terminal equipment and multi-terminal equipment system
CN103546724A (en) * 2013-10-22 2014-01-29 杭州爱浦多数码技术有限公司 Network camera collecting-distributing redundancy storage system and storage method thereof
CN104699565A (en) * 2013-12-10 2015-06-10 光阳工业股份有限公司 File backup method for motorcycle tachograph
CN104702872A (en) * 2014-02-12 2015-06-10 杭州海康威视数字技术股份有限公司 Method and device for duplicating video files
CN104754266A (en) * 2013-12-30 2015-07-01 杭州海康威视数字技术股份有限公司 Smart FTP (File Transfer Protocol) backup video recording method and system
CN105430327A (en) * 2015-11-05 2016-03-23 成都基业长青科技有限责任公司 NVR cluster backup method and device
CN106341634A (en) * 2016-08-31 2017-01-18 武汉烽火众智数字技术有限责任公司 Video acquisition system based on hard disk video recorder and method thereof
CN107071351A (en) * 2017-03-30 2017-08-18 杭州瑞网广通信息技术有限公司 A kind of multistage disaster tolerance framework in station and method
CN107872643A (en) * 2016-09-23 2018-04-03 伊姆西Ip控股有限责任公司 Fault recovery method and device for video monitoring system
CN109151815A (en) * 2017-06-15 2019-01-04 杭州海康威视数字技术股份有限公司 Equipment cut-in method, apparatus and system
CN109309721A (en) * 2018-10-11 2019-02-05 郑州云海信息技术有限公司 A kind of audio-video storage system intelligence amended record method and device
CN110830281A (en) * 2018-08-13 2020-02-21 浙江宇视科技有限公司 Hot standby method and system based on mesh network structure

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100359936C (en) * 2004-11-21 2008-01-02 秦燕 Reliable digit video recording system
CN1929558A (en) * 2006-09-20 2007-03-14 潘国平 Hot stand-by system and device for hard disk video cassette recorder
CN101483762B (en) * 2008-12-31 2011-07-13 中兴通讯股份有限公司 Platform video recording method, system and customer terminal

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102227131A (en) * 2011-05-12 2011-10-26 杭州海康威视数字技术股份有限公司 Hot backup system of NVR and method thereof
CN103309838A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Switching method of information acquisition equipment, terminal equipment and multi-terminal equipment system
CN103309838B (en) * 2012-03-16 2018-02-27 联想(北京)有限公司 Switching method, terminal device and the multi-terminal equipment system of information collecting device
CN102968360B (en) * 2012-11-28 2015-08-05 青岛海信网络科技股份有限公司 There is storage system and the method for N+1 redundancy feature
CN102968360A (en) * 2012-11-28 2013-03-13 青岛海信网络科技股份有限公司 Storage system with N+1 redundancy function and method
CN103546724A (en) * 2013-10-22 2014-01-29 杭州爱浦多数码技术有限公司 Network camera collecting-distributing redundancy storage system and storage method thereof
CN104699565A (en) * 2013-12-10 2015-06-10 光阳工业股份有限公司 File backup method for motorcycle tachograph
CN104754266A (en) * 2013-12-30 2015-07-01 杭州海康威视数字技术股份有限公司 Smart FTP (File Transfer Protocol) backup video recording method and system
CN104702872A (en) * 2014-02-12 2015-06-10 杭州海康威视数字技术股份有限公司 Method and device for duplicating video files
CN104702872B (en) * 2014-02-12 2018-11-13 杭州海康威视数字技术股份有限公司 A kind of backup method and device of video file
CN105430327A (en) * 2015-11-05 2016-03-23 成都基业长青科技有限责任公司 NVR cluster backup method and device
CN106341634A (en) * 2016-08-31 2017-01-18 武汉烽火众智数字技术有限责任公司 Video acquisition system based on hard disk video recorder and method thereof
US11509868B2 (en) 2016-09-23 2022-11-22 EMC IP Holding Company LLC Method and apparatus for failover in a video surveillance system
CN107872643A (en) * 2016-09-23 2018-04-03 伊姆西Ip控股有限责任公司 Fault recovery method and device for video monitoring system
CN107071351A (en) * 2017-03-30 2017-08-18 杭州瑞网广通信息技术有限公司 A kind of multistage disaster tolerance framework in station and method
CN107071351B (en) * 2017-03-30 2019-11-05 杭州瑞网广通信息技术有限公司 A kind of station multistage disaster tolerance framework and method
CN109151815A (en) * 2017-06-15 2019-01-04 杭州海康威视数字技术股份有限公司 Equipment cut-in method, apparatus and system
CN110830281A (en) * 2018-08-13 2020-02-21 浙江宇视科技有限公司 Hot standby method and system based on mesh network structure
CN110830281B (en) * 2018-08-13 2022-06-14 浙江宇视科技有限公司 Hot standby method and system based on mesh network structure
CN109309721A (en) * 2018-10-11 2019-02-05 郑州云海信息技术有限公司 A kind of audio-video storage system intelligence amended record method and device

Also Published As

Publication number Publication date
CN101873462B (en) 2012-05-30

Similar Documents

Publication Publication Date Title
CN101873462B (en) DVR (Digital Video Recorder) as well as data backup and recovery method and system thereof
US8190946B2 (en) Fault detecting method and information processing apparatus
CN104636435B (en) Cloud terminal records screen method
US20070168690A1 (en) Highly available computing platform
CN102831035A (en) Information backup method and device
CN108874441B (en) Board card configuration method, device, server and storage medium
CN111930703A (en) Automatic log file capturing method and device and computer equipment
CN105049937A (en) Method and device for unloading external storage equipment from Android system smart television
CN110750379A (en) ETCD cluster recovery method, system, equipment and computer medium
CN111342986B (en) Distributed node management method and device, distributed system and storage medium
CN110972497A (en) Disaster recovery method and device for virtualization platform
CN114356650A (en) Data backup method, device, equipment, system and storage medium
CN104750537A (en) Test case execution method and device
US11930292B2 (en) Device state monitoring method and apparatus
CN110620798A (en) Control method, system, equipment and storage medium for FTP connection
JP4384622B2 (en) External storage device, program, and information processing system
WO2020102940A1 (en) Abnormality processing method, terminal device and storage medium
CN105487921A (en) Task stack management method and apparatus
WO2018137540A1 (en) Method and device for backing up data
WO2009097768A1 (en) Configuration migration method and device
CN103092794B (en) Transmission method and electronic equipment
CN108664366B (en) Data transmission method and device and server
US8112676B2 (en) Apparatus and method to generate and collect diagnostic data
CN111026585A (en) Storage server hot standby switching method in recording and broadcasting system
WO2010109743A1 (en) Log extraction device, log extraction method, and program

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