CN106488263A - Push the method and device of live broadcast stream media data - Google Patents

Push the method and device of live broadcast stream media data Download PDF

Info

Publication number
CN106488263A
CN106488263A CN201610940599.6A CN201610940599A CN106488263A CN 106488263 A CN106488263 A CN 106488263A CN 201610940599 A CN201610940599 A CN 201610940599A CN 106488263 A CN106488263 A CN 106488263A
Authority
CN
China
Prior art keywords
server
live
broadcast stream
stream media
media data
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.)
Pending
Application number
CN201610940599.6A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610940599.6A priority Critical patent/CN106488263A/en
Publication of CN106488263A publication Critical patent/CN106488263A/en
Pending legal-status Critical Current

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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • 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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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/233Processing of audio elementary streams
    • H04N21/2335Processing of audio elementary streams involving reformatting operations of audio signals, e.g. by converting from one coding standard to another
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Present disclose provides pushing the method and device of live broadcast stream media data, wherein, methods described includes:Destination server is determined in the server cluster as live telecasting relay node;Live source data is obtained from predetermined server by the destination server;By the destination server by live broadcast stream media data-pushing to spectator client, the live broadcast stream media data are the stream medium datas obtained after the live source data carries out transcoding process;Wherein, the multi-medium data of the live source data to be main broadcaster's client gather and upload to during the live predetermined server.The disclosure can share the traffic pressure of predetermined server by the use of the server cluster as live telecasting relay node, so as to effectively mitigate the interim card situation of spectator client, lift live quality, and availability is high, and improves Consumer's Experience.

Description

Push the method and device of live broadcast stream media data
Technical field
It relates to the communications field, more particularly to pushes the method and device of live broadcast stream media data.
Background technology
In correlation technique, predetermined server after the live source data for receiving main broadcaster's client upload, to described straight Broadcasting source data carries out transcoding process, obtains corresponding live broadcast stream media data.Further, the predetermined server will be described straight Broadcasting flow-medium data is pushed to spectator client.
But, in actual applications, if magnanimity spectator client synchronously initiates to obtain the data of live broadcast stream media data When request is obtained, the predetermined server resource pressure can be caused larger, it is impossible to ensure live quality, can also cause spectators client Situations such as there is interim card in end, poor user experience.
Content of the invention
In view of this, present disclose provides pushing the method and device of live broadcast stream media data, to solve in correlation technique Deficiency.
According to the embodiment of the present disclosure in a first aspect, provide a kind of push live broadcast stream media data method, methods described Including:
Destination server is determined in the server cluster as live telecasting relay node;
Live source data is obtained from predetermined server by the destination server;
By the destination server by live broadcast stream media data-pushing to spectator client, the live broadcast stream media data It is the stream medium data obtained after the live source data carries out transcoding process;
Wherein, to be main broadcaster's client gather and upload to the predetermined server during live to the live source data Multi-medium data.
Alternatively, the determination destination server in the server cluster as live telecasting relay node, including:
Obtain the load information of itself reported as each server in the server cluster of live telecasting relay node;
According to the load information, the respective weighted value of each server is determined;
Using the maximum server of weighted value described in the server cluster as the destination server.
Alternatively, the load information includes at least one in load value and resource utilization;
Described the respective weighted value of each server is determined according to the load information, including:
According to the default corresponding relation between load information and weighted value, the respective weight of each server is determined Value;
The default corresponding relation includes:
Load value is inversely proportional to weighted value, and resource benefit rate is inversely proportional to weighted value.
Alternatively, methods described also includes:
Determine the total load value of the server cluster as live telecasting relay node;
When the total load value exceedes preset value, add preassigned alternative services in the server cluster Device.
Alternatively, methods described also includes:
Receive the data acquisition request of live broadcast stream media data described in the acquisition request that spectator client sends;
After determination receives the data acquisition request, execute described by the destination server from preset service The step of device obtains live source data.
Alternatively, described by the destination server by live broadcast stream media data-pushing to spectator client after, institute Stating method also includes:
Row cache is entered to the live broadcast stream media data.
According to the second aspect of the embodiment of the present disclosure, a kind of device for pushing live broadcast stream media data, described device is provided Including:
First determining module, is configured to determine destination server in the server cluster as live telecasting relay node;
First acquisition module, is configured to the destination server and obtains live source data from predetermined server;
Pushing module, is configured to the destination server by live broadcast stream media data-pushing to spectator client, The live broadcast stream media data are the stream medium datas obtained after the live source data carries out transcoding process;
Wherein, to be main broadcaster's client gather and upload to the predetermined server during live to the live source data Multi-medium data.
Alternatively, first determining module includes:
Acquisition submodule, is configured to what acquisition was reported as each server in the server cluster of live telecasting relay node The load information of itself;
First determination sub-module, is configured to according to the load information, determines the respective weight of each server Value;
Second determination sub-module, is configured to the server that weighted value described in the server cluster is maximum as institute State destination server.
Alternatively, the load information includes at least one in load value and resource utilization;
First determination sub-module includes:
Determining unit, is configured to according to the default corresponding relation between load information and weighted value, determine described each The respective weighted value of server;
The default corresponding relation includes:
Load value is inversely proportional to weighted value, and resource benefit rate is inversely proportional to weighted value.
Alternatively, described device also includes:
Second determining module, the total load value of the server cluster being configured to determine that as live telecasting relay node;
Add module, when being configured as the total load value more than preset value, adds pre- in the server cluster The alternate servers that first specifies.
Alternatively, described device also includes:
Second acquisition module, is configured to receive live broadcast stream media data described in the acquisition request that spectator client sends Data acquisition request;
Control module, is configured to after determination receives the data acquisition request, controls described first to obtain mould Block obtains live source data by the destination server from predetermined server.
Alternatively, described device also includes:
Cache module, is configured to enter row cache to the live broadcast stream media data.
According to the third aspect of the embodiment of the present disclosure, a kind of device for pushing live broadcast stream media data is provided, including:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
Destination server is determined in the server cluster as live telecasting relay node;
Live source data is obtained from predetermined server by the destination server;
By the destination server by live broadcast stream media data-pushing to spectator client, the live broadcast stream media data It is the stream medium data obtained after the live source data carries out transcoding process;
Wherein, to be main broadcaster's client gather and upload to the predetermined server during live to the live source data Multi-medium data.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
In the embodiment of the present disclosure, destination server can be determined in the server cluster as live telecasting relay node, from And live source data is obtained from predetermined server by the destination server.Wherein, the live source data is main broadcaster client Hold the multi-medium data that the predetermined server is gathered and is uploaded to during live.Further, then by the target By live broadcast stream media data-pushing to spectator client, the live broadcast stream media data are that the live source data is carried out to server The stream medium data that transcoding is obtained after processing.In said process, as live source data is distributed to different destination servers, The traffic pressure of predetermined server has been shared by the use of the server cluster as live telecasting relay node, so as to effectively mitigate spectators The interim card situation of client, lifts live quality, and availability is high, and improves Consumer's Experience.
In the embodiment of the present disclosure, it is alternatively possible to allow service as each in the server cluster of live telecasting relay node Device all reports the load information of itself.So as to according to the load information, determine the respective weighted value of each server. Using the maximum server of weighted value described in the server cluster as destination server.By said process so that according to The destination server that load information determines can share the traffic pressure of predetermined server, lift live quality.
In the embodiment of the present disclosure, believe as the load that each server in the server cluster of live telecasting relay node is reported Breath can include at least one in load value and resource utilization.When the weighted value of each server is determined, load value is got over Little weighted value is higher, and the less weighted value of same resource utilization is also higher.As such, it is possible to allow load value and/or resource utilization Little server shares the traffic pressure of predetermined server as destination server, equally improves live quality.
In the embodiment of the present disclosure, transcoding process is carried out to the live source data, obtain mating with the spectator client Live broadcast stream media data, so as to by the destination server by the live broadcast stream media data-pushing to spectator client. By said process, the transcoding processing procedure that will be executed by the predetermined server originally, be converted to by the destination server Execute.Even if having magnanimity spectator client synchronously to initiate to obtain the data acquisition request of live broadcast stream media data, it is also possible to by not Same destination server executes transcoding process to correspond to, and so as to obtain corresponding live broadcast stream media data, effectively mitigates spectators objective The interim card situation at family end, improves Consumer's Experience.
In the embodiment of the present disclosure, when the total load value of the server cluster as live telecasting relay node exceedes preset value When, default alternate servers can be added in the server cluster.So as to realize as described in live telecasting relay node The dynamic capacity-expanding of server cluster, mitigates the traffic pressure of former server cluster, it is ensured that the performance of server cluster.
In the embodiment of the present disclosure, it is alternatively possible to receive the acquisition request of spectator client transmission in server cluster After the data acquisition request of live broadcast stream media data, just the destination server by determining obtains live source from predetermined server Data.So as to avoid when spectator client need not obtain live broadcast stream media data, still obtain from predetermined server described straight Broadcast the problem of source data, it is to avoid traffic pressure and the wasting of resources is caused to predetermined server.
In the embodiment of the present disclosure, row cache can be entered to the live broadcast stream media data, so as to quick response subsequent audiences The data acquisition request that client is initiated, reduces the live delay situation of spectator client.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the enforcement for meeting the disclosure Example, and be used for together with specification explaining the principle of the disclosure.
Figure 1A to Figure 1B is that the scene of push live broadcast stream media data of the disclosure according to an exemplary embodiment is shown It is intended to;
Fig. 2 is a kind of method flow of push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Fig. 3 is another kind of method flow that push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Fig. 4 is that another kind of scene that push live broadcast stream media data of the disclosure according to an exemplary embodiment is illustrated Figure;
Fig. 5 is another kind of method flow that push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Fig. 6 is another kind of method flow that push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Fig. 7 is a kind of device block diagram of push live broadcast stream media data of the disclosure according to an exemplary embodiment;
Fig. 8 is another kind of device frame that push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Fig. 9 is another kind of device frame that push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Figure 10 is another kind of device frame that push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Figure 11 is another kind of device frame that push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Figure 12 is another kind of device frame that push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Figure 13 is another kind of device frame that push live broadcast stream media data of the disclosure according to an exemplary embodiment Figure;
Figure 14 is a kind of device for push live broadcast stream media data of the disclosure according to an exemplary embodiment A structural representation.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some that described in detail in claims, the disclosure.
It is the purpose only merely for description specific embodiment in the term of disclosure operation, and is not intended to be limiting the disclosure. " one kind ", " described " and " being somebody's turn to do " for the singulative run in disclosure and the accompanying claims book is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that the term "and/or" of operation is referred to and is wrapped herein Containing one or more associated any or all possible combination for listing project.
It will be appreciated that though using term first, second, third, etc. various information may be described in the disclosure, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, as word that this is run " if " can be construed to " and ... when " or " when ... When " or " in response to determining ".
A kind of scene of the push live broadcast stream media data with reference to Figure 1A according to an exemplary embodiment is illustrated Figure, another kind of schematic diagram of a scenario that push live broadcast stream media data of the Figure 1B according to an exemplary embodiment, to the disclosure Application scenarios illustrate.
In application scenarios shown in Figure 1A, the live source data for collecting is uploaded to preset service by main broadcaster's client 100 Device 200.Server cluster 300 as live telecasting relay node is determined after destination server 300-1,200 meeting of predetermined server The live source data is transmitted to the destination server 300-1.By the destination server 300-1 by the live source number According to the live broadcast stream media data-pushing obtained after transcoding is processed to spectator client 400.
In application scenarios shown in Figure 1B, if the number of spectator client 400 is more, can be by the server set Group 300 determines different destination server 300-1, destination server 300-2 and destination server 300-3, respectively will be live Stream medium data is pushed to corresponding spectator client 400.
As shown in Fig. 2 Fig. 2 is a kind of method of the push live broadcast stream media data according to an exemplary embodiment, Comprise the following steps:
In a step 101, destination server is determined in the server cluster as live telecasting relay node.
In this step, arbitrarily a server can be chosen in the server cluster as live telecasting relay node, and should Server is used as destination server.
In a step 102, live source data is obtained from predetermined server by the destination server.
In the embodiment of the present disclosure, main broadcaster's client can gather live source data, the live source data according to correlation technique The multi-medium data of the predetermined server that to be main broadcaster's client gather and upload to during live.Alternatively, described straight Broadcasting source data can include video data and voice data.In the embodiment of the present disclosure, the video can be gathered by camera Data, gather the voice data by microphone.The above-mentioned live source data for collecting can be uploaded by main broadcaster's client To preassigned server, i.e. predetermined server.
In this step, the destination server can send live source data acquisition request and arrive the predetermined server, with Make the predetermined server request be obtained according to the live source data, the live source data is transmitted to the destination service Device.
In step 103, by the destination server by live broadcast stream media data-pushing to spectator client, described straight Broadcasting flow-medium data is the stream medium data obtained after the live source data carries out transcoding process.
In this step, transcoding process can be carried out to the live source data by decoder according to correlation technique, described The process that transcoding is processed includes to be decoded processing the live source data according to correlation technique, obtains video data therein And voice data, further, pass through coded treatment according to correlation technique, the video data and the voice data are synthesized It is the live broadcast stream media data that mates with the spectator client.Certainly, can also add in the live broadcast stream media data Enter the content of text that specifies, such as watermark, comment captions etc..
In the embodiment of the present disclosure, in order to ensure live quality, each server in the server cluster is supported Transcoding is processed and can be adapted to different decoders.
Further, the live broadcast stream media data-pushing to corresponding spectator client is by the destination server Can.
In above-described embodiment, destination server can be determined in the server cluster as live telecasting relay node, so as to Live source data is obtained from predetermined server by the destination server.Wherein, the live source data is main broadcaster's client The multi-medium data of the predetermined server is gathered and is uploaded to during live.Further, then by the target take By live broadcast stream media data-pushing to spectator client, the live broadcast stream media data are that the live source data carries out turning to business device The stream medium data that code is obtained after processing.In said process, as live source data is distributed to different destination servers, i.e., The traffic pressure of predetermined server has been shared by the use of the server cluster as live telecasting relay node, can effectively mitigate spectators visitor The interim card situation at family end, lifts live quality, and availability is high, and improves Consumer's Experience.
In the disclosed embodiments, the destination server for determining in step 101 arbitrarily can be chosen, but be present to ensure that clothes The performance of business device cluster, it is alternatively possible to the load information reported according to each server is determining the destination server.Step Rapid 101 as shown in figure 3, Fig. 3 is another kind of push live broadcast stream media data illustrated on the basis of aforementioned embodiment illustrated in fig. 2 Method, comprise the following steps:
In step 101-1, itself that report as each server in the server cluster of live telecasting relay node is obtained Load information.
In this step, each server in the server cluster can report the load of itself to believe according to correlation technique Breath.Alternatively, the load information includes at least one in load value and resource utilization.Wherein, the load value is to work as The number of the terminal of front access server, the resource utilization are that currently occupied resource accounts for the server entirety to server The percentage of available resources.
In step 101-2, according to the load information, the respective weighted value of each server is determined.
In this step, each service described can be determined according to the default corresponding relation between load information and weighted value The respective weighted value of device.Wherein, the default corresponding relation includes:Load value is inversely proportional to weighted value, and resource benefit rate It is inversely proportional to weighted value.
For example, server cluster includes server a, server b server c, and above-mentioned server each reports itself Load information, as shown in table 1.
Table 1
Server name Load value Resource utilization
Server a 500 80%
Server b 360 30%
Server c 400 50%
As load value is inversely proportional to weighted value, and resource benefit rate is inversely proportional to weighted value, then mutually can should determine that The weighted value of each server is as shown in table 2.
Table 2
Server name Load value Resource utilization Weighted value
Server a 500 80% 50
Server b 360 30% 80
Server c 400 50% 70
In step 101-3, the maximum server of weighted value described in the server cluster is taken as the target Business device.
In this step, using the maximum server of weighted value described in the server cluster as the destination server. For example, using the maximum server b of weighted value in table 2 as destination server.
In above-described embodiment, as the load information that each server in the server cluster of live telecasting relay node is reported At least one in current load value and resource utilization can be included.When the weighted value of each server is determined, load value Less weighted value is higher, and the less weighted value of same resource utilization is also higher.As such, it is possible to allow load value and/or the utilization of resources The little server of rate shares the traffic pressure of predetermined server as destination server, equally improves live quality.
In the disclosed embodiments, alternatively, above-mentioned push live broadcast stream media data method as shown in figure 4, Fig. 4 be Another kind of method for pushing live broadcast stream media data illustrated on the basis of aforementioned embodiment illustrated in fig. 2, further comprising the steps of:
At step 104, determine the total load value of the server cluster as live telecasting relay node.
In this step, the value preset of the load value of each server in the server cluster can be calculated, so as to obtain State total load value.
For example, server cluster includes server a, server b server c, and above-mentioned server each reports itself Load information, as shown in Table 1 above.Then the total load value of the server cluster is:
Total load value=500+360+400=1260.
In step 105, when the total load value exceedes preset value, add in the server cluster and preassign Alternate servers.
In this step, if the total load value exceedes preset value, it is possible to add in advance in the server cluster The alternate servers that specifies.Alternatively, the number of the alternate servers can be according to the total load value and the preset value Difference determine.
For example, when the difference of the total load value and the preset value is less than 500, the number of the alternate servers is 1, when the difference of the total load value and the preset value is more than 500 and less than 1000, the number of the alternate servers is 2, The like.
Assume that alternate servers include server d server e, when the total load value is 1260, the preset value is When 1000, server d or server e can be added in the server cluster as the alternate servers.When described total When load value is 1700, server d server e can be added in the server cluster as the alternate servers.
In above-described embodiment, when the total load value of the server cluster as live telecasting relay node exceedes preset value When, default alternate servers can be added in the server cluster.So as to realize as described in live telecasting relay node The dynamic capacity-expanding of server cluster, mitigates the traffic pressure of former server cluster, it is ensured that the performance of server cluster.
In the disclosed embodiments, alternatively, above-mentioned push live broadcast stream media data method as shown in figure 5, Fig. 5 be Another kind of method for pushing live broadcast stream media data illustrated on the basis of aforementioned embodiment illustrated in fig. 2, further comprising the steps of:
In step 101 ' in, receive the data acquisition of live broadcast stream media data described in the acquisition request that spectator client sends Request.
In this step, the spectator client can initiate live broadcast stream media data described in acquisition request according to correlation technique Data acquisition request.After the server cluster receives the data acquisition request according to correlation technique, execution step 102, live source data is obtained from predetermined server by the destination server.
By said process, the acquisition request live broadcast stream media of spectator client transmission can be received in server cluster After the data acquisition request of data, just the destination server by determining obtains the live source data that predetermined server is forwarded. So as to avoid when spectator client need not obtain live broadcast stream media data, still the live source number is obtained from predetermined server According to problem, it is to avoid cause traffic pressure and the wasting of resources to predetermined server.
In the disclosed embodiments, alternatively, above-mentioned push live broadcast stream media data method as shown in fig. 6, Fig. 6 be Another kind of method for pushing live broadcast stream media data illustrated on the basis of aforementioned embodiment illustrated in fig. 2, complete step 103 it Afterwards, further comprising the steps of:
In step 103 ', row cache is entered to the live broadcast stream media data.
In this step, the destination server can be according to correlation technique by the live broadcast stream media data buffer storage to described In the designated area for being marked off on destination server in advance.
So, after the server cluster receives the data acquisition request that other spectator client send again, Destination server is still determined in the manner described above in the server cluster, now just can be quickly from the destination service The live broadcast stream media data are read in the buffer zone of device, so as to be pushed to the spectator client.
In above-described embodiment, row cache can be entered to the live broadcast stream media data, so as to quick response subsequent audiences visitor The data acquisition request that family end is initiated, reduces the live delay situation of spectator client.
In the embodiment of the present disclosure, in order to ensure live quality, can be by network management system to as live telecasting relay node Server cluster and predetermined server are monitored early warning, obtain each server status information operationally, provide operation State snapshot, and persistence status data, are periodically generated running state data form.By the network management system according to the fortune Row status data form, the running status to the server cluster and the predetermined server are analyzed.If there is different Often, webmaster personnel can be notified by modes such as mail or notes, is easy to webmaster personnel to be safeguarded in time.
Corresponding with preceding method embodiment, the disclosure additionally provides the embodiment of device.
As shown in fig. 7, Fig. 7 is a kind of push live broadcast stream media data of the disclosure according to an exemplary embodiment Device block diagram, including:
First determining module 210, is configured to determine destination service in the server cluster as live telecasting relay node Device;
First acquisition module 220, is configured to the destination server and obtains live source data from predetermined server;
Pushing module 230, is configured to the destination server by live broadcast stream media data-pushing to spectators client End, the live broadcast stream media data are the stream medium datas obtained after the live source data carries out transcoding process;
Wherein, to be main broadcaster's client gather and upload to the predetermined server during live to the live source data Multi-medium data.
As shown in figure 8, Fig. 8 is another kind of push live broadcast stream media data of the disclosure according to an exemplary embodiment Device block diagram, on the basis of aforementioned embodiment illustrated in fig. 7, first determining module 220 includes the embodiment:
Acquisition submodule 221, is configured to obtain as on each server in the server cluster of live telecasting relay node The load information of itself of report;
First determination sub-module 222, is configured to according to the load information, determines the respective power of each server Weight values;
Second determination sub-module 223, is configured to the server that weighted value described in the server cluster is maximum and makees For the destination server.
Alternatively, the load information includes at least one in load value and resource utilization.
As shown in figure 9, Fig. 9 is another kind of push live broadcast stream media data of the disclosure according to an exemplary embodiment Device block diagram, on the basis of aforementioned embodiment illustrated in fig. 8, first determination sub-module 222 includes the embodiment:
Determining unit 2221, is configured to according to the default corresponding relation between load information and weighted value, determines described The respective weighted value of each server;
The default corresponding relation includes:
Load value is inversely proportional to weighted value, and resource benefit rate is inversely proportional to weighted value.
As shown in Figure 10, Figure 10 is another kind of push live broadcast stream media number of the disclosure according to an exemplary embodiment According to device block diagram, on the basis of aforementioned embodiment illustrated in fig. 7, the pushing module 230 includes the embodiment:
Submodule 231 is processed, and is configured to transcoding process be carried out to the live source data, is obtained and the spectators client The live broadcast stream media data of end coupling;
Submodule 232 is pushed, and the destination server is configured to by the live broadcast stream media data-pushing to sight Many clients.
As shown in figure 11, Figure 11 is another kind of push live broadcast stream media number of the disclosure according to an exemplary embodiment According to device block diagram, on the basis of aforementioned embodiment illustrated in fig. 7, described device also includes the embodiment:
Second determining module 240, the total load of the server cluster being configured to determine that as live telecasting relay node Value;
Add module 250, when being configured as the total load value more than preset value, adds in the server cluster Preassigned alternate servers.
As shown in figure 12, Figure 12 is another kind of push live broadcast stream media number of the disclosure according to an exemplary embodiment According to device block diagram, on the basis of aforementioned embodiment illustrated in fig. 7, described device also includes the embodiment:
Second acquisition module 260, is configured to receive live broadcast stream media number described in the acquisition request that spectator client sends According to data acquisition request;
Control module 270, is configured to after determination receives the data acquisition request, controls described first to obtain Module obtains live source data by the destination server from predetermined server.
As shown in figure 13, Figure 13 is another kind of push live broadcast stream media number of the disclosure according to an exemplary embodiment According to device block diagram, on the basis of aforementioned embodiment illustrated in fig. 7, described device also includes the embodiment:
Cache module 280, is configured to enter row cache to the live broadcast stream media data.
For device embodiment, as which corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematically, wherein described as separating component The unit of explanation can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can be located at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
Accordingly, the disclosure also provides a kind of device for pushing live broadcast stream media data, including:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
Destination server is determined in the server cluster as live telecasting relay node;
Live source data is obtained from predetermined server by the destination server;
By the destination server by live broadcast stream media data-pushing to spectator client, the live broadcast stream media data It is the stream medium data obtained after the live source data carries out transcoding process;
Wherein, to be main broadcaster's client gather and upload to the predetermined server during live to the live source data Multi-medium data.
As shown in figure 14, Figure 14 is a kind of device of the push live broadcast stream media data according to an exemplary embodiment 1400 structural representation.For example, device 1400 may be provided in the server cluster as live telecasting relay node.Reference Figure 14, device 1400 include process assembly 1422, and which further includes one or more processors, and by 1432 institute of memory The memory resource of representative, can be by the instruction of the execution of process assembly 1422, such as application program for storage.Memory 1432 The application program of middle storage can include one or more each corresponding to one group of instruction module.Additionally, processing Component 1422 is configured to execute instruction, the method to execute above-mentioned push live broadcast stream media data.
Device 1400 can also include that power supply module 1426 be configured to the power management of performs device 1400, one Wired or wireless network interface 1450 is configured to for device 1400 to be connected to network, and input and output (I/O) interface 1450.Device 1400 can be operated based on the operating system for being stored in memory 1432, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The disclosure is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim point out.
The preferred embodiment of the disclosure is the foregoing is only, not in order to limit the disclosure, all essences in the disclosure Within god and principle, any modification, equivalent substitution and improvement that is done etc., should be included within the scope of disclosure protection.

Claims (13)

1. a kind of push live broadcast stream media data method, it is characterised in that methods described includes:
Destination server is determined in the server cluster as live telecasting relay node;
Live source data is obtained from predetermined server by the destination server;
By the destination server by live broadcast stream media data-pushing to spectator client, the live broadcast stream media data are institutes State the stream medium data obtained after live source data carries out transcoding process;
Wherein, to be main broadcaster's client gather and upload to many of the predetermined server during live to the live source data Media data.
2. method according to claim 1, it is characterised in that described in the server cluster as live telecasting relay node Determine destination server, including:
Obtain the load information of itself reported as each server in the server cluster of live telecasting relay node;
According to the load information, the respective weighted value of each server is determined;
Using the maximum server of weighted value described in the server cluster as the destination server.
3. method according to claim 2, it is characterised in that the load information is included in load value and resource utilization At least one;
Described the respective weighted value of each server is determined according to the load information, including:
According to the default corresponding relation between load information and weighted value, the respective weighted value of each server is determined;
The default corresponding relation includes:
Load value is inversely proportional to weighted value, and resource benefit rate is inversely proportional to weighted value.
4. method according to claim 1, it is characterised in that methods described also includes:
Determine the total load value of the server cluster as live telecasting relay node;
When the total load value exceedes preset value, add preassigned alternate servers in the server cluster.
5. method according to claim 1, it is characterised in that methods described also includes:
Receive the data acquisition request of live broadcast stream media data described in the acquisition request that spectator client sends;
After determination receives the data acquisition request, obtained from predetermined server by the destination server described in execution The step of taking live source data.
6. method according to claim 1, it is characterised in that described by the destination server by live broadcast stream media number After spectator client is pushed to, methods described also includes:
Row cache is entered to the live broadcast stream media data.
7. a kind of push live broadcast stream media data device, it is characterised in that described device includes:
First determining module, is configured to determine destination server in the server cluster as live telecasting relay node;
First acquisition module, is configured to the destination server and obtains live source data from predetermined server;
Pushing module, is configured to the destination server by live broadcast stream media data-pushing to spectator client, described Live broadcast stream media data are the stream medium datas obtained after the live source data carries out transcoding process;
Wherein, to be main broadcaster's client gather and upload to many of the predetermined server during live to the live source data Media data.
8. device according to claim 7, it is characterised in that first determining module includes:
Acquisition submodule, is configured to obtain itself that report as each server in the server cluster of live telecasting relay node Load information;
First determination sub-module, is configured to according to the load information, determines the respective weighted value of each server;
Second determination sub-module, is configured to the server that weighted value described in the server cluster is maximum as the mesh Mark server.
9. device according to claim 8, it is characterised in that the load information is included in load value and resource utilization At least one;
First determination sub-module includes:
Determining unit, is configured to according to the default corresponding relation between load information and weighted value, determines each service described The respective weighted value of device;
The default corresponding relation includes:
Load value is inversely proportional to weighted value, and resource benefit rate is inversely proportional to weighted value.
10. device according to claim 7, it is characterised in that described device also includes:
Second determining module, the total load value of the server cluster being configured to determine that as live telecasting relay node;
Add module, when being configured as the total load value more than preset value, adds in the server cluster and refers in advance Fixed alternate servers.
11. devices according to claim 7, it is characterised in that described device also includes:
Second acquisition module, is configured to receive the data of live broadcast stream media data described in the acquisition request that spectator client sends Obtain request;
Control module, is configured to after determination receives the data acquisition request, controls first acquisition module to lead to Cross the destination server live source data is obtained from predetermined server.
12. devices according to claim 7, it is characterised in that described device also includes:
Cache module, is configured to enter row cache to the live broadcast stream media data.
13. a kind of devices for pushing live broadcast stream media data, it is characterised in that include:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
Destination server is determined in the server cluster as live telecasting relay node;
Live source data is obtained from predetermined server by the destination server;
By the destination server by live broadcast stream media data-pushing to spectator client, the live broadcast stream media data are institutes State the stream medium data obtained after live source data carries out transcoding process;
Wherein, to be main broadcaster's client gather and upload to many of the predetermined server during live to the live source data Media data.
CN201610940599.6A 2016-10-24 2016-10-24 Push the method and device of live broadcast stream media data Pending CN106488263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610940599.6A CN106488263A (en) 2016-10-24 2016-10-24 Push the method and device of live broadcast stream media data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610940599.6A CN106488263A (en) 2016-10-24 2016-10-24 Push the method and device of live broadcast stream media data

Publications (1)

Publication Number Publication Date
CN106488263A true CN106488263A (en) 2017-03-08

Family

ID=58272974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610940599.6A Pending CN106488263A (en) 2016-10-24 2016-10-24 Push the method and device of live broadcast stream media data

Country Status (1)

Country Link
CN (1) CN106488263A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231565A (en) * 2017-07-25 2017-10-03 网宿科技股份有限公司 A kind of live task management dispatching method and its system
CN107819833A (en) * 2017-10-20 2018-03-20 贵州白山云科技有限公司 A kind of method and device for accessing live even wheat
CN108235051A (en) * 2017-12-29 2018-06-29 福建中金在线信息科技有限公司 The storage of live broadcast system and live data and acquisition methods
CN108347622A (en) * 2018-03-06 2018-07-31 腾讯科技(深圳)有限公司 Multi-medium data method for pushing, device, storage medium and equipment
CN108712422A (en) * 2018-05-18 2018-10-26 网宿科技股份有限公司 A kind of method and apparatus creating transcoding task
CN108712343A (en) * 2018-05-14 2018-10-26 网宿科技股份有限公司 Distribution method, system, fringe node and the central dispatching system of streaming media resource
CN110267026A (en) * 2019-07-05 2019-09-20 浙江开奇科技有限公司 Data processing method, mobile terminal and system based on 5G network
CN110267058A (en) * 2019-07-18 2019-09-20 世纪龙信息网络有限责任公司 Live broadcasting method, gateway, device clusters, system and device
CN110401840A (en) * 2018-07-26 2019-11-01 腾讯科技(深圳)有限公司 Information push method, device, system, electronic equipment and computer-readable medium
CN110493657A (en) * 2019-08-22 2019-11-22 兰州启源信息技术服务有限公司 OnStream intelligent online steaming media platform system
CN110808981A (en) * 2019-11-04 2020-02-18 普联技术有限公司 Video stream preview method and device
CN111405308A (en) * 2020-03-24 2020-07-10 北京三体云时代科技有限公司 Method and device for sending live audio and video data
CN112398752A (en) * 2020-11-16 2021-02-23 广州华多网络科技有限公司 Message push control method and device, equipment and medium thereof
CN112423012A (en) * 2020-11-18 2021-02-26 青岛华升联信智慧科技有限公司 Multistage-load live broadcast method
CN113891114A (en) * 2021-11-18 2022-01-04 上海哔哩哔哩科技有限公司 Transcoding task scheduling method and device

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1468002A (en) * 2002-06-27 2004-01-14 上海汉唐科技有限公司 Flow media compression, transmission and storage system based on internet
WO2008024649A1 (en) * 2006-08-25 2008-02-28 Skyclix, Inc. Phone-based broadcast audio identification
CN101287105A (en) * 2008-06-03 2008-10-15 中兴通讯股份有限公司 Load balancing method and apparatus for edge EPG server, implementing method for user login
CN102231749A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 System and method for transmitting live stream by utilizing content delivery network (CDN)
CN103036977A (en) * 2012-12-13 2013-04-10 北京奇虎科技有限公司 Business pushing method and pushing system based on content distribution network
CN103108218A (en) * 2011-11-15 2013-05-15 苏州达联信息科技有限公司 Network discovery method of video distribution network node server
CN203015044U (en) * 2012-10-26 2013-06-19 北京视达科科技有限公司 Radio and television omni-media broadcasting system
CN103634610A (en) * 2012-08-24 2014-03-12 中兴通讯股份有限公司 Live content distribution system and method
CN103957428A (en) * 2014-05-16 2014-07-30 中国科学院上海高等研究院 Streaming media server with multi-code-rate transcoding function based on many-core processor
CN104009853A (en) * 2014-06-18 2014-08-27 深圳市三峰光电科技有限公司 Method, device and system structure for requesting for and sending data in CDN system
CN104301741A (en) * 2014-09-26 2015-01-21 北京奇艺世纪科技有限公司 Data live broadcast system and method
CN104602035A (en) * 2015-02-06 2015-05-06 深圳中兴网信科技有限公司 Streaming media on-demand method and streaming media on-demand system
CN105072507A (en) * 2015-07-24 2015-11-18 南京信通科技有限责任公司 Method and system for transmitting multimedia data
CN105516739A (en) * 2015-12-22 2016-04-20 腾讯科技(深圳)有限公司 Video live broadcasting method and system, transcoding server and webpage client
CN105704155A (en) * 2016-03-31 2016-06-22 广州华多网络科技有限公司 Information push method and device
CN105744373A (en) * 2016-02-23 2016-07-06 福建星网视易信息系统有限公司 Streaming media playing method and system based on Internet
CN105872640A (en) * 2015-12-07 2016-08-17 乐视云计算有限公司 Live broadcast video obtaining method, device and system
CN105898387A (en) * 2016-03-30 2016-08-24 乐视控股(北京)有限公司 Method and device for sending streaming media data

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1468002A (en) * 2002-06-27 2004-01-14 上海汉唐科技有限公司 Flow media compression, transmission and storage system based on internet
WO2008024649A1 (en) * 2006-08-25 2008-02-28 Skyclix, Inc. Phone-based broadcast audio identification
CN101287105A (en) * 2008-06-03 2008-10-15 中兴通讯股份有限公司 Load balancing method and apparatus for edge EPG server, implementing method for user login
CN102231749A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 System and method for transmitting live stream by utilizing content delivery network (CDN)
CN103108218A (en) * 2011-11-15 2013-05-15 苏州达联信息科技有限公司 Network discovery method of video distribution network node server
US20150215661A1 (en) * 2012-08-24 2015-07-30 Zte Corporation System And Method For Distributing Live Broadcast Content
CN103634610A (en) * 2012-08-24 2014-03-12 中兴通讯股份有限公司 Live content distribution system and method
CN203015044U (en) * 2012-10-26 2013-06-19 北京视达科科技有限公司 Radio and television omni-media broadcasting system
CN103036977A (en) * 2012-12-13 2013-04-10 北京奇虎科技有限公司 Business pushing method and pushing system based on content distribution network
CN103957428A (en) * 2014-05-16 2014-07-30 中国科学院上海高等研究院 Streaming media server with multi-code-rate transcoding function based on many-core processor
CN104009853A (en) * 2014-06-18 2014-08-27 深圳市三峰光电科技有限公司 Method, device and system structure for requesting for and sending data in CDN system
CN104301741A (en) * 2014-09-26 2015-01-21 北京奇艺世纪科技有限公司 Data live broadcast system and method
CN104602035A (en) * 2015-02-06 2015-05-06 深圳中兴网信科技有限公司 Streaming media on-demand method and streaming media on-demand system
CN105072507A (en) * 2015-07-24 2015-11-18 南京信通科技有限责任公司 Method and system for transmitting multimedia data
CN105872640A (en) * 2015-12-07 2016-08-17 乐视云计算有限公司 Live broadcast video obtaining method, device and system
CN105516739A (en) * 2015-12-22 2016-04-20 腾讯科技(深圳)有限公司 Video live broadcasting method and system, transcoding server and webpage client
CN105744373A (en) * 2016-02-23 2016-07-06 福建星网视易信息系统有限公司 Streaming media playing method and system based on Internet
CN105898387A (en) * 2016-03-30 2016-08-24 乐视控股(北京)有限公司 Method and device for sending streaming media data
CN105704155A (en) * 2016-03-31 2016-06-22 广州华多网络科技有限公司 Information push method and device

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231565A (en) * 2017-07-25 2017-10-03 网宿科技股份有限公司 A kind of live task management dispatching method and its system
CN107819833A (en) * 2017-10-20 2018-03-20 贵州白山云科技有限公司 A kind of method and device for accessing live even wheat
CN108235051A (en) * 2017-12-29 2018-06-29 福建中金在线信息科技有限公司 The storage of live broadcast system and live data and acquisition methods
CN108235051B (en) * 2017-12-29 2020-08-21 福建中金在线信息科技有限公司 Live broadcast system and method for storing and acquiring live broadcast data
CN108347622B (en) * 2018-03-06 2020-06-30 腾讯科技(深圳)有限公司 Multimedia data pushing method and device, storage medium and equipment
CN108347622A (en) * 2018-03-06 2018-07-31 腾讯科技(深圳)有限公司 Multi-medium data method for pushing, device, storage medium and equipment
CN108712343A (en) * 2018-05-14 2018-10-26 网宿科技股份有限公司 Distribution method, system, fringe node and the central dispatching system of streaming media resource
CN108712422A (en) * 2018-05-18 2018-10-26 网宿科技股份有限公司 A kind of method and apparatus creating transcoding task
CN108712422B (en) * 2018-05-18 2021-05-25 网宿科技股份有限公司 Method and device for creating transcoding task
CN110401840A (en) * 2018-07-26 2019-11-01 腾讯科技(深圳)有限公司 Information push method, device, system, electronic equipment and computer-readable medium
CN110401840B (en) * 2018-07-26 2022-04-19 腾讯科技(深圳)有限公司 Message pushing method, device and system, electronic equipment and computer readable medium
CN110267026A (en) * 2019-07-05 2019-09-20 浙江开奇科技有限公司 Data processing method, mobile terminal and system based on 5G network
CN110267058A (en) * 2019-07-18 2019-09-20 世纪龙信息网络有限责任公司 Live broadcasting method, gateway, device clusters, system and device
CN110267058B (en) * 2019-07-18 2022-03-08 天翼数字生活科技有限公司 Live broadcast method, gateway, equipment cluster, system and device
CN110493657A (en) * 2019-08-22 2019-11-22 兰州启源信息技术服务有限公司 OnStream intelligent online steaming media platform system
CN110808981A (en) * 2019-11-04 2020-02-18 普联技术有限公司 Video stream preview method and device
CN111405308A (en) * 2020-03-24 2020-07-10 北京三体云时代科技有限公司 Method and device for sending live audio and video data
CN111405308B (en) * 2020-03-24 2022-05-03 北京世纪好未来教育科技有限公司 Method and device for sending live audio and video data
CN112398752A (en) * 2020-11-16 2021-02-23 广州华多网络科技有限公司 Message push control method and device, equipment and medium thereof
CN112398752B (en) * 2020-11-16 2022-04-26 广州华多网络科技有限公司 Message push control method and device, equipment and medium thereof
CN112423012A (en) * 2020-11-18 2021-02-26 青岛华升联信智慧科技有限公司 Multistage-load live broadcast method
CN113891114A (en) * 2021-11-18 2022-01-04 上海哔哩哔哩科技有限公司 Transcoding task scheduling method and device
CN113891114B (en) * 2021-11-18 2023-12-15 上海哔哩哔哩科技有限公司 Transcoding task scheduling method and device

Similar Documents

Publication Publication Date Title
CN106488263A (en) Push the method and device of live broadcast stream media data
WO2019084972A1 (en) Streaming media live broadcast method and system
US11412270B2 (en) Method and apparatus for processing multimedia file, storage medium, and electronic apparatus
US20060160522A1 (en) Method and system for managing communication in emergency communication system
EP3255849A1 (en) Multi-channel communications for sending push notifications to mobile devices
CN106330967A (en) Processing method and device of live broadcast data processing
US11252267B2 (en) Content stream integrity and redundancy system
US20180124577A1 (en) Method, Apparatus, and System for Floor Control on Multiple MCPTT Systems
CN108965932A (en) A kind of even wheat window methods of exhibiting and device
CN107066543B (en) Sensitive word filtering method and device
US20140115166A1 (en) System, method, and apparatus for determining allocation of filtering resources for the filtering of captured data packets
CN106231367A (en) U.S. face processing method and processing device
CN112188144B (en) Audio transmission method and device, storage medium and electronic device
US20180375950A1 (en) Redirection of client requests to multiple endpoints
CN108833588B (en) Session processing method and device
CN112751897A (en) Load balancing method, device, medium and equipment
EP3024225B1 (en) System and method of video streaming
CN109889521A (en) Memory, communication channel multiplexing implementation method, device and equipment
US9762516B2 (en) Variable image acquisition and processing techniques based on image data type
CN110113298B (en) Data transmission method, device, signaling server and computer readable medium
US20170034227A1 (en) System and methods for an online conference session
KR102415445B1 (en) Methods and systems for optimizing simulcast streams in group video calls
US9769097B2 (en) Extensible chat rooms in a hosted chat environment
CN107342929B (en) Method, device and system for sending new message notification
CN111741373A (en) Video data transmission method and video source equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170308