CN105931123A - Method and apparatus for recommending friends based on network account - Google Patents

Method and apparatus for recommending friends based on network account Download PDF

Info

Publication number
CN105931123A
CN105931123A CN201610303520.9A CN201610303520A CN105931123A CN 105931123 A CN105931123 A CN 105931123A CN 201610303520 A CN201610303520 A CN 201610303520A CN 105931123 A CN105931123 A CN 105931123A
Authority
CN
China
Prior art keywords
network account
network
account
key word
keyword set
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
Application number
CN201610303520.9A
Other languages
Chinese (zh)
Other versions
CN105931123B (en
Inventor
张锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Longrise Technology Co Ltd
Original Assignee
Shenzhen Longrise Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Longrise Technology Co Ltd filed Critical Shenzhen Longrise Technology Co Ltd
Priority to CN201610303520.9A priority Critical patent/CN105931123B/en
Publication of CN105931123A publication Critical patent/CN105931123A/en
Application granted granted Critical
Publication of CN105931123B publication Critical patent/CN105931123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Primary Health Care (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for recommending friends based on a network account. The method comprises the following steps: upon receiving a friend recommendation request, acquiring a first network account contained in the friend recommendation request; based on the preset filtering rules and the first network account, determining a network account set which meets the filtering rules; conducting separate matches between the key word set of the first network account and a key word set of each network account in the acquired network account set, determining a degree of matching of each network account in the network account set; recommending the network accounts having a degree of matching met the preset matching conditions in the network account set to the first network account. The invention also discloses an apparatus for recommending friends based on the network account. The apparatus can perform matching based on the key word set, recommends friends who have the same or similar interests, hobbies and habits as the user of the first network account based on the key words set, and has a flexible recommendation method and more accords with user's interests.

Description

Friend recommendation method and device based on network account
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of friend recommendation side based on network account Method and device.
Background technology
Along with developing rapidly of social networks, the customer group in social networks is the most increasing, for user Linking up and the needs exchanged, social networking system usually can recommend good friend that may be interested.
But, current friend recommendation method is usually recommends according to region, it is recommended that mode is more single One, and cannot recommend to have, for user, the user that same interest is liked with it.
Foregoing is only used for auxiliary and understands technical scheme, does not represent and recognizes that foregoing is Prior art.
Summary of the invention
A kind of friend recommendation method and device based on network account of offer is provided, Aim to solve the problem that in prior art, the way of recommendation is single and cannot recommend have same or similar interest love for user The technical problem of good user.
For achieving the above object, a kind of based on network account the friend recommendation method that the present invention provides, bag Include:
When receiving friend recommendation request, obtain the first network account comprised in the request of described friend recommendation Number;
Determine according to the filtering rule pre-set and described first network account and meet described filtering rule Network account set;
By obtain described first network account keyword set respectively with obtain described network account collection The keyword set of each network account in conjunction is mated, and determine in described network account set is each The matching degree of individual network account;
The network account that matching degree in described network account set meets preset matching condition is recommended described First network account, to realize friend recommendation.
Preferably, described filtering rule includes territorial scope, age level, sex, liveness, state In at least one.
Preferably, described method also includes:
Obtain each network in the keyword set of described first network account and described network account set The keyword set of account;
Judge keyword set and the key word of each network account described of described first network account respectively Gather the most expired;
If there is the second expired network account, then obtain described second network account and send out in preset time The content-data of cloth;
The keyword set of described second network account is determined according to described content-data.
Preferably, the described keyword set bag determining described second network account according to described content-data Include:
Described content-data is carried out word segmentation processing, obtains all of key word;
Described all of key word is carried out duplicate removal process, obtains initial key set of words, described initial pass Keyword set comprises key word, and the number of times that described key word repeats;
Delete the number of times repeated in described initial key set of words and be less than the key word of preset times, Keyword set to described second network account.
Preferably, the described network account meeting preset matching condition refers to that matching degree is more than or equal in advance The network account of numerical value arranged, or matching degree comes the network account of front N, and described N is positive integer.
For solving the problems referred to above, the present invention also provides for a kind of friend recommendation device based on network account, bag Include:
Acquisition module, for when receiving friend recommendation request, obtains in the request of described friend recommendation and wraps The first network account contained;
First determines module, for determining according to the filtering rule pre-set and described first network account Meet the network account set of described filtering rule;
Matching module, for will obtain described first network account keyword set respectively with obtain The keyword set of each network account in described network account set is mated, and determines described network The matching degree of each network account in account set;
Recommending module, for meeting the network of preset matching condition by matching degree in described network account set Account recommends described first network account, to realize friend recommendation.
Preferably, described filtering rule includes territorial scope, age level, sex, liveness, state In at least one.
Preferably, described device also includes:
Set acquisition module, for obtaining the keyword set of described first network account and described network account The keyword set of each network account in number set;
Judge module, for judging the keyword set of described first network account and each net described respectively The keyword set of network account is the most expired;
Data acquisition module, if for there is the second expired network account, then obtaining described second network The content-data that account is issued in preset time;
Second determines module, for determining the key word of described second network account according to described content-data Set.
Preferably, described second determines that module includes:
Word-dividing mode, for described content-data is carried out word segmentation processing, obtains all of key word;
Deduplication module, for described all of key word is carried out duplicate removal process, obtains initial key word set Close, described initial key set of words comprises key word, and the number of times that described key word repeats;
Removing module, secondary less than presetting for deleting the number of times repeated in described initial key set of words The key word of number, obtains the keyword set of described second network account.
Preferably, the described network account meeting preset matching condition refers to that matching degree is more than or equal in advance The network account of numerical value arranged, or matching degree comes the network account of front N, and described N is positive integer.
The present invention provides a kind of friend recommendation method based on network account, in the method, is receiving During friend recommendation request, obtain the first network account comprised in the request of this friend recommendation, according to setting in advance The filtering rule put and this first network account determine the network account set meeting this filtering rule, will obtain The keyword set of the first network account taken respectively with obtain network account set in each network account Number keyword set mate, determine the matching degree of each network account in this network account set, And the network account that matching degree in this network account set meets preset matching condition recommends first network Account, enabling realize the recommendation of good friend based on network account, and mate based on keyword set Can recommend, with the user of first network account, there is the good friend of same or similar hobby and custom, push away Mode of recommending meets the regard of user flexibly and more.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of friend recommendation method based on network account in first embodiment of the invention;
Fig. 2 is that shown in Fig. 1, in first embodiment, friend recommendation method based on network account comprises additional step Rapid schematic flow sheet;
Fig. 3 is the schematic flow sheet of the refinement step of step 204 in embodiment illustrated in fig. 2;
Fig. 4 is that in second embodiment of the invention, the functional module of friend recommendation device based on network account is shown It is intended to;
Fig. 5 is that in third embodiment of the invention, the functional module of friend recommendation device based on network account is shown It is intended to;
Fig. 6 is second to determine that the refinement functional module of module 504 is shown in the 3rd embodiment shown in Fig. 3 of the present invention It is intended to.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
Owing to, in prior art, the mode for user's commending friends is single and cannot recommend for user, and nothing Method is the user that user recommends to have same or similar hobby.
For solving above-mentioned technical problem, the present invention proposes a kind of friend recommendation method based on networking account, By arranging different filtering rules, and determine according to this filtering rule and first network account and meet this mistake Filter rule network account set, and by the keyword set of first network account respectively with network account collection The keyword set of each networking account in conjunction is mated, enabling realize based on network account The recommendation of friend, and carry out coupling based on keyword set and can recommend to have with the user of first network account Same or similar hobby and the good friend of custom, it is recommended that mode meets the regard of user flexibly and more.
Referring to Fig. 1, for friend recommendation method based on network account in first embodiment of the invention, this pushes away The method of recommending includes:
Step 101, when receiving friend recommendation request, obtain the first net of comprising in friend recommendation request Network account;
Step 102, determine according to the filtering rule that pre-sets and first network account and meet filtering rule Network account set;
Step 103, by obtain first network account keyword set respectively with obtain network account collection The keyword set of each network account in conjunction is mated, and determines each net in network account set The matching degree of network account;
Step 104, the network account that matching degree in network account set meets preset matching condition are recommended First network account, to realize friend recommendation.
In embodiments of the present invention, terminal, when using social networking application, needs the service with this social networking application Device carries out data interaction, the data wanted with acquisition, and user is using social networks to apply by terminal Time, all will register the account of this social networks application, and fill in relevant personal information.Wherein, social The account of network application and personal information are as the network account of this user.
Wherein, terminal, after detecting that network account logs in, can send good friend from trend server and push away Recommending request, or network account is after logging in social networks application, user can press by clicking on recommendation The mode of button, triggering terminal sends friend recommendation request to server.
In embodiments of the present invention, friend recommendation device can be server, it is also possible to be in server A part.
In embodiments of the present invention, friend recommendation device asks it at the friend recommendation receiving terminal transmission After, obtain the first network account comprised in the request of this friend recommendation.And according to the filtration rule pre-set Then and this first network account determines the network account set meeting filtering rule,
Wherein, during filtering rule includes territorial scope, age level, sex, liveness, state extremely Few one.Wherein, territorial scope may refer to some fixed scope, such as Shanghai, or, region Scope can also be the regional extent constituted centered by some place, such as, current with network account Centered by the geographical position logged in, the region constituted in 30 kilometer range.Wherein, age level can be It is not limit or some age level that user specifies, or based on this network account grade The age level determined centered by age value, such as, if the age of registration is 27 in first network account, Then this age level is 24 to 30.Wherein, sex can be do not limit, man or female etc., liveness be based on Network account number of times of login service device within preset time period is calculated, and state can be in wire State, off-line state etc..
It should be noted that user can pre-set this filtering rule, and if user pre-set this Filtering rule, then carry out network account according to the filtering rule of user setup and the first network account of this user Number screening, if user is not provided with this filtering rule, then friend recommendation device based on first network account with Machine determines this filtering rule, and based on a determination that filtering rule carry out the screening of network account.
In embodiments of the present invention, friend recommendation device, after being filtrated to get network account set, will obtain Take the keyword set of each network account in the keyword set of first network account and network account set Close, and by the keyword set of first network account respectively with each network account in network account set Keyword set mate, determine the matching degree of each network account in this network account set.
Wherein, there is identical key word the most, then it represents that the matching degree of network account is the highest, such as, If first network account comprises 10 key words, it is in key word A-E, and network account set respectively There is a network account C, the keyword set of this network account C comprises key word A-F, i.e. should The keyword set of network account C contains all key words of first network account, therefore, can be true The matching degree determining network account C is 100%.
In embodiments of the present invention, friend recommendation device each network account in obtaining networking account set Number matching degree after, matching degree in this network account set is met the network account of preset matching condition Recommend first network account, to realize friend recommendation.
Wherein, meet the network account of preset matching condition and refer to what matching degree was more than or equal to pre-set The network account of numerical value, or matching degree comes the network account of front N, and N is positive integer.Such as, if Network account set comprises network account A to E totally five network accounts, and the matching degree of network account It is respectively 100%, 95%, 70%, 20%, 35%.If the above-mentioned numerical value pre-set is 80%, can The network account that can determine that recommendation is network account A and B, if above-mentioned N is 3, in the network account recommended Number it is network account A, B and C.Make it possible to effectively realize friend recommendation.
In embodiments of the present invention, when receiving friend recommendation request, it is good that friend recommendation device obtains this The first network account comprised in friend's recommendation request, according to the filtering rule pre-set and this first network Account determines the network account set meeting this filtering rule, by the key word of the first network account of acquisition Set is mated with the keyword set of each network account in the network account set obtained respectively, Determine the matching degree of each network account in this network account set, and by this network account set Degree of joining meets the network account of preset matching condition and recommends first network account, enabling based on network Account realizes the recommendation of good friend, and carries out coupling based on keyword set and can recommend and first network account User there is the good friend of same or similar hobby and custom, it is recommended that mode meets user flexibly and more Regard.
Refer to Fig. 2, for friend recommendation side based on network account in first embodiment shown in Fig. 1 of the present invention The schematic flow sheet of the additional step of method, this additional step includes:
Each network in step 201, the keyword set obtaining first network account and network account set The keyword set of account;
Step 202, judge the keyword set of first network account and the key word of each network account respectively Gather the most expired;
If step 203 exists the second expired network account, then obtain the second network account at preset time The content-data of interior issue;
Step 204, determine the keyword set of the second network account according to content-data.
In embodiments of the present invention, friend recommendation device step in performing first embodiment shown in Fig. 1 After 102, by each network account of obtaining in the keyword set of first network and network account set Keyword set, concrete, friend recommendation device searches data base, determines in data base whether comprise finger The keyword set of fixed network account, if comprising, then obtains this keyword set, if not comprising, then The keyword set obtained is combined into sky.
In embodiments of the present invention, owing to there is the keyword set directly obtained from the data base of server Closing, therefore, friend recommendation device also will determine that keyword set and each network account of first network account Number keyword set the most expired, it is expired refer to preserve the time gap of this keyword set current time Duration between is more than preset duration, if more than preset duration, then showing that this keyword set may not The hobby of enough users accurately representing this network account current, if additionally, keyword set is combined into sky, Also indicate that this keyword set is the most expired.
Wherein, friend recommendation device judges keyword set and the network account collection of first network account successively In conjunction, the keyword set of each network account is the most expired, and if there is the second expired network account, Then obtain the content-data that this second network account was issued within the preset time, and according to this content-data Determine the keyword set of the second network account.
In embodiments of the present invention, keyword set and the network account set of first network account are being obtained In each network account keyword set after, be determined by keyword set the most expired, and The mode of keyword set is redefined, enabling it is near that offer more can represent user in the case of expired The key word of the hobby of phase, in order to commending friends more accurately.
Refer to Fig. 3, for the flow process signal of the refinement step of step 204 in embodiment illustrated in fig. 2 of the present invention Figure, this refinement step includes:
Step 301, content-data is carried out word segmentation processing, obtain all of key word;
Step 302, all of key word is carried out duplicate removal process, obtain initial key set of words, initially close Keyword set comprises key word, and the number of times that key word repeats;
The number of times repeated in step 303, deletion initial key set of words is less than the key of preset times Word, obtains the keyword set of the second network account.
In embodiments of the present invention, if there is the second expired network account, friend recommendation device will obtain The content-data that this second network account is issued in preset time, this preset time can be half a year, or Person three months, it is preferred that the size of data of this content-data will be judged by friend recommendation device, if The size of data of this content-data is less than preset value, then delete this second network account from network account set Number, if the size of data of this content-data is more than or equal to preset value, then this content-data is carried out participle Process, obtain all key words comprised in the content-data of this second network account, and relevant to this institute Keyword carries out duplicate removal process, i.e. removes the key word of repetition, records the number of repetition of key word simultaneously, To initial key set of words, in this initial key word combines, comprise key word, and key word repeats Number of times, and friend recommendation device is also less than deleting in this initial key set of words the number of times repeated The key word of preset times, obtains the keyword set of the second network account.
In embodiments of the present invention, by the way, it is possible to the effective key word obtaining network account Set, enabling efficiently accomplish friend recommendation.
Refer to Fig. 4, for the function of friend recommendation device based on network account in second embodiment of the invention The schematic diagram of module, including:
Acquisition module 401, for when receiving friend recommendation request, obtains in the request of described friend recommendation The first network account comprised;
First determines module 402, for true according to the filtering rule pre-set and described first network account Surely the network account set of described filtering rule is met;
Matching module 403, for will obtain described first network account keyword set respectively with acquisition Described network account set in the keyword set of each network account mate, determine described net The matching degree of each network account in network account set;
Recommending module 404, for meeting the net of preset matching condition by matching degree in described network account set Network account recommends described first network account, to realize friend recommendation.
In embodiments of the present invention, terminal, when using social networking application, needs the service with this social networking application Device carries out data interaction, the data wanted with acquisition, and user is using social networks to apply by terminal Time, all will register the account of this social networks application, and fill in relevant personal information.Wherein, social The account of network application and personal information are as the network account of this user.
Wherein, terminal, after detecting that network account logs in, can send good friend from trend server and push away Recommending request, or network account is after logging in social networks application, user can press by clicking on recommendation The mode of button, triggering terminal sends friend recommendation request to server.
It should be noted that the friend recommendation device in the embodiment of the present invention can be above-mentioned server, It can also be a part in above-mentioned server.
In embodiments of the present invention, friend recommendation device asks it at the friend recommendation receiving terminal transmission After, acquisition module 401 obtains the first network account comprised in the request of this friend recommendation.And first determine Module 402 determines the net meeting filtering rule according to the filtering rule pre-set and this first network account Network account set,
Wherein, during filtering rule includes territorial scope, age level, sex, liveness, state extremely Few one.Wherein, territorial scope may refer to some fixed scope, such as Shanghai, or, region Scope can also be the regional extent constituted centered by some place, such as, current with network account Centered by the geographical position logged in, the region constituted in 30 kilometer range.Wherein, age level can be It is not limit or some age level that user specifies, or based on this network account grade The age level determined centered by age value, such as, if the age of registration is 27 in first network account, Then this age level is 24 to 30.Wherein, sex can be do not limit, man or female etc., liveness be based on Network account number of times of login service device within preset time period is calculated, and state can be in wire State, off-line state etc..
It should be noted that user can pre-set this filtering rule, and if user pre-set this Filtering rule, then carry out network account according to the filtering rule of user setup and the first network account of this user Number screening, if user is not provided with this filtering rule, then friend recommendation device based on first network account with Machine determines this filtering rule, and based on a determination that filtering rule carry out the screening of network account.
In embodiments of the present invention, first determine module 402 after being filtrated to get network account set, Matching module 403 will obtain each network in the keyword set of first network account and network account set The keyword set of account, and by recommending module 404 by the keyword set of first network account respectively with The keyword set of each network account in network account set is mated, and determines this network account collection The matching degree of each network account in conjunction.
Wherein, there is identical key word the most, then it represents that the matching degree of network account is the highest, such as, If first network account comprises 10 key words, it is in key word A-E, and network account set respectively There is a network account C, the keyword set of this network account C comprises key word A-F, i.e. should The keyword set of network account C contains all key words of first network account, therefore, can be true The matching degree determining network account C is 100%.
In embodiments of the present invention, friend recommendation device each network account in obtaining networking account set Number matching degree after, it is recommended that matching degree in this network account set is met preset coupling bar by module 404 The network account of part recommends first network account, to realize friend recommendation.
Wherein, meet the network account of preset matching condition and refer to what matching degree was more than or equal to pre-set The network account of numerical value, or matching degree comes the network account of front N, and N is positive integer.Such as, if Network account set comprises network account A to E totally five network accounts, and the matching degree of network account It is respectively 100%, 95%, 70%, 20%, 35%.If the above-mentioned numerical value pre-set is 80%, can The network account that can determine that recommendation is network account A and B, if above-mentioned N is 3, in the network account recommended Number it is network account A, B and C.Make it possible to effectively realize friend recommendation.
In embodiments of the present invention, when receiving friend recommendation request, it is good that acquisition module 401 obtains this The first network account comprised in friend's recommendation request, first determines that module 402 is according to the filtration pre-set Rule and this first network account determine the network account set meeting this filtering rule, and by matching module 403 by obtain first network account keyword set respectively with obtain network account set in each The keyword set of individual network account is mated, and determines each network account in this network account set Matching degree, and by recommending module 404, matching degree in this network account set is met preset matching condition Network account recommend first network account, enabling realize the recommendation of good friend based on network account, And based on keyword set carry out coupling can recommend have same or similar with the user of first network account Hobby and the good friend of custom, it is recommended that mode meets the regard of user flexibly and more.
Refer to Fig. 5, for the function of friend recommendation device based on network account in third embodiment of the invention Module diagram, this friend recommendation device include the acquisition module 401 in the second embodiment as shown in Figure 2, First determines module 402, matching module 403, recommending module 404, and with the second embodiment shown in Fig. 2 Described in content similar, do not repeat.
In embodiments of the present invention, this friend recommendation device also includes:
Set acquisition module 501, for obtaining the keyword set of described first network account and described network The keyword set of each network account in account set;
Judge module 502, for judge respectively described first network account keyword set and described each The keyword set of network account is the most expired;
Data acquisition module 503, if for there is the second expired network account, then obtaining described second net The content-data that network account is issued in preset time;
Second determines module 504, for determining the key of described second network account according to described content-data Set of words.
In embodiments of the present invention, friend recommendation device step in performing first embodiment shown in Fig. 1 After 102, by each network account of obtaining in the keyword set of first network and network account set Keyword set, concrete, friend recommendation device searches data base, determines in data base whether comprise finger The keyword set of fixed network account, if comprising, then obtains this keyword set, if not comprising, then The keyword set obtained is combined into sky.
In embodiments of the present invention, owing to there is the pass directly obtained from the data base of friend recommendation device Keyword set, therefore, friend recommendation device also will determine that the keyword set of first network account and each The keyword set of network account is the most expired, its expired time gap referring to preserve this keyword set Duration between current time is more than preset duration, if more than preset duration, then showing this keyword set The hobby of the user of possible not accurate enough expression this network account current, if additionally, keyword set For sky, also indicate that this keyword set is the most expired.
Wherein, friend recommendation device judges keyword set and the network account collection of first network account successively In conjunction, the keyword set of each network account is the most expired, and if there is the second expired network account, Then obtain the content-data that this second network account was issued within the preset time, and according to this content-data Determine the keyword set of the second network account.
In embodiments of the present invention, keyword set and the network account set of first network account are being obtained In each network account keyword set after, be determined by keyword set the most expired, and The mode of keyword set is redefined, enabling it is near that offer more can represent user in the case of expired The key word of the hobby of phase, in order to commending friends more accurately.
Refer to Fig. 6, determine the refinement merit of module 504 in the 3rd embodiment shown in Fig. 3 of the present invention second The schematic diagram of energy module, described second determines that module 504 includes:
Word-dividing mode 601, for described content-data is carried out word segmentation processing, obtains all of key word;
Deduplication module 602, for described all of key word is carried out duplicate removal process, obtains initial key word Set, comprises key word, and the number of times that described key word repeats in described initial key set of words;
Removing module 603, for deleting the number of times repeated in described initial key set of words less than presetting The key word of number of times, obtains the keyword set of described second network account.
In embodiments of the present invention, if there is the second expired network account, data acquisition module 503 will Obtaining the content-data that this second network account is issued in preset time, this preset time can be half a year, Or three months, it is preferred that the size of data of this content-data will be judged by friend recommendation device, If the size of data of this content-data is less than preset value, then from network account set, delete this second network Account, if the size of data of this content-data is more than or equal to preset value, then word-dividing mode 601 is interior to this Hold data and carry out word segmentation processing, obtain all key words comprised in the content-data of this second network account, And by deduplication module 602, these all key words are carried out duplicate removal process, i.e. remove the key word of repetition, with The number of repetition of Shi Jilu key word, obtains initial key set of words, wraps in this initial key word combines Containing key word, and the number of times that key word repeats, then deleted this initial key word by removing module 603 The number of times repeated in set, less than the key word of preset times, obtains the key word of the second network account Set.
In embodiments of the present invention, by the way, it is possible to the effective key word obtaining network account Set, enabling efficiently accomplish friend recommendation.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service Device, air-conditioner, or the network equipment etc.) perform each embodiment of the present invention method.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. a friend recommendation method based on network account, it is characterised in that including:
When receiving friend recommendation request, obtain the first network account comprised in the request of described friend recommendation Number;
Determine according to the filtering rule pre-set and described first network account and meet described filtering rule Network account set;
By obtain described first network account keyword set respectively with obtain described network account collection The keyword set of each network account in conjunction is mated, and determine in described network account set is each The matching degree of individual network account;
The network account that matching degree in described network account set meets preset matching condition is recommended described First network account, to realize friend recommendation.
Recommendation method the most according to claim 1, it is characterised in that described filtering rule includes ground At least one in territory scope, age level, sex, liveness, state.
Recommendation method the most according to claim 1, it is characterised in that described method also includes:
Obtain each network in the keyword set of described first network account and described network account set The keyword set of account;
Judge keyword set and the key word of each network account described of described first network account respectively Gather the most expired;
If there is the second expired network account, then obtain described second network account and send out in preset time The content-data of cloth;
The keyword set of described second network account is determined according to described content-data.
Recommendation method the most according to claim 3, it is characterised in that described according to described content number Include according to the keyword set determining described second network account:
Described content-data is carried out word segmentation processing, obtains all of key word;
Described all of key word is carried out duplicate removal process, obtains initial key set of words, described initial pass Keyword set comprises key word, and the number of times that described key word repeats;
Delete the number of times repeated in described initial key set of words and be less than the key word of preset times, Keyword set to described second network account.
5. according to the recommendation method described in Claims 1-4 any one, it is characterised in that described full The network account of the preset matching condition of foot refers to the network account of the numerical value that matching degree is more than or equal to pre-set Number, or matching degree comes the network account of front N, and described N is positive integer.
6. a friend recommendation device based on network account, it is characterised in that including:
Acquisition module, for when receiving friend recommendation request, obtains in the request of described friend recommendation and wraps The first network account contained;
First determines module, for determining according to the filtering rule pre-set and described first network account Meet the network account set of described filtering rule;
Matching module, for will obtain described first network account keyword set respectively with obtain The keyword set of each network account in described network account set is mated, and determines described network The matching degree of each network account in account set;
Recommending module, for meeting the network of preset matching condition by matching degree in described network account set Account recommends described first network account, to realize friend recommendation.
Recommendation apparatus the most according to claim 6, it is characterised in that described filtering rule includes ground At least one in territory scope, age level, sex, liveness, state.
Recommendation apparatus the most according to claim 6, it is characterised in that described device also includes:
Set acquisition module, for obtaining the keyword set of described first network account and described network account The keyword set of each network account in number set;
Judge module, for judging the keyword set of described first network account and each net described respectively The keyword set of network account is the most expired;
Data acquisition module, if for there is the second expired network account, then obtaining described second network The content-data that account is issued in preset time;
Second determines module, for determining the key word of described second network account according to described content-data Set.
Recommendation apparatus the most according to claim 8, it is characterised in that described second determines module bag Include:
Word-dividing mode, for described content-data is carried out word segmentation processing, obtains all of key word;
Deduplication module, for described all of key word is carried out duplicate removal process, obtains initial key word set Close, described initial key set of words comprises key word, and the number of times that described key word repeats;
Removing module, secondary less than presetting for deleting the number of times repeated in described initial key set of words The key word of number, obtains the keyword set of described second network account.
10. according to the recommendation apparatus described in claim 6 to 9 any one, it is characterised in that described Meet the network of the numerical value that the network account of preset matching condition refers to that matching degree is more than or equal to pre-set Account, or matching degree comes the network account of front N, and described N is positive integer.
CN201610303520.9A 2016-05-09 2016-05-09 Friend recommendation method and device based on network account Active CN105931123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610303520.9A CN105931123B (en) 2016-05-09 2016-05-09 Friend recommendation method and device based on network account

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610303520.9A CN105931123B (en) 2016-05-09 2016-05-09 Friend recommendation method and device based on network account

Publications (2)

Publication Number Publication Date
CN105931123A true CN105931123A (en) 2016-09-07
CN105931123B CN105931123B (en) 2020-04-14

Family

ID=56835544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610303520.9A Active CN105931123B (en) 2016-05-09 2016-05-09 Friend recommendation method and device based on network account

Country Status (1)

Country Link
CN (1) CN105931123B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106503122A (en) * 2016-10-19 2017-03-15 广州视源电子科技股份有限公司 The recommendation method and apparatus of friend-making object
CN106910135A (en) * 2017-01-25 2017-06-30 百度在线网络技术(北京)有限公司 User recommends method and device
CN107062517A (en) * 2017-01-03 2017-08-18 芜湖美智空调设备有限公司 A kind of intelligent interactive method based on air conditioning applications, system and air conditioner
CN108984528A (en) * 2018-07-13 2018-12-11 大连思索引擎信息有限公司 A kind of social contact method based on thinking distance
CN109615731A (en) * 2018-11-10 2019-04-12 东莞市华睿电子科技有限公司 A kind of audio-frequency inputting method based on recognition of face
CN109871493A (en) * 2018-12-24 2019-06-11 深圳市珍爱捷云信息技术有限公司 Friend-making matching process, device, computer equipment and readable storage medium storing program for executing
WO2019119362A1 (en) * 2017-12-21 2019-06-27 华为技术有限公司 Method and apparatus for making friend by friend type-based filtration
CN110362748A (en) * 2019-07-11 2019-10-22 广州市百果园信息技术有限公司 User's recommended method, device, equipment, storage medium and system
CN110719367A (en) * 2019-10-14 2020-01-21 广州微算互联信息技术有限公司 Cloud mobile phone friend recommendation method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446961A (en) * 2008-12-24 2009-06-03 腾讯科技(深圳)有限公司 Method and system for carrying out association on users and friends thereof in network community
CN102831202A (en) * 2012-08-08 2012-12-19 中兴通讯股份有限公司 Method and system for pushing recommended friends to users of social network site
CN103001994A (en) * 2011-09-19 2013-03-27 腾讯科技(深圳)有限公司 Friend recommendation method and friend recommendation device
US20140304180A1 (en) * 2012-05-15 2014-10-09 Tencent Technology (Shenzhen) Company Limited Method, system and computer-readable storage medium for dividing a user's social network relationship circle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446961A (en) * 2008-12-24 2009-06-03 腾讯科技(深圳)有限公司 Method and system for carrying out association on users and friends thereof in network community
CN103001994A (en) * 2011-09-19 2013-03-27 腾讯科技(深圳)有限公司 Friend recommendation method and friend recommendation device
US20140304180A1 (en) * 2012-05-15 2014-10-09 Tencent Technology (Shenzhen) Company Limited Method, system and computer-readable storage medium for dividing a user's social network relationship circle
CN102831202A (en) * 2012-08-08 2012-12-19 中兴通讯股份有限公司 Method and system for pushing recommended friends to users of social network site

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106503122A (en) * 2016-10-19 2017-03-15 广州视源电子科技股份有限公司 The recommendation method and apparatus of friend-making object
WO2018072335A1 (en) * 2016-10-19 2018-04-26 广州视源电子科技股份有限公司 Method and apparatus for recommending friending object
CN107062517A (en) * 2017-01-03 2017-08-18 芜湖美智空调设备有限公司 A kind of intelligent interactive method based on air conditioning applications, system and air conditioner
CN106910135A (en) * 2017-01-25 2017-06-30 百度在线网络技术(北京)有限公司 User recommends method and device
WO2019119362A1 (en) * 2017-12-21 2019-06-27 华为技术有限公司 Method and apparatus for making friend by friend type-based filtration
CN108984528A (en) * 2018-07-13 2018-12-11 大连思索引擎信息有限公司 A kind of social contact method based on thinking distance
CN109615731A (en) * 2018-11-10 2019-04-12 东莞市华睿电子科技有限公司 A kind of audio-frequency inputting method based on recognition of face
CN109871493A (en) * 2018-12-24 2019-06-11 深圳市珍爱捷云信息技术有限公司 Friend-making matching process, device, computer equipment and readable storage medium storing program for executing
CN110362748A (en) * 2019-07-11 2019-10-22 广州市百果园信息技术有限公司 User's recommended method, device, equipment, storage medium and system
CN110719367A (en) * 2019-10-14 2020-01-21 广州微算互联信息技术有限公司 Cloud mobile phone friend recommendation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105931123B (en) 2020-04-14

Similar Documents

Publication Publication Date Title
CN105931123A (en) Method and apparatus for recommending friends based on network account
CN107526807B (en) Information recommendation method and device
CN108108821A (en) Model training method and device
US20120005216A1 (en) Providing Content by Using a Social Network
CN106354797B (en) Data recommendation method and device
CN106982381A (en) Homepage recommendation process method and device
CN104899265A (en) Information recommendation method and system
CN110019382B (en) User intimacy index determination method and device, storage medium and electronic equipment
CN106021609A (en) Method and device for intelligently recommending website videos
WO2017101652A1 (en) Method and apparatus for determining an access path between website pages
CN103810623A (en) Real-time automatic marketing method and system
CN106326257A (en) Information recommendation method and device, and related equipment
CN105959208A (en) Topic recommendation method, device and server
CN103686240A (en) Program recommending method and system
CN104348871A (en) Similar account expanding method and device
CN107038649A (en) A kind of friend recommendation method and device of terminal user
CN109886823A (en) A kind of recommended method and device of social circle
CN105635210A (en) Network information recommending method and device, and reading system
CN110297967B (en) Method, device and equipment for determining interest points and computer readable storage medium
CN111723083B (en) User identity recognition method and device, electronic equipment and storage medium
CN115689391B (en) Data disaster recovery method and system based on electronic commerce and cloud platform
CN107220262B (en) Information processing method and device
CN105989019B (en) A kind of method and device for cleaning data
CN111859127A (en) Subscription method and device of consumption data and storage medium
CN111353001A (en) Method and device for classifying users

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518057 Shenzhen Software Park, Nanshan District high tech Industrial Park, Guangdong, China,, 6 401-402

Applicant after: Yongxing Shenzhen Polytron Technologies Inc

Address before: 518057 Shenzhen Software Park, Nanshan District high tech Industrial Park, Guangdong, China,, 6 401-402

Applicant before: Shenzhen Longrise Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant