CN105187847A - Distributed network television live broadcast method, device, video gateway and system - Google Patents
Distributed network television live broadcast method, device, video gateway and system Download PDFInfo
- Publication number
- CN105187847A CN105187847A CN201510570240.XA CN201510570240A CN105187847A CN 105187847 A CN105187847 A CN 105187847A CN 201510570240 A CN201510570240 A CN 201510570240A CN 105187847 A CN105187847 A CN 105187847A
- Authority
- CN
- China
- Prior art keywords
- video gateway
- playback terminal
- channel
- gateway
- video
- 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
- 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/21—Server components or server architectures
- H04N21/226—Characteristics of the server or Internal components of the server
-
- 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/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2383—Channel coding or modulation of digital bit-stream, e.g. QPSK modulation
-
- 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/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- 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/26291—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 for providing content or additional data updates, e.g. updating software modules, stored at the client
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a distributed network television live broadcast method, a device, a video gateway and a system. The method comprises the steps that the resource information and channel identifier collection of M video gateways is acquired; a broadcast request which carries the configuration information of a broadcast terminal and a broadcast command for a target channel identifier and is sent by the broadcast terminal is received; the broadcast request is responded; according to the resource information, a video gateway is selected from M video gateways and is used as a target video gateway which provides a video content transmission service for the broadcast terminal; and a video content pushing request which carries the configuration information of the broadcast terminal is pushed to the target video gateway, so that the target video gateway pushes a video content to the broadcast terminal. According to the technical scheme of the invention, the operation cost of a network live broadcast television system is reduced.
Description
Technical field
The present invention relates to media transport technology field, be specifically related to a kind of distributed network live telecast method, device, video gateway and system.
Background technology
At present, the implementation method of the network live television system of extensive use mainly contains three kinds, the first is, by programme televised live acquisition server, programme televised live Collect conversion is become internet ip video flowing, then is sent to receiving terminal by the content distributing network (CDN) that stream media distribution server cluster is formed.The second is the live telecast based on IP multicast generally adopted by telecom operators, programme televised live source, by the network equipment (comprising router, switch, broad band cut-in device etc.) of some support multicast protocols, is distributed to corresponding receiving terminal by Multicast Routing and multicast replication function.The third is the live telecast system adopting P2P peer-to-peer network technology to realize, in P2P live broadcast system, first programme televised live source is sent to certain receiving terminal by streaming server, then this terminal and then the program data received is transmitted to the terminal that another one needs to watch same channel, namely achieve the equity transmission of PeertoPeer, streaming server serves the effect of " seed " node in P2P system.
Implementation method at present based on the network live television system of CDN live streaming media server needs to buy a large amount of server, takies the bandwidth of a large amount of IDC data center, needs higher running cost.
Summary of the invention
Embodiments provide a kind of distributed network live telecast method, device, video gateway and system, the running cost of network live television system can be saved preferably, reduce costs.
Embodiment of the present invention first aspect provides a kind of distributed network live telecast method, comprising:
Obtain resource information and the channel identication set of M video gateway, described M is positive integer;
Receive the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, described target channel mark is a channel identication in described channel identication set;
Respond described playing request, according to described resource information, in a described M video gateway, select a video gateway as the target video gateway providing video content transmission service to described playback terminal;
Push to described target video gateway the video content carrying the configuration information of described playback terminal and push request, to make described target video gateway pushing video content to described playback terminal.
In the first possible implementation of first aspect, before the described acquisition resource information of M video gateway and channel identication set, described method also comprises:
Obtain the channel identication subclass that M video gateway is corresponding;
Perform union operation to obtain described channel identication set based on described M channel identication subclass, any two channel identications in wherein said channel identication set are different.
In the implementation that the second of first aspect is possible,
Before the configuration information carrying described playback terminal that described reception playback terminal sends and the playing request for the play command of target channel mark, described method also comprises:
Receive the channel list request that described playback terminal sends;
Respond described channel list request, return channel list data to described playback terminal.In the third possible implementation of first aspect,
After the described video content carrying the configuration information of described playback terminal to described target video gateway propelling movement pushes request, described method also comprises:
To push to described playback terminal under the video content identified for described target channel pushes successful situation at the described target video gateway of detection, receive the successful instruction of propelling movement and update request that described target video gateway sends;
Wherein, described update request carries the resource occupation information of described target video gateway and live audience information;
Respond described update request, upgrade the described resource occupation information of described target video gateway and described live audience information;
When detecting described target video gateway and pushing unsuccessfully for the video content that described target channel identifies to described playback terminal propelling movement, receive the propelling movement failure command that described destination service video gateway sends;
Respond described propelling movement failure command, described propelling movement failure command is forwarded to described playback terminal.
In the 4th kind of possible implementation of first aspect, the described update request of described response, after the described resource occupation information that described network direct broadcasting Control Server upgrades described target video gateway and described live audience information, also comprises:
When detecting that live request is exited in the transmission of described playback terminal, search for the address of described target video gateway;
According to the address of described target video gateway, send and stop live message to described target video gateway;
Receive the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrade the described resource occupation information of described target video gateway and described live audience information.
In the 5th kind of possible implementation of first aspect, the described update request of described response, after the described resource occupation information that described network direct broadcasting Control Server upgrades described target video gateway and described live audience information, also comprises:
Send test pack to the described playback terminal cycle, whether described test pack is online for detecting described playback terminal;
When detecting that described playback terminal is not online, send and stop live message to described target video gateway;
Receive the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrade the described resource occupation information of described target video gateway and described live audience information.
Embodiment of the present invention second aspect provides a kind of distributed network live telecast device, comprising:
First acquisition module, for obtaining resource information and the channel identication set of M video gateway, described M is positive integer;
First receiver module, for receiving the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, described target channel mark is a channel identication in described channel identication set;
Selecting module, for responding described playing request, according to described resource information, in a described M video gateway, selecting a video gateway as the target video gateway providing video content transmission service to described playback terminal;
Pushing module, pushes request for pushing the video content carrying the configuration information of described playback terminal to described target video gateway.
In the first possible implementation of second aspect, described device also comprises:
Second acquisition module, for obtaining channel identication subclass corresponding to a described M video gateway;
Duplicate removal module, for performing union operation to obtain described channel identication set based on M channel identication subclass, any two channel identications in wherein said channel identication set are different.
In the implementation that the second of second aspect is possible, described device also comprises:
Second receiver module, for receiving the channel list request that described playback terminal sends;
Returning module, for responding described channel list request, returning channel list data to described playback terminal.
In the third possible implementation of second aspect, described device also comprises:
Detection module, whether the video content identified to described playback terminal propelling movement for described target channel for detecting described target video gateway pushes successfully;
3rd receiver module, push under the video content identified for described target channel pushes successful situation for detecting described target video gateway at detection module to described playback terminal, receive propelling movement success instruction and update request that described target video gateway sends;
Wherein, described update request carries the resource occupation information of described target video gateway and live audience information;
First update module, for responding described update request, upgrades the described resource occupation information of described target video gateway and described live audience information.
4th receiver module, for detect at detection module described target video gateway to described playback terminal push the video content identified for described target channel pushes unsuccessfully, receive the propelling movement failure command of described destination service video gateway transmission;
Forwarding module, for responding described propelling movement failure command, is forwarded to described playback terminal by described propelling movement failure command.
In the 4th kind of possible implementation of second aspect, described device also comprises:
Search module, for when detecting that live request is exited in the transmission of described playback terminal, searches for the address of described target video gateway;
First sending module, for the address according to described target video gateway, sends and stops live message to described target video gateway;
Second update module, for receiving the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
In the 5th kind of possible implementation of second aspect, described device also comprises:
Second sending module, for sending test pack to the described playback terminal cycle, whether described test pack is online for detecting described playback terminal;
3rd sending module, for when detecting that described playback terminal is not online, sending and stopping live message to described target video gateway;
3rd update module, for receiving the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
The embodiment of the present invention third aspect provides a kind of distributed network live telecast method, and described method comprises:
Video gateway sends resource information and channel identication to described server;
The video content carrying the configuration information of described playback terminal of described video gateway response server propelling movement pushes request, to described playback terminal pushing video content.
In conjunction with the embodiment of the present invention third aspect, in the first possible implementation of the third aspect of the embodiment of the present invention, describedly push live video content to described playback terminal and comprise:
Described video gateway detects in the channel identication corresponding to video content that described video gateway pushing whether comprise target channel mark;
Described video gateway is when detecting that the channel identication corresponding to the video content that described video gateway is pushing comprises target channel mark, copy the video content identified for described target channel, the described video content identified for described target channel is sent to described playback terminal;
Described video gateway is when detecting in the channel identication corresponding to the video content that described video gateway is pushing that not comprising target channel identifies, according to target channel mark be tuned to preset DVB channel, obtain the video data that described DVB channel provides, process described video data and obtain IP packet, send IP packet to described playback terminal, play the video content of described target channel mark to make described playback terminal according to described IP packet.
Embodiment of the present invention fourth aspect provides one to be video gateway, and described video gateway comprises:
Transmitting element, for sending resource information and channel identication to described server;
Push unit, the video content carrying the configuration information of described playback terminal pushed for response server pushes request, to described playback terminal pushing video content.
In the first possible implementation of the fourth aspect of the embodiment of the present invention, described push unit, specifically for:
Detect in the channel identication corresponding to video content that described video gateway pushing and whether comprise target channel mark;
When detecting that the channel identication corresponding to the video content that described video gateway is pushing comprises target channel mark, copy the video content identified for described target channel, the described video content identified for described target channel is sent to described playback terminal;
When detecting in the channel identication corresponding to the video content that described video gateway is pushing that not comprising target channel identifies, according to target channel mark be tuned to preset DVB channel, obtain the video data that described DVB channel provides, process described video data and obtain IP packet, send IP packet to described playback terminal, play the video content of described target channel mark to make described playback terminal according to described IP packet.
The embodiment of the present invention the 5th aspect provides a kind of distributed network television direct broadcast system, comprising:
Playback terminal, for sending playing request, carries the configuration information of this playback terminal and the play command for target channel mark in described playing request;
Server, for obtaining resource information and the channel identication set of described multiple video gateway; Receive the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, described target channel mark is a channel identication in described channel identication set; Respond described playing request, according to described resource information, in described multiple video gateway, select a video gateway as the target video gateway providing video content transmission service to described playback terminal;
Described multiple video gateway, for when being chosen as target video gateway by described server, receiving the video content propelling movement request sending the configuration information carrying described playback terminal that described server sends, and processing described video content propelling movement request.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Term " first ", " second ", " the 3rd ", " the 4th " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing different object, instead of for describing particular order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or device and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic steps of these processes, method, product or device or unit.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of distributed network live telecast method that first embodiment of the invention provides, and as shown in Figure 1, comprises the following steps:
S101, distributed network live telecast server obtain resource information and the channel identication set of M video gateway, and described M is positive integer.
Wherein, the resource information of described video gateway comprises: (1) this video gateway receives simultaneously and is converted to the highest channel number of IP Streaming Media, such as, this video gateway is configured with 8 tuners and demodulator, then this video gateway possesses 8 roads simultaneously transcoding capabilities, receives and the highest channel number being converted to IP Streaming Media is 8 while supporting.(2) this video gateway is up to the maximum bandwidth of the Internet.
Described channel identication set is the set of the channel identication of the television channel that described video gateway receives.
Optionally, before the resource information that described distributed network live telecast server obtains M video gateway and channel identication set, following steps can also be performed:
Described distributed network live telecast server obtains channel identication subclass corresponding to M video gateway;
Described distributed network live telecast server performs union operation to obtain described channel identication set based on described M channel identication subclass, and any two channel identications in wherein said channel identication set are different.
Wherein, after video gateway powers on, first search for the digital TV channel that this function receives, then the resource capability of the machine and channel list are uploaded to distributed network live telecast server.The channel list that distributed network live telecast server can transmit M video gateway carries out the process of " duplicate removal ", namely removes the channel that title repeats, the set of final formation channel identication.
S102, distributed network live telecast server receive the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, and described target channel mark is a channel identication in described channel identication set.
Wherein, described playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, panel computer, and the present embodiment is not construed as limiting.
Wherein, described configuration information comprises No. ID of playback terminal, for the IP address of receiver, video stream and port numbers.
S103, distributed network live telecast server respond described playing request, according to described resource information, select a video gateway as the target video gateway providing video content transmission service to described playback terminal in a described M video gateway.
Wherein, if distributed network live telecast server selects a video gateway to provide in the target video gateway procedures of video content transmission service as to described playback terminal in a described M video gateway, select unsuccessfully, then distributed network live telecast server will return and select failed message to described playback terminal.
S104, distributed network live telecast server push to described target video gateway the video content carrying the configuration information of described playback terminal and push request.
As the optional execution mode of one, described video content propelling movement request is used to indicate described target video gateway and pushes the video content identified for described target channel to described playback terminal.
Wherein, described configuration information comprises described playback terminal for the IP address of receiver, video stream and port.
After target video gateway receives described video content propelling movement request, if this video gateway there have been other playback terminals watch identical video content, after then the direct video flowing by target channel mark copies one point, be sent to IP address and the port of described playback terminal.If this video gateway does not have other playback terminals watch identical video content, then this target video gateway be tuned to the DVB channel of specifying, by transcoding again after the demodulation of DVB channel data, descrambling, be packaged into IP address and port that IP packet crossfire is sent to described playback terminal, can play after playback terminal receives video flowing.
As the optional execution mode of one, described distributed network live telecast server can also perform following steps before receiving the configuration information carrying described playback terminal that playback terminal sends and the playing request for the play command of target channel mark:
Distributed network live telecast server receives the channel list request that described playback terminal sends.
Distributed network live telecast server responds described channel list request, returns channel list data to described playback terminal.
Wherein, described playback terminal sends channel list request by Internet protocols such as http to distributed network live telecast server.Distributed network live telecast server can be the httpwebserver of standard, and such as nginx, apache etc. can adopt the form of cluster cluster or Cloud Server to build, the channel list request sent with the playback terminal of tackling magnanimity.
As the optional execution mode of one, described distributed network live telecast server pushes after the video content carrying the configuration information of described playback terminal pushes request to described target video gateway, can also perform following steps:
Distributed network live telecast server to push under the video content identified for described target channel pushes successful situation at the described target video gateway of detection to described playback terminal, receive the successful instruction of propelling movement and update request that described target video gateway sends;
Wherein, described update request carries the resource occupation information of described target video gateway and live audience information;
Wherein, described resource occupation information can comprise reception resource, the number of channels received, the channel designation received and the ID that described target video gateway has taken, current concurrent IP Media Stream number, the upstream bandwidth being sent to playback terminal takies situation, and described resource occupation information can be used as the basis of distributed network live telecast server schedule video gateway next time.
Distributed network live telecast server responds described update request, upgrades the described resource occupation information of described target video gateway and described live audience information.
As the optional execution mode of one, the described video content carrying the configuration information of described playback terminal to described target video gateway propelling movement can also perform following steps after pushing request:
Distributed network live telecast server, when detecting described target video gateway and pushing unsuccessfully for the video content that described target channel identifies to described playback terminal propelling movement, receives the propelling movement failure command that described destination service video gateway sends;
Distributed network live telecast server responds described propelling movement failure command, and described propelling movement failure command is forwarded to described playback terminal.
As the optional execution mode of one, described distributed network live telecast server responds described update request, after the described resource occupation information that described network direct broadcasting Control Server upgrades described target video gateway and described live audience information, can also following steps be performed:
Distributed network live telecast server, when detecting that live request is exited in the transmission of described playback terminal, searches for the address of described target video gateway;
Distributed network live telecast server, according to the address of described target video gateway, sends and stops live message to described target video gateway;
Distributed network live telecast server receives the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
As the optional execution mode of one, described distributed network live telecast server responds described update request, after the described resource occupation information that described network direct broadcasting Control Server upgrades described target video gateway and described live audience information, can also following steps be performed:
Distributed network live telecast server sends test pack to the described playback terminal cycle, and whether described test pack is online for detecting described playback terminal;
When distributed network live telecast server detects that described playback terminal is not online, send and stop live message to described target video gateway;
Distributed network live telecast server receives the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of a kind of distributed network live telecast method that second embodiment of the invention provides, and as shown in Figure 2, comprises the following steps:
S201, distributed network live telecast server receive the channel list request that playback terminal sends.
Wherein, described playback terminal sends channel list request by Internet protocols such as http to distributed network live telecast server.Distributed network live telecast server can be the httpwebserver of standard, and such as nginx, apache etc. can adopt the form of cluster cluster or Cloud Server to build, the channel list request sent with the playback terminal of tackling magnanimity.
S202, distributed network live telecast server respond described channel list request, return channel list data to described playback terminal.
S203, distributed network live telecast server obtain resource information and the channel identication set of M video gateway, and described M is positive integer.
Wherein, the resource information of described video gateway comprises: (1) this video gateway receives simultaneously and is converted to the highest channel number of IP Streaming Media, such as, this video gateway is configured with 8 tuners and demodulator, then this video gateway possesses 8 roads simultaneously transcoding capabilities, receives and the highest channel number being converted to IP Streaming Media is 8 while supporting.(2) this video gateway is up to the maximum bandwidth of the Internet.
Described channel identication set is the set of the channel identication of the television channel that described video gateway receives.
Optionally, before the resource information that described distributed network live telecast server obtains M video gateway and channel identication set, following steps can also be performed:
Described distributed network live telecast server obtains channel identication subclass corresponding to M video gateway;
Described distributed network live telecast server performs union operation to obtain described channel identication set based on described M channel identication subclass, and any two channel identications in wherein said channel identication set are different.
After video gateway powers on, first search for the digital TV channel that this function receives, then the resource capability of the machine and channel list are uploaded to distributed network live telecast server.The channel list that distributed network live telecast server can transmit M video gateway carries out the process of " duplicate removal ", namely removes the channel that title repeats, the set of final formation channel identication.
S204, distributed network live telecast server receive the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, and described target channel mark is a channel identication in described channel identication set.
Wherein, described playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, panel computer, and the present embodiment is not construed as limiting.
Wherein, described configuration information comprises No. ID of playback terminal, for the IP address of receiver, video stream and port numbers.
S205, distributed network live telecast server respond described playing request, according to described resource information, select a video gateway as the target video gateway providing video content transmission service to described playback terminal in a described M video gateway.
Wherein, if distributed network live telecast server selects a video gateway to provide in the target video gateway procedures of video content transmission service as to described playback terminal in a described M video gateway, select unsuccessfully, then distributed network live telecast server will return and select failed message to described playback terminal.
S206, distributed network live telecast server push to described target video gateway the video content carrying the configuration information of described playback terminal and push request.
As the optional execution mode of one, described video content propelling movement request is used to indicate described target video gateway and pushes the video content identified for described target channel to described playback terminal.
Wherein, described configuration information comprises described playback terminal for the IP address of receiver, video stream and port.
After target video gateway receives described video content propelling movement request, if this video gateway there have been other playback terminals watch identical video content, after then the direct video flowing by target channel mark copies one point, be sent to IP address and the port of described playback terminal.If this video gateway does not have other playback terminals watch identical video content, then this target video gateway be tuned to the DVB channel of specifying, by transcoding again after the demodulation of DVB channel data, descrambling, be packaged into IP address and port that IP packet crossfire is sent to described playback terminal, can play after playback terminal receives video flowing.
S207, distributed network live telecast server to push under the video content identified for described target channel pushes successful situation at the described target video gateway of detection to described playback terminal, receive the successful instruction of propelling movement and update request that described target video gateway sends.
Wherein, described update request carries the resource occupation information of described target video gateway and live audience information;
Wherein, described resource occupation information can comprise reception resource, the number of channels received, the channel designation received and the ID that described target video gateway has taken, current concurrent IP Media Stream number, the upstream bandwidth being sent to playback terminal takies situation, and described resource occupation information can be used as the basis of distributed network live telecast server schedule video gateway next time.
S208, distributed network live telecast server respond described update request, upgrade the described resource occupation information of described target video gateway and described live audience information.
As the optional execution mode of one, distributed network live telecast server, when detecting described target video gateway and pushing unsuccessfully for the video content that described target channel identifies to described playback terminal propelling movement, receives the propelling movement failure command that described destination service video gateway sends;
Distributed network live telecast server responds described propelling movement failure command, and described propelling movement failure command is forwarded to described playback terminal.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of a kind of distributed network live telecast method that third embodiment of the invention provides, and as shown in Figure 3, comprises the following steps:
S301, distributed network live telecast server receive the channel list request that described playback terminal sends.
Wherein, described playback terminal sends channel list request by Internet protocols such as http to distributed network live telecast server.Distributed network live telecast server can be the httpwebserver of standard, and such as nginx, apache etc. can adopt the form of cluster cluster or Cloud Server to build, the channel list request sent with the playback terminal of tackling magnanimity.
S302, distributed network live telecast server respond described channel list request, return channel list data to described playback terminal.
S303, distributed network live telecast server obtain resource information and the channel identication set of M video gateway, and described M is positive integer.
Wherein, the resource information of described video gateway comprises: (1) this video gateway receives simultaneously and is converted to the highest channel number of IP Streaming Media, such as, this video gateway is configured with 8 tuners and demodulator, then this video gateway possesses 8 roads simultaneously transcoding capabilities, receives and the highest channel number being converted to IP Streaming Media is 8 while supporting.(2) this video gateway is up to the maximum bandwidth of the Internet.
Described channel identication set is the set of the channel identication of the television channel that described video gateway receives.
Optionally, before the resource information that described distributed network live telecast server obtains M video gateway and channel identication set, following steps can also be performed:
Described distributed network live telecast server obtains channel identication subclass corresponding to M video gateway;
Described distributed network live telecast server performs union operation to obtain described channel identication set based on described M channel identication subclass, and any two channel identications in wherein said channel identication set are different.
After video gateway powers on, first search for the digital TV channel that this function receives, then the resource capability of the machine and channel list are uploaded to distributed network live telecast server.The channel list that distributed network live telecast server can transmit M video gateway carries out the process of " duplicate removal ", namely removes the channel that title repeats, the set of final formation channel identication.
S304, distributed network live telecast server receive the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, and described target channel mark is a channel identication in described channel identication set.
Wherein, described playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, panel computer, and the present embodiment is not construed as limiting.
Wherein, described configuration information comprises No. ID of playback terminal, for the IP address of receiver, video stream and port numbers.
S305, distributed network live telecast server respond described playing request, according to described resource information, select a video gateway as the target video gateway providing video content transmission service to described playback terminal in a described M video gateway.
Wherein, if distributed network live telecast server selects a video gateway to provide in the target video gateway procedures of video content transmission service as to described playback terminal in a described M video gateway, select unsuccessfully, then distributed network live telecast server will return and select failed message to described playback terminal.
S306, distributed network live telecast server push to described target video gateway the video content carrying the configuration information of described playback terminal and push request.
As the optional execution mode of one, described video content propelling movement request is used to indicate described target video gateway and pushes the video content identified for described target channel to described playback terminal.
Wherein, described configuration information comprises described playback terminal for the IP address of receiver, video stream and port.
After target video gateway receives described video content propelling movement request, if this video gateway there have been other playback terminals watch identical video content, after then the direct video flowing by target channel mark copies one point, be sent to IP address and the port of described playback terminal.If this video gateway does not have other playback terminals watch identical video content, then this target video gateway be tuned to the DVB channel of specifying, by transcoding again after the demodulation of DVB channel data, descrambling, be packaged into IP address and port that IP packet crossfire is sent to described playback terminal, can play after playback terminal receives video flowing.
S307, distributed network live telecast server to push under the video content identified for described target channel pushes successful situation at the described target video gateway of detection to described playback terminal, receive the successful instruction of propelling movement and update request that described target video gateway sends.
Wherein, described update request carries the resource occupation information of described target video gateway and live audience information;
Wherein, described resource occupation information can comprise reception resource, the number of channels received, the channel designation received and the ID that described target video gateway has taken, current concurrent IP Media Stream number, the upstream bandwidth being sent to playback terminal takies situation, and described resource occupation information can be used as the basis of distributed network live telecast server schedule video gateway next time.
S308, distributed network live telecast server respond described update request, upgrade the described resource occupation information of described target video gateway and described live audience information.
S309, distributed network live telecast server, when detecting that live request is exited in the transmission of described playback terminal, search for the address of described target video gateway.
S310, distributed network live telecast server, according to the address of described target video gateway, send and stop live message to described target video gateway.
As the optional execution mode of one, distributed network live telecast server sends test pack to the described playback terminal cycle, and whether described test pack is online for detecting described playback terminal;
When distributed network live telecast server detects that described playback terminal is not online, send and stop live message to described target video gateway;
S311, distributed network live telecast server receive the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrade the described resource occupation information of described target video gateway and described live audience information.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Be apparatus of the present invention embodiment below, the method that apparatus of the present invention embodiment realizes for performing the inventive method embodiment one to three, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment of the present invention one to three.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of distributed network live telecast device disclosed in fourth embodiment of the invention.As shown in Figure 4, this device comprises:
First acquisition module 401, for obtaining resource information and the channel identication set of M video gateway, described M is positive integer.
Wherein, the resource information of described video gateway comprises: (1) this video gateway receives simultaneously and is converted to the highest channel number of IP Streaming Media, such as, this video gateway is configured with 8 tuners and demodulator, then this video gateway possesses 8 roads simultaneously transcoding capabilities, receives and the highest channel number being converted to IP Streaming Media is 8 while supporting.(2) this video gateway is up to the maximum bandwidth of the Internet.
Described channel identication set is the set of the channel identication of the television channel that described video gateway receives.
First receiver module 402, for receiving the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, described target channel mark is a channel identication in described channel identication set.
Wherein, described playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, panel computer, and the present embodiment is not construed as limiting.
Wherein, described configuration information comprises No. ID of playback terminal, for the IP address of receiver, video stream and port numbers.
Selecting module 403, for responding described playing request, according to described resource information, in a described M video gateway, selecting a video gateway as the target video gateway providing video content transmission service to described playback terminal.
Pushing module 404, pushes request for pushing the video content carrying the configuration information of described playback terminal to described target video gateway.
Wherein, described configuration information comprises described playback terminal for the IP address of receiver, video stream and port.
After target video gateway receives described video content propelling movement request, if this video gateway there have been other playback terminals watch identical video content, after then the direct video flowing by target channel mark copies one point, be sent to IP address and the port of described playback terminal.If this video gateway does not have other playback terminals watch identical video content, then this target video gateway be tuned to the DVB channel of specifying, by transcoding again after the demodulation of DVB channel data, descrambling, be packaged into IP address and port that IP packet crossfire is sent to described playback terminal, can play after playback terminal receives video flowing.
As the optional execution mode of one, described device can also comprise:
Second acquisition module, for obtaining channel identication subclass corresponding to M video gateway;
Duplicate removal module, for performing union operation to obtain described channel identication set based on described M channel identication subclass, any two channel identications in wherein said channel identication set are different.
Wherein, after video gateway powers on, first search for the digital TV channel that this function receives, then the resource capability of the machine and channel list are uploaded to distributed network live telecast server.The channel list that distributed network live telecast server can transmit M video gateway carries out the process of " duplicate removal ", namely removes the channel that title repeats, the set of final formation channel identication.
As the optional execution mode of one, described video content propelling movement request is used to indicate described target video gateway and pushes the video content identified for described target channel to described playback terminal.
As the optional execution mode of one, described device can also comprise:
Second receiver module, for receiving the channel list request that described playback terminal sends.
Wherein, described playback terminal sends channel list request by Internet protocols such as http to distributed network live telecast server.Distributed network live telecast server can be the httpwebserver of standard, and such as nginx, apache etc. can adopt the form of cluster cluster or Cloud Server to build, the channel list request sent with the playback terminal of tackling magnanimity.
Returning module, for responding described channel list request, returning channel list data to described playback terminal.
As the optional execution mode of one, described device can also comprise:
Detection module, whether the video content identified to described playback terminal propelling movement for described target channel for detecting described target video gateway pushes successfully;
3rd receiver module, push under the video content identified for described target channel pushes successful situation for detecting described target video gateway at detection module to described playback terminal, receive propelling movement success instruction and update request that described target video gateway sends;
Wherein, described update request carries the resource occupation information of described target video gateway and live audience information.
Wherein, described resource occupation information can comprise reception resource, the number of channels received, the channel designation received and the ID that described target video gateway has taken, current concurrent IP Media Stream number, the upstream bandwidth being sent to playback terminal takies situation, and described resource occupation information can be used as the basis of distributed network live telecast server schedule video gateway next time.
First update module, for responding described update request, upgrades the described resource occupation information of described target video gateway and described live audience information.
As the optional execution mode of one, described device can also comprise:
4th receiver module, for detect at detection module described target video gateway to described playback terminal push the video content identified for described target channel pushes unsuccessfully, receive the propelling movement failure command of described destination service video gateway transmission;
Forwarding module, for responding described propelling movement failure command, is forwarded to described playback terminal by described propelling movement failure command.
As the optional execution mode of one, described device can also comprise:
Search module, for when detecting that live request is exited in the transmission of described playback terminal, searches for the address of described target video gateway;
First sending module, for the address according to described target video gateway, sends and stops live message to described target video gateway;
Second update module, for receiving the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
As the optional execution mode of one, described device can also comprise:
Second sending module, for sending test pack to the described playback terminal cycle, whether described test pack is online for detecting described playback terminal;
3rd sending module, for when detecting that described playback terminal is not online, sending and stopping live message to described target video gateway;
3rd update module, for receiving the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Please refer to Fig. 5, Fig. 5 is the structural representation of a kind of distributed network live telecast device disclosed in fifth embodiment of the invention.As shown in the figure, the distributed network live telecast device in the embodiment of the present invention comprises: at least one processor 501, such as CPU, at least one receiver 503, at least one memory 504, at least one transmitter 505, at least one communication bus 502.Wherein, communication bus 502 is for realizing the connection communication between these assemblies.Wherein, in the embodiment of the present invention, the receiver 503 of device and transmitter 505 can be wired transmit ports, can be also wireless device, such as, comprise antenna assembly, for carrying out the communication of signaling or data with other node apparatus.Memory 504 can be high-speed RAM memory, also can be non-labile memory (non-volatilememory), such as at least one magnetic disc store.Memory 504 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 501.Store batch processing code in memory 504, and processor 501 is for calling the program code stored in memory, for performing following operation:
Described processor 501 obtains resource information and the channel identication set of M video gateway, and described M is positive integer.
Wherein, the resource information of described video gateway comprises: (1) this video gateway receives simultaneously and is converted to the highest channel number of IP Streaming Media, such as, this video gateway is configured with 8 tuners and demodulator, then this video gateway possesses 8 roads simultaneously transcoding capabilities, receives and the highest channel number being converted to IP Streaming Media is 8 while supporting.(2) this video gateway is up to the maximum bandwidth of the Internet.
Described channel identication set is the set of the channel identication of the television channel that described video gateway receives.
As the optional execution mode of one, before the resource information that described processor 501 obtains M video gateway and channel identication set, can also following steps be performed:
Described processor 501 obtains channel identication subclass corresponding to a described M video gateway;
Described processor 501 performs union operation to obtain described channel identication set based on M channel identication subclass, and any two channel identications in wherein said channel identication set are different.
Wherein, after video gateway powers on, first search for the digital TV channel that this function receives, then the resource capability of the machine and channel list are uploaded to distributed network live telecast server.The channel list that distributed network live telecast server can transmit M video gateway carries out the process of " duplicate removal ", namely removes the channel that title repeats, the set of final formation channel identication.
Described processor 501 receives the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, and described target channel mark is a channel identication in described channel identication set.
Wherein, described playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, panel computer, and the present embodiment is not construed as limiting.
Wherein, described configuration information comprises No. ID of playback terminal, for the IP address of receiver, video stream and port numbers.
Described processor 501 responds described playing request, according to described resource information, selects a video gateway as the target video gateway providing video content transmission service to described playback terminal in a described M video gateway.
Wherein, if described processor 501 selects a video gateway to provide in the target video gateway procedures of video content transmission service as to described playback terminal in a described M video gateway, select unsuccessfully, then distributed network live telecast server will return and select failed message to described playback terminal.
Described processor 501 pushes to described target video gateway the video content carrying the configuration information of described playback terminal and pushes request.
As the optional execution mode of one, described video content propelling movement request is used to indicate described target video gateway and pushes the video content identified for described target channel to described playback terminal.
Wherein, described configuration information comprises described playback terminal for the IP address of receiver, video stream and port.
After target video gateway receives described video content propelling movement request, if this video gateway there have been other playback terminals watch identical video content, after then the direct video flowing by target channel mark copies one point, be sent to IP address and the port of described playback terminal.If this video gateway does not have other playback terminals watch identical video content, then this target video gateway be tuned to the DVB channel of specifying, by transcoding again after the demodulation of DVB channel data, descrambling, be packaged into IP address and port that IP packet crossfire is sent to described playback terminal, can play after playback terminal receives video flowing.
As the optional execution mode of one, described processor 501 receive playback terminal send the configuration information carrying described playback terminal and for target channel mark play command playing request before, can also following steps be performed:
Described processor 501 receives the channel list request that described playback terminal sends.
Described processor 501 responds described channel list request, returns channel list data to described playback terminal.
Wherein, described playback terminal sends channel list request by Internet protocols such as http to distributed network live telecast server.Distributed network live telecast server can be the httpwebserver of standard, and such as nginx, apache etc. can adopt the form of cluster cluster or Cloud Server to build, the channel list request sent with the playback terminal of tackling magnanimity.
As the optional execution mode of one, described processor 501 pushes after the video content carrying the configuration information of described playback terminal pushes request to described target video gateway, can also perform following steps:
Described processor 501 to push under the video content identified for described target channel pushes successful situation at the described target video gateway of detection to described playback terminal, receive the successful instruction of propelling movement and update request that described target video gateway sends;
Wherein, described update request carries the resource occupation information of described target video gateway and live audience information;
Wherein, described resource occupation information can comprise reception resource, the number of channels received, the channel designation received and the ID that described target video gateway has taken, current concurrent IP Media Stream number, the upstream bandwidth being sent to playback terminal takies situation, and described resource occupation information can be used as the basis of distributed network live telecast server schedule video gateway next time.
Described processor 501 responds described update request, upgrades the described resource occupation information of described target video gateway and described live audience information.
As the optional execution mode of one, the described video content carrying the configuration information of described playback terminal to described target video gateway propelling movement can also perform following steps after pushing request:
Described processor 501, when detecting described target video gateway and pushing unsuccessfully for the video content that described target channel identifies to described playback terminal propelling movement, receives the propelling movement failure command that described destination service video gateway sends;
Described processor 501 responds described propelling movement failure command, and described propelling movement failure command is forwarded to described playback terminal.
As the optional execution mode of one, described processor 501 responds described update request, after the described resource occupation information that described network direct broadcasting Control Server upgrades described target video gateway and described live audience information, can also perform following steps:
Described processor 501, when detecting that live request is exited in the transmission of described playback terminal, searches for the address of described target video gateway;
Described processor 501, according to the address of described target video gateway, sends and stops live message to described target video gateway;
Described processor 501 receives the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
As the optional execution mode of one, described processor 501 responds described update request, after the described resource occupation information that described processor 501 upgrades described target video gateway and described live audience information, can also perform following steps:
Described processor 501 sends test pack to the described playback terminal cycle, and whether described test pack is online for detecting described playback terminal;
When described processor 501 detects that described playback terminal is not online, send and stop live message to described target video gateway;
Described processor 501 receives the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Refer to Fig. 6, Fig. 6 is a kind of distributed network live telecast method disclosed in sixth embodiment of the invention, as shown in Figure 6, comprises the following steps:
S601, video gateway send resource information and channel identication to described server.
The video content of what S602, described video gateway response server pushed the carry configuration information of described playback terminal pushes request, detects in the channel identication corresponding to video content that described video gateway pushing and whether comprises target channel mark.
S603, video gateway are when detecting that the channel identication corresponding to the video content that described video gateway is pushing comprises target channel mark, copy the video content identified for described target channel, the described video content identified for described target channel is sent to described playback terminal.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Refer to Fig. 7, Fig. 7 is a kind of distributed network live telecast method disclosed in seventh embodiment of the invention, as shown in Figure 7, comprises the following steps:
S701, video gateway send resource information and channel identication to described server.
The video content of what S702, described video gateway response server pushed the carry configuration information of described playback terminal pushes request, detects in the channel identication corresponding to video content that described video gateway pushing and whether comprises target channel mark.
S703, video gateway are when detecting in the channel identication corresponding to the video content that described video gateway is pushing that not comprising target channel identifies, according to target channel mark be tuned to preset DVB channel, obtain the video data that described DVB channel provides, process described video data and obtain IP packet, send IP packet to described playback terminal, play the video content of described target channel mark to make described playback terminal according to described IP packet.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Refer to Fig. 8, Fig. 8 is the structural representation of a kind of video gateway disclosed in eighth embodiment of the invention, as shown in Figure 8, described in be that video gateway comprises: transmitting element 801 and push unit 802.
Described transmitting element 801, for sending resource information and channel identication to described server.
Described push unit 802, the video content carrying the configuration information of described playback terminal pushed for response server pushes request, to described playback terminal pushing video content.
Optionally, described push unit 802, specifically for:
Detect in the channel identication corresponding to video content that described video gateway pushing and whether comprise target channel mark;
When detecting that the channel identication corresponding to the video content that described video gateway is pushing comprises target channel mark, copy the video content identified for described target channel, the described video content identified for described target channel is sent to described playback terminal;
When detecting in the channel identication corresponding to the video content that described video gateway is pushing that not comprising target channel identifies, according to target channel mark be tuned to preset DVB channel, obtain the video data that described DVB channel provides, process described video data and obtain IP packet, send IP packet to described playback terminal, play the video content of described target channel mark to make described playback terminal according to described IP packet.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Please refer to Fig. 9, Fig. 9 is the structural representation of a kind of distributed network live telecast device disclosed in ninth embodiment of the invention.As shown in the figure, the distributed network live telecast device in the embodiment of the present invention comprises: at least one processor 901, such as CPU, at least one receiver 903, at least one memory 904, at least one transmitter 909, at least one communication bus 902.Wherein, communication bus 902 is for realizing the connection communication between these assemblies.Wherein, in the embodiment of the present invention, the receiver 903 of device and transmitter 905 can be wired transmit ports, can be also wireless device, such as, comprise antenna assembly, for carrying out the communication of signaling or data with other node apparatus.Memory 904 can be high-speed RAM memory, also can be non-labile memory (non-volatilememory), such as at least one magnetic disc store.Memory 904 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 901.Store batch processing code in memory 904, and processor 901 is for calling the program code stored in memory, for performing following operation:
Described processor 901 sends resource information and channel identication to described server.
The video content carrying the configuration information of described playback terminal of described processor 901 response server propelling movement pushes request, to described playback terminal pushing video content.
Optionally, described processor 901 pushes live video content to described playback terminal and obtains embodiment and can be:
Described processor 901 detects in the channel identication corresponding to video content that described video gateway pushing whether comprise target channel mark;
Described processor 901 is when detecting that the channel identication corresponding to the video content that described video gateway is pushing comprises target channel mark, copy the video content identified for described target channel, the described video content identified for described target channel is sent to described playback terminal;
Described processor 901 is when detecting in the channel identication corresponding to the video content that described video gateway is pushing that not comprising target channel identifies, according to target channel mark be tuned to preset DVB channel, obtain the video data that described DVB channel provides, process described video data and obtain IP packet, send IP packet to described playback terminal, play the video content of described target channel mark to make described playback terminal according to described IP packet.
Can find out, in embodiment of the present invention technical scheme, based on the introducing of distributed network live telecast server, the video gateway distributed can be made to be managed and dispatch, thus operator is without the need to buying a large amount of server, reduce the occupied bandwidth of IDC data center simultaneously in IDC data center, finally cut operating costs.
Please refer to Figure 10, Figure 10 is the structural representation of a kind of distributed network television direct broadcast system disclosed in tenth embodiment of the invention.As shown in Figure 10, the distributed network television direct broadcast system in the embodiment of the present invention comprises:
Described playback terminal 1001, for sending playing request, carries the configuration information of this playback terminal and the play command for target channel mark in described playing request;
Described server 1002, for obtaining resource information and the channel identication set of described multiple video gateway; Receive the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, described target channel mark is a channel identication in described channel identication set; Respond described playing request, according to described resource information, in described multiple video gateway, select a video gateway as the target video gateway providing video content transmission service to described playback terminal;
Described multiple video gateway 1003, for when being chosen as target video gateway by described server, receiving the video content propelling movement request sending the configuration information carrying described playback terminal that described server sends, and processing described video content propelling movement request.
Present system embodiment is for performing the method for the inventive method embodiment one to three and embodiment six, seven realization, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the present invention Fig. 1 to Fig. 9.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can have program stored therein, and comprises the part or all of step of the method for supervising of any one service processes recorded in said method embodiment when this program performs.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer installation (can be personal computer, server or network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical solution of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, wherein, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of Fig. 1 to be the present invention first be a kind of distributed network live telecast method that embodiment provides;
The schematic flow sheet of Fig. 2 to be the present invention second be a kind of distributed network live telecast method that embodiment provides;
The schematic flow sheet of Fig. 3 to be the present invention the 3rd be a kind of distributed network live telecast method that embodiment provides;
The structural representation of Fig. 4 to be the present invention the 4th be a kind of distributed network live telecast device that embodiment provides;
The structural representation of Fig. 5 to be the present invention the 5th be a kind of distributed network live telecast device that embodiment provides;
The schematic flow sheet of Fig. 6 to be the present invention the 6th be a kind of distributed network live telecast method that embodiment provides;
The schematic flow sheet of Fig. 7 to be the present invention the 7th be a kind of distributed network live telecast method that embodiment provides;
The structural representation of Fig. 8 to be the present invention the 8th be a kind of video gateway that embodiment provides;
The structural representation of Fig. 9 to be the present invention the 9th be a kind of video gateway that embodiment provides;
Figure 10 is the structural representation of a kind of distributed network television direct broadcast system that tenth embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Claims (17)
1. a distributed network live telecast method, is characterized in that, comprising:
Obtain resource information and the channel identication set of M video gateway, described M is positive integer;
Receive the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, described target channel mark is a channel identication in described channel identication set;
Respond described playing request, according to described resource information, in a described M video gateway, select a video gateway as the target video gateway providing video content transmission service to described playback terminal;
Push to described target video gateway the video content carrying the configuration information of described playback terminal and push request, to make described target video gateway pushing video content to described playback terminal.
2. method according to claim 1, is characterized in that, before the described acquisition resource information of M video gateway and channel identication set, described method also comprises:
Obtain the channel identication subclass that a described M video gateway is corresponding;
Perform union operation to obtain described channel identication set based on M channel identication subclass, any two channel identications in wherein said channel identication set are different.
3. method according to claim 1, is characterized in that, before the configuration information carrying described playback terminal that described reception playback terminal sends and the playing request for the play command of target channel mark, described method also comprises:
Receive the channel list request that described playback terminal sends;
Respond described channel list request, return channel list data to described playback terminal.
4. method according to claim 3, is characterized in that, after the described video content carrying the configuration information of described playback terminal to described target video gateway propelling movement pushes request, described method also comprises:
To push to described playback terminal under the video content identified for described target channel pushes successful situation at the described target video gateway of detection, receive the successful instruction of propelling movement and update request that described target video gateway sends;
Wherein, described update request carries the resource occupation information of described target video gateway and live audience information;
Respond described update request, upgrade the described resource occupation information of described target video gateway and described live audience information;
When detecting described target video gateway and pushing unsuccessfully for the video content that described target channel identifies to described playback terminal propelling movement, receive the propelling movement failure command that described destination service video gateway sends;
Respond described propelling movement failure command, described propelling movement failure command is forwarded to described playback terminal.
5. method according to claim 4, is characterized in that, the described update request of described response, and after the described resource occupation information that described network direct broadcasting Control Server upgrades described target video gateway and described live audience information, described method also comprises:
When detecting that live request is exited in the transmission of described playback terminal, search for the address of described target video gateway;
According to the address of described target video gateway, send and stop live message to described target video gateway;
Receive the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrade the described resource occupation information of described target video gateway and described live audience information.
6. method according to claim 4, is characterized in that, the described update request of described response, and after the described resource occupation information that described network direct broadcasting Control Server upgrades described target video gateway and described live audience information, described method also comprises:
Send test pack to the described playback terminal cycle, whether described test pack is online for detecting described playback terminal;
When detecting that described playback terminal is not online, send and stop live message to described target video gateway;
Receive the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrade the described resource occupation information of described target video gateway and described live audience information.
7. a distributed network live telecast device, is characterized in that, described device comprises:
First acquisition module, for obtaining resource information and the channel identication set of M video gateway, described M is positive integer;
First receiver module, for receiving the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, described target channel mark is a channel identication in described channel identication set;
Selecting module, for responding described playing request, according to described resource information, in a described M video gateway, selecting a video gateway as the target video gateway providing video content transmission service to described playback terminal;
Pushing module, pushes request, to make described target video gateway pushing video content to described playback terminal for pushing the video content carrying the configuration information of described playback terminal to described target video gateway.
8. device according to claim 7, is characterized in that, described device also comprises:
Second acquisition module, for obtaining channel identication subclass corresponding to a described M video gateway;
Duplicate removal module, for performing union operation to obtain described channel identication set based on M channel identication subclass, any two channel identications in wherein said channel identication set are different.
9. device according to claim 7, is characterized in that, described device also comprises:
Second receiver module, for receiving the channel list request that described playback terminal sends;
Returning module, for responding described channel list request, returning channel list data to described playback terminal.
10. device according to claim 9, is characterized in that, described device also comprises:
Detection module, whether the video content identified to described playback terminal propelling movement for described target channel for detecting described target video gateway pushes successfully;
3rd receiver module, push under the video content identified for described target channel pushes successful situation for detecting described target video gateway at detection module to described playback terminal, receive propelling movement success instruction and update request that described target video gateway sends;
Wherein, described update request carries the resource occupation information of described target video gateway and live audience information;
First update module, for responding described update request, upgrades the described resource occupation information of described target video gateway and described live audience information;
4th receiver module, for detect at detection module described target video gateway to described playback terminal push the video content identified for described target channel pushes unsuccessfully, receive the propelling movement failure command of described destination service video gateway transmission;
Forwarding module, for responding described propelling movement failure command, is forwarded to described playback terminal by described propelling movement failure command.
11. devices according to claim 10, is characterized in that, described device also comprises:
Search module, for when detecting that live request is exited in the transmission of described playback terminal, searches for the address of described target video gateway;
First sending module, for the address according to described target video gateway, sends and stops live message to described target video gateway;
Second update module, for receiving the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
12. devices according to claim 10, is characterized in that, described device also comprises:
Second sending module, for sending test pack to the described playback terminal cycle, whether described test pack is online for detecting described playback terminal;
3rd sending module, for when detecting that described playback terminal is not online, sending and stopping live message to described target video gateway;
3rd update module, for receiving the operating result of described target video gateway feedback, according to the operating result of described target video gateway feedback, upgrades the described resource occupation information of described target video gateway and described live audience information.
13. 1 kinds of distributed network live telecast methods, it is characterized in that, described method comprises:
Video gateway sends resource information and channel identication to server;
The video content carrying the configuration information of playback terminal of described video gateway response server propelling movement pushes request, to described playback terminal pushing video content.
14. methods according to claim 13, is characterized in that, describedly comprise to described playback terminal pushing video content:
Described video gateway detects in the channel identication corresponding to video content that described video gateway pushing whether comprise target channel mark;
Described video gateway is when detecting that the channel identication corresponding to the video content that described video gateway is pushing comprises target channel mark, copy the video content identified for described target channel, the described video content identified for described target channel is sent to described playback terminal;
Video gateway is when detecting in the channel identication corresponding to the video content that described video gateway is pushing that not comprising target channel identifies, according to target channel mark be tuned to preset DVB channel, obtain the video data that described DVB channel provides, process described video data and obtain IP packet, send described IP packet to described playback terminal, play to make described playback terminal the video content identified for described target channel according to described IP packet.
15. 1 kinds is video gateway, it is characterized in that, described video gateway comprises:
Transmitting element, for sending resource information and channel identication to server;
Push unit, the video content carrying the configuration information of playback terminal pushed for response server pushes request, to described playback terminal pushing video content.
16. video gateway according to claim 15, is characterized in that,
Described push unit, specifically for detecting in the channel identication corresponding to video content that described video gateway pushing whether comprise target channel mark;
When detecting that the channel identication corresponding to the video content that described video gateway is pushing comprises target channel mark, copy the video content identified for described target channel, the described video content identified for described target channel is sent to described playback terminal;
When detecting in the channel identication corresponding to the video content that described video gateway is pushing that not comprising target channel identifies, according to target channel mark be tuned to preset DVB channel, obtain the video data that described DVB channel provides, process described video data and obtain IP packet, send IP packet to described playback terminal, play to make described playback terminal the video content identified for described target channel according to described IP packet.
17. 1 kinds of distributed network television direct broadcast systems, is characterized in that, described system comprises:
Playback terminal, for sending playing request, carries the configuration information of this playback terminal and the play command for target channel mark in described playing request;
Server, for obtaining resource information and the channel identication set of described multiple video gateway; Receive the playing request of the configuration information carrying described playback terminal of playback terminal transmission and the play command for target channel mark, described target channel mark is a channel identication in described channel identication set; Respond described playing request, according to described resource information, in described multiple video gateway, select a video gateway as the target video gateway providing video content transmission service to described playback terminal;
Described multiple video gateway, for when being chosen as target video gateway by described server, receives the video content propelling movement request sending the configuration information carrying described playback terminal that described server sends, to described playback terminal pushing video content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570240.XA CN105187847B (en) | 2015-09-09 | 2015-09-09 | A kind of distributed network live telecast method, apparatus, video gateway and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570240.XA CN105187847B (en) | 2015-09-09 | 2015-09-09 | A kind of distributed network live telecast method, apparatus, video gateway and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105187847A true CN105187847A (en) | 2015-12-23 |
CN105187847B CN105187847B (en) | 2019-04-26 |
Family
ID=54909649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510570240.XA Active CN105187847B (en) | 2015-09-09 | 2015-09-09 | A kind of distributed network live telecast method, apparatus, video gateway and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105187847B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106375803A (en) * | 2016-09-09 | 2017-02-01 | 北京小米移动软件有限公司 | Live broadcast information processing method, processing device and processing system |
CN107483350A (en) * | 2017-07-11 | 2017-12-15 | 北京潘达互娱科技有限公司 | A kind of gateway distribution method and device |
CN108282672A (en) * | 2018-01-17 | 2018-07-13 | 彭俊 | Program processing system |
CN108540816A (en) * | 2018-03-28 | 2018-09-14 | 腾讯科技(深圳)有限公司 | A kind of live video acquisition methods, device and storage medium |
CN109862376A (en) * | 2019-02-28 | 2019-06-07 | 广州华多网络科技有限公司 | Live content jettison system, method, apparatus, listserv and storage medium |
CN111246239A (en) * | 2020-02-12 | 2020-06-05 | 广州虎牙科技有限公司 | Method, system, apparatus, device and storage medium for testing live programs |
CN111356006A (en) * | 2020-03-13 | 2020-06-30 | 北京奇艺世纪科技有限公司 | Video playing method, device, server and storage medium |
CN112533020A (en) * | 2020-12-16 | 2021-03-19 | 华南理工大学 | Load balancing dynamic networking system and method for television live broadcast system |
CN113364672A (en) * | 2021-06-29 | 2021-09-07 | 中星电子股份有限公司 | Method, device, equipment and computer readable medium for determining media gateway information |
CN114268800A (en) * | 2020-09-14 | 2022-04-01 | 腾讯科技(深圳)有限公司 | Live broadcast resource scheduling method, device, equipment and storage medium |
CN114268635A (en) * | 2021-12-02 | 2022-04-01 | 珠海迈科智能科技股份有限公司 | System and method for positioning P2P streaming media file and selecting node |
CN117478924A (en) * | 2023-12-27 | 2024-01-30 | 江西拓世智能科技股份有限公司 | Digital live broadcast control method and related device based on artificial intelligence |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101345868A (en) * | 2007-07-09 | 2009-01-14 | 华为技术有限公司 | Method, terminal and system for sharing media data |
CN101714977A (en) * | 2007-04-13 | 2010-05-26 | 华为技术有限公司 | Method, system and device for modifying playing streaming media |
CN102014270A (en) * | 2010-12-10 | 2011-04-13 | 深圳市同洲电子股份有限公司 | Method and device for realizing switched digital video (SDV) on hybrid fiber coax network |
US20120016951A1 (en) * | 2010-07-15 | 2012-01-19 | Li Gordon Yong | Method And System For Providing Content Remotely Via One Or More IP Multimedia Residential Gateways |
CN103442287A (en) * | 2013-08-26 | 2013-12-11 | 深圳市九洲电器有限公司 | Set top box network automatic expanding playing method |
CN103716679A (en) * | 2013-11-26 | 2014-04-09 | 四川长虹电器股份有限公司 | Home local area network-based media content transmission method |
US20150097921A1 (en) * | 2013-10-07 | 2015-04-09 | Futurewei Technologies, Inc. | Distributed Media Gateways |
CN104869428A (en) * | 2015-05-07 | 2015-08-26 | 深圳创维数字技术有限公司 | Resource sharing method and system, and related devices |
-
2015
- 2015-09-09 CN CN201510570240.XA patent/CN105187847B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714977A (en) * | 2007-04-13 | 2010-05-26 | 华为技术有限公司 | Method, system and device for modifying playing streaming media |
CN101345868A (en) * | 2007-07-09 | 2009-01-14 | 华为技术有限公司 | Method, terminal and system for sharing media data |
US20120016951A1 (en) * | 2010-07-15 | 2012-01-19 | Li Gordon Yong | Method And System For Providing Content Remotely Via One Or More IP Multimedia Residential Gateways |
CN102014270A (en) * | 2010-12-10 | 2011-04-13 | 深圳市同洲电子股份有限公司 | Method and device for realizing switched digital video (SDV) on hybrid fiber coax network |
CN103442287A (en) * | 2013-08-26 | 2013-12-11 | 深圳市九洲电器有限公司 | Set top box network automatic expanding playing method |
US20150097921A1 (en) * | 2013-10-07 | 2015-04-09 | Futurewei Technologies, Inc. | Distributed Media Gateways |
CN103716679A (en) * | 2013-11-26 | 2014-04-09 | 四川长虹电器股份有限公司 | Home local area network-based media content transmission method |
CN104869428A (en) * | 2015-05-07 | 2015-08-26 | 深圳创维数字技术有限公司 | Resource sharing method and system, and related devices |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106375803B (en) * | 2016-09-09 | 2019-05-31 | 北京小米移动软件有限公司 | Processing method, processing unit and the processing system of live information |
CN106375803A (en) * | 2016-09-09 | 2017-02-01 | 北京小米移动软件有限公司 | Live broadcast information processing method, processing device and processing system |
CN107483350A (en) * | 2017-07-11 | 2017-12-15 | 北京潘达互娱科技有限公司 | A kind of gateway distribution method and device |
CN108282672B (en) * | 2018-01-17 | 2020-11-06 | 苏州摩联通信技术有限公司 | Program processing system |
CN108282672A (en) * | 2018-01-17 | 2018-07-13 | 彭俊 | Program processing system |
CN108540816A (en) * | 2018-03-28 | 2018-09-14 | 腾讯科技(深圳)有限公司 | A kind of live video acquisition methods, device and storage medium |
CN109862376B (en) * | 2019-02-28 | 2021-06-01 | 广州方硅信息技术有限公司 | Live content delivery system, method and device, list server and storage medium |
CN109862376A (en) * | 2019-02-28 | 2019-06-07 | 广州华多网络科技有限公司 | Live content jettison system, method, apparatus, listserv and storage medium |
CN111246239A (en) * | 2020-02-12 | 2020-06-05 | 广州虎牙科技有限公司 | Method, system, apparatus, device and storage medium for testing live programs |
CN111356006A (en) * | 2020-03-13 | 2020-06-30 | 北京奇艺世纪科技有限公司 | Video playing method, device, server and storage medium |
CN111356006B (en) * | 2020-03-13 | 2023-03-17 | 北京奇艺世纪科技有限公司 | Video playing method, device, server and storage medium |
CN114268800A (en) * | 2020-09-14 | 2022-04-01 | 腾讯科技(深圳)有限公司 | Live broadcast resource scheduling method, device, equipment and storage medium |
CN114268800B (en) * | 2020-09-14 | 2023-06-16 | 腾讯科技(深圳)有限公司 | Live broadcast resource scheduling method, device, equipment and storage medium |
CN112533020B (en) * | 2020-12-16 | 2021-10-22 | 华南理工大学 | Load balancing dynamic networking system and method for television live broadcast system |
CN112533020A (en) * | 2020-12-16 | 2021-03-19 | 华南理工大学 | Load balancing dynamic networking system and method for television live broadcast system |
CN113364672A (en) * | 2021-06-29 | 2021-09-07 | 中星电子股份有限公司 | Method, device, equipment and computer readable medium for determining media gateway information |
CN114268635A (en) * | 2021-12-02 | 2022-04-01 | 珠海迈科智能科技股份有限公司 | System and method for positioning P2P streaming media file and selecting node |
CN114268635B (en) * | 2021-12-02 | 2023-12-15 | 珠海迈科智能科技股份有限公司 | System and method for positioning P2P streaming media file and selecting node |
CN117478924A (en) * | 2023-12-27 | 2024-01-30 | 江西拓世智能科技股份有限公司 | Digital live broadcast control method and related device based on artificial intelligence |
CN117478924B (en) * | 2023-12-27 | 2024-05-14 | 江西拓世智能科技股份有限公司 | Digital live broadcast control method and related device based on artificial intelligence |
Also Published As
Publication number | Publication date |
---|---|
CN105187847B (en) | 2019-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105187847A (en) | Distributed network television live broadcast method, device, video gateway and system | |
US8005987B2 (en) | Multi-representation media event handoff | |
US8837488B2 (en) | Two tier multiple sliding window mechanism for multidestination media applications | |
KR100753026B1 (en) | Broadcast hand-over in a wireless network | |
CN107211175B (en) | Method and apparatus for transmitting and receiving multimedia content | |
CN101964787B (en) | Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs | |
US8346957B2 (en) | Method and apparatus for transmitting/receiving information in internet protocol network | |
CN101836393B (en) | Method and system for multicast statistic collection | |
CN102970581B (en) | A kind of digital TV data transmission method, device and system | |
CA2726095A1 (en) | Content transmission architecture | |
WO2020141544A1 (en) | Multi-unicast discovery of devices on a network | |
CN101305552B (en) | Method and system for voting optimum route in multicast | |
CN101662687B (en) | Digital broadcasting system and apparatus | |
CN104040989A (en) | Gateway, and method, computer program and storage means corresponding thereto | |
CN103442287A (en) | Set top box network automatic expanding playing method | |
CN101924641B (en) | Method, device and system for processing multicast source information | |
WO2020027160A1 (en) | Notification device and notification method | |
JP2008530830A (en) | Reception resource allocation method and system in gateway server | |
KR20060083259A (en) | Method and system for short message service | |
CN104254000A (en) | Video data processing method and video data processing device | |
KR20170119417A (en) | System and method for delivering a delta update of data in the broadcasting/multicasting environment | |
EP4012975A1 (en) | Method and system for usage-optimization in a communication network | |
EP3560211B1 (en) | System for the transmission of data for video and/or audio in a defined area | |
KR101040312B1 (en) | A system and method for providing a hybrids IP-TV service | |
CN103379088B (en) | A kind of system and method for cross-domain offer programme televised live |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |