CN106817356A - A kind of method and device of video playback flow Real-Time Scheduling - Google Patents
A kind of method and device of video playback flow Real-Time Scheduling Download PDFInfo
- Publication number
- CN106817356A CN106817356A CN201510869870.7A CN201510869870A CN106817356A CN 106817356 A CN106817356 A CN 106817356A CN 201510869870 A CN201510869870 A CN 201510869870A CN 106817356 A CN106817356 A CN 106817356A
- Authority
- CN
- China
- Prior art keywords
- cdn
- client
- information
- optimal
- operator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- 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/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of method and device of video playback flow Real-Time Scheduling, wherein, this includes:The video playback request that client sends is received, the regional information and/or operator's informaiton corresponding with client is determined according to video playback request;According to the first optimal CDN that regional information and/or operator's informaiton determine to be matched with client, and the broadcast address of the first optimal CDN is returned to client;The flow value of the optimal CDN of monitor in real time first, when the flow value of the first optimal CDN is higher than the second preset value, the second optimal CDN matched with client is redefined according to regional information and/or operator's informaiton;The broadcast address of the second optimal CDN is returned to client, indicates client to switch CDN according to the broadcast address of the second optimal CDN.The method improves the video playback fluency of client, and rational management controls many flow bandwidths of CDN, can reduce the flow bandwidth cost of overall CDN.
Description
Technical field
The present invention relates to internet and mobile Internet video transmission technical field, in particular it relates to a kind of
The method and device of video playback flow Real-Time Scheduling.
Background technology
In internet and mobile Internet audio/video player system, to ensure that user plays the fluency of video,
The operator of video playback in addition to oneself building a source station, while can also and one or more
CDN (Content Delivery Network, i.e. content distributing network) cooperates, by video request program stream or live
Flow point is dealt on CDN and does acceleration broadcasting.
Because the campus network major part of CDN bandwidth is to use monthly to guarantee the minimum substantially, peak value is pressed beyond part
The mode of clearing, if being based entirely on user profile to dispatch, just probably in the CDN of focus region
Flow exceeds peak value, causes expense exceeded, and non-hot region is few due to access user, the CDN of the region
Flow does not make full use of, and causes the waste of CDN resources.
Existing most system does not all do real-time video playback flow quantity intelligent scheduling to many CDN,
Cause the broadcasting fluency of user to be experienced and be completely dependent on CDN, the bandwidth traffic cost of CDN is also because playing stream
The uncertainty of peak value is measured, and causes idle waste and the focus region of non-hot region CDN resources
The expense severe overweight of CDN is uncontrollable.
The content of the invention
The present invention be in order to overcome the waste of CDN resources in the prior art and bandwidth traffic cost easily it is exceeded not
Controlled imperfections, according to an aspect of the present invention, propose a kind of method of video playback flow Real-Time Scheduling.
A kind of method of video playback flow Real-Time Scheduling provided in an embodiment of the present invention, including:
The video playback request that client sends is received, is determined according to video playback request relative with client
The regional information and/or operator's informaiton answered;
According to the first optimal CDN that regional information and/or operator's informaiton determine to be matched with client, and to
Client returns to the broadcast address of the first optimal CDN, and the flow value of the first optimal CDN is pre- less than first
If value;
The flow value of the optimal CDN of monitor in real time first, is higher than second in the flow value of the first optimal CDN
During preset value, second matched with client is redefined according to regional information and/or operator's informaiton optimal
The flow value of CDN, the second optimal CDN is less than the 3rd preset value;
The broadcast address of the second optimal CDN is returned to client, client is indicated according to the second optimal CDN
Broadcast address switching CDN.
In the above-mentioned technical solutions, determine what is matched with client according to regional information and/or operator's informaiton
First optimal CDN, including:
The CDN information in the range of the predeterminable area of client position is determined according to regional information;
The operator that is connected with client determined according to operator's informaiton, and determination and operator match
2nd CDN information;
Determine flow value less than the of the first preset value according to a CDN information and/or the 2nd CDN information
One optimal CDN.
In the above-mentioned technical solutions, flow value is determined according to a CDN information and/or the 2nd CDN information
CDN optimal less than the first of the first preset value, specifically includes:
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, and respectively between detection client and each CDN
The access response time, using access response time most short CDN as the first optimal CDN;Or
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, by the most fast CDN of the connection speed between client
As the first optimal CDN;Or
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, minimum CDN is optimal as first for flow value in future
CDN。
In the above-mentioned technical solutions, redefined and client according to regional information and/or operator's informaiton
The the second optimal CDN for matching somebody with somebody, including:
The 3rd CDN letters in the range of the predeterminable area of client position are redefined according to regional information
Breath;
The operator being connected with client is redefined according to operator's informaiton, and is determined and operator's phase
The 4th CDN information matched somebody with somebody;
Determine flow value less than the of the 3rd preset value according to the 3rd CDN information and/or the 4th CDN information
Two optimal CDN.
In the above-mentioned technical solutions, flow value is determined according to the 3rd CDN information and/or the 4th CDN information
Less than the second optimal CDN of the 3rd preset value, specifically include:
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, and respectively between detection client and each CDN
The access response time, using access response time most short CDN as the second optimal CDN;Or
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, by the most fast CDN of the connection speed between client
As the second optimal CDN;Or
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, minimum CDN is optimal as second for flow value in future
CDN。
Based on same inventive concept, the embodiment of the present invention also provides a kind of video playback flow Real-Time Scheduling
Device, including:
Receiver module, the video playback request for receiving client transmission is true according to video playback request
The fixed regional information and/or operator's informaiton corresponding with client;
First determining module, for determining what is matched with client according to regional information and/or operator's informaiton
First optimal CDN, and the broadcast address of the first optimal CDN, the first optimal CDN are returned to client
Flow value be less than the first preset value;
Second determining module, for the flow value of the optimal CDN of monitor in real time first, in the first optimal CDN
Flow value be higher than the second preset value when, redefined according to regional information and/or operator's informaiton and client
The flow value of the second optimal CDN of matching, the second optimal CDN is held to be less than the 3rd preset value;
Scheduler module, the broadcast address for returning to the second optimal CDN to client, indicates client root
Broadcast address according to the second optimal CDN switches CDN.
In the above-mentioned technical solutions, the first determining module includes:
First determining unit, the predeterminable area scope for determining client position according to regional information
An interior CDN information;
Second determining unit, for the operator for determining to be connected with client according to operator's informaiton, and really
The 2nd CDN information that fixed and operator matches;
First processing units, for determining flow value according to a CDN information and/or the 2nd CDN information
CDN optimal less than the first of the first preset value.
In the above-mentioned technical solutions, first processing units specifically for:
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, and respectively between detection client and each CDN
The access response time, using access response time most short CDN as the first optimal CDN;Or
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, by the most fast CDN of the connection speed between client
As the first optimal CDN;Or
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, minimum CDN is optimal as first for flow value in future
CDN。
In the above-mentioned technical solutions, the second determining module includes:
3rd determining unit, the predeterminable area for redefining client position according to regional information
In the range of the 3rd CDN information;
4th determining unit, for redefining the operator being connected with client according to operator's informaiton,
And determine the 4th CDN information matched with operator;
Second processing unit, for determining flow value according to the 3rd CDN information and/or the 4th CDN information
Less than the second optimal CDN of the 3rd preset value.
In the above-mentioned technical solutions, second processing unit specifically for:
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, and respectively between detection client and each CDN
The access response time, using access response time most short CDN as the second optimal CDN;Or
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, by the most fast CDN of the connection speed between client
As the second optimal CDN;Or
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, minimum CDN is optimal as second for flow value in future
CDN。
The method and device of a kind of video playback flow Real-Time Scheduling provided in an embodiment of the present invention, according to visitor
After the regional information and/or operator's informaiton at family end determine the first optimal CDN, monitor in real time first is optimal
The flow value of CDN, the second optimal CDN is dispatched to when the flow value of the first optimal CDN is exceeded, from
And ensure that client connects optimal CDN in real time, and the flow of CDN is difficult beyond peak value, while can
Effectively to utilize the CDN resources of non-hot region.The method improves the video playback fluency of client,
And rational management controls many flow bandwidths of CDN, the flow bandwidth cost of overall CDN can be reduced.
Other features and advantages of the present invention will illustrate in the following description, also, partly from froming the perspective of
Become apparent in bright book, or understood by implementing the present invention.The purpose of the present invention is excellent with other
Point can be by specifically noted structure in the specification, claims and accompanying drawing write come real
Now and obtain.
Below by drawings and Examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, with
Embodiments of the invention are used to explain the present invention together, are not construed as limiting the invention.In accompanying drawing
In:
Fig. 1 is the method flow diagram of video playback flow Real-Time Scheduling in the embodiment of the present invention;
Fig. 2 is the method flow diagram of video playback flow Real-Time Scheduling in the embodiment of the present invention one;
Fig. 3 is the structure chart of video playback flow Real-Time Scheduling device in the embodiment of the present invention;
Fig. 4 is the structure chart of the first determining module in the embodiment of the present invention;
Fig. 5 is the structure chart of the second determining module in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings, specific embodiment of the invention is described in detail, it is to be understood that this
The protection domain of invention is not limited by specific embodiment.
According to embodiments of the present invention, there is provided a kind of method of video playback flow Real-Time Scheduling, Fig. 1 is
The flow chart of the method, specifically includes step 101-104:
Step 101:The video playback request that client sends is received, is determined and visitor according to video playback request
Family end corresponding regional information and/or operator's informaiton.
In the embodiment of the present invention, video playback request can be sent directly to perform the video by client
In the equipment of the method for playing flow Real-Time Scheduling, it is also possible to forwarded by the server of other video websites
To the equipment.For example, user sends video playback by client to a certain video website ask, should
Be forwarded in the equipment for performing the method for video playback request again by video website.
Meanwhile, the video playback request sent according to client can determine the ground corresponding with client
Domain information and/or operator's informaiton.For example, the IP address according to where client can determine client institute
Geographical position (such as the province where client) and used Virtual network operator (such as UNICOM,
Telecommunications or Great Wall Broadband Network Service Company Limited etc.).The regional information includes the geographical position where client, operator's informaiton bag
Include the network operator information that client is used.
Step 102:Determine that matched with client first is optimal according to regional information and/or operator's informaiton
CDN, and the broadcast address of the first optimal CDN, the flow value of the first optimal CDN are returned to client
Less than the first preset value.
In embodiments of the present invention, when according to video playback request regional information can only be determined, then basis
The regional information determines the first optimal CDN;When according to video playback request operator's informaiton can only be determined,
The first optimal CDN is then determined according to the operator's informaiton;When according to video playback request can determine region
When information and operator's informaiton, then the first optimal CDN can be determined with reference to two kinds of information.Wherein, this
The flow value of one optimal CDN is less than the first preset value, and first preset value is the threshold value of systemic presupposition, is used
Can meet the CDN of access conditions in screening present flow rate value.After the first optimal CDN is determined,
The broadcast address of the first optimal CDN is returned to client, so that the client and the first optimal CDN
Connection is set up, and performs the operation of video playback.
Step 103:The flow value of the optimal CDN of monitor in real time first, in the flow of the first optimal CDN
When value is higher than the second preset value, is redefined according to regional information and/or operator's informaiton and matched with client
The second optimal CDN, the flow value of the second optimal CDN is less than the 3rd preset value.
For a certain CDN, if the CDN is in focus region or a certain period has broadcasting peak,
So as to be easily caused the flow of the CDN beyond peak value, the speed of user is not only influenceed, also result in expense
It is exceeded.In the embodiment of the present invention, the flow value of monitor in real time CDN (including the stream of the first optimal CDN
Value), when the flow value of the first optimal CDN connected in client is higher than the second preset value, according to
Regional information and/or operator's informaiton redefine the optimal CDN of second matched with client;Wherein, should
Second preset value is also threshold value set in advance, and the second preset value is more than the first preset value.
In the embodiment of the present invention, the flow value of the second optimal CDN also meets access conditions, specifically,
The flow value of the second optimal CDN is less than the 3rd preset value.The purpose of the 3rd preset value and the first preset value
Identical, being can meet the CDN of access conditions for screening present flow rate value, and the 3rd preset value with
First preset value can be with close or identical, and the first preset value, the second preset value and the 3rd preset value are dynamic
The adjustable threshold value of state, i.e., adjust above three preset value according to real network situation.
Meanwhile, redefined according to regional information and/or operator's informaiton in step 103 and matched with client
The second optimal CDN with step 102 determine the first optimal CDN the step of it is similar, do not do herein superfluous
State.
Step 104:The broadcast address of the second optimal CDN is returned to client, client is indicated according to the
The broadcast address switching CDN of two optimal CDN.
After the second optimal CDN is determined, you can by the broadcast address of the second optimal CDN send to
Client, so that the CDN that client switching is connected, switches to flow value less than the 3rd preset value
Second optimal CDN.
The method of a kind of video playback flow Real-Time Scheduling provided in an embodiment of the present invention, according to client
After regional information and/or operator's informaiton determine the first optimal CDN, the optimal CDN's of monitor in real time first
Flow value, the second optimal CDN is dispatched to when the flow value of the first optimal CDN is exceeded, so as to ensure
Client connects optimal CDN in real time, and the flow of CDN is difficult beyond peak value, while can be effective
Using the CDN resources of non-hot region.The method improves the video playback fluency of client, and closes
Reason many flow bandwidths of CDN of scheduling controlling, can reduce the flow bandwidth cost of overall CDN.
Preferably, determine what is matched with client according to regional information and/or operator's informaiton in step 102
First optimal CDN, including step A1-A3:
Step A1, determined according to regional information in the range of the predeterminable area of client position first
CDN information;
Step A2, the operator for determining to be connected with client according to operator's informaiton, and determine and operator
The 2nd CDN information for matching;
Step A3, determined according to a CDN information and/or the 2nd CDN information flow value be less than first
First optimal CDN of preset value.
In the embodiment of the present invention, a CDN packets contain the predeterminable area for being arranged on client position
In the range of all CDN information;For example, client is located at Dongcheng District, Beijing during March, then north can be obtained
The information of all CDN of Jing Shi, it is also possible to only obtain the information of all CDN of Dongcheng District, with specific reference to
Depending on the rule that system is set.
Likewise, the 2nd CDN packets contain the information of all CDN matched with the operator.
If regional information and operator's informaiton can be determined according to video playback request, can be simultaneously according to region
Information and operator's informaiton are determined for compliance with information (the i.e. CDN information and second of the CDN of condition
The common factor of CDN information).Flow value can be screened after the CDN information of the condition that is determined for compliance with to be less than
The CDN of the first preset value, and further according to access response time, and/or connection speed, and/or stream
Value determines the first optimal CDN.
Specifically, in the embodiment of the present invention, being determined according to a CDN information and/or the 2nd CDN information
Flow value is specifically included less than the first optimal CDN of the first preset value:
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, and respectively between detection client and each CDN
The access response time, using access response time most short CDN as the first optimal CDN;Or
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, by the most fast CDN of the connection speed between client
As the first optimal CDN;Or
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, minimum CDN is optimal as first for flow value in future
CDN。
In the embodiment of the present invention, in step 103 according to regional information and/or operator's informaiton redefine with
Second optimal CDN of client matching is similar with the step of determining the first optimal CDN in step 102;
Specifically, redefining what is matched with client according to regional information and/or operator's informaiton in step 103
Second optimal CDN, including step B1-B3:
Step B1, redefined according to regional information in the range of the predeterminable area of client position
Three CDN information;
Step B2, the operator being connected with client is redefined according to operator's informaiton, and determined and fortune
The 4th CDN information that battalion business matches;
Step B3, determined according to the 3rd CDN information and/or the 4th CDN information flow value be less than the 3rd
Second optimal CDN of preset value.
Wherein, the 3rd CDN information is similar with a CDN information, the 4th CDN information and second
CDN information is similar to, and prefix is set in order to distinguish several CDN information.
Likewise, determining flow value according to the 3rd CDN information and/or the 4th CDN information in step B3
Less than the second optimal CDN of the 3rd preset value, specifically include:
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, and respectively between detection client and each CDN
The access response time, using access response time most short CDN as the second optimal CDN;Or
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, by the most fast CDN of the connection speed between client
As the second optimal CDN;Or
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, minimum CDN is optimal as second for flow value in future
CDN。
It is discussed in detail to the flow of method below by one embodiment.
Embodiment one
In embodiment one, regional information and the fortune corresponding with client is determined according to video playback request
Battalion business's information, and the flow value of implementing monitoring CDN and implement scheduling.It is shown in Figure 2, specifically include
Step 201-209:
Step 201:User sends video playback and asks by client to video website, and video website should
Video playback request is forwarded to dispatching device.
Wherein, the dispatching device is and realizes video playback flow real-time scheduling method in the embodiment of the present invention
Device.
Step 202:Dispatching device determines the regional information corresponding with client according to video playback request
And operator's informaiton.
Step 203:Determine that client is attachable and flow value is low according to regional information and operator's informaiton
In one or more CDN of the first preset value.
That is, the common factor of a CDN information and the 2nd CDN information is determined.
Step 204:Respectively the access response time between detection client and each CDN, rung accessing
Most short CDN is used as the first optimal CDN between seasonable.
Step 205:Dispatching device returns to the broadcast address of the first optimal CDN to client.
Step 206:The flow value of the optimal CDN of monitor in real time first.
Step 207:When the flow value of the first optimal CDN is higher than the second preset value, according to regional information
Redefine that client is attachable with operator's informaiton and flow value less than one of the first preset value or
Multiple CDN.
In embodiment one, the first preset value is identical with the 3rd preset value, therefore pre- with first in step 207
If value is used as threshold value.
Step 208:Respectively the access response time between detection client and each CDN, rung accessing
Most short CDN is used as the second optimal CDN between seasonable.
In embodiment one, step 203-204 is identical with the operation of step 207-208, and difference is
At the time point of operation, because the situation of CDN is not different in the same time, cause the first optimal of final determination
CDN CDNs optimal from second is different.
Step 209:The broadcast address of the second optimal CDN is returned to client, client is indicated according to the
The broadcast address switching CDN of two optimal CDN.
The method of a kind of video playback flow Real-Time Scheduling that embodiment one is provided, by the address of source station and institute
On the one hand address after having CDN to accelerate ought have user to access certain collectively as broadcast address to be scheduled
During video, region that system can be according to where user, the telecom operators' information intelligent for accessing are adjusted in real time
Video service node optimal recently is spent, so as to provide the user with optimal broadcasting fluency experience.Separately
On the one hand, on the intelligent scheduling based on user profile, with reference to the real-time traffic information of each CDN, when
During the flow of certain CDN setting value more than expected, by user scheduling to relatively, flow also closing
In CDN node in the range of reason, so as to make full use of the floating resources of all CDN nodes, CDN is reduced
Bandwidth traffic expense cost.
The method flow of video playback flow Real-Time Scheduling is described in detail above, and the method can also pass through
Corresponding device realizes, the 26S Proteasome Structure and Function of the device is described in detail below.
The embodiment of the present invention provides a kind of device of video playback flow Real-Time Scheduling, shown in Figure 3,
Specifically include:
Receiver module 31, the video playback request for receiving client transmission, asks according to video playback
It is determined that the regional information and/or operator's informaiton corresponding with client;
First determining module 32, for determining to be matched with client according to regional information and/or operator's informaiton
The first optimal CDN, and to client return the first optimal CDN broadcast address, the first optimal CDN
Flow value be less than the first preset value;
Second determining module 33, it is optimal first for the flow value of the optimal CDN of monitor in real time first
The flow value of CDN be higher than the second preset value when, according to regional information and/or operator's informaiton redefine with
The flow value of the second optimal CDN of client matching, the second optimal CDN is less than the 3rd preset value;
Scheduler module 34, the broadcast address for returning to the second optimal CDN to client, indicates client
Broadcast address switching CDN according to the second optimal CDN.
Preferably, shown in Figure 4, the first determining module 32 includes:
First determining unit 321, the predeterminable area model for determining client position according to regional information
Enclose an interior CDN information;
Second determining unit 322, for the operator for determining to be connected with client according to operator's informaiton, and
It is determined that the 2nd CDN information matched with operator;
First processing units 323, for determining stream according to a CDN information and/or the 2nd CDN information
First optimal CDN of the value less than the first preset value.
Preferably, first processing units 323 specifically for:
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, and respectively between detection client and each CDN
The access response time, using access response time most short CDN as the first optimal CDN;Or
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, by the most fast CDN of the connection speed between client
As the first optimal CDN;Or
Determine that client is attachable and flow value according to a CDN information and/or the 2nd CDN information
Less than one or more CDN of the first preset value, minimum CDN is optimal as first for flow value in future
CDN。
Preferably, shown in Figure 5, the second determining module 33 includes:
3rd determining unit 331, the preset areas for redefining client position according to regional information
The 3rd CDN information in the range of domain;
4th determining unit 332, for redefining the operation being connected with client according to operator's informaiton
Business, and determine the 4th CDN information matched with operator;
Second processing unit 333, for determining stream according to the 3rd CDN information and/or the 4th CDN information
Second optimal CDN of the value less than the 3rd preset value.
Preferably, second processing unit 333 specifically for:
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, and respectively between detection client and each CDN
The access response time, using access response time most short CDN as the second optimal CDN;Or
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, by the most fast CDN of the connection speed between client
As the second optimal CDN;Or
Determine that client is attachable and flow value according to the 3rd CDN information and/or the 4th CDN information
Less than one or more CDN of the 3rd preset value, minimum CDN is optimal as second for flow value in future
CDN。
The method and device of a kind of video playback flow Real-Time Scheduling provided in an embodiment of the present invention, according to visitor
After the regional information and/or operator's informaiton at family end determine the first optimal CDN, monitor in real time first is optimal
The flow value of CDN, the second optimal CDN is dispatched to when the flow value of the first optimal CDN is exceeded, from
And ensure that client connects optimal CDN in real time, and the flow of CDN is difficult beyond peak value, while can
Effectively to utilize the CDN resources of non-hot region.The method improves the video playback fluency of client,
And rational management controls many flow bandwidths of CDN, the flow bandwidth cost of overall CDN can be reduced.
The present invention can have the specific embodiment of various multi-forms, be combined by taking Fig. 1-Fig. 5 as an example above attached
To technical scheme explanation for example, this is not meant to the instantiation that the present invention is applied to figure
Can only be confined in specific flow or example structure, one of ordinary skill in the art it is to be appreciated that
Specific embodiment presented above is some examples in various its preferred usages, any this hair of embodiment
The implementation method of bright claim all should be within the scope of technical solution of the present invention be claimed.
Finally it should be noted that:The preferred embodiments of the present invention are the foregoing is only, limit is not used to
The system present invention, although being described in detail to the present invention with reference to the foregoing embodiments, for this area
For technical staff, it can still modify to the technical scheme described in foregoing embodiments,
Or equivalent is carried out to which part technical characteristic.It is all within the spirit and principles in the present invention,
Any modification, equivalent substitution and improvements made etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of method of video playback flow Real-Time Scheduling, it is characterised in that including:
The video playback request that client sends is received, is asked to determine and client according to the video playback
Corresponding regional information and/or operator's informaiton;
Determine that matched with the client first is optimal according to the regional information and/or operator's informaiton
CDN, and the broadcast address of the first optimal CDN is returned to the client, described first is optimal
The flow value of CDN is less than the first preset value;
The flow value of the first optimal CDN described in monitor in real time, in the flow value of the described first optimal CDN
During higher than the second preset value, redefined and the client according to the regional information and/or operator's informaiton
The flow value of the second optimal CDN of matching, the second optimal CDN is held to be less than the 3rd preset value;
The broadcast address of the second optimal CDN is returned to the client, indicate the client according to
The broadcast address switching CDN of the second optimal CDN.
2. method according to claim 1, it is characterised in that it is described according to the regional information and/
Or the first optimal CDN that operator's informaiton determination is matched with the client, including:
First in the range of the predeterminable area of the client position is determined according to the regional information
CDN information;
According to the operator that the operator's informaiton determines to be connected with the client, and determine and operator
The 2nd CDN information for matching;
Determine that flow value is less than the first preset value according to a CDN information and/or the 2nd CDN information
The first optimal CDN.
3. method according to claim 2, it is characterised in that according to a CDN information and
/ or the 2nd CDN information determine flow value less than the first preset value the first optimal CDN, specifically include:
According to a CDN information and/or the 2nd CDN information determine the client it is attachable,
And flow value less than the first preset value one or more CDN, and detect respectively the client and each
The access response time between CDN, using access response time most short CDN as the first optimal CDN;
Or
According to a CDN information and/or the 2nd CDN information determine the client it is attachable,
And flow value is less than one or more CDN of the first preset value, by the connection speed between the client
The most fast CDN of degree is used as the first optimal CDN;Or
According to a CDN information and/or the 2nd CDN information determine the client it is attachable,
And flow value is less than one or more CDN of the first preset value, the minimum CDN conducts of flow value in future
First optimal CDN.
4. method according to claim 1, it is characterised in that it is described according to the regional information and/
Or operator's informaiton redefines the second optimal CDN matched with the client, including:
In the range of the predeterminable area of the client position is redefined according to the regional information
Three CDN information;
The operator being connected with the client is redefined according to the operator's informaiton, and is determined and fortune
The 4th CDN information that battalion business matches;
Determine that flow value is less than the 3rd preset value according to the 3rd CDN information and/or the 4th CDN information
The second optimal CDN.
5. method according to claim 4, it is characterised in that according to the 3rd CDN information and
/ or the 4th CDN information determine flow value less than the 3rd preset value the second optimal CDN, specifically include:
According to the 3rd CDN information and/or the 4th CDN information determine the client it is attachable,
And flow value less than the 3rd preset value one or more CDN, and detect respectively the client and each
The access response time between CDN, using access response time most short CDN as the second optimal CDN;
Or
According to the 3rd CDN information and/or the 4th CDN information determine the client it is attachable,
And flow value is less than one or more CDN of the 3rd preset value, by the connection speed between the client
The most fast CDN of degree is used as the second optimal CDN;Or
According to the 3rd CDN information and/or the 4th CDN information determine the client it is attachable,
And flow value is less than one or more CDN of the 3rd preset value, the minimum CDN conducts of flow value in future
Second optimal CDN.
6. a kind of device of video playback flow Real-Time Scheduling, it is characterised in that including:
Receiver module, the video playback request for receiving client transmission, please according to the video playback
Ask and determine the regional information and/or operator's informaiton corresponding with client;
First determining module, for being determined and the client according to the regional information and/or operator's informaiton
The first optimal CDN of matching is held, and the broadcasting ground of the first optimal CDN is returned to the client
Location, the flow value of the first optimal CDN is less than the first preset value;
Second determining module, for the flow value of the described in monitor in real time first optimal CDN, described first
When the flow value of optimal CDN is higher than the second preset value, according to the regional information and/or operator's informaiton weight
Newly determine the second optimal CDN matched with the client, the flow value of the second optimal CDN is low
In the 3rd preset value;
Scheduler module, the broadcast address for returning to the second optimal CDN to the client, indicates
The client switches CDN according to the broadcast address of the described second optimal CDN.
7. device according to claim 6, it is characterised in that the first determining module includes:
First determining unit, for determining the default of the client position according to the regional information
A CDN information in regional extent;
Second determining unit, for the operation for determining to be connected with the client according to the operator's informaiton
Business, and determine the 2nd CDN information matched with operator;
First processing units, for determining stream according to a CDN information and/or the 2nd CDN information
First optimal CDN of the value less than the first preset value.
8. device according to claim 7, it is characterised in that the first processing units are specifically used
In:
According to a CDN information and/or the 2nd CDN information determine the client it is attachable,
And flow value less than the first preset value one or more CDN, and detect respectively the client and each
The access response time between CDN, using access response time most short CDN as the first optimal CDN;
Or
According to a CDN information and/or the 2nd CDN information determine the client it is attachable,
And flow value is less than one or more CDN of the first preset value, by the connection speed between the client
The most fast CDN of degree is used as the first optimal CDN;Or
According to a CDN information and/or the 2nd CDN information determine the client it is attachable,
And flow value is less than one or more CDN of the first preset value, the minimum CDN conducts of flow value in future
First optimal CDN.
9. device according to claim 6, it is characterised in that second determining module includes:
3rd determining unit, for redefining the client position according to the regional information
The 3rd CDN information in the range of predeterminable area;
4th determining unit, for redefining what is be connected with the client according to the operator's informaiton
Operator, and determine the 4th CDN information matched with operator;
Second processing unit, for determining stream according to the 3rd CDN information and/or the 4th CDN information
Second optimal CDN of the value less than the 3rd preset value.
10. device according to claim 9, it is characterised in that the second processing unit is specifically used
In:
According to the 3rd CDN information and/or the 4th CDN information determine the client it is attachable,
And flow value less than the 3rd preset value one or more CDN, and detect respectively the client and each
The access response time between CDN, using access response time most short CDN as the second optimal CDN;
Or
According to the 3rd CDN information and/or the 4th CDN information determine the client it is attachable,
And flow value is less than one or more CDN of the 3rd preset value, by the connection speed between the client
The most fast CDN of degree is used as the second optimal CDN;Or
According to the 3rd CDN information and/or the 4th CDN information determine the client it is attachable,
And flow value is less than one or more CDN of the 3rd preset value, the minimum CDN conducts of flow value in future
Second optimal CDN.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510869870.7A CN106817356A (en) | 2015-12-01 | 2015-12-01 | A kind of method and device of video playback flow Real-Time Scheduling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510869870.7A CN106817356A (en) | 2015-12-01 | 2015-12-01 | A kind of method and device of video playback flow Real-Time Scheduling |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106817356A true CN106817356A (en) | 2017-06-09 |
Family
ID=59107488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510869870.7A Pending CN106817356A (en) | 2015-12-01 | 2015-12-01 | A kind of method and device of video playback flow Real-Time Scheduling |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106817356A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107911723A (en) * | 2017-11-20 | 2018-04-13 | 中央电视台 | Distribute method, server and the discharge device of video flow in Multi net voting path |
CN107948664A (en) * | 2017-11-20 | 2018-04-20 | 广州虎牙信息科技有限公司 | Direct broadcasting room video playing control method, device and terminal |
CN108184149A (en) * | 2017-12-29 | 2018-06-19 | 北京奇艺世纪科技有限公司 | A kind of video CD N method for optimizing scheduling and device |
CN109788317A (en) * | 2017-11-14 | 2019-05-21 | 移动商务股份有限公司 | The audio-visual management system of crossfire and its method of the audio-visual management of crossfire |
CN109905734A (en) * | 2017-12-08 | 2019-06-18 | 北京京东尚科信息技术有限公司 | Method and device, live broadcast system, storage medium and the electronic equipment shunted is broadcast live |
CN110138887A (en) * | 2019-04-03 | 2019-08-16 | 华为技术有限公司 | Data processing method, device and storage medium |
CN110166526A (en) * | 2019-04-15 | 2019-08-23 | 中国平安人寿保险股份有限公司 | More CDN access management methods, device, computer equipment and storage medium |
CN110233861A (en) * | 2018-03-05 | 2019-09-13 | 北京京东尚科信息技术有限公司 | Dispatching method and device, storage medium, the electronic equipment of CDN node |
WO2020063372A1 (en) * | 2018-09-29 | 2020-04-02 | 华为技术有限公司 | Data transmission method and related apparatus |
CN111786908A (en) * | 2019-04-04 | 2020-10-16 | 邓铮 | Traffic scheduling method and device based on IP address and storage medium |
CN113132479A (en) * | 2021-04-16 | 2021-07-16 | 北京百度网讯科技有限公司 | Traffic switching method, traffic switching apparatus, traffic model generating method, traffic model generating apparatus, traffic model generating |
CN113204430A (en) * | 2021-05-31 | 2021-08-03 | 世纪龙信息网络有限责任公司 | Resource scheduling method, scheduling management platform, device and medium |
CN116828237A (en) * | 2023-06-08 | 2023-09-29 | 天翼爱音乐文化科技有限公司 | Video playing method, video playing system, electronic device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101764747A (en) * | 2009-12-24 | 2010-06-30 | 北京世纪互联宽带数据中心有限公司 | Intelligent dispatching method, device and system of content delivery network flow |
CN103475719A (en) * | 2013-09-12 | 2013-12-25 | 北京科技大学 | Content distribution method for minimizing cross-domain flows in CDN-P2P fusion network |
CN103746934A (en) * | 2013-12-24 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | CDN bandwidth balancing method, CDN control center and system |
CN103856806A (en) * | 2012-11-28 | 2014-06-11 | 腾讯科技(北京)有限公司 | Video stream switching method, device and system |
US20140222988A1 (en) * | 2013-02-04 | 2014-08-07 | Samsung Electronics Co., Ltd. | Method for adaptive content discovery for distributed shared caching system |
-
2015
- 2015-12-01 CN CN201510869870.7A patent/CN106817356A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101764747A (en) * | 2009-12-24 | 2010-06-30 | 北京世纪互联宽带数据中心有限公司 | Intelligent dispatching method, device and system of content delivery network flow |
CN103856806A (en) * | 2012-11-28 | 2014-06-11 | 腾讯科技(北京)有限公司 | Video stream switching method, device and system |
US20140222988A1 (en) * | 2013-02-04 | 2014-08-07 | Samsung Electronics Co., Ltd. | Method for adaptive content discovery for distributed shared caching system |
CN103475719A (en) * | 2013-09-12 | 2013-12-25 | 北京科技大学 | Content distribution method for minimizing cross-domain flows in CDN-P2P fusion network |
CN103746934A (en) * | 2013-12-24 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | CDN bandwidth balancing method, CDN control center and system |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109788317A (en) * | 2017-11-14 | 2019-05-21 | 移动商务股份有限公司 | The audio-visual management system of crossfire and its method of the audio-visual management of crossfire |
CN107948664B (en) * | 2017-11-20 | 2020-10-16 | 广州虎牙信息科技有限公司 | Live broadcast room video playing control method and device and terminal |
CN107948664A (en) * | 2017-11-20 | 2018-04-20 | 广州虎牙信息科技有限公司 | Direct broadcasting room video playing control method, device and terminal |
CN107911723A (en) * | 2017-11-20 | 2018-04-13 | 中央电视台 | Distribute method, server and the discharge device of video flow in Multi net voting path |
CN107911723B (en) * | 2017-11-20 | 2020-04-07 | 中央电视台 | Method, server and distribution equipment for distributing video traffic by multiple network paths |
CN109905734A (en) * | 2017-12-08 | 2019-06-18 | 北京京东尚科信息技术有限公司 | Method and device, live broadcast system, storage medium and the electronic equipment shunted is broadcast live |
CN108184149A (en) * | 2017-12-29 | 2018-06-19 | 北京奇艺世纪科技有限公司 | A kind of video CD N method for optimizing scheduling and device |
CN108184149B (en) * | 2017-12-29 | 2021-04-20 | 北京奇艺世纪科技有限公司 | Video CDN scheduling optimization method and device |
CN110233861B (en) * | 2018-03-05 | 2023-08-04 | 北京京东尚科信息技术有限公司 | CDN node scheduling method and device, storage medium and electronic equipment |
CN110233861A (en) * | 2018-03-05 | 2019-09-13 | 北京京东尚科信息技术有限公司 | Dispatching method and device, storage medium, the electronic equipment of CDN node |
US11477078B2 (en) | 2018-09-29 | 2022-10-18 | Huawei Technologies Co., Ltd. | Data transmission method and related apparatus |
WO2020063372A1 (en) * | 2018-09-29 | 2020-04-02 | 华为技术有限公司 | Data transmission method and related apparatus |
CN110138887A (en) * | 2019-04-03 | 2019-08-16 | 华为技术有限公司 | Data processing method, device and storage medium |
CN111786908A (en) * | 2019-04-04 | 2020-10-16 | 邓铮 | Traffic scheduling method and device based on IP address and storage medium |
CN110166526A (en) * | 2019-04-15 | 2019-08-23 | 中国平安人寿保险股份有限公司 | More CDN access management methods, device, computer equipment and storage medium |
CN110166526B (en) * | 2019-04-15 | 2023-04-07 | 中国平安人寿保险股份有限公司 | Multi-CDN access management method and device, computer equipment and storage medium |
CN113132479A (en) * | 2021-04-16 | 2021-07-16 | 北京百度网讯科技有限公司 | Traffic switching method, traffic switching apparatus, traffic model generating method, traffic model generating apparatus, traffic model generating |
CN113204430A (en) * | 2021-05-31 | 2021-08-03 | 世纪龙信息网络有限责任公司 | Resource scheduling method, scheduling management platform, device and medium |
CN116828237A (en) * | 2023-06-08 | 2023-09-29 | 天翼爱音乐文化科技有限公司 | Video playing method, video playing system, electronic device and storage medium |
CN116828237B (en) * | 2023-06-08 | 2024-05-10 | 天翼爱音乐文化科技有限公司 | Video playing method, video playing system, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106817356A (en) | A kind of method and device of video playback flow Real-Time Scheduling | |
CN113595766B (en) | Communication method and device | |
CN107683600B (en) | System and method for managing ABR bit rate delivery in response to video buffer characteristics of a client | |
CN107566429A (en) | Base station, the response method of access request, apparatus and system | |
CN104348798B (en) | A kind of method, apparatus, dispatch server and system for distributing network | |
CN105376176B (en) | Ensure the methods, devices and systems of mobile Internet video traffic service quality | |
JP6496712B2 (en) | Wireless transmission capacity management | |
CN106888253A (en) | The shunt method and device of a kind of broadband services | |
CN110719273A (en) | Method for determining back source node, server and computer readable storage medium | |
CN109412977A (en) | A kind of domain name bandwidth adjustment method and relevant device | |
CN102916930B (en) | Fused business network and its node, resource request routing iinformation acquisition methods | |
CN206313803U (en) | A kind of router for realizing network game acceleration | |
CN110445723A (en) | A kind of network data dispatching method and fringe node | |
CN106302230A (en) | A kind of data transmission method and device | |
CN111224889A (en) | Data transmission method and device | |
JP2002077277A5 (en) | ||
CN110324678A (en) | Method, apparatus, electronic equipment and the readable storage medium storing program for executing of transmitting, monitoring resource | |
CN111885606B (en) | Park communication network fusion control method, device and system | |
CN106230979A (en) | Method of video distribution, system and video dispatching equipment | |
CN107343058B (en) | IP address distribution system and working method thereof | |
CN110191362B (en) | Data transmission method and device, storage medium and electronic equipment | |
CN115580568B (en) | Method and system for realizing network service quality guarantee based on IPv6 flow label | |
CN108667873B (en) | Shunting method, shunting device, electronic equipment and readable storage medium | |
CN109361546A (en) | A kind of program method for early warning and device based on view networking | |
CN108900653A (en) | One kind realizing cross-network segment search system based on onvif agreement and data link layer |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170609 |