CN101052119A - Control method, device and use for video frequency ordering - Google Patents
Control method, device and use for video frequency ordering Download PDFInfo
- Publication number
- CN101052119A CN101052119A CN 200610072612 CN200610072612A CN101052119A CN 101052119 A CN101052119 A CN 101052119A CN 200610072612 CN200610072612 CN 200610072612 CN 200610072612 A CN200610072612 A CN 200610072612A CN 101052119 A CN101052119 A CN 101052119A
- Authority
- CN
- China
- Prior art keywords
- request
- user
- program
- demand
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开一种视频点播的控制方法,包括1)接收用户点播请求;2)根据用户信息判断用户等级;3)根据用户等级,进行点播控制。克服现有技术中每个点播业务均使用固定的点播速率,不能满足不同客户需要问题。本发明还公开一种视频点播控制装置包括策略数据单元,策略选择单元,计算单元,接纳控制单元,速率调整单元,强行终止单元,计费控制单元;接纳控制单元用于根据计算单元计算已使用出口带宽值与出口带宽门限值以及VoD服务器总最大出口带宽之间关系,判定是否接受用户的点播请求,控制策略选择单元选择策略数据单元相应策略。本发明还公开一种应用视频点播控制装置的视频点播系统,以实现视频点播服务器的速率控制,提高控制效果。
The invention discloses a video-on-demand control method, which includes 1) receiving a user's request for video-on-demand; 2) judging the user level according to user information; and 3) performing on-demand control according to the user level. It overcomes the problem that each on-demand service uses a fixed on-demand rate in the prior art, which cannot meet the needs of different customers. The invention also discloses a video-on-demand control device including a policy data unit, a policy selection unit, a calculation unit, an admission control unit, a rate adjustment unit, a forced termination unit, and a billing control unit; The relationship between the egress bandwidth value and the egress bandwidth threshold value and the total maximum egress bandwidth of the VoD server is used to determine whether to accept the user's on-demand request, and the control strategy selection unit selects the corresponding strategy of the strategy data unit. The invention also discloses a video-on-demand system using the video-on-demand control device, so as to realize the rate control of the video-on-demand server and improve the control effect.
Description
技术领域technical field
本发明涉及视频点播系统,尤其涉及一种视频点播的控制方法、装置及应用。The invention relates to a video-on-demand system, in particular to a video-on-demand control method, device and application.
背景技术Background technique
随着宽带业务的快速发展,VoD(视频点播)得到越来越广泛的应用。VoD的出现,使得用户可以通过网络访问视频点播服务器,依据个人的爱好或需要点播诸如电视,电影,音乐或娱乐的各种节目。用户不必遵守传统的时间表,例如坐在电视机前等待某个想看的电视节目。用户只需打开客户终端就可以直接点击希望收看的节目。并且用户不用受传统电视系统中的广告干扰,完全实现由用户掌握获得信息的主动权。VoD使用户从被动的接收方式转变为主动或者交互的接收方式。With the rapid development of broadband services, VoD (Video on Demand) is more and more widely used. The emergence of VoD enables users to access video-on-demand servers through the network, and order various programs such as TV, movies, music or entertainment according to personal hobbies or needs. Users don't have to stick to traditional schedules, such as sitting in front of the TV waiting for a desired TV show. Users only need to open the client terminal to directly click on the program they want to watch. And the user does not need to be disturbed by advertisements in the traditional TV system, and fully realizes that the user has the initiative to obtain information. VoD enables users to change from a passive receiving method to an active or interactive receiving method.
参见图1,VoD系统一般由三部分组成:VoD服务器,传输网络和客户端。VoD服务器是VoD系统的核心组成部分,用于对音视频数据进行压缩、存储及处理,实现音视频数据的传输和共享。传输网络的功能是提供音视频数据的实时传输,将音视频数据发送到用户的客户端。客户端完成对点播节目的解码播放功能以及对节目的选择,录制等各种控制功能。当前主要有两种形式的客户端,一种就是通常的PC机,另外一种采用电视机加机顶盒的方式。Referring to Fig. 1, a VoD system generally consists of three parts: a VoD server, a transmission network and a client. The VoD server is the core component of the VoD system, which is used to compress, store and process audio and video data, and realize the transmission and sharing of audio and video data. The function of the transmission network is to provide real-time transmission of audio and video data, and send the audio and video data to the user's client. The client completes various control functions such as decoding and playing functions of on-demand programs, program selection, and recording. Currently, there are mainly two types of clients, one is a common PC, and the other is a TV with a set-top box.
VoD服务器的出口带宽是有限的,随着VoD用户的增加,需要同时处理的点播服务也相应增多。因此,点播服务器的出口带宽将成为系统扩容的瓶颈所在。VoD服务器处理性能直接关系到系统的服务能力,因此有必要对每个VoD用户点播请求进行点播速率的控制,以限制其占用的出口带宽。The egress bandwidth of the VoD server is limited. With the increase of VoD users, the on-demand services that need to be processed at the same time also increase accordingly. Therefore, the export bandwidth of the VOD server will become the bottleneck of system expansion. The processing performance of the VoD server is directly related to the service capability of the system, so it is necessary to control the on-demand rate of each VoD user's on-demand request to limit the egress bandwidth it occupies.
申请号为200410065742.9,发明名称为“视频点播系统的基于测量的自适应接纳控制方法”的发明专利公开了一种视频点播系统的接纳控制方法。该方法包括,根据解码速率将访问分为不同的服务类别;每类访问提前或预先计算出其单个流正常平均带宽及该类服务的概率分位点;一个新的服务请求到达,计算所有类别的当前概率分位点,以及该类的期望概率分位点;若每类服务的当前概率分位点均大于期望概率分位点,则接纳,否则表明服务器过载,拒绝接纳。The application number is 200410065742.9, and the invention patent titled "Measurement-Based Adaptive Admission Control Method for Video-on-Demand System" discloses an admission control method for Video-on-demand system. The method includes dividing access into different service categories according to the decoding rate; calculating in advance or pre-calculating the normal average bandwidth of a single stream and the probability quantile point of this type of service for each type of access; when a new service request arrives, calculate the The current probability quantile of , and the expected probability quantile of this class; if the current probability quantile of each type of service is greater than the expected probability quantile, it will be accepted, otherwise it indicates that the server is overloaded and rejected.
上述现有技术适用于视频点播系统的接纳控制,虽然可以实现视频点播系统的接纳控制,但是上述视频点播系统基于测量的自适应接纳控制方法存在以下几方面不足:The above-mentioned prior art is applicable to the admission control of the video-on-demand system. Although the admission control of the video-on-demand system can be realized, the measurement-based adaptive admission control method of the above-mentioned video-on-demand system has the following deficiencies:
1、接纳控制的精确性不高。现有技术是基于概率计算,每类访问提前或预先计算出其单个流正常平均带宽,由于计算会存在一定的误差,因而根据计算判断接纳控制,接纳控制的精确性很难保证。1. The accuracy of admission control is not high. The existing technology is based on probability calculation. The normal average bandwidth of a single flow is calculated in advance or pre-calculated for each type of access. Due to certain errors in the calculation, admission control is judged based on calculation, and the accuracy of admission control is difficult to guarantee.
2、每个点播业务均使用固定的点播速率,不能满足不同客户需要。2. Each on-demand service uses a fixed on-demand rate, which cannot meet the needs of different customers.
3、受VoD服务器出口带宽的限制,用户接入率不能获得进一步的提高。3. Limited by the VoD server outlet bandwidth, the user access rate cannot be further improved.
发明内容Contents of the invention
本发明的目的是提供一种视频点播的控制方法,以克服现有技术中每个点播业务均使用固定的点播速率,不能满足不同客户需要。The purpose of the present invention is to provide a method for controlling video-on-demand, so as to overcome that each on-demand service uses a fixed on-demand rate in the prior art, which cannot meet the needs of different customers.
本发明的另一个目的是提供一种视频点播的控制方法,包括步骤:Another object of the present invention is to provide a kind of control method of video on demand, comprising steps:
1).收用户点播请求;1). Receive user on-demand requests;
2).根据用户信息判断用户等级;2). Judge the user level according to the user information;
3).根据用户等级,进行点播控制。3). According to the user level, perform on-demand control.
所述步骤2)中用户等级为三个等级:In the step 2), the user grades are three grades:
A等级用户:无点播速率保证,在视频点播服务器负荷较轻时才能获得视频点播服务;A-level users: no VOD rate guarantee, and VOD services can only be obtained when the load of the VOD server is light;
B等级用户:对于点播业务,有k种点播速率;Class B users: For on-demand services, there are k kinds of on-demand rates;
C等级用户:对于点播业务,给予固定的点播速率c;Class C users: For on-demand services, a fixed on-demand rate c is given;
其中,k:B等级用户可选的点播速率的数量;Among them, k: the number of on-demand rates that B-level users can choose;
c:C等级用户的恒定点播速率。c: Constant on-demand rate for C level users.
所述步骤3)具体为:The step 3) is specifically:
a)如果点播业务请求者为A等级用户:a) If the on-demand service requester is an A-level user:
当a+U<N时,接受该点播请求;否则,拒绝该点播请求;When a+U<N, accept the on-demand request; otherwise, reject the on-demand request;
b)如果点播业务请求者为B等级用户:b) If the on-demand service requester is a B-level user:
当U≤N时,接受该点播请求,采用最大点播速率b1;When U≤N, accept the on-demand request and adopt the maximum on-demand rate b 1 ;
当U>N,U+bk≤M时,接受该点播请求,采用最小点播速率bk;When U>N, U+b k ≤ M, accept the on-demand request and adopt the minimum on-demand rate b k ;
c)如果点播业务请求者为C等级用户:c) If the on-demand service requester is a C-level user:
当U+c≤M时,接受该点播请求,采用恒定点播速率c;When U+c≤M, accept the on-demand request and adopt a constant on-demand rate c;
其中,k:B等级用户可选的点播速率的数量;Among them, k: the number of on-demand rates that B-level users can choose;
a:A等级用户的点播速率;a: On-demand rate of A-level users;
bi:B等级用户第i个可能的点播速率,i的范围为1≤i≤k,i越小,则bi越大;b i : the i-th possible on-demand rate of B-level users, the range of i is 1≤i≤k, the smaller i is, the larger b i is;
其中,c:C等级用户的恒定点播速率;Among them, c: constant on-demand rate of C level users;
M:VoD服务器总的最大出口带宽;M: the total maximum egress bandwidth of the VoD server;
U:VoD服务器当前已使用的出口带宽值;U: the egress bandwidth value currently used by the VoD server;
N:出口带宽门限值。N: Egress bandwidth threshold.
所述步骤3)具体为:The step 3) is specifically:
当视频点播服务器出口带宽紧张时,强行终止所有正在点播的A等级用户的点播服务,释放出它们占用的出口带宽。When the export bandwidth of the video-on-demand server is tight, the on-demand service of all A-level users who are requesting video is forcibly terminated to release the export bandwidth occupied by them.
所述视频点播服务器出口带宽紧张,具体为,The outlet bandwidth of the video-on-demand server is tight, specifically,
视频点播服务器当前已使用的出口带宽数值大于视频点播服务器出口带宽门限值。The egress bandwidth value currently used by the VOD server is greater than the egress bandwidth threshold of the VOD server.
所述B等级用户包括,The B-level users include,
普通B等级用户:在视频点播服务器负荷较轻时给予最大点播速率b1,视频点播服务器负荷较大时,调整为更小点播速率bi,其中bk点播速率最小,bi点播速率介于b1与bk之间;Ordinary B level users: when the VOD server load is light, the maximum VOD rate b 1 is given, and when the VOD server load is heavy, the VOD server is adjusted to a smaller VOD rate b i , where the VOD rate of b k is the smallest, and the VOD rate of bi is between between b 1 and b k ;
其中,i=1、2.....k;Among them, i=1, 2...k;
特权B等级用户:有抢夺资源的权限;该等级用户在请求点播业务时,当视频点播服务器出口带宽不够,强行提前终止未服务完的普通B等级或/和普通C等级的用户的点播业务;Privileged B-level users: have the authority to snatch resources; when users of this level request on-demand services, when the video-on-demand server outlet bandwidth is not enough, the on-demand services of ordinary B-level or/and ordinary C-level users that have not been served are forcibly terminated in advance;
所述C等级用户包括,The C-level users include,
普通C等级用户:对于点播业务,给予固定的点播速率c;Ordinary C-level users: For on-demand services, a fixed on-demand rate c is given;
特权C等级用户:有抢夺资源的权限;若视频点播服务器出口带宽不够,强行提前终止未服务完的普通B等级或/和普通C等级的用户的点播业务。Privileged C-level users: have the authority to snatch resources; if the video-on-demand server outlet bandwidth is not enough, the on-demand services of ordinary B-level or/and ordinary C-level users who have not been served are forcibly terminated in advance.
所述步骤3)具体为:The step 3) is specifically:
当视频点播服务器出口带宽不够时,特权等级用户发送点播服务请求,依据预定的降级策略,降低已点播的B等级用户的点播速率,和/或依据预定的强行终止策略,终止普通等级用户点播业务,或拒绝该点播请求;When the egress bandwidth of the video-on-demand server is insufficient, the privileged level user sends an on-demand service request to reduce the on-demand rate of the B-level users who have already ordered according to the predetermined downgrading strategy, and/or terminate the ordinary-level user’s on-demand service according to the predetermined forced termination strategy , or reject the on-demand request;
当视频点播服务器出口带宽不够时,普通等级用户发送点播服务请求,依据预定的降级策略,降低已点播的B等级用户的点播速率或拒绝该点播请求。When the egress bandwidth of the video-on-demand server is not enough, the ordinary-level user sends an on-demand service request, and according to the predetermined downgrading strategy, the on-demand rate of the B-level user who has already ordered is reduced or the on-demand request is rejected.
所述步骤3)具体为:The step 3) is specifically:
若点播业务请求者为B等级用户,当U+bk>M时,降低正在点播的B等级用户的点播速率,释放足够的出口带宽,接受该点播请求采用最小点播速率bk;If the on-demand service requester is a B-level user, when U+b k >M, reduce the on-demand rate of the B-level user who is on-demand, release enough egress bandwidth, and accept the on-demand request using the minimum on-demand rate b k ;
若无法释放足够的出口带宽,对于普通B等级用户,则拒绝该点播请求;If sufficient egress bandwidth cannot be released, for ordinary B-level users, the on-demand request will be rejected;
当U+bk>M,普通B等级用户发送点播请求,通过降低正在点播的一个或者多数个B等级用户的点播速率,释放足够的出口带宽,接受该点播请求采用最小点播速率bk;否则,拒绝该点播请求;When U+b k > M, ordinary B-level users send on-demand requests, by reducing the on-demand rate of one or more B-level users who are on-demand, releasing enough egress bandwidth, and accepting the on-demand request adopts the minimum on-demand rate b k ; otherwise , rejecting the on-demand request;
当U+bk>M,特权B等级用户发送点播请求,通过降低正在点播的一个或者多数个B等级用户的点播速率,无法释放足够的出口带宽时,强行终止一个或多数个正在点播的普通B等级或C等级用户的点播服务,释放足够的出口带宽,接受该点播请求采用最小点播速率bk;否则,拒绝该点播请求。When U+b k > M, the privileged B-level user sends an on-demand request, and by reducing the on-demand rate of one or more B-level users who are on-demand, and cannot release enough egress bandwidth, one or more ordinary B-level users who are on-demand will be forcibly terminated. For the on-demand service of B-level or C-level users, enough egress bandwidth is released, and the minimum on-demand rate b k is adopted to accept the on-demand request; otherwise, the on-demand request is rejected.
所述步骤3)具体为:The step 3) is specifically:
当U+c>M,普通C等级用户发送点播请求,通过降低正在点播的B等级用户的点播速率,释放足够的出口带宽,接受该点播请求;否则,无法释放足够的出口带宽时,拒绝该点播请求;When U+c>M, ordinary C-level users send on-demand requests, by reducing the on-demand rate of B-level users who are on-demand, release enough egress bandwidth, and accept the on-demand request; otherwise, reject the on-demand request if they cannot release enough egress bandwidth on-demand request;
当U+c>M,特权C等级用户发送点播请求,通过降低正在点播的一个或者多个B等级用户的点播速率,无法释放足够的出口带宽时,强行终止一个或多个正在点播的普通B或C等级用户的点播服务,释放足够的出口带宽,接受该点播请求;否则拒绝该点播请求。When U+c>M, the privileged C-level user sends an on-demand request, and by reducing the on-demand rate of one or more B-level users who are on-demand, and cannot release enough egress bandwidth, forcibly terminate one or more ordinary B-level users who are on-demand Or the on-demand service of level C users, release enough egress bandwidth, accept the on-demand request; otherwise reject the on-demand request.
所述步骤3)进一步包括,Said step 3) further comprises,
当某个/些用户点播业务被终止或点播速率被降低,通知这个/些用户点播业务被终止或点播速率被降低。When certain/some users order service is terminated or order rate is reduced, notify this/some users that order service is terminated or order rate is reduced.
所述步骤3)进一步包括,Said step 3) further comprises,
当某个/些用户点播业务被终止或点播速率被降低,调整这个/些用户的计费方式。When a certain/some user's ordering service is terminated or the ordering rate is reduced, adjust the billing method of this/some users.
还包括,Also includes,
当点播服务正常结束或用户主动终止时,若视频点播服务器出口带宽充足,依据预定的速率提升策略,提升非固定点播速率的用户的点播速率。When the on-demand service ends normally or the user actively terminates, if the video-on-demand server outlet bandwidth is sufficient, the on-demand rate of the user with a non-fixed on-demand rate is increased according to a predetermined rate increase strategy.
当非固定点播速率的用户的点播速率被提升后,通知该用户点播速率被提升,并调整相应的计费方式。When the ordering rate of a user with a non-fixed ordering rate is increased, the user is notified that the ordering rate has been increased, and the corresponding billing method is adjusted.
根据非固定点播速率用户请求,依据预定的用户速率调整策略,调整非固定点播速率用户点播速率级别。According to the non-fixed on-demand rate user request, adjust the non-fixed on-demand rate user's on-demand rate level according to the predetermined user rate adjustment strategy.
当非固定点播速率的用户的点播速率被调整后,通知该用户点播速率被调整,并调整相应的计费方式。When the ordering rate of a user with a non-fixed ordering rate is adjusted, the user is notified that the ordering rate is adjusted, and the corresponding billing method is adjusted.
本发明还公开一种视频点播的控制装置,包括策略数据单元,策略选择单元,计算单元,接纳控制单元,速率调整单元,强行终止单元,计费控制单元;The invention also discloses a video-on-demand control device, including a policy data unit, a policy selection unit, a calculation unit, an admission control unit, a rate adjustment unit, a forced termination unit, and a charging control unit;
所述策略数据单元:与所述策略选择单元相连,用于保存降级策略,强行终止策略,速率提升策略,用户速率调整策略;The policy data unit: connected to the policy selection unit, used to save the downgrade policy, the forced termination policy, the rate increase policy, and the user rate adjustment policy;
所述策略选择单元:与所述接纳控制单元相连,从所述策略数据单元中选择对应的策略;The policy selection unit: connected to the admission control unit, selects a corresponding policy from the policy data unit;
所述计算单元:与所述接纳控制单元相连,计算已使用的出口带宽U值;The calculation unit: connected to the admission control unit, to calculate the used egress bandwidth U value;
所述接纳控制单元:用于设置出口带宽门限值N;根据所述计算单元计算的已使用出口带宽值U与出口带宽门限值N以及VoD服务器总的最大出口带宽M之间关系,判定是否接受用户的点播请求,控制所述策略选择单元选择所述策略数据单元相应的策略;The admission control unit: used to set the egress bandwidth threshold N; according to the relationship between the used egress bandwidth value U calculated by the calculation unit, the egress bandwidth threshold N and the total maximum egress bandwidth M of the VoD server, determine Whether to accept the user's on-demand request, and control the strategy selection unit to select the corresponding strategy of the strategy data unit;
所述速率调整单元:与所述接纳控制单元相连,降低或者提高B等级用户的点播速率;The rate adjustment unit: connected to the admission control unit, reduces or increases the request rate of B-level users;
所述强行终止单元:与所述接纳控制单元相连,终止A等级,普通B或/和C等级用户的点播服务;The forced termination unit: connected to the admission control unit, terminates the on-demand service of A-level, ordinary B-level and/or C-level users;
所述计费控制单元:与所述接纳控制单元相连,设置并调整对应的计费方式。The billing control unit: connected to the admission control unit, to set and adjust the corresponding billing mode.
本发明还公开一种视频点播系统,包括,The invention also discloses a video-on-demand system, including:
中央控制单元:分别与节目数据单元、点播处理单元、通信单元、用户数据单元、视频点播的控制装置相连,用于协调与控制各单元;Central control unit: respectively connected with the program data unit, on-demand processing unit, communication unit, user data unit, and video-on-demand control device for coordinating and controlling each unit;
节目数据单元:与中央控制单元相连,用于保存视频点播服务的所有节目内容的数据文件;Program data unit: connected to the central control unit, used to save data files of all program content of the video-on-demand service;
点播处理单元:与中央控制单元相连,用于对节目数据单元中的节目内容进行加工处理,完成视音频数据的编码压缩;On-demand processing unit: connected to the central control unit, used to process the program content in the program data unit and complete the encoding and compression of video and audio data;
通信单元:与中央控制单元相连,用于与用户的客户端的控制交互以及发送点播节目的媒体流至所述用户;Communication unit: connected to the central control unit, used for controlling and interacting with the user's client and sending the media stream of the program on demand to the user;
用户数据单元:与中央控制单元相连,用于划分和记录定制视频点播服务用户的用户等级及用户信息;User data unit: connected to the central control unit, used to divide and record the user level and user information of the customized video-on-demand service users;
其特征在于,还包括,It is characterized in that it also includes,
视频点播的控制装置:与中央控制单元相连,用于根据服务器使用的出口带宽值,控制所述用户的点播请求。Video-on-demand control device: connected to the central control unit, used to control the user's video-on-demand request according to the egress bandwidth value used by the server.
所述视频点播的控制装置还包括,The control device for the video on demand also includes,
计算单元:计算已使用的出口带宽U值;Calculation unit: calculate the used egress bandwidth U value;
接纳控制单元:用于设置出口带宽门限值N;与计算单元相连,根据所述计算单元计算的已使用出口带宽值U与出口带宽门限值N以及VoD服务器总的最大出口带宽M之间关系,判定是否接受用户的点播请求,控制策略选择单元选择策略数据单元相应的策略;Admission control unit: used to set the egress bandwidth threshold N; connected to the computing unit, between the used egress bandwidth value U calculated by the computing unit, the egress bandwidth threshold N and the total maximum egress bandwidth M of the VoD server relationship, determine whether to accept the user's on-demand request, and control the strategy selection unit to select the corresponding strategy of the strategy data unit;
策略数据单元:用于保存降级策略,强行终止策略,速率提升策略,用户速率调整策略;Policy data unit: used to save the downgrade policy, forced termination policy, rate increase policy, and user rate adjustment policy;
策略选择单元:与策略选择单元和接纳控制单元相连,从策略数据单元中选择对应的策略;Policy selection unit: connected to the policy selection unit and the admission control unit, and selects the corresponding policy from the policy data unit;
速率调整单元:与接纳控制单元相连,降低或者提高B等级用户的点播速率;Rate adjustment unit: connected to the admission control unit to reduce or increase the on-demand rate of B-level users;
强行终止单元:与接纳控制单元相连,终止A等级,普通B或/和C等级用户的点播服务;Forced termination unit: connected to the admission control unit, terminates the on-demand service of users of grade A, common grade B and/or C;
计费控制单元:与接纳控制单元相连,设置并调整对应的计费方式。Charging control unit: connected to the admission control unit, to set and adjust the corresponding charging method.
管理单元:与中央控制单元相连,用于注册用户、注销管理及计费管理。Management unit: connected to the central control unit, used for user registration, logout management and billing management.
由以上本发明提供的技术方案可以看出,本发明在视频点播服务器出口带宽容量有限的情况下,对使用视频点播服务的用户划分服务等级,对不同的用户等级采取不同的点播速率控制策略。使用户获得差异化的服务性能,提高了VoD点播服务器接受点播请求的能力,实现了VoD系统的高效使用。As can be seen from the above technical solutions provided by the present invention, the present invention divides service levels for users using video-on-demand services under the condition of limited bandwidth capacity at the egress of the video-on-demand server, and adopts different rate control strategies for different user levels. It enables users to obtain differentiated service performance, improves the ability of the VoD on-demand server to accept on-demand requests, and realizes the efficient use of the VoD system.
附图说明Description of drawings
图1为现有技术中VoD系统示意图;FIG. 1 is a schematic diagram of a VoD system in the prior art;
图2为本发明方法的实现流程图;Fig. 2 is the realization flowchart of the inventive method;
图3为点播服务正常结束的控制流程图;Fig. 3 is the control flowchart of normal termination of on-demand service;
图4为用户主动调整点播速率的控制过程流程图;Fig. 4 is the flow chart of the control process for the user to actively adjust the rate of request;
图5为视频点播的控制装置结构图;Fig. 5 is the structural diagram of the control device of video on demand;
图6为视频点播的控制装置应用系统的结构图。Fig. 6 is a structural diagram of the application system of the video-on-demand control device.
具体实施方式Detailed ways
由于不同用户通常具有不同的服务质量要求和不同的支付等级,因此可以针对不同的用户分别给予服务速率的控制策略,满足差异化用户性能需求的同时,实现系统效率的最大化。Since different users usually have different service quality requirements and different payment levels, service rate control strategies can be given to different users to meet differentiated user performance requirements while maximizing system efficiency.
参见图2,该图为本发明方法的实现流程图。Referring to Fig. 2, this figure is a flow chart of the implementation of the method of the present invention.
本发明所述视频点播的控制方法,包括步骤:The control method of video on demand of the present invention comprises the steps of:
S1、接收用户点播请求;S1. Receive a user request for broadcasting;
S2、根据用户信息判断用户等级;S2. Judging the user level according to the user information;
用户等级为三个等级:There are three user levels:
A等级用户:无点播速率保证,在视频点播服务器负荷较轻时才能获得视频点播服务;A-level users: no VOD rate guarantee, and VOD services can only be obtained when the load of the VOD server is light;
B等级用户:对于点播业务,有k种点播速率;Class B users: For on-demand services, there are k kinds of on-demand rates;
C等级用户:对于点播业务,给予固定的点播速率c;Class C users: For on-demand services, a fixed on-demand rate c is given;
B等级用户可以进一步分为:B-level users can be further divided into:
普通B等级用户:被用于一般的付费用户,是一种点播速率可变化的用户;对某个点播业务,有k种点播速率,在视频点播服务器负荷较轻时给予最大点播速率b1,视频点播服务器负荷较大时,调整为更小点播bi;Ordinary B-level users: used for general paying users, is a user whose on-demand rate can be changed; for a certain on-demand service, there are k kinds of on-demand rates, and the maximum on-demand rate b1 is given when the video-on-demand server load is light. When the on-demand server load is heavy, adjust to a smaller on-demand bi;
其中i=1、2.....k,bk点播速率最小;Wherein i=1, 2...k, bk on-demand rate is minimum;
特权B等级用户:被用于高级的付费用户,也是一种点播速率可变化的用户,具有抢夺资源权限的用户等级;该类用户在请求点播业务时,当视频点播服务器出口带宽不够,可强行提前终止未服务完的普通B等级或/和普通C等级的用户的点播业务。Privileged level B users: It is used for advanced paid users, and it is also a user whose on-demand rate can be changed. It has the user level to snatch resource rights; Terminate the on-demand services of ordinary B-level or/and ordinary C-level users who have not been served in advance.
C等级用户可以进一步分为:C-level users can be further divided into:
普通C等级用户:被用于高级付费用户,对点播节目质量有较高要求,是一种点播速率恒定的用户;对于点播业务,给予固定的点播速率c;Ordinary C-level users: used for high-end paid users, who have high requirements for the quality of on-demand programs, and are users with a constant on-demand rate; for on-demand services, a fixed on-demand rate c is given;
特权C等级用户:被用于高级付费用户,对点播节目质量有较高要求,具有抢夺资源权限的用户等级;若视频点播服务器出口带宽不够,可强行提前终止未服务完的普通B等级或/和普通C等级的用户的点播业务。Privileged C-level users: used for advanced paying users, who have high requirements for the quality of on-demand programs, and have the user level to snatch resource rights; if the bandwidth of the video-on-demand server outlet is not enough, the ordinary B-level or/or unfinished service can be forcibly terminated in advance And the on-demand service of ordinary C-level users.
下面说明几个参数的意义:The following explains the meaning of several parameters:
k:使用某个点播业务时,B等级用户可选的点播速率的数量。k: When using a certain on-demand service, the number of on-demand rates that B-level users can choose.
a:使用某个点播业务时,A等级用户的点播速率。a: When using an on-demand service, the on-demand rate of A-level users.
bi:使用某个点播业务时,B等级用户第i个可能的点播速率,i的范围为1≤i≤k,i越小,则bi越大。bi: When using a certain on-demand service, the i-th possible on-demand rate of B-level users, the range of i is 1≤i≤k, the smaller i is, the larger bi is.
c:使用某个点播业务时,C等级用户的恒定点播速率。c: When using a certain on-demand service, the constant on-demand rate of C-level users.
M:VoD服务器总的最大出口带宽,所有业务的点播速率之和不能超过该数值。M: The total maximum export bandwidth of the VoD server. The sum of the on-demand rates of all services cannot exceed this value.
U:VoD服务器当前已使用的出口带宽值。U: The egress bandwidth value currently used by the VoD server.
N:出口带宽门限值,当U>N时,则表示VoD服务器处于出口带宽紧张的状态。N: the egress bandwidth threshold value, when U>N, it means that the VoD server is in a state of tight egress bandwidth.
一个VoD服务器同时可以提供多种视频点播业务,不同用户可能使用相同或者不同的点播业务。对于不同的业务,其节目内容不同,通常也具有不同的音视频质量性能,因此每种业务都有其特定的点播速率参数bk,a,b1,c,并且参数之间的关系一般应该满足a≤bk≤b1≤c。A VoD server can provide multiple video-on-demand services at the same time, and different users may use the same or different video-on-demand services. For different services, their program content is different, and usually have different audio and video quality performance, so each service has its specific on-demand rate parameters bk, a, b1, c, and the relationship between parameters should generally satisfy a ≤bk≤b1≤c.
S3、根据用户等级进行控制。S3. Perform control according to the user level.
当视频点播服务器出口带宽不够时,特权等级用户发送点播服务请求,降低普通等级用户的点播速率和/或终止普通等级用户点播业务和/或降低特权等级用户的点播速率或拒绝该点播请求。When the video-on-demand server egress bandwidth is not enough, the privileged level user sends an on-demand service request, reduces the on-demand rate of the ordinary level user and/or terminates the on-demand service of the ordinary level user and/or reduces the on-demand rate of the privileged level user or rejects the on-demand request.
当某个/些用户点播业务被终止或点播速率被降低,通知这个/些用户点播业务被终止或点播速率被降低,并调整这个/些用户的计费方式。When a certain/some user's ordering service is terminated or the ordering rate is reduced, this/some users are notified that the ordering service is terminated or the ordering rate is reduced, and the charging method of this/some users is adjusted.
当视频点播服务器出口带宽不够时,普通等级用户发送点播服务请求,降低已点播的普通等级用户点播速率或拒绝该点播请求。When the egress bandwidth of the video-on-demand server is insufficient, the ordinary-level user sends an on-demand service request to reduce the ordering rate of the ordinary-level user who has ordered the video or reject the on-demand request.
当某个/些用户点播速率被降低,通知这个/些用户点播速率被降低,并调整这个/些用户的计费方式。When a certain/some user's ordering rate is reduced, notify this/some users that the ordering rate is reduced, and adjust the billing method of this/some user.
请求同一个点播业务,对于不同的用户服务等级,采用不同的接纳控制。下面分别对所述三个等级用户的接纳控制进行说明:When requesting the same on-demand service, different admission controls are adopted for different user service levels. The following describes the admission control of the three levels of users respectively:
1)若点播业务请求者为A等级用户:1) If the on-demand service requester is an A-level user:
当a+U<N时,未超过出口带宽门限值,接受该点播请求。否则,拒绝该点播请求。When a+U<N, the egress bandwidth threshold is not exceeded, and the on-demand request is accepted. Otherwise, reject the on-demand request.
2)若点播业务请求者为B等级用户:2) If the on-demand service requester is a B-level user:
当U≤N时,服务器空闲出口带宽充足,接受该点播请求,采用最大的可选点播速率b1,并设置对应的计费方式;When U≤N, the server has sufficient idle bandwidth, accepts the on-demand request, adopts the maximum optional on-demand rate b1, and sets the corresponding billing method;
当U>N,U+bk≤M时,服务器空闲出口带宽紧张,接受该点播请求,但采用最小的可选点播速率bk,并设置对应的计费方式;When U>N, U+bk≤M, the idle outlet bandwidth of the server is tight, accept the on-demand request, but adopt the minimum optional on-demand rate bk, and set the corresponding billing method;
当U+bk>M时,服务器空闲出口带宽不够,需要依据对应的降级策略降低某个或者某几个正在点播的B等级用户的点播速率,释放出足够的出口带宽,使得请求可以被接受并采用最小点播速率bk。When U+bk>M, the idle egress bandwidth of the server is not enough, and it is necessary to reduce the on-demand rate of one or several B-level users who are on-demand according to the corresponding downgrading strategy, so as to release enough egress bandwidth so that the request can be accepted and sent The minimum on-demand rate bk is adopted.
采用的降级策略,可以选择点播速率级别最高的B等级用户进行降级处理,也可以依据点播的时间和计费方式等因素来选择。当释放出足够的出口带宽,接受该点播请求,并设置对应的计费方式。The downgrading strategy adopted can select B-level users with the highest on-demand rate level for downgrade processing, and can also be selected according to factors such as on-demand time and billing methods. When sufficient egress bandwidth is released, accept the on-demand request and set the corresponding billing method.
若通过降级无法释放足够的出口带宽,例如所有B等级用户当前都已采用最小点播速率。对于普通B等级用户,则拒绝该点播请求。此时不会有A等级用户在点播,因为在B等级用户的点播速率被降低之前,A等级用户已全部被终止点播业务。对于特权B等级用户,除了和普通B等级用户一样降低某些B等级用户的点播速率,还可以依据对应的强行终止策略强行终止某个或者某几个正在点播的普通B或/和普通C等级用户的点播服务。从而释放出足够的出口带宽,使得请求可以被接受并采用最小点播速率bk。若仍然无法释放足够的出口带宽,当前系统中主要以特权B,特权C等级用户为主,不能强行终止其服务,则拒绝该特权B用户的点播请求。If the downgrade cannot release enough egress bandwidth, for example, all B-level users currently use the minimum on-demand rate. For ordinary B-level users, the on-demand request is rejected. At this time, there will be no A-level users ordering, because all A-level users have been terminated to order services before the ordering rate of B-level users is reduced. For privileged B-level users, in addition to reducing the on-demand rate of some B-level users like ordinary B-level users, they can also forcibly terminate one or several ordinary B and/or ordinary C-level users who are on-demand according to the corresponding forced termination policy User's on-demand service. Thereby releasing sufficient egress bandwidth, so that the request can be accepted and the minimum on-demand rate bk is adopted. If still unable to release enough egress bandwidth, the current system is mainly dominated by privileged B and privileged C level users, whose service cannot be forcibly terminated, then the on-demand request of the privileged B user will be rejected.
采用的强行终止策略,可以选择点播速率最大的用户强行终止,或者依据点播的时间和计费方式等因素来选择。当释放出足够的出口带宽,则接受该点播请求,并设置对应的计费方式。The forced termination strategy adopted can choose the user with the highest requesting rate to forcibly terminate, or choose according to factors such as the requesting time and charging method. When sufficient egress bandwidth is released, the on-demand request is accepted and the corresponding billing method is set.
3)若点播业务请求者为C等级用户:3) If the on-demand service requester is a C-level user:
当U+c<=M时,服务器空闲出口带宽足够,接受该点播请求,采用恒定点播速率c,并设置对应的计费方式;When U+c<=M, the server’s idle outlet bandwidth is sufficient, accept the on-demand request, adopt a constant on-demand rate c, and set the corresponding billing method;
当U+c>M时,服务器空闲出口带宽不够,需要依据对应的降级策略降低某个或者某几个正在点播的B等级用户的点播速率,释放出足够的出口带宽,使得请求可以被接受。当释放出足够的出口带宽,则接受该点播请求。When U+c>M, the idle egress bandwidth of the server is not enough, and it is necessary to reduce the on-demand rate of one or several B-level users who are on-demand according to the corresponding downgrading strategy, so as to release enough egress bandwidth so that the request can be accepted. When sufficient egress bandwidth is released, the on-demand request is accepted.
对于普通C等级用户,当通过降级处理无法释放足够的出口带宽,则拒绝该点播请求。For ordinary C level users, if the downgrade process fails to release enough egress bandwidth, the on-demand request is rejected.
对于特权C等级用户,当通过降级处理无法释放足够的出口带宽时,还可以依据对应的强行终止策略,强行终止某个或者某几个正在点播的普通B或/和普通C等级用户的点播服务,从而释放出足够的出口带宽,使得请求被接受。当释放出足够的出口带宽,则接受该点播请求,并设置对应的计费方式。当无法释放足够的出口带宽,则拒绝该特权C用户的点播请求。For privileged C-level users, when sufficient egress bandwidth cannot be released through downgrade processing, the on-demand service of one or several ordinary B and/or ordinary C-level users who are on-demand can also be forcibly terminated according to the corresponding forced termination policy , thus releasing enough egress bandwidth to allow the request to be accepted. When sufficient egress bandwidth is released, the on-demand request is accepted and the corresponding billing method is set. When sufficient egress bandwidth cannot be released, the VOD request of the privileged C user is rejected.
点播服务正常结束之后,将释放出其占用的VoD服务器出口带宽。当出口带宽恢复为充足时,对于采用较低点播速率的B等级用户,应该依据对应的速率提升策略考虑提高他们的点播速率。为了避免相对频繁的速率调整,可以采用对于所有未采用最大可选点播速率的B等级用户,当空闲的服务器出口带宽足够所有这些用户都提高一个点播速率级别时,则同时提高这些用户的点播速率一个等级,否则不进行提高速率处理。当然也可以根据点播时间或点播频率确定提高B等级用户的点播速率以及提高的速率等级。After the VOD service ends normally, the VoD server egress bandwidth occupied by it will be released. When the egress bandwidth is restored to be sufficient, for B-class users who use lower on-demand rates, they should consider increasing their on-demand rates according to the corresponding rate increase strategy. In order to avoid relatively frequent rate adjustments, for all B-level users who do not use the maximum optional request rate, when the idle server outlet bandwidth is sufficient for all these users to increase a request rate level, then increase the request rate of these users at the same time One level, otherwise no rate increase processing is performed. Of course, it is also possible to determine to increase the ordering rate of the B-level user and the increased rate level according to the ordering time or the ordering frequency.
参见图3,该图为点播服务正常结束的控制流程图。Referring to FIG. 3 , this figure is a control flow chart of the normal termination of the on-demand service.
S10.点播节目正常结束或者用户主动终止点播;当用户点播正常结束,或主动终止点播后,可以释放其占用的出口带宽速率资源。S10. The on-demand program ends normally or the user actively terminates the on-demand program; when the user's on-demand program ends normally or actively terminates the on-demand program, the egress bandwidth rate resource occupied by it can be released.
S20.重新计算已使用的出口带宽U值;S20. Recalculate the used egress bandwidth U value;
S30.进行计费相关的处理;S30. Perform billing-related processing;
S40.依据相应的速率提升策略,判定是否可对某些B等级用户进行点播速率的提升,若不能实施提升速率操作,则执行步骤S80;S40. According to the corresponding rate increase strategy, it is determined whether the on-demand rate can be increased for certain B-level users, and if the rate increase operation cannot be implemented, then step S80 is performed;
S50.当可以进行速率提升,对选定的B等级用户提高至某个点播速率,并进行对应的计费方式调整;S50. When the rate can be increased, increase the selected B-level users to a certain on-demand rate, and adjust the corresponding charging method;
S60.通知该B等级用户其点播速率被提高至新的等级;S60. Notify the B-level user that its on-demand rate has been increased to a new level;
S70.重新计算已使用的出口带宽U值;S70. Recalculate the used egress bandwidth U value;
S80.控制过程结束。S80. The control process ends.
当B等级用户主动的请求调整其点播速率级别。若符合相应的用户速率调整策略,服务器接受该请求。When B level users actively request to adjust their on-demand rate level. If the corresponding user rate adjustment policy is met, the server accepts the request.
参见图4,该图为用户主动调整点播速率的控制过程流程图:Referring to Fig. 4, this figure is the flow chart of the control process for the user to actively adjust the rate of request:
S100.接收某个B等级用户调整速率的请求;S100. Receive a rate adjustment request from a class B user;
S200.依据当前服务器出口带宽状态以及相应的用户速率调整策略,决定是否进行速率调整。若不能调整速率,则通知该用户不能接受该请求,执行步骤S600;S200. Determine whether to perform rate adjustment according to the current server egress bandwidth status and the corresponding user rate adjustment policy. If the rate cannot be adjusted, the user is notified that the request cannot be accepted, and step S600 is executed;
S300.若可以进行速率调整,调整用户的点播速率并进行对应的计费方式调整;S300. If rate adjustment is possible, adjust the user's on-demand rate and adjust the corresponding billing method;
S400.通知用户其速率调整成功;S400. Notify the user that the rate adjustment is successful;
S500.重新计算已使用的出口带宽U值;S500. Recalculate the used egress bandwidth U value;
S600.控制过程结束。S600. The control process ends.
本发明的另一个目的是提供一种视频点播的控制装置及其应用,以实现视频点播速率控制,提高控制效果。Another object of the present invention is to provide a video-on-demand control device and its application, so as to realize video-on-demand rate control and improve the control effect.
参见图5,该图为视频点播的控制装置结构图。Referring to FIG. 5 , it is a structural diagram of a video-on-demand control device.
视频点播的控制装置4包括,策略数据单元43,策略选择单元44,计算单元41,接纳控制单元42,速率调整单元45,强行终止单元46,计费控制单元47;用于接收请求用户信息,根据服务器使用的出口带宽值,控制用户请求。The
策略数据单元43:与策略选择单元44相连,用于保存降级策略,强行终止策略,速率提升策略,用户速率调整策略;Policy data unit 43: connected to the
策略选择单元44:与接纳控制单元42相连,从策略数据单元43中选择对应的策略;Policy selection unit 44: connected to the
计算单元41:与接纳控制单元42相连,计算已经使用的出口带宽U值;Calculation unit 41: connected to the
接纳控制单元42:用于设置出口带宽门限值N;根据已使用出口带宽值U与出口带宽门限值N以及VoD服务器总的最大出口带宽M之间关系,判定是否接受用户的点播请求,控制策略选择单元44选择策略数据单元43相应的策略;Admission control unit 42: used to set the egress bandwidth threshold N; according to the relationship between the used egress bandwidth U and the egress bandwidth threshold N and the total maximum egress bandwidth M of the VoD server, determine whether to accept the user's on-demand request, The control
速率调整单元45:与接纳控制单元42相连,降低或者提高B等级用户的点播速率;Rate adjustment unit 45: connected to the
强行终止单元46:与接纳控制单元42相连,终止A,普通B或/和C等级用户的点播服务;Forced termination unit 46: connected to the
计费控制单元47:与接纳控制单元42相连,设置并调整对应的计费方式。Charging control unit 47: connected to the
下面分别以A、B、C等级用户为例,说明本装置工作过程。The working process of the device will be described below by taking users of grades A, B and C as examples.
若点播业务请求者为A等级用户:If the on-demand service requester is an A-level user:
计算单元41,计算当前已使用的出口带宽值U;
接纳控制单元42,判断当前已使用出口带宽值U与该A等级用户的点播速率a之和是否小于出口带宽门限值N;The
当a+U<N时,未超过出口带宽门限值,接受该点播请求;否则,拒绝该点播请求。When a+U<N, the on-demand request is accepted if the egress bandwidth threshold is not exceeded; otherwise, the on-demand request is rejected.
若点播业务请求者为B等级用户:If the on-demand service requester is a B-level user:
计算单元41,计算当前已使用的出口带宽值U;
接纳控制单元42,判断当前已使用出口带宽值U与出口带宽门限值N以及VoD服务器总的最大出口带宽M之间关系;The
当U≤N时,服务器空闲出口带宽充足,接受该点播请求,采用最大的可选点播速率b1;When U≤N, the server has sufficient bandwidth at the idle exit, accepts the on-demand request, and adopts the maximum optional on-demand rate b 1 ;
当U>N,U+bk≤M时,服务器空闲出口带宽紧张,接受该点播请求,采用最小的可选点播速率bk;When U>N, U+b k ≤ M, the idle outlet bandwidth of the server is tight, accept the on-demand request, and adopt the minimum optional on-demand rate b k ;
当U+bk>M时,服务器空闲出口带宽不够,接纳控制单元42控制策略选择单元44选择策略数据单元43的降级策略;接纳控制单元42根据降级策略调用速率调整单元45,确定降低某个或者某几个正在点播的普通B等级和特权B等级用户点播速率,释放出足够的出口带宽,使得请求可以被接受并采用最小点播速率bk。When U+b k >M, the idle egress bandwidth of the server is not enough, the
被降低点播速率的那个或者那几个正在点播的B等级用户,计费控制单元47调整相应的计费方式。The
若通过降级无法释放足够的出口带宽,例如所有B等级用户当前都已采用最小点播速率:If sufficient egress bandwidth cannot be released through downgrading, for example, all B-level users currently use the minimum on-demand rate:
对于普通B等级用户,拒绝该点播请求。For ordinary B-level users, the on-demand request is rejected.
对于特权B等级用户,除了和普通B等级用户一样降低某些B等级用户的处理速率,接纳控制单元42控制策略选择单元44选择策略数据单元43的强行终止策略,接纳控制单元42根据强行终止策略调用强行终止单元46,确定强行终止某个或者某几个正在点播的普通B或普通C等级用户的点播服务。从而释放出足够的出口带宽,使得请求可以被接受,并采用最小点播速率bk。若仍然无法释放足够的出口带宽,当前系统中主要以特权B,特权C等级用户为主,不能强行终止其服务,则拒绝该特权B等级用户的点播请求。For privileged B level users, in addition to reducing the processing rate of some B level users the same as ordinary B level users, the
对于被强行终止的那个或者那几个正在点播的普通B或普通C等级用户,计费控制单元47调整相应的计费方式。For the one or several ordinary B or ordinary C level users who are forcibly terminated, the
若点播业务请求者为C等级用户:If the on-demand service requester is a C-level user:
计算单元41,计算当前已使用的出口带宽值U;
接纳控制单元42,判断当前出口带宽值U与C等级用户的恒定点播速率c之和与VoD服务器总的最大出口带宽M之间关系;
当U+c<=M时,服务器空闲出口带宽足够,接受该点播请求,采用恒定点播速率c;When U+c<=M, the idle bandwidth of the server is sufficient, and the on-demand request is accepted, and the constant on-demand rate c is adopted;
当U+c>M时,服务器空闲出口带宽不够,接纳控制单元42控制策略选择单元44选择策略数据单元43的降级策略;接纳控制单元42根据降级策略调用速率调整单元45,确定降低某个或者某几个正在点播的普通B等级和特权B等级用户的点播速率,释放出足够的出口带宽,使得请求可以被接受。当释放出足够的出口带宽,接受该点播请求。When U+c>M, the idle egress bandwidth of the server is not enough, and the
被降低点播速率的那个或者那几个正在点播的B等级用户,计费控制单元47调整相应的计费方式。The
对于普通C等级用户,通过降级无法释放足够的出口带宽,则拒绝该点播请求。For ordinary C level users, if the downgrade cannot release enough egress bandwidth, the on-demand request will be rejected.
对于特权C等级用户,通过降级无法释放足够的出口带宽时,接纳控制单元42控制策略选择单元44选择策略数据单元43的强行终止策略,接纳控制单元42根据强行终止策略调用强行终止单元46,确定强行终止某个或者某几个正在点播的普通B或普通C等级用户的点播服务,从而释放出足够的出口带宽,使得请求被接受。当释放出足够的出口带宽,接受该点播请求。当无法释放足够的出口带宽,则拒绝该特权C用户的点播请求。For a privileged C level user, when sufficient egress bandwidth cannot be released by downgrading, the
对于被强行终止的那个或者那几个正在点播的普通B或普通C等级用户,计费控制单元47调整相应的计费方式。For the one or several ordinary B or ordinary C level users who are forcibly terminated, the
参见图6,该图为视频点播的控制装置应用系统的结构图。Refer to FIG. 6 , which is a structural diagram of the application system of the VOD control device.
所述系统包括,节目数据单元2、点播处理单元8、通信单元7、用户数据单元1和视频点播的控制装置4、管理单元6、中央控制单元3。The system includes a program data unit 2 , an on-demand processing unit 8 , a communication unit 7 , a user data unit 1 , a video-on-
节目数据单元2:与中央控制单元3相连,用于保存视频点播服务的所有节目内容的数据文件。Program data unit 2: connected to the central control unit 3, used to save data files of all program contents of the video-on-demand service.
点播处理单元8:与中央控制单元3相连,用于对节目数据单元2中的节目内容进行加工处理,完成视音频数据的编码压缩。On-demand processing unit 8: connected to the central control unit 3, used to process the program content in the program data unit 2, and complete the encoding and compression of video and audio data.
通信单元7:与中央控制单元3相连,用于与用户的客户端的控制交互以及发送点播节目的媒体流至所述用户。Communication unit 7: connected to the central control unit 3, used for controlling and interacting with the user's client terminal and sending the media stream of the on-demand program to the user.
用户数据单元1:与中央控制单元3相连,用于划分和记录定制视频点播服务用户的用户等级及用户信息。User data unit 1: connected to the central control unit 3, used to classify and record the user level and user information of the customized video-on-demand service users.
视频点播的控制装置4包括,The
策略数据单元43:与策略选择单元44相连,用于保存降级策略,强行终止策略,速率提升策略,用户速率调整策略;Policy data unit 43: connected to the
策略选择单元44:与接纳控制单元42相连,从策略数据单元43中选择对应的策略;Policy selection unit 44: connected to the
计算单元41:与接纳控制单元42相连,计算已经使用的出口带宽U值;Calculation unit 41: connected to the
接纳控制单元42:用于设置出口带宽门限值N;根据已使用出口带宽值U与出口带宽门限值N以及VoD服务器总的最大出口带宽M之间关系,判定是否接受用户的点播请求,控制策略选择单元44选择策略数据单元43相应的策略;Admission control unit 42: used to set the egress bandwidth threshold N; according to the relationship between the used egress bandwidth U and the egress bandwidth threshold N and the total maximum egress bandwidth M of the VoD server, determine whether to accept the user's on-demand request, The control
速率调整单元45:与接纳控制单元42相连,降低或者提高B等级用户的点播速率;Rate adjustment unit 45: connected to the
强行终止单元46:与接纳控制单元42相连,终止A,普通B或/和C等级用户的点播服务;Forced termination unit 46: connected to the
计费控制单元47:与接纳控制单元42相连,设置并调整对应的计费方式。Charging control unit 47: connected to the
管理单元6:与中央控制单元相连3,,用于用户的注册和注销管理,计费管理等,保障系统的正常运行、Management unit 6: connected to the central control unit 3, used for user registration and cancellation management, billing management, etc., to ensure the normal operation of the system,
中央控制单元3:分别与节目数据单元2、点播处理单元8、通信单元7、用户数据单元1、管理单元6、视频点播的控制装置4相连,用于协调与控制各单元。Central control unit 3: connected to program data unit 2, on-demand processing unit 8, communication unit 7, user data unit 1, management unit 6, and video-on-
视频点播的具体工作过程:The specific working process of video on demand:
通信单元7接受到新的点播服务请求。The communication unit 7 receives a new request for an on-demand service.
中央控制单元3查询用户数据单元1获取该点播请求用户的用户信息。The central control unit 3 queries the user data unit 1 to obtain the user information of the requesting user.
当查询不到该点播请求用户的信息或者该用户当前服务受限,通信单元7通知该用户的客户端无法接受其点播服务请求,控制过程结束。When the information of the requesting user cannot be found or the user's current service is limited, the communication unit 7 notifies the user's client that the request for the requesting service cannot be accepted, and the control process ends.
当该点播请求用户可用,中央控制单元3确定该用户的服务等级以及点播节目的速率参数。When the requesting user is available, the central control unit 3 determines the service level of the user and the rate parameter of the program requested.
当U>N时,VoD服务器出口带宽紧张,视频点播的控制装置4的接纳控制单元42调用强行终止单元46提前终止所有A等级用户的点播服务,释放出其占用的出口带宽。通信单元7通知A等级用户,点播服务被终止。When U>N, the outlet bandwidth of the VoD server is tight, and the
视频点播的控制装置4的计算单元41重新计算已使用的出口带宽U值;The
视频点播的控制装置4接纳控制点播请求。The
视频点播的控制装置4接纳控制点播请求的具体工作过程:The
若点播业务请求者为A等级用户:If the on-demand service requester is an A-level user:
计算单元41,计算当前已使用的出口带宽值U;
接纳控制单元42,判断当前已使用出口带宽值U与该A等级用户的点播速率a之和是否小于出口带宽门限值N;The
当a+U<N时,未超过出口带宽门限值,接受该点播请求;否则,拒绝该点播请求。When a+U<N, the on-demand request is accepted if the egress bandwidth threshold is not exceeded; otherwise, the on-demand request is rejected.
若点播业务请求者为B等级用户:If the on-demand service requester is a B-level user:
计算单元41,计算当前已使用的出口带宽值U;
接纳控制单元42,判断当前已使用出口带宽值U与出口带宽门限值N以及VoD服务器总的最大出口带宽M之间关系;The
当U≤N时,服务器空闲出口带宽充足,接受该点播请求,采用最大的可选点播速率b1;When U≤N, the server has sufficient bandwidth at the idle exit, accepts the on-demand request, and adopts the maximum optional on-demand rate b 1 ;
当U>N,U+bk≤M时,服务器空闲出口带宽紧张,接受该点播请求,采用最小的可选点播速率bk;When U>N, U+b k ≤ M, the idle outlet bandwidth of the server is tight, accept the on-demand request, and adopt the minimum optional on-demand rate b k ;
当U+bk>M时,服务器空闲出口带宽不够,接纳控制单元42控制策略选择单元44选择策略数据单元43的降级策略;接纳控制单元42根据降级策略调用速率调整单元45,确定降低某个或者某几个正在点播的B等级用户的点播速率,释放出足够的出口带宽,使得请求可以被接受并采用最小点播速率bk。When U+b k >M, the idle egress bandwidth of the server is not enough, the
被降低点播速率的那个或者那几个正在点播的B等级用户,计费控制单元47调整相应的计费方式。The
若通过降级无法释放足够的出口带宽,例如所有B等级用户当前都已采用最小点播速率:If sufficient egress bandwidth cannot be released through downgrading, for example, all B-level users currently use the minimum on-demand rate:
对于普通B等级用户,拒绝该点播请求。For ordinary B-level users, the on-demand request is rejected.
对于特权B等级用户,除了和普通B等级用户一样降低某些B等级用户的处理速率,接纳控制单元42控制策略选择单元44选择策略数据单元43的强行终止策略,接纳控制单元42根据强行终止策略调用强行终止单元46,确定强行终止某个或者某几个正在点播的普通B或普通C等级用户的点播服务。从而释放出足够的出口带宽,使得请求可以被接受,并采用最小点播速率bk。若仍然无法释放足够的出口带宽,当前系统中主要以特权B,特权C等级用户为主,不能强行终止其服务,则拒绝该特权B等级用户的点播请求。For privileged B level users, in addition to reducing the processing rate of some B level users the same as ordinary B level users, the
对于被强行终止的那个或者那几个正在点播的普通B或普通C等级用户,计费控制单元47调整相应的计费方式。For the one or several ordinary B or ordinary C level users who are forcibly terminated, the
若点播业务请求者为C等级用户:If the on-demand service requester is a C-level user:
计算单元41,计算当前已使用的出口带宽值U;
接纳控制单元42,判断当前出口带宽值U与C等级用户的恒定点播速率c之和与VoD服务器总的最大出口带宽M之间关系;
当U+c<=M时,服务器空闲出口带宽足够,接受该点播请求,采用恒定点播速率c;When U+c<=M, the idle bandwidth of the server is sufficient, and the on-demand request is accepted, and the constant on-demand rate c is adopted;
当U+c>M时,服务器空闲出口带宽不够,接纳控制单元42控制策略选择单元44选择策略数据单元43的降级策略;接纳控制单元42根据降级策略调用速率调整单元45,确定降低某个或者某几个正在点播的普通B等级和特权B等级用户的点播速率,释放出足够的出口带宽,使得请求可以被接受。当释放出足够的出口带宽,接受该点播请求。When U+c>M, the idle egress bandwidth of the server is not enough, and the
被降低点播速率的那个或者那几个正在点播的B等级用户,计费控制单元47调整相应的计费方式。The
对于普通C等级用户,通过降级无法释放足够的出口带宽,则拒绝该点播请求。For ordinary C level users, if the downgrade cannot release enough egress bandwidth, the on-demand request will be rejected.
对于特权C等级用户,通过降级无法释放足够的出口带宽时,接纳控制单元42控制策略选择单元44选择策略数据单元43的强行终止策略,接纳控制单元42根据强行终止策略调用强行终止单元46,确定强行终止某个或者某几个正在点播的普通B或普通C等级用户的点播服务,从而释放出足够的出口带宽,使得请求被接受。当释放出足够的出口带宽,接受该点播请求。当无法释放足够的出口带宽,则拒绝该特权C用户的点播请求。For a privileged C level user, when sufficient egress bandwidth cannot be released by downgrading, the
对于被强行终止的那个或者那几个正在点播的普通B或普通C等级用户,计费控制单元47调整相应的计费方式。For the one or several ordinary B or ordinary C level users who are forcibly terminated, the
当用户速率被降低或者服务被终止,通信单元7通知这些用户其速率被降低到新的速率或者其服务被终止;点播处理单元8按新的速率进行点播或者停止其点播服务。When user rate is reduced or service is terminated, communication unit 7 informs these users that its rate is reduced to a new rate or its service is terminated; order processing unit 8 performs order by new rate or stops its order service.
计算单元41重新计算已使用的出口带宽U值;
当节目是第一次被点播,中央控制单元3将从节目数据单元2调入该节目的内容到点播处理单元8;点播处理单元8对节目内容按对应的点播速率进行编码,加工处理。When the program is ordered for the first time, the central control unit 3 will transfer the content of the program from the program data unit 2 to the order processing unit 8; the order processing unit 8 encodes the program content by the corresponding order rate, and processes it.
通信单元7发送点播节目的媒体流到用户的客户端,用户正常收看该点播节目;控制过程结束。The communication unit 7 sends the media stream of the on-demand program to the user's client, and the user normally watches the on-demand program; the control process ends.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610072612 CN101052119B (en) | 2006-04-05 | 2006-04-05 | Video-on-demand control method, device and video-on-demand system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610072612 CN101052119B (en) | 2006-04-05 | 2006-04-05 | Video-on-demand control method, device and video-on-demand system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101052119A true CN101052119A (en) | 2007-10-10 |
CN101052119B CN101052119B (en) | 2011-07-06 |
Family
ID=38783287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610072612 Expired - Fee Related CN101052119B (en) | 2006-04-05 | 2006-04-05 | Video-on-demand control method, device and video-on-demand system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101052119B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009039690A1 (en) * | 2007-09-25 | 2009-04-02 | Zte Corporation | A method and apparatus for controlling the user occupying bandwidth according to time and grade |
WO2010031298A1 (en) * | 2008-09-18 | 2010-03-25 | 华为技术有限公司 | Video on demand realizing method, system and equipment |
WO2010045796A1 (en) * | 2008-10-25 | 2010-04-29 | 华为技术有限公司 | Control method, device and system for video-on-demand service |
CN102148747A (en) * | 2010-07-20 | 2011-08-10 | 华为软件技术有限公司 | Media stream transmission method and device |
CN102255792A (en) * | 2010-05-21 | 2011-11-23 | 中兴通讯股份有限公司 | Management method of group service and apparatus thereof |
WO2013078597A1 (en) * | 2011-11-28 | 2013-06-06 | 华为技术有限公司 | Method, device and system for determining user request |
CN104571820A (en) * | 2014-12-30 | 2015-04-29 | 广州酷狗计算机科技有限公司 | Speaking frame display method, equipment and system |
CN105430529A (en) * | 2015-11-26 | 2016-03-23 | 航天恒星科技有限公司 | Method and system for sending video data |
WO2017067394A1 (en) * | 2015-10-19 | 2017-04-27 | 阿里巴巴集团控股有限公司 | Method and system for distributing customer service modes |
CN107483981A (en) * | 2017-08-29 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | Live Resource Calculation monitoring distribution method, storage medium, electronic equipment and system |
CN108076115A (en) * | 2016-11-16 | 2018-05-25 | 法乐第(北京)网络科技有限公司 | Share method, apparatus, system and the electronic equipment of vehicle-mounted router |
CN110636342A (en) * | 2019-08-01 | 2019-12-31 | 何晨亮 | Video sharing payment method and system based on network video platform |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100410973B1 (en) * | 2001-04-18 | 2003-12-18 | 엘지전자 주식회사 | Method streaming moving picture video on demand |
JP2003230129A (en) * | 2002-02-01 | 2003-08-15 | Nippon Telegr & Teleph Corp <Ntt> | Live content selling method, apparatus, program, and recording medium recording the program |
-
2006
- 2006-04-05 CN CN 200610072612 patent/CN101052119B/en not_active Expired - Fee Related
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009039690A1 (en) * | 2007-09-25 | 2009-04-02 | Zte Corporation | A method and apparatus for controlling the user occupying bandwidth according to time and grade |
WO2010031298A1 (en) * | 2008-09-18 | 2010-03-25 | 华为技术有限公司 | Video on demand realizing method, system and equipment |
WO2010045796A1 (en) * | 2008-10-25 | 2010-04-29 | 华为技术有限公司 | Control method, device and system for video-on-demand service |
CN102255792A (en) * | 2010-05-21 | 2011-11-23 | 中兴通讯股份有限公司 | Management method of group service and apparatus thereof |
CN102148747A (en) * | 2010-07-20 | 2011-08-10 | 华为软件技术有限公司 | Media stream transmission method and device |
CN103348648B (en) * | 2011-11-28 | 2015-11-25 | 华为技术有限公司 | A kind of method that user of judgement asks, equipment and system |
CN103348648A (en) * | 2011-11-28 | 2013-10-09 | 华为技术有限公司 | Method, device and system for determining user request |
WO2013078597A1 (en) * | 2011-11-28 | 2013-06-06 | 华为技术有限公司 | Method, device and system for determining user request |
CN104571820A (en) * | 2014-12-30 | 2015-04-29 | 广州酷狗计算机科技有限公司 | Speaking frame display method, equipment and system |
CN104571820B (en) * | 2014-12-30 | 2018-07-20 | 广州酷狗计算机科技有限公司 | Speech frame display methods, equipment and system |
WO2017067394A1 (en) * | 2015-10-19 | 2017-04-27 | 阿里巴巴集团控股有限公司 | Method and system for distributing customer service modes |
CN105430529A (en) * | 2015-11-26 | 2016-03-23 | 航天恒星科技有限公司 | Method and system for sending video data |
CN108076115A (en) * | 2016-11-16 | 2018-05-25 | 法乐第(北京)网络科技有限公司 | Share method, apparatus, system and the electronic equipment of vehicle-mounted router |
CN107483981A (en) * | 2017-08-29 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | Live Resource Calculation monitoring distribution method, storage medium, electronic equipment and system |
CN107483981B (en) * | 2017-08-29 | 2019-11-05 | 武汉斗鱼网络科技有限公司 | Resource Calculation monitoring distribution method, storage medium, electronic equipment and system is broadcast live |
CN110636342A (en) * | 2019-08-01 | 2019-12-31 | 何晨亮 | Video sharing payment method and system based on network video platform |
CN110636342B (en) * | 2019-08-01 | 2021-05-28 | 山东百盟信息技术有限公司 | Video sharing payment method and system based on network video platform |
Also Published As
Publication number | Publication date |
---|---|
CN101052119B (en) | 2011-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101052119A (en) | Control method, device and use for video frequency ordering | |
CN1714577A (en) | video transmission | |
CN1805442A (en) | Call control with converged application server logic and gateway logic in IMS networks | |
CN1679285A (en) | Method for performing media specificity to ensure quality of service for real-time data delivery across a wireless network | |
CN101044721A (en) | Method and system for managing radio resources in mobile communication networks, related network and computer program product therefor | |
CN1929422A (en) | Communication processing device, communication control method, and computer program | |
CN101047981A (en) | System and method for implementing service quality consultation mechanism | |
CN1636400A (en) | Moving picture distribution system, moving picture distribution device and method, recording medium, and program | |
CN101075890A (en) | Method and system for realizing group session experience quality | |
CN1679004A (en) | Cache device, cache data management method, and computer program | |
CN1870589A (en) | Information transfer device and network system | |
CN1839597A (en) | Quality of experience (QOE) measurement for wireless communication networks | |
CN1843050A (en) | Method and system for resource reservation in wireless communication network | |
CN1412973A (en) | Virtual personal network service management system and service supervisor and service agent device | |
CN1663204A (en) | Gateway device and signal processing method in the gateway device | |
CN1490733A (en) | Service provision method | |
CN1784003A (en) | Content transfer system, communication device, communication method and programme | |
CN1291747A (en) | Cache device and its application | |
CN1905530A (en) | Method and system of multicast and video-on-demand | |
CN1255967C (en) | Band ensuring system, interrupt device and network management server | |
CN1841989A (en) | Method and system for distributing high throughput bandwidth in a cable network | |
CN1416276A (en) | Intermediate data receiver, method, program and recording medium and transmitting appts. and tranferring method thereof | |
CN1379592A (en) | Image code processing device and image code processing program | |
CN101080928A (en) | Method for transmitting in a transmission channel with a variable bit rate | |
CN1309222C (en) | Traffic distribution control apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110706 |