CN108551571A - A kind of monitor video distribution method, device, system and Distributor - Google Patents
A kind of monitor video distribution method, device, system and Distributor Download PDFInfo
- Publication number
- CN108551571A CN108551571A CN201810469674.4A CN201810469674A CN108551571A CN 108551571 A CN108551571 A CN 108551571A CN 201810469674 A CN201810469674 A CN 201810469674A CN 108551571 A CN108551571 A CN 108551571A
- Authority
- CN
- China
- Prior art keywords
- distributor
- video data
- monitor video
- monitor
- monitoring
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23103—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion using load balancing strategies, e.g. by placing or distributing content on different disks, different memories or different servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention discloses a kind of monitor video distribution method, device, system and Distributor, is related to technical field of video monitoring, the monitor video distribution method includes:The acquisition for one of being correspondingly connected with the monitor video data of monitoring device to this Distributor in response to video monitoring client terminal is asked, according to the input load information and output loading information of the monitor video data of this Distributor and other Distributors, the Distributor of the monitor video data for providing corresponding monitoring device is determined;The address of the Distributor of monitor video data for providing corresponding monitoring device is sent to the video monitoring client terminal, so that the video monitoring client terminal obtains the monitor video data of corresponding monitoring device from the corresponding Distributor of described address.The present invention balances the load between each Distributor according to the input load information of the monitor video data of each Distributor and output loading information.
Description
Technical field
The present invention relates to technical field of video monitoring more particularly to a kind of monitor video distribution method, device, system and
Distributor.
Background technology
As every lasting development, and finance, education, property built such as China safe city, intelligent transportation etc. is each
The constantly enhancing of industry user's security protection consciousness, steady growth is presented always in video monitoring market in recent years.
The rapid development of Video Surveillance Industry, client constantly promote the way demand of monitor video, and portfolio is caused to hold
Continuous soaring, the resource consumption for frequently resulting in server seriously even stops service, generates very serious consequence.Therefore distribution master
Server adds standby server pattern to can no longer meet these demands, becomes the bottle for restricting entire monitoring system development instead
Neck and fault point.
When the small scale of system, when overall request amount is less, distribution master server adds standby server pattern that can meet
The business need of client.But with the increase of system scale, when increase or integrated demand amount such as video surveillance point explode,
This difficult meet demand of pattern.
It can be seen that the above this distribution master server adds standby server pattern not have scalability, cannot be satisfied
The increase in demand of request amount;Standby server is switched to after master server delay machine, will be influenced after standby server delay machine all
Business, you can lean on property not strong.These all limit the development of monitoring trade, do not meet the characteristics of it is open, flexibility.
Although this can be solved the problems, such as by the method for directly carrying out a large amount of HardwareUpgrings to server, that is, use high
High-performance server replace existing server.But this method will cause the waste of existing resource, and if face again
When facing the promotion of a portfolio, this is again remarkable again by the great number cost input or even performance that lead to HardwareUpgring again
Server apparatus can not meet the increased requirement of current traffic.
Invention content
Technical problem to be solved by the present invention lies in existing distribution master server adds standby server pattern that can not expire
A large amount of requests of sufficient video flowing, and the utilization rate of Distributor is not high.
The present invention solves its technical problem, proposes a kind of monitor video distribution method, device, system and distribution service
Device.
The monitor video distribution method is applied to the Distributor of Distributor cluster, and each monitoring device is at least
It is connected to a Distributor, the monitor video distribution method includes step:
The monitoring for one of being correspondingly connected with monitoring device to this Distributor in response to video monitoring client terminal regards
The acquisition of frequency evidence is asked, and is believed according to the input load of the monitor video data of this Distributor and other Distributors
Breath and output loading information determine the Distributor of the monitor video data for providing corresponding monitoring device;
The address of the Distributor of monitor video data for providing corresponding monitoring device is sent to the video
Monitor client, so that the video monitoring client terminal obtains corresponding monitoring device from the corresponding Distributor of described address
Monitor video data.
Optionally, the output loading information includes at least:Multiplexing way that corresponding monitor video data are exported,
The output code flow summation of Distributor output monitoring video data;
The input load information includes at least:Distributor receives the input code flow summation of monitor video data.
Optionally, when the Distributor of the determining monitor video data for providing corresponding monitoring device is this distribution
When server, corresponding monitor video data are directly transmitted to the video monitoring client terminal;
When the Distributor of the determining monitor video data for providing corresponding monitoring device is other distribution services
When device, transmitting, monitoring video data gives corresponding Distributor, so that corresponding Distributor sends out monitor video data
Give the video monitoring client terminal.
Optionally, the input load of the monitor video data according to this Distributor and other Distributors
Information and output loading information determine the Distributor of the monitor video data for providing corresponding monitoring device, including:
According to the multiplexing of the output code flow summation of this Distributor, input code flow summation, corresponding monitor video data
Way and their corresponding threshold values determine that can this Distributor directly transmit corresponding monitor video data to the video
Monitor client;
If this Distributor can directly transmit corresponding monitor video data to the video monitoring client terminal, it incite somebody to action this
Distributor is determined as the Distributor of the monitor video data for providing corresponding monitoring device;
If this Distributor cannot directly transmit corresponding monitor video data give the video monitoring client terminal, according to
The output code flow summations of other Distributors, input code flow summation, the multiplexing way of corresponding monitor video data and they
Corresponding threshold value determines the distribution of the monitor video data for providing corresponding monitoring device in other Distributors
Server.
Optionally, the output code flow summation, input code flow summation, corresponding monitor video according to this Distributor
The multiplexing way of data and their corresponding threshold values, determine that can this Distributor directly transmit corresponding monitor video data
To the video monitoring client terminal, including:
When this Distributor has an input of corresponding monitor video data, and the output code flow summation and corresponding
When the multiplexing way of monitor video data does not reach threshold value, or when this Distributor does not have corresponding monitor video data
Input, and when the output code flow summation of this Distributor, input code flow summation do not reach threshold value, by this Distributor
It is determined as to directly transmit corresponding monitor video data to the video monitoring client terminal;Otherwise, by this Distributor
It is determined as to directly transmit corresponding monitor video data to the video monitoring client terminal.
On the other hand, the present invention also provides a kind of monitor video diostribution devices, are applied to the distribution of Distributor cluster
Server, each monitoring device are at least connected to a Distributor, and the monitor video diostribution device includes:
Distributor determining module, its for being correspondingly connected with to this Distributor in response to video monitoring client terminal
In a monitoring device monitor video data acquisition request, according to this Distributor and the prison of other Distributors
The input load information and output loading information of video data are controlled, determines the monitor video data for providing corresponding monitoring device
Distributor;
Monitor video data transmission blocks, the distribution clothes of the monitor video data for that will be used to provide corresponding monitoring device
The address of business device is sent to the video monitoring client terminal, so that the video monitoring client terminal is from the corresponding distribution of described address
Server obtains the monitor video data of corresponding monitoring device.
Optionally, the output loading information includes at least:Multiplexing way that corresponding monitor video data are exported,
The output code flow summation of Distributor output monitoring video data;
The input load information includes at least:Distributor receives the input code flow summation of monitor video data.
Optionally, further include:
First sending module, for the distribution service when the determining monitor video data for providing corresponding monitoring device
When device is this Distributor, corresponding monitor video data are directly transmitted to the video monitoring client terminal;
Second sending module, for the distribution service when the determining monitor video data for providing corresponding monitoring device
When device is other Distributors, transmitting, monitoring video data gives corresponding Distributor, so that corresponding Distributor
Monitor video data are sent to the video monitoring client terminal.
Optionally, the Distributor determining module includes:
Distributor determination sub-module, for according to the output code flow summation of this Distributor, input code flow summation,
The multiplexing way of corresponding monitor video data and their corresponding threshold values, determine that can this Distributor directly transmit correspondence
Monitor video data give the video monitoring client terminal;
First determination sub-module can directly transmit corresponding monitor video data to described for working as this Distributor
This Distributor is determined as the distribution clothes of the monitor video data for providing corresponding monitoring device by video monitoring client terminal
Business device;
Second determination sub-module cannot directly transmit corresponding monitor video data to described for working as this Distributor
Video monitoring client terminal, according to the output code flow summation of other Distributors, input code flow summation, corresponding monitor video number
According to multiplexing way and their corresponding threshold values, one is determined in other Distributors for providing corresponding monitoring device
The Distributor of monitor video data.
Optionally, the Distributor determination sub-module includes:
Distributor determination unit, the input for there is corresponding monitor video data when this Distributor, and institute
When stating the multiplexing ways of output code flow summation and corresponding monitor video data and not reaching threshold value, or work as this Distributor
There is no the input of corresponding monitor video data, and the output code flow summation of this Distributor, input code flow summation do not have
When reaching threshold value, this Distributor is determined as capable of directly transmitting corresponding monitor video data and gives video monitoring visitor
Family end;Otherwise, this Distributor is determined as cannot directly transmitting corresponding monitor video data and gives video monitoring visitor
Family end.
The present invention also provides a kind of Distributor, the Distributor includes monitor video diostribution device above-mentioned.
Further, the present invention also provides a kind of monitor video dissemination systems, including:
Video monitoring client terminal;
Distributor cluster, wherein the Distributor in cluster is used in response to video monitoring client terminal to one's duty
Hair server one of is correspondingly connected with the acquisition request of the monitor video data of monitoring device, according to this Distributor with
And the input load information and output loading information of the monitor video data of other Distributors, it determines for providing corresponding prison
Control the Distributor of the monitor video data of device;The distribution of monitor video data for providing corresponding monitoring device is taken
The address of business device is sent to the video monitoring client terminal, so that the video monitoring client terminal is from the corresponding distribution of described address
Server obtains the monitor video data of corresponding monitoring device.
Monitoring device, each monitoring device is at least connected to a Distributor, for providing monitor video data.
The present invention by multiple Distributors by the monitor video data forwarding of monitoring device to video monitoring client terminal,
And each distribution is balanced according to the input load information of the monitor video data of each Distributor and output loading information
Load between server.The present invention is carried by the way that video monitoring request to be reasonably assigned in the Distributor cluster of rear end
High system processing power eliminates system bottleneck that may be present, improves the utilization rate of equipment;Avoid the occurrence of a Distributor
The case where excessively busy and stopping service, other Distributors do not give full play to processing capacity, avoids key business from going out
Existing single point failure;When the growth of load of service, what system can be easily and fast activate business, and capacity carrys out meet demand, and does not drop
Low service quality;System can detect the state of Distributor in real time, ensure the case where part Distributor breaks down
Under, the service of whole system is still available;The server cluster composition one for efficiently using multiple Distributor compositions is whole
Body, when video monitoring client terminal application program is interacted with server cluster, just as being handed over the server of a high-performance, High Availabitity
Mutually the same, video monitoring client terminal need not change, and part Distributor switches in and out the service of will not interrupting, and
User is detectable these variations.
Description of the drawings
Fig. 1 is a kind of application scenario diagram of monitor video distribution method shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of monitor video distribution method shown according to an exemplary embodiment.
Fig. 3 is a kind of structure diagram of monitor video diostribution device shown according to an exemplary embodiment.
Fig. 4 is a kind of structure diagram of Distributor shown according to an exemplary embodiment.
Fig. 5 is a kind of structure diagram of monitor video dissemination system shown according to an exemplary embodiment.
Specific implementation mode
Following is a specific embodiment of the present invention in conjunction with the accompanying drawings, technical scheme of the present invention will be further described,
However, the present invention is not limited to these examples.
This specification embodiment provides a kind of monitor video distribution method, and the distribution for being applied to Distributor cluster takes
Business device, the monitor video data that the Distributor is used to that monitoring device to be forwarded to generate, each monitoring device are at least connected to
One Distributor.
Fig. 1 is a kind of application scenario diagram of monitor video distribution method shown according to an exemplary embodiment, is related to regarding
Frequency monitor client 11, Distributor 12, Distributor 13, Distributor 14, monitor terminal 15, monitor terminal 16,
Monitor terminal 17.
The transmission of video data can be monitored between the Distributor and corresponding monitor terminal.Wherein, distribute
Server 12 is correspondingly connected with monitor terminal 15;Distributor 13 is correspondingly connected with monitor terminal 16;Distributor 17, which corresponds to, to be connected
Connect monitor terminal 17.In addition, Distributor 12, Distributor 13, Distributor 14 can be monitored video data
Transmission.
Equipment in Fig. 1 is a kind of citing, actually can relate to Distributor, video monitoring client terminal, monitoring device
Quantity can be determines according to actual conditions.
The video monitoring client terminal, for equipment management, user management, storage management, video wall management, electronic map
Management, alarm management, real-time display, history playback, video wall control.
The monitor terminal can be IP-based web camera, can also be to have to determine IP address and can lead to
Cross other monitoring devices of network-control.
It should be noted that each Distributor can be correspondingly connected with several monitoring devices, can also be not connected to monitor
Device, each monitoring device are at least connected to a Distributor, and monitoring device can only will be in the monitor video data of generation
Reach the Distributor being correspondingly connected with.
Each monitoring device is a video source, is drawn to monitoring device by video source information in Distributor
Identification, the video source packet is divided to include:Equipment where the IP of equipment, video source where video source ID, device id, video source
The channel number where channel type, video source, main bit stream size, auxiliary stream size, video source encapsulation where type, video source
The password of equipment where the user name of equipment, video source where format, video source.
TCP connection is established between Distributor in Distributor cluster, cluster group configuration information is in local to match
The mode for setting file preserves.When there is newly-increased Distributor, text is configured in the cluster group of this newly-increased Distributor
Its required Distributor connected described in part.When there is the Distributor of deletion, other distribution services can changed
After the configuration file of device, restarting.
After Distributor connects other Distributors, the monitoring of own load information can be carried out, by the load of itself
Information is pushed to other Distributors being connect with it by Transmission Control Protocol, while can also receive the push of other Distributors
The load information to come over, such Distributor can store the load information of the load information of itself and other Distributors.
The load information includes video source ID, boss's code stream identification, multiplexing way, code stream counting number.
Distributor cluster is formed by multiple Distributors, the Distributor cluster is according to each point in cluster
The input load information and output loading information for sending out the monitor video data of server carry out adjustment of load, to reach the flat of load
Weighing apparatus.
Fig. 2 is a kind of flow chart of monitor video distribution method shown according to an exemplary embodiment, and the monitoring regards
Frequency division forwarding method is applied to the Distributor of Distributor cluster, and each monitoring device is at least connected to a distribution service
Device, the monitor video distribution method includes step:
Step S201 one of is correspondingly connected with monitoring device in response to video monitoring client terminal to this Distributor
Monitor video data acquisition request, according to the defeated of the monitor video data of this Distributor and other Distributors
Enter load information and output loading information, determines the Distributor of the monitor video data for providing corresponding monitoring device.
The Distributor that the video monitoring client terminal can be correspondingly connected with to monitoring device sends the prison of the monitoring device
Control the acquisition request of video data.
In acquisition request comprising needing to obtain video source information, i.e., correspond to the information of monitoring device and asks
Code stream information.
The monitoring for one of being correspondingly connected with monitoring device to this Distributor in response to video monitoring client terminal regards
The acquisition of frequency evidence is asked.
This Distributor, which obtains video monitoring client terminal and one of is correspondingly connected with monitoring to this Distributor, to be filled
The acquisition for the monitor video data set is asked, and according to the monitor video data of this Distributor and other Distributors
Input load information and output loading information, determine the distribution service of monitor video data for providing corresponding monitoring device
Device.
Optionally, the output loading information includes at least:Multiplexing way that corresponding monitor video data are exported,
The output code flow summation of Distributor output monitoring video data;
The input load information includes at least:Distributor receives the input code flow summation of monitor video data.
Specifically, input load information and output loading information further include that other relevant parameters also have video source ID, code
The relevant routine information of the videos such as traffic identifier.
It should be noted that the multiplexing way is the multiplexing that the corresponding monitor video data of Distributor are exported
Way.
For Distributor, only correspondence inputs same monitor video data all the way, this can all the way be inputted to the prison of acquisition
Control video data is exported with multichannel, and the way of output is denoted as multiplexing way.Wherein, same monitor video data refer to same prison
Control the monitor video data for the same code stream that device generates.
The code stream summation of the outside output monitoring video data of the output code flow summation, as Distributor, Ke Yiyou
The code stream of the different monitor video data of Distributor output and corresponding multiplexing way are calculated.Correspondingly, input code
It is the code stream summation that Distributor receives monitor video data, monitor video that can be by Distributor by inputting to flow summation
The sum of code stream of data.Input code flow is unrelated with multiplexing way, because same monitor video data only need input primary.
The input load information of the monitor video data according to this Distributor and other Distributors and
Output loading information determines the Distributor of the monitor video data for providing corresponding monitoring device, including:
According to the multiplexing of the output code flow summation of this Distributor, input code flow summation, corresponding monitor video data
Way and their corresponding threshold values determine that can this Distributor directly transmit corresponding monitor video data to the video
Monitor client;
If this Distributor can directly transmit corresponding monitor video data to the video monitoring client terminal, it incite somebody to action this
Distributor is determined as the Distributor of the monitor video data for providing corresponding monitoring device;
If this Distributor cannot directly transmit corresponding monitor video data give the video monitoring client terminal, according to
The output code flow summations of other Distributors, input code flow summation, the multiplexing way of corresponding monitor video data and they
Corresponding threshold value determines the distribution of the monitor video data for providing corresponding monitoring device in other Distributors
Server.
It is correspondingly connected with this Distributor due to obtaining the monitoring device in asking, so the monitoring of corresponding monitoring device
Video data can only be uploaded to this Distributor, so from this Distributor be directly transferred to video monitoring client terminal or its
His Distributor.
Can decide whether can be directly transmitted corresponding monitor video data by this Distributor supervises to the video
Control client factor include:The output code flow summation, input code flow summation, corresponding monitor video data of this Distributor
Multiplexing way and their corresponding threshold values.The output code flow summation is regarding for single Distributor with input code flow summation
The bottleneck of frequency data transmission performance carries out the balance of performance according to these data, with dynamic between each Distributor
The performance of each Distributor in balancing cluster improves the utilization rate of each Distributor in cluster, saves hardware cost.
Optionally, the output code flow summation, input code flow summation, corresponding monitor video according to this Distributor
The multiplexing way of data and their corresponding threshold values, determine that can this Distributor directly transmit corresponding monitor video data
To the video monitoring client terminal, including:
When this Distributor has an input of corresponding monitor video data, and the output code flow summation and corresponding
When the multiplexing way of monitor video data does not reach threshold value, or when this Distributor does not have corresponding monitor video data
Input, and when the output code flow summation of this Distributor, input code flow summation do not reach threshold value, by this Distributor
It is determined as to directly transmit corresponding monitor video data to the video monitoring client terminal;Otherwise, by this Distributor
It is determined as to directly transmit corresponding monitor video data to the video monitoring client terminal.
Optionally, when this Distributor does not have the input of corresponding monitor video data, and this Distributor is defeated
Go out code stream always and/or input code flow summation is more than threshold value, then refuses the acquisition request of video monitoring client terminal.
Optionally, if this Distributor cannot directly transmit corresponding monitor video data to the video monitoring client
End, according to the output code flow summation of other Distributors, the multiplexing way of input code flow summation, corresponding monitor video data
And their corresponding threshold values, the monitor video data for providing corresponding monitoring device are determined in other Distributors
Distributor, specifically include:
If this Distributor cannot directly transmit corresponding monitor video data to the video monitoring client terminal, filtering
Fall following Distributor:Output code flow summation reaches the Distributor of corresponding threshold value, has corresponding monitor video data
The multiplexing way of input but corresponding monitor video data has reached the Distributor of corresponding threshold value and without corresponding prison
The input and input code flow summation for controlling video data reach the Distributor of the upper limit, and compare output code flow summation, right successively
The multiplexing way for the monitor video data answered, the selection of input code flow summation load minimum Distributor and provide corresponding monitoring
Video data.Its comparison procedure is as follows:Compare output code flow summation first, selects smaller as providing monitor video data
Distributor;If identical, compare multiplexing way, selects smaller as the Distributor for providing monitor video data;If
It is also identical to be multiplexed way, compares input code flow summation, selects smaller as the distribution service for providing monitor video data
Device.
When there are the input of corresponding monitor video data, and output code flow summation, corresponding monitor video data
It is multiplexed the Distributor that way, input code flow summation are all not up to threshold value, then can directly be provided by the Distributor
Corresponding monitor video data.
In the present embodiment, the Distributor that monitoring device is correspondingly connected with is being determined for providing monitor video data
When Distributor, according to the loading condition of each Distributor at that time, there is following selection:1, straight by this Distributor itself
It connects and monitor video data is provided;2, monitor video data (Distributor is directly provided by other Distributors in cluster
The reprinting of the monitor video data is being carried out, the input with the monitor video data);3, it is determined as reprinting this i.e. distribution clothes
Monitor video data are first transferred to other Distributors by business device, are then transferred to video monitoring client by the Distributor
It holds (reprinting that the monitor video data occur for the first time);4, it is determined as reprinting again, i.e., this Distributor cannot be straight
It connects and monitor video data (load is limited) is provided, and some partner's Distributor A has monitor video data input in cluster,
But load is limited, selects some in cluster to load more idle partner Distributor B, will be monitored by Distributor A at this time
Video data is sent to Distributor B, then monitor video data are sent to video monitoring client terminal by Distributor B
(reprinting again).
Optionally, when the Distributor of the determining monitor video data for providing corresponding monitoring device is this distribution
When server, corresponding monitor video data are directly transmitted to the video monitoring client terminal;
When the Distributor of the determining monitor video data for providing corresponding monitoring device is other distribution services
When device, transmitting, monitoring video data gives corresponding Distributor, so that corresponding Distributor sends out monitor video data
Give the video monitoring client terminal.
In this step S201, the Distributor being correspondingly connected with by the requested monitoring device of video monitoring client terminal is held
Row.
The address of the Distributor of monitor video data for providing corresponding monitoring device is sent to by step S202
The video monitoring client terminal, so that the video monitoring client terminal obtains corresponding prison from the corresponding Distributor of described address
Control the monitor video data of device.
In the present embodiment, the Distributor request that video monitoring client terminal can be correspondingly connected with to monitoring device, which provides, to be regarded
The Distributor address of frequency stream.The Distributor that monitoring device is correspondingly connected with is returned in response to the request for offer pair
Answer the address of the Distributor of the monitor video data of monitoring device to video monitoring client terminal.
Fig. 3 is a kind of structure diagram of monitor video diostribution device shown according to an exemplary embodiment, and the present invention is also
A kind of monitor video diostribution device is provided, the Distributor of Distributor cluster is applied to, each monitoring device at least connects
It is connected to a Distributor, the monitor video diostribution device includes:
Distributor determining module 31, for what is be correspondingly connected with to this Distributor in response to video monitoring client terminal
The acquisitions of the monitor video data of one of monitoring device is asked, according to this Distributor and other Distributors
The input load information and output loading information of monitor video data determine the monitor video number for providing corresponding monitoring device
According to Distributor;
Monitor video data transmission blocks 32, the distribution of the monitor video data for that will be used to provide corresponding monitoring device
The address of server is sent to the video monitoring client terminal, so that the video monitoring client terminal is from corresponding point of described address
Send out the monitor video data that server obtains corresponding monitoring device.
Optionally, the output loading information includes at least:Multiplexing way that corresponding monitor video data are exported,
The output code flow summation of Distributor output monitoring video data;
The input load information includes at least:Distributor receives the input code flow summation of monitor video data.
Optionally, further include:
First sending module, for the distribution service when the determining monitor video data for providing corresponding monitoring device
When device is this Distributor, corresponding monitor video data are directly transmitted to the video monitoring client terminal;
Second sending module, for the distribution service when the determining monitor video data for providing corresponding monitoring device
When device is other Distributors, transmitting, monitoring video data gives corresponding Distributor, so that corresponding Distributor
Monitor video data are sent to the video monitoring client terminal.
Optionally, the Distributor determining module 31 includes:
Distributor determination sub-module, for according to the output code flow summation of this Distributor, input code flow summation,
The multiplexing way of corresponding monitor video data and their corresponding threshold values, determine that can this Distributor directly transmit correspondence
Monitor video data give the video monitoring client terminal;
First determination sub-module can directly transmit corresponding monitor video data to described for working as this Distributor
This Distributor is determined as the distribution clothes of the monitor video data for providing corresponding monitoring device by video monitoring client terminal
Business device;
Second determination sub-module cannot directly transmit corresponding monitor video data to described for working as this Distributor
Video monitoring client terminal, according to the output code flow summation of other Distributors, input code flow summation, corresponding monitor video number
According to multiplexing way and their corresponding threshold values, one is determined in other Distributors for providing corresponding monitoring device
The Distributor of monitor video data.
Optionally, the Distributor determination sub-module includes:
Distributor determination unit, the input for there is corresponding monitor video data when this Distributor, and institute
When stating the multiplexing ways of output code flow summation and corresponding monitor video data and not reaching threshold value, or work as this Distributor
There is no the input of corresponding monitor video data, and the output code flow summation of this Distributor, input code flow summation do not have
When reaching threshold value, this Distributor is determined as capable of directly transmitting corresponding monitor video data and gives video monitoring visitor
Family end;Otherwise, this Distributor is determined as cannot directly transmitting corresponding monitor video data and gives video monitoring visitor
Family end.
Since monitor video diostribution device is applied to embodiment of the method above-mentioned, which is not described herein again, relevant content ginseng
See embodiment of the method above-mentioned.
Fig. 4 is a kind of structure diagram of Distributor shown according to an exemplary embodiment, the Distributor
40 include the monitor video diostribution device in above-described embodiment.The Distributor is located in a Distributor cluster, often
A monitoring device is at least connected to a Distributor, and the monitor video diostribution device includes:
Distributor determining module 31, for what is be correspondingly connected with to this Distributor in response to video monitoring client terminal
The acquisitions of the monitor video data of one of monitoring device is asked, according to this Distributor and other Distributors
The input load information and output loading information of monitor video data determine the monitor video number for providing corresponding monitoring device
According to Distributor;
Monitor video data transmission blocks 32, the distribution of the monitor video data for that will be used to provide corresponding monitoring device
The address of server is sent to the video monitoring client terminal, so that the video monitoring client terminal is from corresponding point of described address
Send out the monitor video data that server obtains corresponding monitoring device.
Optionally, the output loading information includes at least:Multiplexing way that corresponding monitor video data are exported,
The output code flow summation of Distributor output monitoring video data;
The input load information includes at least:Distributor receives the input code flow summation of monitor video data.
Optionally, further include:
First sending module, for the distribution service when the determining monitor video data for providing corresponding monitoring device
When device is this Distributor, corresponding monitor video data are directly transmitted to the video monitoring client terminal;
Second sending module, for the distribution service when the determining monitor video data for providing corresponding monitoring device
When device is other Distributors, transmitting, monitoring video data gives corresponding Distributor, so that corresponding Distributor
Monitor video data are sent to the video monitoring client terminal.
Optionally, the Distributor determining module 31 includes:
Distributor determination sub-module, for according to the output code flow summation of this Distributor, input code flow summation,
The multiplexing way of corresponding monitor video data and their corresponding threshold values, determine that can this Distributor directly transmit correspondence
Monitor video data give the video monitoring client terminal;
First determination sub-module can directly transmit corresponding monitor video data to described for working as this Distributor
This Distributor is determined as the distribution clothes of the monitor video data for providing corresponding monitoring device by video monitoring client terminal
Business device;
Second determination sub-module cannot directly transmit corresponding monitor video data to described for working as this Distributor
Video monitoring client terminal, according to the output code flow summation of other Distributors, input code flow summation, corresponding monitor video number
According to multiplexing way and their corresponding threshold values, one is determined in other Distributors for providing corresponding monitoring device
The Distributor of monitor video data.
Optionally, the Distributor determination sub-module includes:
Distributor determination unit, the input for there is corresponding monitor video data when this Distributor, and institute
When stating the multiplexing ways of output code flow summation and corresponding monitor video data and not reaching threshold value, or work as this Distributor
There is no the input of corresponding monitor video data, and the output code flow summation of this Distributor, input code flow summation do not have
When reaching threshold value, this Distributor is determined as capable of directly transmitting corresponding monitor video data and gives video monitoring visitor
Family end;Otherwise, this Distributor is determined as cannot directly transmitting corresponding monitor video data and gives video monitoring visitor
Family end.
Embodiment of the method above-mentioned is applied to by Distributor in this present embodiment, which is not described herein again, relevant
Content is referring to embodiment of the method above-mentioned.
Fig. 5 is a kind of structure diagram of monitor video dissemination system shown according to an exemplary embodiment, the monitoring
Video distribution system includes:Video monitoring client terminal, Distributor cluster, monitoring device.
In the present embodiment, the example that is provided such as Fig. 5:Video monitoring client terminal 51, Distributor 52, Distributor
53, monitor terminal 54, monitor terminal 55, a kind of above only example, specific video monitoring client terminal, Distributor, prison
The quantity of control terminal can determine according to actual needs.
Video monitoring client terminal;
Distributor cluster, wherein the Distributor in cluster is used in response to video monitoring client terminal to one's duty
Hair server one of is correspondingly connected with the acquisition request of the monitor video data of monitoring device, according to this Distributor with
And the input load information and output loading information of the monitor video data of other Distributors, it determines for providing corresponding prison
Control the Distributor of the monitor video data of device;The distribution of monitor video data for providing corresponding monitoring device is taken
The address of business device is sent to the video monitoring client terminal, so that the video monitoring client terminal is from the corresponding distribution of described address
Server obtains the monitor video data of corresponding monitoring device.
Monitoring device, each monitoring device is at least connected to a Distributor, for providing monitor video data.
Wherein, the video monitoring client terminal, for equipment management, user management, storage management, video wall management, electricity
Sub- management map, alarm management, real-time display, history playback, video wall control.
The monitor terminal can be IP-based web camera, can also be to have to determine IP address and can lead to
Cross other monitoring devices of network-control.
Specific embodiment described herein is only an example for the spirit of the invention.Technology belonging to the present invention is led
The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method
In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.
Claims (12)
1. a kind of monitor video distribution method, which is characterized in that be applied to the Distributor of Distributor cluster, Mei Gejian
Control device is at least connected to a Distributor, and the monitor video distribution method includes step:
The monitor video number of monitoring device one of is correspondingly connected with to this Distributor in response to video monitoring client terminal
According to acquisition request, according to the input load information of the monitor video data of this Distributor and other Distributors and
Output loading information determines the Distributor of the monitor video data for providing corresponding monitoring device;
The address of the Distributor of monitor video data for providing corresponding monitoring device is sent to the video monitoring
Client, so that the video monitoring client terminal obtains the monitoring of corresponding monitoring device from the corresponding Distributor of described address
Video data.
2. monitor video distribution method according to claim 1, which is characterized in that the output loading information is at least wrapped
It includes:The output code flow of multiplexing way, Distributor output monitoring video data that corresponding monitor video data are exported
Summation;
The input load information includes at least:Distributor receives the input code flow summation of monitor video data.
3. monitor video distribution method according to claim 2, which is characterized in that when determining for providing corresponding monitoring
When the Distributor of the monitor video data of device is this Distributor, corresponding monitor video data are directly transmitted to institute
State video monitoring client terminal;
When the Distributor of the determining monitor video data for providing corresponding monitoring device is other Distributors,
Transmitting, monitoring video data gives corresponding Distributor, so that monitor video data are sent to institute by corresponding Distributor
State video monitoring client terminal.
4. monitor video distribution method according to claim 2 or 3, which is characterized in that described according to this Distributor
And the input load information and output loading information of the monitor video data of other Distributors, it determines for providing correspondence
The Distributor of the monitor video data of monitoring device, including:
According to the output code flow summation of this Distributor, the multiplexing way of input code flow summation, corresponding monitor video data
And their corresponding threshold values, determine that can this Distributor directly transmit corresponding monitor video data to the video monitoring
Client;
If this Distributor can directly transmit corresponding monitor video data to the video monitoring client terminal, this is distributed
Server is determined as the Distributor of the monitor video data for providing corresponding monitoring device;
If this Distributor cannot directly transmit corresponding monitor video data to the video monitoring client terminal, according to other
The output code flow summation of Distributor, input code flow summation, the multiplexing way of corresponding monitor video data and they correspond to
Threshold value, in other Distributors determine one for provide corresponding monitoring device monitor video data distribution service
Device.
5. monitor video distribution method according to claim 4, which is characterized in that described according to the defeated of this Distributor
Go out code stream summation, input code flow summation, the multiplexing way of corresponding monitor video data and their corresponding threshold values, determines one's duty
Can hair server directly transmit corresponding monitor video data to the video monitoring client terminal, including:
When this Distributor has the input of corresponding monitor video data, and the output code flow summation and corresponding monitoring
When the multiplexing way of video data does not reach threshold value, or when this Distributor does not have the defeated of corresponding monitor video data
Enter, and when the output code flow summation of this Distributor, input code flow summation do not reach threshold value, this Distributor is true
Corresponding monitor video data can be directly transmitted to the video monitoring client terminal by being set to;Otherwise, this Distributor is true
Corresponding monitor video data cannot be directly transmitted to the video monitoring client terminal by being set to.
6. a kind of monitor video diostribution device, which is characterized in that be applied to the Distributor of Distributor cluster, Mei Gejian
Control device is at least connected to a Distributor, and the monitor video diostribution device includes:
Distributor determining module, wherein one for being correspondingly connected with to this Distributor in response to video monitoring client terminal
The acquisition of the monitor video data of a monitoring device is asked, and is regarded according to the monitoring of this Distributor and other Distributors
The input load information and output loading information of frequency evidence determine point of the monitor video data for providing corresponding monitoring device
Send out server;
Monitor video data transmission blocks, the Distributor of the monitor video data for that will be used to provide corresponding monitoring device
Address be sent to the video monitoring client terminal so that the video monitoring client terminal is from described address corresponding distribution service
Device obtains the monitor video data of corresponding monitoring device.
7. monitor video diostribution device according to claim 6, which is characterized in that the output loading information is at least wrapped
It includes:The output code flow of multiplexing way, Distributor output monitoring video data that corresponding monitor video data are exported
Summation;
The input load information includes at least:Distributor receives the input code flow summation of monitor video data.
8. monitor video diostribution device according to claim 7, which is characterized in that further include:
First sending module, for being when the Distributor of the determining monitor video data for providing corresponding monitoring device
When this Distributor, corresponding monitor video data are directly transmitted to the video monitoring client terminal;
Second sending module, for being when the Distributor of the determining monitor video data for providing corresponding monitoring device
When other Distributors, transmitting, monitoring video data gives corresponding Distributor, so that corresponding Distributor will supervise
Control video data is sent to the video monitoring client terminal.
9. monitor video diostribution device according to claim 7 or 8, which is characterized in that the Distributor determines mould
Block includes:
Distributor determination sub-module, for the output code flow summation, input code flow summation, correspondence according to this Distributor
Monitor video data multiplexing way and their corresponding threshold values, determine that can this Distributor directly transmit corresponding prison
Video data is controlled to the video monitoring client terminal;
First determination sub-module can directly transmit corresponding monitor video data to the video for working as this Distributor
This Distributor is determined as the distribution service of the monitor video data for providing corresponding monitoring device by monitor client
Device;
Second determination sub-module cannot directly transmit corresponding monitor video data to the video for working as this Distributor
Monitor client, according to the output code flow summation of other Distributors, input code flow summation, corresponding monitor video data
It is multiplexed way and their corresponding threshold values, a monitoring for providing corresponding monitoring device is determined in other Distributors
The Distributor of video data.
10. monitor video diostribution device according to claim 9, which is characterized in that the Distributor determines submodule
Block includes:
Distributor determination unit, the input for there is corresponding monitor video data when this Distributor, and it is described defeated
When going out the multiplexing ways of code stream summation and corresponding monitor video data and not reaching threshold value, or when this Distributor does not have
The input of corresponding monitor video data, and the output code flow summation of this Distributor, input code flow summation do not reach
When threshold value, this Distributor is determined as to directly transmit corresponding monitor video data to the video monitoring client
End;Otherwise, this Distributor is determined as to directly transmit corresponding monitor video data to the video monitoring client
End.
11. a kind of Distributor, which is characterized in that distribute including claim 6-10 any one of them monitor videos and fill
It sets.
12. a kind of monitor video dissemination system, which is characterized in that including:
Video monitoring client terminal;
Distributor cluster, wherein the Distributor in cluster is used to take this distribution in response to video monitoring client terminal
Business device one of is correspondingly connected with the acquisition request of the monitor video data of monitoring device, according to this Distributor and its
The input load information and output loading information of the monitor video data of his Distributor are determined for providing corresponding monitoring dress
The Distributor for the monitor video data set;By the Distributor of the monitor video data for providing corresponding monitoring device
Address be sent to the video monitoring client terminal so that the video monitoring client terminal is from described address corresponding distribution service
Device obtains the monitor video data of corresponding monitoring device.
Monitoring device, each monitoring device is at least connected to a Distributor, for providing monitor video data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810469674.4A CN108551571B (en) | 2018-05-16 | 2018-05-16 | Monitoring video distribution method, device and system and distribution server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810469674.4A CN108551571B (en) | 2018-05-16 | 2018-05-16 | Monitoring video distribution method, device and system and distribution server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108551571A true CN108551571A (en) | 2018-09-18 |
CN108551571B CN108551571B (en) | 2020-07-07 |
Family
ID=63495066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810469674.4A Active CN108551571B (en) | 2018-05-16 | 2018-05-16 | Monitoring video distribution method, device and system and distribution server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108551571B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450923A (en) * | 2018-11-30 | 2019-03-08 | 武汉烽火众智数字技术有限责任公司 | A kind of Video transmission system and method |
CN112911335A (en) * | 2021-02-03 | 2021-06-04 | 烽火通信科技股份有限公司 | Service scheduling method based on video coding, video server and set top box |
CN112995579A (en) * | 2019-12-12 | 2021-06-18 | 杭州海康威视系统技术有限公司 | Video stream distribution method and device, management server and video monitoring system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103595736A (en) * | 2012-08-14 | 2014-02-19 | 杭州海康威视系统技术有限公司 | An access request processing method and apparatus in a video monitoring system |
WO2014120039A1 (en) * | 2013-02-04 | 2014-08-07 | Открытое акционерное общество междугородной и международной электрической связи "Ростелеком" | Video data collection and transmission system |
CN105744238A (en) * | 2016-05-09 | 2016-07-06 | 金三立视频科技(深圳)有限公司 | Streaming media load balancing method and system |
CN107172220A (en) * | 2017-07-26 | 2017-09-15 | 上海鋆创信息技术有限公司 | The switching dispatching method and equipment of many CDN services |
CN107734361A (en) * | 2017-09-30 | 2018-02-23 | 深圳融创新技术有限公司 | Streaming media server dispatching method, system, readable storage medium storing program for executing and server |
EP3288269A1 (en) * | 2015-04-21 | 2018-02-28 | Hangzhou Hikvision Digital Technology Co., Ltd. | Method and system for cloud-based storage of video, and method and system for previewing cloud-stored video |
-
2018
- 2018-05-16 CN CN201810469674.4A patent/CN108551571B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103595736A (en) * | 2012-08-14 | 2014-02-19 | 杭州海康威视系统技术有限公司 | An access request processing method and apparatus in a video monitoring system |
WO2014120039A1 (en) * | 2013-02-04 | 2014-08-07 | Открытое акционерное общество междугородной и международной электрической связи "Ростелеком" | Video data collection and transmission system |
EP3288269A1 (en) * | 2015-04-21 | 2018-02-28 | Hangzhou Hikvision Digital Technology Co., Ltd. | Method and system for cloud-based storage of video, and method and system for previewing cloud-stored video |
CN105744238A (en) * | 2016-05-09 | 2016-07-06 | 金三立视频科技(深圳)有限公司 | Streaming media load balancing method and system |
CN107172220A (en) * | 2017-07-26 | 2017-09-15 | 上海鋆创信息技术有限公司 | The switching dispatching method and equipment of many CDN services |
CN107734361A (en) * | 2017-09-30 | 2018-02-23 | 深圳融创新技术有限公司 | Streaming media server dispatching method, system, readable storage medium storing program for executing and server |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450923A (en) * | 2018-11-30 | 2019-03-08 | 武汉烽火众智数字技术有限责任公司 | A kind of Video transmission system and method |
CN109450923B (en) * | 2018-11-30 | 2021-06-15 | 武汉烽火众智数字技术有限责任公司 | Video transmission system and method |
CN112995579A (en) * | 2019-12-12 | 2021-06-18 | 杭州海康威视系统技术有限公司 | Video stream distribution method and device, management server and video monitoring system |
CN112995579B (en) * | 2019-12-12 | 2023-03-07 | 杭州海康威视系统技术有限公司 | Video stream distribution method and device, management server and video monitoring system |
CN112911335A (en) * | 2021-02-03 | 2021-06-04 | 烽火通信科技股份有限公司 | Service scheduling method based on video coding, video server and set top box |
CN112911335B (en) * | 2021-02-03 | 2022-05-27 | 烽火通信科技股份有限公司 | Service scheduling method based on video coding, video server and set top box |
Also Published As
Publication number | Publication date |
---|---|
CN108551571B (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105052080B (en) | For providing method, system and the computer-readable medium of thinking diameter network framework | |
EP3629521B1 (en) | Rating method for service node, domain name system (dns) scheduling method and server | |
CN105450757A (en) | Service management method and system | |
CN106603550B (en) | A kind of Network Isolation method and device | |
CN108551571A (en) | A kind of monitor video distribution method, device, system and Distributor | |
CN107172220A (en) | The switching dispatching method and equipment of many CDN services | |
CN103825834B (en) | The method and network-switching equipment of flow load sharing are adjusted in a kind of EVI | |
Um et al. | Dynamic Resource Allocation and Scheduling for Cloud‐Based Virtual Content Delivery Networks | |
CN104427354A (en) | Broadcast media sharing method and node subsystem, and streaming media server | |
CN101702666A (en) | Method and system for realizing load balance of media transcoding network and media transcoding units | |
CN101106526B (en) | A packet processing method | |
CN112261133A (en) | CDN node control method, device, server and storage medium | |
CN110932972B (en) | Data transmission method and device and electronic equipment | |
CN113453025A (en) | Data acquisition method and device | |
WO2011024930A1 (en) | Content distribution system, content distribution method and content distribution-use program | |
CN112260946B (en) | Link failure processing method and device, terminal equipment and storage medium | |
CN109347985A (en) | A kind of multi-service processing method based on edge calculations, device and Edge Server | |
CN106936606B (en) | service implementation method and system and service arranging equipment | |
CN101695044A (en) | Stream media service node and load balancing method thereof | |
CN101695049A (en) | Method and device for processing businesses in monitoring system | |
CN102970236A (en) | Multicast distribution tree switching method and device | |
JP6667461B2 (en) | ENUM / DNS traffic control system, load balancer, and ENUM / DNS traffic control method | |
CN114978998B (en) | Flow control method, device, terminal and storage medium | |
CN108307206A (en) | A kind of distribution method and device of live streaming encoding tasks | |
CN116155829A (en) | Network traffic processing method and device, medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |