Method, device, server and storage medium of searching a group based on social network
摘要:
A method of searching a group based on a social network includes: receiving a group search request transmitted by a query terminal, wherein the group search request contains a specified query user identification (ID), a group scale and a group coritivity; retrieving a pre-generated social network graph; using the user node corresponding to the query user ID as a starting node to perform search expansion according to the social network graph, and determining a user node having the maximum number of adjacent nodes in each search expansion layer as a group member until the number of determined group members equals to the group scale in the social network graph; a first level of the expansion layer includes the user node, which is an adjacent node of the query user, and the user node included in a next level of expansion layer is an adjacent node of the group member determined by the upper level of the expansion layer; and determining that a group coritivity of the group to be searched is not less than the specified group coritivity, and returning the group to be searched as a query result to the query terminal for displaying.
信息查询
0/0