CN106961615A - A kind of live broadcasting method and system - Google Patents
A kind of live broadcasting method and system Download PDFInfo
- Publication number
- CN106961615A CN106961615A CN201710173475.4A CN201710173475A CN106961615A CN 106961615 A CN106961615 A CN 106961615A CN 201710173475 A CN201710173475 A CN 201710173475A CN 106961615 A CN106961615 A CN 106961615A
- Authority
- CN
- China
- Prior art keywords
- live
- client
- programme televised
- currently playing
- broadcasting
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2407—Monitoring of transmitted content, e.g. distribution time, number of downloads
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
This application provides a kind of live broadcasting method and system, live broadcasting method includes:Each live client plays programme televised live according to the broadcasting control parameter obtained from server, and each sends heartbeat message to server;The heartbeat message that server is sent according to each live client, count the online number scale of the respective currently playing programme televised live of each live client, and according to the online number scale of the respective currently playing programme televised live of each live client, determine broadcasting agreement of each live client each corresponding to currently playing programme televised live, broadcasting agreement corresponding to each the live client determined each currently playing programme televised live is carried in heartbeat return information respectively, sent to each live client;Each live client is each since parsing broadcasting agreement in the heartbeat return information received, and each plays programme televised live according to the broadcasting agreement parsed.In this application, balanced, the stable broadcasting of programme televised live is realized.
Description
Technical field
The application is related to multimedia technology field, more particularly to a kind of live broadcasting method and system.
Background technology
With the development of network technology, the stream such as IPTV (Internet ProtocolTelevision, network protocol television)
The application of medium technique is more and more extensive, and user can watch the flow-medium performance based on IPTV by terminal, including live
Program and request program.
Wherein, programme televised live more focuses on the stability played.However, how balanced, stable broadcasting programme televised live turns into
Problem.
The content of the invention
In order to solve the above technical problems, the embodiment of the present application provides a kind of live broadcasting method and system, with reach realize it is live
The purpose of balanced, the stable broadcasting of program, technical scheme is as follows:
A kind of live broadcasting method, including:
Each live client obtains broadcasting control parameter from server, and plays straight according to the broadcasting control parameter
Broadcast program;
Each described live client each sends heartbeat message to the server;
The heartbeat message that the server is sent according to each described live client, counts each live client
The online number scale of respective currently playing programme televised live;
The server according to the online number scale of the respective currently playing programme televised live of each described live client,
Determine broadcasting agreement of each described live client each corresponding to currently playing programme televised live;
The server is by corresponding to each the described live client determined each currently playing programme televised live
Play agreement to carry respectively in heartbeat return information, send to live client each described;
Each described live client is each each currently playing straight since being parsed in the heartbeat return information received
The broadcasting agreement corresponding to program is broadcast, and each plays programme televised live according to the broadcasting agreement parsed.
It is preferred that, the heartbeat message at least includes:Client task ID, request time stamp, broadcasting agreement, program ID,
Client release information, currently adds up reproduction time;
The heartbeat message that the server is sent according to each described live client, counts each live client
The online number scale of respective currently playing programme televised live, including:
Identical program ID in program ID in the heartbeat message that the server sends each described live client
One group is divided into, one or more program ID groups are obtained;
Count the number of program ID in each described program ID group;
It is each corresponding using the number of program ID in each the described program ID group counted as program ID groups each described
Live client currently playing programme televised live online number scale.
It is preferred that, the server according to each described live client each currently playing programme televised live in informant
Number scales, determine broadcasting agreement of each described live client each corresponding to currently playing programme televised live, including:
The server judges the online number scale of the respective currently playing programme televised live of each described live client
Whether the first number upper limit is less than;
If so, determining the broadcasting agreement of each described live client each corresponding to currently playing programme televised live to be real
When CDN agreements;
If it is not, determining that broadcasting agreement of each described live client each corresponding to currently playing programme televised live is
HCDN agreements.
It is preferred that, methods described also includes:
The online number of the respective currently playing programme televised live of the server real-time update each described live client
Scale, and according to the online number scale of the respective currently playing programme televised live of each described live client after renewal, really
The broadcasting agreement of each fixed described live client each corresponding to currently playing programme televised live.
A kind of live broadcast system, including:Server and multiple live clients;
Each described live client, control parameter is played for being obtained from the server, and is played according to described
Control parameter plays programme televised live, and each sends heartbeat message to the server, and each since the heartbeat received is replied
The broadcasting agreement corresponding to each currently playing programme televised live is parsed in information, and each according to the broadcasting agreement parsed
Play programme televised live;
The server, for the heartbeat message sent according to each described live client, counts each described live
The online number scale of the respective currently playing programme televised live of client, and each currently broadcast according to each described live client
The online number scale for the programme televised live put, determines each described live client each corresponding to currently playing programme televised live
Broadcasting agreement, and the broadcasting corresponding to each the described live client determined each currently playing programme televised live is assisted
View is carried in heartbeat return information respectively, is sent to live client each described.
It is preferred that, the heartbeat message at least includes:Client task ID, request time stamp, broadcasting agreement, program ID,
Client release information, currently adds up reproduction time;
The server includes:
Division module, for identical program in the program ID in the heartbeat message that sends each described live client
ID is divided into one group, obtains one or more program ID groups;
Statistical module, the number for counting program ID in each described program ID group;
First determining module, for using the number of program ID in each the described program ID group counted as described in each
The online number scale of the currently playing programme televised live of each self-corresponding live client of program ID groups.
It is preferred that, the server includes:
First judge module, for judge each described live client each currently playing programme televised live in informant
Whether number scale is less than the first number upper limit, if so, the second determining module is performed, if it is not, performing the 3rd determining module;
Second determining module, for determining each described live client, each currently playing programme televised live institute is right
The broadcasting agreement answered is real-time CDN agreements;
3rd determining module, for determining each described live client, each currently playing programme televised live institute is right
The broadcasting agreement answered is HCDN agreements.
It is preferred that, the server includes:
Update module, for real-time update each described live client each currently playing programme televised live in informant
Number scale;
4th determining module, for according to the respective currently playing programme televised live of each described live client after renewal
Online number scale, determine broadcasting agreement of each described live client each corresponding to currently playing programme televised live.
Compared with prior art, the application has the beneficial effect that:
In this application, heartbeat message is each sent to the server by live client each described;The clothes
The heartbeat message that business device is sent according to each described live client, counts each described live client each currently playing
The online number scale of programme televised live;The server is according to the respective currently playing programme televised live of each described live client
Online number scale, determine broadcasting agreement of each described live client each corresponding to currently playing programme televised live,
Realize and the broadcasting agreement of the respective currently playing programme televised live of each live client is adjusted to result of broadcast is optimal to be broadcast
Agreement is put, so that each live client each carries out the broadcasting of programme televised live according to the optimal broadcasting agreement of result of broadcast, it is real
Balanced, the stable broadcasting of existing programme televised live.
Brief description of the drawings
, below will be to make needed for embodiment description in order to illustrate more clearly of the technical scheme in the embodiment of the present application
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, for
For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings
His accompanying drawing.
Fig. 1 is a kind of flow chart for the live broadcasting method that the application is provided;
Fig. 2 is a kind of sub-process figure for the live broadcasting method that the application is provided;
Fig. 3 is another sub-process figure for the live broadcasting method that the application is provided;
Fig. 4 is another flow chart for the live broadcasting method that the application is provided;
Fig. 5 is a kind of logical construction schematic diagram for the live broadcast system that the application is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on
Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of the application protection.
Embodiment one
Fig. 1 is referred to, a kind of flow chart of the live broadcasting method provided it illustrates the application may comprise steps of:
Step S11:Each live client obtains broadcasting control parameter from server, and plays control ginseng according to described
Number plays programme televised live.
In the present embodiment, play control parameter and be mainly the broadcasting agreement that server is consulted with client, for inciting somebody to action
The relevant information of the broadcasting agreement of server informs client, so that client confirms which kind of plays agreement using in server
When, it is not necessary to obtain extra configuration parameter information.
Wherein, playing control parameter at least includes herein below:
hl_nm:Protocol type
hl_cID:Program ID (32)
hl_slID:Programm name
hl_slst:Section specification
hl_cp:Non-real-time protocol types (cdn, p2p, hcdn)
hl_dl:Whether it is delayed
hl_dls:Delay time
hl_dle:Delay time
hl_stapp:Type of service
hl_stID:Flow title (real-time)
hl_sttp:Stream protocol type
hl_stpr:Real Time Protocol type (rtmp, http are based on cdn)
hl_stpt:Protocol port
hl_dp:Third party's dispatch address
In the present embodiment, the form of above-mentioned broadcasting agreement is specifically as follows:
hcdnlive://AYAAAAFXHWUSSQI7OPTSQUKBD5YWWYTBIEPT34ELMVAR6PGT2NEUCH3XKR
HGGQI7AQAAAADF4MHC2LQWW462O4BOCZS6GDWIFYLMU3AOY4XBMHl_nm=6&hl_cID=
5USUOOIWOPCXHUYHQYK62VTPXEZY4GU7&hl_slID=c1_lb_shengdous hixingshi_720p_s10&
Hl_slst=10&hl_cp=3&hl_dl=0&hl_dls=40&hl_dle=60&hl_stapp=live&hl_stID=
Lb_shengdoushixingshi_720p&hl_sttp=flv&hl_stpr=rtmp&hl_s tpt=1935&hl_dp=
NB2HI4B2F4XWM3DWNRUXMZJOOZUWIZLPFZUXC2LZNEXGG33NF4&hl_fo rce=0.
Step S12:Each described live client each sends heartbeat message to the server.
In the present embodiment, each live client each can send heartbeat message to the server in real time.
Certainly, each live client each can also send heartbeat message every preset time to the server, its
In, preset time can be 1 minute.
Step S13:The heartbeat message that the server is sent according to each described live client, counts each described straight
Broadcast the online number scale of the respective currently playing programme televised live of client.
When above-mentioned preset time is 1 minute, service implement body can retain each the live client received in 2 minutes
The heartbeat message of transmission, the heartbeat message sent according to each the live client received in 2 minutes, counts each live client
The online number scale of the respective currently playing programme televised live in end.
Step S14:The server is online according to the respective currently playing programme televised live of each described live client
Number scale, determines broadcasting agreement of each described live client each corresponding to currently playing programme televised live.
Step S15:By broadcasting corresponding to each the described live client determined each currently playing programme televised live
Put agreement to carry respectively in heartbeat return information, send to live client each described.
Step S16:Each described live client is each each current since being parsed in the heartbeat return information received
Broadcasting agreement corresponding to the programme televised live of broadcasting, and each play programme televised live according to the broadcasting agreement parsed.
In this application, heartbeat message is each sent to the server by live client each described;The clothes
The heartbeat message that business device is sent according to each described live client, counts each described live client each currently playing
The online number scale of programme televised live;The server is according to the respective currently playing programme televised live of each described live client
Online number scale, determine broadcasting agreement of each described live client each corresponding to currently playing programme televised live,
Realize and the broadcasting agreement of the respective currently playing programme televised live of each live client is adjusted to result of broadcast is optimal to be broadcast
Agreement is put, so that each live client each carries out the broadcasting of programme televised live according to the optimal broadcasting agreement of result of broadcast, it is real
Balanced, the stable broadcasting of existing programme televised live.
In the present embodiment, above-mentioned heartbeat message at least includes:Client task ID, request time stamp plays agreement, section
Mesh ID, client release information currently adds up reproduction time.Corresponding, server is sent out according to each described live client
The heartbeat message sent, counts the specific of the respective online number scale of currently playing programme televised live of each described live client
Process may refer to Fig. 2, may comprise steps of:
Step S21:It is identical in program ID in the heartbeat message that the server sends each described live client
Program ID be divided into one group, obtain one or more program ID groups.
Step S22:Count the number of program ID in each described program ID group.
Step S23:It regard the number of program ID in each the described program ID group counted as program ID groups each described
The online number scale of the currently playing programme televised live of each self-corresponding live client.
In the present embodiment, server is according to the online of the respective currently playing programme televised live of each described live client
Number scale, determines the specific mistake of broadcasting agreement of each described live client each corresponding to currently playing programme televised live
Journey may refer to Fig. 3, may comprise steps of:
Step S31:The server judges the online of the respective currently playing programme televised live of each described live client
Whether number scale is less than the first number upper limit.
If so, step S32 is performed, if it is not, performing step S33.
Step S32:Determine broadcasting agreement of each described live client each corresponding to currently playing programme televised live
For real-time CDN (Content Delivery Network, content distributing network) agreement.
In the online number of number scale effect first of the respective currently playing programme televised live of each described live client
During the upper limit, illustrate the online number small scale of the respective currently playing programme televised live of each described live client, when in informant
It can use real-time CDN agreements to ensure in real time, it is thus determined that each described live client is each currently broadcast during number small scale
Broadcasting agreement corresponding to the programme televised live put is real-time CDN agreements.
Real-time CDN agreements are the CDN technologies using RTMP technological transformations, and data input pin uses RTMP agreements, content point
Hair uses tradition CDN agreements, and data distribution is carried out by http chunk patterns.
Step S33:Determine broadcasting agreement of each described live client each corresponding to currently playing programme televised live
For HCDN agreements.
The online number scale of the respective currently playing programme televised live of each described live client is not less than the first number
During the upper limit, illustrate that online number scale reaches perfect condition or larger, in this case, height is supported using HCDN agreements simultaneously
Ratio is shared in hair, raising.
HCDN agreements are traditional CDN+P2P;With reference to traditional CDN with P2P advantages, Peer uses tradition CDN when shared not enough
Good service, uses P2P good services when Peer shares enough;Both C/S frameworks had been solved to rely on server, and can have been solved
P2P shared nodes deficiency problem.
Traditional CDN, is typical C/S frameworks, and node closest, that service is best is published to using by user resources,
Good service is provided the user, network delay is reduced;Its core is still based on centralized servers, and burst flow is fitted at peak
Ying Xing, fault-tolerant existing defects.
Peer-to-Peer Network P2P, is totally different from C/S frameworks, realizes that non-stop layer, multiple spot are shared using user's own resource,
Solve and resource-sharing is reached independent of server, rate reduction real-time is shared in raising;Its core is based on large-scale Peer
Share same resource;In the case of Peer is not enough, stability, shares and compare existing defects.
By performing step S31 to step S33, real-time, and energy can be met in the case of online number small scale
In the case where online number scale is sharply increased, close friend supports high concurrent, and ratio is shared in raising, realize programme televised live it is balanced,
Stable broadcasting.
In the present embodiment, another live broadcasting method is expanded on the basis of the live broadcasting method shown in Fig. 1, is referred to
Fig. 4, it is further comprising the steps of on the basis of the live broadcasting method shown in Fig. 1:
Step S17:The respective currently playing programme televised live of the server real-time update each described live client
Online number scale, and according to the online number of the respective currently playing programme televised live of each described live client after renewal
Scale, determines broadcasting agreement of each described live client each corresponding to currently playing programme televised live.
In the present embodiment, the respective currently playing programme televised live of each described live client of server real-time update
Online number scale is the online number scale of the respective currently playing programme televised live of real-time statistics each described live clients,
And the online number scale of the respective currently playing programme televised live of each the described live client for going out real-time statistics is as new
Online number scale.
The respective online number scale of currently playing programme televised live of real-time statistics each described live clients it is specific
Process may refer to Fig. 2, will not be repeated here.
Embodiment two
It is corresponding with above method embodiment, a kind of live broadcast system is present embodiments provided, Fig. 5, live broadcast system is referred to
Including:Server 51 and multiple live clients 52.
Each described live client 52, control parameter is played for being obtained from the server 51, and according to described
Play control parameter and play programme televised live, and each send heartbeat message to the server 51, and it is each since the heart received
The broadcasting agreement corresponding to each currently playing programme televised live is parsed in rebound complex information, and each according to broadcasting for parsing
Put agreement and play programme televised live.
The server 51, for the heartbeat message sent according to each described live client 52, is counted described in each
The online number scale of the respective currently playing programme televised live of live client 52, and it is each according to each described live client 52
From the online number scale of currently playing programme televised live, determine that each described live client 52 is each currently playing live
Broadcasting agreement corresponding to program, and each currently playing programme televised live institute is right by each the described live client determined
The broadcasting agreement answered is carried in heartbeat return information respectively, is sent to live client 52 each described.
In the present embodiment, the heartbeat message at least includes:Client task ID, request time stamp plays agreement, section
Mesh ID, client release information currently adds up reproduction time.Corresponding, server 51 can specifically include:Division module,
Statistical module and the first determining module.
Division module, for identical section in the program ID in the heartbeat message that sends each described live client 52
Mesh ID is divided into one group, obtains one or more program ID groups.
Statistical module, the number for counting program ID in each described program ID group.
First determining module, for using the number of program ID in each the described program ID group counted as described in each
The online number scale of the currently playing programme televised live of each self-corresponding live client 52 of program ID groups.
In the present embodiment, server 51 can specifically include:First judge module, the second determining module and the 3rd determine
Module.
First judge module, for judging the online of the respective currently playing programme televised live of each described live client 52
Whether number scale is less than the first number upper limit, if so, the second determining module is performed, if it is not, performing the 3rd determining module.
Second determining module, for determining the respective currently playing programme televised live institute of each described live client 52
Corresponding broadcasting agreement is real-time CDN agreements.
3rd determining module, for determining the respective currently playing programme televised live institute of each described live client 52
Corresponding broadcasting agreement is HCDN agreements.
In above-mentioned live broadcast system, server 51 can include:Calibration module and the 4th determining module.
Update module, for real-time update, the respective currently playing programme televised live of each described live client 52 is online
Number scale.
4th determining module, for according to the respective currently playing live section of each described live client 52 after renewal
The online number scale of purpose, determines the broadcasting association corresponding to the respective currently playing programme televised live of each described live client 52
View.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to.
For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is joined
See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged
Except also there is other identical element in the process including the key element, method, article or equipment.
A kind of live broadcasting method provided herein and system are described in detail above, it is used herein specifically
Individual example is set forth to the principle and embodiment of the application, and the explanation of above example is only intended to help and understands the application
Method and its core concept;Simultaneously for those of ordinary skill in the art, according to the thought of the application, in specific implementation
It will change in mode and application, in summary, this specification content should not be construed as the limitation to the application.
Claims (8)
1. a kind of live broadcasting method, it is characterised in that including:
Each live client obtains broadcasting control parameter from server, and plays live section according to the broadcasting control parameter
Mesh;
Each described live client each sends heartbeat message to the server;
The heartbeat message that the server is sent according to each described live client, counts each described live client each
The online number scale of currently playing programme televised live;
The server according to the online number scale of the respective currently playing programme televised live of each described live client, it is determined that
The broadcasting agreement of each described live client each corresponding to currently playing programme televised live;
The server is by the broadcasting corresponding to each the described live client determined each currently playing programme televised live
Agreement is carried in heartbeat return information respectively, is sent to live client each described;
Each described live client is each since parsing each currently playing live section in the heartbeat return information received
Broadcasting agreement corresponding to mesh, and each play programme televised live according to the broadcasting agreement parsed.
2. according to the method described in claim 1, it is characterised in that the heartbeat message at least includes:Client task ID, please
Seeking time is stabbed, and plays agreement, and program ID, client release information currently adds up reproduction time;
The heartbeat message that the server is sent according to each described live client, counts each described live client each
The online number scale of currently playing programme televised live, including:
Identical program ID is divided in program ID in the heartbeat message that the server sends each described live client
For one group, one or more program ID groups are obtained;
Count the number of program ID in each described program ID group;
It is each self-corresponding straight using the number of program ID in each the described program ID group counted as program ID groups each described
Broadcast the online number scale of the currently playing programme televised live of client.
3. according to the method described in claim 1, it is characterised in that the server according to each described live client each
The online number scale of currently playing programme televised live, determines each described live client each currently playing programme televised live
Corresponding broadcasting agreement, including:
The server judge each described live client each currently playing programme televised live online number scale whether
Less than the first number upper limit;
If so, determining that broadcasting agreement of each described live client each corresponding to currently playing programme televised live is real-time
CDN agreements;
If it is not, determining that broadcasting agreement of each described live client each corresponding to currently playing programme televised live is HCDN associations
View.
4. the method according to claim 1-3 any one, it is characterised in that methods described also includes:
The online number scale of the respective currently playing programme televised live of the server real-time update each described live client,
And according to the online number scale of the respective currently playing programme televised live of each described live client after renewal, determine each
The broadcasting agreement of the live client each corresponding to currently playing programme televised live.
5. a kind of live broadcast system, it is characterised in that including:Server and multiple live clients;
Each described live client, control parameter is played for being obtained from the server, and is controlled according to described play
Parameter plays programme televised live, and each sends heartbeat message to the server, and each since the heartbeat return information received
In parse broadcasting agreement respective corresponding to currently playing programme televised live, and each played according to the broadcasting agreement parsed
Programme televised live;
The server, for the heartbeat message sent according to each described live client, counts each live client
The online number scale of the respective currently playing programme televised live in end, and it is each currently playing according to each described live client
The online number scale of programme televised live, determines each described live client each broadcasting corresponding to currently playing programme televised live
Put agreement, and by the broadcasting agreement point corresponding to each the described live client determined each currently playing programme televised live
Do not carry in heartbeat return information, send to live client each described.
6. system according to claim 5, it is characterised in that the heartbeat message at least includes:Client task ID, please
Seeking time is stabbed, and plays agreement, and program ID, client release information currently adds up reproduction time;
The server includes:
Division module, for identical program ID in the program ID in the heartbeat message of each live client transmission to be drawn
It is divided into one group, obtains one or more program ID groups;
Statistical module, the number for counting program ID in each described program ID group;
First determining module, for regarding the number of program ID in each the described program ID group counted as program each described
The online number scale of the currently playing programme televised live of each self-corresponding live client of ID groups.
7. system according to claim 5, it is characterised in that the server includes:
First judge module, the online number rule for judging the respective currently playing programme televised live of each described live client
Whether mould is less than the first number upper limit, if so, the second determining module is performed, if it is not, performing the 3rd determining module;
Second determining module, for determining each described live client each corresponding to currently playing programme televised live
Broadcasting agreement is real-time CDN agreements;
3rd determining module, for determining each described live client each corresponding to currently playing programme televised live
Broadcasting agreement is HCDN agreements.
8. the system according to claim 5-7 any one, it is characterised in that the server includes:
Update module, the online number rule of the respective currently playing programme televised live of each described live client for real-time update
Mould;
4th determining module, for according to each described live client after renewal each currently playing programme televised live
Informant's number scale, determines broadcasting agreement of each described live client each corresponding to currently playing programme televised live.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710173475.4A CN106961615A (en) | 2017-03-22 | 2017-03-22 | A kind of live broadcasting method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710173475.4A CN106961615A (en) | 2017-03-22 | 2017-03-22 | A kind of live broadcasting method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106961615A true CN106961615A (en) | 2017-07-18 |
Family
ID=59471509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710173475.4A Pending CN106961615A (en) | 2017-03-22 | 2017-03-22 | A kind of live broadcasting method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106961615A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108881935A (en) * | 2018-07-16 | 2018-11-23 | 安徽国通亿创科技股份有限公司 | A kind of online interaction live streaming low delay optimization method |
CN108958831A (en) * | 2018-06-12 | 2018-12-07 | 北京奇艺世纪科技有限公司 | A kind of ViewGroup Dynamic Distribution method, apparatus and electronic equipment |
CN109309670A (en) * | 2018-09-07 | 2019-02-05 | 深圳市网心科技有限公司 | Data stream method and system, electronic device and computer readable storage medium |
CN111314717A (en) * | 2019-12-03 | 2020-06-19 | 上海锦同智能科技有限公司 | Massive concurrency algorithm of Internet live broadcast system |
CN112541023A (en) * | 2020-12-29 | 2021-03-23 | 深圳市即构科技有限公司 | Online people counting method, electronic device and storage medium |
CN112738547A (en) * | 2020-12-31 | 2021-04-30 | 杭州当虹科技股份有限公司 | System for real-time statistics live online number of people |
CN112954413A (en) * | 2021-02-02 | 2021-06-11 | 深圳市欢太科技有限公司 | Live broadcast list updating method and device, server and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237429A (en) * | 2008-02-25 | 2008-08-06 | 蓝汛网络科技(北京)有限公司 | Stream media living broadcasting system, method and device based on content distribution network |
CN101582919A (en) * | 2009-04-14 | 2009-11-18 | 冯俊秋 | Method and system for playing of Internet television |
CN102833339A (en) * | 2012-08-31 | 2012-12-19 | 中兴通讯股份有限公司 | CDN (Content Delivery Network) and network fused service control method and service control equipment |
CN103747286A (en) * | 2014-01-03 | 2014-04-23 | 上海聚力传媒技术有限公司 | Method and equipment for providing videos |
CN104270653A (en) * | 2014-09-30 | 2015-01-07 | 北京酷云互动科技有限公司 | Method, device and server for obtaining viewing information |
CN104754284A (en) * | 2013-12-26 | 2015-07-01 | 中国移动通信集团公司 | Video conference live broadcast method, equipment and system |
CN104883279A (en) * | 2015-04-13 | 2015-09-02 | 中国联合网络通信集团有限公司 | Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system |
CN105898392A (en) * | 2015-11-24 | 2016-08-24 | 乐视云计算有限公司 | Online live video player and method |
CN105933199A (en) * | 2016-04-08 | 2016-09-07 | 武汉斗鱼网络科技有限公司 | Method for maintaining heartbeat connection, gateway and chat server |
CN105933794A (en) * | 2016-06-15 | 2016-09-07 | 南京纳加软件有限公司 | New media directing system based on full-communication framework |
-
2017
- 2017-03-22 CN CN201710173475.4A patent/CN106961615A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237429A (en) * | 2008-02-25 | 2008-08-06 | 蓝汛网络科技(北京)有限公司 | Stream media living broadcasting system, method and device based on content distribution network |
CN101582919A (en) * | 2009-04-14 | 2009-11-18 | 冯俊秋 | Method and system for playing of Internet television |
CN102833339A (en) * | 2012-08-31 | 2012-12-19 | 中兴通讯股份有限公司 | CDN (Content Delivery Network) and network fused service control method and service control equipment |
CN104754284A (en) * | 2013-12-26 | 2015-07-01 | 中国移动通信集团公司 | Video conference live broadcast method, equipment and system |
CN103747286A (en) * | 2014-01-03 | 2014-04-23 | 上海聚力传媒技术有限公司 | Method and equipment for providing videos |
CN104270653A (en) * | 2014-09-30 | 2015-01-07 | 北京酷云互动科技有限公司 | Method, device and server for obtaining viewing information |
CN104883279A (en) * | 2015-04-13 | 2015-09-02 | 中国联合网络通信集团有限公司 | Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system |
CN105898392A (en) * | 2015-11-24 | 2016-08-24 | 乐视云计算有限公司 | Online live video player and method |
CN105933199A (en) * | 2016-04-08 | 2016-09-07 | 武汉斗鱼网络科技有限公司 | Method for maintaining heartbeat connection, gateway and chat server |
CN105933794A (en) * | 2016-06-15 | 2016-09-07 | 南京纳加软件有限公司 | New media directing system based on full-communication framework |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958831A (en) * | 2018-06-12 | 2018-12-07 | 北京奇艺世纪科技有限公司 | A kind of ViewGroup Dynamic Distribution method, apparatus and electronic equipment |
CN108881935A (en) * | 2018-07-16 | 2018-11-23 | 安徽国通亿创科技股份有限公司 | A kind of online interaction live streaming low delay optimization method |
CN109309670A (en) * | 2018-09-07 | 2019-02-05 | 深圳市网心科技有限公司 | Data stream method and system, electronic device and computer readable storage medium |
CN109309670B (en) * | 2018-09-07 | 2021-02-12 | 深圳市网心科技有限公司 | Data stream decoding method and system, electronic device and computer readable storage medium |
CN111314717A (en) * | 2019-12-03 | 2020-06-19 | 上海锦同智能科技有限公司 | Massive concurrency algorithm of Internet live broadcast system |
CN111314717B (en) * | 2019-12-03 | 2022-02-22 | 上海锦同智能科技有限公司 | Massive concurrency algorithm of Internet live broadcast system |
CN112541023A (en) * | 2020-12-29 | 2021-03-23 | 深圳市即构科技有限公司 | Online people counting method, electronic device and storage medium |
CN112738547A (en) * | 2020-12-31 | 2021-04-30 | 杭州当虹科技股份有限公司 | System for real-time statistics live online number of people |
CN112954413A (en) * | 2021-02-02 | 2021-06-11 | 深圳市欢太科技有限公司 | Live broadcast list updating method and device, server and storage medium |
CN112954413B (en) * | 2021-02-02 | 2024-01-16 | 深圳市欢太科技有限公司 | Live broadcast list updating method, device, server and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106961615A (en) | A kind of live broadcasting method and system | |
CN101141459B (en) | Method of implementing data transmission or stream media transmission using combination of HTTP and P2P | |
Zhang et al. | Understanding the power of pull-based streaming protocol: Can we do better? | |
US7656908B1 (en) | System and method for delivering content in a unicast/multicast manner | |
CN105141971B (en) | A kind of dialogue-based initializtion protocol realizes the method and system of live streaming | |
CN102231762B (en) | Peer-to-peer (p2p) server architecture capable of being unlimitedly and horizontally expanded | |
CN101714987A (en) | P2P playing method and system | |
CN101646078A (en) | Method and system based on application-layer multicast for processing streaming media data | |
CN110475090A (en) | A kind of method and system of Conference control | |
US8732787B2 (en) | Method and system for establishing digital media streams | |
CN106507134A (en) | A kind of method of streaming media server transcoding on demand | |
CN101989977B (en) | Method, device, server and system for implementing rich media real-time services | |
US8036141B2 (en) | Apparatus and method for managing a network | |
KR100592874B1 (en) | Multicast IP broadcast method and system | |
CN109787870A (en) | Access management method, device, system, initial and target access device | |
CN106101865A (en) | A kind of reduce the method for video playback waiting time, video playing terminal and system | |
CN102474445A (en) | A method, a terminal, an access node and a media server for providing resource admission control of digital media streams | |
CN101471800A (en) | Method and device for processing multicast business request | |
Chan et al. | Energy efficient delivery methods for video-rich services over next generation broadband access networks | |
CN110505429A (en) | A kind of meeting-place processing method and system | |
Tang et al. | Characterizing user behavior to improve quality of streaming service over P2P networks | |
CN109672905A (en) | A kind of passive audio-video business open method and device | |
CN110535810A (en) | A kind of processing method and terminal of video data | |
CN201204613Y (en) | P2P network video system and download system | |
WO2010139165A1 (en) | Method and system for distributing playing material in iptv system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170718 |
|
RJ01 | Rejection of invention patent application after publication |