WO2017075967A1 - 在线媒体服务的带宽分配方法及系统 - Google Patents

在线媒体服务的带宽分配方法及系统 Download PDF

Info

Publication number
WO2017075967A1
WO2017075967A1 PCT/CN2016/082831 CN2016082831W WO2017075967A1 WO 2017075967 A1 WO2017075967 A1 WO 2017075967A1 CN 2016082831 W CN2016082831 W CN 2016082831W WO 2017075967 A1 WO2017075967 A1 WO 2017075967A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
categories
bandwidth
category
users
Prior art date
Application number
PCT/CN2016/082831
Other languages
English (en)
French (fr)
Inventor
夏彦刚
Original Assignee
乐视控股(北京)有限公司
乐视云计算有限公司
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 乐视控股(北京)有限公司, 乐视云计算有限公司 filed Critical 乐视控股(北京)有限公司
Priority to US15/248,842 priority Critical patent/US20170126583A1/en
Publication of WO2017075967A1 publication Critical patent/WO2017075967A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25883Management of end-user data being end-user demographical data, e.g. age, family status or address
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Definitions

  • the embodiments of the present invention relate to the field of Internet information transmission, and in particular, to a bandwidth allocation method and system for online media services.
  • the access levels of different users to the same resource are relatively single and fixed, and the specified bandwidth cannot be allocated for a specific category of users.
  • the network bandwidth resources allocated by these users are often the same, but due to different user geography, network usage, etc., the user needs for network bandwidth. The difference is that some user service bandwidth is not enough, and some users have the remaining service bandwidth.
  • online media services are the most demanding service bandwidth.
  • a large number of users will choose to listen to online music and videos for entertainment.
  • the file size of such music and video itself is relatively large compared to text, and the playing time is long, and the quality of the service bandwidth is very high. If the bandwidth is insufficient, the user will have a clear waiting and carding playing experience.
  • the current video site allocates the same bandwidth for each user for a movie. It is assigned to the bandwidth of standard definition video by default.
  • users in Beijing have higher network bandwidth and can watch high-definition video.
  • the users in Ningxia have lower network bandwidth and can only watch smooth video.
  • the bandwidth of Beijing users is excessive, so they can directly enjoy higher-definition HD video.
  • the standard definition video is provided by default, and the use of Ningxia The user's network bandwidth is not enough, even if it provides a standard definition video service, users will frequently see buffers and waits when watching.
  • the embodiment of the present invention provides a bandwidth allocation method for the online media service, including:
  • the overall score of the visiting user is compared with a predetermined rating/bandwidth model to determine the amount of bandwidth allocated to the user and to allocate bandwidth for the user.
  • Another aspect of the embodiments of the present invention provides a bandwidth allocation system for an online media service, including:
  • the classification module is configured to: divide the user into a plurality of categories according to the user attribute, assign a corresponding measurement interval to each category, and assign corresponding measurement values to each sub-category under each category according to the measurement interval;
  • the user scoring module is configured to: compare the plurality of subcategories of the plurality of categories, and collect statistics of the current visiting user, and determine an overall rating of the accessed user;
  • the bandwidth allocation module is configured to compare the overall score of the access user with a predetermined rating/bandwidth model, determine the bandwidth allocation amount of the accessing user, and allocate bandwidth for the user.
  • the bandwidth allocation method and system for the above-mentioned online media service by setting a plurality of categories to score the bandwidth allocation priorities of different users, and performing bandwidth allocation according to the scores, and assigning different service bandwidth resources to different access users, which can be targeted.
  • the ground allocates relatively reasonable bandwidth to different users, thereby achieving reasonable allocation of bandwidth resources.
  • the bandwidth allocation method and system of the above online media service allocates corresponding bandwidth to users according to different bandwidth requirements of users, and is not excessively allocated (service bandwidth is high, users Low bandwidth) causes user requests to wait all the time, causing network congestion, and the user bandwidth resources are not fully utilized due to too little allocation (low bandwidth and high user bandwidth), avoiding waste of bandwidth resources and providing users with more Good service and quality assurance.
  • FIG. 1 is a flowchart of a bandwidth allocation method of an online media service according to an embodiment of the present invention
  • step 102 of the method given in FIG. 1 is a detailed execution diagram of a specific embodiment of step 102 of the method given in FIG. 1;
  • step 102 of the method given in FIG. 1 is a detailed execution diagram of another embodiment of step 102 of the method given in FIG. 1;
  • FIG. 4 is a schematic diagram of a bandwidth allocation system of an online media service according to an embodiment of the present invention.
  • FIG. 5 is a structural diagram of a bandwidth allocation method and system for an online media service according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a server for implementing a bandwidth allocation method of an online media service according to an embodiment of the present invention.
  • OSI Open System Interconnect
  • 7 layers which are physical layer, data link layer, network layer, transport layer, session layer, presentation layer and application layer.
  • Embodiments of the present invention provide a method for implementing bandwidth allocation in a network scheduling server. The method works at the application layer, and can control multimedia data transmission at the source to solve the problem of waste of network bandwidth resources in transmission.
  • the method specifically includes:
  • Step 101 The network scheduling center divides the user into multiple categories according to the user attribute, assigns a corresponding measurement interval to each category, and assigns corresponding measurement values to each sub-category under each category according to the measurement interval;
  • Step 102 The network scheduling center compares the measured values of the currently visited users against the plurality of sub-categories in the multiple categories, and determines the overall score of the accessed users.
  • Step 103 The network dispatching center compares the overall score of the accessing user with a predetermined rating/bandwidth model, determines the bandwidth allocation amount of the visiting user, and performs bandwidth allocation for the user.
  • the predetermined rating/bandwidth model is, for example, a table set according to the user's historical bandwidth usage and the user's category, and the table is stored in the database, and when it is used, it is called to compare with the overall rating of the visiting user to determine the access. The amount of bandwidth allocated by the user.
  • the predetermined score/bandwidth model can be updated periodically or on demand to improve the accuracy of the model.
  • the plurality of categories in the above step 101 include, for example, at least one of a region category, a terminal category, a network category, an end user category, and a third party cooperation unit category.
  • the sub-categories under the geographical category may be divided into Beijing, Shanghai, Guangzhou, Shenzhen, Tianjin, etc. according to the provincial and municipal sub-categories, and the sub-categories under the terminal category are classified into using an Apple mobile phone or an Android mobile phone (which may be subdivided into Access users of high-end machines, mid-range machines, low-end machines, tablets, desktop computers, etc.; sub-categories under the end-user category are classified into non-registered users, registered users, ordinary member users, platinum member users, and gold member users. , diamond member users, etc.; sub-categories under the network category are divided into mobile network users, China Unicom network users, telecommunications network users and users using other networks; third-party cooperation unit categories are divided into cooperative third-party units.
  • step 102 is implemented, for example, by the following sub-steps, including:
  • Step 1021 The network scheduling center compares the measured values of the currently accessed user against multiple subcategories in the multiple categories.
  • Step 1022 The network scheduling center takes the sum of the measured values to determine an overall score of the visited user.
  • step 102 can also be implemented, for example, by the following sub-steps, including:
  • Step 1021' the network scheduling center compares the measured values of the currently visited user against the plurality of subcategories in the multiple categories;
  • Step 1022' the network scheduling center assigns different weights to the measured values for different categories.
  • Step 1023' The network scheduling center takes the sum of the weighted measurement values to determine the overall score of the access user.
  • the above weights are variables that can be personalized.
  • the weights are personalized according to the performance of the historical users.
  • the access users in Beijing, Shanghai, Guangzhou, Shenzhen, and Harbin under the geographical category are given weights of 10, 9, 8, 7, and 6, as well as access users under the terminal category, product category, user category, and company category. Different weight values are also assigned respectively.
  • the weight value mentioned above can be adjusted according to the specific state at that time. For example, in the period of 6:00 to 10:00 on the 19th of the month, Zhou Huajian will hold a concert in Beijing and have a concert on the Internet. Live broadcast, but because users in Guangzhou, Shenzhen, and Harbin do not like to watch the live broadcast of Zhou Huajian's concerts, users in Beijing and Shanghai feel that they can't miss the live broadcast of Zhou Huajian's concerts. Therefore, the network bandwidth of users in Beijing and Shanghai during the live broadcast time.
  • the weight value of the access users in Beijing and Shanghai is further increased by one.
  • the weights of access users in Guangzhou, Shenzhen and Harbin will be reduced by one until the user network bandwidth usage in Beijing and Shanghai is improved.
  • the cities are Beijing, Shanghai, Guangzhou, Shenzhen, Harbin but not limited to Beijing and Shanghai. Guangzhou, Shenzhen, Harbin and other cities. Based on the present embodiment, the problem of network bandwidth usage in Beijing and Shanghai is appropriately alleviated, and the waste of network bandwidth resources in cities such as Guangzhou, Shenzhen, and Harbin is avoided, and the bandwidth resources of the network are fully utilized.
  • Any real-time application requires zero latency and a certain amount of bandwidth, so assigning a high score to key users gives the user a high bandwidth allocation priority to guarantee quality of service.
  • Non-critical users are given a low score to get a low bandwidth allocation priority, so that when other user requests appear, the low bandwidth allocation priority user's request may be delayed or discarded, thereby enabling Help the network remove busy hours in certain situations.
  • the assigning the weight value may further include:
  • the requested bandwidth cannot be satisfied, then it is determined whether there is a user request that is lower than the user's score is responding, and if so, the weight of the lowest-rated user is reduced, and according to the new measurement performance
  • the final score determined by the sum of the values is the reallocation bandwidth for the visiting user until the bandwidth used by the higher scoring user's request is satisfied.
  • the user's network bandwidth priority under the category is increased by one or more levels, and the user is placed in the queue after the priority is increased, waiting Its request is processed.
  • the configuration weight value further includes:
  • the bandwidth allocation method for online media playback provided by the network scheduling center (the network scheduling center is a server or a server cluster) in the above embodiment fully considers the bandwidth allocation requirements of various users for the user experience with high bandwidth allocation priority. Ensure that these bandwidth assignment priorities
  • the high user experience is very important for the operation quality, realizes the intelligent allocation of bandwidth, guarantees the user experience, and avoids the adverse effect of unreasonable bandwidth allocation on the user experience.
  • the present invention provides a bandwidth allocation method for online media playback.
  • the network scheduling center sets a plurality of categories for determining a bandwidth allocation priority, and assigns a corresponding measurement interval to each category; according to the access users in each category
  • the measurement performance value in the measurement interval determines the overall score of the access user; compares the overall score of the access user with the predetermined score/bandwidth model, determines the bandwidth allocation amount of the access user, and reserves different bandwidth resources for different access users.
  • a relatively reasonable bandwidth can be allocated to different users in a targeted manner, thereby achieving reasonable allocation of bandwidth resources.
  • the bandwidth allocation method of the online media service is to allocate corresponding bandwidth to the user according to different bandwidth requirements of the user, and the user request is not waited due to over-allocation (high service bandwidth and low user bandwidth), resulting in a network. Congestion does not result in insufficient utilization of user bandwidth resources due to low allocation (low bandwidth and high user bandwidth), avoiding waste of bandwidth resources, and providing users with better service and quality assurance.
  • the present invention further provides a bandwidth allocation system for online media playback, including:
  • the classification module is configured to: divide the user into a plurality of categories according to the user attribute, assign a corresponding measurement interval to each category, and assign corresponding measurement values to each sub-category under each category according to the measurement interval;
  • the user scoring module is configured to: compare the plurality of sub-categories of the plurality of categories determined by the classification module, collect statistics of the currently visited user, and determine an overall rating of the visited user;
  • the bandwidth allocation module is configured to: compare the overall score of the access user determined by the user scoring module with a predetermined score/bandwidth model, determine a bandwidth allocation amount of the access user, and perform bandwidth allocation for the user.
  • the plurality of categories in the parameter configuration include at least one of a geographical category, a terminal category, a network category, an end user category, and a third party cooperation unit category.
  • the user scoring module is configured to: compare the plurality of sub-categories of the plurality of categories, and collect statistics of the current visiting user, and determine an overall rating of the accessing user, including:
  • the sum of the measured values is taken to determine the overall rating of the visiting user.
  • the user scoring module is configured to: compare the plurality of sub-categories of the plurality of categories, and collect statistics of the current visiting user, and determine an overall rating of the accessing user, including:
  • the weighted sum of the measured values is taken to determine the overall score of the visiting user.
  • the above weights are variables that can be personalized.
  • the network scheduling center in the bandwidth allocation system for online media playback is a server or a server cluster, wherein each module may be a separate server or a server cluster, and at this time, between the modules
  • the interaction is represented by an interaction between servers or server clusters corresponding to the modules, and the plurality of servers or server clusters together constitute a bandwidth allocation system for online media playback of the present invention.
  • the bandwidth allocation system that the plurality of servers or server clusters together constitute the online media playing of the present invention includes:
  • the classification server or the server cluster is configured to: divide the user into a plurality of categories according to the user attribute, assign a corresponding measurement interval to each category, and assign corresponding measurement values to each sub-category under each category according to the measurement interval;
  • the user scoring server or the server cluster is configured to: compare the plurality of sub-categories of the plurality of categories determined by the classification server or the server cluster, and collect statistics of the currently visited user, and determine an overall score of the access user;
  • a bandwidth allocation server or server cluster configured to compare an overall rating of an access user determined by a user scoring server or a server cluster with a predetermined scoring/bandwidth model, determine a bandwidth allocation amount of the accessing user, and allocate bandwidth for the user.
  • several of the plurality of modules described above may collectively form a server or cluster of servers.
  • the classification module and the user scoring module together form a first server or a first server cluster
  • the bandwidth allocation module constitutes a second server or a second server cluster.
  • the interaction between the above modules represents the interaction between the first server and the third server.
  • the interaction between the first server cluster and the second server cluster, the first server to the third server or the first server cluster and the second server cluster together constitute a bandwidth allocation system for online media playing of the present invention.
  • the bandwidth allocation system for online media playback in the above embodiments fully considers the bandwidth allocation requirements of various users whose bandwidth allocation priorities are high, and ensures the experience of users with higher bandwidth allocation priorities.
  • the very important operation quality realizes the intelligent allocation of bandwidth, which guarantees the user experience and avoids the adverse effect of unreasonable bandwidth allocation on the user experience.
  • the bandwidth allocation system based on the online media playing in the present invention completes different bandwidth resources for different access users through the division of labor of the classification module, the user scoring module, and the bandwidth allocation module, and can be targeted differently. Users allocate relatively reasonable bandwidth to achieve a reasonable allocation of bandwidth resources.
  • the bandwidth allocation method and system of the above online media service allocates corresponding bandwidth according to different bandwidth requirements of the user, and the user request does not wait because of excessive allocation (high service bandwidth and low user bandwidth).
  • the network is congested, and the user bandwidth resources are not fully utilized due to the low allocation (low bandwidth and high user bandwidth), which avoids waste of bandwidth resources and provides better service and quality assurance for users.
  • an architecture diagram of a bandwidth allocation method and system for online media playback includes a network scheduling center 50, an area A1 to an area An, where the network scheduling center 50 includes a plurality of servers D1 to Di, Each of the areas A1 to An includes a plurality of edge CDN nodes N that provide streaming services to the user.
  • the server of the network scheduling center in the architecture diagram receives the access request sent by the user through the client (the client is at least the smart terminal).
  • a bandwidth allocation method for online media playback as shown in FIG. 1 of the present invention is performed to allocate a suitable bandwidth to a user.
  • FIG. 6 it is a schematic structural diagram of an embodiment of the network scheduling server 600 of the present invention.
  • the specific embodiment of the present application does not limit the specific implementation of the server 600.
  • the server 600 can include:
  • a processor 610 a communications interface 620, a memory 630, and a communication bus 640. among them:
  • the processor 610, the communication interface 620, and the memory 630 complete communication with each other via the communication bus 640.
  • the communication interface 620 is configured to communicate with a network element such as a client.
  • the processor 610 is configured to execute the program 632. Specifically, the related steps in the foregoing method embodiments may be performed.
  • program 632 can include program code, the program code including computer operating instructions.
  • the processor 610 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • a memory for storing computer operating instructions
  • a processor configured to execute the computer operating instructions of the memory storage to perform:
  • the overall score of the visiting user is compared with a predetermined rating/bandwidth model to determine the amount of bandwidth allocated to the user and to allocate bandwidth for the user.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种在线媒体服务的带宽分配方法,包括:根据用户属性将用户分为多个类别,为每个类别分配相应的计量区间,并根据所述计量区间为各类别下的各个子类赋予相应的计量值;对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分;将访问用户的总体评分与预定评分/带宽模型对比,确定访问用户的带宽分配量,并为用户进行带宽分配。本发明还提供了一种在线媒体服务的带宽分配系统。从而本发明能够根据不同的用户来决定在线网络的带宽分配,带宽资源分配配置更加合理,进而为用户提供了更好的服务,更好的质量保障。

Description

在线媒体服务的带宽分配方法及系统 技术领域
本发明实施例涉及互联网信息传输领域,尤其涉及一种在线媒体服务的带宽分配方法及系统。
背景技术
随着网络技术的发展,用户在网络上进行的业务也越来越多,对于互联网服务来说,服务的带宽分配成为了衡量用户使用体验的一个重要指标,日益受到人们的普遍关注,其资源的合理分配和高效利用便成为一个非常重要的问题,而不同的应用场景又有着不同的应用需求。
现有技术中不同用户对同一资源的访问级别是较为单一和固定的,无法针对特定类别的用户分配指定的带宽。当多个用户发出请求需使用服务商的带宽资源时,这些用户分配到的网络带宽资源往往是一样的,但是由于用户地域、使用网络等情况的不同,用户对网络带宽的需求量也会有所不同,也就导致了有的用户服务带宽不够用,而有的用户服务带宽剩余的问题。
目前来说,对于服务带宽需求量较大的就是在线媒体服务。大量的用户会选择收听在线音乐和视频来消遣。但是这类音乐和视频本身文件大小相对于文本来说较大,播放时间较长,对服务带宽的质量要求很高,如果带宽不够,会给用户带来明显的等待和卡顿的播放体验。
例如,目前的视频网站针对一部电影为每个用户分配的带宽都是一样的,都默认分配给能看标清视频的带宽,但是北京的用户自己的网络带宽比较高,能观看高清的视频,而宁夏的用户的网络带宽比较低,只能看流畅的视频,但由于都分配给了同样的视频服务带宽,就使得北京用户的网络带宽过剩,明明可以直接欣赏更高画质的高清视频,却默认提供标清视频,而宁夏的用 户的网络带宽不够,即使为其提供了标清视频的服务,用户观看起来也会频繁的出现缓冲和等待。
发明内容
为了解决在线媒体服务的带宽分配和使用不合理而给用户带来不佳的用户体验的情况,本发明实施例一方面提供了一种在线媒体服务的带宽分配方法,包括:
根据用户属性将用户分为多个类别,为每个类别分配相应的计量区间,并根据所述计量区间为各类别下的各个子类赋予相应的计量值;
对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分;
将访问用户的总体评分与预定的评分/带宽模型对比,确定访问用户的带宽分配量,并为用户进行带宽分配。
本发明实施例另一方面提供了一种在线媒体服务的带宽分配系统,包括:
分类模块,配置以:根据用户属性将用户分为多个类别,为每个类别分配相应的计量区间,并根据所述计量区间为各类别下的各个子类赋予相应的计量值;
用户评分模块,配置以:对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分;
带宽分配模块,配置以:将访问用户的总体评分与预定的评分/带宽模型对比,确定访问用户的带宽分配量,并为用户进行带宽分配。
上述在线媒体服务的带宽分配方法及系统,通过设定多个类别对不同用户进行带宽分配优先级的评分,并根据评分进行带宽分配,为不同的访问用户分配不同的服务带宽资源,可以针对性地对不同的用户分配相对合理的带宽,从而实现对带宽资源的合理分配。
而且上述在线媒体服务的带宽分配方法及系统是根据用户带宽需求量的不同来为用户分配相应的带宽,也就不会因为过度分配(服务带宽高,用户 带宽低)而导致用户请求一直等待,造成网络拥塞,也不会因为分配太少(服务带宽低,用户带宽高)而造成用户带宽资源利用不充分,避免了带宽资源的浪费,为用户提供更好的服务和质量保障。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一实施例的在线媒体服务的带宽分配方法的流程图;
图2为图1中给的方法的步骤102的一种具体实施方式的详细执行图;
图3为图1中给的方法的步骤102的另一种具体实施方式的详细执行图;
图4为本发明一实施例的在线媒体服务的带宽分配系统的示意图;
图5为实施本发明实施例的在线媒体服务的带宽分配方法及系统的架构图;
图6为实施本发明实施例的在线媒体服务的带宽分配方法的服务器的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,在不冲突的情况下,本申请中的实施方式及实施方式中所涉及到的技术特征彼此之间可以相互组合。
OSI(Open System Interconnect,开放式系统互联)模型把网络通信的工作 分为7层,分别是物理层、数据链路层、网络层、传输层、会话层、表示层和应用层。本发明实施例提供了一种在网络调度服务器中实现带宽分配的方法。该方法工作在应用层,可以在源头控制多媒体数据传输,解决传输中的网络带宽资源浪费的问题。
参照图1,示出了根据本发明的一个实施例的在线媒体服务的带宽分配方法,所述方法具体包括:
步骤101:网络调度中心根据用户属性将用户分为多个类别,为每个类别分配相应的计量区间,并根据所述计量区间为各类别下的各个子类赋予相应的计量值;
步骤102:网络调度中心对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分;
步骤103:网络调度中心将访问用户的总体评分与预定的评分/带宽模型对比,确定访问用户的带宽分配量,并为用户进行带宽分配。
该预定评分/带宽模型例如是根据用户历史带宽使用情况与用户的类别所设定的一个表格,并且该表格存储在数据库中,待使用时将其调用出来与访问用户的总体评分对比,确定访问用户的带宽分配量。与此同时,该预定评分/带宽模型还可以定时或根据需求进行更新,提高模型的精确度。
上述步骤101中的多个类别例如包括:地域类别、终端类别、网络类别、终端用户类别和第三方合作单位类别之中的至少一个。
作为一种具体的实施方式,地域类别下的子类别可以按照省市分为北京、上海、广州、深圳、天津等,终端类别下的子类别分为使用苹果手机、安卓手机(可细分为高端机、中端机、低端机)、平板电脑、台式电脑等终端的访问用户;终端用户类别下的子类别分为非注册用户、注册用户、普通会员用户、白金会员用户、黄金会员用户、钻石会员用户等;网络类别下的子类别分为移动网络用户、联通网络用户、电信网络用户及使用其他网络的用户;第三方合作单位类别下分为合作的各家第三方单位。
上述步骤102例如通过如下子步骤来实施,包括:
步骤1021:网络调度中心对照所述多个类别下的多个子类,统计当前访问用户的计量值;
步骤1022:网络调度中心取所述计量值之和,确定访问用户的总体评分。
作为一种较佳的方式,上述步骤102还可以例如通过如下子步骤来实施,包括:
步骤1021’:网络调度中心对照所述多个类别下的多个子类,统计当前访问用户的计量值;
步骤1022’:网络调度中心针对不同的类别为所述计量值赋予不同的权重,
步骤1023’:网络调度中心取加权后的所述计量值之和,确定访问用户的总体评分。
上述权重为能够个性化配置的变量。所述权重根据历史用户的表现情况进行个性化的配置。
例如分别为地域类别下的北京、上海、广州、深圳、哈尔滨的访问用户赋予权重值为10、9、8、7、6,同样对于终端类别、产品类别、用户类别、公司类别下的访问用户也分别赋予不同的权重值。
上述的权重值是可以根据当时的具体的状态来配置进行调整的,例如在某月的19号晚6点至10点这个时间段周华健要在北京举行演唱会,并且要在网络上进行演唱会的直播,但因为广州、深圳、哈尔滨的用户不喜欢看周华健的演唱会的直播,而北京、上海的用户觉得不能错过周华健的演唱会直播,因此,在直播时间北京、上海的用户的网络带宽使用紧张,而广州、深圳、哈尔滨得网络带宽还有多余,这时就适当地将北京、上海的访问用户的权重值增加1,同时将的广州、深圳、哈尔滨的访问用户的权重值减少1,等到北京、上海的用户网络带宽使用状况不紧张时,再自动将北京、上海、广州、深圳、哈尔滨的权重值恢复到先前的状态。
作为上述实施例的进一步改进,当上述北京、上海的用户的网络带宽使用紧张还没有得到缓解时,则将北京、上海的访问用户的权重值再增加1, 同时将广州、深圳、哈尔滨的访问用户的权重值再减少1,直到北京、上海的用户网络带宽使用紧张状况得到改善,当然其中城市是北京、上海、广州、深圳、哈尔滨但不限于北京、上海、广州、深圳、哈尔滨这些城市。基于本实施例,既适当地缓解了北京、上海的网络带宽使用紧张问题,又避免了广州、深圳、哈尔滨这些城市的网络带宽资源浪费,充分利用了网络的带宽资源。
任何实时应用需要零延时和特定数量的带宽,所以对于关键用户赋予高评分使用户获得高的带宽分配优先级来保证服务质量。对于非关键用户被赋予低的评分使其获得低的带宽分配优先级,从而就会有当有其他的用户请求出现时,低的带宽分配优先级用户的请求可能被延时或丢弃,从而能够帮助网络在特定情况下移除繁忙时间。
作为上述实施例的进一步改进,所述赋予权重值时还可以包括:
当用户的请求正在响应时,其请求的带宽不能得到满足,则判断是否存在有比这个用户评分低的用户请求正在响应,若是,则将最低评分用户的权重值减少,并根据新的计量表现值之和确定的最终评分为访问用户重新分配带宽,直到该较高评分用户的请求所用的带宽得到满足。
进一步地,当用户的请求在任意时间被延时处理时,则将用户在类别下的网络带宽优先级增加1级或多级,并将该用户放入到优先级增加后的队列中,等待其请求被处理。
基于上述在线媒体播放的带宽分配方法的进一步改进,所述配置权重值还包括:
当同一时刻有多个新的用户发出请求到达时,则判断新请求的用户的带宽分配优先级是否比当前服务队列的用户带宽分配优先级高,若是,则将新用户的服务请求接入;否则,将延时并放在队列中等待下次处理。
上述实施例中网络调度中心(网络调度中心为服务器或者服务器集群)提供的在线媒体播放的带宽分配方法,充分考虑了那些带宽分配优先级高的用户的使用体验对各种服务的带宽分配需求,保证了这些对带宽分配优先级 高的用户的体验来说非常重要的运行质量,实现了智能分配带宽,保障了用户使用体验,避免了带宽分配不合理对用户体验的不良影响。
本发明提出一种在线媒体播放的带宽分配方法,网络调度中心通过设定用于判断带宽分配优先级的多个类别,并为每个类别赋予相应的计量区间;根据访问用户在各个类别下的计量区间中的计量表现值,确定访问用户的总体评分;将访问用户的总体评分与预定评分/带宽模型对比,确定访问用户的带宽分配量,从而为不同的访问用户预留不同的带宽资源,可以针对性地对不同的用户分配相对合理的带宽,从而实现对带宽资源的合理分配。
而且上述在线媒体服务的带宽分配方法是根据用户带宽需求量的不同来为用户分配相应的带宽,也就不会因为过度分配(服务带宽高,用户带宽低)而导致用户请求一直等待,造成网络拥塞,也不会因为分配太少(服务带宽低,用户带宽高)而造成用户带宽资源利用不充分,避免了带宽资源的浪费,为用户提供更好的服务和质量保障。
如图4所示,本发明还提供了一种在线媒体播放的带宽分配系统,包括:
分类模块,配置以:根据用户属性将用户分为多个类别,为每个类别分配相应的计量区间,并根据所述计量区间为各类别下的各个子类赋予相应的计量值;
用户评分模块,配置以:对照所述分类模块确定的多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分;
带宽分配模块,配置以:将用户评分模块确定的访问用户的总体评分与预定评分/带宽模型对比,确定访问用户的带宽分配量,并为用户进行带宽分配。
上述参数配置中的多个类别包括:地域类别、终端类别、网络类别、终端用户类别和第三方合作单位类别之中的至少一个。
上述用户评分模块,配置以:对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分包括:
对照所述多个类别下的多个子类,统计当前访问用户的计量值;
取所述计量值之和,确定访问用户的总体评分。
上述用户评分模块,配置以:对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分包括:
对照所述多个类别下的多个子类,统计当前访问用户的计量值;
针对不同的类别为所述计量值赋予不同的权重,
取加权后的所述计量值之和,确定访问用户的总体评分。
上述权重为能够个性化配置的变量。
本实施例中的在线媒体播放的带宽分配系统中的网络调度中心,该网络调度中心为一个服务器或者服务器集群,其中每个模块可以是单独的服务器或者服务器集群,此时,上述模块之间的交互表现为各模块所对应的服务器或者服务器集群之间的交互,所述多个服务器或服务器集群共同构成本发明的在线媒体播放的带宽分配系统。
具体地,所述多个服务器或服务器集群共同构成本发明的在线媒体播放的带宽分配系统包括:
分类服务器或服务器集群,配置以:根据用户属性将用户分为多个类别,为每个类别分配相应的计量区间,并根据所述计量区间为各类别下的各个子类赋予相应的计量值;
用户评分服务器或服务器集群,配置以:对照所述分类服务器或服务器集群确定的多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分;
带宽分配服务器或服务器集群,配置以:将用户评分服务器或服务器集群确定的访问用户的总体评分与预定评分/带宽模型对比,确定访问用户的带宽分配量,并为用户进行带宽分配。
在一种替代实施例中,可以是上述多个模块中的几个模块共同组成一个服务器或者服务器集群。例如:分类模块和用户评分模块共同组成第一服务器或者第一服务器集群,带宽分配模块构成第二服务器或者第二服务器集群。
此时,上述模块之间的交互表现为第一服务器至第三服务器之间的交互 或者第一服务器集群与第二服务器集群之间的交互,所述第一服务器至第三服务器或第一服务器集群与第二服务器集群共同构成本发明的在线媒体播放的带宽分配系统。
上述实施例中在线媒体播放的带宽分配系统,充分考虑了那些带宽分配优先级高的用户的使用体验对各种服务的带宽分配需求,保证了这些对带宽分配优先级高的用户的体验来说非常重要的运行质量,实现了智能分配带宽,保障了用户使用体验,避免了带宽分配不合理对用户体验的不良影响。
基于本发明中的在线媒体播放的带宽分配系统,通过分类模块、用户评分模块、带宽分配模块的分工合作,共同完成了为不同的访问用户预留不同的带宽资源,可以针对性地对不同的用户分配相对合理的带宽,从而实现对带宽资源的合理分配。
而且上述在线媒体服务的带宽分配方法及系统是根据用户带宽需求量的不同来为用户分配相应的带宽,也就不会因为过度分配(服务带宽高,用户带宽低)而导致用户请求一直等待,造成网络拥塞,也不会因为分配太少(服务带宽低,用户带宽高)而造成用户带宽资源利用不充分,避免了带宽资源的浪费,为用户提供更好的服务和质量保障。
如图5所示,为本实施本发明的在线媒体播放的带宽分配方法和系统的架构图,包括网络调度中心50、区域A1至区域An,其中网络调度中心50包括多个服务器D1~Di,区域A1至区域An中分别包括多个为用户提供流媒体服务的边缘CDN节点N;本架构图中网络调度中心的服务器接收用户通过客户端(客户端至少为智能终端)发送的访问请求后,执行本发明的如图1所示的在线媒体播放的带宽分配方法,为用户分配合适的带宽。
如图6所示,为本发明的网络调度服务器600的一实施例的结构示意图,本申请具体实施例并不对服务器600的具体实现做限定。如图6所示,该服务器600可以包括:
处理器(processor)610、通信接口(Communications Interface)620、存储器(memory)630、以及通信总线640。其中:
处理器610、通信接口620、以及存储器630通过通信总线640完成相互间的通信。
通信接口620,用于与比如客户端等的网元通信。
处理器610,用于执行程序632,具体可以执行上述方法实施例中的相关步骤。
具体地,程序632可以包括程序代码,所述程序代码包括计算机操作指令。
处理器610可能是一个中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。
上述实施中的服务器中:
存储器,用于存放计算机操作指令;
处理器,用于执行所述存储器存储的计算机操作指令,以执行:
根据用户属性将用户分为多个类别,为每个类别分配相应的计量区间,并根据所述计量区间为各类别下的各个子类赋予相应的计量值;
对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分;
将访问用户的总体评分与预定的评分/带宽模型对比,确定访问用户的带宽分配量,并为用户进行带宽分配。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬 件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (10)

  1. 一种在线媒体服务的带宽分配方法,其特征在于,包括:
    根据用户属性将用户分为多个类别,为每个类别分配相应的计量区间,并根据所述计量区间为各类别下的各个子类赋予相应的计量值;
    对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分;
    将访问用户的总体评分与预定的评分/带宽模型对比,确定访问用户的带宽分配量,并为用户进行带宽分配。
  2. 根据权利要求1所述的方法,其特征在于,所述对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分包括:
    对照所述多个类别下的多个子类,统计当前访问用户的计量值;
    取所述计量值之和,确定访问用户的总体评分。
  3. 根据权利要求1所述的方法,其特征在于,所述对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分包括:
    对照所述多个类别下的多个子类,统计当前访问用户的计量值;
    针对不同的类别为所述计量值赋予不同的权重;
    取加权后的所述计量值之和,确定访问用户的总体评分。
  4. 根据权利要求3所述的方法,其特征在于,所述权重为能够个性化配置的变量。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述多个类别包括:地域类别、终端类别、网络类别、终端用户类别和第三方合作单位类别之中的至少一个。
  6. 一种在线媒体服务的带宽分配系统包括:
    分类模块,配置以:根据用户属性将用户分为多个类别,为每个类别分 配相应的计量区间,并根据所述计量区间为各类别下的各个子类赋予相应的计量值;
    用户评分模块,配置以:对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分;
    带宽分配模块,配置以:将访问用户的总体评分与预定评分/带宽模型对比,确定访问用户的带宽分配量,并为用户进行带宽分配。
  7. 根据权利要求6所述的系统,其特征在于,所述分类模块配置以:
    对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分包括:
    对照所述多个类别下的多个子类,统计当前访问用户的计量值;
    取所述计量值之和,确定访问用户的总体评分。
  8. 根据权利要求6所述的系统,其特征在于,所述分类模块配置以:
    对照所述多个类别下的多个子类,统计当前访问用户的计量值,确定访问用户的总体评分包括:
    对照所述多个类别下的多个子类,统计当前访问用户的计量值;
    针对不同的类别为所述计量值赋予不同的权重;
    取加权后的所述计量值之和,确定访问用户的总体评分。
  9. 根据权利要求8所述的系统,其特征在于,所述权重为能够个性化配置的变量。
  10. 根据权利要求6-9中任一项所述的系统,其特征在于,所述多个类别包括:地域类别、终端类别、网络类别、终端用户类别和第三方合作单位类别之中的至少一个。
PCT/CN2016/082831 2015-11-03 2016-05-20 在线媒体服务的带宽分配方法及系统 WO2017075967A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/248,842 US20170126583A1 (en) 2015-11-03 2016-08-26 Method and electronic device for bandwidth allocation based on online media services

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510736396.0 2015-11-03
CN201510736396.0A CN105898391A (zh) 2015-11-03 2015-11-03 在线媒体服务的带宽分配方法及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/248,842 Continuation US20170126583A1 (en) 2015-11-03 2016-08-26 Method and electronic device for bandwidth allocation based on online media services

Publications (1)

Publication Number Publication Date
WO2017075967A1 true WO2017075967A1 (zh) 2017-05-11

Family

ID=57002217

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082831 WO2017075967A1 (zh) 2015-11-03 2016-05-20 在线媒体服务的带宽分配方法及系统

Country Status (2)

Country Link
CN (1) CN105898391A (zh)
WO (1) WO2017075967A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860425A (zh) * 2019-11-28 2021-05-28 阿里巴巴集团控股有限公司 负载调度方法、装置、电子设备及计算机可读存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592304B (zh) * 2017-08-29 2019-12-10 武汉斗鱼网络科技有限公司 直播资源计算分配方法、存储介质、电子设备及系统
CN107566910B (zh) * 2017-08-29 2019-11-15 武汉斗鱼网络科技有限公司 直播资源自定义分配监测方法、存储介质、电子设备及系统
CN107483981B (zh) * 2017-08-29 2019-11-05 武汉斗鱼网络科技有限公司 直播资源计算监测分配方法、存储介质、电子设备及系统
CN113079045B (zh) * 2021-03-26 2022-03-25 北京达佳互联信息技术有限公司 带宽分配方法、装置、服务器及存储介质
CN116094969B (zh) * 2022-12-23 2024-03-29 中国联合网络通信集团有限公司 带宽调整方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080081633A1 (en) * 2006-10-02 2008-04-03 Oteri Oghenekome F User equipment frequency allocation methods and apparatus
CN101594270A (zh) * 2008-05-29 2009-12-02 英华达(上海)电子有限公司 一种无线接入点及其带宽分配方法
CN101640638A (zh) * 2009-08-24 2010-02-03 中兴通讯股份有限公司 用户在线调整带宽的方法及远程认证拨号用户服务器
WO2012106315A2 (en) * 2011-02-01 2012-08-09 Google Inc. System to share network bandwidth among competing applications
CN103619068A (zh) * 2013-12-09 2014-03-05 中国联合网络通信集团有限公司 一种分配接入带宽的方法及网络设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080081633A1 (en) * 2006-10-02 2008-04-03 Oteri Oghenekome F User equipment frequency allocation methods and apparatus
CN101594270A (zh) * 2008-05-29 2009-12-02 英华达(上海)电子有限公司 一种无线接入点及其带宽分配方法
CN101640638A (zh) * 2009-08-24 2010-02-03 中兴通讯股份有限公司 用户在线调整带宽的方法及远程认证拨号用户服务器
WO2012106315A2 (en) * 2011-02-01 2012-08-09 Google Inc. System to share network bandwidth among competing applications
CN103619068A (zh) * 2013-12-09 2014-03-05 中国联合网络通信集团有限公司 一种分配接入带宽的方法及网络设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860425A (zh) * 2019-11-28 2021-05-28 阿里巴巴集团控股有限公司 负载调度方法、装置、电子设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN105898391A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
US20170126583A1 (en) Method and electronic device for bandwidth allocation based on online media services
WO2017075967A1 (zh) 在线媒体服务的带宽分配方法及系统
CN108776934B (zh) 分布式数据计算方法、装置、计算机设备及可读存储介质
EP2822236B1 (en) Network bandwidth distribution method and terminal
WO2020143164A1 (zh) 一种网络资源的分配方法及设备
CN1610347B (zh) 在基于群集的系统内管理性能及资源利用率的方法和设备
US20140143300A1 (en) Method and Apparatus for Controlling Utilization in a Horizontally Scaled Software Application
Liu et al. An economical and SLO-guaranteed cloud storage service across multiple cloud service providers
WO2017166643A1 (zh) 一种任务资源的量化方法和装置
CN105718397A (zh) 基于总线装置健康信息和相关功率管理而仲裁通信总线上的总线事务
WO2017016113A1 (zh) 用于监控网络业务量的方法和装置
EP2838243A1 (en) Capability aggregation and exposure method and system
WO2017096842A1 (zh) 内容分发任务的提交方法及系统
TWI795565B (zh) 資源分享方法、裝置、電腦裝置及存儲介質
CN112445857A (zh) 一种基于数据库的资源配额管理方法和装置
US9817698B2 (en) Scheduling execution requests to allow partial results
WO2023151268A1 (zh) 一种业务分流方法、装置及系统
JP2005031987A (ja) コンテンツ配信システムにおけるコンテンツ配置管理システム及びコンテンツ配置管理プログラム
WO2018028344A1 (zh) 负载处理方法和装置
CN110599148A (zh) 集群数据处理方法、装置、计算机集群及可读存储介质
WO2021032100A1 (zh) 网元分配方法及装置
WO2023284722A1 (zh) 一种租户的资源管理方法及租户管理系统
US11947534B2 (en) Connection pools for parallel processing applications accessing distributed databases
WO2022062981A1 (zh) 资源调度方法和系统、电子设备及计算机可读存储介质
CN101867580B (zh) 一种分配网络流量的方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16861240

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16861240

Country of ref document: EP

Kind code of ref document: A1