CN105721484B - The turning of a kind of Streaming Media pushes away method, system and the server with the system - Google Patents
The turning of a kind of Streaming Media pushes away method, system and the server with the system Download PDFInfo
- Publication number
- CN105721484B CN105721484B CN201610124125.4A CN201610124125A CN105721484B CN 105721484 B CN105721484 B CN 105721484B CN 201610124125 A CN201610124125 A CN 201610124125A CN 105721484 B CN105721484 B CN 105721484B
- Authority
- CN
- China
- Prior art keywords
- push away
- turn
- streaming media
- channel
- push
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/4061—Push-to services, e.g. push-to-talk or push-to-video
-
- 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/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
Abstract
The present invention provide a kind of Streaming Media turn push away method, applied to turning push server, turn the multiple targets of setting in push server to turn to push away channel, each target turn to push away channel corresponding one with the destination server that turns push server and connect, the method that turn pushes away of Streaming Media includes: reception plug-flow to the Streaming Media for turning push server;According to the relevant configured parameter for turning the original plug-flow domain name in push server is pre-stored in, judge whether to need to turn by multiple targets to push away channel to turn to push away the Streaming Media;If it is not, the Streaming Media is directly then pushed to the upper layer destination address for turning push server;If so, turn the Streaming Media to be pushed into the multiple target to turn to push away in channel, according to relevant configured parameter, which is turned to push away the corresponding destination server of channel to target.The present invention can be achieved Streaming Media by all kinds of means and turn to push away function, realize the flexible expansion demand for turning to push away demand by all kinds of means, and the accurate scheduling based on target ip address, accurately turns to shift nearest node onto, evades dns resolution drawback.
Description
Technical field
The invention belongs to stream media technology fields, are related to a kind of turn and push away method and system, more particularly to a kind of Streaming Media
Turn push away method, system and the server with the system.
Background technique
As CDN market competition constantly expands, CDN client simultaneously using more CDN the phenomenon that it is very universal.Traditional
The content distribution of stream mode is drawn in the distribution of CDN static content or live streaming, and it has been to have highly developed side that more CDN are docked from source station
Case.However the business of interaction live streaming class, content source rest in user, how preferably to upload content and are distributed to each
Family CDN or video producer need a feasible program.
The universal solution of industry there are several types of:
The first, user directly pushes away multichannel live streaming and flows to different CDN manufacturers, does drawing stream in each CDN manufacturer and accelerates.
This scheme is larger to the upstream bandwidth of user and the performance consumption of machine, has larger impact to user experience,
Especially for the live streaming plug-flow of high code rate.
Second, the direct plug-flow of user to client source is supplied to each CDN by client source and does drawing stream acceleration.
Than relatively limited, common customer can not cover in all parts of the country push away well for the geographical distribution in this scheme client source
User is flowed, therefore the effect of plug-flow end to client's source cannot preferably be guaranteed, the drawing stream further to each CDN is added
Effect influences.
The third, what user's plug-flow to client web site provided turns push server, then by turning the direct plug-flow of push server to visitor
Family source or each CDN.
This scheme relative ease, effect are also relatively guaranteed.But there are many problems, for example turn push server one
As can only turn to shift onto the domain name of each CDN offer by way of dns resolution, various regions turn in the DNS configuration management of push server,
It is generally difficult to all be deployed as local public network DNS, generally uses 8.8.8.8, these DNS of 114.114.114.114, these
Although DNS can be resolved to nearest CDN node according to the local push server IP that turns, there is also the parsing of larger proportion mistakes
Difference is often parsed less than nearest node, or the parsing time is longer, causes plug-flow ineffective.In addition, directly turning to shift onto
Each CDN, also often also have other aspects turn push away demand, such as return source authentication, channel is rewritten etc., therefore management it is upper this
Kind scheme is simultaneously unfriendly.
Therefore, how to provide a kind of Streaming Media turn push away method, system and the server with the system, it is existing to solve
It can not accurately say that live stream is pushed to each nearest node of CDN in technology, and the various expansions for turning to push away domain name can not be flexibly met
The defects of exhibition demand, has become practitioner in the art's technical problem urgently to be resolved in fact.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of Streaming Media turn push away method,
System and server with the system, it is nearest for solving can not accurately to say that live stream is pushed to each CDN in the prior art
Node, and can not be flexibly met and turn the problem of pushing away the various extension demands of domain name.
To achieve the goals above and other related purposes, one aspect of the present invention provide a kind of Streaming Media turn push away method,
Applied to push server is turned, the multiple targets turn of setting in push server that turn push away channel, and each target turns to push away channel corresponding one
With the destination server for turning push server and connecting, the Streaming Media turns to push away method the following steps are included: receiving plug-flow extremely
The Streaming Media for turning push server;According to the relevant configured parameter for turning the original plug-flow domain name in push server is pre-stored in, sentence
Break whether to need to turn by multiple targets to push away channel and turns to push away the Streaming Media;It is pushed away if it is not, the Streaming Media is directly then pushed to this turn
The upper layer destination address of server;If so, performing the next step rapid: the Streaming Media turn being pushed into the multiple target and turns to push away channel
It is interior, according to the relevant configured parameter, which is turned to push away the corresponding destination server of channel to target.
It is described to be pre-stored in the relevant configuration ginseng for turning the original plug-flow domain name in push server in one embodiment of the invention
Number includes for guiding Streaming Media to turning to push away the first sub- relevant configured parameter of destination address;It is described to judge whether to need by more
A target turn push away channel turn push away the Streaming Media judgment basis be according to opened in the first sub- relevant configured parameter multiple targets turn
Push away the switch parameter of channel.
In one embodiment of the invention, do not need to push away channel by multiple turns turn to push away the Streaming Media when, according to prestoring
The domain name of upper layer destination address in the first sub- relevant configured parameter for turning the original plug-flow domain name in push server, in parsing
The domain name of layer destination address is to obtain the IP address of corresponding upper layer target.
In one embodiment of the invention, after turning the Streaming Media to be pushed into the step that the multiple turn pushes away in channel,
The method that turns to push away of the Streaming Media further includes that inquiry is pre-stored in and turns the first sub- correlation of the original plug-flow domain name in push server and match
Multiple targets in parameter are set to turn to push away the corresponding target domain name of channel.
In one embodiment of the invention, after inquiring the step of multiple targets turn to push away channel corresponding target domain name,
The method that turns to push away of the Streaming Media further includes being turned to push away the corresponding target domain name of channel according to multiple targets, judges whether to need to dispatch
Target ip address, if so, regulation goal IP address operation corresponding with dispatch service target ip address is needed is executed, if
It is no, then execute analysis target ip address operation corresponding with dispatch service target ip address is not needed.
It is described to be pre-stored in the relevant configuration ginseng for turning the original plug-flow domain name in push server in one embodiment of the invention
Number is including further including the second sub- relevant configured parameter for management objectives domain name;It is described opposite with regulation goal IP address is needed
The regulation goal IP address operation answered refers to that sending request message mode queried access and multiple targets turns to push away the matched mesh of channel
IP address is marked, and manages multiple mesh according to the be pre-stored in the original plug-flow domain name turned in push server second sub- relevant configured parameter
Mark turns to push away the corresponding target domain name of channel, Streaming Media described in plug-flow to target ip address.
In one embodiment of the invention, the analysis Target IP corresponding with dispatch service target ip address is not needed
Address function refers to that basis turns the original multiple targets of plug-flow domain name mapping of push server and turns to push away the corresponding target domain name of channel to obtain
Target ip address is taken, and more according to the be pre-stored in the original plug-flow domain name turned in push server second sub- relevant configured parameter management
A target turns to push away the corresponding target domain name of channel, Streaming Media described in plug-flow to target ip address.
What another aspect of the present invention also provided a kind of Streaming Media turns pushing system, and applied to push server is turned, described turn is praised and admired
The interior multiple targets of setting of business device turn to push away channel, and each target turns to push away channel corresponding one and the target clothes for turning push server and connecting
Business device, the pushing system that turns of the Streaming Media includes: receiving module, for receiving plug-flow to the Streaming Media for turning push server;
Judgment module is connect with the receiving module, for turning the correlation of the original plug-flow domain name in push server and matching according to being pre-stored in
Parameter is set, judges whether to need to turn by multiple targets to push away channel to turn to push away the Streaming Media;It is used for if it is not, then calling by the Streaming Media
Directly push to the plug-flow module of the upper layer destination address for turning push server;If so, calling for turning to push away the Streaming Media
Turn to push away in channel to the multiple target, according to the relevant configured parameter, turn the Streaming Media plug-flow to target for described
Push away the operation module of the corresponding destination server of channel.
It is described to be pre-stored in the relevant configuration ginseng for turning the original plug-flow domain name in push server in one embodiment of the invention
Number includes for guiding Streaming Media to turning to push away the first sub- relevant configured parameter of destination address;The Streaming Media turns pushing system also
Including being connect with the judgment module and plug-flow module, for do not need by multiple turns push away channel turn push away the Streaming Media when,
According to the domain for the upper layer destination address being pre-stored in the first sub- relevant configured parameter for turning the original plug-flow domain name in push server
Name, the domain name of layer destination address is to obtain the processing module of the IP address of corresponding upper layer target in parsing.
In one embodiment of the invention, the operation module includes for turning the Streaming Media to be pushed into the multiple turn
After pushing away in channel, the multiple mesh being pre-stored in the first relevant configured parameter for turning the original plug-flow domain name in push server are inquired
Mark turns to push away the query unit of the corresponding target domain name of channel.
In one embodiment of the invention, the operation module further includes connecting with the query unit, for inquiring
Multiple targets turn after pushing away the corresponding target domain name of channel, are turned to push away the corresponding target domain name of channel according to multiple targets, judgement is
The no judging unit for needing regulation goal IP address, if so, calling for executing and needing dispatch service target ip address phase
First operating unit of corresponding regulation goal IP address operation, if it is not, then calling for executing and not needing dispatch service mesh
Mark the second operating unit of the corresponding analysis target ip address operation of IP address.
Another aspect of the invention provides a kind of server, and the server includes: the pushing system that turns of the Streaming Media, and
It is as above to push away channel for setting multiple targets turn corresponding with multiple object content distribution network dispatch servers in the server
Described, the turning of Streaming Media of the invention pushes away method, system and the server with the system, has the advantages that
Turn to push away method, system and the server with the system of Streaming Media of the present invention do not need client's offer turn
In the resource of source server, the Streaming Media that can be realized by all kinds of means turns to push away function push server, realizes and turns to push away demand by all kinds of means
Flexible expansion demand, and the accurate scheduling based on target ip address accurately turns to shift nearest node onto, evades dns resolution disadvantage
End guarantees to turn to push away effect.
Detailed description of the invention
Fig. 1 be shown as Streaming Media of the invention turn push away flow diagram of the method in an embodiment.
Fig. 2 is shown as the theory structure schematic diagram for turning push server of the invention.
Fig. 3 is shown as the idiographic flow schematic diagram for turning to push away step S4 in method of Streaming Media of the invention.
Fig. 4 is shown as the principle of regulation goal IP address operation corresponding with regulation goal IP address is needed of the invention
Figure.
What Fig. 5 was shown as Streaming Media of the invention turns to push away the Contrast on effect curve that method pushes away method in the prior art turn
Figure
What Fig. 6 was shown as Streaming Media of the invention turns theory structure schematic diagram of the pushing system in an embodiment.
Fig. 7 is shown as the theory structure schematic diagram for turning operation module in pushing system of Streaming Media of the invention.
Fig. 8 is shown as the theory structure schematic diagram of server of the invention in an embodiment.
Component label instructions
1 Streaming Media turns pushing system
11 receiving modules
12 judgment modules
13 processing modules
14 plug-flow modules
15 operation modules
151 push units
152 query units
153 judging units
154 first operating units
155 second operating units
S1~S4 step
S41~S45 step
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment
Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation
Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel
It is likely more complexity.
Embodiment one
The present embodiment provides a kind of Streaming Media turn push away method, it is described to turn to set in push server applied to turning push server
It sets multiple targets to turn to push away channel, each target turns to push away channel corresponding one and the destination server for turning push server and connecting, institute
State Streaming Media turn push away method the following steps are included:
Plug-flow is received to the Streaming Media for turning push server;
According to the relevant configured parameter for turning the original plug-flow domain name in push server is pre-stored in, judge whether to need by more
A turn pushes away channel and turns to push away the Streaming Media;If it is not, the Streaming Media is directly then pushed to the upper layer destination address for turning push server;
If so, performing the next step rapid:
The Streaming Media turn is pushed into the multiple turn to push away in channel, according to the relevant configured parameter, which is pushed away
It flow to and turns to push away the corresponding destination server of channel with target.
Turn to push away method and be described in detail below with reference to diagram Streaming Media described in the present embodiment.Referring to Fig. 1,
Be shown as Streaming Media turn push away flow diagram of the method in an embodiment.So-called Streaming Media refers to the side using stream transmission
The media formats that formula is played in Internet.So the Streaming Media includes audio and/or video in the present embodiment.Such as
Shown in Fig. 1, the Streaming Media turns to push away method and specifically include following steps:
S1 receives plug-flow to the Streaming Media for turning push server.In the present embodiment, described to turn setting in push server
Multiple targets turn to push away channel.The theory structure for turning push server turns to push away canal as shown in Fig. 2, turning setting target in push server
Road A, target turn push away channel B ... target and turn to push away channel Z.Each target turns to push away the corresponding CDN destination server of channel.Example
Such as, in the present embodiment, it utilizeswww.oripush.comPlug-flow need to turn the Streaming Media pushed away.It is pre-stored in the original turned in push server
It is used to that Streaming Media be guided extremely to turn to push away the first sub- relevant configured parameter of destination address in beginning plug-flow domain name, the first sub- correlation is matched
Setting parameter includes opening multiple targets to turn to push away the switch parameter of channel.And the first relevant configured parameter in the original plug-flow domain name
Multiple targets are configured to turn to push away the corresponding target domain name of channel, for example,www.oripush_A.com,www.oripush_ B.com...,www.oripush_Z.com.In embodiment, the Streaming Media plug-flow pushed away will need to be turned to described turn by impeller
Push server.
S2 turns to push away the switch parameter of channel, judges whether to need according to multiple targets are opened in the first sub- relevant configured parameter
It to push away channel by multiple turns to turn to push away the Streaming Media, if not needing to turn by the way that the multiple targets turned in push server are arranged in
It pushes away channel and turns plug-flow media, then executing step S3, if desired turned by the way that the multiple targets turned in push server are arranged in
It pushes away channel and turns plug-flow media, then executing step S4.
S3, according to the upper layer mesh being pre-stored in the first sub- relevant configured parameter for turning the original plug-flow domain name in push server
The domain name for marking address, the domain name of layer destination address is to obtain the IP address of corresponding upper layer target in parsing, and need to will turn to push away
The target ip address of Streaming Media toward upper layer target turns to push away.In the present embodiment, in parsing the domain name of layer destination address to obtain phase
The process of the IP address for the upper layer target answered is to issue DNS query message, which is sent to the local domain of upper layer target
The host name for the upper layer target inquired can be converted into its IP address by name server, the local domain name server.
S4, according to the first sub- relevant configured parameter for turning the original plug-flow domain name in push server is pre-stored in, by stream matchmaker
Body turn is pushed into the multiple turn and pushes away in channel, and according to the relevant configured parameter, which is extremely pushed away channel pair with turn
The destination server answered.Referring to Fig. 3, being shown as the idiographic flow schematic diagram of step S4.As shown in figure 3, the step S4 tool
Body including the following steps:
S41, according to being pre-stored in multiple mesh in the first sub- relevant configured parameter for turning the original plug-flow domain name in push server
Mark turns to push away the corresponding target domain name of channel, shifts the Streaming Media turn onto the multiple targets being arranged in push server that turn and turns to push away
Channel.The first sub- relevant configured parameter configures multiple targets and turns to push away the corresponding target domain name of channel in the original plug-flow domain name,
For example,www.oripush_A.com,www.oripush_B.com...,www.oripush_Z.com, then by the stream matchmaker
Body turns to shift channel A, channel B ... channel Z onto.
S42, inquiry are pre-stored in multiple in the first sub- relevant configured parameter for turning the original plug-flow domain name in push server
Target turns to push away the corresponding target domain name of channel, that is, inquires multiple targets and turn to push away the configuration of the corresponding target domain name of channel.It is more
The configuration that a target turns to push away the corresponding target domain name of channel has very much, for example target ip address, target domain name need to authenticate, and needs
Want door chain verifying etc..
S43 turns to push away the corresponding target domain name of channel according to multiple targets, judges whether to need regulation goal IP address, if
It is then to be transferred to step S44, that is, executes regulation goal IP address operation corresponding with dispatch service target ip address is needed, if
It is no, then it is transferred to step S45, that is, executes analysis target ip address operation corresponding with dispatch service target ip address is not needed.
In the present embodiment, the regulation goal IP address operation corresponding with regulation goal IP address is needed refers to hair
Request message mode is sent, for example, queried access and multiple targets turn to push away the matched service of channel and mention in a manner of HTTP GET request
The target ip address of supplier, and according to for management objectives domain name for being pre-stored in the original plug-flow domain name turned in push server
Two sub- relevant configured parameters manage multiple targets and turn to push away the corresponding target domain name of channel, and Streaming Media described in plug-flow is to Target IP
Location.Referring specifically to Fig. 4, it is shown as the principle of regulation goal IP address operation corresponding with regulation goal IP address is needed
Figure.Target turns for pushing away channel Z, turns to push away the dispatch interface address configured in the corresponding domain name of channel Z by the target, then turn
It pushes away, turns push server using HTTP GET request mode and carry relevant information, send a request to dispatch interface, i.e., turn to push away with target
System Z dispatches in the corresponding CDN manufacturer of channel Z, and dispatch interface can return to target ip address, and ideal turn, which pushes away channel Z, will flow matchmaker
Body turns to shift target ip address onto, that is, Streaming Media is turned to be pushed into turn to push away the corresponding destination server Z of channel Z with target.At this
In embodiment, turns push server and support the live streaming circulation under user's plug-flow domain name being pushed into this multiple target domain for turning push server
Name pushes away configuration by respective turn of each target domain name supervising, realizes the flexible expansion demand for turning to push away demand by all kinds of means.
The analysis target ip address operation corresponding with dispatch service target ip address is not needed refers to that basis turns to push away
The original multiple targets of plug-flow domain name mapping of server turn to push away the corresponding target domain name of channel to obtain target ip address, and according to pre-
In the presence of the original plug-flow domain name turned in push server the second sub- relevant configured parameter manage multiple targets turn to push away channel it is corresponding
Target domain name, Streaming Media described in plug-flow to target ip address.
Streaming Media described in the present embodiment turn push away method compared in the prior art turn pushes away method, performance is more preferable, can
More preferable with property, referring specifically to Fig. 5, the method that turns to push away for being shown as Streaming Media of the invention pushes away method in the prior art turn
Contrast on effect curve graph.A curve turns to push away method for the present embodiment Streaming Media in figure, and B curve is the in the prior art turn of side of pushing away
Method.
Streaming Media described in the present embodiment turn push away method do not need client provide turn push server in the money of source server
Source, the Streaming Media that can be realized by all kinds of means turn to push away function, realize the flexible expansion demand for turning to push away demand by all kinds of means, and be based on mesh
The accurate scheduling of IP address is marked, accurately turns to shift nearest node onto, evades dns resolution drawback, guarantees to turn to push away effect.
Embodiment two
Turn pushing system the present embodiment provides a kind of Streaming Media, it is described to turn to set in push server applied to turning push server
It sets multiple targets to turn to push away channel, each target turns to push away channel corresponding one and the destination server for turning push server and connecting, institute
The pushing system that turns for stating Streaming Media includes:
Receiving module, for receiving plug-flow to the Streaming Media for turning push server;
Judgment module is connect with the receiving module, is pre-stored in the original plug-flow domain name turned in push server for basis
Relevant configured parameter, judge whether to need to push away channel by multiple turns and turn to push away the Streaming Media;It is used for if it is not, then calling by the stream
Media directly push to the plug-flow module of the upper layer destination address for turning push server;It is used for if so, calling by the Streaming Media
Turn to be pushed into the multiple turn and push away in channel, according to the relevant configured parameter, turn the Streaming Media plug-flow to target for described
Push away the operation module of the corresponding destination server of channel.
It is described in detail below with reference to the pushing system that turns of diagram Streaming Media described in the present embodiment.Referring to Fig. 6,
Be shown as Streaming Media turns theory structure schematic diagram of the pushing system in an embodiment.As shown in fig. 6, the Streaming Media turns to push away
System 1 includes: receiving module 11, judgment module 12, processing module 13, plug-flow module 14 and operation module 15.
The receiving module 11 is for receiving plug-flow to the Streaming Media for turning push server.In the present embodiment, described
Turn the multiple targets of setting in push server to turn to push away channel.Turn to push away channel A, target as shown in Fig. 2, turning setting target in push server
Turn push away channel B ... target turn push away channel Z.Each target turns to push away the corresponding CDN destination server of channel.For example, in this reality
It applies in example, utilizeswww.oripush.comPlug-flow need to turn the Streaming Media pushed away.It is pre-stored in the original plug-flow domain name turned in push server
In for guiding Streaming Media, the first sub- relevant configured parameter includes to turning to push away the first sub- relevant configured parameter of destination address
Multiple targets are opened to turn to push away the switch parameter of channel.And the first sub- relevant configured parameter configuration is multiple in the original plug-flow domain name
Target turns to push away the corresponding target domain name of channel, for example,www.oripush_A.com,www.oripush_B.com...,www.oripush_Z.com.In the present embodiment, the Streaming Media plug-flow pushed away will need to be turned by impeller and praises and admires business to described turn
Device.
The judgment module 12 connecting with the receiving module 11 is used for multiple according to opening in the first sub- relevant configured parameter
Target turns to push away the switch parameter of channel, judges whether to need to push away channel by multiple turns to turn to push away the Streaming Media, if not needing to pass through
The multiple targets turned in push server are arranged in turn to push away channel and turn plug-flow media, then calling the processing module 13 and pushing away
If desired flow module 14 turns to push away channel and turn plug-flow media, then adjusting by the way that the multiple targets turned in push server are arranged in
With the operation module 15.
The processing module 13 connecting with the judgment module 12 is used for basis and is pre-stored in the original plug-flow turned in push server
The domain name of upper layer destination address in the sub- relevant configured parameter of the first of domain name, the domain name of layer destination address is to obtain phase in parsing
The IP address for the upper layer target answered, and Target IP of the Streaming Media pushed away toward upper layer target will need to be turned by the plug-flow module 14
Location turns to push away.In the present embodiment, the processing module 13 parses the domain name of upper layer destination address to obtain corresponding upper layer target
Target ip address process be issue DNS query message, which is sent to the local domain name server of upper layer target,
The host name for the upper layer target inquired can be converted into its IP address by the local domain name server.
The operation module 15 connecting with the judgment module 12 and plug-flow module 14 is pre-stored in for basis turns push server
In original plug-flow domain name the first sub- relevant configured parameter, by the Streaming Media turn be pushed into the multiple target turn push away in channel,
According to the configuration parameter, which is turned to push away the corresponding destination server of channel to target.Referring to Fig. 7, aobvious
It is shown as the theory structure schematic diagram of operation module.As shown in fig. 7, the operation module 15 specifically includes: push unit 151 is looked into
Ask unit 152, judging unit 153, the first operating unit 154 and the second operating unit 155.
Push unit 151 is used for according to the be pre-stored in the original plug-flow domain name turned in push server first sub- relevant configuration ginseng
Multiple targets turn to push away the corresponding target domain name of channel in number, which is turned to shift onto described turn to be arranged in push server
Multiple targets turn to push away channel.It is corresponding to push away channel for the first sub- multiple targets turn of relevant configured parameter configuration in the original plug-flow domain name
Target domain name, for example,www.oripush_A.com,www.oripush_B.com...,www.oripush_Z.com, then
The Streaming Media is turned to shift channel A, channel B ... channel Z onto.
The query unit 152 connecting with the push unit 151, which is used to inquire, to be pre-stored in turn in push server original and pushes away
Multiple targets in first sub- relevant configured parameter of basin name turn to push away the corresponding target domain name of channel, that is, inquire multiple mesh
Mark turns to push away the configuration of the corresponding target domain name of channel.The configuration that multiple targets turn to push away the corresponding target domain name of channel has very much,
For example target ip address, target domain name need to authenticate, and need door chain verifying etc..
It is used to be turned according to multiple targets with the judging unit 153 of the query unit 152 connection to push away the corresponding target of channel
Domain name judges whether to need regulation goal IP address, if so, calling for executing and needing dispatch service target ip address phase
First operating unit 154 of corresponding regulation goal IP address operation, if it is not, then calling for executing and not needing dispatch service
Second operating unit 155 of the corresponding analysis target ip address operation of target ip address.
In the present embodiment, first operating unit 154 is specifically used for sending request message mode, for example, with HTTP
GET request mode queried access and multiple targets turn to push away the target ip address of the matched service provider of channel, and according to prestoring
Multiple mesh are managed in the second sub- relevant configured parameter for management objectives domain name for turning the original plug-flow domain name in push server
Mark turns to push away the corresponding target domain name of channel, calls Streaming Media described in 14 plug-flow of plug-flow module to target ip address.In this reality
It applies in example by taking target turns to push away channel Z as an example, turns to push away the dispatch interface address configured in the corresponding domain name of channel Z by the target,
And mesh then turn to push away, turn push server using HTTP GET request mode and carry relevant information, send a request to dispatch interface, i.e.,
Mark turns to push away the corresponding CDN manufacturer scheduling system Z of channel Z, and dispatch interface can return to target ip address, and ideal turns to push away channel Z
Streaming Media is turned to shift target ip address onto, that is, Streaming Media is turned to be pushed into turn to push away the corresponding destination server of channel Z with target
Z.In the present embodiment, turn push server to support the live streaming circulation under user's plug-flow domain name being pushed into this more mesh for turning push server
Domain name is marked, configuration is pushed away by respective turn of each target domain name supervising, realizes the flexible expansion demand for turning to push away demand by all kinds of means.
Second operating unit 155 turns the original multiple targets of plug-flow domain name mapping of push server specifically for basis and turns to push away
The corresponding target domain name of channel is to obtain target ip address, and according to being pre-stored in the of the original plug-flow domain name turned in push server
Two sub- relevant configured parameters manage multiple targets and turn to push away the corresponding target domain name of channel, call and flow matchmaker described in 14 plug-flow of plug-flow module
Body is to target ip address.
The present embodiment also provides a kind of server 2, in particular to turns push server, referring to Fig. 8, be shown as server in
Theory structure schematic diagram in one embodiment.As shown in figure 8, the server 2 turns pushing system 1 including above-mentioned Streaming Media.This
In embodiment, setting multiple targets corresponding with multiple object content distribution network dispatch servers turn to push away in the server 2
Channel.
In conclusion Streaming Media of the present invention turns to push away method, system and the server with the system and do not need
Client, which provides, turns push server in the resource of source server, and the Streaming Media that can be realized by all kinds of means turns to push away function, realizes more canals
Road turns to push away the flexible expansion demand of demand, and the accurate scheduling based on target ip address, accurately turns to shift nearest node onto, evade
Dns resolution drawback guarantees to turn to push away effect.So the present invention effectively overcomes various shortcoming in the prior art and has height and produce
Industry utility value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.
Claims (10)
1. the turning of a kind of Streaming Media pushes away method, which is characterized in that applied to turning push server, described to turn setting in push server more
A target turns to push away channel, and each target turns to push away channel corresponding one and the destination server for turning push server and connecting, the stream
Media turn push away method the following steps are included:
Plug-flow is received to the Streaming Media for turning push server;
According to the relevant configured parameter for turning the original plug-flow domain name in push server is pre-stored in, judge whether to need through multiple mesh
Mark turn pushes away channel and turns to push away the Streaming Media;If it is not, the Streaming Media is directly then pushed to the upper layer destination address for turning push server;
If so, performing the next step rapid: where described to be pre-stored in the relevant configured parameter packet for turning the original plug-flow domain name in push server
It includes for guiding Streaming Media to turning to push away the first sub- relevant configured parameter of destination address;It is described to judge whether to need through multiple mesh
Mark turn push away channel turn push away the Streaming Media judgment basis be according to opened in the first sub- relevant configured parameter multiple targets turn push away canal
The switch parameter in road;
The Streaming Media turn is pushed into the multiple target to turn to push away in channel, according to the relevant configured parameter, which is pushed away
It flow to and turns to push away the corresponding destination server of channel with target.
2. Streaming Media according to claim 1 turn push away method, it is characterised in that: do not needing to push away channel by multiple turns
It is upper in the first sub- relevant configured parameter for turning the original plug-flow domain name in push server according to being pre-stored in when turning to push away the Streaming Media
The domain name of layer destination address, the domain name of layer destination address is to obtain the IP address of corresponding upper layer target in parsing.
3. Streaming Media according to claim 1 turn push away method, it is characterised in that: by the Streaming Media turn be pushed into it is described more
After a turn of step pushed away in channel, the method that turns to push away of the Streaming Media further includes inquiring to be pre-stored in turn original in push server
Multiple targets in the sub- relevant configured parameter of the first of plug-flow domain name turn to push away the corresponding target domain name of channel.
4. the turning of Streaming Media according to claim 3 pushes away method, it is characterised in that: turn to push away channel pair inquiring multiple targets
After the step of target domain name answered, the method that turns to push away of the Streaming Media further includes being turned to push away the corresponding mesh of channel according to multiple targets
Domain name is marked, judges whether to need regulation goal IP address, if so, executing corresponding with dispatch service target ip address is needed
Regulation goal IP address operation, if it is not, with then executing analysis Target IP corresponding with dispatch service target ip address is not needed
Location operation.
5. Streaming Media according to claim 4 turn push away method, it is characterised in that:
The relevant configured parameter for turning the original plug-flow domain name in push server that is pre-stored in is including further including for management objectives
The sub- relevant configured parameter of the second of domain name;
The regulation goal IP address operation corresponding with regulation goal IP address is needed refers to that sending request message mode looks into
Inquiry turns to push away the matched target ip address of channel with multiple targets, and according to being pre-stored in the original plug-flow domain turned in push server
The sub- relevant configured parameter of the second of name manages multiple targets and turns to push away the corresponding target domain name of channel, Streaming Media described in plug-flow to target
IP address;
The analysis target ip address operation corresponding with dispatch service target ip address is not needed refers to that basis turns to praise and admire business
The original multiple targets of plug-flow domain name mapping of device turn to push away the corresponding target domain name of channel to obtain target ip address, and according to being pre-stored in
The the second sub- relevant configured parameter for turning the original plug-flow domain name in push server manages multiple targets and turns to push away the corresponding target of channel
Domain name, Streaming Media described in plug-flow to target ip address.
6. a kind of Streaming Media turns pushing system, which is characterized in that applied to turning push server, described to turn setting in push server more
A target turns to push away channel, and each target turns to push away channel corresponding one and the destination server for turning push server and connecting, the stream
The pushing system that turns of media includes:
Receiving module, for receiving plug-flow to the Streaming Media for turning push server;
Judgment module is connect with the receiving module, and the phase for turning the original plug-flow domain name in push server is pre-stored in for basis
Configuration parameter is closed, judges whether to need to turn by multiple targets to push away channel to turn to push away the Streaming Media;It is used for if it is not, then calling by the stream
Media directly push to the plug-flow module of the upper layer destination address for turning push server;It is used for if so, calling by the Streaming Media
Turn to be pushed into the multiple target to turn to push away in channel, according to the relevant configured parameter, by it is described by the Streaming Media plug-flow to and mesh
Mark turns to push away the operation module of the corresponding destination server of channel;Wherein, described to be pre-stored in the original plug-flow domain turned in push server
The relevant configured parameter of name includes for guiding Streaming Media to turning to push away the first sub- relevant configured parameter of destination address;The judgement
Whether needing to turn by multiple targets to push away the judgment basis that channel turns to push away the Streaming Media is according in the first sub- relevant configured parameter
Multiple targets are opened to turn to push away the switch parameter of channel.
7. Streaming Media according to claim 6 turns pushing system, it is characterised in that: the pushing system that turns of the Streaming Media also wraps
Include and connect with the judgment module and plug-flow module, for do not need by multiple turns push away channel turn push away the Streaming Media when, root
According to the domain name for the upper layer destination address being pre-stored in the first sub- relevant configured parameter for turning the original plug-flow domain name in push server,
The domain name of layer destination address is in parsing to obtain the processing module of the IP address of corresponding upper layer target.
8. Streaming Media according to claim 6 turns pushing system, it is characterised in that: the operation module includes for inciting somebody to action
The Streaming Media turn to be pushed into the multiple turn push away in channel after, inquiry is pre-stored in the of the original plug-flow domain name turned in push server
Multiple targets in one relevant configured parameter turn to push away the query unit of the corresponding target domain name of channel.
9. Streaming Media according to claim 8 turns pushing system, it is characterised in that: the operation module further include with it is described
Query unit connection, for being turned to push away canal according to multiple targets after inquiring multiple targets and turning to push away the corresponding target domain name of channel
The corresponding target domain name in road, judges whether the judging unit for needing regulation goal IP address, if so, calling for executing and needing
The first operating unit for wanting the corresponding regulation goal IP address operation of dispatch service target ip address, if it is not, being then used for
Execute the second operating unit of analysis target ip address operation corresponding with dispatch service target ip address is not needed.
10. a kind of server, which is characterized in that the server includes:
Streaming Media as described in any one of claim 6-9 turns pushing system, and setting and multiple mesh in the server
The corresponding multiple targets of mark content distributing network dispatch server turn to push away channel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610124125.4A CN105721484B (en) | 2016-03-04 | 2016-03-04 | The turning of a kind of Streaming Media pushes away method, system and the server with the system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610124125.4A CN105721484B (en) | 2016-03-04 | 2016-03-04 | The turning of a kind of Streaming Media pushes away method, system and the server with the system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105721484A CN105721484A (en) | 2016-06-29 |
CN105721484B true CN105721484B (en) | 2019-01-15 |
Family
ID=56156349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610124125.4A Active CN105721484B (en) | 2016-03-04 | 2016-03-04 | The turning of a kind of Streaming Media pushes away method, system and the server with the system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105721484B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109729397A (en) * | 2019-01-29 | 2019-05-07 | 网宿科技股份有限公司 | A kind of plug-flow method, system and server |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254951B (en) * | 2016-09-27 | 2019-01-01 | 腾讯科技(深圳)有限公司 | A kind of net cast creation method and its system, access device, management equipment |
CN106506561B (en) * | 2016-12-29 | 2019-10-29 | 广州华多网络科技有限公司 | A kind of flow-medium transmission method and device |
CN108337283B (en) * | 2017-01-20 | 2022-04-15 | 创盛视联数码科技(北京)有限公司 | Method for obtaining optimal plug flow node in iOS plug flow |
CN107277568A (en) * | 2017-08-16 | 2017-10-20 | 广州市千钧网络科技有限公司 | A kind of plug-flow configuration parameter dynamic adjusting method and device |
CN109819285B (en) * | 2017-11-21 | 2021-09-21 | 北京乐我无限科技有限责任公司 | Live broadcast method and device, electronic equipment and storage medium |
US11102319B2 (en) | 2019-01-29 | 2021-08-24 | Wangsu Science and Technology Co., Ltd. | Method, system and server for stream-pushing |
CN111510733A (en) * | 2019-01-30 | 2020-08-07 | 北京奇虎科技有限公司 | Channel scheduling method, server and system |
CN113055693B (en) * | 2021-04-20 | 2023-01-24 | 上海哔哩哔哩科技有限公司 | Data processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1988666A1 (en) * | 2006-02-18 | 2008-11-05 | Huawei Technologies Co., Ltd. | A streaming media network system, a realization method and a enable entity of streaming media service |
CN101990113A (en) * | 2009-08-06 | 2011-03-23 | 中兴通讯股份有限公司 | Content uplinking method and content delivery functional entity |
KR101110979B1 (en) * | 2011-01-27 | 2012-02-15 | 가톨릭대학교 산학협력단 | Dynamic updates in the Domain Name SystemDNS and Method for Supporting Mobile IP NetworksMINET |
CN102724178A (en) * | 2012-05-23 | 2012-10-10 | 成都三零凯天通信实业有限公司 | RTSP simulator and realization method thereof |
-
2016
- 2016-03-04 CN CN201610124125.4A patent/CN105721484B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1988666A1 (en) * | 2006-02-18 | 2008-11-05 | Huawei Technologies Co., Ltd. | A streaming media network system, a realization method and a enable entity of streaming media service |
CN101313538A (en) * | 2006-02-18 | 2008-11-26 | 华为技术有限公司 | Stream media network system, implementing method of stream media service and enabling entity |
CN101990113A (en) * | 2009-08-06 | 2011-03-23 | 中兴通讯股份有限公司 | Content uplinking method and content delivery functional entity |
KR101110979B1 (en) * | 2011-01-27 | 2012-02-15 | 가톨릭대학교 산학협력단 | Dynamic updates in the Domain Name SystemDNS and Method for Supporting Mobile IP NetworksMINET |
CN102724178A (en) * | 2012-05-23 | 2012-10-10 | 成都三零凯天通信实业有限公司 | RTSP simulator and realization method thereof |
Non-Patent Citations (1)
Title |
---|
广电网络融合视频分发系统架构规划研究;陈益 等;《广播与电视技术》;20150430;第42卷(第4期);第72-79页 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109729397A (en) * | 2019-01-29 | 2019-05-07 | 网宿科技股份有限公司 | A kind of plug-flow method, system and server |
Also Published As
Publication number | Publication date |
---|---|
CN105721484A (en) | 2016-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105721484B (en) | The turning of a kind of Streaming Media pushes away method, system and the server with the system | |
US8738700B2 (en) | Method and system for providing network services | |
SG165345A1 (en) | Methods and apparatus for simultaneously hosting multiple service providers on a network | |
ATE457587T1 (en) | METHOD AND ARRANGEMENT FOR ENABLING MULTIMEDIA COMMUNICATION | |
MX352597B (en) | Method and system for hub breakout roaming. | |
ATE501586T1 (en) | METHOD FOR TRANSFERRING IP PACKETS BETWEEN CUSTOMER NETWORKS AND IP PROVIDER NETWORKS VIA AN ACCESS NETWORK | |
WO2006031748A3 (en) | System and method for connection optimization | |
CN105706425B (en) | Method for distributing the identifier of multicast source | |
Bijwaard et al. | Early mover advantages: An empirical analysis of European mobile phone markets | |
AR043560A1 (en) | AUTOMATIC PAYMENT SYSTEM FOR APPLICATIONS AND SERVICES PROVIDED TO WIRELESS DEVICES | |
DE602004006308D1 (en) | METHOD FOR CLAIMING CLIENT REQUIREMENTS FOR WEB SERVICES | |
US20100131627A1 (en) | Method and apparatus for reconfiguring application services in home network environment | |
CN101569218A (en) | A method and an arrangement for handling a service request in a multimedia network | |
CN102546646A (en) | System and method for realizing voice talkback function | |
EP4224812A3 (en) | Self-driven and adaptable multi-vbng management orchestration | |
CN106790603A (en) | The method of interacting message, apparatus and system | |
CN102594838A (en) | SIP-based intelligent monitoring alarming network system and networking method | |
CN105610883A (en) | Policy file synchronization management method, policy synchronization server and management device | |
CN103338267A (en) | SIP and Web service combined value added service platform for mobile intelligent community | |
CN110089078A (en) | The method and apparatus of business transponder via dynamic coverage network is provided | |
US20160173659A1 (en) | Method and apparatus for extending local area network protocols to work across the internet and establishing connectivity without discovery for local area network protocols | |
TW200704008A (en) | Method and apparatus for communications network management | |
CN105721585A (en) | Method for optimally selecting edge nodes in content delivery network | |
CN107154942A (en) | A kind of method that automation services are provided by third-party server | |
CN109714378A (en) | The recommended method and system of application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |