CN107592304A - Live Resource Calculation distribution method, storage medium, electronic equipment and system - Google Patents
Live Resource Calculation distribution method, storage medium, electronic equipment and system Download PDFInfo
- Publication number
- CN107592304A CN107592304A CN201710757246.7A CN201710757246A CN107592304A CN 107592304 A CN107592304 A CN 107592304A CN 201710757246 A CN201710757246 A CN 201710757246A CN 107592304 A CN107592304 A CN 107592304A
- Authority
- CN
- China
- Prior art keywords
- user
- live broadcast
- live
- room
- broadcast room
- 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
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000004364 calculation method Methods 0.000 title claims description 27
- 230000006399 behavior Effects 0.000 claims description 89
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 3
- 238000013468 resource allocation Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing 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/2385—Channel allocation; Bandwidth allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Databases & Information Systems (AREA)
- Computer Graphics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种直播资源计算分配方法、存储介质、电子设备及系统,涉及网络资源分配领域。该方法的步骤为:服务端根据所有用户的用户行为信息,将所有用户分为若干组用户组;根据所有直播间的直播间行为信息,将所有直播间分为至少3类直播间类;服务端计算得到每组用户组相对于不同类别直播间的直播资源;服务端监测到用户观看直播间时,根据当前用户所属的用户组、以及当前观看的直播间所属的直播间类,下发对应的直播资源至用户所属的客户端;客户端根据收到的直播资源加载直播间界面。本发明能够根据不同质量的用户和直播间,分配不同的直播资源;不仅使得直播资源的分配合理化,而且能够保证高品质用户的服务质量,非常适于推广。
The invention discloses a method for computing and allocating live broadcast resources, a storage medium, electronic equipment and a system, and relates to the field of network resource allocating. The steps of the method are as follows: the server divides all users into several user groups according to the user behavior information of all users; divides all the live rooms into at least three live room categories according to the live room behavior information of all the live rooms; The terminal calculates the live broadcast resources of each user group relative to different types of live broadcast rooms; when the server detects that a user is watching a live broadcast room, it sends a corresponding The live broadcast resources are sent to the client to which the user belongs; the client loads the live room interface according to the received live broadcast resources. The present invention can allocate different live broadcast resources according to different quality users and live broadcast rooms; it not only rationalizes the distribution of live broadcast resources, but also ensures the service quality of high-quality users, which is very suitable for promotion.
Description
技术领域technical field
本发明涉及网络资源分配领域,具体涉及一种直播资源计算分配方法、存储介质、电子设备及系统。The present invention relates to the field of network resource allocation, in particular to a live resource calculation and allocation method, a storage medium, electronic equipment and a system.
背景技术Background technique
随着直播行业的快速发展,越来越多的用户喜爱观看直播;用户观看直播时,通常会存在大量的实时交互行为(例如发送弹幕、赠送礼物等)。用户的交互行为通常由服务端承载(即会占用服务端的内存),在直播领域中,服务端会为每位用户的客户端分配相同的直播资源(例如直播视频清晰度、带宽和延迟),以保证每位用户的服务质量。With the rapid development of the live broadcast industry, more and more users like to watch live broadcasts; when users watch live broadcasts, there are usually a large number of real-time interactive behaviors (such as sending barrage, giving gifts, etc.). The user's interactive behavior is usually carried by the server (that is, it will occupy the memory of the server). In the live broadcast field, the server will allocate the same live broadcast resources (such as live video resolution, bandwidth and delay) to each user's client. To ensure the quality of service for each user.
但是,在直播领域,会存在高品质用户和一般用户,高品质用户例如充值用户、活跃度较高(在线时间较长)的用户等。直播平台需要在控制运营成本的同时、保证高品质用户的服务质量,当用户数量较多时,若按照上述方法为每位用户的客户端分配相同的直播资源,则会使得每位用户所获得的直播资源均较差(因为服务端的载荷有限),进而不仅浪费了直播资源,而且不能保证高品质用户的服务质量。However, in the field of live broadcasting, there will be high-quality users and general users, high-quality users such as recharge users, users with high activity (longer online time), etc. The live broadcast platform needs to ensure the service quality of high-quality users while controlling operating costs. When the number of users is large, if the same live broadcast resources are allocated to each user's client according to the above method, the The live broadcast resources are poor (because the load of the server is limited), which not only wastes the live broadcast resources, but also cannot guarantee the quality of service for high-quality users.
发明内容Contents of the invention
针对现有技术中存在的缺陷,本发明解决的技术问题为:如何根据不同质量的用户和直播间,分配不同的直播资源。本发明不仅使得直播资源的分配合理化,而且能够保证高品质用户的服务质量,非常适于推广。Aiming at the defects existing in the prior art, the technical problem solved by the present invention is: how to allocate different live broadcast resources according to different quality users and live broadcast rooms. The invention not only rationalizes the distribution of live broadcast resources, but also can guarantee the service quality of high-quality users, and is very suitable for popularization.
为达到以上目的,本发明提供的直播资源计算分配方法,包括以下步骤:In order to achieve the above purpose, the method for calculating and allocating live broadcast resources provided by the present invention includes the following steps:
S1:服务端根据所有用户的用户行为信息,将所有用户分为若干组用户组;服务端根据所有直播间的直播间行为信息,将所有直播间分为至少3类直播间类,转到S2;S1: The server divides all users into several user groups according to the user behavior information of all users; the server divides all live broadcast rooms into at least 3 types of live broadcast room according to the behavior information of all live broadcast rooms, and transfers to S2 ;
S2:服务端根据用户组A内的用户观看直播间类B所用的直播资源,计算直播资源使用率S,S=N/T,N代表用户组A中使用相同直播资源的用户数量,T代表用户组A中观看直播间类B的所有用户数量;将直播资源使用率S在预先设置的阈值以上的直播资源,作为用户组A相对于直播间类B的直播资源,转到S3;S2: The server calculates the live resource utilization rate S according to the live resources used by the users in user group A to watch the live room class B, S=N/T, N represents the number of users in user group A who use the same live resource, and T represents The number of all users in user group A who watch live broadcast room type B; the live broadcast resources whose utilization rate S of live broadcast resources is above the preset threshold are transferred to S3 as the live broadcast resources of user group A relative to live room class B;
S3:服务端监测到用户观看直播间时,根据当前用户所属的用户组、以及当前观看的直播间所属的直播间类,下发对应的直播资源至用户所属的客户端,转到S4;S3: When the server detects that the user is watching the live broadcast room, according to the user group to which the current user belongs and the class of the live room to which the currently watched live room belongs, the corresponding live broadcast resources are sent to the client to which the user belongs, and then go to S4;
S4:用户所述的客户端根据收到的直播资源加载直播间界面。S4: The client terminal described by the user loads the interface of the live broadcast room according to the received live broadcast resources.
在上述技术方案的基础上,S2之后还包括以下流程:服务端定期更新每组用户组和每类直播间类。On the basis of the above technical solution, after S2, the following process is also included: the server regularly updates each user group and each type of live room class.
本发明提供的存储介质,该存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述直播资源计算分配方法。In the storage medium provided by the present invention, a computer program is stored on the storage medium, and when the computer program is executed by a processor, the above method for calculating and allocating live resources is realized.
本发明提供的电子设备,包括存储器和处理器,存储器上储存有在处理器上运行的计算机程序,处理器执行计算机程序时实现上述直播资源计算分配方法。The electronic device provided by the present invention includes a memory and a processor. The memory stores a computer program running on the processor. When the processor executes the computer program, the above method for calculating and allocating live resources is realized.
本发明提供的直播资源计算分配系统,包括设置于服务端上的直播信息分组模块、直播资源计算分配模块和直播资源下发模块,还包括设置于客户端上的直播资源更新模块;The live resource calculation and allocation system provided by the present invention includes a live information grouping module, a live resource calculation and allocation module, and a live resource distribution module set on the server, and also includes a live resource update module set on the client;
直播信息分组模块用于:根据所有用户的用户行为信息,将所有用户分为若干组用户组;根据所有直播间的直播间行为信息,将所有直播间分为至少3类直播间类,向直播资源计算分配模块发送直播资源计算分配信号;The live broadcast information grouping module is used to: divide all users into several user groups according to the user behavior information of all users; divide all live broadcast rooms into at least 3 types of live broadcast room according to the live broadcast room behavior information of all live The resource calculation and allocation module sends a live resource calculation and allocation signal;
直播资源计算分配模块用于:收到直播资源计算分配信号后,根据用户组A内的用户观看直播间类B所用的直播资源,计算直播资源使用率S,S=N/T,N代表用户组A中使用相同直播资源的用户数量,T代表用户组A中观看直播间类B的所有用户数量;将直播资源使用率S在预先设置的阈值以上的直播资源,作为用户组A相对于直播间类B的直播资源;The live resource calculation and allocation module is used for: after receiving the live resource calculation and allocation signal, according to the live resource used by the users in the user group A to watch the live room class B, calculate the live resource utilization rate S, S=N/T, N represents the user The number of users in group A who use the same live broadcast resource, T represents the number of all users in user group A who watch class B in the live broadcast room; the live broadcast resource whose usage rate S of live broadcast resources is above the preset threshold is regarded as the live broadcast resource of user group A relative to the live broadcast Class B live broadcast resources;
直播资源下发模块用于:监测到用户观看直播间时,根据当前用户所属的用户组、以及当前观看的直播间所属的直播间类,下发对应的直播资源至用户所属客户端的直播资源更新模块;The live broadcast resource distribution module is used to: when it is detected that a user is watching a live broadcast room, according to the user group to which the current user belongs and the live room class to which the currently watched live broadcast room belongs, the corresponding live broadcast resources are sent to the live resource update of the client to which the user belongs module;
直播资源更新模块用于:根据收到的直播资源加载直播间界面。The live broadcast resource update module is used to: load the live broadcast room interface according to the received live broadcast resources.
在上述技术方案的基础上,所述直播信息分组模块在直播资源计算分配模块工作完成后,还用于:定期更新每组用户组和每类直播间类。On the basis of the above technical solution, the live broadcast information grouping module is further used to: regularly update each user group and each live broadcast room class after the work of the live broadcast resource calculation and allocation module is completed.
与现有技术相比,本发明的优点在于:Compared with the prior art, the present invention has the advantages of:
(1)参见本发明S1至S4可知,本发明针对不同的用户行为信息,将所有用户分为若干不同的用户组;针对不同的直播间行为信息,将所有直播间分为若干不同的直播间类。在此基础上,本发明能够根据用户组下的用户观看的直播间类别,为用户分配相应的直播资源;以此实现了为不同质量的用户分配不同的直播资源,不仅使得直播资源的分配合理化,而且能够保证高品质用户的服务质量。(1) Referring to S1 to S4 of the present invention, it can be seen that the present invention divides all users into several different user groups for different user behavior information; divides all live broadcast rooms into several different live broadcast rooms for different live broadcast room behavior information kind. On this basis, the present invention can allocate corresponding live broadcast resources to users according to the categories of live broadcast rooms watched by users under the user group; thereby realizing the allocation of different live broadcast resources for users of different qualities, not only rationalizing the allocation of live broadcast resources , and can guarantee the service quality of high-quality users.
进一步,本发明通过自主研发的算法,将用户组中的用户观看某类直播间之前使用过最多的直播资源,作为该用户组相对于该直播间类的直播资源,直播资源的分配更为精准,也更符合用户期望。Further, the present invention uses the self-developed algorithm to use the live broadcast resources that users in the user group have used the most before watching a certain type of live broadcast room as the live broadcast resources of the user group relative to the live broadcast room, and the allocation of live broadcast resources is more accurate. , and more in line with user expectations.
(2)本发明划分用户和直播间后,还会定期更新每组用户组和每类直播间类,以保证用户组下的用户、以及直播间类下的直播间均符合预期,进而提高直播资源分配的精确度。(2) After the present invention divides users and live broadcast rooms, it will also regularly update each group of user groups and each type of live broadcast room class to ensure that the users under the user group and the live broadcast rooms under the live broadcast room class all meet expectations, and then improve the live broadcast. The precision of resource allocation.
附图说明Description of drawings
图1为本发明实施例中直播资源计算分配方法的流程图;FIG. 1 is a flowchart of a method for calculating and allocating live broadcast resources in an embodiment of the present invention;
图2为本发明实施例中电子设备的连接框图。Fig. 2 is a connection block diagram of electronic equipment in an embodiment of the present invention.
具体实施方式detailed description
以下结合附图及实施例对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.
参见图1所示,本发明实施例中的直播资源计算分配方法,包括以下步骤:Referring to Fig. 1, the method for calculating and allocating live resources in the embodiment of the present invention includes the following steps:
S1:服务端根据所有用户的用户行为信息,将所有用户分为若干组用户组;服务端根据所有直播间的直播间行为信息,将所有直播间分为至少3类直播间类,转到S2。S1: The server divides all users into several user groups according to the user behavior information of all users; the server divides all live broadcast rooms into at least 3 types of live broadcast room according to the behavior information of all live broadcast rooms, and transfers to S2 .
S1中的用户行为信息包括:用户ID、用户发送弹幕数量、用户赠送礼物数量和用户充值额度;S1中的若干组用户组包括:1组未注册用户组、以及至少3组活跃行为等级用户组。未注册用户组对应的用户行为信息包括用户ID为空;活跃行为等级用户组对应的用户行为信息包括用户ID不为空,用户发送弹幕数量在a(例如3~10条弹幕)以上,用户赠送礼物数量在b(例如0~3件)以上,用户充值额度在c(例如0~10元)以上。The user behavior information in S1 includes: user ID, the number of barrage sent by the user, the number of gifts given by the user, and the recharge amount of the user; several user groups in S1 include: 1 group of unregistered users, and at least 3 groups of users with active behavior levels Group. The user behavior information corresponding to the unregistered user group includes the user ID is empty; the user behavior information corresponding to the active behavior level user group includes the user ID is not empty, and the number of barrage sent by the user is above a (for example, 3 to 10 barrage), The number of gifts given by the user is above b (for example, 0 to 3 pieces), and the user's recharge amount is above c (for example, 0 to 10 yuan).
至少3组活跃行为等级用户组包括:初级活跃行为用户组、中级活跃行为用户组和高级活跃行为用户组。初级活跃行为用户组对应的用户信息为:用户ID不为空,用户发送弹幕数量在a以上、且小于a1,用户赠送礼物数量在b以上、且小于b1,用户充值额度在c以上、且小于c1;中级活跃行为用户组对应的用户信息为:用户ID不为空,用户发送弹幕数量在a1以上、且小于a2,用户赠送礼物数量在b1以上、且小于b2,用户充值额度在c1以上、且小于c2;高级活跃行为用户组对应的用户信息为:用户ID不为空,用户发送弹幕数量在a2以上,用户赠送礼物数量在b2以上,用户充值额度在c2以上;a<a1<a2,b<b1<b2,c<c1<c2。At least 3 active behavior level user groups include: primary active behavior user group, intermediate active behavior user group and advanced active behavior user group. The user information corresponding to the primary active behavior user group is: the user ID is not empty, the number of barrage sent by the user is more than a and less than a1, the number of gifts given by the user is more than b and less than b1, the user's recharge amount is more than c, and Less than c1; the user information corresponding to the intermediate active behavior user group is: the user ID is not empty, the number of barrage sent by the user is more than a1 and less than a2, the number of gifts given by the user is more than b1 and less than b2, and the user's recharge amount is c1 More than, and less than c2; the user information corresponding to the advanced active behavior user group is: the user ID is not empty, the number of barrage sent by the user is more than a2, the number of gifts given by the user is more than b2, and the recharge amount of the user is more than c2; a<a1 <a2, b<b1<b2, c<c1<c2.
将用户分组的目的为:将所有用户按照不同的用户行为信息分类,进而使得不同的用户组对应着不同质量的用户,后续能够直接根据分组为不同质量的用户分配不同的直播资源。The purpose of grouping users is to classify all users according to different user behavior information, so that different user groups correspond to users of different quality, and then directly allocate different live broadcast resources to users of different quality according to the grouping.
S1中的直播间行为信息包括:直播间历史观看人数、直播间历史收到弹幕数量、以及直播间历史收到礼物数量,S1中的直播间类对应的直播间行为信息为:直播间历史观看人数在d(例如1000~3000人)以上、直播间历史收到弹幕数量在e以上(例如2000~5000条)、直播间历史收到礼物数量在f以上(例如200~1000件)。The live room behavior information in S1 includes: the number of historical viewers in the live room, the number of bullet screens received in the live room history, and the number of gifts received in the live room history. The live room behavior information corresponding to the live room category in S1 is: live room history The number of viewers is above d (for example, 1,000 to 3,000), the number of barrage received in the live broadcast room is above e (for example, 2,000 to 5,000), and the number of gifts received in the live broadcast room is above f (for example, 200 to 1,000).
至少3类直播间类包括:初级直播间类、中级直播间类和高级直播间类,初级直播间类对应的直播间行为信息为:直播间历史观看人数在d以上、且小于d1,直播间历史收到弹幕数量在e以上、且小于e1,直播间历史收到礼物数量在f以上、且小于f1;中级直播间类对应的直播间行为信息为:直播间历史观看人数在d1以上、且小于d2,直播间历史收到弹幕数量在e1以上、且小于e2,直播间历史收到礼物数量在f1以上、且小于f2;高级直播间类对应的直播间行为信息为:直播间历史观看人数在d2以上、直播间历史收到弹幕数量在e2以上、直播间历史收到礼物数量在f2以上,d<d1<d2,e<e1<e2,f<f1<f2。At least 3 types of live broadcast rooms include: primary live broadcast room, intermediate live broadcast room and advanced live broadcast room. The number of bullet screens received in the history is more than e and less than e1, and the number of gifts received in the live room is more than f and less than f1; the behavior information of the live room corresponding to the intermediate live room class is: the number of historical viewers in the live room is more than d1, and less than d2, the number of bullet screens received in the history of the live room is more than e1 and less than e2, and the number of gifts received in the history of the live room is more than f1 and less than f2; the behavior information of the live room corresponding to the advanced live room class is: live room history The number of viewers is above d2, the number of barrage received in the live broadcast room is above e2, and the number of gifts received in the live broadcast room is above f2, d<d1<d2, e<e1<e2, f<f1<f2.
将直播间分类的目的为:将所有直播间按照不同的直播间行为信息分类,进而划分出直播间的质量(即火爆程度),后续能够结合不同用户组进一步精细化分配直播资源。The purpose of classifying live broadcast rooms is to classify all live broadcast rooms according to different live broadcast room behavior information, and then divide the quality of the live broadcast room (that is, the degree of popularity), and then further refine the allocation of live broadcast resources in combination with different user groups.
S2:服务端根据用户组A内的用户观看直播间类B所用的直播资源,计算直播资源使用率S,S=N/T,N代表用户组A中使用相同直播资源的用户数量,T代表用户组A中观看直播间类B的所有用户数量;将直播资源使用率S在预先设置的阈值以上(本实施例中为80%)的直播资源,作为用户组A相对于直播间类B的直播资源;转到S3。S2: The server calculates the live resource utilization rate S according to the live resources used by the users in user group A to watch the live room class B, S=N/T, N represents the number of users in user group A who use the same live resource, and T represents In the user group A, watch the number of all users of the class B in the live room; the live resource with the live resource usage rate S above the preset threshold value (80% in this embodiment) is used as the user group A relative to the class B in the live room Live resource; go to S3.
S2中的用户组A为遍历所有用户组中的1组用户组,直播间类B为遍历所有直播间类中的1类直播间类,即所用用户组相对于每类直播间类的直播资源均经过计算得到。User group A in S2 is a user group that traverses all user groups, and live broadcast room class B is a live broadcast room class that traverses all live broadcast room classes, that is, the live broadcast resources of each type of live room class relative to the user group used have been calculated.
S2之后还包括以下流程:服务端定期更新每组用户组和每类直播间类,更新方式可以为主动更新或者周期性自动更新(例如在用户组名和直播间类标识上增加时间戳,在设置的有效期限到来后自动降级到下一级组名,用户产生新的行为后,该标记会在新的统计周期时刷新),以保证用户组下的用户、以及直播间类下的直播间均符合预期,提高直播资源分配的精确度。After S2, it also includes the following process: the server regularly updates each user group and each type of live room class, and the update method can be active update or periodic automatic update (for example, adding a timestamp to the user group name and live room class identifier, in the settings After the expiry date of the group is automatically downgraded to the next-level group name, after the user has a new behavior, the mark will be refreshed in the new statistical cycle), so as to ensure that the users under the user group and the live room under the live room category are all As expected, improve the accuracy of live broadcast resource allocation.
S3:服务端监测到用户观看直播间时,根据当前用户所属的用户组、以及当前观看的直播间所属的直播间类,下发对应的直播资源至用户所属的客户端,转到S4。S3: When the server detects that the user is watching the live broadcast room, according to the user group to which the current user belongs and the live room class to which the currently watched live broadcast room belongs, the corresponding live broadcast resource is sent to the client to which the user belongs, and then transfers to S4.
S4:用户所述的客户端根据收到的直播资源加载直播间界面。S4: The client terminal described by the user loads the interface of the live broadcast room according to the received live broadcast resource.
参见S1至S4可知,本发明实施例针对不同的用户行为信息,将所有用户分为若干不同的用户组;针对不同的直播间行为信息,将所有直播间分为若干不同的直播间类。在此基础上,本发明实施例能够根据用户组下的用户观看的直播间类别,为用户分配相应的直播资源;以此实现了为不同质量的用户分配不同的直播资源,不仅使得直播资源的分配合理化,而且能够保证高品质用户的服务质量。Referring to S1 to S4, it can be seen that in the embodiment of the present invention, all users are divided into several different user groups for different user behavior information; for different live room behavior information, all live rooms are divided into several different live room categories. On this basis, the embodiment of the present invention can allocate corresponding live broadcast resources to users according to the categories of live broadcast rooms watched by users under the user group; thus, different live broadcast resources can be allocated to users of different qualities, not only making the live broadcast resource The allocation is rationalized, and the service quality of high-quality users can be guaranteed.
本发明实施例还提供一种存储介质,存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述直播资源计算分配方法。需要说明的是,所述存储介质包括U盘、移动硬盘、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、磁碟或者光盘等各种可以存储程序代码的介质。An embodiment of the present invention also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above method for calculating and allocating live resources is implemented. It should be noted that the storage medium includes U disk, mobile hard disk, ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random access memory), magnetic disk or optical disk, etc., which can store programs. The medium of the code.
参见图2所示,本发明实施例还提供一种电子设备,包括存储器和处理器,存储器上储存有在处理器上运行的计算机程序,处理器执行计算机程序时实现上述直播资源计算分配方法。As shown in FIG. 2 , an embodiment of the present invention also provides an electronic device, including a memory and a processor. The memory stores a computer program running on the processor. When the processor executes the computer program, the above method for computing and allocating live resources is implemented.
本发明实施例中的直播资源计算分配系统,包括设置于服务端上的直播信息分组模块、直播资源计算分配模块和直播资源下发模块,还包括设置于客户端上的直播资源更新模块。The live resource calculation and allocation system in the embodiment of the present invention includes a live information grouping module, a live resource calculation and allocation module, and a live resource delivery module set on the server, and also includes a live resource update module set on the client.
直播信息分组模块用于:根据所有用户的用户行为信息,将所有用户分为若干组用户组;根据所有直播间的直播间行为信息,将所有直播间分为至少3类直播间类,向直播资源计算分配模块发送直播资源计算分配信号;在直播资源计算分配模块工作完成后,还用于:定期更新每组用户组和每类直播间类。The live broadcast information grouping module is used to: divide all users into several user groups according to the user behavior information of all users; divide all live broadcast rooms into at least 3 types of live broadcast room according to the live broadcast room behavior information of all live The resource calculation and allocation module sends the live resource calculation and allocation signal; after the live resource calculation and allocation module is completed, it is also used to: regularly update each user group and each type of live room category.
直播信息分组模块中的用户行为信息包括:用户ID、用户发送弹幕数量、用户赠送礼物数量和用户充值额度;所述若干组用户组包括:1组未注册用户组、以及至少3组活跃行为等级用户组;未注册用户组对应的用户行为信息包括用户ID为空;活跃行为等级用户组对应的用户行为信息包括用户ID不为空,用户发送弹幕数量在a以上,用户赠送礼物数量在b以上,用户充值额度在c以上。The user behavior information in the live broadcast information grouping module includes: user ID, the number of barrage sent by the user, the number of gifts given by the user, and the recharge amount of the user; the several groups of user groups include: 1 group of unregistered user groups, and at least 3 groups of active behaviors Level user group; the user behavior information corresponding to the unregistered user group includes the user ID is empty; the user behavior information corresponding to the active behavior level user group includes the user ID is not empty, the number of barrage sent by the user is more than a, and the number of gifts given by the user is b or above, the user's recharge amount is above c.
至少3组活跃行为等级用户组包括:初级活跃行为用户组、中级活跃行为用户组和高级活跃行为用户组;初级活跃行为用户组对应的用户信息为:用户ID不为空,用户发送弹幕数量在a以上、且小于a1,用户赠送礼物数量在b以上、且小于b1,用户充值额度在c以上、且小于c1;中级活跃行为用户组对应的用户信息为:用户ID不为空,用户发送弹幕数量在a1以上、且小于a2,用户赠送礼物数量在b1以上、且小于b2,用户充值额度在c1以上、且小于c2;高级活跃行为用户组对应的用户信息为:用户ID不为空,用户发送弹幕数量在a2以上,用户赠送礼物数量在b2以上,用户充值额度在c2以上;a<a1<a2,b<b1<b2,c<c1<c2。At least 3 groups of active behavior level user groups include: primary active behavior user group, intermediate active behavior user group and advanced active behavior user group; the user information corresponding to the primary active behavior user group is: user ID is not empty, the number of barrage sent by the user More than a and less than a1, the number of gifts given by the user is more than b and less than b1, and the user's recharge amount is more than c and less than c1; the user information corresponding to the intermediate active behavior user group is: the user ID is not empty, the user sends The number of bullet screens is more than a1 and less than a2, the number of gifts given by the user is more than b1 and less than b2, and the user's recharge amount is more than c1 and less than c2; the user information corresponding to the advanced active behavior user group is: user ID is not empty , the number of barrage sent by the user is above a2, the number of gifts given by the user is above b2, and the recharge amount of the user is above c2; a<a1<a2, b<b1<b2, c<c1<c2.
直播信息分组模块中的直播间行为信息包括:直播间历史观看人数、直播间历史收到弹幕数量、以及直播间历史收到礼物数量,每类所述直播间类对应的直播间行为信息均为:直播间历史观看人数在d以上、直播间历史收到弹幕数量在e以上、直播间历史收到礼物数量在f以上。The live room behavior information in the live information grouping module includes: the number of viewers in the live room history, the number of barrage received in the live room history, and the number of gifts received in the live room history. The live room behavior information corresponding to each type of live room category is It is: the number of viewers in the live broadcast room is above d, the number of barrage received in the live broadcast room is above e, and the number of gifts received in the live broadcast room is above f.
至少3类直播间类包括:初级直播间类、中级直播间类和高级直播间类,初级直播间类对应的直播间行为信息为:直播间历史观看人数在d以上、且小于d1,直播间历史收到弹幕数量在e以上、且小于e1,直播间历史收到礼物数量在f以上、且小于f1;中级直播间类对应的直播间行为信息为:直播间历史观看人数在d1以上、且小于d2,直播间历史收到弹幕数量在e1以上、且小于e2,直播间历史收到礼物数量在f1以上、且小于f2;高级直播间类对应的直播间行为信息为:直播间历史观看人数在d2以上、直播间历史收到弹幕数量在e2以上、直播间历史收到礼物数量在f2以上;d<d1<d2,e<e1<e2,f<f1<f2。At least 3 types of live broadcast rooms include: primary live broadcast room, intermediate live broadcast room and advanced live broadcast room. The number of bullet screens received in the history is more than e and less than e1, and the number of gifts received in the live room is more than f and less than f1; the behavior information of the live room corresponding to the intermediate live room class is: the number of historical viewers in the live room is more than d1, and less than d2, the number of bullet screens received in the history of the live room is more than e1 and less than e2, and the number of gifts received in the history of the live room is more than f1 and less than f2; the behavior information of the live room corresponding to the advanced live room class is: live room history The number of viewers is above d2, the number of bullet screens received in the live broadcast room is above e2, and the number of gifts received in the live broadcast room is above f2; d<d1<d2, e<e1<e2, f<f1<f2.
直播资源计算分配模块用于:收到直播资源计算分配信号后,根据用户组A内的用户观看直播间类B所用的直播资源,计算直播资源使用率S,S=N/T,N代表用户组A中使用相同直播资源的用户数量,T代表用户组A中观看直播间类B的所有用户数量;将直播资源使用率S在预先设置的阈值以上的直播资源,作为用户组A相对于直播间类B的直播资源。The live resource calculation and allocation module is used for: after receiving the live resource calculation and allocation signal, according to the live resource used by the users in the user group A to watch the live room class B, calculate the live resource utilization rate S, S=N/T, N represents the user The number of users in group A who use the same live broadcast resource, T represents the number of all users in user group A who watch class B in the live broadcast room; the live broadcast resource whose usage rate S of live broadcast resources is above the preset threshold is regarded as the live broadcast resource of user group A relative to the live broadcast Class B live broadcast resources.
直播资源下发模块用于:监测到用户观看直播间时,根据当前用户所属的用户组、以及当前观看的直播间所属的直播间类,下发对应的直播资源至用户所属客户端的直播资源更新模块。The live broadcast resource distribution module is used to: when it is detected that a user is watching a live broadcast room, according to the user group to which the current user belongs and the live room class to which the currently watched live broadcast room belongs, the corresponding live broadcast resources are sent to the live resource update of the client to which the user belongs module.
直播资源更新模块用于:根据收到的直播资源加载直播间界面。The live broadcast resource update module is used to: load the live broadcast room interface according to the received live broadcast resources.
需要说明的是:本发明实施例提供的系统在进行模块间通信时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将系统的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that when the system provided by the embodiment of the present invention performs inter-module communication, the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. That is, the internal structure of the system is divided into different functional modules to complete all or part of the functions described above.
进一步,本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。Further, the present invention is not limited to the above-mentioned embodiments. 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 are also regarded as the present invention. within the scope of protection. The content not described in detail in this specification belongs to the prior art known to those skilled in the art.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710757246.7A CN107592304B (en) | 2017-08-29 | 2017-08-29 | Live resource computing and allocation method, storage medium, electronic device and system |
PCT/CN2017/117974 WO2019041676A1 (en) | 2017-08-29 | 2017-12-22 | Live broadcasting resource calculating and allocating method, storage medium, electronic device, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710757246.7A CN107592304B (en) | 2017-08-29 | 2017-08-29 | Live resource computing and allocation method, storage medium, electronic device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107592304A true CN107592304A (en) | 2018-01-16 |
CN107592304B CN107592304B (en) | 2019-12-10 |
Family
ID=61051607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710757246.7A Active CN107592304B (en) | 2017-08-29 | 2017-08-29 | Live resource computing and allocation method, storage medium, electronic device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107592304B (en) |
WO (1) | WO2019041676A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019041805A1 (en) * | 2017-08-29 | 2019-03-07 | 武汉斗鱼网络科技有限公司 | Customized live broadcast resource allocation method, storage medium, electronic device, and system |
CN110213628A (en) * | 2018-05-14 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Direct broadcasting room distribution method and server |
CN110536159A (en) * | 2019-08-29 | 2019-12-03 | 广州虎牙科技有限公司 | User classification method, device, computer equipment and storage medium |
CN110996114A (en) * | 2019-12-13 | 2020-04-10 | 北京达佳互联信息技术有限公司 | Live broadcast scheduling method and device, electronic equipment and storage medium |
CN111131841A (en) * | 2020-02-24 | 2020-05-08 | 北京达佳互联信息技术有限公司 | Live indirect access method and device, electronic equipment and storage medium |
CN111163325A (en) * | 2019-12-18 | 2020-05-15 | 深圳市云歌人工智能技术有限公司 | Community live broadcast method and device and storage medium |
CN112925595A (en) * | 2021-01-25 | 2021-06-08 | 北京达佳互联信息技术有限公司 | Resource distribution method and device, electronic equipment and storage medium |
CN112969079A (en) * | 2021-03-24 | 2021-06-15 | 广州虎牙科技有限公司 | Anchor resource allocation method and device, computer equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137336A (en) * | 2011-03-23 | 2011-07-27 | 华为技术有限公司 | Method and device of service transmission |
CN104168303A (en) * | 2013-05-17 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Method and device for displaying network studio |
CN105554528A (en) * | 2015-12-16 | 2016-05-04 | 武汉斗鱼网络科技有限公司 | Method and apparatus for grouping bullet screen users in live broadcasting room |
CN105872058A (en) * | 2016-04-01 | 2016-08-17 | 太仓日森信息技术有限公司 | Mobile terminal live-broadcasting information pushing method and pushing device thereof |
CN105872604A (en) * | 2016-06-15 | 2016-08-17 | 武汉斗鱼网络科技有限公司 | Live broadcast video stream pushing method based on different user states and live broadcast video stream pushing system based on different user states |
CN105872620A (en) * | 2016-03-30 | 2016-08-17 | 宁波元鼎电子科技有限公司 | Authority and level distinguished display method and authority and level distinguished display system in network broadcasting process |
CN105898391A (en) * | 2015-11-03 | 2016-08-24 | 乐视云计算有限公司 | On-line media service bandwidth distribution method and system |
CN106162214A (en) * | 2016-09-05 | 2016-11-23 | 腾讯科技(深圳)有限公司 | Method for video coding and net cast client |
CN205754704U (en) * | 2016-04-27 | 2016-11-30 | 上海象融蓝海文化传媒有限公司 | A kind of Internet video Play System based on user gradation |
CN106408379A (en) * | 2016-09-07 | 2017-02-15 | 广州华多网络科技有限公司 | Virtual item configuration method, device and mobile terminal |
CN106487781A (en) * | 2016-09-13 | 2017-03-08 | 腾讯科技(深圳)有限公司 | Based on live resource data processing method, device and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10554707B2 (en) * | 2013-08-13 | 2020-02-04 | Imvision Software Technologies Ltd. | Method and system for self-detection and efficient transmission of real-time popular recorded over-the-top streams over communication networks |
CN105872612A (en) * | 2016-03-30 | 2016-08-17 | 宁波元鼎电子科技有限公司 | Anchor and audience interaction method and system in improved network live broadcasting process |
CN106331791A (en) * | 2016-09-20 | 2017-01-11 | 广州市千钧网络科技有限公司 | Data processing method and device |
-
2017
- 2017-08-29 CN CN201710757246.7A patent/CN107592304B/en active Active
- 2017-12-22 WO PCT/CN2017/117974 patent/WO2019041676A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137336A (en) * | 2011-03-23 | 2011-07-27 | 华为技术有限公司 | Method and device of service transmission |
CN104168303A (en) * | 2013-05-17 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Method and device for displaying network studio |
CN105898391A (en) * | 2015-11-03 | 2016-08-24 | 乐视云计算有限公司 | On-line media service bandwidth distribution method and system |
CN105554528A (en) * | 2015-12-16 | 2016-05-04 | 武汉斗鱼网络科技有限公司 | Method and apparatus for grouping bullet screen users in live broadcasting room |
CN105872620A (en) * | 2016-03-30 | 2016-08-17 | 宁波元鼎电子科技有限公司 | Authority and level distinguished display method and authority and level distinguished display system in network broadcasting process |
CN105872058A (en) * | 2016-04-01 | 2016-08-17 | 太仓日森信息技术有限公司 | Mobile terminal live-broadcasting information pushing method and pushing device thereof |
CN205754704U (en) * | 2016-04-27 | 2016-11-30 | 上海象融蓝海文化传媒有限公司 | A kind of Internet video Play System based on user gradation |
CN105872604A (en) * | 2016-06-15 | 2016-08-17 | 武汉斗鱼网络科技有限公司 | Live broadcast video stream pushing method based on different user states and live broadcast video stream pushing system based on different user states |
CN106162214A (en) * | 2016-09-05 | 2016-11-23 | 腾讯科技(深圳)有限公司 | Method for video coding and net cast client |
CN106408379A (en) * | 2016-09-07 | 2017-02-15 | 广州华多网络科技有限公司 | Virtual item configuration method, device and mobile terminal |
CN106487781A (en) * | 2016-09-13 | 2017-03-08 | 腾讯科技(深圳)有限公司 | Based on live resource data processing method, device and system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019041805A1 (en) * | 2017-08-29 | 2019-03-07 | 武汉斗鱼网络科技有限公司 | Customized live broadcast resource allocation method, storage medium, electronic device, and system |
CN110213628A (en) * | 2018-05-14 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Direct broadcasting room distribution method and server |
CN110213628B (en) * | 2018-05-14 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Live broadcast room distribution method and server |
CN110536159A (en) * | 2019-08-29 | 2019-12-03 | 广州虎牙科技有限公司 | User classification method, device, computer equipment and storage medium |
CN110996114A (en) * | 2019-12-13 | 2020-04-10 | 北京达佳互联信息技术有限公司 | Live broadcast scheduling method and device, electronic equipment and storage medium |
CN110996114B (en) * | 2019-12-13 | 2021-12-14 | 北京达佳互联信息技术有限公司 | Live broadcast scheduling method and device, electronic equipment and storage medium |
CN111163325A (en) * | 2019-12-18 | 2020-05-15 | 深圳市云歌人工智能技术有限公司 | Community live broadcast method and device and storage medium |
CN111131841A (en) * | 2020-02-24 | 2020-05-08 | 北京达佳互联信息技术有限公司 | Live indirect access method and device, electronic equipment and storage medium |
CN112925595A (en) * | 2021-01-25 | 2021-06-08 | 北京达佳互联信息技术有限公司 | Resource distribution method and device, electronic equipment and storage medium |
CN112969079A (en) * | 2021-03-24 | 2021-06-15 | 广州虎牙科技有限公司 | Anchor resource allocation method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019041676A1 (en) | 2019-03-07 |
CN107592304B (en) | 2019-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107592304B (en) | Live resource computing and allocation method, storage medium, electronic device and system | |
CN107613309B (en) | Live broadcast resource custom distribution method, storage medium, electronic device and system | |
WO2019041677A1 (en) | Live broadcasting resource calculating, monitoring, and allocating method, storage medium, electronic device, and system | |
US20090055835A1 (en) | System and Method for Managing License Capacity in a Telecommunication Network | |
WO2019041806A1 (en) | Customized live broadcast resource allocation monitoring method, storage medium, electronic device, and system | |
CN107679718B (en) | List allocation method, apparatus and computer-readable storage medium | |
CN110933178B (en) | Method for adjusting node configuration in cluster system and server | |
CN107819797B (en) | Access request processing method and device | |
WO2020253633A1 (en) | Enterprise credit line information management method, apparatus, and device, and readable storage medium | |
CN111447577A (en) | Quota management method and device | |
WO2018028344A1 (en) | Method and device for load processing | |
CN111131841A (en) | Live indirect access method and device, electronic equipment and storage medium | |
US20220070509A1 (en) | Augmenting Dynamic Ad Insertion Inventory with Unused Inventory | |
CN113361913A (en) | Communication service arranging method, device, computer equipment and storage medium | |
CN110830964A (en) | Information scheduling method, Internet of things platform and computer readable storage medium | |
CN113835905B (en) | Message queue load balancing method and device, electronic equipment and medium | |
CN107493607A (en) | Network resource allocation method and Internet resources distributor | |
CN108076443B (en) | Flow distribution method in online charging system and online charging system | |
CN109981726B (en) | A storage node allocation method, server and system | |
CN113453285B (en) | Resource adjusting method, device and storage medium | |
CN113518459B (en) | Resource scheduling processing method and device and electronic equipment | |
CN113037512A (en) | Statistical method and device for network resource consumption and server | |
CN103607707A (en) | Resource distribution method and apparatus based on inverse computation charging | |
CN108958926B (en) | Darwin streaming media server-based virtual memory pool design method | |
CN112131267A (en) | Counting processing method, device, server and counting processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241015 Address after: 712000 Middle section of Yanhe Road, Puji Town, Wugong County, Xianyang City, Shaanxi Province Patentee after: Wugong County Beimo Fruit Industry E-commerce Co.,Ltd. Country or region after: China Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |