Summary of the invention
In view of this, be necessary to provide a kind of long-range video monitoring system and method, can solve the problem.
The invention provides a kind of long-range video monitoring system, run in a server, this server communicates with multiple Image sources equipment with multiple client device simultaneously, this long-range video monitoring system comprises: an information receiving module, for receiving the image solicited message that at least one client device sends, wherein, described image solicited message comprises at least one Image sources equipment specified by this client device; One acquisition module, for when the image solicited message that a certain client device sends comprises multiple Image sources equipment of specifying, obtains its current absorbed image respectively from each Image sources equipment of specifying; One synthesis module, for synthesizing a resultant image by each image obtained according to a predetermined form; And a sending module, for sending this resultant image to this client device.
The present invention also provides a kind of long-range video signal monitoring method, run in a server, this server communicates with multiple Image sources equipment with multiple client device simultaneously, the method comprises: receive the image solicited message that at least one client device sends, wherein, described image solicited message comprises at least one Image sources equipment specified by this client device; When the image solicited message that a certain client device sends comprises multiple Image sources equipment of specifying, obtain its current absorbed image respectively from each Image sources equipment of specifying, and each image obtained is synthesized a resultant image according to a predetermined form; And send this resultant image to this client device.
Compared to prior art, client device of the present invention does not need to support various coding standard, is conducive to reducing development cost.Secondly, client device does not need to decode respectively to the crossfire image from each Image sources equipment, thus alleviates the computational burden of this client device.Finally, each Image sources equipment only need be set up a media transmission channel with this server and transmit its image absorbed, thus avoids needing setting up the situation that multiple media transmission channel carries out with multiple client device communicating respectively.
Embodiment
Fig. 1 is the environmental applications schematic diagram of the long-range video monitoring system 100 in a preferred embodiment of the present invention.This long-range video monitoring system 100 runs in a server 2.Communicated by RFB agreement (Remote Frame Buffer Protocol, Remote Frame Buffer agreement) between this server 2 and multiple client device 1.This server 2 also and between multiple Image sources equipment 3 sets up video media transmission channel, and is communicated between described video media transmission channel by IP network.Wherein, the mode can consulted by predetermined media transmission channel parameter or dynamic signaling between described server 2 and Image sources equipment 3 sets up described video media transmission channel.Described signaling can adopt but be not limited to real time streaming transport protocol (RTSP, Real Time Streaming Protocol); Described predetermined media transmission channel can adopt but be not limited to transmission control protocol (TCP, Transmission Control Protocol) or User Datagram Protocol (UDP, User Datagram Protocol).Wherein, described client device 1 can be the electronic installations such as monitor, personal computer, mobile phone.Described Image sources equipment 3 can be the Image intake devices such as network camera (IP camera), Network Personal Video Recorder (Network Video Recorder, NVR), coaxial cable monitor.
This server 2 comprises memory cell 20 and a processor 21.This memory cell 20 is for storing this long-range video monitoring system 100.This processor 21 is for performing each functional module of this long-range video monitoring system 100, thus respond the image solicited message of at least one client device 1 transmission and the multiple images from described Image sources equipment 3 be combined as a resultant image, and be sent to this client device 1.In the present embodiment, described long-range video monitoring system 100 comprises information receiving module 101, generation module 102, acquisition module 103, synthesis module 104 and a sending module 105.
The image solicited message that this information receiving module 101 sends for receiving at least one client device 1, wherein, described image solicited message comprises at least one Image sources equipment 3 specified by this client device 1.This information receiving module 101 is also for judging whether the image solicited message that each client device 1 sends comprises multiple Image sources equipment 3 of specifying.
When this generation module 102 is for judging that the image solicited message that a certain client device 1 sends comprises multiple Image sources equipment 3 of specifying when this information receiving module 101, at least generate according to the quantity of the Image sources equipment 3 of specifying the combined effect picture be made up of multiple Blank pictures, the corresponding wherein Image sources equipment 3 of specifying of each Blank pictures in this combined effect picture.Wherein, the quantity of the Blank pictures in this combined effect picture is equal with the quantity of this Image sources equipment 3.
In the present embodiment, in the memory cell 20 of this server 2, store a mapping table, this mapping table comprise multiple Image sources equipment 3 and absorb the corresponding relation of the image analytic degree of image.This generation module 102 is when this information receiving module 101 judges that the image solicited message that a certain client device 1 sends comprises multiple Image sources equipment 3 of specifying, the image analytic degree of the Image sources equipment 3 that each is specified in this image solicited message is obtained according to this mapping table, then specify the image analytic degree of Image sources equipment 3 to generate a Blank pictures of correspondingly-sized according to each, then those Blank pictures are combined into described combined effect picture.Such as, a certain client device 1 wants the image of acquisition five Image sources equipment 3a ~ 3e, wherein, the image analytic degree of Image sources equipment 3a is 640 × 480, the image analytic degree of Image sources equipment 3a ~ 3e is 384 × 288, then this generation module 102 generates the combined effect picture that the resolution comprising these five Blank pictures is as shown in Figure 2 1024 × 768.In the present embodiment, in described combined effect picture, corresponding each specifies the Blank pictures of Image sources equipment 3 to be random alignment.
This acquisition module 103, for after this generation module 102 generates this combined effect picture, obtains its current absorbed image respectively from each Image sources equipment 3 of specifying.
In the present embodiment, send the client device 1 of image solicited message after the image sending the current picked-up of Image sources equipment 3 that this image solicited message is specified with acquisition, also periodically (as every 2 seconds) send an image to this server 2 and continue to obtain request, continue to obtain the image of the current picked-up of Image sources equipment 3 of specifying to trigger this server 2.Under this request, the image of this information receiving module 101 also for sending with receiving client device 1 subsequent periodic of this image solicited message of transmission continues to obtain request, this acquisition module 103 is also for receiving after this image continues to obtain request at every turn at this information receiving module 101, the Image sources equipment 3 of specifying from each continues to obtain its current absorbed image.
This synthesis module 104 is for being adjusted to each image obtained in this combined effect picture should size corresponding to the Blank pictures of Image sources equipment 3, then the image after this adjustment is covered on this Blank pictures, thus the image after each adjustment is combined with the corresponding Blank pictures in this combined effect picture and synthesize a resultant image.In the present embodiment, this synthesis module 104 is also for being covered in the image after this adjustment after on this Blank pictures, and also on this image, an identification label sends the Image sources equipment 3 of this image to identify.Concrete, this identification label can be title or its monitoring area of installing of Image sources equipment 3.More specifically, this synthesis module 104 adds the identification label of corresponding Image sources equipment 3 at the ad-hoc location (as left upper) of each image.
This sending module 105, for sending this resultant image to this client device 1, makes this client device 1 show the resultant image comprising the image of the Image sources equipment 3 that each is specified.In the present embodiment, when send this image solicited message client device 1 subsequent periodic to this server 2 send one image continue obtain request time, this sending module 105 periodically sends the resultant image of this synthesis module 104 synthesis to this client device 1, make this client device 1 continue to show the multiple resultant images comprising the image of the Image sources equipment 3 that each is specified.
Wherein, the image solicited message sent when each client device 1 only comprises an Image sources equipment 3 of specifying, then this generation module 102 does not need to generate described combined effect picture, and this synthesis module 104 does not need to synthesize described resultant image yet.In this case, the Image sources equipment 3 that this acquisition module 103 can directly be specified from this obtains its image absorbed, and image can be directly sent to this client device 1 by this sending module 105.
In other embodiments, this generation module 102 can omit, that is, this long-range video monitoring system 100 does not need to generate according to the quantity of the Image sources equipment 3 of specifying the combined effect picture be made up of multiple Blank pictures.In this case, when this information receiving module 101 judges that the image solicited message that a certain client device 1 sends comprises multiple Image sources equipment 3 of specifying, the Image sources equipment 3 that namely this acquisition module 103 specifies from each obtains its current absorbed image respectively.Each image obtained directly is synthesized described resultant image according to a predetermined form by this synthesis module 104, e.g., directly synthesizes described resultant image according to the quantity of Image sources equipment 3 of specifying and the resolution of each image.
In sum, client device 1 of the present invention does not need to support various coding standard, is conducive to reducing development cost.Secondly, client device 1 does not need to decode respectively to the crossfire image from each Image sources equipment 3, thus alleviates the computational burden of this client device 1.Finally, each Image sources equipment 3 only need be set up a media transmission channel with this server 2 and transmit its image absorbed, thus avoids needing setting up the situation that multiple media transmission channel carries out with multiple client device 1 communicating respectively.
Fig. 3 is the flow chart of the long-range video signal monitoring method in a preferred embodiment of the present invention, and wherein, the method is applied between above-mentioned long-range video monitoring system 100, and the method comprises the steps:
Step S31: this information receiving module 101 receives the image solicited message that at least one client device 1 sends, and wherein, described image solicited message comprises at least one Image sources equipment 3 specified by this client device 1.
Step S32: this generation module 102 is when the image solicited message that a certain client device 1 sends comprises multiple Image sources equipment 3 of specifying, the combined effect picture be made up of multiple Blank pictures is generated, the corresponding wherein Image sources equipment 3 of specifying of each Blank pictures in this combined effect picture according to the quantity of the Image sources equipment 3 of specifying and image analytic degree.
Step S33: this acquisition module 103 obtains its current absorbed image respectively from the Image sources equipment 3 that each is specified.
Step S34: each image obtained to be adjusted in this combined effect picture should size corresponding to the Blank pictures of Image sources equipment 3 by this synthesis module 104, is then covered on this Blank pictures by the image after this adjustment and synthesizes a resultant image.
Step S35: this sending module 105 sends this resultant image to this client device 1.
Step S36: this information receiving module 101 judges whether that the image continuing to receive the follow-up transmission of client device 1 sending this image solicited message continues to obtain request, and if so, then flow process gets back to S33, otherwise then flow process terminates.
Those skilled in the art will be appreciated that; above execution mode is only used to the present invention is described; and be not used as limitation of the invention; as long as within spirit of the present invention, the appropriate change do above embodiment and change all drop within the scope of protection of present invention.