CN105187847B - A kind of distributed network live telecast method, apparatus, video gateway and system - Google Patents

A kind of distributed network live telecast method, apparatus, video gateway and system Download PDF

Info

Publication number
CN105187847B
CN105187847B CN201510570240.XA CN201510570240A CN105187847B CN 105187847 B CN105187847 B CN 105187847B CN 201510570240 A CN201510570240 A CN 201510570240A CN 105187847 B CN105187847 B CN 105187847B
Authority
CN
China
Prior art keywords
video gateway
target
video
channel
playback terminal
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.)
Active
Application number
CN201510570240.XA
Other languages
Chinese (zh)
Other versions
CN105187847A (en
Inventor
邓水森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201510570240.XA priority Critical patent/CN105187847B/en
Publication of CN105187847A publication Critical patent/CN105187847A/en
Application granted granted Critical
Publication of CN105187847B publication Critical patent/CN105187847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/226Characteristics of the server or Internal components of the server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing 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/2383Channel coding or modulation of digital bit-stream, e.g. QPSK modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/262Content 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/26291Content 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 embodiment of the invention discloses a kind of distributed network live telecast method, apparatus, video gateway and systems, comprising: obtains the resource information and channel identication set of M video gateway;Receive the configuration information for the carrying playback terminal that playback terminal is sent and the playing request of the play command for target channel mark;The playing request is responded, according to the resource information, a video gateway is selected to provide the target video gateway of video content transmission service as to the playback terminal in M video gateway;The video content push request that the configuration information of the playback terminal is carried to the push of target video gateway, so that the target video gateway pushing video content is to the playback terminal.The embodiment of the present invention provides the operation cost that technical solution advantageously reduces network live television system.

Description

A kind of distributed network live telecast method, apparatus, video gateway and system
Technical field
The present invention relates to media transport technology field, and in particular to a kind of distributed network live telecast method, apparatus, Video gateway and system.
Background technique
Currently, the first is by being broadcast live there are mainly three types of the implementation methods of the network live television system of large-scale use Programme televised live acquisition is converted into internet ip video flowing by programme acquisition server, then passes through stream media distribution server cluster structure At content distributing network (CDN) be sent to reception terminal.Second is generallyd use by telecom operators based on IP multicast Live telecast, (including router, interchanger, broadband connect for network equipment that multicast protocols are supported by several in programme televised live source Enter device etc.), corresponding reception terminal is distributed to by Multicast Routing and multicast replication function.The third is using P2P equity The live telecast system that network technology is realized, in P2P live broadcast system, programme televised live source passes through streaming server first and is sent to some Terminal is received, then the program data received is transmitted to another terminal for needing to watch same channel in turn by this terminal, The equity transmission of Peer to Peer is realized, streaming server plays the role of " seed " node in P2P system.
Need to buy a large amount of clothes currently based on the implementation method of the network live television system of CDN live streaming media server Business device, the bandwidth for occupying a large amount of IDC data centers, need higher running cost.
Summary of the invention
It, can be compared with the embodiment of the invention provides a kind of distributed network live telecast method, apparatus, video gateway and system The running cost for saving network live television system well, reduces cost.
First aspect of the embodiment of the present invention provides a kind of distributed network live telecast method, comprising:
The resource information and channel identication set of M video gateway are obtained, the M is positive integer;
Receive the configuration information for the carrying playback terminal that playback terminal is sent and the broadcasting for target channel mark The playing request of order, the target channel mark are a channel identications in the channel identication set;
The playing request is responded, according to the resource information, a video gateway is selected in the M video gateway The target video gateway of video content transmission service is provided as to the playback terminal;
The video content push request of the configuration information of the playback terminal is carried to target video gateway push, So that the target video gateway pushing video content is to the playback terminal.
In the first possible implementation of the first aspect, the resource information and frequency for obtaining M video gateway Before road logo collection, the method also includes:
Obtain the corresponding channel identication subclass of M video gateway;
Union operation is executed to obtain the channel identication set based on the M channel identication subclass, wherein described Any two channel identication in channel identication set is different.
In the second possible implementation of the first aspect,
The configuration information for receiving the carrying playback terminal that playback terminal is sent and for target channel mark Before the playing request of play command, the method also includes:
Receive the channel list request that the playback terminal is sent;
The channel list request is responded, Xiang Suoshu playback terminal returns to channel list data.In the third of first aspect In the possible implementation of kind,
The video content push of the configuration information that the playback terminal is carried to target video gateway push After request, the method also includes:
It is detecting in the video that the target video gateway is identified to playback terminal push for the target channel Hold and push in successful situation, receives the push that the target video gateway is sent and successfully instruct and update request;
Wherein, the resource occupation information and live streaming audience information for updating request and carrying the target video gateway;
The update request is responded, the resource occupation information and the live streaming rating of the target video gateway are updated Information;
It is detecting in the video that the target video gateway is identified to playback terminal push for the target channel In the case where holding push failure, the push failure command that the destination service video gateway is sent is received;
The push failure command is responded, the push failure command is forwarded to the playback terminal.
In a fourth possible implementation of the first aspect, the response update request, the network direct broadcasting After control server updates the resource occupation information and the live streaming audience information of the target video gateway, also wrap It includes:
In the case where detecting that live streaming request is exited in the playback terminal transmission, the ground of the target video gateway is searched for Location;
According to the address of the target video gateway, sends and stop live streaming message to the target video gateway;
Receive the operating result of the target video gateway feedback, the operation knot fed back according to the target video gateway Fruit, update the target video gateway the resource occupation information and the live streaming audience information.
In the fifth possible implementation of the first aspect, the response update request, the network direct broadcasting After control server updates the resource occupation information and the live streaming audience information of the target video gateway, also wrap It includes:
Test bag is sent to the playback terminal period, whether the test bag is online for detecting the playback terminal;
In the case where detecting that the playback terminal is not online, sends and stop live streaming message to the target video gateway;
Receive the operating result of the target video gateway feedback, the operation knot fed back according to the target video gateway Fruit, update the target video gateway the resource occupation information and the live streaming audience information.
Second aspect of the embodiment of the present invention provides a kind of distributed network live telecast device, comprising:
First obtains module, and for obtaining the resource information and channel identication set of M video gateway, the M is positive whole Number;
First receiving module, for receiving the configuration information of the carrying playback terminal of playback terminal transmission and for mesh The playing request of the play command of channel identication is marked, the target channel mark is a channel in the channel identication set Mark;
Selecting module, according to the resource information, is selected for responding the playing request in the M video gateway A video gateway is selected as to the playback terminal, the target video gateway of video content transmission service is provided;
Pushing module, the video of the configuration information for carrying the playback terminal to target video gateway push Content push request.
In the first possible implementation of the second aspect, described device further include:
Second obtains module, for obtaining the corresponding channel identication subclass of the M video gateway;
Deduplication module, for executing union operation based on M channel identication subclass to obtain the channel identication collection It closes, wherein any two channel identication in the channel identication set is different.
In a second possible implementation of the second aspect, described device further include:
Second receiving module, the channel list request sent for receiving the playback terminal;
Return module, for responding the channel list request, Xiang Suoshu playback terminal returns to channel list data.
In the third possible implementation of the second aspect, described device further include:
Detection module, for detecting the target video gateway to playback terminal push for the target channel mark Whether the video content of knowledge pushes success;
Third receiving module is directed to for detecting the target video gateway in detection module to playback terminal push The video content of the target channel mark pushes in successful situation, receives the push success that the target video gateway is sent Instruction and update request;
Wherein, the resource occupation information and live streaming audience information for updating request and carrying the target video gateway;
First update module updates the resource occupation of the target video gateway for responding the update request Information and the live streaming audience information.
4th receiving module is directed to for detecting the target video gateway in detection module to playback terminal push In the case where the video content push failure of the target channel mark, the push that the destination service video gateway is sent is received Failure command;
The push failure command is forwarded to the broadcasting eventually for responding the push failure command by forwarding module End.
In the fourth possible implementation of the second aspect, described device further include:
Search module, for searching for the mesh in the case where detecting that live streaming request is exited in the playback terminal transmission Mark the address of video gateway;
First sending module sends for the address according to the target video gateway and stops live streaming message to the mesh Mark video gateway;
Second update module, for receiving the operating result of the target video gateway feedback, according to the target video Gateway feedback operating result, update the target video gateway the resource occupation information and the live streaming audience information.
In a fifth possible implementation of the second aspect, described device further include:
Second sending module, for sending test bag to the playback terminal period, the test bag is described for detecting Whether playback terminal is online;
Third sending module stops live streaming message for sending in the case where detecting that the playback terminal is not online To the target video gateway;
Third update module, for receiving the operating result of the target video gateway feedback, according to the target video Gateway feedback operating result, update the target video gateway the resource occupation information and the live streaming audience information.
The third aspect of the embodiment of the present invention provides a kind of distributed network live telecast method, which comprises
Video gateway sends resource information and channel identication to the server;
The video content of the configuration information for carrying the playback terminal of the video gateway response server push pushes away Send request, Xiang Suoshu playback terminal pushing video content.
In conjunction with the third aspect of the embodiment of the present invention, in the first possible realization side of the third aspect of the embodiment of the present invention It is described to include: to playback terminal push live video content in formula
The video gateway detect in channel identication corresponding to the video content that the video gateway is pushing whether It is identified including target channel;
The video gateway is in detecting channel identication corresponding to video content that the video gateway is pushing In the case where target channel mark, duplication described will be directed to the mesh for the video content of target channel mark The video content of mark channel identication is sent to the playback terminal;
The video gateway is in detecting channel identication corresponding to video content that the video gateway is pushing In the case where not including target channel mark, according to target channel mark be tuned to default DVB channel, obtain the DVB channel The video data of offer handles the video data and obtains IP data packet, and Xiang Suoshu playback terminal sends IP data packet, so that The playback terminal plays the video content of the target channel mark according to the IP data packet.
Fourth aspect of the embodiment of the present invention is provided one is video gateway, and the video gateway includes:
Transmission unit, for sending resource information and channel identication to the server;
The video content of push unit, the configuration information for carrying the playback terminal for response server push pushes away Send request, Xiang Suoshu playback terminal pushing video content.
In the first possible implementation of the fourth aspect of the embodiment of the present invention, the push unit is specific to use In:
Whether detect in channel identication corresponding to the video content that the video gateway is pushing includes target channel Mark;
It include target channel in detecting channel identication corresponding to video content that the video gateway is pushing In the case where mark, duplication is directed to what the target channel identified for described for the video content of target channel mark Video content is sent to the playback terminal;
It does not include target frequency in detecting channel identication corresponding to video content that the video gateway is pushing In the case that road identifies, according to target channel mark be tuned to default DVB channel, obtain the video counts that the DVB channel provides According to handling the video data and obtain IP data packet, Xiang Suoshu playback terminal sends IP data packet, so that the playback terminal The video content of the target channel mark is played according to the IP data packet.
The 5th aspect of the embodiment of the present invention provides a kind of distributed network television direct broadcast system, comprising:
Playback terminal carries the configuration information and needle of this playback terminal for sending playing request in the playing request To the play command of target channel mark;
Server, for obtaining the resource information and channel identication set of the multiple video gateway;Receive playback terminal The configuration information of the carrying playback terminal of transmission and the playing request of the play command for target channel mark, the mesh Mark channel identication is a channel identication in the channel identication set;The playing request is responded, is believed according to the resource Breath selects a video gateway to provide video content transmission service as to the playback terminal in the multiple video gateway Target video gateway;
The multiple video gateway, for receiving the service when being selected as target video gateway by the server What device was sent send the video content push request for carrying the configuration information of the playback terminal, and handles the video content and push away Send request.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram that the present invention first is a kind of distributed network live telecast method that embodiment provides;
Fig. 2 is the flow diagram that the present invention second is a kind of distributed network live telecast method that embodiment provides;
Fig. 3 is the flow diagram that third of the present invention is a kind of distributed network live telecast method that embodiment provides;
Fig. 4 be the present invention the fourth is that a kind of distributed network live telecast device that embodiment provides structural schematic diagram;
Fig. 5 be the present invention the fifth is that a kind of distributed network live telecast device that embodiment provides structural schematic diagram;
Fig. 6 be the present invention the sixth is that a kind of distributed network live telecast method that embodiment provides flow diagram;
Fig. 7 be the present invention the seventh is that a kind of distributed network live telecast method that embodiment provides flow diagram;
Fig. 8 be the present invention the eighth is that a kind of video gateway that embodiment provides structural schematic diagram;
Fig. 9 be the present invention the ninth is that a kind of video gateway that embodiment provides structural schematic diagram;
Figure 10 is a kind of structural schematic diagram for distributed network television direct broadcast system that tenth embodiment of the invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or device are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or device.
Referring to Fig. 1, Fig. 1 is a kind of process for distributed network live telecast method that first embodiment of the invention provides Schematic diagram, as shown in Figure 1, comprising the following steps:
S101, distributed network live telecast server obtain the resource information and channel identication set of M video gateway, The M is positive integer.
Wherein, the resource information of the video gateway includes: (1) video gateway while being received and converted to IP Streaming Media Highest channel number, for example, the video gateway is configured with 8 tuners and demodulator, then the video gateway has 8 roads simultaneously Transcoding capabilities, the highest channel number that IP Streaming Media is received and converted to while capable of supporting is 8.(2) on the video gateway Row arrives the maximum bandwidth of internet.
The channel identication set is the set of the channel identication for the television channel that the video gateway receives.
Optionally, the distributed network live telecast server obtains the resource information and channel mark of M video gateway Before knowing set, following steps can also be performed:
The distributed network live telecast server obtains the corresponding channel identication subclass of M video gateway;
The distributed network live telecast server is based on the M channel identication subclass and executes union operation to obtain The channel identication set is taken, wherein any two channel identication in the channel identication set is different.
Wherein, after video gateway powers on, the digital TV channel that this function receives is searched for first, then by the machine Resource capability and channel list are uploaded to distributed network live telecast server.Distributed network live telecast server can be right The channel list of M video gateway transmission carries out the processing of " duplicate removal ", that is, removes the duplicate channel of title, ultimately form channel mark Know set.
S102, distributed network live telecast server receive the configuration for the carrying playback terminal that playback terminal is sent The playing request of information and the play command for target channel mark, the target channel mark is the channel identication set In a channel identication.
Wherein, the playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, tablet computer, This embodiment is not limited.
Wherein, the configuration information includes the ID number of playback terminal, IP address and port numbers for receiving video flowing.
S103, distributed network live telecast server respond the playing request, according to the resource information, described A video gateway is selected to provide the target video of video content transmission service as to the playback terminal in M video gateway Gateway.
Wherein, if distributed network live telecast server selects a video gateway to make in the M video gateway In target video gateway procedures to provide from video content transmission service to the playback terminal, selection fails, then distributed network Network live telecast server will return to selection failed message to the playback terminal.
S104, distributed network live telecast server carry the playback terminal to target video gateway push Configuration information video content push request.
As an alternative embodiment, video content push request be used to indicate the target video gateway to Video content of the playback terminal push for target channel mark.
Wherein, the configuration information includes IP address and the port that the playback terminal is used to receive video flowing.
After target video gateway receives the video content push request, if having had other on this video gateway Playback terminal watches identical video content, then after the video flowing of target channel mark directly being replicated one point, is sent to described The IP address of playback terminal and port.It, should if there is no other playback terminals to watch identical video content on this video gateway Target video gateway be tuned to specified DVB channel transcoding again after the demodulation of DVB channel data, descrambling is packaged into IP data packet Crossfire is sent to IP address and the port of the playback terminal, and playback terminal can play after receiving video flowing.
As an alternative embodiment, the distributed network live telecast server receives what playback terminal was sent Carry the playback terminal configuration information and for target channel mark play command playing request before, can also hold Row following steps:
Distributed network live telecast server receives the channel list request that the playback terminal is sent.
Distributed network live telecast server responds the channel list request, and Xiang Suoshu playback terminal returns to channel column Table data.
Wherein, the playback terminal sends frequency to distributed network live telecast server by Internet protocols such as http Road list request.Distributed network live telecast server can be the http web server of standard, such as nginx, Apache etc. can be built in the form of cluster cluster or Cloud Server, with cope with magnanimity playback terminal send Channel list request.
As an alternative embodiment, the distributed network live telecast server is to the target video gateway After push carries the video content push request of the configuration information of the playback terminal, following steps can also be performed:
Distributed network live telecast server is directed in the detection target video gateway to playback terminal push The video content of the target channel mark pushes in successful situation, receives the push success that the target video gateway is sent Instruction and update request;
Wherein, the resource occupation information and live streaming audience information for updating request and carrying the target video gateway;
Wherein, the resource occupation information may include the target video gateway occupied reception resource, received Number of channels, received channel designation and ID, be currently sent to concurrent IP Media Stream number, the upstream bandwidth of playback terminal Occupancy situation, the resource occupation information may be used as distributed network live telecast server schedule video gateway next time Basis.
Distributed network live telecast server responds the update request, updates the money of the target video gateway Source occupied information and the live streaming audience information.
As an alternative embodiment, described carry the playback terminal to target video gateway push After the video content push request of configuration information, following steps can also be performed:
Distributed network live telecast server is directed in the detection target video gateway to playback terminal push In the case where the video content push failure of the target channel mark, the push that the destination service video gateway is sent is received Failure command;
Distributed network live telecast server responds the push failure command, and the push failure command is forwarded to The playback terminal.
As an alternative embodiment, the distributed network live telecast server responds the update request, The network direct broadcasting control server updates the resource occupation information and live streaming rating letter of the target video gateway After breath, following steps can also be performed:
Distributed network live telecast server in the case where detecting that live streaming request is exited in playback terminal transmission, Search for the address of the target video gateway;
Distributed network live telecast server according to the address of the target video gateway, send stop live streaming message to The target video gateway;
Distributed network live telecast server receives the operating result of the target video gateway feedback, according to the mesh The operating result for marking video gateway feedback, updates the resource occupation information and the live streaming rating of the target video gateway Information.
As an alternative embodiment, the distributed network live telecast server responds the update request, The network direct broadcasting control server updates the resource occupation information and live streaming rating letter of the target video gateway After breath, following steps can also be performed:
Distributed network live telecast server is to playback terminal period transmission test bag, and the test bag is for examining Whether online survey the playback terminal;
In the case that distributed network live telecast server detects that the playback terminal is not online, sends and stop live streaming Message gives the target video gateway;
Distributed network live telecast server receives the operating result of the target video gateway feedback, according to the mesh The operating result for marking video gateway feedback, updates the resource occupation information and the live streaming rating of the target video gateway Information.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
Referring to Fig. 2, Fig. 2 is a kind of process for distributed network live telecast method that second embodiment of the invention provides Schematic diagram, as shown in Figure 2, comprising the following steps:
S201, distributed network live telecast server receive the channel list request that playback terminal is sent.
Wherein, the playback terminal sends frequency to distributed network live telecast server by Internet protocols such as http Road list request.Distributed network live telecast server can be the http web server of standard, such as nginx, Apache etc. can be built in the form of cluster cluster or Cloud Server, with cope with magnanimity playback terminal send Channel list request.
S202, distributed network live telecast server respond the channel list request, and Xiang Suoshu playback terminal returns Channel list data.
S203, distributed network live telecast server obtain the resource information and channel identication set of M video gateway, The M is positive integer.
Wherein, the resource information of the video gateway includes: (1) video gateway while being received and converted to IP Streaming Media Highest channel number, for example, the video gateway is configured with 8 tuners and demodulator, then the video gateway has 8 roads simultaneously Transcoding capabilities, the highest channel number that IP Streaming Media is received and converted to while capable of supporting is 8.(2) on the video gateway Row arrives the maximum bandwidth of internet.
The channel identication set is the set of the channel identication for the television channel that the video gateway receives.
Optionally, the distributed network live telecast server obtains the resource information and channel mark of M video gateway Before knowing set, following steps can also be performed:
The distributed network live telecast server obtains the corresponding channel identication subclass of M video gateway;
The distributed network live telecast server is based on the M channel identication subclass and executes union operation to obtain The channel identication set is taken, wherein any two channel identication in the channel identication set is different.
After video gateway powers on, the digital TV channel that this function receives is searched for first, then by the resource of the machine Ability and channel list are uploaded to distributed network live telecast server.Distributed network live telecast server can be to M The channel list of video gateway transmission carries out the processing of " duplicate removal ", that is, removes the duplicate channel of title, ultimately form channel identication Set.
S204, distributed network live telecast server receive the configuration for the carrying playback terminal that playback terminal is sent The playing request of information and the play command for target channel mark, the target channel mark is the channel identication set In a channel identication.
Wherein, the playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, tablet computer, This embodiment is not limited.
Wherein, the configuration information includes the ID number of playback terminal, IP address and port numbers for receiving video flowing.
S205, distributed network live telecast server respond the playing request, according to the resource information, described A video gateway is selected to provide the target video of video content transmission service as to the playback terminal in M video gateway Gateway.
Wherein, if distributed network live telecast server selects a video gateway to make in the M video gateway In target video gateway procedures to provide from video content transmission service to the playback terminal, selection fails, then distributed network Network live telecast server will return to selection failed message to the playback terminal.
S206, distributed network live telecast server carry the playback terminal to target video gateway push Configuration information video content push request.
As an alternative embodiment, video content push request be used to indicate the target video gateway to Video content of the playback terminal push for target channel mark.
Wherein, the configuration information includes IP address and the port that the playback terminal is used to receive video flowing.
After target video gateway receives the video content push request, if having had other on this video gateway Playback terminal watches identical video content, then after the video flowing of target channel mark directly being replicated one point, is sent to described The IP address of playback terminal and port.It, should if there is no other playback terminals to watch identical video content on this video gateway Target video gateway be tuned to specified DVB channel transcoding again after the demodulation of DVB channel data, descrambling is packaged into IP data packet Crossfire is sent to IP address and the port of the playback terminal, and playback terminal can play after receiving video flowing.
S207, distributed network live telecast server are pushed in the detection target video gateway to the playback terminal It is pushed in successful situation for the video content of target channel mark, receives the push that the target video gateway is sent Success instructs and updates request.
Wherein, the resource occupation information and live streaming audience information for updating request and carrying the target video gateway;
Wherein, the resource occupation information may include the target video gateway occupied reception resource, received Number of channels, received channel designation and ID, be currently sent to concurrent IP Media Stream number, the upstream bandwidth of playback terminal Occupancy situation, the resource occupation information may be used as distributed network live telecast server schedule video gateway next time Basis.
S208, distributed network live telecast server respond the update request, update the target video gateway The resource occupation information and the live streaming audience information.
As an alternative embodiment, distributed network live telecast server is detecting the target video gateway In the case where the video content push failure identified to playback terminal push for the target channel, the target is received The push failure command that services video gateway is sent;
Distributed network live telecast server responds the push failure command, and the push failure command is forwarded to The playback terminal.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
Referring to Fig. 3, Fig. 3 is a kind of process for distributed network live telecast method that third embodiment of the invention provides Schematic diagram, as shown in Figure 3, comprising the following steps:
S301, distributed network live telecast server receive the channel list request that the playback terminal is sent.
Wherein, the playback terminal sends frequency to distributed network live telecast server by Internet protocols such as http Road list request.Distributed network live telecast server can be the http web server of standard, such as nginx, Apache etc. can be built in the form of cluster cluster or Cloud Server, with cope with magnanimity playback terminal send Channel list request.
S302, distributed network live telecast server respond the channel list request, and Xiang Suoshu playback terminal returns Channel list data.
S303, distributed network live telecast server obtain the resource information and channel identication set of M video gateway, The M is positive integer.
Wherein, the resource information of the video gateway includes: (1) video gateway while being received and converted to IP Streaming Media Highest channel number, for example, the video gateway is configured with 8 tuners and demodulator, then the video gateway has 8 roads simultaneously Transcoding capabilities, the highest channel number that IP Streaming Media is received and converted to while capable of supporting is 8.(2) on the video gateway Row arrives the maximum bandwidth of internet.
The channel identication set is the set of the channel identication for the television channel that the video gateway receives.
Optionally, the distributed network live telecast server obtains the resource information and channel mark of M video gateway Before knowing set, following steps can also be performed:
The distributed network live telecast server obtains the corresponding channel identication subclass of M video gateway;
The distributed network live telecast server is based on the M channel identication subclass and executes union operation to obtain The channel identication set is taken, wherein any two channel identication in the channel identication set is different.
After video gateway powers on, the digital TV channel that this function receives is searched for first, then by the resource of the machine Ability and channel list are uploaded to distributed network live telecast server.Distributed network live telecast server can be to M The channel list of video gateway transmission carries out the processing of " duplicate removal ", that is, removes the duplicate channel of title, ultimately form channel identication Set.
S304, distributed network live telecast server receive the configuration for the carrying playback terminal that playback terminal is sent The playing request of information and the play command for target channel mark, the target channel mark is the channel identication set In a channel identication.
Wherein, the playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, tablet computer, This embodiment is not limited.
Wherein, the configuration information includes the ID number of playback terminal, IP address and port numbers for receiving video flowing.
S305, distributed network live telecast server respond the playing request, according to the resource information, described A video gateway is selected to provide the target video of video content transmission service as to the playback terminal in M video gateway Gateway.
Wherein, if distributed network live telecast server selects a video gateway to make in the M video gateway In target video gateway procedures to provide from video content transmission service to the playback terminal, selection fails, then distributed network Network live telecast server will return to selection failed message to the playback terminal.
S306, distributed network live telecast server carry the playback terminal to target video gateway push Configuration information video content push request.
As an alternative embodiment, video content push request be used to indicate the target video gateway to Video content of the playback terminal push for target channel mark.
Wherein, the configuration information includes IP address and the port that the playback terminal is used to receive video flowing.
After target video gateway receives the video content push request, if having had other on this video gateway Playback terminal watches identical video content, then after the video flowing of target channel mark directly being replicated one point, is sent to described The IP address of playback terminal and port.It, should if there is no other playback terminals to watch identical video content on this video gateway Target video gateway be tuned to specified DVB channel transcoding again after the demodulation of DVB channel data, descrambling is packaged into IP data packet Crossfire is sent to IP address and the port of the playback terminal, and playback terminal can play after receiving video flowing.
S307, distributed network live telecast server are pushed in the detection target video gateway to the playback terminal It is pushed in successful situation for the video content of target channel mark, receives the push that the target video gateway is sent Success instructs and updates request.
Wherein, the resource occupation information and live streaming audience information for updating request and carrying the target video gateway;
Wherein, the resource occupation information may include the target video gateway occupied reception resource, received Number of channels, received channel designation and ID, be currently sent to concurrent IP Media Stream number, the upstream bandwidth of playback terminal Occupancy situation, the resource occupation information may be used as distributed network live telecast server schedule video gateway next time Basis.
S308, distributed network live telecast server respond the update request, update the target video gateway The resource occupation information and the live streaming audience information.
S309, distributed network live telecast server exit the feelings of live streaming request detecting that the playback terminal is sent Under condition, the address of the target video gateway is searched for.
S310, distributed network live telecast server send according to the address of the target video gateway and stop live streaming Message gives the target video gateway.
As an alternative embodiment, distributed network live telecast server was sent out to the playback terminal period Test bag is sent, whether the test bag is online for detecting the playback terminal;
In the case that distributed network live telecast server detects that the playback terminal is not online, sends and stop live streaming Message gives the target video gateway;
S311, distributed network live telecast server receive the operating result of the target video gateway feedback, according to The operating result of target video gateway feedback updates the resource occupation information of the target video gateway and described straight Broadcast audience information.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is for executing embodiment of the present invention method one to three The method of realization, for ease of description, only parts related to embodiments of the present invention are shown, and particular technique details does not disclose , please refer to the embodiment of the present invention one to three.
Referring to Fig. 4, Fig. 4 is a kind of structure of distributed network live telecast device disclosed in fourth embodiment of the invention Schematic diagram.As shown in figure 4, the device includes:
First obtains module 401, and for obtaining the resource information and channel identication set of M video gateway, the M is positive Integer.
Wherein, the resource information of the video gateway includes: (1) video gateway while being received and converted to IP Streaming Media Highest channel number, for example, the video gateway is configured with 8 tuners and demodulator, then the video gateway has 8 roads simultaneously Transcoding capabilities, the highest channel number that IP Streaming Media is received and converted to while capable of supporting is 8.(2) on the video gateway Row arrives the maximum bandwidth of internet.
The channel identication set is the set of the channel identication for the television channel that the video gateway receives.
First receiving module 402, the configuration information and needle of the carrying playback terminal for receiving playback terminal transmission To the playing request of the play command of target channel mark, the target channel mark is one in the channel identication set Channel identication.
Wherein, the playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, tablet computer, This embodiment is not limited.
Wherein, the configuration information includes the ID number of playback terminal, IP address and port numbers for receiving video flowing.
Selecting module 403, for responding the playing request, according to the resource information, in the M video gateway A video gateway is selected to provide the target video gateway of video content transmission service as to the playback terminal.
Pushing module 404, for carrying the configuration information of the playback terminal to target video gateway push Video content push request.
Wherein, the configuration information includes IP address and the port that the playback terminal is used to receive video flowing.
After target video gateway receives the video content push request, if having had other on this video gateway Playback terminal watches identical video content, then after the video flowing of target channel mark directly being replicated one point, is sent to described The IP address of playback terminal and port.It, should if there is no other playback terminals to watch identical video content on this video gateway Target video gateway be tuned to specified DVB channel transcoding again after the demodulation of DVB channel data, descrambling is packaged into IP data packet Crossfire is sent to IP address and the port of the playback terminal, and playback terminal can play after receiving video flowing.
As an alternative embodiment, described device can also include:
Second obtains module, for obtaining the corresponding channel identication subclass of M video gateway;
Deduplication module, for executing union operation based on the M channel identication subclass to obtain the channel identication Set, wherein any two channel identication in the channel identication set is different.
Wherein, after video gateway powers on, the digital TV channel that this function receives is searched for first, then by the machine Resource capability and channel list are uploaded to distributed network live telecast server.Distributed network live telecast server can be right The channel list of M video gateway transmission carries out the processing of " duplicate removal ", that is, removes the duplicate channel of title, ultimately form channel mark Know set.
As an alternative embodiment, video content push request be used to indicate the target video gateway to Video content of the playback terminal push for target channel mark.
As an alternative embodiment, described device can also include:
Second receiving module, the channel list request sent for receiving the playback terminal.
Wherein, the playback terminal sends frequency to distributed network live telecast server by Internet protocols such as http Road list request.Distributed network live telecast server can be the http web server of standard, such as nginx, Apache etc. can be built in the form of cluster cluster or Cloud Server, with cope with magnanimity playback terminal send Channel list request.
Return module, for responding the channel list request, Xiang Suoshu playback terminal returns to channel list data.
As an alternative embodiment, described device can also include:
Detection module, for detecting the target video gateway to playback terminal push for the target channel mark Whether the video content of knowledge pushes success;
Third receiving module is directed to for detecting the target video gateway in detection module to playback terminal push The video content of the target channel mark pushes in successful situation, receives the push success that the target video gateway is sent Instruction and update request;
Wherein, the resource occupation information and live streaming audience information for updating request and carrying the target video gateway.
Wherein, the resource occupation information may include the target video gateway occupied reception resource, received Number of channels, received channel designation and ID, be currently sent to concurrent IP Media Stream number, the upstream bandwidth of playback terminal Occupancy situation, the resource occupation information may be used as distributed network live telecast server schedule video gateway next time Basis.
First update module updates the resource occupation of the target video gateway for responding the update request Information and the live streaming audience information.
As an alternative embodiment, described device can also include:
4th receiving module is directed to for detecting the target video gateway in detection module to playback terminal push In the case where the video content push failure of the target channel mark, the push that the destination service video gateway is sent is received Failure command;
The push failure command is forwarded to the broadcasting eventually for responding the push failure command by forwarding module End.
As an alternative embodiment, described device can also include:
Search module, for searching for the mesh in the case where detecting that live streaming request is exited in the playback terminal transmission Mark the address of video gateway;
First sending module sends for the address according to the target video gateway and stops live streaming message to the mesh Mark video gateway;
Second update module, for receiving the operating result of the target video gateway feedback, according to the target video Gateway feedback operating result, update the target video gateway the resource occupation information and the live streaming audience information.
As an alternative embodiment, described device can also include:
Second sending module, for sending test bag to the playback terminal period, the test bag is described for detecting Whether playback terminal is online;
Third sending module stops live streaming message for sending in the case where detecting that the playback terminal is not online To the target video gateway;
Third update module, for receiving the operating result of the target video gateway feedback, according to the target video Gateway feedback operating result, update the target video gateway the resource occupation information and the live streaming audience information.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
Referring to FIG. 5, Fig. 5 is a kind of structure of distributed network live telecast device disclosed in fifth embodiment of the invention Schematic diagram.As shown, the distributed network live telecast device in the embodiment of the present invention includes: at least one processor 501, Such as CPU, at least one receiver 503, at least one processor 504, at least one transmitter 505, at least one communication are total Line 502.Wherein, communication bus 502 is for realizing the connection communication between these components.Wherein, device in the embodiment of the present invention Receiver 503 and transmitter 505 can be wired sending port, or wireless device is used for example including antenna assembly In the communication for carrying out signaling or data with other node apparatus.Memory 504 can be high speed RAM memory, be also possible to non- Unstable memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 504 is optionally gone back It can be at least one storage device for being located remotely from aforementioned processor 501.Batch processing code is stored in memory 504, and Processor 501 is for calling the program code stored in memory, for performing the following operations:
The processor 501 obtains the resource information and channel identication set of M video gateway, and the M is positive integer.
Wherein, the resource information of the video gateway includes: (1) video gateway while being received and converted to IP Streaming Media Highest channel number, for example, the video gateway is configured with 8 tuners and demodulator, then the video gateway has 8 roads simultaneously Transcoding capabilities, the highest channel number that IP Streaming Media is received and converted to while capable of supporting is 8.(2) on the video gateway Row arrives the maximum bandwidth of internet.
The channel identication set is the set of the channel identication for the television channel that the video gateway receives.
As an alternative embodiment, the processor 501 obtains the resource information and channel mark of M video gateway Before knowing set, following steps can also be performed:
The processor 501 obtains the corresponding channel identication subclass of the M video gateway;
The processor 501 is based on M channel identication subclass execution union operation to obtain the channel identication set, Any two channel identication wherein in the channel identication set is different.
Wherein, after video gateway powers on, the digital TV channel that this function receives is searched for first, then by the machine Resource capability and channel list are uploaded to distributed network live telecast server.Distributed network live telecast server can be right The channel list of M video gateway transmission carries out the processing of " duplicate removal ", that is, removes the duplicate channel of title, ultimately form channel mark Know set.
The processor 501 receives the configuration information for the carrying playback terminal that playback terminal is sent and for target frequency The playing request of the play command of road mark, the target channel mark are a channel marks in the channel identication set Know.
Wherein, the playback terminal can be the intelligent terminals such as network television-set top-set-box, teleputers, tablet computer, This embodiment is not limited.
Wherein, the configuration information includes the ID number of playback terminal, IP address and port numbers for receiving video flowing.
The processor 501 responds the playing request, according to the resource information, selects in the M video gateway A video gateway is selected as to the playback terminal, the target video gateway of video content transmission service is provided.
Wherein, if the processor 501 selects a video gateway as to the broadcasting in the M video gateway Terminal is provided in the target video gateway procedures of video content transmission service, and selection failure, then distributed network live telecast takes Business device will return to selection failed message to the playback terminal.
The processor 501 carries the video of the configuration information of the playback terminal to target video gateway push Content push request.
As an alternative embodiment, video content push request be used to indicate the target video gateway to Video content of the playback terminal push for target channel mark.
Wherein, the configuration information includes IP address and the port that the playback terminal is used to receive video flowing.
After target video gateway receives the video content push request, if having had other on this video gateway Playback terminal watches identical video content, then after the video flowing of target channel mark directly being replicated one point, is sent to described The IP address of playback terminal and port.It, should if there is no other playback terminals to watch identical video content on this video gateway Target video gateway be tuned to specified DVB channel transcoding again after the demodulation of DVB channel data, descrambling is packaged into IP data packet Crossfire is sent to the address IP and port of the playback terminal, and playback terminal can play after receiving video flowing.
As an alternative embodiment, the processor 501 receives the carrying broadcasting of playback terminal transmission eventually The configuration information at end and for target channel mark play command playing request before, following steps can also be performed:
The processor 501 receives the channel list request that the playback terminal is sent.
The processor 501 responds the channel list request, and Xiang Suoshu playback terminal returns to channel list data.
Wherein, the playback terminal sends frequency to distributed network live telecast server by Internet protocols such as http Road list request.Distributed network live telecast server can be the http web server of standard, such as nginx, Apache etc. can be built in the form of cluster cluster or Cloud Server, with cope with magnanimity playback terminal send Channel list request.
As an alternative embodiment, the processor 501 carried to target video gateway push it is described After the video content push request of the configuration information of playback terminal, following steps can also be performed:
The processor 501 is detecting the target video gateway to playback terminal push for the target channel The video content of mark pushes in successful situation, and the push for receiving the target video gateway transmission successfully instructs and update is asked It asks;
Wherein, the resource occupation information and live streaming audience information for updating request and carrying the target video gateway;
Wherein, the resource occupation information may include the target video gateway occupied reception resource, received Number of channels, received channel designation and ID, be currently sent to concurrent IP Media Stream number, the upstream bandwidth of playback terminal Occupancy situation, the resource occupation information may be used as distributed network live telecast server schedule video gateway next time Basis.
The processor 501 responds the update request, updates the resource occupation information of the target video gateway With the live streaming audience information.
As an alternative embodiment, described carry the playback terminal to target video gateway push After the video content push request of configuration information, following steps can also be performed:
The processor 501 is detecting the target video gateway to playback terminal push for the target channel In the case where the video content push failure of mark, the push failure command that the destination service video gateway is sent is received;
The processor 501 responds the push failure command, and the push failure command is forwarded to the broadcasting eventually End.
As an alternative embodiment, the processor 501 responds the update request, the network direct broadcasting control After the resource occupation information of target video gateway described in server update and the live streaming audience information, it can also be performed Following steps:
The processor 501 searches for the mesh in the case where detecting that live streaming request is exited in the playback terminal transmission Mark the address of video gateway;
The processor 501 sends stopping live streaming message and regards to the target according to the address of the target video gateway Frequency gateway;
The processor 501 receives the operating result of the target video gateway feedback, according to the target video gateway The operating result of feedback, update the target video gateway the resource occupation information and the live streaming audience information.
As an alternative embodiment, the processor 501 responds the update request, the processor 501 is more After the resource occupation information of the new target video gateway and the live streaming audience information, following step can also be performed It is rapid:
The processor 501 is to playback terminal period transmission test bag, and the test bag is for detecting the broadcasting Whether terminal is online;
In the case that the processor 501 detects that the playback terminal is not online, sends and stop live streaming message to described Target video gateway;
The processor 501 receives the operating result of the target video gateway feedback, according to the target video gateway The operating result of feedback, update the target video gateway the resource occupation information and the live streaming audience information.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
Referring to Fig. 6, Fig. 6 is a kind of distributed network live telecast method, such as Fig. 6 disclosed in sixth embodiment of the invention It is shown, comprising the following steps:
S601, video gateway send resource information and channel identication to the server.
In the video for the configuration information for carrying the playback terminal that S602, the video gateway response server push Hold push request, whether detect in channel identication corresponding to the video content that the video gateway is pushing includes target Channel identication.
S603, video gateway are in detecting channel identication corresponding to video content that the video gateway is pushing In the case where target channel mark, duplication described will be directed to the mesh for the video content of target channel mark The video content of mark channel identication is sent to the playback terminal.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
Referring to Fig. 7, Fig. 7 is a kind of distributed network live telecast method, such as Fig. 7 disclosed in seventh embodiment of the invention It is shown, comprising the following steps:
S701, video gateway send resource information and channel identication to the server.
In the video for the configuration information for carrying the playback terminal that S702, the video gateway response server push Hold push request, whether detect in channel identication corresponding to the video content that the video gateway is pushing includes target frequency Road mark.
S703, video gateway are in detecting channel identication corresponding to video content that the video gateway is pushing In the case where not including target channel mark, according to target channel mark be tuned to default DVB channel, obtain the DVB channel The video data of offer handles the video data and obtains IP data packet, and Xiang Suoshu playback terminal sends IP data packet, so that The playback terminal plays the video content of the target channel mark according to the IP data packet.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
Referring to Fig. 8, Fig. 8 is a kind of structural schematic diagram of video gateway disclosed in eighth embodiment of the invention, such as Fig. 8 institute Show, described be video gateway includes: transmission unit 801 and push unit 802.
The transmission unit 801, for sending resource information and channel identication to the server.
The push unit 802, the view of the configuration information for carrying the playback terminal for response server push The request of frequency content push, Xiang Suoshu playback terminal pushing video content.
Optionally, the push unit 802, is specifically used for:
Whether detect in channel identication corresponding to the video content that the video gateway is pushing includes target channel Mark;
It include target channel in detecting channel identication corresponding to video content that the video gateway is pushing In the case where mark, duplication is directed to what the target channel identified for described for the video content of target channel mark Video content is sent to the playback terminal;
It does not include target frequency in detecting channel identication corresponding to video content that the video gateway is pushing In the case that road identifies, according to target channel mark be tuned to default DVB channel, obtain the video counts that the DVB channel provides According to handling the video data and obtain IP data packet, Xiang Suoshu playback terminal sends IP data packet, so that the playback terminal The video content of the target channel mark is played according to the IP data packet.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
Referring to FIG. 9, Fig. 9 is a kind of structure of distributed network live telecast device disclosed in ninth embodiment of the invention Schematic diagram.As shown, the distributed network live telecast device in the embodiment of the present invention includes: at least one processor 901, Such as CPU, at least one receiver 903, at least one processor 904, at least one transmitter 909, at least one communication are total Line 902.Wherein, communication bus 902 is for realizing the connection communication between these components.Wherein, device in the embodiment of the present invention Receiver 903 and transmitter 905 can be wired sending port, or wireless device is used for example including antenna assembly In the communication for carrying out signaling or data with other node apparatus.Memory 904 can be high speed RAM memory, be also possible to non- Unstable memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 904 is optionally gone back It can be at least one storage device for being located remotely from aforementioned processor 901.Batch processing code is stored in memory 904, and Processor 901 is for calling the program code stored in memory, for performing the following operations:
The processor 901 sends resource information and channel identication to the server.
The video content of the configuration information for carrying the playback terminal of 901 response server of the processor push pushes away Send request, Xiang Suoshu playback terminal pushing video content.
Optionally, the processor 901 obtain specific embodiment to playback terminal push live video content can be with It is:
The processor 901 detects in channel identication corresponding to the video content that the video gateway is pushing No includes that target channel identifies;
The processor 901 is in detecting channel identication corresponding to video content that the video gateway is pushing In the case where target channel mark, duplication described will be directed to the mesh for the video content of target channel mark The video content of mark channel identication is sent to the playback terminal;
The processor 901 is in detecting channel identication corresponding to video content that the video gateway is pushing In the case where not including target channel mark, according to target channel mark be tuned to default DVB channel, obtain the DVB channel The video data of offer handles the video data and obtains IP data packet, and Xiang Suoshu playback terminal sends IP data packet, so that The playback terminal plays the video content of the target channel mark according to the IP data packet.
As can be seen that in technical solution of the embodiment of the present invention, it, can based on the introducing of distributed network live telecast server So that the video gateway of distribution is able to manage and dispatch, thus operator be not necessarily to IDC data center buy a large amount of servers, The occupied bandwidth for reducing IDC data center simultaneously, finally cuts operating costs.
Referring to FIG. 10, Figure 10 is a kind of knot of distributed network television direct broadcast system disclosed in tenth embodiment of the invention Structure schematic diagram.As shown in Figure 10, the distributed network television direct broadcast system in the embodiment of the present invention includes:
The playback terminal 1001 carries the configuration of this playback terminal for sending playing request in the playing request Information and the play command identified for target channel;
The server 1002, for obtaining the resource information and channel identication set of the multiple video gateway;It receives The configuration information for carrying the playback terminal and asked for the broadcasting of the play command of target channel mark that playback terminal is sent It asks, the target channel mark is a channel identication in the channel identication set;The playing request is responded, according to institute Resource information is stated, a video gateway is selected to provide video content as to the playback terminal in the multiple video gateway Transmit the target video gateway of service;
The multiple video gateway 1003, for when being selected as target video gateway by the server, described in reception What server was sent send the video content push request for carrying the configuration information of the playback terminal, and handles in the video Hold push request.
Present system embodiment is used to execute the side that embodiment of the present invention method one to three and embodiment six, seven are realized Method, for ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to Fig. 1 of the embodiment of the present invention to Fig. 9.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include the part or complete of the monitoring method for any service processes recorded in above method embodiment when executing Portion's step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Device (can be personal computer, server or network equipment etc.) executes the whole of each embodiment the method for the present invention Or part steps.And storage medium above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. are various to can store program code Medium.
The above, above embodiments are only to illustrate technical solution of the present invention, rather than its limitations;Although referring to aforementioned Invention is explained in detail for embodiment, wherein those skilled in the art should understand that: it still can be right Technical solution documented by foregoing embodiments is modified or equivalent replacement of some of the technical features;And this It modifies or replaces, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (17)

1. a kind of distributed network live telecast method characterized by comprising
The resource information and channel identication set of M video gateway are obtained, the M is positive integer, the resource of the video gateway Information includes: video gateway while being received and converted to the highest channel number of IP Streaming Media and video gateway is up to internet Maximum bandwidth;
Receive the configuration information for the carrying playback terminal that playback terminal is sent and the play command for target channel mark Playing request, target channel mark is a channel identication in the channel identication set;
Respond the playing request, according to the resource information, selected in the M video gateway video gateway as The target video gateway of video content transmission service is provided to the playback terminal;
The video content push request of the configuration information of the playback terminal is carried to target video gateway push, so that The target video gateway pushing video content is to the playback terminal.
2. the method according to claim 1, wherein the resource information and channel for obtaining M video gateway Before logo collection, the method also includes:
Obtain the corresponding channel identication subclass of the M video gateway;
Union operation is executed to obtain the channel identication set, wherein the channel identication based on M channel identication subclass Any two channel identication in set is different.
3. the method according to claim 1, wherein the carrying broadcasting for receiving playback terminal transmission is eventually The configuration information at end and for target channel mark play command playing request before, the method also includes:
Receive the channel list request that the playback terminal is sent;
The channel list request is responded, Xiang Suoshu playback terminal returns to channel list data.
4. according to the method described in claim 3, it is characterized in that, it is described carried to target video gateway push it is described After the video content push request of the configuration information of playback terminal, the method also includes:
It is pushed away detecting the target video gateway to the video content that playback terminal push is identified for the target channel It send in successful situation, receives the push that the target video gateway is sent and successfully instruct and update request;
Wherein, the resource occupation information and live streaming audience information for updating request and carrying the target video gateway;
The update request is responded, the resource occupation information and live streaming rating letter of the target video gateway are updated Breath;
It is pushed away detecting the target video gateway to the video content that playback terminal push is identified for the target channel In the case where sending failure, the push failure command that the target video gateway is sent is received;
The push failure command is responded, the push failure command is forwarded to the playback terminal.
5. according to the method described in claim 4, it is characterized in that, the response update request, updates the target view After the resource occupation information of frequency gateway and the live streaming audience information, the method also includes:
In the case where detecting that live streaming request is exited in the playback terminal transmission, the address of the target video gateway is searched for;
According to the address of the target video gateway, sends and stop live streaming message to the target video gateway;
The operating result of the target video gateway feedback is received, according to the operating result that the target video gateway is fed back, more The resource occupation information of the new target video gateway and the live streaming audience information.
6. according to the method described in claim 4, it is characterized in that, the response update request updates the target video After the resource occupation information of gateway and the live streaming audience information, the method also includes:
Test bag is sent to the playback terminal period, whether the test bag is online for detecting the playback terminal;
In the case where detecting that the playback terminal is not online, sends and stop live streaming message to the target video gateway;
The operating result of the target video gateway feedback is received, according to the operating result that the target video gateway is fed back, more The resource occupation information of the new target video gateway and the live streaming audience information.
7. a kind of distributed network live telecast device, which is characterized in that described device includes:
First obtains module, and for obtaining the resource information and channel identication set of M video gateway, the M is positive integer, institute The resource information for stating video gateway includes: video gateway while the highest channel number and video for being received and converted to IP Streaming Media Maximum bandwidth of the gateway uplink to internet;
First receiving module, for receiving the configuration information of the carrying playback terminal of playback terminal transmission and for target frequency The playing request of the play command of road mark, the target channel mark are a channel marks in the channel identication set Know;
Selecting module, according to the resource information, selects one in the M video gateway for responding the playing request A video gateway provides the target video gateway of video content transmission service as to the playback terminal;
Pushing module, the video content of the configuration information for carrying the playback terminal to target video gateway push Push request, so that the target video gateway pushing video content is to the playback terminal.
8. device according to claim 7, which is characterized in that described device further include:
Second obtains module, for obtaining the corresponding channel identication subclass of the M video gateway;
Deduplication module, for executing union operation based on M channel identication subclass to obtain the channel identication set, wherein Any two channel identication in the channel identication set is different.
9. device according to claim 7, which is characterized in that described device further include:
Second receiving module, the channel list request sent for receiving the playback terminal;
Return module, for responding the channel list request, Xiang Suoshu playback terminal returns to channel list data.
10. device according to claim 9, which is characterized in that described device further include:
Detection module, for detecting the target video gateway to playback terminal push for target channel mark Whether video content pushes success;
Third receiving module, for detecting the target video gateway to playback terminal push for described in detection module The video content of target channel mark pushes in successful situation, receives the push that the target video gateway is sent and successfully instructs It is requested with updating;
Wherein, the resource occupation information and live streaming audience information for updating request and carrying the target video gateway;
First update module updates the resource occupation information of the target video gateway for responding the update request With the live streaming audience information;
4th receiving module, for detecting the target video gateway to playback terminal push for described in detection module In the case where the video content push failure of target channel mark, receives the push that the target video gateway is sent and unsuccessfully refer to It enables;
The push failure command is forwarded to the playback terminal for responding the push failure command by forwarding module.
11. device according to claim 10, which is characterized in that described device further include:
Search module, for searching for the target view in the case where detecting that live streaming request is exited in the playback terminal transmission The address of frequency gateway;
First sending module sends stopping live streaming message and regards to the target for the address according to the target video gateway Frequency gateway;
Second update module, for receiving the operating result of the target video gateway feedback, according to the target video gateway The operating result of feedback, update the target video gateway the resource occupation information and the live streaming audience information.
12. device according to claim 10, which is characterized in that described device further include:
Second sending module, for sending test bag to the playback terminal period, the test bag is for detecting the broadcasting Whether terminal is online;
Third sending module stops live streaming message to institute for sending in the case where detecting that the playback terminal is not online State target video gateway;
Third update module, for receiving the operating result of the target video gateway feedback, according to the target video gateway The operating result of feedback, update the target video gateway the resource occupation information and the live streaming audience information.
13. a kind of distributed network live telecast method, which is characterized in that the described method includes:
Video gateway sends the resource information and channel identication of the video gateway, the resource letter of the video gateway to server Breath includes: video gateway while being received and converted to the highest channel number of IP Streaming Media and video gateway is up to internet Maximum bandwidth;
The video content of the configuration information for carrying playback terminal of the video gateway response server push pushes request, to The playback terminal pushing video content.
14. according to the method for claim 13, which is characterized in that described to the playback terminal pushing video content packet It includes:
The video gateway detect in channel identication corresponding to the video content that the video gateway is pushing whether include Target channel mark;
The video gateway includes in detecting channel identication corresponding to video content that the video gateway is pushing In the case that target channel identifies, duplication, will be described for the target frequency for the video content of target channel mark The video content of road mark is sent to the playback terminal;
Video gateway does not include mesh in detecting channel identication corresponding to video content that the video gateway is pushing In the case where marking channel identication, according to target channel mark be tuned to default DVB channel, obtain the view that the DVB channel provides Frequency evidence handles the video data and obtains IP data packet, and Xiang Suoshu playback terminal sends the IP data packet, so that described Playback terminal plays the video content for target channel mark according to the IP data packet.
15. a kind of video gateway, which is characterized in that the video gateway includes:
Transmission unit, for sending the resource information and channel identication of the video gateway to server, the video gateway Resource information includes: video gateway while being received and converted to the highest channel number of IP Streaming Media and video gateway is up to mutually The maximum bandwidth of networking;
The video content of push unit, the configuration information for carrying playback terminal for response server push pushes request, To the playback terminal pushing video content.
16. video gateway according to claim 15, which is characterized in that
The push unit, specifically for detecting in channel identication corresponding to the video content that the video gateway is pushing It whether include that target channel identifies;
It include that target channel identifies in detecting channel identication corresponding to video content that the video gateway is pushing In the case where, the video content that duplication is identified for the target channel, by the video for target channel mark Content is sent to the playback terminal;
It does not include target channel mark in detecting channel identication corresponding to video content that the video gateway is pushing In the case where knowledge, according to target channel mark be tuned to default DVB channel, obtain the video data that the DVB channel provides, place Manage the video data and obtain IP data packet, Xiang Suoshu playback terminal sends IP data packet so that the playback terminal according to The IP data packet plays the video content for target channel mark.
17. a kind of distributed network television direct broadcast system, which is characterized in that the system comprises:
Playback terminal carries the configuration information of this playback terminal and for mesh for sending playing request in the playing request Mark the play command of channel identication;
Server, for obtaining the resource information and channel identication set of M video gateway, the M is positive integer, the video The resource information of gateway includes: video gateway while being received and converted in the highest channel number and video gateway of IP Streaming Media Row arrives the maximum bandwidth of internet;Receive the configuration information for the carrying playback terminal that playback terminal is sent and for target frequency The playing request of the play command of road mark, the target channel mark are a channel marks in the channel identication set Know;Respond the playing request, according to the resource information, selected in the M video gateway video gateway as The target video gateway of video content transmission service is provided to the playback terminal;
The multiple video gateway, for when being selected as target video gateway by the server, receiving the server hair The video content push request of that send the carry configuration information of the playback terminal, in Xiang Suoshu playback terminal pushing video Hold.
CN201510570240.XA 2015-09-09 2015-09-09 A kind of distributed network live telecast method, apparatus, video gateway and system Active CN105187847B (en)

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 CN105187847A (en) 2015-12-23
CN105187847B true 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)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
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
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
CN108540816B (en) * 2018-03-28 2020-03-17 腾讯科技(深圳)有限公司 Live video acquisition method and device and storage medium
CN109862376B (en) * 2019-02-28 2021-06-01 广州方硅信息技术有限公司 Live content delivery system, method and device, list server and storage medium
CN111246239B (en) * 2020-02-12 2022-07-22 广州虎牙科技有限公司 Method, system, apparatus, device and storage medium for testing live programs
CN111356006B (en) * 2020-03-13 2023-03-17 北京奇艺世纪科技有限公司 Video playing method, device, server 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
CN113364672B (en) * 2021-06-29 2022-12-30 中星电子股份有限公司 Method, device, equipment and computer readable medium for determining media gateway information
CN114268635B (en) * 2021-12-02 2023-12-15 珠海迈科智能科技股份有限公司 System and method for positioning P2P streaming media file and selecting node
CN116033018A (en) * 2022-11-29 2023-04-28 威创集团股份有限公司 Media resource release method and device, storage medium and media gateway
CN117478924B (en) * 2023-12-27 2024-05-14 江西拓世智能科技股份有限公司 Digital live broadcast control method and related device based on artificial intelligence

Citations (6)

* Cited by examiner, † Cited by third party
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
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
CN104869428A (en) * 2015-05-07 2015-08-26 深圳创维数字技术有限公司 Resource sharing method and system, and related devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8621035B2 (en) * 2010-07-15 2013-12-31 Broadcom Corporation Method and system for providing content remotely via one or more IP multimedia residential gateways
US9154528B2 (en) * 2013-10-07 2015-10-06 Futurewei Technologies, Inc. Distributed media gateways

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
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
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

Also Published As

Publication number Publication date
CN105187847A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105187847B (en) A kind of distributed network live telecast method, apparatus, video gateway and system
US9450818B2 (en) Method and system for utilizing a gateway to enable peer-to-peer communications in service provider networks
CN104704793B (en) For the method and apparatus of the processing of multi-medium data
CN102377578B (en) Network node and method for registering Virtual local srea network (vlan)
KR100753026B1 (en) Broadcast hand-over in a wireless network
JP5485134B2 (en) Robust file cast for mobile TV
US9853718B2 (en) Dynamically adjusting the transmission mode in a satellite communication system
CN111355798A (en) Data distribution method and system
US9660836B2 (en) Network topology discovery
US8660123B2 (en) Broadcast-content transmission apparatus, and broadcast-content transmission method
CN104935949B (en) A kind of live video data method for down loading, apparatus and system
JP6483797B2 (en) Method and apparatus for receiving broadcast services including switching between digital audio broadcast (DAB) transmission and enhanced multimedia broadcast / multicast (EMBMS) transmission
US7143179B2 (en) Method and system for parallel data transmission on demand to an unlimited number of clients without acknowledgment and on the basis of constant data availability
CN101662687B (en) Digital broadcasting system and apparatus
CN101771551B (en) Method for streaming media distribution in virtual special multicasting service, device and system thereof
US10721597B2 (en) System and method of providing multimedia service to a user equipment
CN101820391A (en) Route forwarding method used for IP network and network equipment
CN101305552B (en) Method and system for voting optimum route in multicast
CN116938907A (en) Data transmission method and system of real-time audio and video transmission network
TW201724863A (en) Streaming service system, streaming service method and streaming service controlling device
US20130263198A1 (en) Two-way asymmetric internet data communication using a broadcast television signal
RU2533181C2 (en) Broadcasting service provision method
US11882340B2 (en) Content distribution system, unicast multicast converter, content distribution method and content distribution program
JP2010147802A (en) Receiving terminal which receives packet whose header is compressed
EP4012975B1 (en) Method and system for usage-optimization in a communication network

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