CN103986757B - A kind of distributed backup method and system of piece of storage video recording - Google Patents

A kind of distributed backup method and system of piece of storage video recording Download PDF

Info

Publication number
CN103986757B
CN103986757B CN201410196749.8A CN201410196749A CN103986757B CN 103986757 B CN103986757 B CN 103986757B CN 201410196749 A CN201410196749 A CN 201410196749A CN 103986757 B CN103986757 B CN 103986757B
Authority
CN
China
Prior art keywords
backup
ipsan
ipsan equipment
equipment
video
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
CN201410196749.8A
Other languages
Chinese (zh)
Other versions
CN103986757A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201410196749.8A priority Critical patent/CN103986757B/en
Publication of CN103986757A publication Critical patent/CN103986757A/en
Application granted granted Critical
Publication of CN103986757B publication Critical patent/CN103986757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides the distributed backup system of a kind of piece of storage video recording, the system includes archive management server BM, first IPSAN equipment and the 2nd IPSAN equipment, first IPSAN equipment is stored with video recording to be backed up, 2nd IPSAN equipment, which is used to back up, records a video, when carrying out Video data backup traffic, the BM servers send backup traffic signaling to the first IPSAN equipment and the 2nd IPSAN equipment;First IPSAN equipment reads corresponding Video data according to the backup traffic signaling, and sends to the second IPSAN equipment;2nd IPSAN equipment receives the Video data, and backs up in the memory space of itself.The backup scenario of the present invention is from all by the centralized architecture of archive management server processing, it is optimized for BM servers and carries out backup traffic signaling processing, IPSAN equipment where video recording and the full distributed framework of backup IPSAN equipment processing media data, alleviate the pressure of archive management server.

Description

A kind of distributed backup method and system of piece of storage video recording
Technical field
The present invention relates to technical field of memory, more particularly to the distributed backup method and system of a kind of piece of storage video recording.
Background technology
As application of the high definition in monitoring business system, the requirement such as reliability, performance to monitoring video storage are more next It is higher.And front end IP encoder devices are to the IPSAN iSCSI of Media Stream end to end that directly the technology of depositing is exactly a kind of preferably video recording Storage scheme.On storage mode, the data management mode of " Media Stream block is directly deposited " has abandoned media server.In IP network On the basis of, iSCSI modules are integrated with encoding device so that encoding device can be based on iSCSI protocol end to end record As in data write-in IPSAN storage devices, Fig. 1 please be join.
When the image of control point needs to carry out centrally stored, front end IP encoders establish iSCSI companies with IPSAN equipment Connect, the storage resource of IPSAN equipment is mounted to local by iSCSI protocol, storage video flowing is then subjected to iSCSI protocol Encapsulation, using proprietary block storage format by media and time index data write-in IPSAN storage devices.
Fig. 2 gives a kind of general monitoring video block storage format.The chief component of the block format is as follows:
(1) superblock:Typically there is tens K (such as 16K) byte, for recording the version number of block format, video camera coding;
(2) one level temporal index area:Be one level temporal index area behind superblock, every time index in index area with One data cell corresponds, the time of the earliest I frames group for recording the data cell, so as to quick based on the time Navigate to some data cell;
(3) data cell and two level time index area:One level temporal index area is followed by a series of data cell, is used for Preserve the I frame group data of video recording.In order to ensure being continuously written into for I frame group data, data cell commonly reaches hundreds of M bytes (ratio Such as 256M bytes).Each data cell is started with a two level time index area, wherein every time index Xiang Yuyi I frames group correspond, for recording the I frame groups at the beginning of between, so as to based on some I frame group of time fast positioning.Two It is exactly all I frames group data in notebook data unit after level index area;
(4) I frames group:One I frame group is exactly the monitoring video data of 1 second.In I frame groups, storage be the I frame groups institute There are video, packets of audio data.
Recorded a video for block format, in the sector applications such as public security, garden, following video recording backup requirements be present:For with Some selected material time sections of family video recording (such as:The record of the relevant time period for the video camera that public security important case is related to Picture), it is necessary to perform backup, i.e., this part Video data is transmitted and stored being exclusively used in depositing for backup from original memory space Space is stored up, it is typically longer that the phase is retained in the video recording in backup space, while supports the fault tolerant mechanism of more parts of data duplication.
Video recording backup traffic feature includes:
1st, storage video recording is obtained on demand.The BACKUP TIME section that user is specified, be converted to the space address model of original video recording Enclose, the distribution space of the scope depends directly on the preservation form of original video recording;
2nd, the memory space for preserving backup video recording is not fixed, and can not be specified in advance, and a public storage can only be specified empty Between, the backup video recording of many video cameras can be preserved.That is, common led based on the mode of disk mirroring in video recording backup Domain does not apply to simultaneously.Therefore, back up memory space can typically be formatted as file system, so as to realize that the important video recording of multiple-camera is standby The memory space of part shares.
A kind of existing generic block video recording backup scenario, networking are as shown in Figure 3.In this backup networking plan, VM clothes Backup tasks are issued to BM servers by business device, and BM servers are by RTSP agreements, the DM of IPSAN equipment where being recorded a video to management Server request, which is downloaded, specifies video camera, the Video data of specified time section.
After DM servers receive request, by iSCSI protocol, read from being mounted in local IPSAN storage resources Corresponding block format Video data, the data channel then established by RTSP, BM servers are sent to by Video data.
After BM servers receive Video data, the establishment file in resource backup, write data into backup file.
Such scheme, because the RTSP download performances of DM servers are limited, do not reach much on code stream bandwidth is downloaded standby The requirement of part, therefore industry is proposed a kind of new backup scenario again, please join Fig. 4.In this scheme, BM servers are on the one hand By iSCSI protocol carry backup IPSAN resource backup to local, while pass through IPSAN where iSCSI protocol carry is recorded a video Storage resource to local, such BM servers are in backup flow of record a video, it is no longer necessary to by RTSP to the download of DM servers Video recording, but directly in BM server locals, the block format read by iSCSI protocol in storage resource is recorded a video, and is passed through ISCSI protocol writes resource backup in a manner of backing up file, by Video data.
The middle low performance link recorded a video is downloaded by RTSP to DM servers because the program reduces BM servers, because This backup performance will obtain a certain degree of lifting.But the process performance of BM servers easily becomes performance bottleneck so that is The monolithic backup performance comparision of system is low.
In addition, BM servers typically use linux operating systems, the difference of kernel state, User space under Linux system be present Running environment.Run in kernel mode inside in environment, perform the systems such as interrupt processing, task scheduling, file system, ICP/IP protocol stack The task of level;In User space running environment, user-defined task is performed.
What the address space in above-mentioned two working environment was entirely isolated, when data are transmitted in two environment, it is necessary to From the address space of source environment, the address space of purpose environment is copied to.
For above-mentioned backup scenario, the iSCSI protocol stack that BM servers use is the kernel state for being operated in Linux system, And backup module is to be operated in User space.Therefore, backup mould is read by iSCSI protocol from storage resource in Video data Block and from backup module resource backup is written to by iSCSI protocol when, it is necessary to BM servers kernel state and User space it Between carry out data copy twice, largely influence backup performance.
The content of the invention
In view of this, the present invention provides the distributed backup system of a kind of piece of storage video recording.
The system includes archive management server BM, the first IPSAN equipment and the 2nd IPSAN equipment, and the first IPSAN is set Standby to be stored with video recording to be backed up, the 2nd IPSAN equipment, which is used to back up, records a video, should when carrying out Video data backup traffic BM servers send backup traffic signaling to the first IPSAN equipment and the 2nd IPSAN equipment;First IPSAN equipment is according to Backup traffic signaling reads corresponding Video data, and sends to the second IPSAN equipment;Described in 2nd IPSAN equipment receives Video data, and back up in the memory space of itself.
Preferably, the backup traffic signaling is performed by the User space backup module of BM servers;The Video data Read, transmission is performed by the kernel state backup module of the first IPSAN equipment;The reception of the Video data, back up by second The kernel backup module of IPSAN equipment performs.
Preferably, BM servers are continuous to pre-allocate in the resource backup for being mounted to the 2nd local IPSAN equipment The mode in space, according to the length of Video data, file system interface is adjusted to create new file, and obtain newly created file and backing up Initial address, length in resource.
Preferably, the backup traffic signaling sent to the first IPSAN equipment includes:Backup request message;The backup Request message includes:Backup Video data is in the storage location information of the first IPSAN equipment, the IP address of the 2nd IPSAN equipment With listening port, backup Video data the 2nd IPSAN equipment storage location information.
Preferably, the kernel state backup module of the first IPSAN equipment is recorded a video after backup request message is received based on backup Data record a video the backup in the storage location information of the first IPSAN equipment, construction reading I/O command reading backup Video data Data send backup video recording by the SOCKET of kernel state TCP transmission pattern to the kernel state backup module of the 2nd IPSAN equipment Data message.
Preferably, the kernel state backup module of the first IPSAN equipment creates kernel state after backup request message is received Backup thread;When starting to perform the backup of epicycle Video data, Starting Executing Time is recorded;Receiving the 2nd IPSAN equipment The epicycle that sends of kernel state backup module back up successful response after, record the current time;According to it is described start perform when Between and the current time obtain epicycle Backup Data processing time;If epicycle Backup Data processing time is less than t, institute State backup thread and carry out dormancy, dormancy time is t and the difference of epicycle Backup Data processing time;The t is epicycle backup number According to the ratio of length and backup rate;After the completion of dormancy, start the backup of next round video recording Backup Data.
Preferably, when performing the backup of multiple Video datas, if backup rate needs regulation, BM servers are to record Message is adjusted as the kernel backup module of the IPSAN equipment at place sends backup rate, backup to be regulated is carried in message and is appointed Backup rate after business ID, regulation;After the kernel backup module of IPSAN equipment where recording a video receives message, modification is corresponding standby The dormancy time of part thread.
Preferably, when carrying out backup rate regulation, a speed regulation is reduced according to by the backup rate currently recorded a video Unit, and the principle that adjustable range is tried one's best few is carried out.
Compared to prior art, backup scenario of the invention is from all by the centralized frame of archive management server processing Structure, it is optimized for BM servers and carries out backup traffic signaling processing, IPSAN equipment where video recording and backup IPSAN equipment processing matchmaker The full distributed framework of volume data, alleviate the pressure of archive management server.All media datas processing of backup, from backup The User space resume module of management server, the kernel state backup module processing being optimized between IPSAN equipment, avoids media Multiple copy process of the flow data between the kernel state and User space of archive management server, effectively increases backup performance.
Brief description of the drawings
Fig. 1 is that video recording directly deposits schematic diagram.
Fig. 2 is video recording block storage format figure.
Fig. 3 is a kind of existing video recording backup figure.
Fig. 4 is existing another video recording backup figure.
Fig. 5 is video recording distributed backup system diagram of the embodiment of the present invention.
Fig. 6 is video recording distributed backup flow chart of the embodiment of the present invention.
Embodiment
The problem of based on being mentioned in background technology, the present invention provide the backup scenario of following Video data:
When carrying out Video data backup traffic, IPSAN equipment where BM servers to video recording and backup IPSAN equipment are sent out Send backup traffic signaling;
IPSAN equipment where video recording reads corresponding Video data according to the backup traffic signaling, and sends to standby Part IPSAN equipment;
Backup IPSAN equipment receives the Video data, and backs up in the memory space of itself.
The backup scenario of the present invention is optimized for BM servers from the centralized architecture all handled by archive management server Backup traffic signaling processing is carried out, IPSAN equipment where video recording and the full distributed frame of backup IPSAN equipment processing media data Structure, alleviate the pressure of archive management server.
Wherein, BM servers include User space backup module, backup traffic signaling by BM servers User space backup mould Block performs;IPSAN equipment and backup IPSAN equipment where recording a video include kernel state backup module, the Video data respectively Reading, send by video recording where IPSAN equipment kernel state backup module perform;Reception, the backup of the Video data Performed by the kernel state backup module of backup IPSAN equipment.
All media datas processing of backup, from the User space resume module of archive management server, is optimized for IPSAN and sets Kernel state backup module processing between standby, avoid media stream data archive management server kernel state and User space it Between multiple copy process, effectively increase backup performance.
The one embodiment for implementing the technology of the present invention is described in detail below in conjunction with Fig. 5 and Fig. 6.
Fig. 5 gives the system architecture diagram of a kind of piece of storage video recording distributed backup.Block storage video recording distributed backup System include:BM servers, IPSAN equipment, backup IPSAN equipment where recording a video, VM servers (regarding in monitoring system Frequency management server, control monitoring system all devices can be managed concentratedly, dispatch various video monitoring services, and management point With monitoring user right), DM servers (data management server in monitoring system, can manage monitoring system concentratedly and own Storage resource, the data storage of front end), BM servers include User space backup module, the IPSAN equipment where recording a video includes interior Core state backup module, backup IPSAN equipment also include kernel state backup module.
Fig. 6 gives the operating process that each equipment in said system performs when carrying out video recording and backing up.
F1. user issues backup tasks to VM, carries video camera name, the information of video time section by UI interfaces.
After F2.VM servers receive the backup request at UI interfaces, request message, acquisition request pair are sent to DM servers Answering video camera, at the appointed time (storage organization of media data is using the knot shown in Fig. 2 in this example for the data unit information in section Structure), video camera name, BACKUP TIME segment information are carried in request message.
After F3.DM servers receive request message, the local storage resource that has been mounted to of the video camera is read, is obtained " the video recording time started<Between at the beginning of=this BACKUP TIME section, record a video the end time>The end time of=this BACKUP TIME section " All data cells.DM servers return to following information by response message to VM servers:The block device road of storage resource Footpath, information (unit initial address, unit size, video recording time started, the video recording knot of total, each data cell of data cell The beam time).
F4.VM servers create new backup tasks, and task status is arranged to back up, and recorded the standby of VM databases In part task list, and get the backup tasks ID of new database record.VM servers issue backup tasks to BM servers and opened Dynamic notification message.In the message, following information is carried:
The IP address of IPSAN equipment, backup listening port where video recording;
The IP address of backup IPSAN equipment, backup listening port;
Backup tasks ID, backup rate;
Record a video specific storage location information;It includes:Storage resource path, this backup tasks data cell sum, The information of each data cell, the information of each data cell include the initial address and data length of data cell.
Above-mentioned steps F1~F4 requires the time segment information of the video recording of backup for user, and this is being mounted to by DM servers (the IPSAN equipment where video recording is by the advance carry of the storage resource of itself on DM servers) is looked into the storage resource on ground Look for, obtain the storage location information of backup video recording.VM issues the notice for carrying out video recording backup to BM servers.BM servers are based on VM notice starts the backup of video recording.It should be noted that in the present embodiment, the IPSAN equipment where recording a video is the lattice with Fig. 2 Formula stores Video data, and a backup tasks can include the backup of the data of several data cells.
After the video recording backup of F5.BM startup of server, backup tasks control block is first created in internal memory, records the institute in message There is information, then to the data cell in backup tasks, data cell carries out back-up processing one by one.
Illustrated below exemplified by backing up a data cell.
F6.BM servers are in local resource backup has been mounted to, in a manner of pre-allocating continuous space, according to current The length of the data cell of processing, adjust file system interface to create new file, and return to newly created file in resource backup Initial address, length.
IPSAN kernel backup module where F7.BM servers to video recording sends backup request message, is carried in message:
The positional information of current data unit:Storage resource path, the address of data cell, data length;
The IP address of backup IPSAN equipment, listening port;
The destination locations information of backup:Resource backup path, initial address, length;
Backup tasks ID, backup rate;
F8. the kernel backup module of IPSAN where video recording, after the backup request message of BM servers is received:
Backup tasks control block is created in internal memory, records all information in backup request message.Meanwhile in control block It is middle that reduced data offset offset values are initialized as 0;
In the timestamp member of backup tasks control block, using millisecond as precision, current time is recorded;
The backup thread of kernel state is created, is exclusively used in the backup of this backup tasks;
Based on storage resource path, the address of data cell, data length, offset offset, this equipment are supported most Big data reads length (such as 512K bytes), and construction reads IO, and the data for specifying size are read from disk specified location.
F9. kernel state data transfer
IPSAN kernel backup module where video recording transmits mould after disk reads data success, by kernel state tcp The socket of formula, data transfer message is sent to purpose IPSAN kernel backup module.
Message format is defined as follows:
Head parts:Backup tasks ID, resource backup path, backup file initial address, backup file size, notebook data Offset offset, notebook data length in backup file;
Body parts:The data read from disk;
If message sends failure (for example network disconnects or purpose IPSAN is not online) or purpose IPSAN responses Failure, then backup tasks control block, backup thread are discharged, send message to BM servers, notify this backup failure, and return Failure cause.
F10. after backup IPSAN kernel backup module receives message, based on backup tasks ID, corresponding back up is matched Task control block:If matched, the data offset offset in Standby control block, the skew with the carrying in message are judged Whether consistent measure offset, if inconsistent, dropping packets.If matching less than:I.e. message is the first packet (data of this backup Offset hereof is 0), then to create backup tasks control block, the information of recorded message head parts.
Data division in message, construction write IO, write the logical DOS drives of purpose resource, and address is backup file Initial address+notebook data offset, write-in data are the body parts in message;After data write-in disk success, renewal is standby Data offset in part control block:This data length of data offset+=.If data offset grows equal to backup file Degree, illustrate that whole backup file has been completed to back up, then discharge backup tasks control block.
Response success message is sent to IPSAN where video recording, backup tasks ID, write-in data offset etc. are carried in message Information.
F11. after IPSAN where video recording receives response success message, based on the backup tasks ID carried in message, search Corresponding backup tasks control block;
After matching the success of backup tasks control block, in backup tasks control block, based on the write-in data in message Offset, the cumulative offset for having sent data;
And further perform following flow-control mechanism:
Obtain the time of this data processing:This data processing time=current time (millisecond precision)-Standby control The timestamp recorded in block;
Based on backup rate with sending data volume every time, time interval value is calculated:Such as the backup of this backup tasks Speed is the 8M bit/ seconds, and 512K byte datas per treatment, then the period time value of a data processing is 500ms.Other Backup rate, by that analogy;
If the time of this data processing is less than time interval value, dormancy time is calculated:
The time of dormancy time=time interval value-this data processing;
To the backup thread of this backup tasks, according to the dormancy time execution thread dormancy being calculated.
After the completion of thread dormancy, start next maximum data and read the digital independent of length (such as 512K bytes), pass Defeated flow;
F12. after the backup for completing a data cell, IPSAN where video recording completes the backup of this data cell Afterwards, backup tasks control block, backup thread are discharged.
IPSAN sends notice message to BM servers where video recording, carries backup tasks ID, data cell region, notice The success of notebook data unit backup.
F13.BM servers are judged in corresponding backup tasks, if exist after data cell backup completion notice is received Other data cells not yet backed up, if it is present, as step F6~F12 carries out the backup of next data cell.If All data cells of backup tasks have been completed to back up, and BM servers send a notification message to VM servers, carry backup and appoint Be engaged in ID, notifies this backup tasks to complete.
F14.VM servers are after the backup tasks completion notice message of BM servers is received, by this backup fileinfo The backup file table of (video camera coding, backup video recording time started, backup video recording end time) write-in VM databases, and update The state of corresponding backup tasks is to have completed to back up.
The process of Video data backup is described in detail in above flow.If there is multichannel Video data to need what is backed up simultaneously Words, in fact it could happen that the situation of IPSAN equipment code streams bandwidth deficiency.So the present invention further provides one kind to have backup rate pipe The video recording backup distributed system of reason ability.
The backup rate management of the system, total code stream bandwidth, the most low strap of single channel backup of IPSAN equipment are considered Wide demand, backup way is supported to be managed according to IPSAN equipment, the maximum of backup IPSAN equipment where video recording.
For IPSAN equipment where video recording, it is contemplated that storage IPSAN is also carrying out new video recording write-in, therefore specification is appropriate Turn down, such as 512Mbit/ second total bandwidths, in the case where the lowest-bandwidth of single channel backup is the 4Mbit/ seconds, 128 tunnels can be supported Backup.
The total capacity of backup IPSAN equipment, specification can support the total bandwidth of write-in to specify according to IPSAN, such as 2048Mbit/ second total bandwidths, in the case where the lowest-bandwidth of single channel backup is the 4Mbit/ seconds, 512 tunnels can be supported to back up.
In the case where having backed up way and having reached above-mentioned specification, the queues to be backed up such as new backup tasks will be suspended to.Subsequently There are backup tasks to complete and then be scheduled to it.
The backup rate of each backup tasks is the highest 32Mbit/ seconds, minimum using the 4Mbit/ seconds as a regulation unit The 4Mbit/ seconds.
The backup rate of new backup tasks, it is the IPSAN tape remaining where video recording since the highest 32Mbit/ seconds Width is unable to meet demand.
In the case where remaining bandwidth can not meet requirement, according to " by one regulation of backup rate reduction of existing task Unit and adjustable range are tried one's best few " principle, the backup rate of existing task is adjusted.Such as:The above backup on 16 tunnels The backup rate of task, it is disposed as the 32Mbit/ seconds.When handling the 17th road backup tasks, by the 13 to 16th road backup tasks Backup rate, adjusted from the 32Mbit/ seconds to the 28Mbit/ seconds.When handling the 18th road backup tasks, the 9 to 12nd tunnel is backed up The backup rate of task, adjusted from the 32Mbit/ seconds to the 28Mbit/ seconds.By that analogy, until maximum 128 road backup tasks, own The backup rate of backup tasks is all set to the 4Mbit/ seconds.Implementing procedure is as follows:
In the case where needing to perform backup rate dynamic regulation, VM servers send backup rate to corresponding BM servers Message is adjusted, the address of IPSAN equipment, listening port where carrying the video recording for needing to adjust in message, backup tasks ID, regulation Backup rate afterwards.
After BM servers receive backup rate regulating command, sent to the kernel backup module of corresponding IPSAN equipment standby Part speed regulation message, the backup tasks sum for needing to adjust is carried in message, after all backup tasks ID to be regulated, regulation Backup rate.
After the kernel backup module of IPSAN equipment receives message, backup tasks are handled one by one.
Standby control block is found based on backup tasks ID, changes the dormancy time of corresponding backup thread.
Based on above-mentioned mechanism, the dynamic regulation of the backup rate to all backup tasks of system is realized.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.

Claims (6)

1. the distributed backup system of a kind of piece of storage video recording, the system include archive management server BM, the first IPSAN equipment With the 2nd IPSAN equipment, the first IPSAN equipment is stored with video recording to be backed up, and the 2nd IPSAN equipment, which is used to back up, records Picture, it is characterised in that:
When carrying out Video data backup traffic, the BM servers send backup to the first IPSAN equipment and the 2nd IPSAN equipment Traffic signaling;
First IPSAN equipment reads corresponding Video data according to the backup traffic signaling, and sends to the second IPSAN and set It is standby;
2nd IPSAN equipment receives the Video data, and backs up in the memory space of itself;
Wherein, the backup traffic signaling is performed by the User space backup module of BM servers;The reading of the Video data, hair Send the kernel state backup module execution by the first IPSAN equipment;The reception of the Video data, back up by the 2nd IPSAN equipment Kernel state backup module perform.
2. the system as claimed in claim 1, it is characterised in that BM servers are being mounted to the 2nd local IPSAN equipment Resource backup in, in a manner of pre-allocating continuous space, according to the length of Video data, adjust file system interface to create new text Part, and obtain initial address, length of the newly created file in resource backup.
3. the system as claimed in claim 1, it is characterised in that the backup traffic signaling sent to the first IPSAN equipment Including:Backup request message;The backup request message includes:Backup Video data is believed in the storage location of the first IPSAN equipment Breath, the IP address of the 2nd IPSAN equipment and listening port, backup Video data the 2nd IPSAN equipment storage location information.
4. system as claimed in claim 2, it is characterised in that the kernel state backup module of the first IPSAN equipment receive it is standby Based on backup Video data in the storage location information of the first IPSAN equipment after part request message, it is standby that construction reads I/O command reading Part Video data, and by the backup Video data by the SOCKET of kernel state TCP transmission pattern into the 2nd IPSAN equipment Core state backup module sends backup Video data message.
5. system as claimed in claim 3, it is characterised in that the kernel state backup module of the first IPSAN equipment receive it is standby After part request message, the backup thread of kernel state is created;When starting to perform the backup of epicycle Video data, record starts to perform Time;After the epicycle that the kernel state backup module for receiving the 2nd IPSAN equipment is sent backs up successful response, record current Time;The time of epicycle Backup Data processing is obtained according to the Starting Executing Time and current time;If epicycle is standby Part data processing time is less than t, then the backup thread carries out dormancy, and dormancy time is t and epicycle Backup Data processing time Difference;The t is the ratio of epicycle Backup Data length and backup rate;After the completion of dormancy, it is standby to start next round video recording The backup of part data.
6. the system as claimed in claim 1, it is characterised in that when performing the backup of multiple Video datas, if backup speed When degree needs regulation, BM servers send backup rate regulation message to the kernel backup module of the IPSAN equipment where video recording, The backup rate after backup tasks ID to be regulated, regulation is carried in message;The kernel backup mould of IPSAN equipment where recording a video After block receives message, the dormancy time of corresponding backup thread is changed.
CN201410196749.8A 2014-05-09 2014-05-09 A kind of distributed backup method and system of piece of storage video recording Active CN103986757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410196749.8A CN103986757B (en) 2014-05-09 2014-05-09 A kind of distributed backup method and system of piece of storage video recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410196749.8A CN103986757B (en) 2014-05-09 2014-05-09 A kind of distributed backup method and system of piece of storage video recording

Publications (2)

Publication Number Publication Date
CN103986757A CN103986757A (en) 2014-08-13
CN103986757B true CN103986757B (en) 2017-12-15

Family

ID=51278580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410196749.8A Active CN103986757B (en) 2014-05-09 2014-05-09 A kind of distributed backup method and system of piece of storage video recording

Country Status (1)

Country Link
CN (1) CN103986757B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483893B (en) * 2017-09-08 2020-07-07 中国地质大学(武汉) Multi-point collaborative updating and storing method and system for smart city video data
CN111327874B (en) * 2019-08-29 2021-09-17 杭州海康威视系统技术有限公司 Disaster recovery backup method, disaster recovery backup device, server, decoding device and storage medium
CN115329391B (en) * 2022-10-18 2023-01-24 成都卫士通信息产业股份有限公司 Text database protection method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600096A (en) * 2009-06-23 2009-12-09 杭州华三通信技术有限公司 Cross-domain on-demand method in the video monitoring system and video management server
CN102298547A (en) * 2011-09-20 2011-12-28 杭州华三通信技术有限公司 Data backup method and device
CN102333206A (en) * 2011-08-15 2012-01-25 杭州华三通信技术有限公司 Monitoring storage system and method for improving reliability of monitoring storage
CN102387347A (en) * 2011-10-19 2012-03-21 何进波 Video storing and instant replay system based on IP (identification of position)-SAN (storage area networking) direct storage technology
CN102595085A (en) * 2011-12-31 2012-07-18 杭州华三通信技术有限公司 Data storage management method and equipment thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600096A (en) * 2009-06-23 2009-12-09 杭州华三通信技术有限公司 Cross-domain on-demand method in the video monitoring system and video management server
CN102333206A (en) * 2011-08-15 2012-01-25 杭州华三通信技术有限公司 Monitoring storage system and method for improving reliability of monitoring storage
CN102298547A (en) * 2011-09-20 2011-12-28 杭州华三通信技术有限公司 Data backup method and device
CN102387347A (en) * 2011-10-19 2012-03-21 何进波 Video storing and instant replay system based on IP (identification of position)-SAN (storage area networking) direct storage technology
CN102595085A (en) * 2011-12-31 2012-07-18 杭州华三通信技术有限公司 Data storage management method and equipment thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SAN网络备份系统模型;顾炯;《计算机工程与应用》;20030430(第8期);正文3.2小节 *
基于IP_SAN的备份及技术研究;黄世权;《信息通信》;20090630(第3期);正文第一章节 *

Also Published As

Publication number Publication date
CN103986757A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
AU2002311618B2 (en) System and method for collecting video data
CA2819249C (en) Media platform integration system
EP2761459B1 (en) System and method for disaster recovery
CN103096042A (en) Video monitoring system
CN110493657A (en) OnStream intelligent online steaming media platform system
CN104349100A (en) DVR monitoring system supporting single-channel dual-stream video recording and method thereof
CN103986757B (en) A kind of distributed backup method and system of piece of storage video recording
US10356368B2 (en) Method of video surveillance using cellular communication
US20030154246A1 (en) Server for storing files
CN104301671A (en) Traffic monitoring video storing method in HDFS based on event intensity
CN102098270A (en) System and method for realizing load balance of streaming media server
CN202872848U (en) Cloud storage terminal equipment based on cloud information and cloud computing services
CN209267689U (en) Multiplexing tool mixing collaboration ultra high-definition towards more scenes merges platform for making
CN109274721A (en) A kind of LAN-free transmission method and system based on virtual disk mapping
US20190042294A1 (en) System and method for implementing virtualized network functions with a shared memory pool
CN109607341A (en) Elevator operation information management system based on block chain
US9619477B1 (en) Systems and methods for accelerating backup operations
CN109522110B (en) Multitask management system and method based on video networking
US20170041430A1 (en) Prioritizing network traffic based on relative imminence of usage
CN110224853B (en) Control system
CN102137101A (en) Embedded Linux system data transmission method based on SCTP (Stream Control Transmission Protocol) and system thereof
CN101188688A (en) A video and audio editing method based on IP-SAN storage
EP2537367A1 (en) Method and system for provisioning content display systems using mobile communications technology
KR101556529B1 (en) Management system for storing, searching, playing integrated multimedia data
WO2021140949A1 (en) Content delivery system, content delivery 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
GR01 Patent grant
GR01 Patent grant