CN109618174A - A kind of live data transmission method, device, system and storage medium - Google Patents
A kind of live data transmission method, device, system and storage medium Download PDFInfo
- Publication number
- CN109618174A CN109618174A CN201811513573.9A CN201811513573A CN109618174A CN 109618174 A CN109618174 A CN 109618174A CN 201811513573 A CN201811513573 A CN 201811513573A CN 109618174 A CN109618174 A CN 109618174A
- Authority
- CN
- China
- Prior art keywords
- source station
- source
- audio
- video data
- standby
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- 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/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/23614—Multiplexing of additional data and video streams
-
- 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/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
- H04N21/64792—Controlling the complexity of the content stream, e.g. by dropping packets
-
- 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/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
This application discloses a kind of live data transmission method, device, equipment and storage mediums, are related to field of communication technology.Receive audio, video data is flowed back to source return sourse instruction after, first obtain configuration information, determine whether the active and standby identity of source station is switched.The first source station in the case where active and standby identity does not switch, that is, before switching as main source station is still used as main source station, continues from third-party server Hui Yuan, and adds location information to audio and video data streams by the first source station.In the case where active and standby identity switches, the first source station namely before switching as main source station is switched to standby source station now, second source station is switched now as main source station, by the second source station from third-party server Hui Yuan, and location information is added to audio, video data by the second source station, and the second source station of source is gone back in the first source station.Can guarantee in this way the data in the whole network be all it is unified, data edge can normal reduction, solve the problems, such as P2P transmission in versatility.
Description
Technical field
This application involves field of communication technology more particularly to a kind of live data transmission method, device, system and calculating
Machine readable storage medium storing program for executing.
Background technique
With the development of network technology, user is increasingly dependent on obtains required video content from network.And in reality
In the application of border, CDN (Content Delivery Network, content distributing network) is common video network.Institute referring to Fig.1
Show, traditional CDN distributed architecture is usually tree structure, and fringe node returns source region domain node, and Area Node is returned and stood in a steady stream, source station
Source third-party server is returned again.
It needs to carry out distributed slice in current CDN system, it is therefore desirable to location information is added to the data of slice, with
Data are aligned according to location information at edge.The stability for considering source station in the prior art, is typically provided with active and standby
Two source stations.Main source station returns source third-party server and draws stream, once find the situations such as main source station network data is insufficient, packet loss is serious
When, Area Node can be allowed to be switched on standby source station at once, continue to draw stream using standby source station.At this point, the uid of pulling data stream
(User Identification, User Identity) is changed, and main source station cannot to the data of stream addition location information
Enough be further continued for using.
Area Node is switched to after standby source station, and partial region node finds that data are still insufficient, then can be again switched to
Main source station is flowed so that partial region node is drawn from main source station, and partial region node draws stream from standby source station, the number for causing edge to be sliced
According to can not correctly restore, so that the meaning of P2P fails.
Summary of the invention
The purpose of the application is to provide a kind of live data transmission method, device, system and computer-readable storage medium
Matter, to solve the problems, such as in existing direct seeding technique distributed to be sliced that corresponding uid is inconsistent to cause data to be unable to normal reduction.
In order to solve the above technical problems, the application provides a kind of live data transmission method, for the source in CDN network
It stands, the CDN network further includes control centre, and the control centre is provided with the interface for accessing pre-stored configuration information,
The described method includes:
Receive time sourse instruction that source is flowed back to audio, video data;
The configuration information is obtained from the control centre;
Determine whether the active and standby identity of source station switches according to the configuration information;
If it is not, then being continued by the first source station before switching as main source station from third-party server Hui Yuan, and sound is regarded
Frequency data stream adds location information;
If it is, by the second source station before switching as standby source station from the third-party server Hui Yuan, and to described
Audio, video data adds location information, the second source station described in the first source station Hui Yuan.
Optionally, the source station includes multiple source station groups, described to receive time sourse instruction packet that source is flowed back to audio, video data
It includes:
It receives and treats the drawing stream for pulling audio and video data streams request, include at least the audio-video number in the drawing stream request
According to the parameter information of stream;
According to the parameter information and configuration information, the target source station group for carrying out drawing stream is determined;
Target source station group receives time sourse instruction that source is flowed back to audio, video data.
Optionally, described according to the parameter information and configuration information, determine that the target source station group for draw stream includes:
The parameter information is the triple data of the audio and video data streams to be pulled, and is carried out to the triple data
Hash equilibrium calculation determines the target source station group for carrying out drawing stream according to calculated result.
Optionally, when the third source station for receiving the drawing stream request is not belonging to the target source station group, the third source
Target source station group described in Hui Yuan of standing pulls the audio and video data streams.
Optionally, further includes:
When detecting that connection between Area Node and first source station is broken down, disconnect current region node with
The connection of first source station is switched to the second source station Hui Yuan.
Optionally, continue in first source station by before switching as main source station from third-party server Hui Yuan, and right
Audio and video data streams are added after location information further include:
First source station described in the second source station Hui Yuan.
Optionally, in second source station by before switching as standby source station from the third-party server Hui Yuan, and it is right
The audio, video data adds location information, after the second source station described in the first source station Hui Yuan further include:
First source station judges whether the audio and video data streams from the second source station Hui Yuan are added to location information, such as
Fruit is no, then adds location information to the audio and video data streams by first source station.
Present invention also provides a kind of live data transmitting device, described device includes memory and processor, described to deposit
The live data transfer program that can be run on the processor is stored on reservoir, the live data transfer program is described
Method described in realizing any of the above-described kind when processor execution.
Optionally, described device is the node for forming CDN network.
Present invention also provides a kind of live data transmission methods, applied to the first source station in CDN network, the CDN
Network further includes control centre, and the control centre is provided with the interface for accessing pre-stored configuration information, the method packet
It includes:
Receive time sourse instruction that source is flowed back to audio, video data;
The configuration information is obtained from the control centre;
Determine whether the active and standby identity of first source station switches according to the configuration information;
Standby source station is switched to by main source station in first source station, the second source station switching as standby source station is main source originally
When standing, the connection of first source station and third-party server is disconnected, the second source station described in Hui Yuan, second source station is from described
Third-party server goes back to source and adds location information to the audio, video data.
Present invention also provides a kind of live data transmission methods, applied to the second source station in CDN network, the CDN
Network further includes control centre, and the control centre is provided with the interface for accessing pre-stored configuration information, the method packet
It includes:
Receive time sourse instruction that source is flowed back to audio, video data;
The configuration information is obtained from the control centre;
Determine whether the active and standby identity of second source station switches according to the configuration information;
Being switched in second source station by standby source station is main source station, and the first source station as main source station is switched to standby source originally
When standing, source is gone back to from the third-party server and location information is added to the audio, video data, so that first source station is returned
Second source station described in source.
Present invention also provides a kind of live data transmission methods, applied to the control centre in CDN network, the control
Center is provided with the interface for accessing pre-stored configuration information, and the source station in CDN network passes through the interface and the control
Center carries out data communication, which comprises
The active and standby identity of real-time detection source station generates the configuration information of the active and standby identity of mark source station;
The configuration information is sent to the source station, so that the source station determines that active and standby identity is according to the configuration information
It is no to switch.
Present invention also provides a kind of live data Transmission systems, comprising: source station and control centre;
Wherein, the control centre is provided with the interface for accessing pre-stored configuration information;
The source station is used to receive time sourse instruction that source is flowed back to audio, video data;From the control centre obtain described in match
Confidence breath;Determine whether the active and standby identity of source station switches according to the configuration information;If it is not, then by being used as master before switching
First source station of source station is continued from third-party server Hui Yuan, and adds location information to audio and video data streams;If it is, by
Positioning letter is added from the third-party server Hui Yuan, and to the audio, video data in the second source station before switching as standby source station
It ceases, the second source station described in the first source station Hui Yuan.
Present invention also provides a kind of computer readable storage medium, it is stored on the computer readable storage medium straight
Unicast data transmission program, the live data transfer program can be executed by one or more processor, any of the above-described to realize
Live data transmission method described in kind.
Present invention also provides a kind of computer program products, including computer instruction, when run on a computer,
Allow computer execute any of the above-described kind described in live data transmission method.
Live data transmission method provided herein increases on original CDN network framework and is provided in control
The heart is recorded when switching for the active and standby identity in source station, generates configuration information.It is receiving to audio and video data streams
Hui Yuan's returns after sourse instruction, first communicates with control centre, obtains configuration information, determines whether the active and standby identity of source station has occurred
Switching.The first source station in the case where active and standby identity does not switch, that is, before switching as main source station is still as master
Source station is continued from third-party server Hui Yuan, and adds location information to audio and video data streams by the first source station.In active and standby identity
The first source station in the case where switching, that is, before switching as main source station is switched to standby source station, the second source station now
It is switched now as main source station, by the second source station from third-party server Hui Yuan, and audio, video data is added by the second source station
Location information, and the second source station of source is gone back in the first source station, no longer from third-party server Hui Yuan.In this way, it is possible to guarantee in the whole network
Only one source station Hui Yuan, when region switches active and standby source station again, the data in the whole network be all it is unified, data are in edge energy
Enough normal reductions solve the problems, such as the versatility in P2P transmission.
In addition, present invention also provides a kind of live data transmitting device, equipment and meters with above-mentioned technological merit
Calculation machine readable storage medium storing program for executing.
Detailed description of the invention
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present application or the prior art
Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this Shen
Some embodiments please for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is traditional CDN distributed architecture schematic diagram;
Fig. 2 is CDN network configuration diagram provided herein;
Fig. 3 is a kind of flow chart of specific embodiment of live data transmission method provided herein;
Fig. 4 is the flow chart of another specific embodiment of live data transmission method provided herein;
Fig. 5 is the structural block diagram of live data transmitting device provided by the embodiments of the present application;
Fig. 6 is the flow chart of the third specific embodiment of live data transmission method provided herein;
Fig. 7 is the flow chart of the 4th kind of specific embodiment of live data transmission method provided herein;
Fig. 8 is the flow chart of the 5th kind of specific embodiment of live data transmission method provided herein.
Specific embodiment
There are two machines in source station in the prior art, and one main one is standby, active and standby while drawing stream, addition location information, without same district
Two, source of domain node time is active and standby, causes location information inconsistent, and the uid being sliced to the edge edge Shi Huishi is inconsistent, in little Kuang
When machine P2P is restored, cause that chunk can not be restored.The application ensure that third party's data flow in the entrance of CDN network is unique
, location information is added to data in inlet in this way, the whole network is it is ensured that be unified location information.According to the location information
The inconsistent phenomenon of data uid can be avoided in the whole network fringe node align data.
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, not
For limiting the application.Based on the embodiment in the application, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall in the protection scope of this application.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in this application is used for description purposes only, and cannot
It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment
Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution
Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not this application claims
Protection scope within.
Live data transmission method provided by the present application is applied to CDN network, referring to Fig. 2 CDN net provided herein
Network configuration diagram, the CDN network include fringe node, Area Node, source station and third-party server, in addition to this,
Increase on original CDN network framework and be provided with control centre, is recorded when switching for the active and standby identity in source station,
Generate configuration information.The control centre is provided with the interface for accessing pre-stored configuration information.It each source station can be by this
The configuration information stored in interface access control center.
A kind of flow chart of specific embodiment of live data transmission method provided herein is as shown in figure 3, the party
Method is applied to source station, which is wherein one group in multiple source station groups, can be divided into each group of source station again main source station and
Standby two kinds of source station, process specifically includes:
Step S101: time sourse instruction that source is flowed back to audio, video data is received;
Hui Yuan refers to when the node in CDN network does not have the requested content of user, requests this content to other nodes
Process.Optionally, the source of returning for flowing back to source to audio, video data that source station receives that next stage Area Node is sent in this step refers to
It enables.
Step S102: the configuration information is obtained from the control centre;
Optionally, source station calling interface obtains configuration information from control centre.
Step S103: determine whether the active and standby identity of source station switches according to the configuration information;
Due to having recorded the information to switch between active and standby source station in configuration information, by reading with confidence
Whether the active and standby identity that breath can analyze to obtain source station is switched.
Step S104: if it is not, then continued by the first source station before switching as main source station from third-party server Hui Yuan,
And location information is added to audio and video data streams;
In the case where active and standby identity does not switch, that is, the first source station still conduct before switching as main source station
Main source station is continued from third-party server Hui Yuan, and adds location information to audio and video data streams by the first source station.At this point, making
The second source station for standby source station does not have Area Node connection, therefore can be without Hui Yuan.There is Area Node company in the second source station
When connecing, the first source station of source is gone back in the first source station.The data flow pulled during this from third-party server is by the first source station conduct
Entrance enters in CDN network, adds location information by the first source station.
Step S105: if it is, by before switching as the second source station for source station from the third-party server Hui Yuan,
And location information, the second source station described in the first source station Hui Yuan are added to the audio, video data.
The first source station in the case where active and standby identity switches, that is, before switching as main source station is switched now
For standby source station, the second source station is switched now as main source station, by the second source station from third-party server Hui Yuan, and by the second source station
Location information is added to audio, video data, and the second source station of source is gone back in the first source station, no longer from third-party server Hui Yuan.Hereafter,
First source station receives again when pulling instruction, can only be from the second source station Hui Yuan, the number that pulls during this from third-party server
It is entered in CDN network by the second source station as entrance according to stream, location information is added by the second source station.
In above-mentioned steps S105 by the second source station before switching as standby source station from the third-party server Hui Yuan, and it is right
The audio, video data adds location information, after the second source station described in the first source station Hui Yuan further include: sentence the first source station
It is disconnected whether to be added to location information from the audio and video data streams of the second source station Hui Yuan, if it is not, then by first source station to institute
State audio and video data streams addition location information.If it is, not needing to add location information to audio and video data streams again.
Source station all first obtains configuration information from control centre each time before Hui Yuan in the embodiment of the present application.For example, main source
It stands before Hui Yuan, first obtains configuration information from control centre, judgement is back source third-party server or Hui Yuan for source station.Control
It is recorded in the configuration information at center in the case that active and standby identity do not switch, return source third-party server for main source station, at this moment standby
Source station is not received by connection, is not required to Hui Yuan.When judging that the situations such as frame, packet loss, network cutting occurs owing in main source station, control
The active and standby identity handover information of main source station and standby source station is recorded in configuration information in center.Main source station is disconnected to third party's service
The drawing stream of device connects, and asks whether back source third-party server by standby source station.According to the configuration information in control centre, allow standby
Source third-party server is returned in source station.At this point, when main source station asks whether back source third-party server to control centre again, control
The center source station Hui Rangzhu Hui Yuan completes primary switching, guarantees only one source station Hui Yuan in the whole network for source station.When Area Node again
Secondary deficient frame is active and standby when toggling, and the data in the whole network are all unified.Control centre records the source station to go wrong, remembers simultaneously
The standby source station of record Hui Yuan, to prevent from frequently toggling, after process preset time, control centre is by original main source
It stands as the standby source station of first time and treats, repeat the above movement.
Live data transmission method provided herein increases on original CDN network framework and is provided in control
The heart is recorded when switching for the active and standby identity in source station, generates configuration information.It is receiving to audio and video data streams
Hui Yuan's returns after sourse instruction, first communicates with control centre, obtains configuration information, determines whether the active and standby identity of source station has occurred
Switching.The first source station in the case where active and standby identity does not switch, that is, before switching as main source station is still as master
Source station is continued from third-party server Hui Yuan, and adds location information to audio and video data streams by the first source station.In active and standby identity
The first source station in the case where switching, that is, before switching as main source station is switched to standby source station, the second source station now
It is switched now as main source station, by the second source station from third-party server Hui Yuan, and audio, video data is added by the second source station
Location information, and the second source station of source is gone back in the first source station, no longer from third-party server Hui Yuan.In this way, it is possible to guarantee in the whole network
Only one source station Hui Yuan, when region switches active and standby source station again, the data in the whole network be all it is unified, data are in edge energy
Enough normal reductions solve the problems, such as the versatility in P2P transmission.
Live data transmission method provided herein can also be applied to multiple source station groups, as Fig. 4 the application mentions
Shown in the flow chart of another specific embodiment of the live data transmission method of confession, which includes:
Step S201: receiving and treat the drawing stream for pulling audio and video data streams request, includes at least institute in the drawing stream request
State the parameter information of audio and video data streams;
Optionally, the parameter information can be the triple data of the audio and video data streams to be pulled.For all the way
Stream, triple data are unique.The form of triple data can be with are as follows: vhost/app/stream.The triple is to draw stream
Url (Uniform Resource Locator, uniform resource locator), per flow all the way vhost/app/stream composition
Url be unique.
Step S202: according to the parameter information and configuration information, the target source station group for carrying out drawing stream is determined;
Hash equilibrium calculation can be carried out to the triple data in this step, drawing stream is carried out according to calculated result determination
Target source station group.Such as the source station being currently configured in configuration information is that x group is needed when calculating Hash drop point to x complementation,
Which then fallen in group according to result determination, i.e. target source station group.
Step S203: target source station group receives time sourse instruction that source is flowed back to audio, video data;
After determination obtains target source station group, sourse instruction is received back by target source station group, subsequent step is executed, needs to refer to
Out, subsequent step is corresponding with the step in embodiment one, can be cross-referenced, and details are not described herein.
Step S204: the configuration information is obtained from the control centre;
Step S205: determine whether the active and standby identity of source station switches according to the configuration information;
Step S206: if it is not, then continued by the first source station before switching as main source station from third-party server Hui Yuan,
And location information is added to audio and video data streams;
Step S207: if it is, by before switching as the second source station for source station from the third-party server Hui Yuan,
And location information, the second source station described in the first source station Hui Yuan are added to the audio, video data.
In addition, when the third source station for receiving the drawing stream request is not belonging to the target source station group, the third source station
Target source station group described in Hui Yuan pulls the audio and video data streams.
On the basis of the above embodiments, the application can further include: when detecting Area Node and described the
When connection between one source station is broken down, the connection of current region node and first source station is disconnected, is switched to described the
Two source station Hui Yuan.When finding source station packet loss, owing the situations such as frame, network cutting, Area Node can be switched to separately the present embodiment
On one source station.The problem of if it is region own net, naturally it is also possible to which selection is without switching.
Below for configuring two source station groups, live data transmission method provided herein is carried out further detailed
It is thin to illustrate.In the present embodiment, two source station groups are configured, each group is all one main one standby.It is indicated respectively with A/A1, B/B1, X1's is
Standby, A, B are Hash groups, according to the corresponding triple of audio/video flow to be pulled, carry out Hash equilibrium calculation, determine two groups of configuration
Which group source station eventually falls in.
Default is main source station in control centre H setting A, B, and A1, B1 are standby source station.It A, will when A1, B, B1 go back to source every time
Adjust back an interface, that is, on_ingest interface.
When Area Node draws stream, when can go back to main A or main B, A/B go back tos sources, on_ingest interface is called, while parameter
Xy3rdUrl passes to control centre H, and control centre H can calculate Hash according to the triple sent, then to a group number complementation,
It falls on one group of machine.
(1) assume to fall in A/A1 group, control centre H is the discovery that A draws stream, while A is main source station, then rewrite to ginseng
Source third-party server is agreed to back in the vhost/app/stream of third party CDN in number, return.After A is received, direct Hui Yuan
Tripartite's server.
(2) if in addition wandered all the way onto B/B1 group, control centre H has found that A draws stream, while B is main source station, should not
The vhost/app/stream of third-party server in rewrite parameter, at the same the address return B to A, after A is received, directly
Source B is returned using original url.
(3) according to (2) step, B starts Hui Yuan, calls on_ingest interface, while parameter xy3rdUrl is passed to control
Center H processed, control centre H are the discovery that B draws stream, while B is main source station, third-party server of the rewrite into parameter
Source third-party server is agreed to back in vhost/app/stream, return.After B is received, source third-party server is directly returned.
(4) it if Hash group is more, repeats above operation.
After on the A for falling on group (A/A1) in (3) step, A Hui Yuanhou, if it find that A shakes, network is lost
Packet, then in the standby configuration setting A1/A, A1 of control centre H up-regulation change owner when deciding, A is as standby, after the reason of finding out A amendment, A after
It is continuous do it is standby, if exchanging being A/A1 on control centre H, A is once again set up as main source station after packet loss, shake occurs again in A1.
If (3) step falls on the B of group (B/B1), the switching of the switching of B, B1 similar A, A1 are repeated above operation.
In the present embodiment, each source station understands self-timing and calls an interface get_origin, the Three-ary Number being transmitted through
It is transferred to control centre H according to group and parameter xy3rdUrl, then calculates cryptographic Hash from control centre H, obtains the hash of corresponding stream
The main source station of group, if control centre records active and standby source station identity and do not change, the main source station returned every time is all a machine,
Continue Hui Yuanyuan link in source station;If the active and standby identity of corresponding stream changes, disconnect it is former return source link, using new link after
Continuous Hui Yuan.By method provided herein, so that stream remains that source third party, other sources are gone back in a source station all the way on line
The source of the standing back source station.
Further, if source station needs dilatation, can continue to add equipment on the basis of the above.Such as one group is added again
Equipment when then calculating Hash drop point, is needed to 3 complementations, then falls on corresponding group according to numerical value determination.
Preferably, if the embodiment of the present application control centre goes wrong, default is directly walked, using local interface,
Rewrite directly returns source third-party server at third party vhost/app/stream.
Live data transmitting device provided by the embodiments of the present application is introduced below, live data described below passes
Defeated device can correspond to each other reference with above-described live data transmission method.
Fig. 5 is the structural block diagram of live data transmitting device provided by the embodiments of the present application, which is applied to CDN network
In source station, the CDN network further includes control centre, and the control centre is provided with the pre-stored configuration information of access
Interface may include: referring to Fig. 5 live data transmitting device 1
Memory 11, processor 12 and interface 13.
The live data transfer program that can be run on the processor 12, the live streaming are stored on the memory 11
Data distributing program performs the steps of when being executed by the processor 12
Receive time sourse instruction that source is flowed back to audio, video data;The configuration information is obtained from the control centre;According to
The configuration information determines whether the active and standby identity of source station switches;If it is not, then by switching preceding first as main source station
Source station is continued from third-party server Hui Yuan, and adds location information to audio and video data streams;If it is, by switching preceding conduct
Location information is added from the third-party server Hui Yuan, and to the audio, video data in second source station of standby source station, and described the
Second source station described in one source station Hui Yuan.
In the present embodiment, the source station includes multiple source station groups, and the live data transfer program is by the processor 12
Following steps may be implemented when execution:
It receives and treats the drawing stream for pulling audio and video data streams request, include at least the audio-video number in the drawing stream request
According to the parameter information of stream;
According to the parameter information and configuration information, the target source station group for carrying out drawing stream is determined;
Target source station group receives time sourse instruction that source is flowed back to audio, video data.
In the present embodiment, following steps are may be implemented when being executed by the processor 12 in the live data transfer program:
The parameter information is the triple data of the audio and video data streams to be pulled, and it is balanced to carry out Hash to the triple data
It calculates, the target source station group for carrying out drawing stream is determined according to calculated result.
In the present embodiment, following steps are may be implemented when being executed by the processor 12 in the live data transfer program:
When the third source station for receiving the drawing stream request is not belonging to the target source station group, target source described in the third source station Hui Yuan
Group of standing pulls the audio and video data streams.
In the present embodiment, the live data transfer program can also realize following step when being executed by the processor 12
It is rapid: when detecting that connection between Area Node and first source station is broken down, disconnect current region node with it is described
The connection of first source station is switched to the second source station Hui Yuan.
In the present embodiment, the live data transfer program can also realize following step when being executed by the processor 12
It is rapid: to continue in first source station by before switching as main source station from third-party server Hui Yuan, and to audio and video data streams
After adding location information, the first source station described in the second source station Hui Yuan.
In the present embodiment, the live data transfer program can also realize following step when being executed by the processor 12
It is rapid: in second source station by before switching as standby source station from the third-party server Hui Yuan, and to the audio-video number
According to addition location information, after the second source station described in the first source station Hui Yuan, first source station judges from second source
Whether the audio and video data streams of Hui Yuan of standing are added to location information, if it is not, then by first source station to the audio-video number
Location information is added according to stream.
In the present embodiment, live data transmitting device 1 can be PC (Personal Computer, PC),
It can be smart phone, tablet computer, palm PC, portable computer, intelligent router, mine machine, network storage equipment terminal
Equipment.
The live data transmitting device 1 can be the node of composition CDN network.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory,
Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11
It can be the internal storage unit of live data transmitting device 1 in some embodiments, such as the live data transmitting device 1
Hard disk.Memory 11 is also possible to the External memory equipment of live data transmitting device 1 in further embodiments, such as is broadcast live
The plug-in type hard disk being equipped on data transmission device 1, intelligent memory card (Smart Media Card, SMC), secure digital
(Secure Digital, SD) card, flash card (Flash Card) etc..Further, memory 11 can also both include live streaming
The internal storage unit of data transmission device 1 also includes External memory equipment.Memory 11 can be not only used for storage and be installed on
Application software and Various types of data, such as the code of live data transfer program 01 of live data transmitting device 1 etc. can also be used
In temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11
Code or processing data, such as execute live data transfer program 01 etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation
PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA)
Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 5 only with one slightly
Line indicates, it is not intended that an only bus or a type of bus.
Further, live data transmitting device can also include network interface 14, and network interface 14 optionally can wrap
Wireline interface and/or wireless interface (such as WI-FI interface, blue tooth interface) are included, commonly used in setting in the device 1 with other electronics
Communication connection is established between standby.
Optionally, which can also include user interface, and user interface may include display (Display), input
Unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface and wireless interface.It is optional
Ground, in some embodiments, display can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED
(Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Wherein, display can also be appropriate
Referred to as display screen or display unit, for being shown in the information handled in live data transmitting device 1 and for showing visually
The user interface of change.
Fig. 5 illustrates only the live data transmitting device 1 with component 11-13, it will be appreciated by those skilled in the art that
It is that the structure shown in Fig. 5 does not constitute the restriction to live data transmitting device 1, may include less or more than illustrating
Component, perhaps combine certain components or different component layouts.
The application increases on original CDN network framework is provided with control centre, for sending out in the active and standby identity of source station
It is recorded when raw switching, generates configuration information.Receive audio, video data is flowed back to source return sourse instruction after, first with control
Center to center communications processed obtains configuration information, determines whether the active and standby identity of source station is switched.It does not switch in active and standby identity
In the case where, that is, switch preceding the first source station as main source station and be still used as main source station, continue to return from third-party server
Source, and location information is added to audio and video data streams by the first source station.In the case where active and standby identity switches, that is, cut
The first source station before changing as main source station is switched to now for source station, and the second source station is switched now as main source station, by second
Location information, and the first source station Hui Yuan are added to audio, video data from third-party server Hui Yuan, and by the second source station in source station
Two source stations, no longer from third-party server Hui Yuan.In this way, it is possible to guarantee only one source station Hui Yuan in the whole network, when region again
When the active and standby source station of secondary switching, the data in the whole network be all it is unified, data edge can normal reduction, solve P2P transmission
In versatility problem.
Disclosed herein as well is a kind of live data transmission methods, applied to the first source station in CDN network, the CDN
Network further includes control centre, and the control centre is provided with the interface for accessing pre-stored configuration information, referring to Fig. 6, institute
The method of stating includes:
Step S301: time sourse instruction that source is flowed back to audio, video data is received;
Step S302: the configuration information is obtained from the control centre;
Step S303: determine whether the active and standby identity of first source station switches according to the configuration information;
Step S304: standby source station is switched to by main source station in first source station, originally the second source station as standby source station
When switching is main source station, the connection of first source station and third-party server is disconnected, the second source station described in Hui Yuan, described second
Source station goes back to source from the third-party server and adds location information to the audio, video data.
Disclosed herein as well is a kind of live data transmission methods, applied to the second source station in CDN network, the CDN
Network further includes control centre, and the control centre is provided with the interface for accessing pre-stored configuration information, referring to Fig. 7, institute
The method of stating includes:
Step S401: time sourse instruction that source is flowed back to audio, video data is received;
Step S402: the configuration information is obtained from the control centre;
Step S403: determine whether the active and standby identity of second source station switches according to the configuration information;
Step S404: being switched in second source station by standby source station is main source station, originally the first source station as main source station
When being switched to standby source station, source is gone back to from the third-party server and location information is added to the audio, video data, so that described
Second source station described in first source station Hui Yuan.
A kind of live data transmission method is also disclosed in the application, applied to the control centre in CDN network, in the control
The heart is provided with the interface for accessing pre-stored configuration information, and the source station in CDN network passes through in the interface and the control
The heart carries out data communication, referring to Fig. 8, which comprises
Step S501: the active and standby identity of real-time detection source station generates the configuration information of the active and standby identity of mark source station;
The step source station S502: Xiang Suoshu sends the configuration information, so that the source station is determined according to the configuration information
Whether active and standby identity switches.
It should be pointed out that the above embodiments of the present application respectively using the first source station, the second source station, control centre as execution
Main body, disclosed live data transmission method is corresponding with preceding method, and specific implementation process is referred to side above-mentioned
Method, details are not described herein.
Disclosed herein as well is a kind of live data Transmission systems, comprising: source station, Area Node, fringe node, third party
Server and control centre;
Wherein, the control centre is provided with the interface for accessing pre-stored configuration information;
The source station is used to receive time sourse instruction that source is flowed back to audio, video data;From the control centre obtain described in match
Confidence breath;Determine whether the active and standby identity of source station switches according to the configuration information;If it is not, then by being used as master before switching
First source station of source station is continued from third-party server Hui Yuan, and adds location information to audio and video data streams;If it is, by
Positioning letter is added from the third-party server Hui Yuan, and to the audio, video data in the second source station before switching as standby source station
It ceases, the second source station described in the first source station Hui Yuan.
The specific implementation of Area Node, fringe node, third-party server is referred to above-described embodiment in the present embodiment
And the prior art, details are not described herein.
The application increases on original CDN network framework is provided with control centre, for sending out in the active and standby identity of source station
It is recorded when raw switching, generates configuration information.Receive audio, video data is flowed back to source return sourse instruction after, first with control
Center to center communications processed obtains configuration information, determines whether the active and standby identity of source station is switched.It does not switch in active and standby identity
In the case where, that is, switch preceding the first source station as main source station and be still used as main source station, continue to return from third-party server
Source, and location information is added to audio and video data streams by the first source station.In the case where active and standby identity switches, that is, cut
The first source station before changing as main source station is switched to now for source station, and the second source station is switched now as main source station, by second
Location information, and the first source station Hui Yuan are added to audio, video data from third-party server Hui Yuan, and by the second source station in source station
Two source stations, no longer from third-party server Hui Yuan.In this way, it is possible to guarantee only one source station Hui Yuan in the whole network, when region again
When the active and standby source station of secondary switching, the data in the whole network be all it is unified, data edge can normal reduction, solve P2P transmission
In versatility problem.
Present invention also provides a kind of computer readable storage medium, it is stored on the computer readable storage medium straight
Unicast data transmission program, the live data transfer program can be executed by one or more processor, to perform the steps of
Receive time sourse instruction that source is flowed back to audio, video data;The configuration information is obtained from the control centre;According to
The configuration information determines whether the active and standby identity of source station switches;If it is not, then by switching preceding first as main source station
Source station is continued from third-party server Hui Yuan, and adds location information to audio and video data streams;If it is, by switching preceding conduct
Location information is added from the third-party server Hui Yuan, and to the audio, video data in second source station of standby source station, and described the
Second source station described in one source station Hui Yuan.
In the present embodiment, the live data transfer program can be executed by one or more processor, may be implemented with
Lower step:
It receives and treats the drawing stream for pulling audio and video data streams request, include at least the audio-video number in the drawing stream request
According to the parameter information of stream;
According to the parameter information and configuration information, the target source station group for carrying out drawing stream is determined;
Target source station group receives time sourse instruction that source is flowed back to audio, video data.
In the present embodiment, the live data transfer program can be executed by one or more processor, may be implemented with
Lower step: the parameter information is the triple data of the audio and video data streams to be pulled, and is carried out to the triple data
Hash equilibrium calculation determines the target source station group for carrying out drawing stream according to calculated result.
In the present embodiment, the live data transfer program can be executed by one or more processor, may be implemented with
Lower step: when the third source station for receiving the drawing stream request is not belonging to the target source station group, source institute is gone back in the third source station
It states target source station group and pulls the audio and video data streams.
In the present embodiment, the live data transfer program can be executed by one or more processor, may be implemented with
Lower step: when detecting that connection between Area Node and first source station is broken down, disconnect current region node with
The connection of first source station is switched to the second source station Hui Yuan.
In the present embodiment, the live data transfer program can be executed by one or more processor, may be implemented with
Lower step: continue in first source station by before switching as main source station from third-party server Hui Yuan, and to audio-video number
After adding location information according to stream, the first source station described in the second source station Hui Yuan.
In the present embodiment, the live data transfer program can be executed by one or more processor, may be implemented with
Lower step: it is regarded in second source station by before switching as standby source station from the third-party server Hui Yuan, and to the sound
Frequency is according to addition location information, and after the second source station described in the first source station Hui Yuan, first source station judges from described the
Whether the audio and video data streams of two source station Hui Yuan are added to location information, if it is not, then being regarded by first source station to the sound
Frequency data stream adds location information.
In addition, present invention also provides a kind of computer program product, including computer instruction, when it is transported on computers
When row, allow computer execute any of the above-described kind described in live data transmission method.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter
When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can
To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited
Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium
Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center
Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website
Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit
Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set
It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead
Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
To sum up, the application increases on original CDN network framework is provided with control centre, in the active and standby body of source station
Part is recorded when switching, and generates configuration information.Receive audio, video data is flowed back to source return sourse instruction after, first
It is communicated with control centre, obtains configuration information, determine whether the active and standby identity of source station is switched.Do not occur in active and standby identity
The first source station in the case where switching, that is, before switching as main source station is still used as main source station, continues from third party's service
Device Hui Yuan, and location information is added to audio and video data streams by the first source station.In the case where active and standby identity switches, also
It is that the first source station before switching as main source station is switched to now for source station, the second source station is switched now as main source station, by
Location information is added to audio, video data from third-party server Hui Yuan, and by the second source station in second source station, and the first source station is returned
The second source station of source, no longer from third-party server Hui Yuan.In this way, it is possible to guarantee only one source station Hui Yuan in the whole network, work as area
When domain switches active and standby source station again, the data in the whole network be all it is unified, data edge can normal reduction, solve P2P
Versatility problem in transmission.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And
The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet
Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed
Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more
In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element
Or there is also other identical elements in method.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (14)
1. a kind of live data transmission method, which is characterized in that applied to the source station in CDN network, the CDN network further includes
Control centre, the control centre are provided with the interface for accessing pre-stored configuration information, which comprises
Receive time sourse instruction that source is flowed back to audio, video data;
The configuration information is obtained from the control centre;
Determine whether the active and standby identity of source station switches according to the configuration information;
If it is not, then being continued by the first source station before switching as main source station from third-party server Hui Yuan, and to audio-video number
Location information is added according to stream;
If it is, by the second source station before switching as standby source station from the third-party server Hui Yuan, and the sound is regarded
Frequency is according to addition location information, the second source station described in the first source station Hui Yuan.
2. live data transmission method as described in claim 1, which is characterized in that the source station includes multiple source station groups, institute
Stating the sourse instruction of returning for receiving and flowing back to source to audio, video data includes:
It receives and treats the drawing stream for pulling audio and video data streams request, include at least the audio and video data streams in the drawing stream request
Parameter information;
According to the parameter information and configuration information, the target source station group for carrying out drawing stream is determined;
Target source station group receives time sourse instruction that source is flowed back to audio, video data.
3. live data transmission method as claimed in claim 2, which is characterized in that described according to the parameter information and to match
Confidence breath determines that the target source station group for draw stream includes:
The parameter information is the triple data of the audio and video data streams to be pulled, and carries out Hash to the triple data
Equilibrium calculation determines the target source station group for carrying out drawing stream according to calculated result.
4. live data transmission method as claimed in claim 2, which is characterized in that when the third source for receiving the drawing stream request
When station is not belonging to the target source station group, target source station group described in the third source station Hui Yuan pulls the audio and video data streams.
5. live data transmission method as described in claim 1, which is characterized in that further include:
When detecting that connection between Area Node and first source station is broken down, disconnect current region node with it is described
The connection of first source station is switched to the second source station Hui Yuan.
6. such as live data transmission method described in any one of claim 1 to 5, which is characterized in that described by switching preceding work
Continue for the first source station of main source station from third-party server Hui Yuan, and audio and video data streams addition location information is also wrapped later
It includes:
First source station described in the second source station Hui Yuan.
7. live data transmission method as claimed in claim 6, which is characterized in that it is described by before switching as standby source station
Location information is added from the third-party server Hui Yuan, and to the audio, video data in second source station, and first source station is returned
After second source station described in source further include:
First source station judges whether the audio and video data streams from the second source station Hui Yuan are added to location information, if
It is no, then location information is added to the audio and video data streams by first source station.
8. a kind of live data transmitting device, which is characterized in that described device includes memory and processor, on the memory
It is stored with the live data transfer program that can be run on the processor, the live data transfer program is by the processor
Method as described in any one of claim 1 to 7 is realized when execution.
9. device according to claim 8, which is characterized in that described device is the node for forming CDN network.
10. a kind of live data transmission method, which is characterized in that applied to the first source station in CDN network, the CDN network
It further include control centre, the control centre is provided with the interface for accessing pre-stored configuration information, which comprises
Receive time sourse instruction that source is flowed back to audio, video data;
The configuration information is obtained from the control centre;
Determine whether the active and standby identity of first source station switches according to the configuration information;
Standby source station is switched to by main source station in first source station, the second source station switching as standby source station is main source station originally
When, disconnect the connection of first source station and third-party server, the second source station described in Hui Yuan, second source station is from described the
Tripartite's server goes back to source and adds location information to the audio, video data.
11. a kind of live data transmission method, which is characterized in that applied to the second source station in CDN network, the CDN network
It further include control centre, the control centre is provided with the interface for accessing pre-stored configuration information, which comprises
Receive time sourse instruction that source is flowed back to audio, video data;
The configuration information is obtained from the control centre;
Determine whether the active and standby identity of second source station switches according to the configuration information;
Being switched in second source station by standby source station is main source station, and the first source station as main source station is switched to standby source station originally
When, source is gone back to from the third-party server and location information is added to the audio, video data, so that the first source station Hui Yuan
Second source station.
12. a kind of live data transmission method, which is characterized in that applied to the control centre in CDN network, the control centre
It is provided with the interface for accessing pre-stored configuration information, the source station in CDN network passes through the interface and the control centre
Carry out data communication, which comprises
The active and standby identity of real-time detection source station generates the configuration information of the active and standby identity of mark source station;
The configuration information is sent to the source station, so that the source station determines whether active and standby identity is sent out according to the configuration information
Raw switching.
13. a kind of live data Transmission system characterized by comprising source station and control centre;
Wherein, the control centre is provided with the interface for accessing pre-stored configuration information;
The source station is used to receive time sourse instruction that source is flowed back to audio, video data;It is obtained from the control centre described with confidence
Breath;Determine whether the active and standby identity of source station switches according to the configuration information;If it is not, then by being used as main source station before switching
The first source station continue from third-party server Hui Yuan, and to audio and video data streams add location information;If it is, by switching
Location information is added from the third-party server Hui Yuan, and to the audio, video data in preceding the second source station as standby source station,
Second source station described in the first source station Hui Yuan.
14. a kind of computer readable storage medium, which is characterized in that be stored with live streaming number on the computer readable storage medium
According to transfer program, the live data transfer program can be executed by one or more processor, with realize as claim 1 to
Live data transmission method described in any one of 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811513573.9A CN109618174B (en) | 2018-12-11 | 2018-12-11 | Live broadcast data transmission method, device, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811513573.9A CN109618174B (en) | 2018-12-11 | 2018-12-11 | Live broadcast data transmission method, device, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109618174A true CN109618174A (en) | 2019-04-12 |
CN109618174B CN109618174B (en) | 2021-12-03 |
Family
ID=66007053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811513573.9A Active CN109618174B (en) | 2018-12-11 | 2018-12-11 | Live broadcast data transmission method, device, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109618174B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035128A (en) * | 2019-04-23 | 2019-07-19 | 深圳市网心科技有限公司 | A kind of live streaming dispatching method, device, live broadcast system and storage medium |
CN111083521A (en) * | 2019-12-27 | 2020-04-28 | 杭州当虹科技股份有限公司 | RTMP release main/standby fast switching method |
CN112637617A (en) * | 2020-12-11 | 2021-04-09 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for live broadcast source station video stream transmission |
CN113347459A (en) * | 2021-06-11 | 2021-09-03 | 杭州星犀科技有限公司 | Autonomous audio source switching method and device based on Android system and computing equipment |
CN113612728A (en) * | 2021-06-25 | 2021-11-05 | 阿里巴巴新加坡控股有限公司 | Streaming media playing method, transmission equipment and system |
CN115114668A (en) * | 2022-08-29 | 2022-09-27 | 天聚地合(苏州)科技股份有限公司 | Data element privacy calculation method and system based on block chain and CDN |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010036189A1 (en) * | 1998-02-05 | 2001-11-01 | Biaodong Cai | Network and method for ATM network operations |
EP1879348A1 (en) * | 2006-07-14 | 2008-01-16 | Agilent Technologies, Inc. | Routing path performance measurement |
US20080025304A1 (en) * | 2006-07-31 | 2008-01-31 | Cisco Technology, Inc. | Method and system for reducing latency in a multi-channel multicast streaming environment in content-delivery networks |
US20100251350A1 (en) * | 2009-03-27 | 2010-09-30 | Samsung Electronics Co., Ltd. | Distributed control method and apparatus using url |
US20110055316A1 (en) * | 2009-09-03 | 2011-03-03 | At&T Intellectual Property I, L.P. | Anycast Aware Transport for Content Distribution Networks |
CN102394880A (en) * | 2011-10-31 | 2012-03-28 | 北京蓝汛通信技术有限责任公司 | Method and device for processing jump response in content delivery network |
CN102427412A (en) * | 2011-12-31 | 2012-04-25 | 网宿科技股份有限公司 | Zero-delay disaster recovery switching method and system of active standby source based on content distribution network |
CN102932466A (en) * | 2012-11-07 | 2013-02-13 | 网宿科技股份有限公司 | Distributed type source monitoring method and distributed type source monitoring system based on content delivery network |
CN103747112A (en) * | 2013-12-24 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | CDN back-to-source method, first server and system thereof |
US20140359667A1 (en) * | 2010-09-27 | 2014-12-04 | Hulu, LLC | Method and Apparatus for Providing User Control of Advertising Breaks Associated with a Media Program |
CN104580393A (en) * | 2014-12-18 | 2015-04-29 | 北京蓝汛通信技术有限责任公司 | Method and device for expanding server cluster system and server cluster system |
US20160286250A1 (en) * | 2011-05-25 | 2016-09-29 | Google Technology Holdings LLC | Distributed Content Management |
CN107769963A (en) * | 2017-09-29 | 2018-03-06 | 贵州白山云科技有限公司 | A kind of content distributing network Fault Locating Method and device |
CN108234638A (en) * | 2017-12-29 | 2018-06-29 | 北京奇虎科技有限公司 | A kind of data processing method and device based on content distributing network CDN |
CN108416017A (en) * | 2018-03-05 | 2018-08-17 | 北京云端智度科技有限公司 | A kind of CDN caching sweep-out method and system |
-
2018
- 2018-12-11 CN CN201811513573.9A patent/CN109618174B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010036189A1 (en) * | 1998-02-05 | 2001-11-01 | Biaodong Cai | Network and method for ATM network operations |
EP1879348A1 (en) * | 2006-07-14 | 2008-01-16 | Agilent Technologies, Inc. | Routing path performance measurement |
US20080025304A1 (en) * | 2006-07-31 | 2008-01-31 | Cisco Technology, Inc. | Method and system for reducing latency in a multi-channel multicast streaming environment in content-delivery networks |
US20100251350A1 (en) * | 2009-03-27 | 2010-09-30 | Samsung Electronics Co., Ltd. | Distributed control method and apparatus using url |
US20110055316A1 (en) * | 2009-09-03 | 2011-03-03 | At&T Intellectual Property I, L.P. | Anycast Aware Transport for Content Distribution Networks |
US20140359667A1 (en) * | 2010-09-27 | 2014-12-04 | Hulu, LLC | Method and Apparatus for Providing User Control of Advertising Breaks Associated with a Media Program |
US20160286250A1 (en) * | 2011-05-25 | 2016-09-29 | Google Technology Holdings LLC | Distributed Content Management |
CN102394880A (en) * | 2011-10-31 | 2012-03-28 | 北京蓝汛通信技术有限责任公司 | Method and device for processing jump response in content delivery network |
CN102427412A (en) * | 2011-12-31 | 2012-04-25 | 网宿科技股份有限公司 | Zero-delay disaster recovery switching method and system of active standby source based on content distribution network |
CN102932466A (en) * | 2012-11-07 | 2013-02-13 | 网宿科技股份有限公司 | Distributed type source monitoring method and distributed type source monitoring system based on content delivery network |
CN103747112A (en) * | 2013-12-24 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | CDN back-to-source method, first server and system thereof |
CN104580393A (en) * | 2014-12-18 | 2015-04-29 | 北京蓝汛通信技术有限责任公司 | Method and device for expanding server cluster system and server cluster system |
CN107769963A (en) * | 2017-09-29 | 2018-03-06 | 贵州白山云科技有限公司 | A kind of content distributing network Fault Locating Method and device |
CN108234638A (en) * | 2017-12-29 | 2018-06-29 | 北京奇虎科技有限公司 | A kind of data processing method and device based on content distributing network CDN |
CN108416017A (en) * | 2018-03-05 | 2018-08-17 | 北京云端智度科技有限公司 | A kind of CDN caching sweep-out method and system |
Non-Patent Citations (1)
Title |
---|
葛宝梁: "数字分发***页面加速子***的设计与实现", 《中国优秀硕士论文全文数据库 信息科技辑》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035128A (en) * | 2019-04-23 | 2019-07-19 | 深圳市网心科技有限公司 | A kind of live streaming dispatching method, device, live broadcast system and storage medium |
CN110035128B (en) * | 2019-04-23 | 2022-04-26 | 深圳市网心科技有限公司 | Live broadcast scheduling method and device, live broadcast system and storage medium |
CN111083521A (en) * | 2019-12-27 | 2020-04-28 | 杭州当虹科技股份有限公司 | RTMP release main/standby fast switching method |
CN112637617A (en) * | 2020-12-11 | 2021-04-09 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for live broadcast source station video stream transmission |
CN113347459A (en) * | 2021-06-11 | 2021-09-03 | 杭州星犀科技有限公司 | Autonomous audio source switching method and device based on Android system and computing equipment |
CN113347459B (en) * | 2021-06-11 | 2023-08-11 | 杭州星犀科技有限公司 | Android system-based autonomous audio source switching method and device and computing equipment |
CN113612728A (en) * | 2021-06-25 | 2021-11-05 | 阿里巴巴新加坡控股有限公司 | Streaming media playing method, transmission equipment and system |
CN113612728B (en) * | 2021-06-25 | 2023-09-01 | 阿里巴巴新加坡控股有限公司 | Streaming media playing method, transmission equipment and system |
CN115114668A (en) * | 2022-08-29 | 2022-09-27 | 天聚地合(苏州)科技股份有限公司 | Data element privacy calculation method and system based on block chain and CDN |
CN115114668B (en) * | 2022-08-29 | 2023-01-17 | 天聚地合(苏州)科技股份有限公司 | Data element privacy calculation method and system based on block chain and CDN |
Also Published As
Publication number | Publication date |
---|---|
CN109618174B (en) | 2021-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618174A (en) | A kind of live data transmission method, device, system and storage medium | |
CN109933420A (en) | Node tasks dispatching method, electronic equipment and system | |
CN109617959A (en) | A kind of data load method, device, system and storage medium | |
CN109788020A (en) | One kind is attended a banquet distribution method and relevant device | |
CN102810066A (en) | Terminal adapting method and terminal and server based on terminal characteristic configuration program | |
CN104579768A (en) | Client upgrading method and device | |
CN110336885A (en) | Fringe node distribution method, device, dispatch server and storage medium | |
CN109600373A (en) | A kind of live data transmission method, device, system and readable storage medium storing program for executing | |
CN109918203A (en) | Access server memory management optimization method, access server and communication system | |
CN109525578A (en) | A kind of CDN distribution network transmission method, device, system and storage medium | |
CN109639823A (en) | Network node dispatching method and device, computer installation and storage medium | |
CN111770157A (en) | Business processing method and device, electronic equipment and storage medium | |
CN108306717A (en) | Data transmission method, server and storage medium | |
CN109753243A (en) | Copy dispositions method, Cloud Server and storage medium | |
CN110290399A (en) | A kind of data distributing method, system, device and computer readable storage medium | |
WO2016043896A1 (en) | Contextual platform feature recommendations | |
CN110290009A (en) | A kind of data dispatching method, device and computer readable storage medium | |
CN110417789A (en) | Server connection method, electronic equipment, system and medium | |
CN109639801A (en) | Back end distribution and data capture method and system | |
CN114003337A (en) | Access request distribution method and device | |
CN110035128A (en) | A kind of live streaming dispatching method, device, live broadcast system and storage medium | |
CN108924128A (en) | A kind of mobile terminal and its method for limiting, the storage medium of interprocess communication | |
CN109032812A (en) | A kind of mobile terminal and its method for limiting, the storage medium of interprocess communication | |
CN109740342A (en) | Obtain method, system, computer installation and storage medium that shell executes permission | |
CN110365771A (en) | A kind of data capture method, device, system and computer readable storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |