Summary of the invention
Technical problem to be solved by this invention provides a kind of image automatic distributing method and dissemination system, and it can carry out automatic distributing to view data.
For solving the problems of the technologies described above, the invention provides a kind of image automatic distributing method and comprise:
Set corresponding display terminal for different alarm signals first;
When alarm source sent to server with described alarm signal, described server found the display terminal of described correspondence according to alarm signal;
Server is judged the type of described alarm source again;
If alarm source is image capture device, then server sends to display terminal with the view data that described image capture device collects;
If alarm source is not image capture device, then server will be responsible for the view data that the image capture device in alarm source zone collects and send to display terminal.
Further, described server found corresponding display terminal according to alarm signal before, described server was ranked to alarm signal from front to back according to the time of reception of described alarm signal.
Further, described server finds corresponding display terminal to comprise according to alarm signal: described server finds the image capture device of being responsible for described alarm source zone according to the sequencing of described alarm signal queuing in the alarm source information data table, and finds the display terminal corresponding with alarm signal in the display terminal tables of data.
Further, the view data that described server collects image capture device sends to display terminal and comprises: whether described server is ranked to described view data according to the front and back order to the view data by the image capture device transmission that receives first, need format conversion and/or transcoding to judge to view data successively again;
If view data need to be carried out format conversion and/or transcoding, then first view data is carried out format conversion and/or transcoding, will arrive display terminal through the image data transmission of format conversion and/or transcoding again;
If view data does not need to carry out format conversion or transcoding, then directly image data transmission is arrived display terminal.
Further, described alarm signal comprises: the signal that crosses the border, swarm into signal, assemble signal and stay signal.
The present invention also provides a kind of automatic distributing system of image, comprising:
The interlock setting module is to setting corresponding display terminal for different alarm signals;
Terminal is searched module, finds the display terminal of described correspondence according to described alarm signal;
The alarm source judge module is judged the type of alarm source;
Image transmission module selects view data to transmit according to the judged result of described alarm source judge module;
If alarm source is image capture device, the view data that then described image capture device is collected sends to display terminal;
If alarm source is not image capture device, then will be responsible for the view data that the image capture device in alarm source zone collects and send to display terminal.
Further, also comprise:
The signal queue module is ranked to alarm signal from front to back according to the time sequencing of the described alarm signal that receives.
Further, described terminal is searched module and is comprised:
Image capture device is searched module, finds the image capture device of being responsible for described alarm source zone in the alarm source information data table according to the sequencing that receives described alarm signal;
Display terminal is searched module, finds the display terminal corresponding with alarm signal in the display terminal tables of data.
Further, described image transmission module comprises:
The image selected cell selects view data to transmit according to the judged result of described alarm source judge module;
The first image transmitting unit, if described alarm source is image capture device, the view data that then described image capture device is collected sends to described display terminal;
The second image transmitting unit if alarm source is not image capture device, then will be responsible for the view data that the image capture device in alarm source zone collects and send to display terminal.
Further, described image transmitting unit comprises:
Image receives subelement, and the view data by described image capture device transmission that receives is ranked to described view data according to the front and back order;
Whether the image transitions judgment sub-unit needs format conversion and/or transcoding to judge to view data;
The image transitions subelement carries out image transitions according to the judged result of described image transitions judgment sub-unit;
Image sends subelement, and image data transmission is arrived described display terminal.
Beneficial effect of the present invention is:
Image automatic distributing method provided by the invention and dissemination system are according to the interaction relation between predefined alarm signal and the display terminal, can automatically view data be sent to corresponding display terminal shows, realized the automatic distributing to view data, thereby guaranteed that the staff can in time obtain required view data.The present invention is simple in structure, effect is remarkable, practical.
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, the image automatic distributing method of foundation the present invention proposition and embodiment and the operation principle of dissemination system are elaborated.
As shown in Figure 1, image automatic distributing method provided by the invention comprises:
Set corresponding display terminal for different alarm signals first; Concrete, first alarm signal is carried out logical number, and set corresponding display terminal for different alarm signals;
When alarm source sent to server with alarm signal, server was ranked to alarm signal from front to back according to the time of reception of alarm signal first, found corresponding display terminal according to alarm signal again; Concrete, server finds the image capture device of being responsible for the alarm source zone according to the sequencing of alarm signal in the alarm source information data table, and finds the display terminal corresponding with alarm signal in the display terminal tables of data.Wherein, the content in the alarm source information data table comprises: physical address, the type of image capture device, the communication protocol of image capture device, the producer of dispatching from the factory of image capture device, the image capture device of being responsible for the image capture device in alarm source zone could carry out the information such as cradle head control.Content in the display terminal tables of data comprises: the information such as the producer of dispatching from the factory of the IP address of the type of each display terminal, the physical address of display terminal, display terminal, the communication protocol of display terminal, display terminal.
Server is judged the type of alarm source again;
If alarm source is image capture device, then server sends to display terminal with the view data that image capture device collects by the TCP/IP network;
If alarm source is not image capture device, then server will be responsible for the view data that the image capture device in alarm source zone collects and send to display terminal by the TCP/IP network.
Concrete, whether server is ranked to view data according to the front and back order to the view data by the image capture device transmission that receives first, need format conversion and/or transcoding to judge to view data successively again;
If view data need to be carried out format conversion and/or transcoding, then by gateway view data is carried out format conversion and/or transcoding first, will pass through the TCP/IP Internet Transmission to display terminal through the view data of format conversion and/or transcoding again;
If view data does not need to carry out format conversion or transcoding, then directly view data is passed through the TCP/IP Internet Transmission to display terminal;
Preferably, alarm signal comprises: the signal that crosses the border, swarm into signal, assemble signal and stay signal.Image capture device is video camera.Display terminal comprises video telephone, PC, the Video Terminal based on wired IP network, based on the visual handheld terminal (PDA) of the wireless networks such as 3G, WIFI, WIMAX, LTE, mobile phone etc.
The automatic distributing system of image provided by the invention comprises:
The interlock setting module is to setting corresponding display terminal for different alarm signals;
The signal queue module is ranked to alarm signal from front to back according to the time sequencing of the alarm signal that receives.
Terminal is searched module, finds corresponding display terminal according to alarm signal;
Preferably, terminal is searched module and is comprised:
Image capture device is searched module, finds the image capture device of being responsible for the alarm source zone in the alarm source information data table according to the sequencing that receives alarm signal; Wherein, the content in the alarm source information data table comprises: physical address, the type of image capture device, the communication protocol of image capture device, the producer of dispatching from the factory of image capture device, the image capture device of being responsible for the image capture device in alarm source zone could carry out the information such as cradle head control.
Display terminal is searched module, finds the display terminal corresponding with alarm signal in the display terminal tables of data.Wherein, the content in the display terminal tables of data comprises: the information such as the producer of dispatching from the factory of the IP address of the type of each display terminal, the physical address of display terminal, display terminal, the communication protocol of display terminal, display terminal.
The alarm source judge module is judged the type of alarm source;
Image transmission module selects view data to transmit according to the judged result of alarm source judge module;
If alarm source is image capture device, the view data that then image capture device is collected sends to display terminal by the TCP/IP network;
If alarm source is not image capture device, then will be responsible for the view data that the image capture device in alarm source zone collects and send to display terminal by the TCP/IP network.
Preferably, image transmission module comprises:
The image selected cell selects view data to transmit according to the judged result of alarm source judge module;
The first image transmitting unit, if alarm source is image capture device, the view data that then image capture device is collected sends to display terminal by the TCP/IP network;
The second image transmitting unit if alarm source is not image capture device, then will be responsible for the view data that the image capture device in alarm source zone collects and send to display terminal by the TCP/IP network.
Further, image transmitting unit comprises:
Image receives subelement, and the view data by the image capture device transmission that receives is ranked to view data according to the front and back order;
Whether the image transitions judgment sub-unit needs format conversion and/or transcoding to judge to view data;
The image transitions subelement carries out image transitions according to the judged result of image transitions judgment sub-unit;
Image sends subelement, and view data is passed through the TCP/IP Internet Transmission to display terminal.
Preferably, alarm signal comprises: the signal that crosses the border, swarm into signal, assemble signal and stay signal.Image capture device is video camera.Display terminal comprises video telephone, PC, the Video Terminal based on wired IP network, based on the visual handheld terminal (PDA) of the wireless networks such as 3G, WIFI, WIMAX, LTE, mobile phone etc.
Need to prove, image automatic distributing provided by the invention system in use, interlock setting module, signal queue module, terminal can be searched module, alarm source judge module and image transmission module and be integrated in the server, again server is connected with display terminal with alarm source respectively.
As shown in Figure 2, will with display terminal be integrated with image automatic distributing provided by the invention system in the server that setting module, signal queue module, terminal search module, alarm source judge module and image transmission module that links be connected, at first need initiatively to initiate connection request to network service end; Wherein, the message bag of connection request comprises the ID of display terminal, the IP address of display terminal, the parameter informations such as port numbers of display terminal; After network service end receives connection request, at first verify the legitimacy of the parameter information of the display terminal in the message bag; If the parameter information of display terminal is legal, then send the message bag that allows connection to display terminal; If the parameter information of display terminal is illegal, then send the message that refusal connects to display terminal.Need to prove, do not receive the packet that network service end returns if display terminal is overtime, then behind certain interval of time, again send the connection request packet to network service end.
Image automatic distributing provided by the invention system is when work, receive the alarm signal that sends from alarm source when server, at first from front to back alarm signal is ranked according to the time sequencing of server receiving alarm signal by the signal queue module, search image capture device in the module by terminal again and search module receives alarm signal according to server sequencing and in the alarm source information data table, find the image capture device of being responsible for the alarm source zone, and search module by display terminal and in the display terminal tables of data, find the display terminal corresponding with alarm signal.Then by the alarm source judge module type of alarm source is judged; Select the first image transmitting unit or the second image transmitting unit that view data is passed through the TCP/IP Internet Transmission to display terminal by the image selected cell in the image transmission module according to the judged result of alarm source judge module again.So just, make the relevant staff in time see required video image at display terminal.
Image automatic distributing method provided by the invention and dissemination system are according to the interaction relation between predefined alarm signal and the display terminal, can automatically view data be sent to corresponding display terminal shows, realized the automatic distributing to view data, thereby guaranteed that the staff can in time obtain required view data.The present invention is simple in structure, effect is remarkable, practical.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to example the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.