CN105574131B - Social network friend making recommendation method and system based on dynamic community identification - Google Patents
Social network friend making recommendation method and system based on dynamic community identification Download PDFInfo
- Publication number
- CN105574131B CN105574131B CN201510933275.5A CN201510933275A CN105574131B CN 105574131 B CN105574131 B CN 105574131B CN 201510933275 A CN201510933275 A CN 201510933275A CN 105574131 B CN105574131 B CN 105574131B
- Authority
- CN
- China
- Prior art keywords
- corporations
- user
- friend
- community
- relation
- 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.)
- Expired - Fee Related
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/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/285—Clustering or classification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Economics (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Human Resources & Organizations (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种基于动态社团识别的社交网络交友推荐方法及系统,属于互联网技术领域。系统功能主要由以下四部分组成:社团识别模块,社团分类模块,好友推荐模块以及结果展示模块。基于动态社团识别的社交网络交友推荐方法,包括以下步骤:步骤一,从用户设计关系数据库中获得用户二度好友列表,进行社团识别,同时计算社团相关性指标;步骤二,基于社团相关性指标计算结果,对所得到的社团进行分类;步骤三,根据社团分类结果,进行好友推荐,并通过社团类别展示好友推荐结果。该方法通过动态社团识别以及社团属性分析的方法,来找到并推荐用户可能感兴趣的人。
The invention discloses a social network friend recommendation method and system based on dynamic community identification, and belongs to the technical field of the Internet. The system function is mainly composed of the following four parts: community identification module, community classification module, friend recommendation module and result display module. A social network friend recommendation method based on dynamic community identification includes the following steps: step 1, obtain the user's second-degree friend list from the user-designed relational database, perform community identification, and calculate community correlation indicators; step 2, based on community correlation indicators Calculate the results and classify the obtained communities; step 3, recommend friends according to the classification results of the communities, and display the friend recommendation results by community categories. This method uses dynamic community identification and community attribute analysis to find and recommend people that users may be interested in.
Description
技术领域technical field
本发明属于互联网技术领域,具体涉及一种基于动态社团识别的社交网络交友推荐方法及系统。The invention belongs to the technical field of the Internet, and in particular relates to a method and system for recommending friends in a social network based on dynamic community identification.
背景技术Background technique
当前社交网络及软件的好友推荐方法主要基于社交网络中的用户相似性度量来推荐,代表性的产品及功能包括腾讯QQ的可能认识的人、Facebook的People You May Know等。这些方法的共同特点是:共同好友数较多的潜在好友更有可能被推荐。Current social network and software friend recommendation methods are mainly based on user similarity measures in social networks. Representative products and functions include People You May Know on Tencent QQ, People You May Know on Facebook, etc. The common feature of these methods is that potential friends with more mutual friends are more likely to be recommended.
但是,在实际应用中,社交网络好友推荐的效果较差。现有的社交网络好友推荐方法面临着一个困境:推荐的人都认识,但是不愿意加为好友。这存在两个问题:(1)共同好友数较多的潜在好友,往往是用户参加的一个成熟社团中用户不感兴趣的部分。例如,用户加了高中班级的80%的同学作为好友,那么与剩下的20%的共同好友数很高,但是可能这剩下的20%用户不愿意加为好友;再例如,用户加了单位80%的同事,但是剩下的20%的领导不愿意加为好友;(2)相反,某些共同好友数较少的潜在好友,可能是因为社团正在形成。例如,新入学的大学班级,大家处于互相认识和熟悉的阶段,这样的潜在好友共同好友数并不高,却反而是用户比较感兴趣的。这些原因共同造成了基于相似性度量的好友推荐的不准确。However, in practical applications, the effect of social network friend recommendation is poor. The existing social network friend recommendation methods are faced with a dilemma: the recommended people know each other, but they are unwilling to be friends. There are two problems in this: (1) potential friends with more mutual friends are often the part that the user is not interested in in a mature community that the user joins. For example, if the user has added 80% of the classmates in the high school class as friends, then the number of mutual friends with the remaining 20% is very high, but the remaining 20% may not be willing to be friends; 80% of the colleagues in the unit, but the remaining 20% of the leaders are unwilling to be friends; (2) On the contrary, some potential friends with fewer mutual friends may be because the community is being formed. For example, in a newly enrolled college class, everyone is in the stage of getting to know each other and is familiar with each other. Such potential friends do not have a high number of common friends, but users are more interested in it. These reasons together lead to the inaccuracy of friend recommendation based on similarity measure.
发明内容Contents of the invention
为了克服上述现有技术存在的缺陷,本发明的目的在于提供一种基于动态社团识别的社交网络交友推荐方法及系统。In order to overcome the above-mentioned defects in the prior art, the purpose of the present invention is to provide a social network friend recommendation method and system based on dynamic community identification.
本发明是通过以下技术方案来实现:The present invention is achieved through the following technical solutions:
本发明公开了一种基于动态社团识别的社交网络交友推荐方法,包括以下步骤:The invention discloses a social network friend recommendation method based on dynamic community identification, which includes the following steps:
步骤一,从用户设计关系数据库中获得用户二度好友列表,进行社团识别,同时计算社团相关性指标;Step 1: Obtain the user's second-degree friend list from the user-designed relational database, identify the community, and calculate the community correlation index;
步骤二,基于社团相关性指标计算结果,对所得到的社团进行分类;Step 2, classify the obtained communities based on the calculation results of the community correlation index;
步骤三,根据社团分类结果,进行好友推荐,并通过社团类别展示好友推荐结果。Step 3: According to the community classification results, recommend friends, and display the friend recommendation results by community categories.
步骤一所述从用户设计关系数据库中获得用户二度好友列表,进行社团识别,具体操作为:In Step 1, obtain the user's second-degree friend list from the user-designed relational database, and perform community identification. The specific operations are:
1)获取目标用户的好友ID列表,为该用户的一度好友列表;再获取目标用户的每个好友的好友ID列表,为该用户的二度好友列表;合并一度好友列表和二度好友列表,若存在重复,则删除二度好友列表中的记录,合并后的列表为全部好友ID列表;1) Obtain the friend ID list of the target user, which is the first-degree friend list of the user; then obtain the friend ID list of each friend of the target user, which is the second-degree friend list of the user; merge the first-degree friend list and the second-degree friend list, If there are duplicates, delete the records in the second-degree friend list, and the merged list is a list of all friend IDs;
2)判断全部好友ID列表中,任意两个ID之间是否存在好友关系,构建邻接矩阵;2) Determine whether there is a friend relationship between any two IDs in all friend ID lists, and construct an adjacency matrix;
3)基于邻接矩阵,对全部好友ID列表组成的网络的进行社团识别,输出每个ID属于的社团。3) Based on the adjacency matrix, perform community identification on the network composed of all friend ID lists, and output the community to which each ID belongs.
步骤一所述的计算社团相关性指标,是指为每个ID属于的社团计算社团关系密度、社团关系的平均建立时长、用户与社团的连接密度及用户与社团的关系平均建立时长。The calculation of the community correlation index mentioned in step 1 refers to the calculation of the community relationship density, the average establishment time of the community relationship, the connection density between the user and the community, and the average establishment time of the relationship between the user and the community for the community to which each ID belongs.
社团相关性指标计算方法如下:The calculation method of community correlation index is as follows:
社团关系密度=社团中的好友关系数*2/[社团中ID数*(社团中ID数-1)];Community relationship density = number of friendships in the community * 2 / [number of IDs in the community * (number of IDs in the community - 1)];
社团关系的平均建立时长=社团中关系的建立时长之和/社团中的好友关系数;The average establishment time of the community relationship = the sum of the establishment time of the relationship in the community / the number of friendship relationships in the community;
用户与社团的连接密度=用户与社团中ID的好友关系数/社团中ID数;The connection density between users and communities = the number of friendships between users and IDs in the community/the number of IDs in the community;
用户与社团的关系平均建立时长=用户与社团中ID的好友关系建立时长之和/用户与社团中ID的好友关系数。The average establishment time of the relationship between the user and the community = the sum of the establishment time of the friendship between the user and the ID in the community / the number of the friendship between the user and the ID in the community.
步骤二对社团进行分类具体操作如下:The second step is to classify the community, the specific operation is as follows:
1)基于社团关系密度和社团关系的平均建立时长,将社团分为成熟社团、成长中社团和初始社团;1) Based on the community relationship density and the average establishment time of the community relationship, the community is divided into mature community, growing community and initial community;
其中,定义社团关系平均建立时长大于180天的为成熟社团;社团关系平均建立时长小于等于180天但大于30天的为成长中社团;社团关系平均建立时长小于等于30天的为初始社团;Among them, it is defined that the average establishment time of the community relationship is longer than 180 days as a mature community; the average establishment time of the community relationship is less than or equal to 180 days but greater than 30 days is a growing community; the average establishment time of the community relationship is less than or equal to 30 days is an initial community;
2)基于用户与社团的连接密度和用户与社团的关系平均建立时长为社团分类,将社团分为用户已进入社团、用户正在进入社团以及用户不相关社团;2) Based on the connection density between the user and the community and the average establishment time of the relationship between the user and the community, the community is classified, and the community is divided into the user has entered the community, the user is entering the community, and the user is not related to the community;
其中,定义用户与社团的连接密度大于0.6的为用户已进入社团;用户与社团的连接密度大于0.1但小于等于0.6的为用户正在进入社团;用户与社团的连接密度小于等于0.1的为用户不相关社团。Among them, it is defined that the user has entered the community if the connection density between the user and the community is greater than 0.6; the user is entering the community if the connection density between the user and the community is greater than 0.1 but less than or equal to 0.6; the user is not in the community if the connection density between the user and the community is less than or equal to 0.1 related societies.
步骤三所述根据社团分类结果进行好友推荐,具体操作为:In Step 3, recommend friends according to the community classification results. The specific operations are as follows:
当社团为用户不相关社团时,不触发任何操作;When the community is not related to the user, no action is triggered;
当社团为用户已进入社团时,不触发任何操作;When the community is that the user has entered the community, no action is triggered;
当社团为成长中社团或初始社团,且为用户正在进入社团时,按照社团成员与用户的共同好友数的多少,从高到低排序,推荐共同好友数最高的前10到100名潜在好友;When the community is a growing community or an initial community, and the user is entering the community, the top 10 to 100 potential friends with the highest number of mutual friends are recommended according to the number of common friends of the community members and the user, sorted from high to low;
当社团为成熟社团,且为用户正在进入社团时,按照与用户的共同好友数的多少,从高到低排序,推荐共同好友数最高的前1到3名潜在好友;When the community is a mature community and the user is entering the community, according to the number of common friends with the user, sort from high to low, and recommend the top 1 to 3 potential friends with the highest number of common friends;
当与这些潜在好友建立联系后,再依共同好友数从多到少的顺序逐渐展示其它潜在好友。After establishing contact with these potential friends, other potential friends are gradually displayed in descending order of the number of common friends.
步骤三所述通过社团类别展示好友推荐结果,具体操作为:As described in step 3, display the friend recommendation results through the community category, and the specific operations are as follows:
展示正在形成中的社团的推荐结果时,用户能够一次性看到前10到100名潜在好友,并可将这些潜在好友加为好友;When displaying the recommendation results of the community that is being formed, the user can see the top 10 to 100 potential friends at one time, and can add these potential friends as friends;
而展示正在进入的社团的推荐结果时,用户只能看到前1到3名潜在好友,其它的潜在好友灰度展示,不展示完整信息,也不能操作,随着用户在此社团中加的好友数量的增多而逐步放开。When displaying the recommendation results of the community you are entering, the user can only see the top 1 to 3 potential friends, and the other potential friends are displayed in grayscale, without complete information, and cannot be operated. As the user adds to this community Gradually let go as the number of friends increases.
本发明还公开了一种基于动态社团识别的社交网络交友推荐系统,该系统包括:The invention also discloses a social network friend recommendation system based on dynamic community identification, the system includes:
社团识别模块,用于从用户社交关系数据库中获得用户二度好友列表,进行社团识别,并计算社团相关性指标;The community identification module is used to obtain the user's second-degree friend list from the user's social relationship database, perform community identification, and calculate community correlation indicators;
社团分类模块,用于对识别出的社团进行分类;a community classification module for classifying identified communities;
好友推荐模块,用于对所得到的社团类别进行推荐;The friend recommendation module is used to recommend the obtained community categories;
结果展示模块,根据社团类别展示好友推荐结果。The result display module displays the friend recommendation results according to the community category.
社团分类模块基于计算社团识别模块计算得到的社团相关性指标对识别出的社团进行分类。The community classification module classifies the identified communities based on the community correlation index calculated by the calculation community identification module.
好友推荐模块基于所得到的社团类别结果进行推荐。The friend recommendation module makes recommendations based on the obtained community category results.
与现有技术相比,本发明具有以下有益的技术效果:Compared with the prior art, the present invention has the following beneficial technical effects:
本发明公开的基于动态社团识别的社交网络交友推荐方法,首先从从用户设计关系数据库中获得用户二度好友列表,进行社团识别,同时计算社团相关性指标;其次,基于社团相关性指标计算结果,对所得到的社团进行分类;再次,根据社团分类结果,进行好友推荐,为用户推荐正在进入社团及初始社团的成员,推荐结果反映了用户当前的社交兴趣;再次,本方法可以避免给用户推荐过时社团的旧关系,避免给用户推荐其未进入社团的大量关系,避免带来隐私泄露;最后,通过社团类别展示好友推荐结果。本发明方法通过动态社团识别以及社团属性分析的方法,来找到并推荐用户可能感兴趣的人;与现有的好友推荐算法“推荐可能认识的人”不同,本发明方法“推荐可能感兴趣的人”,针对用户当前的社交兴趣进行推荐,推荐准确率更高,而且避免了过度的用户骚扰与隐私泄露。The method for recommending social network friends based on dynamic community identification disclosed by the present invention first obtains the user's second-degree friend list from the user-designed relational database, performs community identification, and calculates the community correlation index at the same time; secondly, based on the calculation result of the community correlation index , to classify the obtained communities; thirdly, according to the community classification results, recommend friends, and recommend members who are entering the community and the initial community for the user. Recommend old relationships in outdated communities, avoid recommending a large number of relationships that have not entered the community to users, and avoid privacy leakage; finally, display friend recommendation results through community categories. The method of the present invention finds and recommends people who may be interested in the user through the method of dynamic community identification and community attribute analysis; "People", making recommendations based on users' current social interests, with higher recommendation accuracy and avoiding excessive user harassment and privacy leakage.
本发明还公开了能够实现上述交友推荐方法的系统,系统功能主要由以下四部分组成:社团识别模块,社团分类模块,好友推荐模块以及结果展示模块。首先,社团识别模块从用户社交关系数据库中获得用户二度好友列表,进行社团识别,并进行一些社团关键指标的计算。基于计算结果,社团分类模块对所得到的社团进行分类。好友推荐模块基于所得到的社团类别进行推荐。最后,结果展示模块依据社团类别展示好友推荐结果。The invention also discloses a system capable of realizing the above friend recommendation method. The system function is mainly composed of the following four parts: a community identification module, a community classification module, a friend recommendation module and a result display module. First, the community identification module obtains the user's second-degree friend list from the user's social relationship database, performs community identification, and calculates some key indicators of the community. Based on the calculation results, the community classification module classifies the obtained communities. The friend recommendation module makes recommendations based on the obtained community categories. Finally, the result display module displays the friend recommendation results according to the community category.
附图说明Description of drawings
图1为本发明基于动态社团识别的社交网络交友推荐系统的逻辑结构图;Fig. 1 is the logical structural diagram of the social network friend recommendation system based on dynamic community identification of the present invention;
图2为本发明所涉及的好友列表说明图;FIG. 2 is an explanatory diagram of a friend list involved in the present invention;
图3为本发明基于动态社团识别的社交网络交友推荐结果展示图。Fig. 3 is a diagram showing the result of friend recommendation in social network based on dynamic community identification in the present invention.
其中,101为社团识别模块;102为社团分类模块;103为好友推荐模块;104为结果展示模块。Wherein, 101 is a community identification module; 102 is a community classification module; 103 is a friend recommendation module; 104 is a result display module.
具体实施方式detailed description
下面结合具体的实施例对本发明做进一步的详细说明,所述是对本发明的解释而不是限定。The present invention will be further described in detail below in conjunction with specific embodiments, which are explanations of the present invention rather than limitations.
本发明公开了一种基于动态社团识别的社交网络交友推荐系统,其功能结构如图1所示,其中,101为社团识别模块;102为社团分类模块;103为好友推荐模块;104为结果展示模块。The present invention discloses a social network friendship recommendation system based on dynamic community identification. Its functional structure is shown in Figure 1, wherein, 101 is a community identification module; 102 is a community classification module; 103 is a friend recommendation module; module.
系统功能主要由以下四部分组成:社团识别模块,社团分类模块,好友推荐模块以及结果展示模块。The system function is mainly composed of the following four parts: community identification module, community classification module, friend recommendation module and result display module.
基于动态社团识别的社交网络交友推荐方法,包括以下步骤:A social network friend recommendation method based on dynamic community identification includes the following steps:
步骤一,从用户设计关系数据库中获得用户二度好友列表,进行社团识别,同时计算社团相关性指标;Step 1: Obtain the user's second-degree friend list from the user-designed relational database, identify the community, and calculate the community correlation index;
步骤二,基于社团相关性指标计算结果,对所得到的社团进行分类;Step 2, classify the obtained communities based on the calculation results of the community correlation index;
步骤三,根据社团分类结果,进行好友推荐,并通过社团类别展示好友推荐结果。Step 3: According to the community classification results, recommend friends, and display the friend recommendation results by community categories.
下面对各模块工作进行具体举例说明:The following is a specific example of the work of each module:
1、社团识别模块1. Community identification module
第一步,获取目标用户的好友ID列表,称为该用户的一度好友ID列表,如图2中的AB C D。用户的每个好友的好友ID列表,称为该用户的二度好友ID列表,图2中的C D E F G;合并一度好友ID列表和二度好友ID列表,如遇到重复项,删除二度好友ID列表中的记录,如图2中的C D仅被称为一度好友。合并后的列表称为全部好友ID列表,如图2中的A B C D EF G。The first step is to obtain the target user's friend ID list, which is called the user's first-degree friend ID list, such as AB C D in FIG. 2 . The friend ID list of each friend of the user is called the user’s second-degree friend ID list, C D E F G in Figure 2; the first-degree friend ID list and the second-degree friend ID list are merged, and if duplicates are encountered, the second-degree friend ID is deleted The records in the list, such as CD in Figure 2, are only called first-degree friends. The merged list is called a list of all friend IDs, such as A B C D EF G in Fig. 2 .
第二步,判断全部好友ID列表中任意两个ID之间是否存在好友关系,构建邻接矩阵。例如,矩阵的(i,j)位置的值为1代表第i个ID与第j个ID之间存在好友关系;0代表不存在好友关系。The second step is to judge whether there is a friend relationship between any two IDs in the list of all friend IDs, and construct an adjacency matrix. For example, a value of 1 at position (i, j) of the matrix indicates that there is a friend relationship between the i-th ID and the j-th ID; 0 means that there is no friend relationship.
第三步,基于邻接矩阵,全部好友ID列表组成的网络的进行社团识别(CommunityDetection)。社团识别已有成熟的技术方案,具体可以参考常见的Modularity等方法([1]Newman,M.E.J.2004."Fast algorithm for detecting community structure innetworks,"Physical Review E(69:6),p 066133.;[2]Newman M E J.Modularity andcommunity structure in networks[J].Proceedings of the National Academy ofSciences,2006,103(23):8577-8582.)。社团识别完成后,输出每个ID属于的社团。例如,计算结果可能是ID 1001,1002,1003同属于社团1;1004,1005,1006同属于社团2。The third step is to perform community detection (Community Detection) on the network composed of all friend ID lists based on the adjacency matrix. There are already mature technical solutions for community identification. For details, you can refer to common methods such as Modularity ([1]Newman, M.E.J.2004."Fast algorithm for detecting community structure innetworks,"Physical Review E(69:6), p 066133.;[ 2] Newman M E J. Modularity and community structure in networks [J]. Proceedings of the National Academy of Sciences, 2006, 103(23): 8577-8582.). After the community identification is completed, output the community to which each ID belongs. For example, the calculation result may be that IDs 1001, 1002, and 1003 belong to community 1; IDs 1004, 1005, and 1006 belong to community 2.
第四步,为每个社团计算社团关系密度,社团关系的平均建立时长,用户与社团的连接密度,用户与社团的关系平均建立时长。其中:The fourth step is to calculate the community relationship density, the average establishment time of the community relationship, the connection density between users and the community, and the average establishment time of the relationship between users and the community for each community. in:
社团关系密度=社团中的好友关系数*2/(社团中ID数*(社团中ID数-1))Community relationship density = number of friendships in the community * 2 / (number of IDs in the community * (number of IDs in the community - 1))
社团关系的平均建立时长=社团中关系的建立时长之和/社团中的好友关系数The average establishment time of the community relationship = the sum of the establishment time of the relationship in the community / the number of friendships in the community
用户与社团的连接密度=用户与社团中ID的好友关系数/社团中ID数The connection density between users and communities = the number of friendships between users and IDs in the community/the number of IDs in the community
用户与社团的关系平均建立时长=用户与社团中ID的好友关系建立时长之和/用户与社团中ID的好友关系数。The average establishment time of the relationship between the user and the community = the sum of the establishment time of the friendship between the user and the ID in the community / the number of the friendship between the user and the ID in the community.
举例如下,假设社团中ID包括1001,1002,1003,1004共4个,存在的关系包括1001-1002(20天),1001-1003(20天),1002-1004(50天),1003-1004(30天);用户与1001存在好友关系(20天),与1003存在好友关系(30天)。For example, assuming that there are 4 IDs in the community including 1001, 1002, 1003, and 1004, the existing relationships include 1001-1002 (20 days), 1001-1003 (20 days), 1002-1004 (50 days), and 1003-1004 (30 days); the user has a friend relationship with 1001 (20 days), and a friend relationship with 1003 (30 days).
那么可以计算:Then it can be calculated:
社团关系密度=4*2/(4*3)=0.67Community relationship density = 4*2/(4*3) = 0.67
社团关系的平均建立时长=(20+20+50+30)/4=30The average establishment time of community relationship = (20+20+50+30)/4=30
用户与社团的连接密度=2/4=0.5Connection density between users and communities = 2/4 = 0.5
用户与社团的关系平均建立时长=(20+30)/2=25。The average establishment time of the relationship between the user and the community=(20+30)/2=25.
2、社团分类模块2. Community classification module
1)本模块首先基于计算的社团关系密度、社团关系的平均建立时长为社团分类,分为成熟社团、成长中社团、初始社团三类。1) This module first classifies communities based on the calculated community relationship density and the average establishment time of community relationships, and divides them into three categories: mature communities, growing communities, and initial communities.
一种可能的分类方法是:One possible classification method is:
社团关系平均建立时长大于180天:称为成熟社团;The average establishment time of the association relationship is longer than 180 days: it is called a mature association;
社团关系平均建立时长小于等于180天但大于30天:称为成长中社团。The average establishment time of the community relationship is less than or equal to 180 days but greater than 30 days: it is called a growing community.
社团关系平均建立时长小于等于30天:称为初始社团。The average establishment time of the community relationship is less than or equal to 30 days: it is called the initial community.
2)本模块还基于用户与社团的连接密度、用户与社团的关系平均建立时长为社团分类,分为用户已进入社团、用户正在进入社团以及用户不相关社团。2) This module also classifies communities based on the connection density between users and the community, and the average establishment time of the relationship between the user and the community, and is divided into the user has entered the community, the user is entering the community, and the user is not related to the community.
一种可能的方法是:One possible way is:
用户与社团的连接密度大于0.6:称为用户已进入社团The connection density between the user and the community is greater than 0.6: the user has entered the community
用户与社团的链接密度大于0.1但小于等于0.6:称为用户正在进入社团The link density between the user and the community is greater than 0.1 but less than or equal to 0.6: it is said that the user is entering the community
用户与社团的链接密度小于等于0.1:称为用户不相关社团。The link density between users and communities is less than or equal to 0.1: it is called user-unrelated communities.
3、好友推荐模块3. Friend recommendation module
当社团为用户不相关社团时,不触发任何操作(隐私保护);When the community is not related to the user, no operation will be triggered (privacy protection);
当社团为用户已进入社团时,不触发任何操作(避免过度推荐旧关系);When the community is that the user has entered the community, no action is triggered (to avoid over-recommendation of old relationships);
当社团为成长中社团或初始社团且用户正在进入社团时,按照社团成员与用户的共同好友数的多少,从高到低排序,推荐共同好友数最高的较多数量的潜在好友;When the community is a growing community or an initial community and the user is entering the community, sort from high to low according to the number of common friends between the community members and the user, and recommend a larger number of potential friends with the highest number of common friends;
当社团为成熟社团且用户正在进入社团时,按照与用户的共同好友数的多少,从高到低排序,推荐共同好友数最高的较少数量的潜在好友;当与这些潜在好友建立联系后,再依共同好友数从多到少的顺序逐渐展示其它潜在好友。When the community is a mature community and the user is entering the community, according to the number of common friends with the user, sort from high to low, and recommend a smaller number of potential friends with the highest number of common friends; after establishing contact with these potential friends, Then gradually display other potential friends in descending order of the number of mutual friends.
4、推荐结果展示模块4. Recommendation result display module
结果展示模块将上述计算得到的推荐结果展示给用户。参见图3,展示正在形成中的社团的推荐结果时,用户可以一次性看到大量的潜在好友,并可将这些潜在好友加为好友;而展示正在进入的社团的推荐结果时,用户只可以看到少数的潜在好友,其它的潜在好友灰度展示,不展示完整信息,也不可以操作,随着用户在此社团中加的好友数量的增多而逐步放开。The result display module displays the recommendation result obtained by the above calculation to the user. See Figure 3. When displaying the recommendation results of a community that is being formed, the user can see a large number of potential friends at one time and add these potential friends as friends; while showing the recommendation results of a community that is entering, the user can only Seeing a small number of potential friends, other potential friends are displayed in grayscale, complete information is not displayed, and operations cannot be performed. As the number of friends added by users in this community increases, it will gradually be released.
展示正在形成中的社团的推荐结果时,用户能够一次性看到前10到100名潜在好友,并可将这些潜在好友加为好友;When displaying the recommendation results of the community that is being formed, the user can see the top 10 to 100 potential friends at one time, and can add these potential friends as friends;
而展示正在进入的社团的推荐结果时,用户只能看到前1到3名潜在好友,其它的潜在好友灰度展示,不展示完整信息,也不能操作,随着用户在此社团中加的好友数量的增多而逐步放开。When displaying the recommendation results of the community you are entering, the user can only see the top 1 to 3 potential friends, and the other potential friends are displayed in grayscale, without complete information, and cannot be operated. As the user adds to this community Gradually let go as the number of friends increases.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510933275.5A CN105574131B (en) | 2015-12-14 | 2015-12-14 | Social network friend making recommendation method and system based on dynamic community identification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510933275.5A CN105574131B (en) | 2015-12-14 | 2015-12-14 | Social network friend making recommendation method and system based on dynamic community identification |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105574131A CN105574131A (en) | 2016-05-11 |
CN105574131B true CN105574131B (en) | 2017-04-26 |
Family
ID=55884262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510933275.5A Expired - Fee Related CN105574131B (en) | 2015-12-14 | 2015-12-14 | Social network friend making recommendation method and system based on dynamic community identification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105574131B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201184A (en) * | 2016-06-29 | 2016-12-07 | 腾讯科技(深圳)有限公司 | Edit methods, device and the terminal of a kind of SNS message |
CN106570082B (en) * | 2016-10-19 | 2019-11-05 | 浙江工业大学 | A kind of friends method for digging of combination network topology characteristic and user behavior characteristics |
CN109410079B (en) * | 2018-09-13 | 2021-08-20 | 清华大学 | A method and device for social recommendation under optimal limited attention |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103294733A (en) * | 2012-03-05 | 2013-09-11 | 北京千橡网景科技发展有限公司 | Method and system used for recommending friends to users |
CN104601438A (en) * | 2014-04-28 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Friend recommendation method and device |
CN104838410A (en) * | 2015-02-11 | 2015-08-12 | 深圳市仁盟互动网络科技有限公司 | Method and system for establishing friendship based on trust recommendation social networking services |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9224150B2 (en) * | 2007-12-18 | 2015-12-29 | Napo Enterprises, Llc | Identifying highly valued recommendations of users in a media recommendation network |
-
2015
- 2015-12-14 CN CN201510933275.5A patent/CN105574131B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103294733A (en) * | 2012-03-05 | 2013-09-11 | 北京千橡网景科技发展有限公司 | Method and system used for recommending friends to users |
CN104601438A (en) * | 2014-04-28 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Friend recommendation method and device |
CN104838410A (en) * | 2015-02-11 | 2015-08-12 | 深圳市仁盟互动网络科技有限公司 | Method and system for establishing friendship based on trust recommendation social networking services |
Also Published As
Publication number | Publication date |
---|---|
CN105574131A (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110263242B (en) | Content recommendation method, content recommendation device, computer readable storage medium and computer equipment | |
CN109087079B (en) | Digital currency transaction information analysis method | |
CN110287382B (en) | A mining method of association rules for battery production data | |
CN108733791B (en) | Network event detection method | |
CN103823888A (en) | Node-closeness-based social network site friend recommendation method | |
CN106204297A (en) | A kind of recognition methods closing social propagation opinion leader and device | |
Guo et al. | GroupMe: Supporting group formation with mobile sensing and social graph mining | |
CN107895038A (en) | A kind of link prediction relation recommends method and device | |
CN105574131B (en) | Social network friend making recommendation method and system based on dynamic community identification | |
CN110162692A (en) | User tag determines method, apparatus, computer equipment and storage medium | |
Jang et al. | Distance-based customer detection in fake follower markets | |
CN105471715B (en) | A kind of mobile social networking friend recommendation method based on geographical position change | |
US20120084302A1 (en) | Media or content tagging determined by user credibility signals | |
CN112905905A (en) | Interest point-area joint recommendation method in location social network | |
US20210194842A1 (en) | System and Method for Displaying Message or User Lists | |
CN108280561A (en) | A kind of discrete manufacture mechanical product quality source tracing method based on comentropy and Weighted distance | |
CN116362702A (en) | Employment information intelligent management and employment service platform | |
CN105589935A (en) | Social group recognition method | |
CN112541010B (en) | User gender prediction method based on logistic regression | |
Sharma et al. | Comparative analysis of different algorithms in link prediction on social networks | |
CN105303406A (en) | Orange-collar worker recommending method in e-commerce | |
CN111523590B (en) | Multi-data source fusion method for scoring matrix | |
CN110648173B (en) | Unsupervised abnormal commodity data detection method based on good evaluation and poor evaluation rates of commodities | |
CN116049204A (en) | A method and device for constructing a two-layer major public opinion event blockchain | |
CN108629506A (en) | Modeling method, device, computer equipment and the storage medium of air control model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170426 Termination date: 20191214 |