CN103581626A - Video monitoring system and video storage information recording method - Google Patents

Video monitoring system and video storage information recording method Download PDF

Info

Publication number
CN103581626A
CN103581626A CN201310539244.2A CN201310539244A CN103581626A CN 103581626 A CN103581626 A CN 103581626A CN 201310539244 A CN201310539244 A CN 201310539244A CN 103581626 A CN103581626 A CN 103581626A
Authority
CN
China
Prior art keywords
video
storage information
slicing
video storage
table record
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.)
Pending
Application number
CN201310539244.2A
Other languages
Chinese (zh)
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 CN201310539244.2A priority Critical patent/CN103581626A/en
Publication of CN103581626A publication Critical patent/CN103581626A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a video monitoring system and a video storage information recording method. According to the video storage information recording method, video storage information is packaged periodically and then is uploaded to a data management server through front-end equipment, the data management server analyzes a video storage information notice message, the analyzed video storage information notice message is compared with a video storage information sheet record which is stored locally, and a video storage sheet record in a video management server is updated. The video monitoring system comprises the front-end equipment, the data management server and the video management server. The video monitoring system and the video storage information recording method have the advantages that second-level updating of the video storage information can be achieved under the condition that the basic performance of storage equipment is not influenced at all, and then video retrieving efficiency is effectively improved.

Description

A kind of video monitoring system and video storage information recording method thereof
Technical field
The present invention relates to technical field of video monitoring, relate in particular to a kind of video monitoring system and video storage information recording method thereof.
Background technology
Along with the application of high definition in video monitoring system, to the reliability of monitor video storage, performance etc., require more and more higher.And front end IP encoder device is to the iSCSI(Internet of the Media Stream end to end Small Computer System Interface of IPSAN memory device, the SCSI host-host protocol based on internet) directly the technology of depositing is exactly a kind of good video storage scheme.On the basis of IP network, in IP encoding device, integrated iSCSI module, makes IP encoding device end to end video data to be write to IPSAN(IP Storage Area Network based on iSCSI agreement) in memory device.When the video of control point need to carry out centralized stores, front end IP encoder device is set up iSCSI with IPSAN memory device and is connected, the storage resources of IPSAN memory device is mounted to this locality by iSCSI agreement, then store video stream is carried out to iSCSI protocol encapsulation, directly adopt the mode of data block that media stream data is write in IPSAN memory device.On storage mode, the data management mode that Media Stream is directly deposited has been abandoned media server, in this way, the performance bottleneck problem of effectively having evaded the Streaming Media unloading server of initiation " dumbbell effect ", possesses good extensibility simultaneously, no matter monitoring scale has much, and whole system can not exist performance bottleneck.
And directly deposit in technology at Media Stream iSCSI, how video management server obtains the video storage information of video camera on IPSAN memory device, becomes a key issue.Because front end IP encoder is by the iSCSI agreement IPSAN memory device that writes direct, the video storage information of video camera not on video management server like this.And client is generally to initiate video frequency searching to video management server, if in retrieval, video management server is initiated the video frequency searching of this video camera fixed time section again to IPSAN memory device, will cause retrieval time long, and the search function that affects user is experienced.
The video storage acquisition of information of directly depositing for front end IP encoder device iSCSI at present, generally by data management server (Data Management, DM) video routing inspection of regular (such as every 15 minutes) execution video camera storage resources on IPSAN memory device, by locating the index data of corresponding time, collect the video storage information of video camera, and will patrol and examine result and write in the video routing inspection result table of database of video management server (Vidio Management, VM).
In the video routing inspection process of DM server, for avoiding excessive to the performance hit of IPSAN memory device, generally using some minutes (such as 5 minutes) as the minimum time particle of a video routing inspection, and by bitmap, identify corresponding time particle and whether have video.As long as this time particle has one second video, be designated 1, otherwise be 0.
When client retrieves video, first inquire about the video routing inspection result table of VM database, by checking the data bitmap of section retrieval time, judge retrieval time, whether section existed video.If the time period that exist DM server not yet to patrol and examine in section retrieval time, DM server is directly retrieved the video on IPSAN memory device, and by IPSAN memory device patrol and examine result, with database in video frequency searching result splice, splicing result is returned to client.
The scheme of the video for DM server regular visit front end IP encoder stores on IPSAN memory device, mainly there are the following problems:
In video routing inspection process, need to be according to input time, read on IPSAN memory device the index data of corresponding time period in IP encoder stores resource.For IPSAN memory device, owing to also carrying out directly depositing and write of multitude of video data simultaneously, patrol and examine the random read operation that reading out data is equivalent to disk to carry out pocket.The mechanical hard disk using for memory device, the handling property of random IO is well below order IO performance.So, whenever patrolling and examining while occurring, the IO performance of memory device will seriously reduce, and can cause the new video of IP encoder to deposit in and be a greater impact, and the situation that data are lost in storage even occurs.
Just because the performance impact of patrolling and examining for memory device is serious, therefore substantially cannot accomplish to patrol and examine the video storage information of each second of each IP encoder on IPSAN memory device.The minimum time particle that causes like this patrolling and examining the video storage information of obtaining is thicker, such as the time particle of take 5 minutes is example, as long as this has 1 second video for 5 minutes, video routing inspection result is just thought whole 5 minutes video, causes the video frequency searching result cannot correct response video actual storage situation.
Because the mechanism of patrolling and examining is the mechanism of taking turn periodically afterwards, if the cycle too short (such as the cycle is 1 minute) will produce considerable influence to the performance of DM server, IPSAN memory device etc.; If excessive cycle (such as the cycle is 30 minutes), by causing the lag time of acquisition of information long, impact second level video frequency searching an effect;
In database, be to record each time particle of IP encoder in bitmap mode, when video frequency searching, also need data bitmap to be converted to time data form like this, affect recall precision.
Summary of the invention
While the object of the invention is to solve prior art video storage information recording, systematic function seriously reduces, and monitoring time particle is large, affect the technical problems such as result for retrieval, propose a kind of video monitoring system and video storage information recording method thereof, can effectively improve systematic function and recall precision.
For achieving the above object, technical solution of the present invention is as follows:
In a video storage information recording method, described video monitoring system comprises headend equipment, memory device, data management server and video management server, described headend equipment comprises at least one video camera, the method comprising the steps of:
Headend equipment is according to being periodically default cycle time video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time, and sends this video storage information notice message to described data management server;
Data management server is received after video storage information notice message, resolves video storage information notice message, extracts video storage information, according to the video storage information table record in this video storage information updating video management server database.
Further, described headend equipment is according to by video storage Information encapsulation corresponding to the store video in this cycle time being periodically video storage information notice message default cycle time, and send this video storage information notice message to described data management server, comprise step:
Headend equipment writes memory device by video data, and according to the response record event memory of memory device;
Headend equipment is video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time according to the event memory of record and mails to data management server after arriving predetermined period.
Further, described video storage information comprises video camera ID, the video slicing number that the store video of described headend equipment within described cycle time is corresponding, and the video slicing time started of each video slicing and video slicing end time; Described video storage information table record comprises: table record ID, video camera ID, video slicing time started and video slicing end time.
Further, described according to the video storage information table record in this video storage information updating video management server database, comprise step:
Step 301, the first video slicing of the first video camera in current video storage information of take are current video burst.
Whether the video slicing end time that the video storage information table corresponding to this video camera of step 302, the video slicing time started that judges current video burst and the local preservation of data management server records is continuous, if enter continuously next step, otherwise enter step 307.
The video slicing end time of the video storage information table record of step 303, local this video camera preserved of renewal is the video slicing end time of current video burst, and the video slicing of cumulative current video camera renewal count value.
Step 304, judge whether described renewal count value reaches threshold value, the video slicing end time of the video storage information table record of this video camera of if it is preserving with this locality is upgraded the video slicing end time of the up-to-date video storage information table record that in video management server database, this video camera is corresponding, and it is clear 0 that the video slicing of current video camera is upgraded to count value, otherwise directly enter next step.
This step can be according to the threshold value of setting, and certain cycle of interval is upgraded the table record in video management server again, avoids upgrading frequently the performance of the system of impact.And during the table record in upgrading video management server database, can contrast renewal according to table record ID.
Step 305, judge whether current video camera exists next video slicing, if had, take this next one video slicing as current video burst, return to step 302, otherwise enter next step.
Step 306, judge in current video storage information whether have next video camera, if it is, using the first video slicing of this next one video camera as current video burst, return to step 302, otherwise wait for and receive next video storage information notice message.
The video slicing end time that the video slicing end time of the video storage information table record of step 307, this video camera of preserving with this locality is upgraded the up-to-date video storage information table record that in video management server database, this video camera is corresponding, the video slicing of current video camera is upgraded to count value clear 0.
Step 308, the video slicing time started based on current video burst, video slicing end time insert a new video storage information table and are recorded in video management server database, the video slicing time started, video slicing end time, the table record ID that with the video storage information table record newly inserting, upgrade the up-to-date video storage table record of local this video camera of preserving, proceed to step 305.
In discontinuous situation of video slicing time, the video slicing end time of the video storage information table record of this video camera of first preserving with this locality, upgrade the video slicing end time of the up-to-date video storage information table record that in video management server database, this video camera is corresponding, during renewal, by table record ID contrast, upgrade.Due to discontinuous, in video management server, newly insert a table record, the local old record of data management server will be upgraded with the new table record inserting, table record corresponding to this video camera replaced with to the table record of new insertion, table record ID also upgrades, and the table record of take in the table record renewal data management server newly inserting is up-to-date table record.
Further, before described step 302, also comprise step:
In the local video storage information table record of preserving of judgement, whether there is the video storage information table record that current video camera is corresponding, if had, enter step 302, otherwise the video slicing time started based on current video burst, video slicing end time insert a new video storage information table and are recorded in video management server database, the video storage information table record newly inserting is loaded into local preservation, proceeds to step 305.
This step can make to add easily new video camera in system, facilitates the work such as dilatation and network optimization maintenance, even if there is new video camera to add, also can realize easily video storage recording of information.
The present invention has proposed a kind of video monitoring system simultaneously, described video monitoring system comprises headend equipment and memory device, described headend equipment comprises at least one video camera, and described video monitoring system also comprises data management server and video management server, wherein:
Described headend equipment is according to being periodically default cycle time video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time and sending;
Described data management server, be used for receiving described video storage information notice message, and resolve video storage information notice message, extract video storage information, according to the video storage information table record in this video storage information updating video management server database.
Further, described headend equipment comprises cycle timer, video storage information generating module and video storage information sending module, wherein:
Described cycle timer is used for arranging cycle time, and periodically timing;
Described video storage information generating module is used for video data to write memory device, and according to the response record event memory of memory device;
Described video storage information sending module for being video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time according to the event memory of record and mailing to data management server after arriving predetermined period.
The present invention improves headend equipment, and headend equipment is encapsulate video storage information transmission periodically.
Further, described video storage information comprises the described headend equipment video camera ID that store video is corresponding within described cycle time, video slicing number, and the video slicing time started of each video slicing and video slicing end time; Described video storage information table record comprises: table record ID, video camera ID, video slicing time started and video slicing end time.
Further, described data management server comprises:
Parsing module, for receiving and resolve video storage information notice message, extracts video storage information;
The first judge module, for video slicing time started of judging current video burst, whether the video slicing end time of the table record corresponding with local this video camera of preserving is continuous;
Local table record update module, be used for according to the continuous judged result of video slicing end time of the video slicing time started of the current video burst of the first judge module table record corresponding with local this video camera of preserving, the video slicing end time of upgrading the video storage information table record of local this video camera of preserving is the video slicing end time of current video burst, and cumulative current camera video burst upgrades count value;
The second judge module, for judging whether described renewal count value reaches threshold value;
Data base table recording update module, for the discontinuous judged result of video slicing end time recording according to the video slicing time started of the current video burst of the first judge module video storage information table corresponding with local this video camera of preserving, or according to the described renewal count value of the second judge module, reach the judged result of threshold value, the video slicing end time of the video storage information table of this video camera record in preserving with this locality, upgrade the video slicing end time of the up-to-date video storage information table record that in video management server database, this video camera is corresponding, the video slicing of current video camera is upgraded to count value clear 0,
Table record insert module, for the discontinuous judged result of video slicing end time recording according to the video slicing time started of the current video burst of the first judge module video storage information table corresponding with local this video camera of preserving, after data base table recording update module is upgraded video management server database, with the video slicing time started of current video burst, the video slicing end time inserts a new video storage information table and is recorded in video management server database, the video slicing time started of the up-to-date video storage information table record of this video camera in preserving with the video storage information table record renewal this locality of newly inserting, the video slicing end time, table record ID,
The 3rd judge module, after upgrading the local video storage table record of preserving in described table record insert module, or according to the second judge module, do not reach the judged result of threshold value, judge whether current video camera exists next video slicing, if had, take this next one video slicing as current video burst, return to the first judge module and judge;
The 4th judge module, for there is not the judged result of next video slicing according to the 3rd judge module, judge in current video storage information and whether have next video camera, if it is using the first video slicing of this next one video camera as current video burst, return to the first judge module and judge, otherwise wait for that receiving next video storage information notifies message.
Further, described data management server also comprises:
The 5th judge module, for judging whether the local video storage information table record of preserving has the video storage information table record that current video camera is corresponding, if had, enter the first judge module and judge, otherwise the video slicing time started based on current video burst, video slicing end time insert a new video storage information table and are recorded in video management server database, the video storage information table record newly inserting is loaded into local preservation, proceeds to the 3rd judge module and judge.
The improved data management server of the present invention is resolved video storage information notice message, and the table record of preserving with this locality compares, by up-to-date video storage information updating in the database of video management server.
A kind of video monitoring system and video storage information recording method thereof that the present invention proposes, by headend equipment, the packing of video storage property information cycle is uploaded to data management server, data management server is resolved video storage information notice message, the video storage information table record of preserving with this locality compares, and upgrades the video storage table record in video management server.System and method of the present invention, can be in the situation that having no effect to storage device performance substantially, based on second level upgrade video storage information, thereby effectively improve the efficiency of video frequency searching.
Accompanying drawing explanation
Fig. 1 is the embodiment networking structure schematic diagram of video monitoring system of the present invention;
Fig. 2 is video storage information recording method flow chart of the present invention;
Fig. 3 is embodiment of the present invention video storage information updating method flow chart;
Fig. 4 is headend equipment structural representation of the present invention;
Fig. 5 is data management server structural representation of the present invention.
Embodiment
Below in conjunction with drawings and Examples, technical solution of the present invention is described in further details, following examples do not form limitation of the invention.
The video monitoring system of take is as shown in Figure 1 example, and common video monitoring system comprises headend equipment, IPSAN memory device, data management server (DM server), video management server (VM server), also comprises client, and is used for the video wall that video shows.The present invention is based on Media Stream iSCSI and directly deposit technology, its headend equipment is generally web camera, or adopt analog video camera by IP encoder access IP network, an IP encoder can connect a plurality of analog video cameras, the present embodiment unification is commonly referred to as headend equipment by them, corresponding to a headend equipment, may be connected with multiple cameras, every video camera has the video camera sign (video camera ID) of oneself.
After headend equipment starts storage plan, by iSCSI agreement, video data is write to IPSAN memory device, and according to the response of IPSAN memory device, record the video storage information of each second video.Video storage information comprises video camera ID, video slicing number, video slicing time started and video slicing end time.If a corresponding multiple cameras of headend equipment, take every video camera as information unit, periodically the video storage Information encapsulation of all video cameras of this headend equipment is sent to DM server together; Meanwhile, the video storage information of every video camera can comprise a plurality of video slicings.
Video storage information recording method in a kind of video monitoring system of the present embodiment, as shown in Figure 2, comprises step:
Step 201, headend equipment be according to being periodically default cycle time video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time, and send this video storage information notice message to data management server.
Headend equipment disposes and receives the DM server parameter of its video storage information and T cycle time that reports video storage information.DM server parameter comprises IP address, the port of DM server.Headend equipment is before starting video storage plan, first on headend equipment, configure IP address, the port (can select the unappropriated non-well-known port of other services of arbitrary system) of the DM server that receives its video storage information, and T cycle time that reports video storage information.
Consider that single DM server can only process the video storage information data of some headend equipments, the principle that therefore whole video monitoring system can be based on load balancing, configures many DM servers, and different headend equipments can the different DM server of option and installment.Such as video monitoring system exists 1024 headend equipments, separate unit DM server can only carry the video storage information processing of 512 headend equipments.System can configure two DM servers like this, 1, the 513 to the 1024th headend equipment configuration DM server 2 of the 1st to the 512nd headend equipment configuration DM server.
Headend equipment reports T cycle time of video storage information, and quantity, the DM number of servers of headend equipment that can be based in video monitoring system are dynamically adjusted.For guarantee video storage acquisition of information instantaneity, take into account the performance cost of DM server and headend equipment simultaneously, advise that this Configuration Values is between 10 seconds to 30 seconds, such as 16 seconds.
Particularly, headend equipment encapsulate video storage information process is as follows:
1), headend equipment writes IPSAN memory device by video data, and according to the response record event memory of IPSAN memory device;
After headend equipment starts storage plan, by iSCSI agreement, video data is write to IPSAN memory device, and according to the response of IPSAN memory device, according to recording one-period each second video storage information corresponding to store video in the time cycle time of cycle timer setting.
2), headend equipment is video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time according to the event memory of record and mails to data management server after arriving predetermined period.
At periodical timer, arrive after date, it is gap periods time T, the cycle time (such as 16 seconds) being configured as arrived afterwards, it is information unit that headend equipment be take the video camera that each headend equipment was comprised, and is the XML data format of corresponding several video slicings of each video camera by video storage Information encapsulation.
The video storage information format of a typical XML encapsulation format below:
The video storage information that comprises at least one video camera in visible the present embodiment XML data format, this video storage information comprises corresponding video camera ID, the video slicing number of store video in phase this week time T, and the video slicing time started of each video slicing and video slicing end time.
By above-mentioned XML data encapsulation, be the video storage information notice message of Transmission Control Protocol carrying, send to IP address, the port of configured DM server.Then start next cycle timing, according to cycle time, T periodically mails to DM server by video storage information notice message.
It should be noted that, if the network between headend equipment and DM server disconnects, headend equipment will treat that synchronous video storage information first writes in local XML file, and according to same period (such as 16 seconds), the video end time of upgrading this video camera in local XML file.Once network recovery, headend equipment is the data reading in local XML file, and immediately by data notification to DM server;
If certain video camera of headend equipment, within this cycle time, exists the video storage failure scenarios of part-time section, according to the successful time slicing of final storage, in XML, fill a plurality of video slicings (slice) information.
Such as: 1 this cycle memory time of video camera is from 2013-08-2215:03:16, to 2013-08-2215:03:32, finish, but 2013-08-2215:03:23 does not store successfully to video between 2013-08-2215:03:29,, in above-mentioned XML structure, will comprise two following slice:
Time started, the end time of slice1 is " 2013-08-2215:03:16 ", " 2013-08-2215:03:22 ";
Time started, the end time of slice2 is " 2013-08-2215:03:30 ", " 2013-08-2215:03:32 ".
Step 202, data management server are received after video storage information notice message, resolve video storage information notice message, extract video storage information, according to the video storage information table record in this video storage information updating video management server database.
In VM server database, recording the video storage information table record that each video camera is corresponding, every video storage information table record comprises: table record ID, video camera ID, video slicing time started and video slicing end time.The details that are each video slicing are recorded in video management server database, for the continuous video slicing of each video camera, and a corresponding table record, discontinuous video slicing, corresponding different table records.DM management server is loaded into local preservation for use by the up-to-date video storage information table record of each video camera in video management server when starting.
Particularly, as shown in Figure 3, upgrade the video storage information table record in video management server database, DM carries out following steps:
Step 301, the first video slicing of the first video camera in current video storage information of take are current video burst.
Whether the video slicing end time that video storage information table corresponding to this video camera that preserve step 302, the video slicing time started that judges current video burst and this locality records is continuous, if enter continuously next step, otherwise enters step 307.
The video slicing of the video storage information table record of step 303, local this video camera preserved of renewal ends up being the video slicing end time of current video burst, and the video slicing of cumulative current video camera renewal count value.
Step 304, judgement are upgraded count value and whether are reached threshold value, the video slicing end time of the video storage information table record of this video camera of if it is preserving with this locality, upgrade the video slicing end time of the up-to-date video storage information table record that in video management server database, this video camera is corresponding, and it is clear 0 to upgrade count value, otherwise directly enter next step.
Local video storage information table record corresponding to each video camera of preserving, all corresponding one is upgraded count value, this upgrades count value is the statistics of this table record update times, after reaching certain quantity, carries out the renewal of the video storage information in video management server database.Can avoid upgrading frequently like this performance of the system of impact, after the video storage table record in each more new database, this be upgraded to count value clear 0.
Step 305, judge whether current video camera exists next video slicing, if had, take this next one video slicing as current video burst, return to step 302, otherwise enter next step;
Step 306, judge in current video storage information whether have next video camera, if it is, using the first video slicing of this next one video camera as current video burst, return to step 302, otherwise wait for and receive next video storage information notice message;
The video slicing end time of the video storage information table record of step 307, this video camera of preserving with this locality, upgrade the video slicing end time of the up-to-date video information table record that in video management server database, this video camera is corresponding, the video slicing of current video camera is upgraded to count value clear 0;
Step 308, the video slicing time started based on current video burst, video slicing end time insert a new video storage information table and are recorded in video management server database, the video slicing time started, video slicing end time, the table record ID that with the video storage information table record newly inserting, upgrade the up-to-date video storage table record of local this video camera of preserving, proceed to step 305.
After DM server completes above-mentioned data processing, in the video storage information data table of VM database by the video storage information recording forming after the time aggregation of each video camera.Take two video camera Camera1, Camera2 is example, supposes that these two video cameras start recorded video from 2013-08-2211:00:00, at 2013-08-2215:15:16 because network failure interrupts storage.Then at 2013-08-2215:30:00, recover storage, store 2013-08-2217:00:00 always into, video storage information data table record as shown in table 1:
Table record ID Video camera ID The video slicing time started The video slicing end time
1 Camera1 2013-08-2211:00:00 2013-08-2215:15:15
2 Camera2 2013-08-2211:00:00 2013-08-2215:15:15
3 Camera1 2013-08-2215:30:00 2013-08-2217:00:16
4 Camera2 2013-08-2215:30:00 2013-08-2217:00:16
Table 1
User during to VM server retrieves camera video, video camera ID, retrieval time started, the retrieval end time of VM server based on user's input, directly in the video storage information table record of VM server database, inquire about the table record of video slicing time started >=retrieval time started, the video slicing time started <=retrieval end time of this video camera, and all table record packings that satisfy condition are returned to user.
Consider that headend equipment directly deposits video in the networking situation of IPSAN equipment, exist the video storage between headend equipment and IPSAN normal, but the situation that between headend equipment and DM server, network disconnects.Therefore, the present embodiment, when video frequency searching, increases headend equipment and the disconnection of DM server network, DM server is failed effectively to upgrade the protection mechanism of video storage information:
For video frequency searching request, the video of " video slicing end time and the retrieval end time <=DM server current time of this video camera the last item video slicing table record in retrieval time started >VM server database video storage information table record ", DM server will directly be initiated retrieval to IPSAN;
For example: the current time of DM server is 2013-08-2217:30:10.The video frequency searching of the time that user initiates video camera Camera1 by client from 2013-08-2216:50:00 to 2013-08-2217:30:00, and in database the video slicing end time of the last item table record of Camera1 be 2013-08-2217:00:16.For 2013-08-2217:00:17, arrive the video during this period of time of 2013-08-2217:30:00, DM server will directly be initiated retrieval to IPSAN.
After the response of receiving IPSAN, VM can splice the video frequency searching result in the result for retrieval on IPSAN and VM server database, and splicing result is returned to client.
A kind of special circumstances of the present embodiment, in video monitoring system, add new video camera, after this video camera start, start capture video, but due to the up-to-date video storage information table record of this video camera not in video management database, in data management server this locality, do not have yet, now before step 302, also should comprise step:
Judge in local video storage information table record and whether have the video storage information table record that current video camera is corresponding, if had, enter step 302, otherwise the video slicing time started based on current video burst, video slicing end time insert a new video storage information table and are recorded in video management server database, the video storage information table record newly inserting is loaded into data management server this locality, proceeds to step 305.
This step can make to add easily new video camera in system, facilitates the work such as dilatation and network optimization maintenance, even if there is new video camera to add, also can realize easily video storage recording of information.
It should be noted that, for iSCSI, directly deposit, when by headend equipment, to each video camera, the video on IPSAN is realized circulation manifolding, in VM server database, video storage information table record needs automatic synchronization cleaning.The video camera that each is carried out to storage plan, can record the video time index data of earliest time in headend equipment this locality.Therefore, can be according to cycle regular hour (suggestion be usingd 24 hours as synchronizing cycle) on headend equipment, the video time index data of local each the video camera earliest time of preserving of retrieval, and carry out data encapsulation by XML, to DM server, report.XML data format is as follows:
Figure BDA0000407966000000141
After DM receives above-mentioned notice message, remove in the video storage information table record of VM server database, all table records of " the video time index data of the current earliest time of video slicing end time < (such as " 2013-09-2018:00:20 " in example) " of corresponding video camera, thus realize deleting the automatic synchronization cleaning of the index data of video.
The invention allows for a kind of video monitoring system, as shown in Figure 1, comprise headend equipment and memory device, wherein headend equipment comprises at least one video camera, and this video monitoring system also comprises data management server and video management server, wherein:
Headend equipment is according to being periodically default cycle time video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time and sending.
Data management server, for receiving described video storage information notice message, and resolves video storage information notice message, extracts video storage information, according to the video storage information table record in this video storage information updating video management server database.
Hold and be intelligiblely, in video management server, be provided with video storage information table record, when system initialization, data management server is loaded into the local preservation of data management server by the up-to-date table record of the video storage information in video management server, so that follow-up calling.
As shown in Figure 4, headend equipment comprises cycle timer, video storage information generating module and video storage information sending module, wherein:
Cycle timer is used for arranging cycle time, and periodically timing;
Video storage information generating module is used for video data to write memory device, and according to the response record event memory of memory device;
Video storage information sending module is for being video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time and mailing to data management server at the default all after dates of arrival according to the event memory of record.
Wherein, video storage information comprises the described headend equipment video camera ID that store video is corresponding within described cycle time, video slicing number, and the video slicing time started of each video slicing and video slicing end time.Described video storage information table record comprises: table record ID, video camera ID, video slicing time started and video slicing end time.
As shown in Figure 5, data management server comprises:
Parsing module, for receiving and resolve video storage information notice message, extracts video storage information;
The first judge module, for video slicing time started of judging current video burst with described local preserve video slicing end time of video storage information table record corresponding to this video camera whether continuous;
Local table record update module, for the continuous judged result of video slicing end time recording according to the video slicing time started of the current video burst of the first judge module video storage information table corresponding with local this video camera of preserving, in the local preservation of renewal, the video slicing end time of the video storage information table record of this video camera is the video slicing end time of current video burst, and the video slicing of cumulative current video camera renewal count value;
The second judge module, for judging whether described renewal count value reaches threshold value;
Data base table recording update module, for the discontinuous judged result of video slicing end time recording according to the video slicing time started of the current video burst of the first judge module video storage information table corresponding with local this video camera of preserving, or according to the described renewal count value of the second judge module, reach the judged result of threshold value, the video slicing end time of the video storage information table record of this video camera of preserving with this locality, upgrade the video slicing end time of the up-to-date video storage information table record that in video management server database, this video camera is corresponding, the video slicing of current video camera is upgraded to count value clear 0,
Table record insert module, according to the discontinuous judged result of video slicing end time of the video slicing time started of the current video burst of the first judge module video storage information table record corresponding with described local this video camera of preserving, after data base table recording update module is upgraded video management server database, with the video slicing time started of current video burst, the video slicing end time inserts a new video storage information table and is recorded in video management server database, with the video storage information table record newly inserting, upgrade the video slicing time started of the up-to-date video storage information table record of local this video camera of preserving, the video slicing end time, table record ID,
The 3rd judge module, after upgrading the local video storage table record of preserving in table record insert module, or according to the second judge module, do not reach the judged result of threshold value, judge whether current video camera exists next video slicing, if had, take this next one video slicing as current video burst, return to the first judge module and judge;
The 4th judge module, for there is not the judged result of next video slicing according to the 3rd judge module, judge in current video storage information and whether have next video camera, if it is using the first video slicing of this next one video camera as current video burst, return to the first judge module and judge, otherwise wait for that receiving next video storage information notifies message.
Especially, the present embodiment data management server also comprises the 5th judge module, for judging whether the local video storage information table record of preserving has the video storage information table record that current video camera is corresponding, if had, enter the first judge module and judge, otherwise the video slicing time started based on current video burst, video slicing end time insert a new video storage information table and are recorded in video management server database, the video storage information table record newly inserting is loaded into local preservation, proceeds to the 3rd judge module and judge.
Above embodiment is only in order to technical scheme of the present invention to be described but not be limited; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. video storage information recording method in a video monitoring system, described video monitoring system comprises headend equipment, memory device, data management server and video management server, described headend equipment comprises at least one video camera, it is characterized in that, the method comprising the steps of:
Headend equipment is according to being periodically default cycle time video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time, and sends this video storage information notice message to described data management server;
Data management server is received after video storage information notice message, resolves video storage information notice message, extracts video storage information, according to the video storage information table record in this video storage information updating video management server database.
2. video storage information recording method according to claim 1, it is characterized in that, described headend equipment is according to by video storage Information encapsulation corresponding to the store video in this cycle time being periodically video storage information notice message default cycle time, and send this video storage information notice message to described data management server, comprise step:
Headend equipment writes memory device by video data, and according to the response record event memory of memory device;
Headend equipment is video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time according to the event memory of record and mails to data management server after arriving predetermined period.
3. video storage information recording method according to claim 1, it is characterized in that, described video storage information comprises video camera ID, the video slicing number that the store video of described headend equipment within described cycle time is corresponding, and the video slicing time started of each video slicing and video slicing end time; Described video storage information table record comprises: table record ID, video camera ID, video slicing time started and video slicing end time.
4. video storage information recording method according to claim 3, is characterized in that, the described video storage information table record according in this video storage information updating video management server database specifically comprises:
Step 301, the first video slicing of the first video camera in current video storage information of take are current video burst;
Whether the video slicing end time that the video storage information table corresponding to this video camera of step 302, the video slicing time started that judges current video burst and the local preservation of data management server records is continuous, if enter continuously next step, otherwise enter step 307;
The video slicing end time of the video storage information table record of step 303, local this video camera preserved of renewal is the video slicing end time of current video burst, and the video slicing of cumulative current video camera renewal count value;
Step 304, judge whether described renewal count value reaches threshold value, the video slicing end time of the video storage information table record of this video camera of if it is preserving with this locality is upgraded the video slicing end time of the up-to-date video storage information table record that in video management server database, this video camera is corresponding, and it is clear 0 that the video slicing of current video camera is upgraded to count value, otherwise directly enter next step;
Step 305, judge whether current video camera exists next video slicing, if had, take this next one video slicing as current video burst, return to step 302, otherwise enter next step;
Step 306, judge in current video storage information whether have next video camera, if it is, using the first video slicing of this next one video camera as current video burst, return to step 302, otherwise wait for and receive next video storage information notice message;
The video slicing end time that the video slicing end time of the video storage information table record of step 307, this video camera of preserving with this locality is upgraded the up-to-date video storage information table record that in video management server database, this video camera is corresponding, the video slicing of current video camera is upgraded to count value clear 0;
Step 308, the video slicing time started based on current video burst, video slicing end time insert a new video storage information table and are recorded in video management server database, the video slicing time started, video slicing end time, the table record ID that with the video storage information table record newly inserting, upgrade the up-to-date video storage table record of local this video camera of preserving, proceed to step 305.
5. video storage information recording method as claimed in claim 4, is characterized in that, also comprises step before described step 302:
In the local video storage information table record of preserving of judgement, whether there is the video storage information table record that current video camera is corresponding, if had, enter step 302, otherwise the video slicing time started based on current video burst, video slicing end time insert a new video storage information table and are recorded in video management server database, the video storage information table record newly inserting is loaded into local preservation, proceeds to step 305.
6. a video monitoring system, described video monitoring system comprises headend equipment and memory device, and described headend equipment comprises at least one video camera, it is characterized in that, and described video monitoring system also comprises data management server and video management server, wherein:
Described headend equipment is according to being periodically default cycle time video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time and sending;
Described data management server, be used for receiving described video storage information notice message, and resolve video storage information notice message, extract video storage information, according to the video storage information table record in this video storage information updating video management server database.
7. a kind of video monitoring system according to claim 6, is characterized in that, described headend equipment comprises cycle timer, video storage information generating module and video storage information sending module, wherein:
Described cycle timer is used for arranging cycle time, and periodically timing;
Described video storage information generating module is used for video data to write memory device, and according to the response record event memory of memory device;
Described video storage information sending module for being video storage information notice message by video storage Information encapsulation corresponding to the store video in this cycle time according to the event memory of record and mailing to data management server after arriving predetermined period.
8. a kind of video monitoring system according to claim 6, it is characterized in that, described video storage information comprises that described headend equipment is at corresponding video camera ID, the video slicing number of predetermined period time memory storage video, and the video slicing time started of each video slicing and video slicing end time; Described video storage information table record comprises: table record ID, video camera ID, video slicing time started and video slicing end time.
9. a kind of video monitoring system according to claim 8, is characterized in that, described data management server comprises:
Parsing module, for receiving and resolve video storage information notice message, extracts video storage information, and the first video slicing of the first video camera in current video storage information of take is current video burst;
The first judge module, whether continuous for judging the video slicing end time of the video storage information table record that the video slicing time started of current video burst and this video camera of local preservation are corresponding;
Local table record update module, for the continuous judged result of video slicing end time recording according to the video slicing time started of the current video burst of the first judge module video storage information table corresponding with local this video camera of preserving, the video slicing end time of upgrading the video storage information table record of local this video camera of preserving is the video slicing end time of current video burst, and the video slicing of cumulative current video camera upgrades count value;
The second judge module, for judging whether described renewal count value reaches threshold value;
Data base table recording update module, be used for according to the discontinuous judged result of video slicing end time of the video slicing time started of the current video burst of the first judge module table record corresponding with local this video camera of preserving, or according to the described renewal count value of the second judge module, reach the judged result of threshold value, the video slicing end time of the video storage information table record of this video camera of preserving with this locality, upgrade the video slicing end time of the up-to-date video storage information table record that in video management server database, this video camera is corresponding, the video slicing of current video camera is upgraded to count value clear 0,
Table record insert module, according to the discontinuous judged result of video slicing end time of the video slicing time started of the current video burst of the first judge module table record corresponding with local this video camera of preserving, after data base table recording update module is upgraded video management server database, with the video slicing time started of current video burst, the video slicing end time inserts a new video storage information table and is recorded in video management server database, with the video storage information table record newly inserting, upgrade the video slicing time started of the up-to-date video storage information table record of local this video camera of preserving, the video slicing end time, table record ID,
The 3rd judge module, after upgrading the local video storage table record of preserving in described table record insert module, or according to the second judge module, do not reach the judged result of threshold value, judge whether current video camera exists next video slicing, if had, take this next one video slicing as current video burst, return to the first judge module and judge;
The 4th judge module, for there is not the judged result of next video slicing according to the 3rd judge module, judge in current video storage information and whether have next video camera, if it is using the first video slicing of this next one video camera as current video burst, return to the first judge module and judge, otherwise wait for that receiving next video storage information notifies message.
10. a kind of video monitoring system according to claim 9, is characterized in that, described data management server also comprises:
The 5th judge module, for judging whether the local video storage information table record of preserving has the video storage information table record that current video camera is corresponding, if had, enter the first judge module and judge, otherwise the video slicing time started based on current video burst, video slicing end time insert a new video storage information table and are recorded in video management server database, the video storage information table record newly inserting is loaded into local preservation, proceeds to the 3rd judge module and judge.
CN201310539244.2A 2013-11-04 2013-11-04 Video monitoring system and video storage information recording method Pending CN103581626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310539244.2A CN103581626A (en) 2013-11-04 2013-11-04 Video monitoring system and video storage information recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310539244.2A CN103581626A (en) 2013-11-04 2013-11-04 Video monitoring system and video storage information recording method

Publications (1)

Publication Number Publication Date
CN103581626A true CN103581626A (en) 2014-02-12

Family

ID=50052419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310539244.2A Pending CN103581626A (en) 2013-11-04 2013-11-04 Video monitoring system and video storage information recording method

Country Status (1)

Country Link
CN (1) CN103581626A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072366A (en) * 2015-08-18 2015-11-18 浙江宇视科技有限公司 Video data table generation method and device
CN105357482A (en) * 2015-11-13 2016-02-24 浙江宇视科技有限公司 Video monitoring system, front-end equipment and safety access equipment
CN106507041A (en) * 2016-11-02 2017-03-15 北京弘恒科技有限公司 Video data analysis method
CN106997431A (en) * 2016-01-22 2017-08-01 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN107395456A (en) * 2017-07-18 2017-11-24 郑州云海信息技术有限公司 Distributed file system stream directly deposits method of testing and platform
CN110688510A (en) * 2018-06-20 2020-01-14 浙江宇视科技有限公司 Face background image acquisition method and system
CN110971429A (en) * 2018-09-29 2020-04-07 杭州阿启视科技有限公司 Management method of cloud video hardware management system
CN111225170A (en) * 2018-11-27 2020-06-02 浙江宇视科技有限公司 Video complementary recording method and device
CN115243071A (en) * 2022-09-22 2022-10-25 广州市保伦电子有限公司 Video recording method and system for live streaming
CN115955581A (en) * 2023-03-15 2023-04-11 浪潮电子信息产业股份有限公司 Real-time video processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878301A (en) * 2006-07-19 2006-12-13 杭州华为三康技术有限公司 Video monitoring data storage managing method and system
CN102291256A (en) * 2011-07-25 2011-12-21 杭州华三通信技术有限公司 Monitoring data query method and equipment
CN102325244A (en) * 2011-08-26 2012-01-18 杭州海康威视数字技术股份有限公司 Method for rapidly positioning videos by time, video storage control device and positioning device
CN103077200A (en) * 2012-12-27 2013-05-01 深圳市赛为智能股份有限公司 Audio/video index storage method and device
CN103164528A (en) * 2013-03-29 2013-06-19 苏州皓泰视频技术有限公司 Index establishing method for audio/video data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878301A (en) * 2006-07-19 2006-12-13 杭州华为三康技术有限公司 Video monitoring data storage managing method and system
CN102291256A (en) * 2011-07-25 2011-12-21 杭州华三通信技术有限公司 Monitoring data query method and equipment
CN102325244A (en) * 2011-08-26 2012-01-18 杭州海康威视数字技术股份有限公司 Method for rapidly positioning videos by time, video storage control device and positioning device
CN103077200A (en) * 2012-12-27 2013-05-01 深圳市赛为智能股份有限公司 Audio/video index storage method and device
CN103164528A (en) * 2013-03-29 2013-06-19 苏州皓泰视频技术有限公司 Index establishing method for audio/video data

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072366A (en) * 2015-08-18 2015-11-18 浙江宇视科技有限公司 Video data table generation method and device
CN105357482B (en) * 2015-11-13 2019-10-18 浙江宇视科技有限公司 A kind of video monitoring system, headend equipment and safety permission equipment
CN105357482A (en) * 2015-11-13 2016-02-24 浙江宇视科技有限公司 Video monitoring system, front-end equipment and safety access equipment
CN106997431B (en) * 2016-01-22 2020-09-25 阿里巴巴集团控股有限公司 Data processing method and device
CN106997431A (en) * 2016-01-22 2017-08-01 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN106507041A (en) * 2016-11-02 2017-03-15 北京弘恒科技有限公司 Video data analysis method
CN107395456A (en) * 2017-07-18 2017-11-24 郑州云海信息技术有限公司 Distributed file system stream directly deposits method of testing and platform
CN107395456B (en) * 2017-07-18 2021-06-29 郑州云海信息技术有限公司 Distributed file system direct current storage test method and platform
CN110688510A (en) * 2018-06-20 2020-01-14 浙江宇视科技有限公司 Face background image acquisition method and system
CN110688510B (en) * 2018-06-20 2022-06-14 浙江宇视科技有限公司 Face background image acquisition method and system
CN110971429A (en) * 2018-09-29 2020-04-07 杭州阿启视科技有限公司 Management method of cloud video hardware management system
CN111225170A (en) * 2018-11-27 2020-06-02 浙江宇视科技有限公司 Video complementary recording method and device
CN111225170B (en) * 2018-11-27 2022-08-23 浙江宇视科技有限公司 Video additional recording method and device
CN115243071A (en) * 2022-09-22 2022-10-25 广州市保伦电子有限公司 Video recording method and system for live streaming
CN115955581A (en) * 2023-03-15 2023-04-11 浪潮电子信息产业股份有限公司 Real-time video processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103581626A (en) Video monitoring system and video storage information recording method
US10530878B2 (en) Method and system for pushing information to end users adaptively
CN111555963B (en) Message pushing method and device, electronic equipment and storage medium
CN111064634B (en) Method and device for monitoring mass Internet of things terminal online state
CN104202375A (en) Method and system for synchronous data
CN105373899A (en) Server asset management method and apparatus
CN102291256B (en) A kind of querying method of monitor data and equipment
CN103870393B (en) cache management method and system
US20160101876A1 (en) Aircraft Troubleshooting Network
CN104850556B (en) A kind of method and device of data processing
CN103001809A (en) Service node state monitoring method for cloud storage system
CN101192992A (en) Complementary collection system and method for performance data of telecom network management system
US10771587B2 (en) System and method for receiving and writing incoming data writes based on data write latency
CN107040576A (en) Information-pushing method and device, communication system
CN105450964B (en) Method, system and management node for cloud storage of video data
JP5331585B2 (en) Fault tolerant computer system and method in fault tolerant computer system
CN103490978A (en) Terminal, server and message monitoring method
CN101925093A (en) Method and equipment for acquiring terminal information
CN107087232A (en) The real-time status detection method and system of user
CN101635686A (en) Resource management method
CN107277624B (en) Duration calculation method and device
CN103995901A (en) Method for determining data node failure
CN105812492A (en) Data synchronizing method and system
CN104915376A (en) Cloud storage file archiving and compressing method
CN104683288A (en) Message continuous transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140212