CN107977411A - Group recommending method, device, storage medium and server - Google Patents
Group recommending method, device, storage medium and server Download PDFInfo
- Publication number
- CN107977411A CN107977411A CN201711168488.9A CN201711168488A CN107977411A CN 107977411 A CN107977411 A CN 107977411A CN 201711168488 A CN201711168488 A CN 201711168488A CN 107977411 A CN107977411 A CN 107977411A
- Authority
- CN
- China
- Prior art keywords
- group
- user
- recommended
- recommendation
- team
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
-
- G06Q10/40—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/131—Protocols for games, networked simulations or virtual reality
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种群组推荐方法、装置、存储介质以及服务器,属于互联网技术领域。方法包括:对于每一个待推荐用户,获取待推荐用户的任务偏好信息;在处于活跃状态的候选群组中,根据任务偏好信息以及候选群组的群组特征,筛选出与待推荐用户匹配的待预测群组;获取待推荐用户加入待预测群组中每一个群组的概率;按照概率值对待预测群组中包含的群组进行排序,得到待推荐用户的第一群组推荐列表;基于第一群组推荐列表向待推荐用户进行群组推荐。本发明结合用户的任务偏好以及群组的群组特征为用户进行战队推荐,不但丰富了群组推荐方式,使得战队推荐更具个性化,而且大大提升了群组推荐精准度,用户在加入推荐的群组后活跃的可能性也更高。
The invention discloses a group recommendation method, device, storage medium and server, and belongs to the technical field of the Internet. The method includes: for each user to be recommended, obtaining task preference information of the user to be recommended; among the candidate groups in an active state, according to the task preference information and the group characteristics of the candidate group, screening out the user who matches the user to be recommended The group to be predicted; obtain the probability that the user to be recommended joins each group in the group to be predicted; sort the groups contained in the group to be predicted according to the probability value, and obtain the first group recommendation list of the user to be recommended; based on The first group recommendation list performs group recommendation to the user to be recommended. The present invention combines the user's task preference and the group characteristics of the group to recommend the team for the user, which not only enriches the group recommendation method, makes the team recommendation more personalized, but also greatly improves the accuracy of the group recommendation. are also more likely to be active in groups.
Description
技术领域technical field
本发明涉及互联网技术领域,特别涉及一种群组推荐方法、装置、存储介质以及服务器。The present invention relates to the technical field of the Internet, in particular to a group recommendation method, device, storage medium and server.
背景技术Background technique
网络游戏作为一种基于网络平台的多人联网互动游戏,成为了时下人们在娱乐闲暇时间的一大消遣。其中,时下大部分网络游戏均支持用户(又称之为玩家)进行组队,即一定数量的玩家可组成一个战队。对于一个战队内的各个玩家来说可一起组队做任务、互送礼物或相互聊天等。其中,组队做任务即多个玩家共同去完成一项任务,通过完成任务,这些玩家不仅能够获得游戏道具或积分,体验游戏乐趣,而且还能够增长竞技能力。而如果将战队称之为一个群组的话,则在玩家处于在线状态时,若能够向玩家进行一下可加入的群组推荐,尤其是针对未加入任何群组的玩家进行推荐,则将极大地提升用户体验。As a kind of multiplayer online interactive game based on the network platform, online games have become a great pastime for people in their leisure time. Among them, most of the online games nowadays support users (also called players) to form teams, that is, a certain number of players can form a team. For each player in a team, they can form a team to do tasks, send gifts to each other, or chat with each other. Among them, teaming up to do tasks means that multiple players jointly complete a task. By completing the task, these players can not only obtain game props or points, experience the fun of the game, but also increase their competitive ability. And if the team is called a group, when the player is online, if it is possible to recommend groups that players can join, especially for players who have not joined any groups, it will be greatly improved. Improve user experience.
相关技术在进行群组推荐时,首先基于玩家是否符合一个群组的加入条件,来进行群组的筛选。比如,一个群组以玩家积分大于M为门槛,则对于一个积分大于M的玩家来说,该玩家便符合这个群组的加入条件。而在为该玩家筛选出符合加入条件的群组之后,通过对这些群组进行排序,便可得到一个有关于群组的推荐列表。In related technologies, when recommending groups, firstly, the group is screened based on whether the player meets the joining conditions of a group. For example, if a group takes the player's points greater than M as the threshold, then for a player whose points are greater than M, the player meets the conditions for joining the group. And after filtering out the groups that meet the joining conditions for the player, by sorting these groups, a recommendation list about the groups can be obtained.
在实现本发明的过程中,发明人发现相关技术至少存在以下问题:In the process of realizing the present invention, the inventors have found that the related technologies have at least the following problems:
由于仅以用户是否符合群组的加入条件这一单一维度来进行群组的推荐,所以存在推荐方式单一、推荐精准度不高的缺陷。Since the group recommendation is only carried out based on the single dimension of whether the user meets the joining conditions of the group, there are defects of single recommendation method and low recommendation accuracy.
发明内容Contents of the invention
为了解决现有技术的问题,本发明实施例提供了一种群组推荐方法、装置、存储介质以及服务器。所述技术方案如下:In order to solve the problems in the prior art, embodiments of the present invention provide a group recommendation method, device, storage medium and server. Described technical scheme is as follows:
第一方面,提供了一种群组推荐方法,所述方法包括:In the first aspect, a method for group recommendation is provided, the method comprising:
对于每一个待推荐用户,获取所述待推荐用户的任务偏好信息;For each user to be recommended, obtain task preference information of the user to be recommended;
在处于活跃状态的候选群组中,根据所述任务偏好信息以及所述候选群组的群组特征,筛选出与所述待推荐用户匹配的待预测群组;Among the candidate groups in an active state, according to the task preference information and the group characteristics of the candidate groups, filter out a group to be predicted that matches the user to be recommended;
获取所述待推荐用户加入所述待预测群组中每一个群组的概率;Obtain the probability that the user to be recommended joins each group in the group to be predicted;
按照概率值对所述待预测群组中包含的群组进行排序,得到所述待推荐用户的第一群组推荐列表;sorting the groups contained in the group to be predicted according to the probability value, and obtaining the first group recommendation list of the user to be recommended;
基于所述第一群组推荐列表向所述待推荐用户进行群组推荐。performing group recommendation to the user to be recommended based on the first group recommendation list.
第二方面,提供了一种群组推荐装置,所述装置包括:In a second aspect, a group recommendation device is provided, and the device includes:
第一获取模块,用于对于每一个待推荐用户,获取所述待推荐用户的任务偏好信息;The first obtaining module is used to obtain task preference information of the user to be recommended for each user to be recommended;
筛选模块,用于在处于活跃状态的候选群组中,根据所述任务偏好信息以及所述候选群组的群组特征,筛选出与所述待推荐用户匹配的待预测群组;A screening module, configured to, among candidate groups in an active state, filter out a group to be predicted that matches the user to be recommended according to the task preference information and the group characteristics of the candidate group;
第二获取模块,用于获取所述待推荐用户加入所述待预测群组中每一个群组的概率;The second obtaining module is used to obtain the probability that the user to be recommended joins each group in the group to be predicted;
排序模块,用于按照概率值对所述待预测群组中包含的群组进行排序,得到所述待推荐用户的第一群组推荐列表;A sorting module, configured to sort the groups contained in the group to be predicted according to the probability value, and obtain the first group recommendation list of the user to be recommended;
推荐模块,用于基于所述第一群组推荐列表向所述待推荐用户进行群组推荐。A recommendation module, configured to recommend groups to the user to be recommended based on the first group recommendation list.
在另一个实施例中,所述第一群组推荐列表中的群组按照概率值由大到小的顺序排列,所述推荐模块,用于在所述第一群组推荐列表中确定与所述待推荐用户存在关联关系的指定群组,所述指定群组为包含目标用户的群组,所述目标用户为与所述待推荐用户存在关联关系的用户;按照群组中目标用户数量由大到小的顺序,对所述指定群组中包含的群组进行排列顺序调整;将经过排序调整后的指定群组置于所述第一群组推荐列表的顶部;基于经过排序调整处理后的第一群组推荐列表,向所述待推荐用户进行群组推荐。In another embodiment, the groups in the first group recommendation list are arranged in descending order of probability values, and the recommendation module is configured to determine in the first group recommendation list the A specified group that has an associated relationship with the user to be recommended, the specified group is a group that includes a target user, and the target user is a user that has an associated relationship with the user to be recommended; according to the number of target users in the group, the In order from large to small, adjust the arrangement order of the groups contained in the specified group; place the specified group after sorting adjustment on the top of the first group recommendation list; based on the sorting adjustment process The first group recommendation list is used to make group recommendations to the user to be recommended.
在另一个实施例中,所述推荐模块,用于若所述指定群组中包含目标用户数量一致的至少两个群组,则对于所述至少两个群组中的每一个群组,获取所述待推荐用户与所述群组中包含的目标用户的亲密度;根据所述亲密度对所述至少两个群组进行排序。In another embodiment, the recommendation module is configured to obtain, for each of the at least two groups, if the designated group includes at least two groups with the same number of target users. The degree of intimacy between the user to be recommended and the target user included in the group; sorting the at least two groups according to the degree of intimacy.
在另一个实施例中,所述筛选模块,还用于筛选在第一时间段内处于活跃状态且未加入任一群组的用户,得到所述待推荐用户;或,筛选在所述第一时间段内已加入群组但已加入的群组为非活跃群组的用户,得到所述待推荐用户;筛选在所述第一时间段内处于活跃状态且存在空位的群组,得到所述候选群组。In another embodiment, the screening module is also used to screen users who are active within the first time period and have not joined any group to obtain the users to be recommended; or, screen the users who are active within the first time period The user who has joined the group but the group that has joined is an inactive group, obtains the user to be recommended; screens out the groups that are active within the first time period and has vacancies, and obtains the candidate group Group.
在另一个实施例中,所述第二获取模块,用于基于已建立的群组预测模型,获取所述待推荐用户加入所述待预测群组中每一个群组的概率。In another embodiment, the second acquiring module is configured to acquire the probability that the user to be recommended joins each of the groups to be predicted based on an established group prediction model.
在另一个实施例中,所述装置还包括:In another embodiment, the device also includes:
训练模块,用于将在第二时间段内已加入群组的第一用户以及已加入的群组作为正例样本;对于在第二时间段内处于活跃状态且未加入任一群组的第二用户,在所述正例样本中随机为所述第二用户匹配至少一个群组,得到负例样本;获取所述正例样本的第一特征信息,并获取所述负例样本的第二特征信息;基于所述第一特征信息和所述第二特征信息进行模型训练,得到所述群组预测模型。The training module is used to use the first user who has joined the group and the group that has joined in the second time period as positive samples; for the second user who is active in the second time period and has not joined any group , randomly match at least one group for the second user in the positive sample to obtain a negative sample; obtain the first characteristic information of the positive sample, and obtain the second characteristic information of the negative sample ; performing model training based on the first feature information and the second feature information to obtain the group prediction model.
在另一个实施例中,所述训练模块,还用于对于所述正例样本中的每一个样本,获取所述样本中第一用户的第一用户简介信息;获取所述样本中包含的群组的第一群组简介信息以及所述群组内成员用户的第一成员简介信息;将所述第一用户简介信息、所述第一群组简介信息以及所述第一成员简介信息进行特征信息交叉处理,得到第一交叉特征信息;将所述第一群组简介信息、所述第一用户简介信息、所述第一成员简介信息以及所述第一交叉特征信息中的连续特征信息进行分桶处理;将经过分桶处理后的特征信息以及除了所述连续特征信息之外的离散特征信息进行一位有效编码,得到所述样本的特征信息。In another embodiment, the training module is further configured to, for each of the positive samples, obtain the first user profile information of the first user in the sample; obtain the group information contained in the sample The first group profile information of the group and the first member profile information of the member users in the group; characterizing the first user profile information, the first group profile information, and the first member profile information Information cross processing to obtain first cross feature information; performing continuous feature information in the first group profile information, the first user profile information, the first member profile information, and the first cross feature information Bucketing processing: performing one-bit effective encoding on the feature information after the bucketing process and the discrete feature information except the continuous feature information to obtain the feature information of the sample.
在另一个实施例中,所述训练模块,还用于对于所述负例样本中的每一个样本,获取所述样本中第二用户的第二用户简介信息;获取所述样本中包含的群组的第二群组简介信息以及所述群组内成员用户的第二成员简介信息;将所述第二用户简介信息、所述第二群组简介信息以及所述第二成员简介信息进行特征信息交叉处理,得到第二交叉特征信息;将所述第二群组简介信息、所述第二用户简介信息、所述第二成员简介信息以及所述第二交叉特征信息中的连续特征信息进行分桶处理;将经过分桶处理后的特征信息以及除了所述连续特征信息之外的离散特征信息进行一位有效编码,得到所述样本的特征信息。In another embodiment, the training module is further configured to, for each sample in the negative sample, obtain the second user profile information of the second user in the sample; obtain the group information contained in the sample The second group profile information of the group and the second member profile information of the member users in the group; characterizing the second user profile information, the second group profile information and the second member profile information Information cross processing to obtain second cross feature information; performing continuous feature information in the second group profile information, the second user profile information, the second member profile information, and the second cross feature information Bucketing processing: performing one-bit effective encoding on the feature information after the bucketing process and the discrete feature information except the continuous feature information to obtain the feature information of the sample.
在另一个实施例中,所述推荐模块,用于获取所述待推荐用户的第二群组推荐列表,所述第二群组推荐列表是基于所述待推荐用户是否符合群组加入条件筛选得到的;若所述第一群组推荐列表以及所述第二群组推荐列表中存在重复的群组,则在所述第二群组推荐列表中将所述重复的群组过滤掉;基于所述第一群组推荐列表以及经过过滤去重后的第二群组推荐列表,向所述待推荐用户进行群组推荐。In another embodiment, the recommendation module is configured to obtain a second group recommendation list of the user to be recommended, and the second group recommendation list is filtered based on whether the user to be recommended meets the group joining conditions Obtained; if there are duplicate groups in the first group recommendation list and the second group recommendation list, then filter out the duplicate groups in the second group recommendation list; based on The first group recommendation list and the second group recommendation list after filtering and deduplication perform group recommendation to the user to be recommended.
在另一个实施例中,所述推荐模块,用于在获取到群组的推荐请求后,将所述第一群组推荐列表以及经过过滤去重后的第二群组推荐列表发送至所述待推荐用户的终端,以使所述终端按照群组的排列顺序,以交叉排序的方式将所述第一群组推荐列表以及所述第二群组推荐列表中包含的群组在推荐界面上进行展示。In another embodiment, the recommendation module is configured to send the first group recommendation list and the filtered and deduplicated second group recommendation list to the The terminal of the user to be recommended, so that the terminal lists the groups contained in the first group recommendation list and the second group recommendation list on the recommendation interface in a cross-sorted manner according to the arrangement order of the groups to show.
在另一个实施例中,所述装置还包括:In another embodiment, the device also includes:
收集模块,用于收集所述待推荐用户的用户日志,所述用户日志记录了推荐的群组的曝光情况以及所述待推荐用户对推荐的群组执行的操作;A collection module, configured to collect user logs of the user to be recommended, the user log recording the exposure of the recommended group and the operations performed by the user to be recommended on the recommended group;
更新模块,用于根据所述用户日志对用于进行所述群组预测模型训练的正例样本以及负例样本进行更新;An update module, configured to update the positive samples and negative samples used for the group prediction model training according to the user log;
训练模块,用于基于更新后的正例样本以及更新后的负例样本,优化所述群组预测模型。The training module is used to optimize the group prediction model based on the updated positive samples and the updated negative samples.
第三方面,提供了一种存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述第一方面所述的群组推荐方法。In a third aspect, a storage medium is provided. At least one instruction, at least one program, code set or instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set or the instruction The set is loaded and executed by the processor to implement the group recommendation method described in the first aspect above.
第四方面,提供了一种用于群组推荐的服务器,所述服务器包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述第一方面所述的群组推荐方法。In a fourth aspect, a server for group recommendation is provided, the server includes a processor and a memory, at least one instruction, at least one program, a code set or an instruction set are stored in the memory, and the at least one instruction , the at least one program, the code set or instruction set is loaded and executed by the processor to implement the group recommendation method as described in the first aspect above.
本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:
结合用户的任务偏好以及群组的群组特征为用户进行群组推荐,不但丰富了群组推荐方式,使得群组推荐更具个性化,而且大大提升了群组推荐精准度,用户在加入推荐的群组后活跃的可能性也更高。Combining the user's task preference and the group characteristics of the group to make group recommendations for users, it not only enriches the group recommendation methods, makes the group recommendation more personalized, but also greatly improves the accuracy of the group recommendation. are also more likely to be active in groups.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明实施例提供的群组推荐方法所涉及的实施环境的示意图;FIG. 1 is a schematic diagram of an implementation environment involved in a group recommendation method provided by an embodiment of the present invention;
图2是本发明实施例提供的一种获取模型特征的示意图;Fig. 2 is a schematic diagram of acquiring model features provided by an embodiment of the present invention;
图3是本发明实施例提供的一种玩家的活跃画像的示意图;Fig. 3 is a schematic diagram of an active portrait of a player provided by an embodiment of the present invention;
图4是本发明实施例提供的一种玩家类别与战队特色的映射关系示意图;FIG. 4 is a schematic diagram of a mapping relationship between player types and team characteristics provided by an embodiment of the present invention;
图5是本发明实施例提供的一种群组推荐方法的流程图;Fig. 5 is a flowchart of a group recommendation method provided by an embodiment of the present invention;
图6是本发明实施例提供的一种群组推荐方法的流程图;FIG. 6 is a flow chart of a group recommendation method provided by an embodiment of the present invention;
图7是本发明实施例提供的一种群组推荐方法的流程图;Fig. 7 is a flow chart of a group recommendation method provided by an embodiment of the present invention;
图8是本发明实施例提供的一种推荐面板的示意图;Fig. 8 is a schematic diagram of a recommendation panel provided by an embodiment of the present invention;
图9是本发明实施例提供的一种群组优化过程的流程图;FIG. 9 is a flowchart of a group optimization process provided by an embodiment of the present invention;
图10是本发明实施例提供的一种群组推荐方法的流程图;Fig. 10 is a flowchart of a group recommendation method provided by an embodiment of the present invention;
图11是本发明实施例提供的一种群组推荐装置结构示意图;Fig. 11 is a schematic structural diagram of a group recommendation device provided by an embodiment of the present invention;
图12是本发明实施例提供的一种群组推荐装置结构示意图;Fig. 12 is a schematic structural diagram of a group recommendation device provided by an embodiment of the present invention;
图13是本发明实施例提供的一种群组推荐装置结构示意图;Fig. 13 is a schematic structural diagram of a group recommendation device provided by an embodiment of the present invention;
图14是本发明实施例提供的一种用于群组推荐的服务器的结构示意图。Fig. 14 is a schematic structural diagram of a server for group recommendation provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
在对本发明实施例进行详细地解释说明之前,先对本发明实施例涉及的一些名词进行详细地解释说明。Before explaining and describing the embodiments of the present invention in detail, some terms involved in the embodiments of the present invention will be explained in detail.
玩家:在本发明实施例中称之为用户。Player: referred to as a user in the embodiment of the present invention.
其中玩家也可称为游戏者,是一种游戏业界与游戏参与者之间的术语。广义上讲,玩家泛指玩游戏的用户,即参与任何形式游戏的人。Among them, players can also be called gamers, which is a term between the game industry and game participants. Broadly speaking, a player refers to a user who plays a game, that is, a person who participates in any form of gaming.
特殊地,在角色扮演类游戏中,玩家通常在游戏世界中扮演其中的可控角色,通过操作这些可控角色去完成游戏或是自己所设定的目标。此外,部分玩家在角色扮演类游戏中还可以作为主角或是游戏剧情的关键。In particular, in role-playing games, players usually play controllable characters in the game world, and complete the game or the goals set by themselves by operating these controllable characters. In addition, some players can also serve as the protagonist or the key to the game plot in role-playing games.
总结来讲,玩家是游戏的体验者、使用者、评价者和消费者。根据性格和喜好的差异,不同的玩家喜爱的游戏类型也各不相同。To sum up, players are game experiencers, users, evaluators and consumers. According to differences in personality and preferences, different game types are preferred by different players.
战队:在本发明实施例中称之为群组。Team: referred to as a group in the embodiment of the present invention.
网络游戏通常包括多人对战形式,即一定数量的玩家组成一个战队共同去完成一项任务,通过完成任务,这些用户不仅能够获得游戏道具或积分,体验游戏乐趣,而且还能够增长竞技能力。Online games usually include multiplayer battles, that is, a certain number of players form a team to complete a task together. By completing the task, these users can not only obtain game props or points, experience the fun of the game, but also increase their competitive ability.
需要说明的是,本发明实施例为每一个战队分别设置了一个用于保存战队特色的字段。其中,战队特色用于指代一个战队的类别或特性,在本发明实施例中又称之为群组特征,比如战队特色可分为诸如极速、宠物、舞蹈、比赛、休闲、道具等等,本发明实施例对此不进行具体限定。It should be noted that, in the embodiment of the present invention, a field for saving team characteristics is respectively set for each team. Among them, the characteristics of the team are used to refer to the category or characteristics of a team, and are also called group characteristics in the embodiment of the present invention. This embodiment of the present invention does not specifically limit it.
活跃玩家:指代一个时间段内在线时长大于一个设定的阈值的玩家。Active players: Refers to players whose online time is greater than a set threshold within a period of time.
比如以设置的时间段为1天,设定的阈值为10分钟为例,则若一个玩家1天内的在线时长大于10分钟,则该玩家便为活跃玩家。For example, if the set time period is 1 day and the set threshold is 10 minutes as an example, if a player's online time in 1 day is longer than 10 minutes, then the player is an active player.
活跃战队:在本发明实例中一个战队是否处于活跃状态可至少从以下两个方面来衡量:(1)、一个时间段内是否有活跃玩家;(2)、战队积分是否在增加。如果在一个时间段内存在活跃玩家且战队积分也在增加,则该战队为活跃战队。继续以设置的时间段为1个月为例,则如果一个战队在1个月内有活跃玩家且该战队的积分在增加,则将该战队作为活跃战队。当然,还可从其他方面来衡量一个战队是否活跃,本发明实施例对此不进行具体限定。Active team: Whether a team is active in the example of the present invention can be measured from the following two aspects at least: (1), whether there are active players in a period of time; (2), whether the team points are increasing. A team is active if there are active players and team points are increasing for a period of time. Continuing to take the set time period as 1 month as an example, if a team has active players within 1 month and the team's points are increasing, the team will be regarded as an active team. Of course, whether a team is active can also be measured from other aspects, which is not specifically limited in this embodiment of the present invention.
好友:存在于社交应用或具有社交功能的应用中的概念,在社交应用或者具有社交功能的应用中,每一个用户均对应有一个用户关系链(也可称之为通讯录),该用户关系链中示出了该用户的全部好友。其中,互为好友的双方可以进行信息交互,比如可以进行语音、视频或文字聊天,可以进行文件传输、可以查看对方动态等。在本发明实施例中,一个用户与另一个用户存在关联关系,即指代二者互为好友。Friends: a concept that exists in social applications or applications with social functions. In social applications or applications with social functions, each user corresponds to a user relationship chain (also called an address book). All of the user's friends are shown in the chain. Among them, the two parties who are mutual friends can exchange information, such as voice, video or text chat, file transfer, and check each other's dynamics. In the embodiment of the present invention, a user has an association relationship with another user, which means that the two are friends with each other.
活跃画像:以玩家的在线时长,玩家在各种类型游戏玩法中的游戏时长与总的在线时长的比例为维度,来为每一个玩家进行活跃画像的构建。Active portrait: Based on the player's online time, the ratio of the player's game time in various types of gameplay to the total online time as the dimension, construct an active portrait for each player.
换句话说,通过活跃画像可实现将玩家进行分类,也即活跃画像示出了不同玩家的任务偏好信息。其中,任务偏好信息在本发明实施例中也可称之为游戏玩法偏好信息,其示出了玩家热衷或喜爱的游戏玩法。In other words, the active portraits can be used to classify the players, that is, the active portraits show the task preference information of different players. Wherein, the task preference information may also be referred to as game play preference information in the embodiment of the present invention, which shows the game play that the player is keen on or likes.
次留率/周留率:在参加一个战队、参与一种游戏玩法或一个活动后,次日/一周后仍然活跃的玩家占所有参加这个战队、参与这个游戏玩法或活动的玩家的比例。Secondary retention rate/weekly retention rate: After joining a team, participating in a gameplay or an event, the proportion of players who are still active the next day/week after joining the team, participating in this gameplay or activity.
图1示出了本发明实施例提供的群组推荐方法所涉及的实施环境。Fig. 1 shows the implementation environment involved in the group recommendation method provided by the embodiment of the present invention.
参见图1,该实施环境可以包括:业务服务器101(又可称之为业务侧)、数据服务器102(又可称之为数据侧)和终端103。Referring to FIG. 1 , the implementation environment may include: a service server 101 (also called a service side), a data server 102 (also called a data side) and a terminal 103 .
其中,业务服务器101以及数据服务器102之间通过交互,实现结合玩家的游戏玩法偏好以及战队的战队特色,为玩家进行个性化的战队推荐。Among them, through the interaction between the business server 101 and the data server 102, personalized team recommendation is implemented for the player in combination with the player's game play preference and the team's team characteristics.
在本发明实施例中,业务服务器101以及数据服务器102是通过终端103所安装的游戏应用向终端提供战队推荐服务,即业务服务器101以及数据服务器102在得到有关于玩家的战队推荐列表后,通过终端103所安装的游戏应用将该战队推荐列表推送至终端103,进而终端103便可通过所安装的游戏应用将该战队推荐列表展示给玩家。In the embodiment of the present invention, the business server 101 and the data server 102 provide the team recommendation service to the terminal through the game application installed on the terminal 103, that is, after the business server 101 and the data server 102 obtain the team recommendation list about the player, The game application installed on the terminal 103 pushes the team recommendation list to the terminal 103, and then the terminal 103 can display the team recommendation list to the player through the installed game application.
其中,终端103可以为智能手机、平板电脑、台式电脑等等,本发明实施例对此不进行具体限定。终端103在通过所安装的游戏应用向玩家进行战队推荐列表展示时,具体可设置一个专用于对战队推荐列表进行展示的推荐面板,当检测到玩家对该推荐面板的查看操作时,通过该推荐面板展示该战队推荐列表。以上仅为战队推荐列表的一种示例性的展示方式,本发明实施例对战队推荐列表的展示方式不进行具体限定。Wherein, the terminal 103 may be a smart phone, a tablet computer, a desktop computer, etc., which is not specifically limited in this embodiment of the present invention. When the terminal 103 displays the team recommendation list to the player through the installed game application, it may specifically set up a recommendation panel dedicated to displaying the team recommendation list. The panel displays the recommended list of the team. The above is only an exemplary display manner of the team recommendation list, and the embodiment of the present invention does not specifically limit the display manner of the team recommendation list.
需要说明的第一点是,上述业务服务器101、数据服务器102和终端103可通过有线网络或无线网络进行连接。The first point to be explained is that the above-mentioned service server 101, data server 102 and terminal 103 can be connected through a wired network or a wireless network.
需要说明的第二点是,本发明实施例以业务服务器101和数据服务器102这两个服务器来实现上述个性化战队的推荐。可扩展的是,上述业务服务器101和数据服务器102还可被替换为一个综合了二者全部功能的单独服务器,本发明实施例对此不进行具体限定。The second point to be explained is that, in the embodiment of the present invention, two servers, the business server 101 and the data server 102, are used to realize the above-mentioned personalized team recommendation. Scalably, the above-mentioned service server 101 and data server 102 can also be replaced by a separate server that integrates all the functions of the two, which is not specifically limited in this embodiment of the present invention.
在另一个实施例中,本发明实施例为了实现群组的推荐会涉及到候选集、训练集和预测集的筛选,以及群组预测模型(机器学习模型)的训练。在对本发明实施例提供的群组推荐方法进行详细地解释说明之前,先对上述概念以及模型训练过程进行一下解释说明。In another embodiment, the embodiment of the present invention involves the screening of candidate sets, training sets and prediction sets, as well as the training of group prediction models (machine learning models) in order to implement group recommendations. Before explaining the group recommendation method provided by the embodiment of the present invention in detail, first explain the above concept and model training process.
候选集candidate set
在本发明实施例中数据服务器会对玩家和战队做筛选,过滤掉处于非活跃状态的玩家和战队,因为一方面对处于非活跃状态的玩家进行战队推荐或者向处于活跃状态的玩家推荐处于非活跃状态的战队意义并不大,另一方面过滤去掉处于非活跃状态的玩家和战队后续可以减轻群组预测模型的预测压力。In the embodiment of the present invention, the data server will screen players and teams, and filter out inactive players and teams, because on the one hand, recommend teams to inactive players or recommend inactive players Active teams are of little significance. On the other hand, filtering out inactive players and teams can reduce the prediction pressure of the group prediction model.
简言之,候选集用于筛选作为推荐候选的玩家和战队。即,仅对候选集中的玩家进行战队推荐,而向这些玩家推荐的战队同样也来自于候选集。In short, the candidate set is used to screen players and teams that are candidates for recommendation. That is, only the players in the candidate set are recommended for teams, and the teams recommended to these players are also from the candidate set.
其中,在筛选候选集中的战队时,包括但不限于:筛选在第一时间段内处于活跃状态的指定战队,得到候选战队。Wherein, when screening the teams in the candidate set, it includes but is not limited to: screening designated teams that are active within the first time period to obtain candidate teams.
以第一时间段为1个月为例,则数据服务器可筛选最近1个月内处于活跃状态的指定战队,将这些战队作为上述候选战队。其中,候选战队通常情况下还需满足下述几个条件:Taking the first time period as one month as an example, the data server can filter the specified teams that have been active in the last month, and use these teams as the above-mentioned candidate teams. Among them, the candidate team usually needs to meet the following conditions:
1、第一时间段内有活跃玩家,比如最近1个月内有活跃玩家。1. There are active players in the first period of time, for example, there are active players in the last month.
2、战队积分在增加。2. Team points are increasing.
需要说明的是,通过上述两个条件便可确定一个战队为活跃战队。但是仅仅靠上述两个条件还不能够确定该战队可作为候选战队。因为本发明实施例的候选战队后续可能是要推荐给玩家的,如果该战队中的成员数量已经满了或者该战队不进行成员招募,那么向玩家推荐该战队并没有实际意义,基于此,在筛选候选战队时还包括下述条件3。It should be noted that a team can be determined as an active team through the above two conditions. However, the above two conditions alone cannot determine that the team can be used as a candidate team. Because the candidate team in the embodiment of the present invention may be recommended to the player in the future, if the number of members in the team is full or the team does not recruit members, it is meaningless to recommend the team to the player. Based on this, in The following condition 3 is also included in the selection of candidate teams.
3、战队有招募成员且存在空位。3. The team has recruited members and there are vacancies.
综上,通过上述条件数据服务器便可筛选出处于活跃状态且有空位的战队,即前文所述的指定战队,并将筛选出的指定战队加入候选集作为候选战队。To sum up, through the above-mentioned conditions, the data server can filter out the teams that are active and have vacancies, that is, the designated teams mentioned above, and add the selected designated teams to the candidate set as candidate teams.
其中,在筛选候选集中的玩家时,包括但不限于下述两种方式:Among them, when screening the players in the candidate set, it includes but is not limited to the following two methods:
方式一、筛选在第一时间段内处于活跃状态且未加入任一群组的玩家,得到待推荐玩家。Method 1: Screen the players who are active within the first period of time and have not joined any group, and obtain the players to be recommended.
该种方式用于筛选出近期未加入战队的活跃玩家,将这些玩家加入候选集作为待推荐玩家。此外,在进行待推荐玩家的筛选时,还可过滤掉小号。其中,小号的识别方式可为参赛次数低、账号等级低、聊天时间长等,本发明实施例对此不进行具体限定。This method is used to screen out active players who have not joined the team recently, and add these players to the candidate set as players to be recommended. In addition, trumpets can also be filtered out when screening players to be recommended. Wherein, the identification method of the trumpet may be low number of entries, low account level, long chat time, etc., which is not specifically limited in this embodiment of the present invention.
方式二、筛选在第一时间段内已加入群组但已加入的群组为非活跃群组的用户,得到待推荐用户;Method 2: Screen the users who have joined the group within the first time period but the joined group is an inactive group, and obtain users to be recommended;
该种方式用于筛选出近期已加入战队,但是加入的战队不活跃的玩家。This method is used to filter out players who have recently joined a team, but the team they joined is not active.
另外,数据服务器可周期性地进行候选集的筛选,比如每周筛选一次最近30天的窗口范围内的候选战队以及待推荐玩家,本发明实施例对此不进行具体限定。In addition, the data server may periodically screen the candidate set, for example, once a week to screen candidate teams and players to be recommended within the window range of the last 30 days, which is not specifically limited in this embodiment of the present invention.
训练集Training set
在本发明实施例中训练集用于进行群组预测模型的训练。其中,群组预测模型为机器学习模型,比如可为LR(Linear Regression,线性回归)模型、GBDT(GradientBoosting Decision Tree,梯度提升决策树)模型或者随机森林模型,本发明实施例对此不进行具体限定。本发明实施例仅以LR模型为例进行说明。In the embodiment of the present invention, the training set is used for training the group prediction model. Wherein, the group prediction model is a machine learning model, such as an LR (Linear Regression, linear regression) model, a GBDT (GradientBoosting Decision Tree, gradient boosting decision tree) model or a random forest model, which is not described in detail in the embodiment of the present invention. limited. The embodiment of the present invention only uses the LR model as an example for illustration.
在本发明实施例中,在进行LR模型的训练时,基于玩家是否加入战队来进行训练集的构建。简言之,将近期内已加入战队的玩家和对应加入的战队作为训练集中的正例样本,而抽取近期活跃且未加战队的玩家,随机为其匹配正例样本中的战队,进而得到训练集中的负例样本。In the embodiment of the present invention, when training the LR model, the training set is constructed based on whether the player joins the team. In short, the players who have joined the team in the near future and the corresponding joined team are taken as the positive samples in the training set, and the players who are active recently and have not joined the team are selected, randomly matched with the teams in the positive sample, and then trained Concentrated negative samples.
即,数据服务器将在第二时间段内已加入战队的第一用户以及已加入的战队作为正例样本。而对于在第二时间段内处于活跃状态且未加入任一战队的第二用户来说,在正例样本中随机为第二用户匹配至少一个战队,得到负例样本。That is, the data server uses the first user who has joined the team within the second time period and the team that has joined as positive samples. For the second user who is active within the second time period and has not joined any team, the second user is randomly matched with at least one team in the positive sample to obtain a negative sample.
其中,第一时间段既可以与第一时间段相同也可以不同,本发明实施例对此不进行具体限定,比如第二时间段可为1个月内。本发明实施例之所以选取近期的数据,是因为考虑到特征的时效性问题,所以训练集针对的并非全量数据。Wherein, the first time period may be the same as or different from the first time period, which is not specifically limited in this embodiment of the present invention, for example, the second time period may be within one month. The reason why the embodiment of the present invention selects recent data is that the timeliness of features is considered, so the training set is not aimed at the full amount of data.
需要说明的第一点是,虽然本发明实施例的终极目标是欲实现预测玩家是否会点击某个推荐的战队,而当前LR模型的目标则是实现预测玩家是否会加某一个推荐的战队。但这两个目标是存在正相关的,仅有玩家先对战队感兴趣,点击申请战队,后续才有可能最终加入战队。The first point to be explained is that although the ultimate goal of the embodiment of the present invention is to predict whether a player will click on a recommended team, the goal of the current LR model is to predict whether a player will add a certain recommended team. But these two goals are positively correlated. Only when players are interested in the team first and click to apply for the team, can they finally join the team.
需要说明的第二点是,在某些情形下,虽然可能存在由于一个玩家已经加入了某个战队,但是由于当前申请还未通过或者数据更新延迟等原因,导致该玩家现在仍然是未加战队状态的情况,进而致使上述负例样本构建方式会存在一些偏差,但是需要注意的一点是,假设规定一个玩家近期仅能加入一个战队,则对于近期没有加入任何战队的一个活跃玩家来说,虽然本发明实施例中为该玩家随机匹配了多个战队,即该玩家对应多个负例样本,但是其中仅有一个负例样本的标签是错误的,剩余的负例样本均是正确的,所以大量标签正确的负例样本便可将这一标签错误的负例样本稀释掉,即上述负例样本存在的偏差可以完全忽略不计。The second point that needs to be explained is that in some cases, although a player may have joined a team, the player is still not in a team because the current application has not been passed or the data update is delayed. state, and thus lead to some deviations in the construction method of the above-mentioned negative examples, but one thing to note is that, assuming that a player can only join one team in the near future, for an active player who has not joined any team recently, although In the embodiment of the present invention, multiple teams are randomly matched for the player, that is, the player corresponds to multiple negative examples, but only one of the negative examples has a wrong label, and the remaining negative examples are all correct, so A large number of correctly labeled negative samples can dilute this wrongly labeled negative sample, that is, the deviation of the above-mentioned negative samples can be completely ignored.
在本发明实施例中在得到训练集后,数据服务器还需先进行模型特征的提取,即还需先获取正例样本的第一特征信息以及负例样本的第二特征信息,进而再基于第一特征信息和第二特征信息进行模型训练,得到LR模型。In the embodiment of the present invention, after obtaining the training set, the data server needs to extract the model features first, that is, it needs to first obtain the first feature information of the positive sample and the second feature information of the negative sample, and then based on the first The first feature information and the second feature information are used for model training to obtain an LR model.
其中,获取正例样本的第一特征信息,包括但不限于下述几个步骤:Among them, obtaining the first feature information of positive samples includes but not limited to the following steps:
(1)、对于正例样本中的每一个样本,获取该样本中第一玩家的第一玩家简介信息。(1) For each sample in the positive sample, obtain the profile information of the first player of the first player in the sample.
其中,一个样本即为一个玩家与一个战队的匹配对。在本发明实施例中将一个正例样本中包括的那个玩家统称为第一玩家。第一玩家简介信息可包括该玩家的注册时间、游戏时长、VIP(Very Important People,贵宾)等级、性别、参赛次数等玩家基础信息,本发明实施例对此不进行具体限定。Among them, a sample is a matching pair of a player and a team. In the embodiment of the present invention, the player included in a positive sample is collectively referred to as the first player. The first player profile information may include basic player information such as the player's registration time, game duration, VIP (Very Important People, VIP) level, gender, and number of entries, which is not specifically limited in this embodiment of the present invention.
(2)、获取该样本中战队的第一战队简介信息以及该战队内各个成员玩家的第一成员简介信息。(2) Obtain the brief introduction information of the first team of the team in the sample and the brief introduction information of the first member of each member player in the team.
其中,将一个正例样本中包括的那个战队的简介信息统称为第一战队简介信息,而将该战队内各个成员玩家的简介信息统称为第一成员简介信息。Wherein, the profile information of the team included in a positive sample is collectively referred to as the first team profile information, and the profile information of each member player in the team is collectively referred to as the first member profile information.
在本发明实施例中,第一战队简介信息可包括战队注册时间、战队积分、成员个数等战队基础信息,本发明实施例对此不进行具体限定。第一成员简介信息中通常包括的是该战队内成员的基础信息的平均值,比如战队内成员的游戏时长平均值、参赛次数的平均值等,本发明实施例对此不进行具体限定。其中,成员的基础信息可包括各个成员的注册时间、游戏时长、VIP等级、性别、参赛次数等等,本发明实施例对此同样不进行具体限定。需要说明的一点是,成员的基础信息是指去除了第一用户之外的剩余成员用户的基础信息。In this embodiment of the present invention, the first team profile information may include team basic information such as team registration time, team points, number of members, etc., which is not specifically limited in this embodiment of the present invention. The first member profile information usually includes the average value of the basic information of the members in the team, such as the average game duration and the average number of competitions of the members in the team, which are not specifically limited in the embodiment of the present invention. Wherein, the basic information of members may include registration time, game duration, VIP level, gender, number of competitions, etc. of each member, which is also not specifically limited in this embodiment of the present invention. It should be noted that the basic information of the member refers to the basic information of the remaining member users except the first user.
(3)、将该样本中的第一玩家简介信息、第一战队简介信息以及第一成员简介信息进行特征信息交叉处理,得到第一交叉特征信息。(3) Perform feature information intersection processing on the profile information of the first player, profile information of the first team, and profile information of the first member in the sample to obtain the first profile information of the cross.
如图2所示,为了增加LR模型的表达能力,数据服务器还会进行特征信息交叉处理。其中,特征信息交叉处理即是将不同的特征信息进行交叉合并处理。以一个特征信息为性别女以及另一个特征信息为VIP等级为VIP4为例,则在将二者进行特征信息交叉处理后,便可得到一个诸如女+VIP4这样的交叉特征信息。As shown in Figure 2, in order to increase the expressive ability of the LR model, the data server also performs cross-processing of feature information. Wherein, the feature information cross processing is to perform cross merge processing on different feature information. Taking one feature information as female gender and another feature information as VIP level as VIP4 as an example, after the two feature information are cross-processed, a cross feature information such as female+VIP4 can be obtained.
(4)、将第一战队简介信息、第一玩家简介信息、第一成员简介信息以及第一交叉特征信息中的连续特征信息进行分桶处理。(4) The first team profile information, the first player profile information, the first member profile information, and the continuous feature information in the first cross feature information are bucketed.
在本发明实施例中,为了提高数据管理效率或者对噪音数据进行处理以使得模型更稳定,还会将获取到的全部特征信息中的连续特征信息进行分桶处理。其中,连续特征信息通常指代取值为有理数但是特征取值个数不定的特征。例如游戏时长特征,特征取值可为0~正无穷。而进行分桶处理是将数量庞大的特征信息进行更为细粒度的数据范围划分,每一个桶仅关注部分特征信息,使得数据管理效率得以提高。In the embodiment of the present invention, in order to improve the data management efficiency or process the noise data to make the model more stable, the continuous feature information in all the acquired feature information is also processed into buckets. Among them, continuous feature information usually refers to features whose value is a rational number but the number of feature values is indefinite. For example, the game duration feature, the feature value can range from 0 to positive infinity. The bucketing process is to divide a large amount of characteristic information into a more fine-grained data range. Each bucket only focuses on part of the characteristic information, which improves the efficiency of data management.
(5)、将经过分桶处理后的特征信息以及除了连续特征信息之外的离散特征信息进行一位有效编码,得到该样本的特征信息。(5) Perform one-bit effective encoding on the feature information after the bucketing process and the discrete feature information except the continuous feature information to obtain the feature information of the sample.
其中,一位有效编码具体指代one-hot编码,用于将特征数字化以用于机器学习算法中。one-hot编码主要是采用N位状态寄存器来对N个状态进行编码,每个状态都有它独立的寄存器位,并且在任意时候仅有一位有效。Among them, one effective code specifically refers to one-hot code, which is used to digitize features for use in machine learning algorithms. One-hot encoding mainly uses N-bit state registers to encode N states, each state has its own independent register bit, and only one bit is valid at any time.
在实际的机器学习任务中,有些特征并非连续值,而有可能是一些分类值,如性别可分为“male”和“female”。对于这样的特征,通常需要对其进行特征数字化,如下面三个特征属性:In actual machine learning tasks, some features are not continuous values, but may be some categorical values, such as gender can be divided into "male" and "female". For such features, it is usually necessary to digitize them, such as the following three feature attributes:
性别:["male","female"]gender: ["male", "female"]
地区:["Europe","US","Asia"]Region: ["Europe", "US", "Asia"]
浏览器:["Firefox","Chrome","Safari","Internet Explorer"]Browser: ["Firefox", "Chrome", "Safari", "Internet Explorer"]
假设一个样本为["male","US","Internet Explorer"],在将这个样本的特征数字化时如果序列化为[0,1,3],则这样的特征处理并不能直接放入机器学习算法中,因此还需引入one-hot编码。而若采用one-hot编码对样本“["male","US","InternetExplorer"]”进行编码,则“male”可对应[1,0],“US”可对应[0,1,0],“Internet Explorer”可对应[0,0,0,1],则该样本的完整版特征数字化结果为:[1,0,0,1,0,0,0,0,1]。Assuming a sample is ["male", "US", "Internet Explorer"], if the features of this sample are serialized into [0,1,3] when digitizing, such feature processing cannot be directly put into the machine In the learning algorithm, it is necessary to introduce one-hot encoding. And if one-hot encoding is used to encode the sample "["male", "US", "InternetExplorer"]", then "male" can correspond to [1, 0], and "US" can correspond to [0, 1, 0] ], "Internet Explorer" can correspond to [0,0,0,1], then the digitized result of the full version of the sample is: [1,0,0,1,0,0,0,0,1].
综上,对于正例样本中的每一个样本均按照上述方式进行处理,便可得到正例样本的第一特征信息。同理,在获取负例样本的第二特征信息时,包括:To sum up, each sample in the positive sample is processed in the above manner, and the first feature information of the positive sample can be obtained. Similarly, when obtaining the second characteristic information of the negative sample, it includes:
首先,对于负例样本中的每一个样本,获取该样本中第二玩家的第二玩家简介信息、该样本中战队的第二战队简介信息以及该战队内各个成员玩家的第二成员简介信息。First, for each sample in the negative sample, obtain the second player profile information of the second player in the sample, the second team profile information of the team in the sample, and the second member profile information of each member player in the team.
之后,将第二玩家简介信息、第二战队简介信息以及第二成员简介信息进行特征信息交叉处理,得到第二交叉特征信息,并将第二战队简介信息、第二玩家简介信息、第二成员简介信息以及第二交叉特征信息中的连续特征信息进行分桶处理,最终将经过分桶处理后的特征信息以及除了连续特征信息之外的离散特征信息进行一位有效编码,得到该样本的特征信息。Afterwards, the profile information of the second player, the profile information of the second team, and the profile information of the second member are interleaved with the feature information to obtain the second cross feature information, and the profile information of the second team, the profile information of the second player, and the profile information of the second member are obtained. The profile information and the continuous feature information in the second cross feature information are processed in buckets, and finally the feature information after the bucketing process and the discrete feature information except the continuous feature information are effectively coded by one bit to obtain the feature of the sample information.
综上,对于负例样本中的每一个样本均按照上述方式进行处理,便可得到负例样本的第二特征信息。To sum up, each sample in the negative sample is processed in the above manner, and the second feature information of the negative sample can be obtained.
总结来说,对于训练集中的每一个样本来说,本发明实施例均会对其执行上述过程,以获取用于进行战队推荐模型训练时的模型特征。其中,模型特征中包括有关于战队的战队特征信息、有关于玩家的玩家特征信息以及进行特征信息交叉处理后的交叉特征信息。In summary, for each sample in the training set, the embodiment of the present invention will execute the above-mentioned process to obtain model features for training the team recommendation model. Wherein, the model features include team feature information about teams, player feature information about players, and cross feature information after feature information cross processing.
预测集prediction set
在本发明实施例中,在筛选出候选集后,还需要将玩家和战队进行匹配与组合,以构成预测集。之所以这样做的原因是如果每个玩家都预测所有战队,则数据量可能会在千亿左右,量级太大,战队推荐很难实现。比如假设候选集中包括3千万个待进行战队推荐的玩家和3万个战队,如果对于每一个玩家均从3万个战队中进行战队推荐,则需处理的数据量过于庞大。In the embodiment of the present invention, after the candidate set is screened out, players and teams need to be matched and combined to form a prediction set. The reason for this is that if each player predicts all teams, the amount of data may be around 100 billion, which is too large, and team recommendation is difficult to achieve. For example, assuming that the candidate set includes 30 million players to be recommended as teams and 30,000 teams, if each player recommends a team from the 30,000 teams, the amount of data to be processed is too large.
针对这一问题,本发明实施例可根据活跃画像对玩家进行分类,即划分成不同的游戏玩法偏好或玩家类别。而由于每个战队中均会有一个战队特色的字段,即每一个战队均包含一个群组特征,因此将玩家类别/游戏玩法偏好、战队特色/群组特征做了一个映射。比如,可预先设置玩家类别/游戏玩法偏好与战队特色/群组特征之间的映射关系并进行保存。这样对于具有不同游戏玩法偏好的玩家,在进行战队推荐时便可以从匹配的待预测战队去选取。比如,针对热衷于比赛型的玩家来说便可以选取比赛型战队作为待预测战队。To solve this problem, the embodiment of the present invention can classify players according to active portraits, that is, divide them into different game play preferences or player categories. Since each team has a field of team characteristics, that is, each team includes a group feature, a mapping is made for player category/game play preference, team feature/group feature. For example, the mapping relationship between player category/game play preference and team characteristics/group characteristics can be preset and saved. In this way, for players with different game play preferences, they can select from the matching teams to be predicted when recommending teams. For example, for players who are keen on competition, a competition team can be selected as the team to be predicted.
继续以上述例子为例,如果一个玩家通过上述映射关系匹配到300个待预测战队,那么在进行战队推荐时便从这300个待预测战队中进行选取。Continuing to take the above example as an example, if a player is matched with 300 teams to be predicted through the above mapping relationship, then the team will be selected from the 300 teams to be predicted when recommending a team.
举例来说,参见图3将玩家分成了6类,分别为模式1、模式2、模式3、模式4、小号以及核心。其中,模式1至模式4通常指代同一款游戏的不同游戏玩法。比如模式1至模式4可为诸如极速模式、宠物模式、舞蹈模式、比赛模式、休闲模式、道具模式中的几种模式,本发明实施例对此不进行具体限定。针对一个玩家来说在判断该玩家归属于上述哪一个类别,即确定一个玩家的任务偏好时,依据的便是该玩家的活跃画像。For example, referring to FIG. 3 , players are divided into 6 categories, namely mode 1, mode 2, mode 3, mode 4, trumpet and core. Among them, modes 1 to 4 usually refer to different gameplays of the same game. For example, modes 1 to 4 can be several modes such as extreme speed mode, pet mode, dance mode, competition mode, leisure mode, and prop mode, which are not specifically limited in this embodiment of the present invention. For a player, when judging which of the above categories the player belongs to, that is, determining a player's task preference, it is based on the player's active portrait.
如图3所示,对于玩家1来说,由于其活跃画像示出了其在模式4下的游戏时长最长,因此玩家1归属于模式4;对于玩家3来说,由于其活跃画像示出了其在模式1下的游戏时长最长,因此玩家1归属于模式1;对于玩家5来说,由于其活跃画像示出了其在模式3下的游戏时长最长,因此玩家5归属于模式3;对于玩家6来说,由于其活跃画像示出了其在模式2下的游戏时长最长,因此玩家1归属于模式2。As shown in Figure 3, for player 1, because his active portrait shows that he has the longest game time in mode 4, player 1 belongs to mode 4; for player 3, because his active portrait shows Player 1 belongs to Mode 1 because he has the longest game time in Mode 1; Player 5 belongs to Mode 5 because his active profile shows that he has the longest game time in Mode 3 3. For player 6, since his active portrait shows that he has the longest game time in mode 2, player 1 belongs to mode 2.
而对于玩家2来说,由于其活跃画像示出了其在线时长很短,且与模式1至模式4的距离均较远,因此玩家2不热衷于任何一种游戏玩法,归属于小号。比如,玩家2可能仅是短暂的进行线上聊天而已。As for player 2, since his active portrait shows that his online time is very short, and the distance from mode 1 to mode 4 is relatively long, player 2 is not keen on any kind of gameplay and belongs to the trumpet. For example, Player 2 may only be chatting online briefly.
而对于玩家4来说,由于其活跃画像示出了其在在线时长最长,且与模式1至模式4的距离均相差不多,因此玩家4归属于核心玩家。比如,玩家4可能每一种游戏玩法均参与,且在每一种游戏玩法下的游戏时长均差不多。As for player 4, since his active profile shows that he has been online for the longest time, and the distance from mode 1 to mode 4 is similar, player 4 belongs to the core player. For example, Player 4 may participate in each game play, and the game time in each game play is about the same.
其中,玩家类别与战队特色的映射关系示意图可如图4所示。比如,玩家类别为模式1的玩家匹配到战队特色为休闲模式的战队,所以在对这类玩家进行战队推荐时,还需在这些战队中进行选取。而玩家类别为模式4的玩家匹配到战队特色为不限以及比赛模式的战队,所以在对这类玩家进行战队推荐时,可以在战队特色为这两个模式战队中进行选取。Wherein, a schematic diagram of the mapping relationship between player categories and team characteristics may be shown in FIG. 4 . For example, a player whose player type is mode 1 is matched with a team whose team feature is casual mode, so when recommending a team for this type of player, it is also necessary to select from these teams. Players whose player type is mode 4 are matched with teams whose team characteristics are unlimited and game mode, so when recommending teams for such players, they can choose from the teams whose team characteristics are these two modes.
以上内容对候选集、训练集和预测集的筛选,以及群组预测模型的训练过程均进行了详细地解释说明。下面结合上述内容,对本发明实施例提供的战队推荐过程进行详细描述。The above content has explained in detail the screening of candidate sets, training sets, and prediction sets, as well as the training process of the group prediction model. The team recommendation process provided by the embodiment of the present invention will be described in detail below in combination with the above content.
图5是本发明实施例提供的一种战队推荐方法的流程图。参见图5,本发明实施例提供的方法流程包括:Fig. 5 is a flow chart of a team recommendation method provided by an embodiment of the present invention. Referring to Figure 5, the method flow provided by the embodiment of the present invention includes:
501、对于每一个待推荐玩家,数据服务器获取待推荐玩家的任务偏好信息并在处于活跃状态的候选战队中,根据该任务偏好信息以及候选战队的群组特征,筛选出与待推荐用户匹配的待预测战队。501. For each player to be recommended, the data server obtains the task preference information of the player to be recommended and, among the active candidate teams, screens out the ones that match the user to be recommended according to the task preference information and the group characteristics of the candidate teams. To be predicted team.
前文已经对待推荐玩家、任务偏好信息、群组特征、候选战队以及待预测战队分别进行过详细介绍,此处不再赘述。The recommended players, task preference information, group characteristics, candidate teams, and teams to be predicted have been introduced in detail above, so I won’t repeat them here.
针对该步骤,在处于活跃状态的候选战队中,若一个候选战队的群组特征与该任务偏好信息匹配,则该候选战队便为一个待预测战队。比如,假设该任务偏好信息为比赛模式,而若一个候选战队的群组特征指示该候选战队为比赛战队,则二者相互匹配。For this step, among the active candidate teams, if the group characteristics of a candidate team match the task preference information, then the candidate team is a team to be predicted. For example, suppose that the task preference information is a competition mode, and if the group feature of a candidate team indicates that the candidate team is a competition team, then the two match each other.
502、数据服务器基于已建立的群组预测模型,获取待推荐玩家加入待预测战队中每一个战队的概率,并按照概率值对待预测战队中包含的战队进行排序,得到待推荐玩家的第一战队推荐列表。502. Based on the established group prediction model, the data server obtains the probability of the player to be recommended joining each team in the team to be predicted, and sorts the teams included in the team to be predicted according to the probability value, and obtains the first team of the player to be recommended Recommended list.
在本发明实施例中,群组预测模型的输出为待推荐玩家加入待预测战队中每一个战队的概率。之后,数据服务器可按照输出的概率值对待预测战队中包含的战队进行排序,比如可按照概率值由大到小的顺序对待预测战队中的各个战队进行排列,本发明实施例对此不进行具体限定。需要说明的是,如果待预测战队的数目众多,则第一战队推荐列表中还可以包括部分战队,比如仅包括概率值最大的前5%或10%的战队,或者仅包括概率值大于一定阈值的战队,本发明实施例对此不进行具体限定。In the embodiment of the present invention, the output of the group prediction model is the probability that the player to be recommended joins each team in the team to be predicted. Afterwards, the data server can sort the teams contained in the teams to be predicted according to the output probability values. For example, the teams in the teams to be predicted can be arranged in descending order of the probability values. This embodiment of the present invention does not specifically discuss this limited. It should be noted that if there are a large number of teams to be predicted, some teams may also be included in the first team recommendation list, such as only including the top 5% or 10% teams with the highest probability value, or only including the teams whose probability value is greater than a certain threshold team, which is not specifically limited in this embodiment of the present invention.
之后,业务服务器以及数据服务器便可基于第一战队推荐列表向待推荐玩家进行群组推荐。即本发明还包括下述步骤503以及步骤504。Afterwards, the business server and the data server can make group recommendations to players to be recommended based on the first team recommendation list. That is, the present invention also includes the following steps 503 and 504 .
503、在获取到待推荐玩家对战队的推荐请求后,业务服务器从数据服务器拉取第一战队推荐列表,并将第一战队推荐列表发送至待推荐用户的终端。503. After obtaining the recommendation request of the player to be recommended for the team, the service server pulls the first team recommendation list from the data server, and sends the first team recommendation list to the terminal of the user to be recommended.
在本发明实施例中,可设置一个专用于进行推荐战队展示的推荐面板,当一个符合前述战队推荐条件的玩家查看推荐面板时,便将该玩家作为一个待推荐玩家,为其进行战队的推荐。需要说明的是,当该玩家查看推荐面板时,便会触发终端向业务服务器发送对战队的推荐请求,而业务服务器在接收到这样请求后,便会到数据服务器为待推荐用户拉取第一战队推荐列表。In the embodiment of the present invention, a recommendation panel dedicated to displaying the recommended team can be set up. When a player who meets the aforementioned team recommendation conditions views the recommendation panel, the player will be regarded as a player to be recommended, and the team will be recommended for him. . It should be noted that when the player checks the recommendation panel, it will trigger the terminal to send a recommendation request for the team to the business server, and after receiving such a request, the business server will go to the data server to pull the first recommendation for the user to be recommended. Team recommendation list.
504、待推荐用户的终端对第一战队推荐列表进行展示。504. The terminal of the user to be recommended displays the recommendation list of the first team.
其中,如果推荐面板的一个页面不能够对第一战队推荐列表中的全部战队进行展示,则还可以通过多个页面实现,本发明实施例对此不进行具体限定。比如第一战队推荐列表中包括20个战队,而一个页面上最多仅能够展示10个战队,那么可通过2个页面对这20个战队进行展示。比如,第一个页面上按照概率值由大到小的顺序展示概率值排在前10位的战队,第二个页面上按照概率值由大到小的顺序展示概率值排在后10位的战队。Wherein, if one page of the recommendation panel cannot display all the teams in the recommendation list of the first team, it can also be realized through multiple pages, which is not specifically limited in this embodiment of the present invention. For example, the first team recommendation list includes 20 teams, but only 10 teams can be displayed on one page at most, then the 20 teams can be displayed on 2 pages. For example, the first page displays the top 10 teams with probability values in descending order of probability values, and the second page displays the bottom 10 teams with probability values in descending order of probability values. clan.
在另一个实施例中,为了提升战队推荐的精准度,本发明实施例还包括对得到的第一战队推荐列表进行洗脸的过程。即参见图6,上述步骤502还可被下述步骤505以及步骤506替换。In another embodiment, in order to improve the accuracy of team recommendation, the embodiment of the present invention further includes a process of cleaning the obtained first team recommendation list. That is, referring to FIG. 6 , the above step 502 may also be replaced by the following steps 505 and 506 .
505、数据服务器在第一战队推荐列表中确定与待推荐玩家存在关联关系的指定战队,其中指定战队为包含目标玩家的战队,目标玩家为与待推荐玩家存在好友关系的玩家。505. The data server determines a designated team associated with the player to be recommended in the first team recommendation list, wherein the designated team is a team including the target player, and the target player is a player who has a friend relationship with the player to be recommended.
本步骤旨在寻找那些与待推荐玩家存在好友关系的战队,其中与待推荐玩家存在好友关系的战队,指代待推荐玩家的好友所在的那些战队,在寻找到这些战队后,本发明实施例会对上述得到的第一战队推荐列表中的战队排列顺序进行调整,优先展示与待推荐玩家存在好友关系的战队。具体调整过程请参见下述步骤506。This step aims to find those teams that have friendship relationships with the players to be recommended, wherein the teams that have friendship relationships with the players to be recommended refer to those teams that are friends of the players to be recommended. After finding these teams, the embodiment of the present invention will Adjust the ranking order of the teams in the first team recommendation list obtained above, and give priority to displaying teams that have a friend relationship with the player to be recommended. For the specific adjustment process, please refer to step 506 below.
506、数据服务器按照目标玩家数量由大到小的顺序,对指定战队中包含的战队进行排列顺序调整,并将经过排序调整后的指定战队置于第一战队推荐列表的顶部。506. The data server adjusts the order of the teams included in the designated team in descending order of the number of target players, and places the designated team after sorting and adjustment at the top of the first team recommendation list.
在本发明实施例中,对于上述指定战队,数据服务器会按照好友数量由大到小的顺序,对指定战队中包含的战队进行排列顺序的调整,之后将经过排序调整后的指定战队置于第一战队推荐列表的顶部,以保证优先展示和待推荐玩家存在好友关系的战队。In the embodiment of the present invention, for the above-mentioned specified teams, the data server will adjust the arrangement order of the teams contained in the specified teams according to the order of the number of friends from large to small, and then place the specified teams after sorting and adjustment in the first place. The top of the recommendation list of a team, to ensure that the team that has a friend relationship with the player to be recommended is displayed first.
其中,数据服务器在按照目标玩家数量由大到小的顺序,对指定战队中包含的战队进行排列顺序调整时,包括但不限于采取下述方式实现:若指定战队中包含好友数量一致的至少两个战队,则对于至少两个战队中的每一个战队,获取待推荐玩家与每一个战队中包含的好友的亲密度,并根据得到亲密度对至少两个战队进行排序。Among them, when the data server adjusts the arrangement order of the teams contained in the designated team according to the order of the number of target players from large to small, it includes but is not limited to the following methods: if the specified team contains at least two players with the same number of friends For each of the at least two teams, obtain the intimacy between the player to be recommended and the friends contained in each team, and sort the at least two teams according to the obtained intimacy.
在本发明实施例中,在好友数量相同的情况下,与好友的亲密度越高,对应的战队越优先进行展示。在另一个实施例中,除了上述方式外,还可按照活跃好友的数量来指导进行战队排序。其中,活跃好友与活跃玩家的概念类似,指代一个时间段内在线时长大于一个设定的阈值的好友。In the embodiment of the present invention, when the number of friends is the same, the higher the intimacy with the friends, the higher the priority for the corresponding team to display. In another embodiment, in addition to the above methods, the ranking of teams can also be guided according to the number of active friends. Among them, the concept of an active friend is similar to that of an active player, and refers to a friend whose online time is greater than a set threshold within a period of time.
其中,玩家与好友之间的亲密度可从多个方面来衡量,比如二者之间的基础信息是否相近,比如游戏时长或参赛次数或VIP等级是否相近、性别是否相同、是否互动过、是否共同参与过活动等,本发明实施例对此不进行具体限定。也即,亲密度反映了玩家与好友之间的亲密程度。通常情况下关系越亲密的好友对其产生的影响越大,所以将好友战队优先展示正是利用了这一特性。Among them, the intimacy between players and friends can be measured from many aspects, such as whether the basic information between the two is similar, such as whether the game duration or number of entries or VIP levels are similar, whether the gender is the same, whether they have interacted, whether Jointly participated in activities, etc., which are not specifically limited in this embodiment of the present invention. That is, the degree of intimacy reflects the degree of intimacy between the player and the friend. Usually, the closer the friends are, the greater the influence they will have on them, so the priority of displaying the friends' teams is to take advantage of this feature.
总结来说,在对好友所在的战队进行排序时,按照好友数量进行战队排序,对于好友数量相同的情况,则按照亲密度指导进行战队排序。To sum up, when sorting the teams of friends, the teams are sorted according to the number of friends. For the same number of friends, the teams are sorted according to the intimacy guide.
在对上述步骤502得到的第一战队推荐列表经过上述步骤505以及步骤506的处理后,便可得到最终的用于进行战队推荐的战队推荐列表,由于这个推荐列表是基于群组预测模型得到的,因此又可称之为模型推荐列表。After the first team recommendation list obtained in the above step 502 is processed in the above steps 505 and 506, the final team recommendation list for team recommendation can be obtained, because this recommendation list is obtained based on the group prediction model , so it can also be called the model recommendation list.
在另一个实施例中,本发明实施例除了获取上述模型推荐列表之外,当有玩家查看推荐面板时,业务服务器除了从数据服务器拉取上述模型推荐列表之外,另外还可按原有逻辑获取一个战队列表(称之为第二战队推荐列表)。其中,第二战队推荐列表是基于待推荐玩家是否符合战队加入条件筛选得到的。即,参见图7,在图6方案的基础上,本发明实施例还包括下述步骤507至步骤510。In another embodiment, in addition to obtaining the above-mentioned model recommendation list in the embodiment of the present invention, when a player views the recommendation panel, the business server can pull the above-mentioned model recommendation list from the data server, and can also follow the original logic Get a list of teams (call it the second recommended list of teams). Wherein, the second team recommendation list is obtained by screening based on whether the players to be recommended meet the team joining conditions. That is, referring to FIG. 7 , on the basis of the scheme in FIG. 6 , this embodiment of the present invention further includes the following steps 507 to 510 .
507、在获取到待推荐玩家对战队的推荐请求后,业务服务器获取待推荐玩家的第二群组推荐列表。507. After obtaining the recommendation request from the player to be recommended to the team, the service server obtains a second group recommendation list of the player to be recommended.
508、若经过排序调整处理后的第一战队推荐列表以及第二战队推荐列表中存在重复的战队,则业务服务器在第二战队推荐列表中将重复的战队过滤掉。508. If there are duplicate teams in the first team recommendation list and the second team recommendation list after sorting and adjustment processing, the service server filters out the duplicate teams in the second team recommendation list.
本步骤的目的在于对第一战队推荐列表以及第二战队推荐列表进行过滤排重,若一个战队在两个战队推荐列表中均出现了,那么将其在第二战队推荐列表中删除。The purpose of this step is to filter and rank the first team recommendation list and the second team recommendation list. If a team appears in both team recommendation lists, it will be deleted from the second team recommendation list.
接下来,业务服务器便可基于第一战队推荐列表以及经过过滤去重后的第二战队推荐列表,向待推荐玩家进行战队推荐。Next, the service server can recommend a team to the player to be recommended based on the first team recommendation list and the second team recommendation list after filtering and deduplication.
需要说明的是,上述过滤排重的步骤既可以由业务服务器完成,也可以由数据服务器完成,本发明实施例对此不进行具体限定。It should be noted that the above steps of filtering and deduplication can be completed by the service server or the data server, which is not specifically limited in this embodiment of the present invention.
509、业务服务器将经过排序调整处理后的第一战队推荐列表以及经过过滤去重后的第二战队推荐列表发送至待推荐玩家的终端。509. The service server sends the first team recommendation list after sorting and adjustment processing and the second team recommendation list after filtering and deduplication to the terminal of the player to be recommended.
510、待推荐用户的终端按照战队的排列顺序,对经过排序调整处理后的第一战队推荐列表以及经过过滤去重后的第二战队推荐列表进行交叉排序展示。510. The terminal of the user to be recommended cross-sorts and displays the recommended list of the first team after sorting and adjustment processing and the recommended list of the second team after filtering and deduplication according to the order of the teams.
按照战队的排列顺序的含义是,对于来自于同一战队推荐列表的各个战队来说,虽然由于交叉排序展示可能将各个战队原有的顺序打破,但是在整体上来看,散落在推荐面板不同页面上的各个战队还是按照概率值由大到小的顺序进行排序的。The meaning of the order of the teams is that, for each team from the same team recommendation list, although the original order of each team may be broken due to the cross-sort display, on the whole, they are scattered on different pages of the recommendation panel The teams are still sorted in descending order of probability value.
在本发明实施例中,如图8所示,在推荐面板里可按照下述方式进行战队展示:每个页面上N个来自于第一战队推荐列表的战队以及N个来自于第二战队推荐列表的战队。以N的取值为5为例,则来自于第一战队推荐列表的战队a1至a5可占据1、3、5、7、9位,而来自于第二战队推荐列表的战队b1至b5可占据2、4、6、8、10位。当然,除了这种展示方式外,还可采取其他展示方式,本发明实施例对此不进行具体限定。In the embodiment of the present invention, as shown in FIG. 8 , the teams can be displayed in the following manner in the recommendation panel: N teams from the first team recommendation list and N teams from the second team recommendation list on each page List of clans. Taking the value of N as 5 as an example, teams a1 to a5 from the first team recommendation list can occupy positions 1, 3, 5, 7, and 9, while teams b1 to b5 from the second team recommendation list can occupy Occupies 2, 4, 6, 8, 10 positions. Of course, in addition to this display manner, other display manners may also be adopted, which is not specifically limited in this embodiment of the present invention.
在另一个实施例中,上述步骤507至步骤510所示的方案还可与图5所示方案进行结合,具体过程与图7所示结合方案类似,此处不再赘述。In another embodiment, the solutions shown in steps 507 to 510 above can also be combined with the solution shown in FIG. 5 , and the specific process is similar to the combined solution shown in FIG. 7 , which will not be repeated here.
在另一个实施例中,无论是针对上述图5、图6还是图7所示方案来说,在向玩家进行战队推荐后,本发明实施例均还包括基于玩家日志对群组预测模型进行优化(也可称之为更新)的过程。如图9所示,这个模型优化过程主要包括下述三个步骤。In another embodiment, no matter for the solutions shown in Figure 5, Figure 6 or Figure 7 above, after recommending teams to players, the embodiments of the present invention also include optimizing the group prediction model based on player logs (Also called update) process. As shown in Figure 9, this model optimization process mainly includes the following three steps.
901、数据服务器收集待推荐玩家的玩家日志,玩家日志记录了推荐的战队的曝光情况以及待推荐玩家对推荐的战队执行的操作。901. The data server collects the player logs of the players to be recommended, and the player logs record the exposure of the recommended team and the operations performed by the players to be recommended on the recommended team.
其中,玩家日志具体是由玩家的终端进行收集并上报至业务服务器,而后再由业务服务器上报至数据服务器。其中,玩家日志的收集也可周期性进行,比如一个星期一次,本发明实施例对此不进行具体限定。在本发明实施例中,对推荐的战队执行的操作可包括点击一个战队(即玩家申请一个战队)、鼠标指针或者光标或者操作点悬浮于一个展示的战队上、玩家申请一个战队并通过,本发明实施例对此不进行具体限定。其中,一个战队在推荐面板展示了,便可称之为该战队被曝光。而玩家在申请一个战队后,通常情况下还需要战队的管理员进行审批,仅在审批通过后该玩家才能加入这个战队。Wherein, the player log is specifically collected by the player's terminal and reported to the service server, and then reported to the data server by the service server. Wherein, the collection of player logs may also be performed periodically, such as once a week, which is not specifically limited in this embodiment of the present invention. In the embodiment of the present invention, the operation performed on the recommended team may include clicking on a team (that is, the player applies for a team), the mouse pointer or cursor or the operation point hovering over a displayed team, the player applies for a team and passes, this The embodiment of the invention does not specifically limit this. Among them, if a team is displayed on the recommendation panel, it can be said that the team has been exposed. After a player applies for a team, usually the administrator of the team needs to approve it. Only after the approval is passed, the player can join the team.
902、数据服务器根据玩家日志对用于进行群组预测模型训练的正例样本以及负例样本进行更新。902. The data server updates the positive samples and negative samples used for group prediction model training according to the player log.
这个步骤可用于对前文所述的正例样本以及负例样本进行标签矫正,进而使得正例样本以及负例样本的样本纯净度更高;还可以扩充正例样本或负例样本中的样本数量。This step can be used to correct the labels of the positive samples and negative samples mentioned above, so that the sample purity of positive samples and negative samples is higher; it can also expand the number of samples in positive samples or negative samples .
903、数据服务器基于更新后的正例样本以及更新后的负例样本,优化群组预测模型。903. The data server optimizes the group prediction model based on the updated positive samples and the updated negative samples.
初始得到的群组预测模型可能不是很精准,但是在基于这一模型进行战队推荐后,再基于收集到的玩家日志反过来指导模型优化,可以使得模型的精度越来越高。且时间越长,得到的模型的精准度越高。The initial group prediction model may not be very accurate, but after recommending teams based on this model, and then guiding the model optimization based on the collected player logs, the accuracy of the model can be made higher and higher. And the longer the time, the higher the accuracy of the obtained model.
下面结合图10所示的战队推荐流程,对本发明实施例提供的战队推荐过程进行一下总结简述。In the following, the team recommendation process provided by the embodiment of the present invention will be briefly described in conjunction with the team recommendation process shown in FIG. 10 .
(a)、数据侧每周筛选1个月内的待推荐玩家和候选战队,作为候选集。(a) The data side screens players to be recommended and candidate teams within one month every week as a candidate set.
(b)、对于每一个待推荐玩家,数据侧在候选战队中为其进行待预测战队的选取。(b) For each player to be recommended, the data side selects the team to be predicted from among the candidate teams.
(c)、数据侧利用已建立的群组预测模型,获取每一个待推荐玩家加入待预测战队中每一个战队的概率。(c) The data side uses the established group prediction model to obtain the probability of each player to be recommended joining each team in the team to be predicted.
(d)、数据侧基于概率值对待预测战队中每一个战队进行排序,并优先展示与待推荐玩家有好友关系的战队,得到模型推荐列表。(d) On the data side, each team in the predicted team is sorted based on the probability value, and the team that has a friend relationship with the player to be recommended is displayed first, and the model recommendation list is obtained.
(e)、玩家查看推荐面板,业务侧按照原有逻辑进行原有推荐列表的获取。(e) The player checks the recommendation panel, and the business side obtains the original recommendation list according to the original logic.
(f)、业务侧拉取模型推荐列表,并对模型推荐列表以及原有推荐列表进行过滤排重处理。(f) The business side pulls the model recommendation list, and performs filtering and deduplication processing on the model recommendation list and the original recommendation list.
(g)、业务侧将模型推荐列表以及经过过滤排重处理后的原有推荐列表发送至终端。(g) The business side sends the model recommendation list and the original recommendation list after filtering and sorting to the terminal.
(h)、终端按照N个来自于模型推荐列表的战队以及N个来自于原有推荐列表的战队,在推荐面板的至少一个页面上进行战队展示。(h) The terminal displays the teams on at least one page of the recommendation panel according to the N teams from the model recommendation list and the N teams from the original recommendation list.
(i)、终端统计玩家执行的操作,包括点击、悬浮等,得到玩家日志。(i), the terminal counts the operations performed by the player, including clicking, hovering, etc., and obtains the player log.
(j)、业务侧将收集到的玩家日志周期性地反馈给数据侧。(j) The business side periodically feeds back the collected player logs to the data side.
(k)、数据侧根据收集到的玩家日志优化群组预测模型。(k), the data side optimizes the group prediction model according to the collected player logs.
需要说明的第一点是,由于本发明实施例利用机器学习模型,结合玩家的游戏玩法偏好以及战队特色进行战队推荐,所以在玩家加入某一个进过群组预测模型推荐的战队后,其次留率/周留率均会优于原有逻辑,且在线时长以及活跃天数也要优于原有逻辑。其中,玩家一天的在线时长超过一定阈值,可确定该天为一个活跃天。需要说明的第二点是,在推荐面板进行推荐的战队展示时,可按照奇数位展示来自于经过群组预测模型推荐的战队,偶数位来自于经过原有逻辑推荐的战队。The first point that needs to be explained is that since the embodiment of the present invention uses a machine learning model to recommend a team in combination with the player's gameplay preferences and team characteristics, after the player joins a team that has been recommended by the group prediction model, the next step is to stay The rate/weekly retention rate will be better than the original logic, and the online time and active days will also be better than the original logic. Wherein, if the player's online time in one day exceeds a certain threshold, it can be determined that the day is an active day. The second point that needs to be explained is that when displaying the recommended teams on the recommendation panel, the odd-numbered positions can be displayed from the teams recommended by the group prediction model, and the even-numbered positions can be from the teams recommended by the original logic.
本发明实施例提供的方法,实现了利用机器学习模型,结合玩家的游戏玩法偏好以及战队特色为玩家进行战队推荐,不但丰富了推荐方式,使得战队推荐更具个性化,而且大大提升了推荐精准度,不但使得玩家通过战队申请的概率得以提升,而且玩家在加入推荐的战队后也更要活跃,用户体验度较高。The method provided by the embodiment of the present invention realizes team recommendation for the player by using the machine learning model combined with the player's gameplay preference and team characteristics, which not only enriches the recommendation methods, makes the team recommendation more personalized, but also greatly improves the accuracy of the recommendation Not only does it increase the probability of players applying through the team, but also the players are more active after joining the recommended team, and the user experience is higher.
另外,本发明实施例在进行战队推荐时,除了上述推荐方式外,还可结合原有逻辑进行战队推荐,以使得推荐面板上交叉展示来自于两种不同推荐模式预测的战队,大大地提升了战队推荐的灵活性,更加智能化。In addition, in the embodiment of the present invention, when recommending teams, in addition to the above-mentioned recommendation methods, team recommendations can also be combined with the original logic, so that teams from two different recommendation modes are cross-displayed on the recommendation panel, which greatly improves The flexibility of team recommendation is more intelligent.
图11是本发明实施例提供的一种群组推荐装置的结构示意图。参见图11,该装置包括:Fig. 11 is a schematic structural diagram of a group recommendation device provided by an embodiment of the present invention. Referring to Figure 11, the device includes:
第一获取模块1101,用于对于每一个待推荐用户,获取待推荐用户的任务偏好信息;The first acquiring module 1101 is configured to acquire task preference information of the user to be recommended for each user to be recommended;
筛选模块1102,用于在处于活跃状态的候选群组中,根据所述任务偏好信息以及所述候选群组的群组特征,筛选出与所述待推荐用户匹配的待预测群组;A screening module 1102, configured to, among candidate groups in an active state, filter out a group to be predicted that matches the user to be recommended according to the task preference information and the group characteristics of the candidate group;
第二获取模块1103,用于获取待推荐用户加入所述待预测群组中每一个群组的概率;The second obtaining module 1103 is used to obtain the probability that the user to be recommended joins each group in the group to be predicted;
排序模块1104,用于按照概率值对所述待预测群组中包含的群组进行排序,得到所述待推荐用户的第一群组推荐列表;A sorting module 1104, configured to sort the groups contained in the to-be-predicted group according to the probability value, and obtain the first group recommendation list of the to-be-recommended user;
推荐模块1105,用于基于第一群组推荐列表向所述待推荐用户进行群组推荐。A recommending module 1105, configured to recommend groups to the user to be recommended based on the first group recommendation list.
在另一个实施例中,所述第一群组推荐列表中的群组按照概率值由大到小的顺序排列,推荐模块1105,用于在所述第一群组推荐列表中确定与所述待推荐用户存在关联关系的指定群组,所述指定群组为包含目标用户的群组,所述目标用户为与所述待推荐用户存在关联关系的用户;按照群组中目标用户数量由大到小的顺序,对所述指定群组中包含的群组进行排列顺序调整;将经过排序调整后的指定群组置于所述第一群组推荐列表的顶部;基于经过排序调整处理后的第一群组推荐列表,向所述待推荐用户进行群组推荐。In another embodiment, the groups in the first group recommendation list are arranged in descending order according to the probability value, and the recommendation module 1105 is configured to determine in the first group recommendation list the A specified group that has an association relationship with the user to be recommended, the specified group is a group that includes the target user, and the target user is a user that has an association relationship with the user to be recommended; according to the number of target users in the group, the to the smallest order, adjust the order of the groups contained in the specified group; place the specified group after sorting adjustment on the top of the first group recommendation list; based on the sorting adjustment process The first group recommendation list is used to make group recommendations to the user to be recommended.
在另一个实施例中,推荐模块1105,用于若所述指定群组中包含目标用户数量一致的至少两个群组,则对于所述至少两个群组中的每一个群组,获取所述待推荐用户与所述群组中包含的目标用户的亲密度;根据所述亲密度对所述至少两个群组进行排序。In another embodiment, the recommending module 1105 is configured to, if the specified group contains at least two groups with the same number of target users, then for each of the at least two groups, obtain the The degree of intimacy between the user to be recommended and the target user included in the group is stated; and the at least two groups are sorted according to the degree of intimacy.
在另一个实施例中,筛选模块1102,还用于筛选在第一时间段内处于活跃状态且未加入任一群组的用户,得到所述待推荐用户;或,筛选在所述第一时间段内已加入群组但已加入的群组为非活跃群组的用户,得到所述待推荐用户;筛选在所述第一时间段内处于活跃状态且存在空位的群组,得到所述候选群组。In another embodiment, the screening module 1102 is also used to screen users who are active within the first time period and have not joined any group to obtain the users to be recommended; or, screen the users within the first time period The user who has joined the group but the joined group is an inactive group obtains the user to be recommended; screens the groups that are active within the first time period and has vacancies to obtain the candidate group .
在另一个实施例中,所述第二获取模块1103,用于基于已建立的群组预测模型,获取所述待推荐用户加入所述待预测群组中每一个群组的概率。In another embodiment, the second obtaining module 1103 is configured to obtain the probability that the user to be recommended joins each group in the group to be predicted based on the established group prediction model.
在另一个实施例中,参见图12,该装置还包括:In another embodiment, referring to Figure 12, the device further includes:
训练模块1106,用于将在第二时间段内已加入群组的第一用户以及已加入的群组作为正例样本;对于在第二时间段内处于活跃状态且未加入任一群组的第二用户,在所述正例样本中随机为所述第二用户匹配至少一个群组,得到负例样本;获取所述正例样本的第一特征信息,并获取所述负例样本的第二特征信息;基于所述第一特征信息和所述第二特征信息进行模型训练,得到所述群组预测模型。The training module 1106 is used to use the first user who has joined the group and the group that has joined in the second time period as positive samples; for the second user who is active in the second time period and has not joined any group The user randomly matches at least one group for the second user in the positive sample to obtain a negative sample; obtains the first feature information of the positive sample, and obtains the second feature of the negative sample information; performing model training based on the first feature information and the second feature information to obtain the group prediction model.
在另一个实施例中,训练模块1106,还用于对于所述正例样本中的每一个样本,获取所述样本中第一用户的第一用户简介信息;获取所述样本中包含的群组的第一群组简介信息以及所述群组内成员用户的第一成员简介信息;将所述第一用户简介信息、所述第一群组简介信息以及所述第一成员简介信息进行特征信息交叉处理,得到第一交叉特征信息;将所述第一群组简介信息、所述第一用户简介信息、所述第一成员简介信息以及所述第一交叉特征信息中的连续特征信息进行分桶处理;将经过分桶处理后的特征信息以及除了所述连续特征信息之外的离散特征信息进行一位有效编码,得到所述样本的特征信息。In another embodiment, the training module 1106 is further configured to, for each sample in the positive sample, obtain the first user profile information of the first user in the sample; obtain the group information contained in the sample The first group profile information and the first member profile information of the member users in the group; the feature information of the first user profile information, the first group profile information and the first member profile information Crossover processing to obtain first crossover feature information; classify continuous feature information in the first group profile information, the first user profile information, the first member profile information, and the first cross feature information Bucket processing: performing one-bit effective encoding on the feature information after the bucketing process and the discrete feature information except the continuous feature information to obtain the feature information of the sample.
在另一个实施例中,训练模块1106,还用于对于所述负例样本中的每一个样本,获取所述样本中第二用户的第二用户简介信息;获取所述样本中包含的群组的第二群组简介信息以及所述群组内成员用户的第二成员简介信息;将所述第二用户简介信息、所述第二群组简介信息以及所述第二成员简介信息进行特征信息交叉处理,得到第二交叉特征信息;将所述第二群组简介信息、所述第二用户简介信息、所述第二成员简介信息以及所述第二交叉特征信息中的连续特征信息进行分桶处理;将经过分桶处理后的特征信息以及除了所述连续特征信息之外的离散特征信息进行一位有效编码,得到所述样本的特征信息。In another embodiment, the training module 1106 is further configured to, for each sample in the negative sample, obtain the second user profile information of the second user in the sample; obtain the group information contained in the sample The second group profile information and the second member profile information of the member users in the group; the feature information of the second user profile information, the second group profile information and the second member profile information Cross process to obtain second cross feature information; classify the second group profile information, the second user profile information, the second member profile information, and the continuous feature information in the second cross feature information Bucket processing: performing one-bit effective encoding on the feature information after the bucketing process and the discrete feature information except the continuous feature information to obtain the feature information of the sample.
在另一个实施例中,推荐模块1105,用于获取所述待推荐用户的第二群组推荐列表,所述第二群组推荐列表是基于所述待推荐用户是否符合群组加入条件筛选得到的;若所述第一群组推荐列表以及所述第二群组推荐列表中存在重复的群组,则在所述第二群组推荐列表中将所述重复的群组过滤掉;基于所述第一群组推荐列表以及经过过滤去重后的第二群组推荐列表,向所述待推荐用户进行群组推荐。In another embodiment, the recommendation module 1105 is configured to obtain a second group recommendation list of the user to be recommended, the second group recommendation list is obtained based on whether the user to be recommended meets the group joining conditions if there are duplicate groups in the first group recommendation list and the second group recommendation list, then filter out the duplicate groups in the second group recommendation list; based on the The first group recommendation list and the second group recommendation list after filtering and deduplication are used to make group recommendations to the user to be recommended.
在另一个实施例中,推荐模块1105,用于在获取到群组的推荐请求后,将所述第一群组推荐列表以及经过过滤去重后的第二群组推荐列表发送至所述待推荐用户的终端,以使所述终端按照群组的排列顺序,以交叉排序的方式将所述第一群组推荐列表以及所述第二群组推荐列表中包含的群组在推荐界面上进行展示。In another embodiment, the recommendation module 1105 is configured to send the first group recommendation list and the filtered and deduplicated second group recommendation list to the waiting list after obtaining the group recommendation request. Recommending the user's terminal, so that the terminal lists the groups contained in the first group recommendation list and the second group recommendation list on the recommendation interface in a cross-sorted manner according to the arrangement order of the groups exhibit.
在另一个实施例中,参见图13,该装置还包括:In another embodiment, referring to Fig. 13, the device further includes:
收集模块1107,用于收集所述待推荐用户的用户日志,所述用户日志记录了推荐的群组的曝光情况以及所述待推荐用户对推荐的群组执行的操作;A collection module 1107, configured to collect the user log of the user to be recommended, the user log records the exposure of the recommended group and the operations performed by the user to be recommended on the recommended group;
更新模块1108,用于根据所述用户日志对用于进行所述群组预测模型训练的正例样本以及负例样本进行更新;An update module 1108, configured to update the positive samples and negative samples used for the group prediction model training according to the user log;
训练模块1106,用于基于更新后的正例样本以及更新后的负例样本,优化所述群组预测模型。The training module 1106 is configured to optimize the group prediction model based on the updated positive samples and the updated negative samples.
本发明实施例提供的装置,实现了利用机器学习模型,结合玩家的游戏玩法偏好以及战队特色为玩家进行战队推荐,不但丰富了推荐方式,使得战队推荐更具个性化,而且大大提升了推荐精准度,不但使得玩家通过战队申请的概率得以提升,而且玩家在加入推荐的战队后也更要活跃,用户体验度较高。The device provided by the embodiment of the present invention realizes team recommendation for the player by using the machine learning model combined with the player's gameplay preference and team characteristics, which not only enriches the recommendation methods, makes the team recommendation more personalized, but also greatly improves the accuracy of the recommendation. Not only does it increase the probability of players applying through the team, but also the players are more active after joining the recommended team, and the user experience is higher.
另外,本发明实施例在进行战队推荐时,除了上述推荐方式外,还可结合原有逻辑进行战队推荐,以使得推荐面板上交叉展示来自于两种不同推荐模式预测的战队,大大地提升了战队推荐的灵活性,更加智能化。In addition, in the embodiment of the present invention, when recommending teams, in addition to the above-mentioned recommendation methods, team recommendations can also be combined with the original logic, so that teams from two different recommendation modes are cross-displayed on the recommendation panel, which greatly improves The flexibility of team recommendation is more intelligent.
需要说明的是:上述实施例提供的群组推荐装置在进行群组推荐时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的群组推荐装置与群组推荐方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the group recommendation device provided in the above embodiment performs group recommendation, it only uses the division of the above functional modules as an example for illustration. In practical applications, the above functions can be assigned to different functional modules according to needs. To complete means to divide the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the group recommendation device provided in the above embodiments is based on the same concept as the group recommendation method embodiment, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.
图14是根据一示例性实施例示出的一种用于群组推荐的服务器的结构示意图,该服务器可以用于实施上述任一示例性实施例示出的群组推荐方法。具体来讲:参见图14,该服务器1400可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(Central Processing Unit,CPU)1422(例如,一个或一个以上处理器)和存储器1432,一个或一个以上存储应用程序1442或数据1444的存储介质1430(例如一个或一个以上海量存储设备)。其中,存储器1432和存储介质1430可以是短暂存储或持久存储。存储在存储介质1430的程序可以包括一个或一个以上模块(图示没标出)。Fig. 14 is a schematic structural diagram of a server for group recommendation according to an exemplary embodiment, and the server may be used to implement the group recommendation method shown in any of the foregoing exemplary embodiments. Specifically: referring to FIG. 14, the server 1400 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (Central Processing Unit, CPU) 1422 (for example, one or more processors ) and memory 1432, one or more storage media 1430 (such as one or more mass storage devices) for storing application programs 1442 or data 1444. Wherein, the memory 1432 and the storage medium 1430 may be temporary storage or persistent storage. The program stored in the storage medium 1430 may include one or more modules (not shown in the figure).
服务器1400还可以包括一个或一个以上电源1428,一个或一个以上有线或无线网络接口1450,一个或一个以上输入输出接口1458,和/或,一个或一个以上操作系统1441,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。所述存储器1432中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现上述实施例所述的群组推荐方法。The server 1400 can also include one or more power supplies 1428, one or more wired or wireless network interfaces 1450, one or more input and output interfaces 1458, and/or, one or more operating systems 1441, such as Windows Server™, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc. At least one instruction, at least one section of program, code set or instruction set is stored in the memory 1432, and the at least one instruction, the at least one section of program, the code set or instruction set are loaded and executed by the processor to realize the above implementation The group recommendation method described in the example.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
Claims (14)
- A kind of 1. group recommending method, it is characterised in that the described method includes:For each user to be recommended, the task preference information of the acquisition user to be recommended;It is special according to the group of the task preference information and the candidate group in the candidate group in active state Sign, filters out and the matched group to be predicted of user to be recommended;Obtain the probability that the user to be recommended adds each group in the group to be predicted;The group included in the group to be predicted is ranked up according to probable value, obtains first group of the user to be recommended Group recommendation list;Group's recommendation is carried out to the user to be recommended based on first group recommendation list.
- 2. according to the method described in claim 1, it is characterized in that, the group in first group recommendation list is according to probability It is worth descending order arrangement, it is described to be pushed away based on first group recommendation list to user's progress group to be recommended Recommend, including:Determine that there are the designated group of incidence relation, the finger with the user to be recommended in first group recommendation list Grouping group is the group comprising targeted customer, and the targeted customer is the user with the user to be recommended there are incidence relation;According to the order that targeted customer's quantity in group is descending, the group included in the designated group arrange suitable Sequence adjusts;Designated group after sequence adjusts is placed in the top of first group recommendation list;Based on first group's recommendation list after sequence adjustment processing, group's recommendation is carried out to the user to be recommended.
- 3. according to the method described in claim 2, it is characterized in that, the order descending according to targeted customer's quantity, The adjustment that puts in order is carried out to the group included in the designated group, including:If comprising at least two groups that targeted customer's quantity is consistent in the designated group, at least two group In each group, obtain the user to be recommended and the cohesion of the targeted customer included in the group;At least two group is ranked up according to the cohesion.
- 4. according to the method described in claim 1, it is characterized in that, the method further includes:Screening does not add in active state and the user of any group in first time period, obtains the user to be recommended; Or, the user that screening has added group in the first time period but added group is inactive group, obtain described User to be recommended;Screening, in active state and there are the group in room, obtains the candidate group in the first time period.
- 5. according to the method described in claim 1, it is characterized in that, acquisition user's addition to be recommended is described to be predicted The probability of each group in group, including:Based on established group's prediction model, obtain the user to be recommended and add each group in the group to be predicted Probability.
- 6. according to the method described in claim 5, it is characterized in that, the method further includes:Using added in second time period group the first user and added group as positive example sample;For being in active state in the second time period and not adding the second user of any group, in the positive example sample At least one group is matched for the second user at random in this, obtains negative example sample;The fisrt feature information of the positive example sample is obtained, and obtains the second feature information of the negative example sample;Model training is carried out based on the fisrt feature information and the second feature information, obtains group's prediction model.
- 7. according to the method described in claim 6, it is characterized in that, the fisrt feature information for obtaining the positive example sample, Including:For each sample in the positive example sample, the first profile information of the first user in the sample is obtained;Obtain the first one-tenth of Member Users in the first group's profile information and the group of the group included in the sample Member's profile information;First profile information, first group profile information and first membership profile information are carried out special Reference ceases cross processing, obtains the first cross feature information;By first group profile information, first profile information, first membership profile information and described Continuous characteristic information in first cross feature information carries out a point bucket and handles;Characteristic information after the processing of undue bucket and the discrete features information in addition to the continuous characteristic information are carried out One efficient coding, obtains the characteristic information of the sample.
- 8. according to the method described in claim 6, it is characterized in that, the second feature information for obtaining the negative example sample, Including:For each sample in the negative example sample, the second user profile information of second user in the sample is obtained;Obtain the second one-tenth of Member Users in the second group's profile information and the group of the group included in the sample Member's profile information;The second user profile information, second group profile information and second membership profile information are carried out special Reference ceases cross processing, obtains the second cross feature information;By second group profile information, the second user profile information, second membership profile information and described Continuous characteristic information in second cross feature information carries out a point bucket and handles;Characteristic information after the processing of undue bucket and the discrete features information in addition to the continuous characteristic information are carried out One efficient coding, obtains the characteristic information of the sample.
- 9. the method according to any claim in claim 1 to 8, it is characterised in that described to be based on described first group Group recommendation list carries out group's recommendation to the user to be recommended, including:Second group's recommendation list of the user to be recommended is obtained, second group recommendation list is based on described to be recommended Whether user, which meets group, adds what conditional filtering obtained;If there is the group repeated in first group recommendation list and second group recommendation list, described the The group of the repetition is filtered out in two group's recommendation lists;Second group's recommendation list based on first group recommendation list and after filtering duplicate removal, to described to be recommended User carries out group's recommendation.
- 10. the method according to right wants 9, it is characterised in that described to be based on first group recommendation list and process Second group's recommendation list after duplicate removal is filtered, group's recommendation is carried out to the user to be recommended, including:After the recommendation request of group is got, by first group recommendation list and second group after filtering duplicate removal Group recommendation list is sent to the terminal of the user to be recommended, so that the terminal putting in order according to group, to intersect row Interface is being recommended by the mode of sequence by the group included in first group recommendation list and second group recommendation list On be shown.
- 11. the method according to any claim in claim 1 to 8, it is characterised in that the method further includes:The user journal of the user to be recommended is collected, the user journal have recorded exposure status and the institute of the group of recommendation State the operation that user to be recommended performs the group of recommendation;According to the user journal to for carrying out positive example sample and the progress of negative example sample that group's prediction model is trained Renewal;Based on the positive example sample after renewal and the negative example sample after renewal, optimize group's prediction model.
- 12. a kind of group's recommendation apparatus, it is characterised in that described device includes:First acquisition module, for for each user to be recommended, the task preference information of the acquisition user to be recommended;Screening module, in the candidate group in active state, according to the task preference information and the candidate The group characteristics of group, filter out and the matched group to be predicted of user to be recommended;Second acquisition module, the probability of each group in the group to be predicted is added for obtaining the user to be recommended;Sorting module, for being ranked up the group included in the group to be predicted according to probable value, obtains described waiting to push away Recommend first group's recommendation list of user;Recommending module, for carrying out group's recommendation to the user to be recommended based on first group recommendation list.
- A kind of 13. storage medium, it is characterised in that be stored with the storage medium at least one instruction, at least one section of program, Code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction set are by the processing Device is loaded and performed to realize the group recommending method as described in any claim in claim 1 to 11.
- 14. a kind of server recommended for group, it is characterised in that the server includes processor and memory, described At least one instruction, at least one section of program, code set or instruction set are stored with memory, described at least one instructs, is described At least one section of program, the code set or instruction set is loaded by the processor and performed to realize as in claim 1 to 11 Group recommending method described in any claim.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711168488.9A CN107977411B (en) | 2017-11-21 | 2017-11-21 | Group recommendation method, device, storage medium and server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711168488.9A CN107977411B (en) | 2017-11-21 | 2017-11-21 | Group recommendation method, device, storage medium and server |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107977411A true CN107977411A (en) | 2018-05-01 |
| CN107977411B CN107977411B (en) | 2021-12-14 |
Family
ID=62010919
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711168488.9A Active CN107977411B (en) | 2017-11-21 | 2017-11-21 | Group recommendation method, device, storage medium and server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107977411B (en) |
Cited By (29)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108768982A (en) * | 2018-05-17 | 2018-11-06 | 江苏通付盾信息安全技术有限公司 | Detection method, device, computing device and the computer storage media of fishing website |
| CN108830478A (en) * | 2018-06-12 | 2018-11-16 | 北京航空航天大学 | A kind of team's recommended method towards the processing of crowdsourcing task |
| CN108932069A (en) * | 2018-07-11 | 2018-12-04 | 科大讯飞股份有限公司 | Input method candidate entry determines method, apparatus, equipment and readable storage medium storing program for executing |
| CN108958247A (en) * | 2018-07-02 | 2018-12-07 | 深圳市益鑫智能科技有限公司 | A kind of guided robot |
| CN109063104A (en) * | 2018-07-27 | 2018-12-21 | 百度在线网络技术(北京)有限公司 | Method for refreshing, device, storage medium and the terminal device of recommendation information |
| CN109086787A (en) * | 2018-06-06 | 2018-12-25 | 平安科技(深圳)有限公司 | User's portrait acquisition methods, device, computer equipment and storage medium |
| CN109272366A (en) * | 2018-10-15 | 2019-01-25 | 拉扎斯网络科技(上海)有限公司 | Order data processing method and device |
| CN109547225A (en) * | 2018-10-30 | 2019-03-29 | 咪咕互动娱乐有限公司 | Group multiplexing method, device and storage medium |
| CN110772796A (en) * | 2018-07-30 | 2020-02-11 | 优视科技有限公司 | Team forming method and device and electronic equipment |
| CN110955821A (en) * | 2018-09-25 | 2020-04-03 | 北京搜狗科技发展有限公司 | Recommendation method and device and readable medium |
| CN110968578A (en) * | 2018-09-28 | 2020-04-07 | 中建水务环保有限公司 | Sewage treatment process recommendation method and device |
| CN110990723A (en) * | 2019-12-23 | 2020-04-10 | 上海米哈游天命科技有限公司 | Friend recommendation method, device, equipment and storage medium |
| CN111130992A (en) * | 2019-11-22 | 2020-05-08 | 北京达佳互联信息技术有限公司 | Group recommendation method, device, electronic device and storage medium |
| CN111262712A (en) * | 2018-12-03 | 2020-06-09 | 北京嘀嘀无限科技发展有限公司 | Group recommendation method, recommendation device, terminal, server and storage medium |
| CN111259119A (en) * | 2018-11-30 | 2020-06-09 | 北京嘀嘀无限科技发展有限公司 | Question recommendation method and device |
| CN111695680A (en) * | 2020-06-15 | 2020-09-22 | 北京百度网讯科技有限公司 | Score prediction method, score prediction model training device and electronic equipment |
| CN111888769A (en) * | 2020-08-11 | 2020-11-06 | 网易(杭州)网络有限公司 | Group recommendation method and device, electronic equipment and storage medium |
| CN112559902A (en) * | 2020-12-15 | 2021-03-26 | 广州市贺氏办公设备有限公司 | Community member ranking method, system, device and medium |
| CN113171617A (en) * | 2021-04-22 | 2021-07-27 | 网易(杭州)网络有限公司 | Information processing method and device in game and electronic equipment |
| CN113300935A (en) * | 2020-09-15 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Group processing method, terminal device, server device and storage medium |
| WO2021163856A1 (en) * | 2020-02-17 | 2021-08-26 | 深圳市欢太科技有限公司 | Content pushing method and apparatus, and server and storage medium |
| WO2021164619A1 (en) * | 2020-02-19 | 2021-08-26 | 北京达佳互联信息技术有限公司 | Group display method and device |
| CN113592342A (en) * | 2021-08-10 | 2021-11-02 | 平安银行股份有限公司 | Task processing method, device and equipment based on big data and storage medium |
| CN113730921A (en) * | 2021-09-17 | 2021-12-03 | 腾讯科技(深圳)有限公司 | Virtual organization recommendation method and device, storage medium and electronic equipment |
| CN113779391A (en) * | 2021-09-02 | 2021-12-10 | 广东好太太智能家居有限公司 | Intelligent lock unlocking recommendation method, system and device based on modeling and storage medium |
| CN114733208A (en) * | 2022-04-07 | 2022-07-12 | 网易(杭州)网络有限公司 | Game team recommendation method, game team recommendation device, server, and storage medium |
| CN114765624A (en) * | 2020-12-31 | 2022-07-19 | 北京达佳互联信息技术有限公司 | Information recommendation method and device, server and storage medium |
| CN115631058A (en) * | 2022-11-03 | 2023-01-20 | 杭州网易云音乐科技有限公司 | User group interaction method and device, storage medium and electronic equipment |
| CN115487508B (en) * | 2022-11-08 | 2023-04-07 | 腾讯科技(深圳)有限公司 | Training method and related device for game team recommendation model |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110270774A1 (en) * | 2010-04-30 | 2011-11-03 | Microsoft Corporation | Group Recommendations in Social Networks |
| CN103810379A (en) * | 2014-01-23 | 2014-05-21 | 珠海多玩信息技术有限公司 | Target state recommendation method and device |
| US20140380359A1 (en) * | 2013-03-11 | 2014-12-25 | Luma, Llc | Multi-Person Recommendations in a Media Recommender |
| CN104254867A (en) * | 2012-03-21 | 2014-12-31 | 索尼电脑娱乐美国公司 | Apparatus and method for matching groups to users for online communities and computer simulations |
-
2017
- 2017-11-21 CN CN201711168488.9A patent/CN107977411B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110270774A1 (en) * | 2010-04-30 | 2011-11-03 | Microsoft Corporation | Group Recommendations in Social Networks |
| CN104254867A (en) * | 2012-03-21 | 2014-12-31 | 索尼电脑娱乐美国公司 | Apparatus and method for matching groups to users for online communities and computer simulations |
| US20140380359A1 (en) * | 2013-03-11 | 2014-12-25 | Luma, Llc | Multi-Person Recommendations in a Media Recommender |
| CN103810379A (en) * | 2014-01-23 | 2014-05-21 | 珠海多玩信息技术有限公司 | Target state recommendation method and device |
Cited By (47)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108768982A (en) * | 2018-05-17 | 2018-11-06 | 江苏通付盾信息安全技术有限公司 | Detection method, device, computing device and the computer storage media of fishing website |
| CN108768982B (en) * | 2018-05-17 | 2021-04-27 | 江苏通付盾信息安全技术有限公司 | Phishing website detection method and device, computing equipment and computer storage medium |
| CN109086787A (en) * | 2018-06-06 | 2018-12-25 | 平安科技(深圳)有限公司 | User's portrait acquisition methods, device, computer equipment and storage medium |
| CN109086787B (en) * | 2018-06-06 | 2023-07-25 | 平安科技(深圳)有限公司 | User portrait acquisition method, device, computer equipment and storage medium |
| CN108830478A (en) * | 2018-06-12 | 2018-11-16 | 北京航空航天大学 | A kind of team's recommended method towards the processing of crowdsourcing task |
| CN108830478B (en) * | 2018-06-12 | 2022-05-31 | 北京航空航天大学 | A team recommendation method for crowdsourcing task processing |
| CN108958247A (en) * | 2018-07-02 | 2018-12-07 | 深圳市益鑫智能科技有限公司 | A kind of guided robot |
| CN108932069A (en) * | 2018-07-11 | 2018-12-04 | 科大讯飞股份有限公司 | Input method candidate entry determines method, apparatus, equipment and readable storage medium storing program for executing |
| CN108932069B (en) * | 2018-07-11 | 2023-04-07 | 科大讯飞股份有限公司 | Input method candidate entry determining method, device and equipment and readable storage medium |
| CN109063104A (en) * | 2018-07-27 | 2018-12-21 | 百度在线网络技术(北京)有限公司 | Method for refreshing, device, storage medium and the terminal device of recommendation information |
| CN109063104B (en) * | 2018-07-27 | 2020-11-10 | 百度在线网络技术(北京)有限公司 | Recommendation information refreshing method and device, storage medium and terminal equipment |
| CN110772796A (en) * | 2018-07-30 | 2020-02-11 | 优视科技有限公司 | Team forming method and device and electronic equipment |
| CN110772796B (en) * | 2018-07-30 | 2023-05-05 | 阿里巴巴(中国)有限公司 | Team forming method and device and electronic equipment |
| CN110955821A (en) * | 2018-09-25 | 2020-04-03 | 北京搜狗科技发展有限公司 | Recommendation method and device and readable medium |
| CN110955821B (en) * | 2018-09-25 | 2024-05-17 | 北京搜狗科技发展有限公司 | A recommendation method, device and readable medium |
| CN110968578A (en) * | 2018-09-28 | 2020-04-07 | 中建水务环保有限公司 | Sewage treatment process recommendation method and device |
| CN109272366A (en) * | 2018-10-15 | 2019-01-25 | 拉扎斯网络科技(上海)有限公司 | Order data processing method and device |
| CN109547225A (en) * | 2018-10-30 | 2019-03-29 | 咪咕互动娱乐有限公司 | Group multiplexing method, device and storage medium |
| CN111259119B (en) * | 2018-11-30 | 2023-05-26 | 北京嘀嘀无限科技发展有限公司 | Question recommending method and device |
| CN111259119A (en) * | 2018-11-30 | 2020-06-09 | 北京嘀嘀无限科技发展有限公司 | Question recommendation method and device |
| CN111262712A (en) * | 2018-12-03 | 2020-06-09 | 北京嘀嘀无限科技发展有限公司 | Group recommendation method, recommendation device, terminal, server and storage medium |
| CN111262712B (en) * | 2018-12-03 | 2022-11-04 | 北京嘀嘀无限科技发展有限公司 | Group recommendation method, recommendation device, terminal, server and storage medium |
| CN111130992A (en) * | 2019-11-22 | 2020-05-08 | 北京达佳互联信息技术有限公司 | Group recommendation method, device, electronic device and storage medium |
| US11470032B2 (en) | 2019-11-22 | 2022-10-11 | Beijing Dajia Internet Information Technology Co., Ltd. | Method for recommending groups and related electronic device |
| CN110990723A (en) * | 2019-12-23 | 2020-04-10 | 上海米哈游天命科技有限公司 | Friend recommendation method, device, equipment and storage medium |
| WO2021163856A1 (en) * | 2020-02-17 | 2021-08-26 | 深圳市欢太科技有限公司 | Content pushing method and apparatus, and server and storage medium |
| CN114788294A (en) * | 2020-02-17 | 2022-07-22 | 深圳市欢太科技有限公司 | Content pushing method, device, server and storage medium |
| WO2021164619A1 (en) * | 2020-02-19 | 2021-08-26 | 北京达佳互联信息技术有限公司 | Group display method and device |
| CN111695680A (en) * | 2020-06-15 | 2020-09-22 | 北京百度网讯科技有限公司 | Score prediction method, score prediction model training device and electronic equipment |
| CN111695680B (en) * | 2020-06-15 | 2023-11-10 | 北京百度网讯科技有限公司 | Performance prediction method, performance prediction model training method, device and electronic equipment |
| CN111888769B (en) * | 2020-08-11 | 2024-02-09 | 网易(杭州)网络有限公司 | Group recommendation method and device, electronic equipment and storage medium |
| CN111888769A (en) * | 2020-08-11 | 2020-11-06 | 网易(杭州)网络有限公司 | Group recommendation method and device, electronic equipment and storage medium |
| CN113300935A (en) * | 2020-09-15 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Group processing method, terminal device, server device and storage medium |
| CN112559902A (en) * | 2020-12-15 | 2021-03-26 | 广州市贺氏办公设备有限公司 | Community member ranking method, system, device and medium |
| CN112559902B (en) * | 2020-12-15 | 2024-06-04 | 广州市贺氏办公设备有限公司 | Community member ranking method, system, device and medium |
| CN114765624A (en) * | 2020-12-31 | 2022-07-19 | 北京达佳互联信息技术有限公司 | Information recommendation method and device, server and storage medium |
| CN114765624B (en) * | 2020-12-31 | 2024-04-30 | 北京达佳互联信息技术有限公司 | Information recommendation method, device, server and storage medium |
| CN113171617B (en) * | 2021-04-22 | 2024-02-02 | 网易(杭州)网络有限公司 | Information processing method and device in game and electronic equipment |
| CN113171617A (en) * | 2021-04-22 | 2021-07-27 | 网易(杭州)网络有限公司 | Information processing method and device in game and electronic equipment |
| CN113592342A (en) * | 2021-08-10 | 2021-11-02 | 平安银行股份有限公司 | Task processing method, device and equipment based on big data and storage medium |
| CN113592342B (en) * | 2021-08-10 | 2024-06-07 | 平安银行股份有限公司 | Task processing method, device, equipment and storage medium based on big data |
| CN113779391A (en) * | 2021-09-02 | 2021-12-10 | 广东好太太智能家居有限公司 | Intelligent lock unlocking recommendation method, system and device based on modeling and storage medium |
| CN113730921B (en) * | 2021-09-17 | 2023-08-25 | 腾讯科技(深圳)有限公司 | Recommendation method and device for virtual organization, storage medium and electronic equipment |
| CN113730921A (en) * | 2021-09-17 | 2021-12-03 | 腾讯科技(深圳)有限公司 | Virtual organization recommendation method and device, storage medium and electronic equipment |
| CN114733208A (en) * | 2022-04-07 | 2022-07-12 | 网易(杭州)网络有限公司 | Game team recommendation method, game team recommendation device, server, and storage medium |
| CN115631058A (en) * | 2022-11-03 | 2023-01-20 | 杭州网易云音乐科技有限公司 | User group interaction method and device, storage medium and electronic equipment |
| CN115487508B (en) * | 2022-11-08 | 2023-04-07 | 腾讯科技(深圳)有限公司 | Training method and related device for game team recommendation model |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107977411B (en) | 2021-12-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107977411A (en) | Group recommending method, device, storage medium and server | |
| Shen et al. | Virtual brokerage and closure: Network structure and social capital in a massively multiplayer online game | |
| Eichenbaum et al. | Role-playing and real-time strategy games associated with greater probability of internet gaming disorder | |
| CN108579095B (en) | Method and device for recommending social relationship in game and computer-readable storage medium | |
| Chen et al. | Matchmaking strategies for maximizing player engagement in video games | |
| CN110175299B (en) | Recommendation information determining method and server | |
| US9033790B2 (en) | Game item auction | |
| CN107111651A (en) | A kind of matching degree computational methods, device and user equipment | |
| Borbora et al. | Churn prediction in mmorpgs using player motivation theories and an ensemble approach | |
| US12172085B2 (en) | Ethical AI development platform and methods for use therewith | |
| Lee et al. | ‘Gaming is my work’: identity work in internet-hobbyist game workers | |
| CN105103186A (en) | Apparatus and method for matching users to groups for online communities and computer simulations | |
| CN104254867A (en) | Apparatus and method for matching groups to users for online communities and computer simulations | |
| CN103034774A (en) | Method and equipment based on social network for recommending games to users | |
| Koster et al. | The effects of individual status and group performance on network ties among teammates in the National Basketball Association | |
| US20160381158A1 (en) | Automatic Invitation Delivery System | |
| CN111401958A (en) | Method and system for automatically recommending employment consultant to real estate client | |
| US20250392490A1 (en) | Methods and systems for session management in digital telepresence systems using machine learning | |
| Li et al. | What are Chinese talking about in hot weibos? | |
| CN115738293A (en) | Game player matching method and device, electronic equipment and storage medium | |
| CN114841526A (en) | A high-risk user detection method, computing device and readable storage medium | |
| CN114676324A (en) | A data processing method, device and equipment | |
| JP7031811B2 (en) | A method and system for training player characters in sports games using spatial dualization | |
| Kang et al. | Game over too soon: early specialization and short careers in esports | |
| Wang et al. | Estimating determinants of attrition in eating disorder communities on twitter: An instrumental variables approach |
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 |