Natural person information setting method and electronic device
First Claim
1. A friend recommendation method, comprising:
- receiving, by a sever, a request for friend recommendation from a terminal, and obtaining a list of strange accounts sharing common friends with an account of the terminal;
determining, by the server, friend accounts to be recommended for the terminal from the list of strange accounts according to the number of friend accounts shared by the account of the terminal and the strange accounts;
setting, by the server, natural person information of each friend account shared by the account of the terminal and the friend accounts to be recommended;
modifying, by the server, according to the natural person information, the number of friend accounts shared by the account of the terminal and the friend accounts to be recommended; and
providing, by the server, according to the modified number of friend accounts, the terminal with account information of the friend accounts to be recommended;
wherein the step of setting, by the server, natural person information of each friend account shared by the account of the terminal and the friend accounts to be recommended comprises;
for each friend account, determining an associated set of each account according to a degree of association and an exclusion index of another account with the each account;
performing convergence processing on all associated sets, such that after the convergence processing, no associated account in any one associated set appears in another associated set; and
setting identical natural person information for any associated account in a same associated set having gone through the convergence processing, and setting a same natural person for any associated account in the same associated set according to the identical natural person information;
wherein the step of determining an associated set of each account according to a degree of association and an exclusion index of another account with the each account comprises;
determining a tentative associated set of an account for which natural person information is to be set according to the degree of association of the another account with the each account, wherein the tentative associated set comprises a candidate associated account;
filtering, according to a degree of association and an exclusion index of another account in the tentative associated set with an account in the tentative associated set, the candidate associated account in the tentative associated set to obtain an associated set of the account for which the natural person information is to be set, wherein the associated set of the account for which the natural person information is to be set comprises an associated account; and
successively taking the each account as the account for which the natural person information is to be set, and acquiring the associated set of the each account.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a natural person information setting method, an account information providing method, and electronic devices. The natural person information setting method includes the following steps: an associated set of each account is determined according to a degree of association and an exclusion index of another account with the each account; convergence processing is performed on all associated sets, such that after the convergence processing, no associated account in any one associated set appears in another associated set; and identical natural person information is set for any associated account in a same associated set having gone through the convergence processing, and a same natural person is set for any associated account in the same associated set according to the identical natural person information. Also disclosed are an account information providing method and electronic devices.
8 Citations
12 Claims
-
1. A friend recommendation method, comprising:
-
receiving, by a sever, a request for friend recommendation from a terminal, and obtaining a list of strange accounts sharing common friends with an account of the terminal; determining, by the server, friend accounts to be recommended for the terminal from the list of strange accounts according to the number of friend accounts shared by the account of the terminal and the strange accounts; setting, by the server, natural person information of each friend account shared by the account of the terminal and the friend accounts to be recommended; modifying, by the server, according to the natural person information, the number of friend accounts shared by the account of the terminal and the friend accounts to be recommended; and providing, by the server, according to the modified number of friend accounts, the terminal with account information of the friend accounts to be recommended; wherein the step of setting, by the server, natural person information of each friend account shared by the account of the terminal and the friend accounts to be recommended comprises; for each friend account, determining an associated set of each account according to a degree of association and an exclusion index of another account with the each account; performing convergence processing on all associated sets, such that after the convergence processing, no associated account in any one associated set appears in another associated set; and setting identical natural person information for any associated account in a same associated set having gone through the convergence processing, and setting a same natural person for any associated account in the same associated set according to the identical natural person information; wherein the step of determining an associated set of each account according to a degree of association and an exclusion index of another account with the each account comprises; determining a tentative associated set of an account for which natural person information is to be set according to the degree of association of the another account with the each account, wherein the tentative associated set comprises a candidate associated account; filtering, according to a degree of association and an exclusion index of another account in the tentative associated set with an account in the tentative associated set, the candidate associated account in the tentative associated set to obtain an associated set of the account for which the natural person information is to be set, wherein the associated set of the account for which the natural person information is to be set comprises an associated account; and successively taking the each account as the account for which the natural person information is to be set, and acquiring the associated set of the each account. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An electronic device, comprising:
-
one or more processors; a memory; and one or more programs stored in the memory and configured to be executed by the one or more processors to provide a friend recommendation method, wherein the one or more programs comprises, according to functions; a to-be-recommended-contact acquiring module configured for obtaining a list of strange accounts sharing common friends with an account of the terminal after receiving a request for friend recommendation from a terminal, and determining friend accounts to be recommended for the terminal from the list of strange accounts according to the number of friend accounts shared by the account of the terminal and the strange accounts; a modifying module configured for modifying, according to natural person information of each friend account shared by the account of the terminal and the friend accounts to be recommended, the number of friend accounts shared by the account of the terminal and the friend accounts to be recommended; and an information providing module configured for providing, according to the modified number of friend accounts, the terminal with account information of the friend accounts to be recommended; wherein the natural person information of each friend account shared by the account of the terminal and the friend accounts to be recommended is set according to functions; an associated-set determining module configured for determining an associated set of each account according to a degree of association and an exclusion index of another account with the each account; a converging module configured for performing convergence processing on all associated sets, such that after the convergence processing, no associated account in any one associated set appears in another associated set; and a setting module configured for setting identical natural person information for any associated account in a same associated set having gone through the convergence processing, and setting a same natural person for any associated account in the same associated set according to the identical natural person information; wherein the associated-set determining module comprises; a tentative-associated-set determining unit configured for determining a tentative associated set of an account for which natural person information is to be set according to the degree of association of the another account with the each account, wherein the tentative associated set comprises a candidate associated account; and a filtering unit configured for filtering, according to a degree of association and an exclusion index of another account in the tentative associated set with an account in the tentative associated set, the candidate associated account in the tentative associated set to obtain an associated set of the account for which the natural person information is to be set, wherein the associated set of the account for which the natural person information is to be set comprises an associated account. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification