CN109905734A - Method and device, live broadcast system, storage medium and the electronic equipment shunted is broadcast live - Google Patents
Method and device, live broadcast system, storage medium and the electronic equipment shunted is broadcast live Download PDFInfo
- Publication number
- CN109905734A CN109905734A CN201711295492.1A CN201711295492A CN109905734A CN 109905734 A CN109905734 A CN 109905734A CN 201711295492 A CN201711295492 A CN 201711295492A CN 109905734 A CN109905734 A CN 109905734A
- Authority
- CN
- China
- Prior art keywords
- cdn
- stream
- load
- currently
- broadcast
- 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
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to network struction fields, propose a kind of method that live streaming shunts.This method comprises: live data is pushed to more CDN;It presets CDN described in more families and broadcasts stream order;The load of the CDN of stream is currently broadcast in detection;Judgement currently broadcasts whether the load of the CND of stream is more than maximum load;When currently broadcasting the load of the CND of stream more than the maximum load, stream order is broadcast according to described, switches the CDN.Live data is pushed to more CDN by the present invention, when a CND when something goes wrong, can continue to broadcast stream by other families CDN.Furthermore more CDN resources of present invention fusion, can be to avoid because broadcasting stream Caton problem caused by a CDN inadequate resource.
Description
Technical field
The present invention relates to network struction technical field more particularly to it is a kind of live streaming shunt method and device, live broadcast system,
Storage medium and electronic equipment.
Background technique
CDN (Content Delivery Network, i.e. content distributing network) is widely used in live streaming field.It is basic
Thinking is the bottleneck and link for avoiding being possible to influence data transmission bauds and stability on internet as far as possible, makes content transmission
Faster, it is more stable.By placing one on existing Internet basic that node server is constituted everywhere in network
Layer intelligent virtual network, CDN system according to the connection of network flow and each node, load state and can arrive user in real time
Distance and the integrated informations such as response time the request of user is re-directed on the service node nearest from user.The purpose is to
Make user that can obtain required content nearby, solve the crowded situation of Internet network, improves the response speed that user accesses website
Degree.
In the related technology, live streaming rear end only has access a CDN.When beginning is broadcast live, live data is transmitted at live streaming end
To source server, live data is pushed on a node server of a CDN by source server, which can be real
When according to the connection of network flow and each node, load state and to the integrated informations such as the distance of user and response time will
The request of user re-directs on the service node nearest from user.To solve the crowded situation of Internet network, improve
The response speed of user's access website.
However, in the related technology, live streaming rear end only accesses a CDN, when the CDN service when something goes wrong, live streaming is by nothing
Method is further continued for carrying out.Meanwhile the bandwidth of a CDN is limited, when the bandwidth needed for direct broadcasting room is more than the bandwidth carrying of family CDN,
Client just will appear play it is not smooth, phenomena such as Caton.
It should be noted that the information in the invention of above-mentioned background technology part is only used for reinforcing the reason to background of the invention
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The purpose of the present invention is to provide a kind of touch control component, production method and it is a kind of live streaming shunt method and device,
Live broadcast system, storage medium and electronic equipment.The limitation and defect due to the relevant technologies is overcome at least to a certain extent and is led
One or more problem caused.
Other characteristics and advantages of the invention will be apparent from by the following detailed description, or partially by the present invention
Practice and acquistion.
According to an aspect of the present invention, a kind of method that live streaming shunts is provided, comprising:
Live data is pushed to more CDN;
It presets CDN described in more families and broadcasts stream order;
The load of the CDN of stream is currently broadcast in detection;
Judgement currently broadcasts whether the load of the CND of stream is more than maximum load;
When currently broadcasting the load of the CND of stream and being more than the maximum load, stream order is broadcast according to described, described in switching
CDN。
It is described live data is pushed to more CDN to include: in a kind of exemplary embodiment of the invention
The live data is pushed to main CDN;
The main CDN node server address is obtained, and the live data is turned to be pushed to other CDN.
In a kind of exemplary embodiment of the invention, the load of the CDN of stream is currently broadcast in the detection, comprising:
The Caton ratio of the CDN of stream is currently broadcast in detection;
The bandwidth load of the CDN of stream is currently broadcast in detection.
In a kind of exemplary embodiment of the invention, the judgement currently broadcasts whether the load of the CND of stream is more than most
Heavy load includes:
The Caton ratio for currently broadcasting the CDN of stream and default Caton ratio are compared;
The bandwidth load for currently broadcasting the CDN of stream is compared with pre-set bandwidths threshold value;
The Caton ratio for currently broadcasting the CDN of stream is greater than the default Caton ratio or currently broadcasts the CDN of stream
Bandwidth load be greater than the pre-set bandwidths threshold value when, determine currently broadcast stream the CND load be more than maximum load.
In a kind of exemplary embodiment of the invention, the default Caton ratio and the pre-set bandwidths threshold value are according to every family
The resource situation of the CDN is arranged.
According to an aspect of the present invention, a kind of live streaming part flow arrangement is provided, comprising: pushing module, parsing module, detection
Module, processing module.Live data is pushed to main CDN by pushing module, and will be described straight by the main CDN node server
Multicast data turns to be pushed to other CDN;Parsing module determines that CDN described in more families broadcasts stream order;The institute of stream is currently broadcast in detection module detection
State the load of CND;Processing module judgement currently broadcasts whether the load of the CND of stream is more than maximum load;Currently broadcast the institute of stream
When stating the load of CND more than maximum load, stream order is broadcast according to described, enables CDN described in other families.
In a kind of exemplary embodiment of the invention, the detection module includes: Caton scale detection unit, bandwidth load
Detection unit.The Caton ratio of the CDN of stream is currently broadcast in the detection of Caton scale detection unit;The detection of bandwidth load detection unit
Currently broadcast the bandwidth load of the CDN of stream.
According to an aspect of the present invention, a kind of live broadcast system is provided, including such as above-mentioned live streaming part flow arrangement.
According to an aspect of the present invention, a kind of storage medium is provided, computer program, described program quilt are stored thereon with
The method shunted according to above-mentioned live streaming is realized when processor executes.
According to an aspect of the present invention, a kind of electronic equipment is provided, comprising: processor and memory.Memory is used for
Store the executable instruction of the processor;Wherein, the processor is configured to execute via the executable instruction is executed
The method that above-mentioned live streaming shunts.
The present invention provides a kind of method that live streaming shunts, and this method provides more CDN services for direct broadcasting room, and according to every family
The real time load of CDN broadcasts stream order switching CDN according to default.On the one hand, live data is pushed to more CDN by the present invention, when
One CND when something goes wrong, can continue to broadcast stream by other families CDN.On the other hand, the present invention merges more CDN moneys
Source, can be to avoid because broadcasting stream Caton problem caused by a CDN inadequate resource.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of present invention live streaming flow chart of exemplary embodiment of shunt method;
Fig. 2 is the stream that live data is pushed to more CDN in a kind of present invention live streaming exemplary embodiment of shunt method
Cheng Tu;
Fig. 3 is a kind of present invention live streaming structural schematic diagram of exemplary embodiment of part flow arrangement;
Fig. 4 is the structural schematic diagram of detection module in a kind of present invention live streaming exemplary embodiment of part flow arrangement;
Fig. 5 is the block diagram for schematically showing a kind of electronic equipment in disclosure exemplary embodiment;
Fig. 6 is to schematically show a kind of program product in disclosure exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However,
It will be appreciated by persons skilled in the art that can be with technical solution of the disclosure without one in the specific detail or more
It is more, or can adopt with other methods, constituent element, material, device, step etc..In other cases, it is not shown in detail or describes
Known features, method, apparatus, realization, material or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or these are realized in the module of one or more softwares hardening
A part of functional entity or functional entity, or realized in heterogeneous networks and/or processor device and/or microcontroller device
These functional entitys.
The present exemplary embodiment provides a kind of method that live streaming shunts first, refering to what is shown in Fig. 1, shunting for present invention live streaming
A kind of flow chart of exemplary embodiment of method.This method comprises:
Step S101: live data is pushed to more CDN;
Step S102: it presets CDN described in more families and broadcasts stream order;
Step S103: the load of the CDN of stream is currently broadcast in detection;
Step S104: judgement currently broadcasts whether the load of the CND of stream is more than maximum load;
Step S105: when currently broadcasting the load of the CND of stream more than the maximum load, broadcasting stream order according to described,
Switch the CDN.
The present exemplary embodiment provides a kind of method that live streaming shunts, and this method provides more CDN services for direct broadcasting room, and
Switch CDN according to the real time load of every CDN.On the one hand, live data is pushed to more CDN by the present invention, when a CND goes out
When existing problem, it can continue to broadcast stream by other families CDN.On the other hand, the present invention merges more CDN resources, can keep away
Exempt to broadcast stream Caton problem caused by because of a CDN inadequate resource.
Next, detailed explanation will be carried out to each step for the method that shunting is broadcast live in this example embodiment and said
It is bright.
In step s101, live data is pushed to more CDN.
As shown in Fig. 2, for live data is pushed to more families in a kind of present invention live streaming exemplary embodiment of shunt method
The flow chart of CDN.It is described live data is pushed to more CDN to may include: in the present exemplary embodiment
Step S201: the live data is pushed to main CDN;
Step S202: obtaining the main CDN node server address, and the live data is turned to be pushed to described in other
CDN。
Due to the restriction of the prior art, live data can only be pushed to a CDN by source server.The present exemplary embodiment
In, live data can be pushed on each node server of main CDN by source server, the available main CDN of other families CDN
Node server address, and from main CDN node server obtain live data.Using this method, the node clothes of every CDN
The live data of direct broadcasting room is cached on business device.
In step s 102, it presets CDN described in more families and broadcasts stream order.
When direct broadcasting room starts live streaming, although being cached with live data on the node server of each CDN, in order to
It makes rational planning for resource, it is possible to use only a CDN services direct broadcasting room.Family CDN obtains the domain name mapping power of direct broadcasting room,
The access request for accessing the client of direct broadcasting room is pushed to the node server of the CDN nearby by domain name resolution server
On, by the node server of the CDN directly to client push live data.When the load of family CDN is more than maximum load
When, preset next CDN is enabled, preset broadcasts stream order to be formed.Wherein, the CDN for carrying out broadcasting stream first can be master
CDN is also possible to other CDN.In other embodiments, more CDN can also be used simultaneously for direct broadcasting room service, it should be appreciated that
, these are all within the scope of protection of the present invention.
In step s 103, the load of the CDN of stream is currently broadcast in detection.
In the present exemplary embodiment, the load of the CDN of stream is currently broadcast in the detection, may include: that detection is currently broadcast
The bandwidth load of the CDN of stream is currently broadcast in the Caton ratio of the CDN of stream and detection.The Caton ratio of CDN and broadband are negative
Load is to measure two important parameters of CDN operating status.Wherein the broadband load of CDN is each node server broadband family CDN
The sum of load.When CDN broadband load be more than its maximum load when, client then will appear Caton, delay phenomena such as.CDN's
Caton ratio is that client the Caton time occurs and broadcast to flow the ratio between overall time.The Caton ratio of CDN is related to Multiple factors, example
If broadband loads, Network Load Balance situation etc..The Caton ratio of CDN is more than the load excessive that certain value can illustrate the CDN.
In step S104, judgement currently broadcasts whether the load of the CND of stream is more than maximum load.
In the present exemplary embodiment, whether the load that the CND of stream is currently broadcast in the judgement is more than that maximum load can be with
Include: by currently broadcast stream the CDN Caton ratio and default Caton ratio compare;The CDN of stream will currently be broadcast
Bandwidth load compared with pre-set bandwidths threshold value.The Caton ratio for currently broadcasting the CDN of stream is greater than the default Caton
When ratio or the bandwidth load of the current CDN for broadcasting stream are greater than the pre-set bandwidths threshold value, determine and currently broadcast the described of stream
The load of CND is more than maximum load.Wherein, the default Caton ratio and pre-set bandwidths threshold value CDN according to every family
Resource situation setting.Default Caton ratio can be according to oneself CDN layout scenarios, self-setting Caton ratio.CDN's is default
Bandwidth threshold can be set to the maximum bandwidth load of the CDN.The pre-set bandwidths threshold value of CDN can also be set in other embodiments
It is set to the value for being less than maximum bandwidth load, to reserve certain bandwidth redundancy for CDN, improves the stability for broadcasting stream of CDN.
In step s105, when currently broadcasting the load of the CND of stream more than the maximum load, stream is broadcast according to described
Sequence switches the CDN.CDN after switching becomes the new CND for currently broadcasting stream.Meanwhile step S103 and step are carried out to the CDN
Rapid S104.
The present exemplary embodiment also provides a kind of live streaming part flow arrangement, as shown in figure 3, for present invention live streaming part flow arrangement one
The structural schematic diagram of kind exemplary embodiment.The live streaming part flow arrangement includes: pushing module 301, parsing module 302, detection mould
Block 303, processing module 304.Live data is pushed to main CDN by pushing module 301, and passes through the main CDN node server
The live data is turned to be pushed to other CDN;Parsing module 302 determines that CDN described in more families broadcasts stream order;Detection module 303 is examined
Survey the load for currently broadcasting the CND of stream;Processing module 304 judges whether the load for the CND for currently broadcasting stream is more than maximum
Load;When currently broadcasting the load of the CND of stream more than maximum load, stream order is broadcast according to described, is enabled described in other families
CDN。
In the present exemplary embodiment, as shown in figure 4, to be detected in a kind of present invention live streaming exemplary embodiment of part flow arrangement
The structural schematic diagram of module.The detection module includes: Caton scale detection unit 401, bandwidth load detection unit 402.Card
Scale detection unit 401 of pausing detects the Caton ratio for currently broadcasting the CDN of stream;Bandwidth load detection unit 402 detects currently
Broadcast the bandwidth load of the CDN of stream.
It should be noted that the live streaming part flow arrangement and above-mentioned live streaming shunt method technical characteristic having the same and work
Make principle.Above content has been described in detail, and details are not described herein again.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, although describing each step of method in the disclosure in the accompanying drawings with particular order, this does not really want
These steps must be executed in this particular order by asking or implying, or having to carry out step shown in whole could realize
Desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/
Or a step is decomposed into execution of multiple steps etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, mobile terminal or network equipment etc.) is executed according to disclosure embodiment
Method.In an exemplary embodiment of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 500 of this embodiment according to the present invention is described referring to Fig. 5.The electronics that Fig. 5 is shown
Equipment 500 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 5, electronic equipment 500 is showed in the form of universal computing device.The component of electronic equipment 500 can wrap
It includes but is not limited to: at least one above-mentioned processing unit 510, at least one above-mentioned storage unit 520, the different system components of connection
The bus 530 of (including storage unit 520 and processing unit 510), display unit 540.
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 510
Row, so that various according to the present invention described in the execution of the processing unit 510 above-mentioned " illustrative methods " part of this specification
The step of illustrative embodiments.For example, the processing unit 510 can execute step as shown in fig. 1.
Storage unit 520 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 5201 and/or cache memory unit 5202, it can further include read-only memory unit (ROM) 5203.
Storage unit 520 can also include program/utility with one group of (at least one) program module 5205
5204, such program module 5205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 530 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 500 can also be with one or more external equipments 570 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 500 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 500 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 550.Also, electronic equipment 500 can be with
By network adapter 560 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As shown, network adapter 560 is communicated by bus 530 with other modules of electronic equipment 500.
It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 500, including but not
Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment
Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also
In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute
Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair
The step of bright various illustrative embodiments.
Refering to what is shown in Fig. 6, describing the program product for realizing the above method of embodiment according to the present invention
600, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
The present exemplary embodiment also provides a kind of live broadcast system, including such as above-mentioned live streaming part flow arrangement.
It should be noted that the live streaming separate system and above-mentioned live streaming part flow arrangement technical characteristic having the same and work
Make principle.Above content has been described in detail, and details are not described herein again.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim
It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.
Claims (10)
1. a kind of method that live streaming shunts characterized by comprising
Live data is pushed to more CDN;
It presets CDN described in more families and broadcasts stream order;
The load of the CDN of stream is currently broadcast in detection;
Judgement currently broadcasts whether the load of the CND of stream is more than maximum load;
When currently broadcasting the load of the CND of stream more than the maximum load, stream order is broadcast according to described, switches the CDN.
2. the method that live streaming according to claim 1 shunts, which is characterized in that described that live data is pushed to more families
CDN includes:
The live data is pushed to main CDN;
The main CDN node server address is obtained, and the live data is turned to be pushed to other CDN.
3. the method that live streaming according to claim 1 shunts, which is characterized in that the CDN of stream is currently broadcast in the detection
Load, comprising:
The Caton ratio of the CDN of stream is currently broadcast in detection;
The bandwidth load of the CDN of stream is currently broadcast in detection.
4. the method that live streaming according to claim 3 shunts, which is characterized in that the CND of stream is currently broadcast in the judgement
Load whether more than maximum load include:
The Caton ratio for currently broadcasting the CDN of stream and default Caton ratio are compared;
The bandwidth load for currently broadcasting the CDN of stream is compared with pre-set bandwidths threshold value;
The Caton ratio for currently broadcasting the CDN of stream is greater than the default Caton ratio or currently broadcasts the band of the CDN of stream
When width load is greater than the pre-set bandwidths threshold value, determine that the load for currently broadcasting the CND of stream is more than maximum load.
5. the method that live streaming according to claim 4 shunts, which is characterized in that the default Caton ratio and described default
The resource situation of bandwidth threshold CDN according to every family is arranged.
6. a kind of live streaming part flow arrangement characterized by comprising
Live data is pushed to main CDN by pushing module, turns to push away by the live data by the main CDN node server
Give other CDN;
Parsing module determines that CDN described in more families broadcasts stream order;
The load of the CND of stream is currently broadcast in detection module, detection;
Processing module, judgement currently broadcast whether the load of the CND of stream is more than maximum load;Currently broadcast the CND's of stream
When load is more than maximum load, stream order is broadcast according to described, enables CDN described in other families.
7. according to right want 6 described in a kind of live streaming part flow arrangement, which is characterized in that the detection module includes:
The Caton ratio of the CDN of stream is currently broadcast in Caton scale detection unit, detection;
The bandwidth load of the CDN of stream is currently broadcast in bandwidth load detection unit, detection.
8. a kind of live broadcast system, which is characterized in that including live streaming part flow arrangement as claimed in claims 6 or 7.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that realization when described program is executed by processor
The method that live streaming according to any one of claims 1-5 shunts.
10. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to require any one of 1-5 described straight via executing the executable instruction and carry out perform claim
The method for broadcasting shunting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711295492.1A CN109905734A (en) | 2017-12-08 | 2017-12-08 | Method and device, live broadcast system, storage medium and the electronic equipment shunted is broadcast live |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711295492.1A CN109905734A (en) | 2017-12-08 | 2017-12-08 | Method and device, live broadcast system, storage medium and the electronic equipment shunted is broadcast live |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109905734A true CN109905734A (en) | 2019-06-18 |
Family
ID=66940473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711295492.1A Pending CN109905734A (en) | 2017-12-08 | 2017-12-08 | Method and device, live broadcast system, storage medium and the electronic equipment shunted is broadcast live |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109905734A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111464585A (en) * | 2019-12-05 | 2020-07-28 | 厦门靠谱云股份有限公司 | Multi-cloud-based high-availability CDN service mechanism |
CN111683261A (en) * | 2020-05-26 | 2020-09-18 | 亦非云互联网技术(上海)有限公司 | Live video stream scheduling method and system based on big data |
CN113038191A (en) * | 2021-02-26 | 2021-06-25 | 北京百度网讯科技有限公司 | Live stream scheduling method and device, electronic equipment and readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868935A (en) * | 2012-08-24 | 2013-01-09 | 乐视网信息技术(北京)股份有限公司 | Scheduling method for responding multiple sources in content distribution network (CDN) |
US20140245359A1 (en) * | 2011-06-01 | 2014-08-28 | Interdigital Patent Holdings, Inc. | Content Delivery Network Interconnection (CDNI) Mechanism |
CN104737149A (en) * | 2012-10-17 | 2015-06-24 | 奈飞公司 | Partitioning streaming media files on multiple content distribution networks |
CN105450675A (en) * | 2016-01-25 | 2016-03-30 | 杭州施强网络科技有限公司 | Method for selecting CDN service nodes through clients in streaming medium playing |
WO2016081506A1 (en) * | 2014-11-18 | 2016-05-26 | Ustream, Inc. | Software defined content delivery network for flexible, real-time management of large-scale data transfers |
CN106162209A (en) * | 2016-06-30 | 2016-11-23 | 中国科学院计算技术研究所 | A kind of content distributing network live broadcast system based on SDN technology and method |
CN106803967A (en) * | 2017-02-13 | 2017-06-06 | 北京奇虎科技有限公司 | A kind for the treatment of method and apparatus of live data |
CN106817356A (en) * | 2015-12-01 | 2017-06-09 | 北京中投视讯文化传媒股份有限公司 | A kind of method and device of video playback flow Real-Time Scheduling |
CN107105309A (en) * | 2017-04-25 | 2017-08-29 | 北京潘达互娱科技有限公司 | Live dispatching method and device |
CN107277160A (en) * | 2017-07-12 | 2017-10-20 | 北京潘达互娱科技有限公司 | A kind of content delivery network node switching method and device |
-
2017
- 2017-12-08 CN CN201711295492.1A patent/CN109905734A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140245359A1 (en) * | 2011-06-01 | 2014-08-28 | Interdigital Patent Holdings, Inc. | Content Delivery Network Interconnection (CDNI) Mechanism |
CN102868935A (en) * | 2012-08-24 | 2013-01-09 | 乐视网信息技术(北京)股份有限公司 | Scheduling method for responding multiple sources in content distribution network (CDN) |
CN104737149A (en) * | 2012-10-17 | 2015-06-24 | 奈飞公司 | Partitioning streaming media files on multiple content distribution networks |
WO2016081506A1 (en) * | 2014-11-18 | 2016-05-26 | Ustream, Inc. | Software defined content delivery network for flexible, real-time management of large-scale data transfers |
CN106817356A (en) * | 2015-12-01 | 2017-06-09 | 北京中投视讯文化传媒股份有限公司 | A kind of method and device of video playback flow Real-Time Scheduling |
CN105450675A (en) * | 2016-01-25 | 2016-03-30 | 杭州施强网络科技有限公司 | Method for selecting CDN service nodes through clients in streaming medium playing |
CN106162209A (en) * | 2016-06-30 | 2016-11-23 | 中国科学院计算技术研究所 | A kind of content distributing network live broadcast system based on SDN technology and method |
CN106803967A (en) * | 2017-02-13 | 2017-06-06 | 北京奇虎科技有限公司 | A kind for the treatment of method and apparatus of live data |
CN107105309A (en) * | 2017-04-25 | 2017-08-29 | 北京潘达互娱科技有限公司 | Live dispatching method and device |
CN107277160A (en) * | 2017-07-12 | 2017-10-20 | 北京潘达互娱科技有限公司 | A kind of content delivery network node switching method and device |
Non-Patent Citations (1)
Title |
---|
朱振广: "面向内容分发网络的动态负载均衡技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111464585A (en) * | 2019-12-05 | 2020-07-28 | 厦门靠谱云股份有限公司 | Multi-cloud-based high-availability CDN service mechanism |
CN111683261A (en) * | 2020-05-26 | 2020-09-18 | 亦非云互联网技术(上海)有限公司 | Live video stream scheduling method and system based on big data |
CN113038191A (en) * | 2021-02-26 | 2021-06-25 | 北京百度网讯科技有限公司 | Live stream scheduling method and device, electronic equipment and readable storage medium |
CN113038191B (en) * | 2021-02-26 | 2022-09-23 | 北京百度网讯科技有限公司 | Live stream scheduling method and device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10347542B2 (en) | Client-initiated leader election in distributed client-server systems | |
US10673747B2 (en) | Device deployment and network management using a self-service portal | |
WO2021191750A1 (en) | Parameter sharing in federated learning | |
US20180245935A1 (en) | Monitoring air pollution | |
US9736272B2 (en) | Generation and distribution of named, definable, serialized tokens | |
CN107635010B (en) | Traffic scheduling method and device, computer readable storage medium and electronic equipment | |
CN109905734A (en) | Method and device, live broadcast system, storage medium and the electronic equipment shunted is broadcast live | |
US20210337452A1 (en) | Sharing geographically concentrated workload among neighboring mec hosts of multiple carriers | |
US10541878B2 (en) | Client-space network monitoring | |
CN109743381B (en) | Long connection interaction method and device for client and server | |
CN105743934B (en) | A kind of optimization method and mobile intelligent terminal of HTTP access availability | |
US9933830B2 (en) | Validating power paths to IT equipment | |
CN110233861A (en) | Dispatching method and device, storage medium, the electronic equipment of CDN node | |
CN109873861A (en) | The exchange method and device, storage medium and electronic equipment of transregional piece of chain node | |
US11349729B2 (en) | Network service requests | |
US10606222B2 (en) | Identifying home automation correlated events and creating portable recipes | |
US9542616B1 (en) | Determining user preferences for data visualizations | |
US11089137B2 (en) | Dynamic data transmission | |
CN112217853B (en) | Resource access method and device | |
US10158544B2 (en) | Selecting communication channels based on categorizations and measurements | |
US11695625B2 (en) | Location-based dynamic grouping of IoT devices | |
US11910412B2 (en) | Media sink capabilities description | |
US20180283884A1 (en) | Synchronizing nodes at a meeting point |
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: 20190618 |
|
RJ01 | Rejection of invention patent application after publication |