Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, completeDescribe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based onEmbodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premiseExample, broadly falls into the scope of protection of the invention.
Refer to the structural representation that Fig. 1, Fig. 1 are existing video monitoring system.
As it is shown in figure 1, existing video monitoring system 10 include multiple photographic head 11, video monitoring server 12 andTerminal 13.Multiple photographic head 11 are set up network with video monitoring server 12 and are connected, and the most each photographic head 11 gathers and regards in real timeFrequency evidence, this real time video data is passed to video monitoring server 12 by photographic head 11 again, and video monitoring server 12 will be realTime video data transmission carry out showing to terminal 13 or storage etc., owing to terminal 13 can only passively receive whole real-time videosData, therefore can not optionally obtain data according to the demand of self, and the motility causing existing system is poor;Additionally byOf a great variety in each photographic head 11, causes the form of video data gathered different, such as from MPEG-2 to H.264,Making video monitoring server 12 poor with the compatibility of existing photographic head, ratio is if desired for changing and video monitoring server 12The photographic head of format mismatching, therefore adds production cost.
Refer to the structural representation of the video monitoring system that Fig. 2, Fig. 2 are the present invention.
As in figure 2 it is shown, the video monitoring system 60 of the present invention include video monitoring server 50, video monitoring apparatus 40,And terminal 62, it is to be appreciated that this system can include one or more terminal;The wherein region to be collected of the present invention(or area to be monitored) is divided into multiple default subregion 22 or 23 to be collected according to predetermined manner, such as the dotted line frame in figureShown in, each this is preset subregion 22 or 23 to be collected and is correspondingly arranged a video monitoring apparatus 40;This video monitoring each fillsPut 40 and be correspondingly arranged at least one video capture device 61;This video capture device 61 can be photographic head or digitally recorded videoCamera (DVR, Digital Video Recorder).Above-mentioned predetermined manner can be region, machine room or community etc..VideoSet up by LAN between supervising device 40 with video capture device 61 and be connected, namely both carry out data biography by LANDefeated.Being connected by wide area network between video monitoring server 50 with video monitoring apparatus 40, this wide area network is such as internetOr private network etc. (Internet).
Refer to the flow chart of the video frequency monitoring method that Fig. 3, Fig. 3 provide for the embodiment of the present invention one.
The subject of implementation of the video frequency monitoring method of this preferred embodiment is video monitoring apparatus, and the method includes:
Step S101, sends acquisition instructions at least one video capture device.
Such as, with at least one video capture device, video monitoring apparatus pre-builds that network is connected, afterwards video monitoringDevice sends acquisition instructions at least one video capture device, receives each video capture device of instruction afterwards according to being somebody's turn to doAcquisition instructions gathers real time video data.This video monitoring apparatus and at least one video capture device are positioned at same presetting to be waited to adoptIn collection subregion.
Step S102, receives the real time video data that this video capture device returns according to this acquisition instructions, is gatheredData.
Such as, the real time video data collected is sent video monitoring apparatus by least one video capture device, afterwardsVideo monitoring apparatus receives at least one real time video data, obtains gathering data, and wherein these collection data include at least oneReal time video data.
These collection data are carried out transcoding, obtain transcoded data by step S103.
Such as, each real time video data in the collection data that video monitoring apparatus will get carries out transcoding respectively(namely video code conversion), specifically video monitoring apparatus is first to gathering decoding data, then recompiles.Wherein, shouldThe capacity of transcoded data is less than the capacity of these collection data;That is, after transcoding, reduce original real time video dataCapacity.Ratio have sent real time video data if any 3 video capture devices to video monitoring apparatus, then video monitoring apparatus is to this3 real time video datas carry out transcoding respectively.
This video code conversion (Video Transcoding) refers to the video code flow of compressed encoding is converted into anotherVideo code flow, to adapt to the different network bandwidths, different terminal processing capacity and different user's requests.Transcoding is substantiallyOne first decodes, the process of re-encoding, it is to be appreciated that the code stream before and after conversion may follow identical video encoding standard,It is likely to follow the video encoding standard differed.
In order to reduce the capacity of transmission data further, when these collection data include the real-time of two or moreDuring video data, this carries out transcoding to these collection data, and the step obtaining transcoded data includes:
(1) these collection data are spliced;
Such as, first each real time video data is compressed, the more multiple real time video datas after compression are combined intoOne data.
(2) this spliced video data is carried out transcoding, obtain this transcoded data.
Such as, carry out transcoding to through spliced data, obtain transcoded data.
Step S104, sends this transcoded data to video monitoring server.
Such as, the data after transcoding are sent to video monitoring server by video monitoring apparatus.Such as, mode is sent permissibleFor actively sending mode, namely the step of this transcoded data transmission to video monitoring server is included by this:
(1) this transcoded data is sent to video monitoring server by interval preset duration.
Such as, video monitoring apparatus interval certain period of time sends this transcoded data to video monitoring server, specificallyGround, this preset duration can set based on experience value, such as 1 minute etc.;Owing to interval preset duration sends transcoded data, canTo reduce the power consumption of video monitoring apparatus.
The video frequency monitoring method of the present embodiment, by sending acquisition instructions at least one video capture device;Receiving shouldThe real time video data that video capture device returns according to this acquisition instructions, obtains gathering data, carries out these collection data turningCode, obtains transcoded data, sends this transcoded data to video monitoring server.After real time video data is compressedRetransmit to video monitoring server, reduce the capacity of data transmission, therefore reduce bandwidth, improve efficiency of transmission.
Refer to the flow chart of the video frequency monitoring method that Fig. 4, Fig. 4 provide for the embodiment of the present invention two.
The subject of implementation of the video frequency monitoring method of this preferred embodiment is video monitoring apparatus, and the method includes:
Step S201, sends acquisition instructions at least one video capture device.
Such as, with at least one video capture device, video monitoring apparatus pre-builds that network is connected, afterwards video monitoringDevice sends acquisition instructions at least one video capture device, receives each video capture device of instruction afterwards according to being somebody's turn to doAcquisition instructions gathers real time video data.This video monitoring apparatus and at least one video capture device are positioned at same presetting to be waited to adoptIn collection subregion.It is understood that video monitoring apparatus only can send an acquisition instructions to video capture device, rearDuring continuous monitoring, video acquisition is acquired automatically, improves processing speed.
Step S202, receives the real time video data that this video capture device returns according to this acquisition instructions, is gatheredData.
Such as, the real time video data collected is sent video monitoring apparatus by least one video capture device, afterwardsVideo monitoring apparatus receives at least one real time video data, obtains gathering data, and wherein these collection data include at least oneReal time video data.
These collection data are carried out transcoding, obtain transcoded data by step S203.
Such as, each real time video data in the collection data that video monitoring apparatus will get carries out transcoding respectively(namely video code conversion), specifically video monitoring apparatus is first to gathering decoding data, then recompiles.Wherein, shouldThe capacity of transcoded data is less than the capacity of these collection data, that is, after transcoding, can reduce the appearance of original collection dataAmount.Ratio have sent real time video data if any 3 video capture devices to video monitoring apparatus, then video monitoring apparatus by this 3Individual real time video data carries out transcoding respectively.
This video code conversion (Video Transcoding) refers to the video code flow of compressed encoding is converted into anotherVideo code flow, to adapt to the different network bandwidths, different terminal processing capacity and different user's requests.Transcoding is substantiallyOne first decodes, the process of re-encoding, it is to be appreciated that the code stream before and after conversion may follow identical video encoding standard,It is likely to follow different video encoding standards.
Step S204, receives the extraction instruction that video monitoring server sends;
Such as, transcoded data can be cached by video monitoring apparatus, when video monitoring server fills to video monitoringWhen putting transmission extraction instruction, video monitoring apparatus receives the extraction instruction that video monitoring server sends, and this extraction instructs and is used forObtain the real time video data of this subregion to be collected.Of course, it should be understood that video monitoring apparatus storage this regard in real timeFrequency according to time, will between this real time video data and corresponding video capture device set up association after store again.Specifically,The real time video data device identification of video capture device gathered with this video capture device is set up and is associated, and by after associationReal time video data store.
Step S205, sends this transcoded data to video monitoring server according to this extraction instruction.
Such as, when video monitoring apparatus receives the extraction instruction that video monitoring server sends, then by the reality after transcodingTime video data transmitting deliver to video monitoring server.
Certainly, in order to improve accuracy, this extraction instruction can identify with Portable device;This instructs this turn according to this extractionCode data transmission includes to the step of video monitoring server:
(1) transcoded data corresponding for this device identification is sent to video monitoring server.
This device identification is for distinguishing different video capture devices, and such as, user (supervisor) just wants to acquisition and refers toDuring the real time video data of fixed video capture device, sent by video monitoring server and carry this video capture deviceThe extraction instruction of device identification, the real time video data of this video capture device specified is sent to regarding by this video monitoring apparatusFrequently monitoring server, so that video monitoring server can optionally obtain real time video data, improves motility.
The video frequency monitoring method of the present embodiment, by sending acquisition instructions at least one video capture device;Receiving shouldThe real time video data that video capture device returns according to this acquisition instructions, obtains gathering data, carries out these collection data turningCode, obtains transcoded data, receives the extraction instruction that video monitoring server sends, is sent out by this transcoded data according to this extraction instructionDeliver to video monitoring server.During owing to instructing in the extraction receiving video monitoring server, just real time video data is enteredSend to video monitoring server after row compression, thus avoid sending the unwanted video data of user, improve motility.
Refer to the flow chart of the video frequency monitoring method that Fig. 5, Fig. 5 provide for the embodiment of the present invention three.
The subject of implementation of the video frequency monitoring method of this preferred embodiment is video monitoring server, and the method includes:
Step S301, receives the transcoded data that at least one video monitoring apparatus in region to be collected sends.
Such as, wherein, region to be collected includes multiple default subregion to be collected, and each this presets subregion pair to be collectedOne video monitoring apparatus should be set;This video monitoring apparatus each is correspondingly arranged at least one video capture device.
Wherein this transcoded data is carried out transcoding by this video monitoring apparatus obtain gathering data, and these collection data areAt least one video capture device corresponding with this video monitoring apparatus sends the real time video data to this video monitoring apparatus;Wherein the capacity of this transcoded data is less than the capacity of these collection data;
Specifically, the transcoded data got is sent video monitoring server, video by least one video monitoring apparatusMonitoring server receives this transcoded data, preferably video monitoring server and can also be stored by this transcoded data.When thisWhen transcoded data is two or more, the video format of each transcoded data is identical.Namely each video monitoring apparatus willThe real time video data got is converted to unified video format, thus avoids video monitoring server and existing videoThe problem that collecting device form is incompatible, therefore need not change video capture device, reduces production cost.
Step S302, sends this transcoded data to terminal;
Such as, the transcoded data got is sent to terminal by video monitoring server, and transcoded data is entered by terminal afterwardsRow display, such as video monitoring server can also be distributed to terminal with direct-seeding, and video monitoring server can also be to turningCode data carry out data analysis, to provide the services such as warning.This terminal can be that mobile phone, panel computer, computer, display etc. setStandby.
The video frequency monitoring method of the present embodiment, sends by receiving at least one video monitoring apparatus in region to be collectedTranscoded data, and by this transcoded data send to terminal.Owing to transcoded data is less than the capacity of existing real time video data,Therefore the message transmission rate of video monitoring server can be improved.
Flow chart with reference to the video frequency monitoring method that Fig. 6, Fig. 6 provide for the embodiment of the present invention four.
The subject of implementation of the video frequency monitoring method of this preferred embodiment is video monitoring server, and the method includes:
Step S401, at least one video monitoring apparatus in region to be collected sends and extracts instruction.
Such as, region to be collected includes multiple default subregion to be collected, and each this is preset subregion correspondence to be collected and setPut a video monitoring apparatus;This video monitoring apparatus each is correspondingly arranged at least one video capture device.
Specifically, video monitoring server receives the monitoring request that terminal sends, and video monitoring server is according to being somebody's turn to do afterwardsMonitoring request generates extracts instruction, and the monitoring request that i.e. this extraction instruction sends according to terminal generates;Make the user can basisSelf-demand chooses one of them or several real time video data preset in subregion to be collected.
In order to improve accuracy, this extraction instruction can identify with Portable device;This in subregion to be collected at least oneVideo monitoring apparatus sends the step of extraction instruction and includes:
(1) this extraction instruction is sent to this video monitoring apparatus corresponding with this device identification;
Such as, video monitoring server stores in advance in data base the device identification of each video capture device, shouldDevice identification is used for distinguishing video capture device, such as, and the video capture device that video monitoring server is only specified to userCorresponding video monitoring apparatus sends and extracts instruction.
In order to improve lookup speed, video monitoring server can also store the identification number (equipment of each video monitoring apparatusMark), this step sending this extraction instruction to this video monitoring apparatus corresponding with this device identification includes:
A, search the identification number corresponding with this device identification;
B, send to this video monitoring apparatus corresponding with this identification number this extraction instruction.
Such as, video monitoring server stores in advance in data base the device identification of each video capture device, withAnd the sign number of video monitoring apparatus, and indicating video monitoring apparatus number and belonging in same default subregion to be collectedAssociation is set up in device identification.Such as, adopted for certain video by what terminal inputted when video monitoring server receives userWhen the monitoring of collection equipment is asked, video monitoring server obtains this video capture device mark, and searches in data base and be somebody's turn to doThe sign number that device identification is corresponding, rear corresponding to this identification number video monitoring apparatus send and extract instruction.Certainly user is alsoCan be asked for certain monitoring presetting subregion to be collected by terminal input.
Step S402, receives the transcoded data that this video monitoring apparatus returns according to this extraction instruction.
Such as, a video monitoring server video monitoring apparatus preset in subregion to be collected wherein sends and extractsDuring instruction, the transcoded data got is sent to video monitoring server by this video monitoring apparatus, video monitoring service afterwardsDevice receives this transcoded data.
This video monitoring apparatus of this reception includes according to the step of the transcoded data that this extraction instruction returns:
(2) transcoded data that this video monitoring apparatus corresponding with this device identification returns is received according to this extraction instruction.
Such as, video monitoring server receives what video monitoring apparatus corresponding to the video capture device specified of user sentTranscoded data.
Step S403, sends this transcoded data to terminal.
Such as, the transcoded data of the video capture device that the user received is specified by video monitoring server sent to endEnd, transcoded data is shown by terminal afterwards, and such as video monitoring server can also be distributed to terminal with direct-seeding, shouldTerminal can be the equipment such as mobile phone, panel computer, computer, display.
The video frequency monitoring method of the present embodiment, is sent by least one video monitoring apparatus in region to be collected and carriesInstruction fetch;Receive the transcoded data that this video monitoring apparatus returns according to this extraction instruction;This transcoded data is sent to terminal;Owing to corresponding video data can be selected according to the demand of user, therefore need not transmit whole video datas, Ke YitiHigh flexibility and efficiency of transmission.
Refer to the structural representation of the video monitoring apparatus that Fig. 7, Fig. 7 provide for the embodiment of the present invention five.
The video monitoring apparatus 40 of this preferred embodiment includes: the first sending module 41, receiver module 42, transcoding module43, the second sending module 44;
First sending module 41, for sending acquisition instructions at least one video capture device;
Receiver module 42, for receiving the real time video data that this video capture device returns according to this acquisition instructions,To gathering data, these collection data include at least one real time video data;
Transcoding module 43, for these collection data are carried out transcoding, obtains transcoded data;The wherein capacity of this transcoded dataCapacity less than these collection data;
Second sending module 44, for sending this transcoded data to video monitoring server.
As shown in Figure 8, this second sending module 44 includes: receive unit 441 and transmitting element 442;
This reception unit 441, for receiving the extraction instruction that video monitoring server sends;
This transmitting element 442, for sending this transcoded data to video monitoring server according to this extraction instruction.
This extraction instruction Portable device mark;This transmitting element 442 specifically for: by transcoding number corresponding for this device identificationAccording to sending to video monitoring server.
When these collection data include two or more real time video data, this transcoding module 43 includes: spellOrder unit 431 and transcoding units 432;
This concatenation unit 431, for splicing these collection data;
This transcoding units 432, for these spliced collection data are carried out transcoding, obtains this transcoded data.
This second sending module 44, is additionally operable to: this transcoded data is sent to video monitoring server by interval preset duration.
The video monitoring apparatus of the present embodiment, by sending acquisition instructions at least one video capture device;Receiving shouldThe real time video data that video capture device returns according to this acquisition instructions, obtains gathering data, carries out these collection data turningCode, obtains transcoded data, sends this transcoded data to video monitoring server.After real time video data is compressedRetransmit to video monitoring server, reduce the capacity of data transmission, therefore reduce bandwidth, improve efficiency of transmission.
Refer to the structural representation of the video monitoring server that Fig. 9, Fig. 9 provide for the embodiment of the present invention six.
The video monitoring server 50 of this preferred embodiment includes: receiver module the 51, first sending module 52;
Receiver module 51, for receiving the transcoded data that at least one video monitoring apparatus in region to be collected sends;Wherein this transcoded data is carried out transcoding by this video monitoring apparatus obtain gathering data, and these collection data are and this videoAt least one video capture device that supervising device is corresponding sends the real time video data to this video monitoring apparatus;Wherein this turnThe capacity of code data is less than the capacity of these collection data;
First sending module 52, for sending this transcoded data to terminal;
Wherein, region to be collected includes multiple default subregion to be collected, and each this is preset subregion correspondence to be collected and setPut a video monitoring apparatus;This video monitoring apparatus each is correspondingly arranged at least one video capture device.
As shown in Figure 10, this video monitoring server 50 also includes: the second sending module 53;
This second sending module 53, sends extraction at least one video monitoring apparatus in region to be collected and refers toOrder, the monitoring request that this extraction instruction sends according to terminal generates;
This receiver module 51, specifically for: receive the transcoded data that this video monitoring apparatus returns according to this extraction instruction.
This second sending module 53, refers to for sending this extraction to this video monitoring apparatus corresponding with this device identificationOrder;
This receiver module 51, specifically for: receive this video monitoring apparatus corresponding with this device identification according to this extractionThe transcoded data that instruction returns.
This second sending module 53 includes: search unit 531 and transmitting element 532;
This lookup unit 531, for searching the identification number corresponding with this device identification;
This transmitting element 532, for sending this extraction instruction to this video monitoring apparatus corresponding with this identification number.
Preferably, when this transcoded data is two or more, the video format of this transcoded data is identical.
The video monitoring server of the present embodiment, sends out by receiving at least one video monitoring apparatus in region to be collectedThe transcoded data sent, and this transcoded data is sent to terminal.Owing to transcoded data is than the capacity of existing real time video dataLittle, therefore can improve the message transmission rate of video monitoring server.
When being embodied as, above modules can realize as independent entity, it is also possible to carries out combination in any, makeesRealize for same or several entities, the embodiment of the method being embodied as can be found in above of above modules, at this notRepeat again.
Refer to the structural representation of the video monitoring system that Figure 11, Figure 11 provide for the embodiment of the present invention seven.
In conjunction with Fig. 2, the video monitoring system 60 of this preferred embodiment includes: at least one video monitoring apparatus 40, videoMonitoring server 50;Also including at least one video capture device 61 and terminal 62, region the most to be collected includes multiple pre-If subregion to be collected, each this is preset subregion to be collected and is correspondingly arranged a video monitoring apparatus 40;This video monitoring eachDevice 40 is correspondingly arranged at least one video capture device 61.Figure 11 only sets with a video monitoring apparatus and a video acquisitionFor illustrating, but the present invention can not be constituted restriction.
Specifically, this video monitoring apparatus 40, specifically for sending acquisition instructions at least one video capture device 61;Receive the real time video data that this video capture device 61 returns according to this acquisition instructions, obtain gathering data, these collection dataIncluding at least one real time video data;These collection data are carried out transcoding, obtains transcoded data;This transcoded data is sent extremelyThis video monitoring server 50;Wherein the capacity of this transcoded data is less than the capacity of these collection data;
This video monitoring server 50, specifically for receiving at least one video monitoring apparatus 40 in region to be collectedThe transcoded data sent;And this transcoded data is sent to terminal 62.
Specifically, the concrete interaction of the one of which of the system of the present embodiment is as follows:
Step S601, video monitoring apparatus 40 send acquisition instructions at least one video capture device 61;
Step S602, video capture device 61 gather real time video data according to this acquisition instructions;
This real time video data is sent to corresponding video monitoring apparatus 40 by step S603, video capture device 61;
Step S604, video monitoring apparatus 40 carry out transcoding to these collection data, obtain transcoded data;
This transcoded data is sent to this video monitoring server 50 by step S605, video monitoring apparatus 40;
Step S606, video monitoring server 50 receive this transcoded data, and send this transcoded data to terminal 62;
Transcoded data is shown by step S607, terminal 62.
Specifically, the another kind of concrete interaction of the system of the present embodiment is as follows:
Step S701, video monitoring apparatus 40 send acquisition instructions at least one video capture device 61;
Step S702, video capture device 61 gather real time video data according to this acquisition instructions;
This real time video data is sent to video monitoring apparatus 40 by step S703, video capture device 61;
Step S704, video monitoring apparatus 40 carry out transcoding to these collection data, obtain transcoded data;
Step S705, when terminal 62 to video monitoring server 50 send monitoring request time, video monitoring server 50Generate according to this monitoring request and extract instruction, and this extraction instruction is sent to corresponding video monitoring apparatus 40;
The transmission of this transcoded data is serviced to this video monitoring by step S706, video monitoring apparatus 40 according to this extraction instructionDevice 50;
Step S707, video monitoring server 50 receive this transcoded data, and send this transcoded data to terminal 62;
Transcoded data is shown by step S708, terminal 62.
Owing to this video monitoring apparatus 40 and video monitoring server 50 have been described above, before being embodied as can be found inThe device embodiment in face, does not repeats them here.
The video monitoring system of this preferred embodiment, owing to carrying out transcoding by video monitoring apparatus to real time video dataAfter, be transmitted further to video monitoring server, owing to the data capacity after transcoding diminishes, therefore improve can efficiency of transmission, in addition byIn existing monitoring region being divided into many sub regions, and the video monitoring apparatus of correspondence is set so that user at subregionVideo data to be transmitted can be chosen according to self-demand, thus avoid sending the unwanted video data of user, improveMotility.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is canCompleting instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storageMedium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, RandomAccess Memory), disk or CD etc..
A kind of video frequency monitoring method, device, server and the system that are thered is provided the embodiment of the present invention above have been carried out in detailThin introducing, principle and the embodiment of the present invention are set forth by specific case used herein, saying of above exampleBright method and the core concept thereof being only intended to help to understand the present invention;Simultaneously for those skilled in the art, according to thisBright thought, the most all will change, and in sum, this specification content should not be managedSolve as limitation of the present invention.