CN102883193A - Content distribution flow control method - Google Patents

Content distribution flow control method Download PDF

Info

Publication number
CN102883193A
CN102883193A CN2012103789246A CN201210378924A CN102883193A CN 102883193 A CN102883193 A CN 102883193A CN 2012103789246 A CN2012103789246 A CN 2012103789246A CN 201210378924 A CN201210378924 A CN 201210378924A CN 102883193 A CN102883193 A CN 102883193A
Authority
CN
China
Prior art keywords
video
bandwidth
user
code rate
request
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
Application number
CN2012103789246A
Other languages
Chinese (zh)
Inventor
邵长松
夏彦刚
李茗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN2012103789246A priority Critical patent/CN102883193A/en
Publication of CN102883193A publication Critical patent/CN102883193A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a content distribution flow control method and a content distribution flow control system. The method is characterized by distributing bandwidth to a user according to video types requested by the user. By means of the content distribution flow control method, each user can play videos smoothly, and bandwidth waste is avoided.

Description

The contents distribution flow control methods
Technical field
The present invention relates to communication technical field, relate in particular to a kind of contents distribution flow control methods.
Background technology
At present, the Internet only provides the transmission service of doing one's best usually, and business tine is only required as early as possible transmission, and does not have clear and definite time and reliability guarantee.Along with the develop rapidly of network multimedia technology, the multimedia application on the Internet emerges in an endless stream, the Internet progressively from single data transport network to data, the comprehensive transmission net of the multimedia messagess such as voice, image develops.
CDN(Content Delivery Network, content distributing network) technology arrives some CDN fringe nodes by the Data dissemination that will be stored in central server, provide service by fringe node to the user, a CDN fringe node can be numerous user's services, therefore when the transmission of data, need to do flow control for each user, can not allow certain user account for more bandwidth, and other users have accounted for less bandwidth, should accomplish the equilibrium of allocated bandwidth.Solved Internet network congestion situation by CDN, improved the response speed of user's access websites, more and more be subject to the extensive concern of industry, and at home and abroad be widely used.
Existing CDN flow control technique generally is on the CDN fringe node, is the bandwidth of each user assignment equalization.Like this, although can accomplish the equilibrium of allocated bandwidth, for the internet video business, the Internet video resolution sizes differs, and 720P is arranged, and 1080P is also arranged, and corresponding video code rate also differs, and the user can ask the video of different code checks.Therefore, if each user is distributed impartial bandwidth, will certainly cause the user bandwidth of asking low bit-rate video redundant, ask the user bandwidth of high bit-rate video not enough, and cause the broadcast card to pause, affect the user and experience.
Summary of the invention
The invention provides a kind of method, can on the CDN fringe node, ask the code check of video to come to solve the above problems for the user assignment bandwidth according to the user.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of contents distribution flow control methods is characterized in that: the video type according to user's request is this user assignment bandwidth.
Wherein, described video type is video code rate.
Wherein, before being this user assignment bandwidth, described video type according to user's request also comprises:
Step S100 detects the remaining bandwidth amount in current broadband;
Step S101 obtains the video code rate of user's request.
Wherein, content distributing network CDN node can be according to total amount of bandwidth with for asking the bandwidth of user assignment, calculate described current bandwidth availability ratio, wherein said total amount of bandwidth is preset parameter, and described has been the summation of each user assignment bandwidth for the bandwidth of asking user assignment.
Wherein, the video code rate of described detection user request comprises: detect the address of the video file of user's request, obtain this video file total bytes and video playback duration, and according to formula
Video code rate=video file total bytes/video playback duration obtains described video code rate.
Wherein, described video code rate also comprises live code check, and described live code check is to be set when the video flowing that video capture device is collected is encoded by the Flash encoder server.
A kind of contents distribution flow control system, it comprises: distribution module, its video type according to user's request is this user assignment bandwidth.
Wherein, described video type is video code rate.
It also comprises: detection module, and it is for detection of the remaining bandwidth amount in current broadband;
The video code rate acquisition module, it is used for obtaining the video code rate of user's request.
Wherein, described remaining bandwidth amount can be according to total amount of bandwidth by content distributing network CDN node and has been calculated for the bandwidth of request user assignment, wherein said total amount of bandwidth is preset parameter, and described has been the summation of each user assignment bandwidth for the bandwidth of asking user assignment.
Wherein, the described video code rate of user's request that obtains obtains this video file total bytes and video playback duration by the address of the video file of detection user request, and according to formula
Video code rate=video file total bytes/video playback duration obtains described video code rate.
Wherein, described video code rate also comprises live code check, and described live code check is to be set when the video flowing that video capture device is collected is encoded by the Flash encoder server.
By contents distribution flow control methods disclosed by the invention, can guarantee that each user can the smooth playing video, avoided again the waste of bandwidth.
Description of drawings
Fig. 1 is the flow chart of the embodiment of flow control methods of the present invention;
Fig. 2 uses cake chart for bandwidth according to an embodiment of the invention;
Fig. 3 is the structural representation of the contents distribution flow control system of one embodiment of the present invention.
Specific embodiment
Embodiments of the invention provide a kind of contents distribution flow control methods, can ask the code check of video to come to be the user assignment bandwidth according to the user, thereby take full advantage of available bandwidth, promote terminal use's Quality of experience.
For the advantage that makes technical solution of the present invention is clearer, below in conjunction with drawings and Examples the present invention is elaborated.
On the CDN fringe node, during for the user assignment bandwidth of request video, not to distribute a fixing bandwidth value, but distribute according to video code rate.If that is: the video code rate of user's request is 1000KB/S, then is the bandwidth of this user assignment 1000KB size; The video code rate of another user's request is 500KB/S, then is the bandwidth of this user assignment 500KB size.Like this, can guarantee that each user can the smooth playing video, avoid again the waste of bandwidth.Wherein video code rate is determined by formula (1):
Video code rate=video file total bytes/video playback duration ... (1)
Wherein, the video text total bytes is the total size take byte as unit of video file namely, and playing duration also is one of attribute of this video file self.
Fig. 1 shows the flow chart of the embodiment of flow control methods of the present invention.Described method is comprised of following steps:
The remaining bandwidth amount in step S100, the current broadband of detection.Wherein the CDN node can according to total amount of bandwidth (preset parameter) with for the bandwidth (being the summation of each user assignment bandwidth) of request user assignment, calculate current remaining bandwidth amount.
Remaining bandwidth amount=total bandwidth Liang – has distributed amount of bandwidth ... (2)
Amount of bandwidth refers to how many data volumes the unit interval can transmit; The code check of video refers to the data volume of playing in the unit interval in video display process.The playing process of Internet video is to download the video source file to subscriber's local from the CDN server first, passes through player plays at subscriber's local.Therefore, if satisfy in the subscriber's local normal play, download so the data volume of finishing and immediately to satisfy process in the subscriber's local video playback, otherwise the phenomenon of card just occurs playing.Therefore, should be according to the value of video code rate, come to distribute bandwidth for the downloading process of this video source file, code check value such as a video is 500Bytes/s, its per second in the normal play process can be play the data volume of 500Bytes, the downloading process of the video transmission speed that also will satisfy at least 500Bytes/s downloads to this locality with video so, just can guarantee the normal play in this locality, and the bandwidth of therefore distributing for the downloading process of this video is exactly 500Bytes/s.
Step S101, obtain the video code rate of user request.Detect the video file address of user's request, video resolution is not equal to code check, and this paper does not consider video resolution.Video code rate calculates with playing duration according to the video file size, the user is indifferent to also needn't know video code rate, only telling server need to download which video file gets final product, also namely in the file memory address of CDN node side, read this video file, obtain this video file total bytes and video playback duration, thereby obtain video code rate according to formula (1).The code check that calculates is not used for returning to client, is the bandwidth value of determining user's foradownloaded video.
Step S102, the video code rate of asking according to the user are this user assignment bandwidth in the remaining bandwidth amount.
Fig. 2 is that one embodiment of the invention bandwidth is used cake chart.
As shown in Figure 2, suppose:
Total bandwidth: 1G=1024M=1,048,576K/s;
Utilized bandwidth: 1G*80%=838,860K/s;
Utilized bandwidth: 1G*20%=209 not, 715K/s;
Then, the bandwidth of remaining 209M, according to the value of concrete video code rate, acceptable user's number of request is respectively:
It is 800K/s:262 that the user asks video code rate;
It is 400K/s:524 that the user asks video code rate;
It is 200K/s:1048 that the user asks video code rate;
Live user's code check such as 500K/s:419.
When above-mentioned example shown, CDN node were distributed bandwidth for each video user, the bandwidth value of distribution equaled the code check value of video that this user asks.When the video code rate of user's request is 800K/s, can be the corresponding bandwidth of user assignment of 262 same request simultaneously then, namely can carry simultaneously 262 connections; Similarly, when the request video code rate is 400K/s, can provide corresponding bandwidth for 524 users; When the request code check is 200K/s, can provide corresponding bandwidth for 1048 users.
Equally, follow above example, if current this CDN node remaining bandwidth is 209715 K/s, what first user asked is that code check is the video of 800K/s, be the bandwidth of first user assignment 800K size so just, the remaining bandwidth amount is (209715-800) K/s; At this moment, if second user's request is that code check is the video of 200K/s, just be the bandwidth of second user assignment 200K/s size, the remaining bandwidth amount is (209715-800-200) K/s; If, the third party request be live TV stream, live code check is 500K/s, the bandwidth of just distributing the 500K size for third party, remaining bandwidth is (209715-800-200-500) K/s ... by that analogy, until this CDN node bandwidth all assigns, can not provide service for follow-up user again.
Wherein, live code check is to be set when the video flowing that video capture device is collected is encoded by the Flash encoder server.
A kind of contents distribution flow control methods according to above embodiment provides the invention allows for a kind of contents distribution flow control system, and Fig. 3 is the structural representation of the contents distribution flow control system of one embodiment of the present invention.As shown in Figure 3, this system comprises: distribution module, its video type according to user's request is this user assignment bandwidth.
Wherein, described video type is video code rate.
It also comprises: detection module, and it is for detection of the remaining bandwidth amount in current broadband;
The video code rate acquisition module, it is used for obtaining the video code rate of user's request.
Wherein, described remaining bandwidth amount can be according to total amount of bandwidth by content distributing network CDN node and has been calculated for the bandwidth of request user assignment, wherein said total amount of bandwidth is preset parameter, and described has been the summation of each user assignment bandwidth for the bandwidth of asking user assignment.
Wherein, the described video code rate of user's request that obtains obtains this video file total bytes and video playback duration by the address of the video file of detection user request, and according to formula
Video code rate=video file total bytes/video playback duration obtains described video code rate.
Wherein, described video code rate also comprises live code check, and described live code check is to be set when the video flowing that video capture device is collected is encoded by the Flash encoder server.
The above; only be specific embodiments of the invention; but the protection range of the embodiment of the invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses, and the variation that can expect easily or replace all should be encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (8)

1. contents distribution flow control methods is characterized in that may further comprise the steps:
Detect the remaining bandwidth amount in current broadband;
Detect the video code rate of user's request;
Be this user assignment bandwidth according to described remaining bandwidth amount and described video code rate.
2. method as claimed in claim 1, wherein said remaining bandwidth amount by content distributing network CDN node according to total amount of bandwidth and for the request user assignment bandwidth calculated, wherein said total amount of bandwidth is preset parameter, and described has been the summation of each user assignment bandwidth for the bandwidth of asking user assignment.
3. method as claimed in claim 1, the video code rate of wherein said detection user request comprises: detects the address of the video file of user's request, obtains this video file total bytes and video playback duration, and according to formula
Video code rate=video file total bytes/video playback duration obtains described video code rate.
4. method as claimed in claim 1, wherein said video code rate also comprises live code check, described live code check is to be set when the video flowing coding that video capture device is collected by the Flash encoder server.
5. contents distribution flow control system is characterized in that comprising:
Detection module, it is for detection of the remaining bandwidth amount in current broadband;
The video code rate acquisition module, it is used for obtaining the video code rate of user's request;
Distribution module, its video code rate that is used for according to described remaining bandwidth amount and user's request is this user assignment bandwidth.
6. system as claimed in claim 5, described remaining bandwidth amount by content distributing network CDN node according to total amount of bandwidth and for the request user assignment bandwidth calculated, wherein said total amount of bandwidth is preset parameter, and described has been the summation of each user assignment bandwidth for the bandwidth of asking user assignment.
7. system as claimed in claim 5, the video code rate of the described user's of obtaining request comprises the address of the video file that detects user's request, obtains this video file total bytes and video playback duration, and according to formula
Video code rate=video file total bytes/video playback duration obtains described video code rate.
8. the described video code rate of system also comprises live code check as claimed in claim 5, and described live code check is to be set when the video flowing that video capture device is collected is encoded by the Flash encoder server.
CN2012103789246A 2012-10-09 2012-10-09 Content distribution flow control method Pending CN102883193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103789246A CN102883193A (en) 2012-10-09 2012-10-09 Content distribution flow control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103789246A CN102883193A (en) 2012-10-09 2012-10-09 Content distribution flow control method

Publications (1)

Publication Number Publication Date
CN102883193A true CN102883193A (en) 2013-01-16

Family

ID=47484303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103789246A Pending CN102883193A (en) 2012-10-09 2012-10-09 Content distribution flow control method

Country Status (1)

Country Link
CN (1) CN102883193A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618743A (en) * 2014-12-30 2015-05-13 北京国双科技有限公司 Method, device and system for allocating code rate resource
CN106101016A (en) * 2016-05-30 2016-11-09 乐视控股(北京)有限公司 Dispatching method and system
WO2017107670A1 (en) * 2015-12-23 2017-06-29 华为技术有限公司 Video bit rate identification method and device
CN107333169A (en) * 2017-06-30 2017-11-07 郑州云海信息技术有限公司 A kind of client-cache method of adjustment and device
CN107911723A (en) * 2017-11-20 2018-04-13 中央电视台 Distribute method, server and the discharge device of video flow in Multi net voting path
WO2018068262A1 (en) * 2016-10-13 2018-04-19 华为技术有限公司 Video code rate acquisition method, apparatus, and network side device
CN107968957A (en) * 2016-10-20 2018-04-27 法乐第(北京)网络科技有限公司 Video broadcasting method and device
CN110324710A (en) * 2018-03-30 2019-10-11 深圳Tcl新技术有限公司 A kind of method, apparatus and storage medium calculating video code rate
CN114449312A (en) * 2020-11-04 2022-05-06 深圳Tcl新技术有限公司 Video playing control method and device, terminal equipment and storage medium
CN114978917A (en) * 2022-03-28 2022-08-30 慧之安信息技术股份有限公司 Network performance improving method and device based on edge calculation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272479A (en) * 2008-03-31 2008-09-24 华为软件技术有限公司 Resource scheduling device and method, method and system and set-top box for demanding programs
CN101577670A (en) * 2008-05-07 2009-11-11 华为技术有限公司 Method, device and system for bandwidth allocation
CN101778104A (en) * 2009-12-29 2010-07-14 常州中流电子科技有限公司 System and method for playing stream media by using self-adaption bandwidth
CN101800885A (en) * 2010-02-26 2010-08-11 北京新岸线网络技术有限公司 Video data distribution method and system method and system for distributing video data
CN102036104A (en) * 2010-12-09 2011-04-27 四川长虹电器股份有限公司 Video on demand access control method
CN102624712A (en) * 2012-02-28 2012-08-01 大唐移动通信设备有限公司 Method for optimizing quality of service of wireless streaming media and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272479A (en) * 2008-03-31 2008-09-24 华为软件技术有限公司 Resource scheduling device and method, method and system and set-top box for demanding programs
CN101577670A (en) * 2008-05-07 2009-11-11 华为技术有限公司 Method, device and system for bandwidth allocation
CN101778104A (en) * 2009-12-29 2010-07-14 常州中流电子科技有限公司 System and method for playing stream media by using self-adaption bandwidth
CN101800885A (en) * 2010-02-26 2010-08-11 北京新岸线网络技术有限公司 Video data distribution method and system method and system for distributing video data
CN102036104A (en) * 2010-12-09 2011-04-27 四川长虹电器股份有限公司 Video on demand access control method
CN102624712A (en) * 2012-02-28 2012-08-01 大唐移动通信设备有限公司 Method for optimizing quality of service of wireless streaming media and device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618743A (en) * 2014-12-30 2015-05-13 北京国双科技有限公司 Method, device and system for allocating code rate resource
CN104618743B (en) * 2014-12-30 2018-05-18 北京国双科技有限公司 Code check resource allocation methods, apparatus and system
WO2017107670A1 (en) * 2015-12-23 2017-06-29 华为技术有限公司 Video bit rate identification method and device
CN106101016A (en) * 2016-05-30 2016-11-09 乐视控股(北京)有限公司 Dispatching method and system
WO2018068262A1 (en) * 2016-10-13 2018-04-19 华为技术有限公司 Video code rate acquisition method, apparatus, and network side device
CN107968957A (en) * 2016-10-20 2018-04-27 法乐第(北京)网络科技有限公司 Video broadcasting method and device
CN107333169A (en) * 2017-06-30 2017-11-07 郑州云海信息技术有限公司 A kind of client-cache method of adjustment and device
CN107333169B (en) * 2017-06-30 2020-03-06 郑州云海信息技术有限公司 Client cache adjusting method and device
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
CN110324710A (en) * 2018-03-30 2019-10-11 深圳Tcl新技术有限公司 A kind of method, apparatus and storage medium calculating video code rate
CN114449312A (en) * 2020-11-04 2022-05-06 深圳Tcl新技术有限公司 Video playing control method and device, terminal equipment and storage medium
CN114978917A (en) * 2022-03-28 2022-08-30 慧之安信息技术股份有限公司 Network performance improving method and device based on edge calculation

Similar Documents

Publication Publication Date Title
CN102883193A (en) Content distribution flow control method
US20230016816A1 (en) Content insertion in streaming media content
US9516103B2 (en) Managing linear multimedia content delivery
US10069885B2 (en) Bandwidth management for over-the-top adaptive streaming
US8776150B2 (en) Implementation method and system for a media-on-demand frame-spanning playing mode in a peer-to-peer network
CN109151497B (en) Live wheat-connecting method and device, electronic equipment and storage medium
CN103828325B (en) The statistic multiplexing of streaming media
KR102286957B1 (en) Method for distributing available bandwidth of a network amongst ongoing traffic sessions run by devices of the network, corresponding device
US10003830B1 (en) Controller to manage streaming video of playback devices
US20150288593A1 (en) Modified content delivery based on network conditions
KR20150091223A (en) Methods and apparatus for managing network resources used by multimedia streams in a virtual pipe
EP2158547A1 (en) Push-caching scheme for a late-binding advertisement architecture
KR20160077077A (en) Method and device for reserving bandwidth for an adaptive streaming client
CN104219286A (en) Method and device for processing stream media, client, CDN (content delivery network) node server and terminal
CN103813185A (en) Method, server and client for quickly distributing segmented programs
CN107920108A (en) A kind of method for pushing of media resource, client and server
CN107087214A (en) Realize method, client and system that streaming medium content speed is played
CN102984546A (en) Transcoding service system for distributed video transcoding
KR101922552B1 (en) Method amd apparatus for controlling traffic using adaptive streaming in multimedia content content transmission system
WO2009030643A3 (en) An apparatus and a method for data streaming applications
CN114501052A (en) Live broadcast data processing method, cloud platform, computer equipment and storage medium
CN104093045A (en) Method and system for processing OTT TV playing request based on source return
CN107948685B (en) Information promotion method and information promotion device
EP3443750B1 (en) Methods of streaming media file data and media file servers
CN109510868A (en) A kind of method, apparatus that establishing P2P network, terminal device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20151223

Address after: 100025 Beijing city Chaoyang District Yaojieyuan Road No. 105 building LETV

Applicant after: LETV CLOUD COMPUTING CO., LTD.

Address before: Room six, building 19, building 68, No. 100026 South Road, Haidian District, Beijing

Applicant before: LeTV Information Technology (Beijing) Co., Ltd.

RJ01 Rejection of invention patent application after publication

Application publication date: 20130116

RJ01 Rejection of invention patent application after publication