Social network grouping method and system, and computer storage medium
First Claim
1. A method for grouping friends of a first user of an online social network application implemented in a server having one or more processors and memory storing a plurality of programs, the method comprising:
- acquiring friend relation data corresponding to a plurality of friends of the first user of the social networking application, wherein each of the plurality of friends is an existing contact of the first user on the social networking application, the friend relation data represents connections in-between the plurality of friends on the social networking application, and each of the plurality of friends corresponds to a respective friend node of a plurality of friend nodes on the social network application;
generating and storing a plurality of friend circles using the friend relation data, wherein each of the friend circles is a respective subset of the plurality of friends of the first user and includes a respective subset of the plurality of friend nodes;
determining a weight of each of the plurality of friend nodes based on the friend relation data;
selecting, among the plurality of friend circles, a first friend circle with a first friend node having a highest weight among the plurality of friend nodes;
traversing the plurality of friend nodes to add an optimum friend to the first friend circle, wherein the optimum friend corresponds to a friend node of the plurality of friend nodes; and
repeating the traversing until a first predefined number of optimum friends are added into the first friend circle.
0 Assignments
0 Petitions
Accused Products
Abstract
A method, system and computer-readable storage medium for grouping users of an online social network application are provided. The method includes: acquiring friend relation data of a first user, the friend relation data comprising one or more friend nodes; determining a weight of each of the friend nodes based on the friend relation data acquired; forming a first friend circle with a first friend node having a greatest weight among the friend nodes; traversing the friend nodes to find an optimum friend of the first friend circle; adding the optimum friend into the first friend circle; and repeating the traversing and adding until all optimum friends of the first friend circle are added into the first friend circle. The method determines the weight of each friend node based on the friend relation data and performs grouping by the weights, which is able to conduct as mart grouping with high speed, low throughput, and high efficiency.
15 Citations
20 Claims
-
1. A method for grouping friends of a first user of an online social network application implemented in a server having one or more processors and memory storing a plurality of programs, the method comprising:
-
acquiring friend relation data corresponding to a plurality of friends of the first user of the social networking application, wherein each of the plurality of friends is an existing contact of the first user on the social networking application, the friend relation data represents connections in-between the plurality of friends on the social networking application, and each of the plurality of friends corresponds to a respective friend node of a plurality of friend nodes on the social network application; generating and storing a plurality of friend circles using the friend relation data, wherein each of the friend circles is a respective subset of the plurality of friends of the first user and includes a respective subset of the plurality of friend nodes; determining a weight of each of the plurality of friend nodes based on the friend relation data; selecting, among the plurality of friend circles, a first friend circle with a first friend node having a highest weight among the plurality of friend nodes; traversing the plurality of friend nodes to add an optimum friend to the first friend circle, wherein the optimum friend corresponds to a friend node of the plurality of friend nodes; and repeating the traversing until a first predefined number of optimum friends are added into the first friend circle. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system for grouping friends of a first user of an online social network application, comprising:
-
one or more processors; and memory having instructions stored thereon, the instructions, when executed by the one or more processors, cause the processors to perform operations including; acquiring friend relation data corresponding to a plurality of friends of the first user of the social networking application, wherein each of the plurality of friends is an existing contact of the first user on the social networking application, the friend relation data represents connections in-between the plurality of friends on the social networking application, and each of the plurality of friends corresponds to a respective friend node of a plurality of friend nodes on the social network application; generating and storing a plurality of friend circles using the friend relation data, wherein each of the friend circles is a respective subset of the plurality of friends of the first user and includes a respective subset of the plurality of friend nodes; determining a weight of each of the plurality of friend nodes based on the friend relation data; selecting, among the plurality of friend circles, a first friend circle with a first friend node having a highest weight among the plurality of friend nodes; traversing the plurality of friend nodes to add an optimum friend to the first friend circle, wherein the optimum friend corresponds to a friend node of the plurality of friend nodes; and repeating the traversing until a first predefined number of optimum friends are added into the first friend circle. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium storing computer executable instructions for grouping friends of a first user of an online social network application which, when executed by one or more processors of a computer system, cause the computer system to perform operations comprising:
-
acquiring friend relation data corresponding to a plurality of friends of the first user of the social networking application, wherein each of the plurality of friends is an existing contact of the first user on the social networking application, the friend relation data represents connections in-between the plurality of friends on the social networking application, and each of the plurality of friends corresponds to a respective friend node of a plurality of friend nodes on the social network application; generating and storing a plurality of friend circles using the friend relation data, wherein each of the friend circles is a respective subset of the plurality of friends of the first user and includes a respective subset of the plurality of friend nodes; determining a weight of each of the plurality of friend nodes based on the friend relation data; selecting, among the plurality of friend circles, a first friend circle with a first friend node having a highest weight among the plurality of friend nodes; traversing the plurality of friend nodes to add an optimum friend to the first friend circle, wherein the optimum friend corresponds to a friend node of the plurality of friend nodes; and repeating the traversing until a first predefined number of optimum friends are added into the first friend circle. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification