CN107948047B - User recommendation method and terminal - Google Patents

User recommendation method and terminal Download PDF

Info

Publication number
CN107948047B
CN107948047B CN201610895698.7A CN201610895698A CN107948047B CN 107948047 B CN107948047 B CN 107948047B CN 201610895698 A CN201610895698 A CN 201610895698A CN 107948047 B CN107948047 B CN 107948047B
Authority
CN
China
Prior art keywords
user
attribute
target
user identifier
identifier
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.)
Active
Application number
CN201610895698.7A
Other languages
Chinese (zh)
Other versions
CN107948047A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610895698.7A priority Critical patent/CN107948047B/en
Publication of CN107948047A publication Critical patent/CN107948047A/en
Application granted granted Critical
Publication of CN107948047B publication Critical patent/CN107948047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a user recommendation method, which comprises the following steps: when determining that friend users are recommended to users corresponding to target user identifications in a social network, acquiring a target area where the users corresponding to the target user identifications are located currently; determining at least one user identifier of a corresponding user in the social network, which is located in the target area, and acquiring a friend user identifier matched with the target user identifier from the at least one user identifier; and recommending the user corresponding to the target user identification and the user corresponding to the friend user identification mutually. The embodiment of the invention also discloses a server. By adopting the invention, the server can recommend nearby friend users to the user, and the success rate of the server for user recommendation is effectively improved.

Description

User recommendation method and terminal
Technical Field
The invention relates to the technical field of communication, in particular to a user recommendation method and a terminal.
Background
The development of the mobile internet technology greatly changes the work and life of people. Among them, the formation of social networks makes communication between people quick and diverse. In order to stabilize and extend the user relationship chain and prevent the users in the social network from losing, the server provides the users in the social network with the function of recommending users, namely recommending other users which may be interested by a certain user to the user.
At present, when a server recommends a user, most of users to be recommended are determined to recommend the user to be recommended based on interests and hobbies of the user. However, this may cause the server to recommend the friend, and also recommend the user far away from the user, so that it is difficult for the user to interact with the friend user, and the success rate of interaction between the user and the friend user is not high.
Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is to provide a user recommendation method and a server. The server can recommend nearby friend users to the user, and the success rate of the server for recommending the user is effectively improved.
A first aspect of an embodiment of the present invention provides a user recommendation method, which may include:
when determining that friend users are recommended to users corresponding to target user identifications in a social network, acquiring a target area where the users corresponding to the target user identifications are located currently;
determining at least one user identifier of a corresponding user in the social network, which is located in the target area, and acquiring a friend user identifier matched with the target user identifier from the at least one user identifier;
and recommending the user corresponding to the target user identification and the user corresponding to the friend user identification mutually.
A second aspect of an embodiment of the present invention provides a server, which may include:
the system comprises a first obtaining unit, a second obtaining unit and a third obtaining unit, wherein the first obtaining unit is used for obtaining a target area where a user corresponding to a target user identification is currently located when the user corresponding to the target user identification in a social network is determined to be recommended to a friend user;
a second obtaining unit, configured to determine at least one user identifier that a corresponding user in the social network is located in the target area, and obtain a friend user identifier that is matched with the target user identifier from the at least one user identifier;
and the recommending unit is used for recommending the user corresponding to the target user identification and the user corresponding to the friend user identification mutually.
In the embodiment of the invention, when a server determines to recommend friend users to users corresponding to target user identifications in a social network, a target area where the users corresponding to the target user identifications are located at present is obtained, at least one user identification, located in the target area, of the users corresponding to the social network is determined, friend user identifications matched with the target user identifications are obtained from the at least one user identification, and mutual recommendation is carried out on the users corresponding to the target user identifications and the users corresponding to the friend user identifications, so that the friend users recommended to the users by the server are located in the same area as the users, and therefore, the friend users recommended by the server can better meet the user requirements, the recommendation quality of the server is improved, and the success rate of user recommendation by the server is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a network architecture provided by an embodiment of the present invention;
fig. 2 is a flowchart illustrating a user recommendation method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an anonymous login interface provided by an embodiment of the present invention;
FIG. 4-a is a schematic diagram of a friend recommendation interface according to an embodiment of the present invention;
FIG. 4-b is a schematic diagram of another friend recommendation interface provided by an embodiment of the invention;
FIG. 5 is a flowchart illustrating another user recommendation method according to an embodiment of the present invention;
FIG. 6 is a block diagram of a server provided by an embodiment of the present invention;
FIG. 7 is a diagram of another server architecture provided by an embodiment of the present invention;
fig. 8 is a diagram illustrating another server structure according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The user recommendation method provided by the embodiment of the invention can be applied to the scenes of social networks. Specifically, the context may be a scenario in which the server recommends the friend user to the user in the social network. The described server may be used, among other things, for managing a server of a social network.
In order to better understand the solution disclosed in the embodiment of the present invention, a network architecture to which the embodiment of the present invention is applicable is described below. Referring to fig. 1, fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present invention. In the network architecture shown in fig. 1, N terminals may be included, where the N terminals form a social network through a network access server, and each terminal may correspond to one user identifier.
The following describes in detail a user recommendation method provided by an embodiment of the present invention with reference to fig. 2 to 5, where an execution subject of the embodiment is a server.
Fig. 2 is a schematic flow chart of an embodiment of a user recommendation method according to an embodiment of the present invention. The user recommendation method provided by the embodiment of the invention comprises the following steps:
s100, when determining that friend users are recommended to users corresponding to target user identifications in a social network, acquiring a target area where the users corresponding to the target user identifications are located currently.
In the embodiment of the present invention, the social network may be composed of social relationships among a plurality of user identifiers, and the user may establish a social relationship through the user identifiers of the social network and perform social interaction through the established social relationship. In the embodiment of the present invention, the user identifier may be a user identifier such as a user account, a user name, or a client identifier used by the user in the social network. A user may enter the social network through a user identification.
In the embodiment of the present invention, the target user identifier may be a user identifier newly added in the social network monitored by the server. Specifically, the server may monitor a preset login queue, determine whether a newly added user identifier is present in the login queue, and when it is monitored that a newly added user identifier is present in the login queue, the server may determine that the newly added user identifier is the target user identifier. In specific applications, for example: when the user A logs in the social network through the user identifier A, the server can monitor the newly added user identifier A and set the user identifier A as the target user identifier.
In the embodiment of the invention, when the server monitors the newly added target user identification in the social network, the server can determine to recommend the friend user to the user corresponding to the target user identification. Further, in order to improve privacy of social contact, the user can also perform social contact in the social network in an anonymous manner. Therefore, the server may monitor whether a user logs in the social network in an anonymous manner through the user identifier, specifically, refer to the anonymous login interface of the terminal shown in fig. 3, and if the user selects an anonymous item in the login interface, the user logs in the social network in an anonymous manner through the user identifier. When the server monitors that the user logs in the social network in an anonymous mode through the target user identification, the server can determine to recommend friend users to the user corresponding to the target user identification. In specific applications, for example: in the WeChat social platform, a user sets an anonymous name corresponding to a WeChat account of the user through a client and determines to log in the WeChat social platform through the anonymous name, so that a server can monitor that the user logs in the WeChat social platform in an anonymous mode through the WeChat account of the user, and the server can determine to recommend friend users to a terminal corresponding to the WeChat account.
Further, in the embodiments of the present invention. When the server monitors a target user identifier newly added in the social network, the server can also obtain user activity information corresponding to the target user identifier, where the user activity information may include comment information posted by a user corresponding to the user identifier through the social network within a recent period of time, chat information of the user corresponding to the user identifier through the social network within a recent period of time, and other social events performed by the user corresponding to the user identifier within the recent period of time. The server can calculate the activity degree corresponding to the target user identification according to the user activity information of the target user identification, and judge whether the activity degree is greater than a preset threshold value. And when the server judges that the activity is greater than the preset threshold value, the server can determine to recommend friend users to the users corresponding to the target user identification in the social network. And when the server judges that the activity is less than or equal to the preset threshold, the server can determine not to recommend friend users to the users corresponding to the target user identification in the social network.
In the embodiment of the present invention, the server may obtain the current location information of the user corresponding to the target user identifier, and specifically, the server obtains the current location information of the terminal that logs in the target user identifier. And the server determines a current target area of the user corresponding to the target user identification according to the current position information of the user corresponding to the target user identification. Further, the server may specifically obtain the current location information of the terminal logging in the target user identifier, where the server may obtain the current location information that is obtained and uploaded by the terminal corresponding to the target user identifier through the positioning module, determine the target area to which the current location information belongs according to the current location information, and thus determine the target area where the user corresponding to the target user identifier is currently located according to the target area to which the current location information belongs, or the server may send a request for obtaining location information to the terminal corresponding to the target user identifier, receive the current location information returned by the terminal through the positioning module in response to the request, determine the target area to which the current location information belongs according to the current location information, and thus determine the target area where the user corresponding to the target user identifier is currently located according to the target area to which the current location information belongs, where the positioning module may be a GPS positioning module or a communication positioning module, the GPS positioning module is used for acquiring current position information through GPS positioning, and the communication positioning module is used for acquiring the current position information through network positioning.
In the embodiment of the present invention, the server may divide a plurality of areas into which a region is divided in advance, for example, the server divides a cell area, a town area, a city area, or other preset areas into which a region is divided, which is not limited in the embodiment of the present invention. In specific application, the server can divide the areas corresponding to all cities according to the territories of all cities, the server determines the target area of the city where the current position information is located according to the current position information of the terminal corresponding to the target user identification, and the target area of the city where the current position information is located is determined as the target area where the user corresponding to the target user identification is currently located.
S101, determining at least one user identifier of a corresponding user in the social network in the target area, and acquiring a friend user identifier matched with the target user identifier from the at least one user identifier.
In the embodiment of the invention, the server can determine at least one user identifier of the corresponding user in the social network, which is located in the target area where the current position information is located, according to the current position information uploaded by the terminal corresponding to each user identifier in the social network, and obtain the friend user identifier matched with the target user identifier from the at least one user identifier, wherein the user identifiers of the corresponding users in the target area in the social network are all the user identifiers of the logged-in social network.
In the embodiment of the present invention, the specific manner in which the server obtains the friend user identifier matching the target user identifier from the at least one user identifier may be: the server can obtain user information corresponding to the target user identifier and user information corresponding to at least one user identifier respectively, wherein the user information can include information of interests, names, ages, birthdays, constellations and the like, the user information can also include user behavior record information, for example, behavior record information including types of friends added by the user, types of comments of the user, types of news viewed by the user and the like, and the server can obtain the information of the data corresponding to the target user identifier in a preset information base corresponding to the user identifier and obtain the behavior record information corresponding to the target user identifier in the user behavior record. The server can perform matching processing according to the user information corresponding to the obtained target user identification and the user information corresponding to at least one user identification, obtain the user identification corresponding to the user information matched with the user information corresponding to the target user identification, and set the user identification as the friend user identification.
In a specific application, the matching, performed by the server according to the user information corresponding to the obtained target user identifier and the user information corresponding to at least one user identifier may be: the server obtains the age, the birthday and the occupation in the user information corresponding to the target user identification as matching conditions, searches the user information matched or consistent with the matching conditions from the user information respectively corresponding to at least one user identification in the target area, and sets the user identification corresponding to the user information matched or consistent with the age, the birthday and the occupation corresponding to the target user identification as friend user identification. Further, when the server does not find the user information matched or consistent with the matching condition, the server may obtain the user information with the highest similarity rate from the larger similarity rate to the smaller similarity rate matched with the matching condition.
And S102, recommending the user corresponding to the target user identification and the user corresponding to the friend user identification mutually.
In the embodiment of the invention, after the server acquires the friend user identification, the server can generate friend recommendation information according to the friend user identification and push the friend recommendation information to the user corresponding to the target user identification so as to recommend the friend user. Meanwhile, the server also pushes friend recommendation information generated by the target user identification to the user corresponding to the friend user identification so as to recommend the friend user. Therefore, both users can obtain friend recommendation information of the other user, the success rate of friend recommendation is improved, and the interactivity between the user corresponding to the user identification and the user corresponding to the friend user identification is enhanced. In a specific application, referring to the schematic diagrams of recommendation information shown in fig. 4-a and fig. 4-b, when the server generates friend recommendation information according to the friend user identifier and pushes the friend recommendation information to the terminal of the user corresponding to the target user identifier, the recommendation friend interface of the recommendation information received and displayed by the user through the terminal may be as shown in fig. 4-a, the user may determine whether to add a friend through an operation button on the recommendation friend interface displayed by the terminal, and when the server receives a friend adding instruction returned by the terminal, the server may add the friend user identifier to the contact list corresponding to the target user identifier. When the server generates friend recommendation information according to the target user identification and pushes the friend recommendation information to the user corresponding to the friend user identification, a recommendation friend interface for receiving and displaying the recommendation information through the terminal can be shown in fig. 4-b, the user can determine whether to add the friend through operation of an operation button on the recommendation friend interface of the recommendation information displayed by the terminal, and when the server receives a friend adding instruction returned by the terminal, the server can add the target user identification to a contact list corresponding to the friend user identification. Because the server carries out user recommendation on both sides, the interactivity between the user and the user who recommends the friend is effectively enhanced.
In the embodiment of the invention, in order to improve the knowledge of the user about the friend user recommended by the server, the server can also add the user information corresponding to the friend user identifier to the friend recommendation information and push the friend recommendation information to the terminal of the user corresponding to the target user identifier. Certainly, the server adds the user information corresponding to the target user identifier to the friend recommendation information and pushes the friend recommendation information to the terminal of the user corresponding to the friend user identifier, so that the user can obtain more pieces of information related to the friend user through the friend recommendation information pushed by the server and displayed by the terminal, and whether to add a friend is determined.
In the embodiment of the invention, if the target user identifier is currently in the anonymous social network, the server can only add the anonymous identifier corresponding to the friend user identifier to the terminal of the user corresponding to the friend recommendation information pushed to the target user identifier. Certainly, the server also adds the anonymous identification corresponding to the target user identification to the friend recommendation information and pushes the anonymous identification to the terminal of the user corresponding to the friend user identification, so that the user corresponding to the target user identification can interact with the user corresponding to the friend user identification in an anonymous mode, the success rate of making friends of the anonymous user is effectively improved, and the privacy of the anonymous user is guaranteed.
In the embodiment of the invention, before the server pushes the friend recommendation information comprising the anonymous identification of the friend user identification to the terminal corresponding to the target user identification, the server can add the anonymous identification of the friend user identification to the friend recommendation list corresponding to the target user identification, and when the situation that the number of recommended users included in the recommendation list of the target user identification meets the threshold value is monitored, the server can issue the friend recommendation list corresponding to the target user identification to the terminal of the user corresponding to the target user identification. Of course, the server may add the anonymous identifier of the target user identifier to the friend recommendation list corresponding to the friend user identifier, and when it is monitored that the number of recommended users included in the recommendation list of the friend user identifier satisfies the threshold, the server may issue the friend recommendation list corresponding to the friend user identifier to the terminal of the user corresponding to the friend user identifier.
In the embodiment of the invention, when a server determines to recommend friend users to users corresponding to target user identifications in a social network, a target area where the users corresponding to the target user identifications are located at present is obtained, at least one user identification, located in the target area, of the users corresponding to the social network is determined, friend user identifications matched with the target user identifications are obtained from the at least one user identification, and mutual recommendation is carried out on the users corresponding to the target user identifications and the user corresponding to the friend user identifications, so that the server can recommend the nearby friend users to the users, the friend users recommended by the server can better meet the user requirements, the recommendation quality of the server is improved, and the success rate of user recommendation by the server is improved.
Fig. 5 is a schematic flow chart of another embodiment of a user recommendation method according to an embodiment of the present invention. The user recommendation method provided by the embodiment of the invention comprises the following steps:
s200, constructing at least one attribute user set corresponding to the preset area, and distributing unique attributes to each attribute user set.
In the embodiment of the present invention, the server may construct at least one attribute user set corresponding to each divided region according to preset attributes, where each attribute user set may be used to add a user identifier that meets a condition that a corresponding user in the social network is located in the region, where the server may preset a region of at least one geographic location, and the server may divide the region of the geographic location of each city according to the city to obtain at least one region. The preset attributes can be constellation attributes, industry attributes, hometown attributes, birthday attributes and the like, further, interaction success rate can be improved by recommending different friends to the users, and the server can further divide attribute user sets according to gender in the constructed attribute user sets, so that each type of attribute can comprise attribute user sets of two genders.
In the embodiment of the invention, the server allocates unique attributes to the constructed at least one attribute user set. Therefore, it is conceivable that the attribute user set is used to add the user identifier of the user having the attribute content corresponding to the attribute carried by the attribute user set.
In specific applications of the embodiments of the present invention, for example: the server constructs a plurality of user pools with different attributes corresponding to each city in the world, such as a constellation pool, an industry pool, a birthday pool and the like. Each user pool comprises user accounts with user pool attributes, for example, a birthday pool comprises corresponding user accounts with user information and birthday information.
S201, obtaining user information corresponding to each user identifier of the corresponding user in the social network, wherein the user is located in the preset area, and determining attributes corresponding to each user identifier according to the user information corresponding to each user identifier.
In the embodiment of the invention, the server can acquire the current position information of the user corresponding to each user identifier, and acquire the user information corresponding to each user identifier of which the corresponding user is located in the preset area according to the current position information of the user corresponding to each user identifier. The server can store user information corresponding to each user identifier in the social network, and the server can acquire the user information corresponding to each user identifier of which the corresponding user is located in the preset area from the stored user information corresponding to each user identifier.
In the embodiment of the present invention, when the server obtains the user information corresponding to each user identifier of the corresponding user located in the preset area, the server may determine the attribute corresponding to each user identifier according to the user information corresponding to each user identifier. Specifically, the service determines, according to the user information corresponding to the user identifier, that the attribute corresponding to the user identifier may be: the server can identify whether the user information corresponding to the user identifier includes one or more attributes in preset attributes, and when it is identified that the user information corresponding to the user identifier includes one or more attributes in the preset attributes, the server can determine that the preset attributes included in the user information are attributes corresponding to the user identifier.
S202, adding each user identification to a corresponding attribute user set according to the attribute corresponding to each user identification.
In the embodiment of the present invention, when the server determines the attribute corresponding to the user identifier of the corresponding user located in the preset area, the server may add the user identifier to the corresponding attribute user set according to the attribute corresponding to the user identifier, where the attribute user set corresponding to the user identifier may be an attribute carried by the attribute user set and matched with the attribute corresponding to the user identifier. Further, when the user identifier corresponds to multiple attributes, the server may add the user identifier to multiple corresponding attribute user sets according to the multiple attributes corresponding to the user identifier. In specific applications, for example: when the server constructs the attribute user set corresponding to the preset area, the attribute user set carrying interest attributes, the attribute user set carrying birthday attributes and the attribute user set carrying constellation attributes. The attribute corresponding to the user identifier may include interest and constellation, and therefore, the server may add the user identifier to the attribute user set carrying the interest attribute and the attribute user set carrying the constellation attribute. Therefore, in the embodiment of the present invention, the server may classify the user identifiers of the corresponding users located in the preset area, and obtain the sets of the various types of attributes.
In the embodiment of the invention, when the server monitors that the user identifier is offline, the server can remove the offline user identifier from the attribute user set added with the offline user identifier. Therefore, the method and the system ensure that friends recommended by the server are all online user friends, and improve the interaction success rate of the user and the friends.
S203, when determining that a friend user is recommended to a user corresponding to a target user identifier in a social network, acquiring a target area where the user corresponding to the target user identifier is currently located.
S204, determining at least one attribute user set corresponding to the target area according to the corresponding relation between the preset area and at least one attribute user set.
S205, determining at least one attribute user set corresponding to the target area according to the corresponding relation between the preset area and the at least one attribute user set.
S206, acquiring a target attribute corresponding to the target user identification, and acquiring a target attribute user set with an attribute matched with the target attribute from the at least one attribute user set.
In the embodiment of the invention, the server can acquire the target user information corresponding to the target user identification from the user information corresponding to the stored user identification. And the server acquires the target attribute corresponding to the target user identifier according to the user information corresponding to the target user identifier and the attribute of the attribute user set, wherein the server can acquire the user information corresponding to the target user identifier in a stored user information base. Specifically, the step of obtaining, by the server, the target attribute corresponding to the target user identifier according to the user information of the target user identifier user and the attribute of the attribute user set may be: the server can identify whether the user information corresponding to the target user identifier includes one or more attributes in at least one attribute user set carried by at least one attribute user set corresponding to the target area, and when it is identified that the user information corresponding to the user identifier includes one or more attributes in at least one attribute user set carried by at least one attribute user set corresponding to the target area, the server can determine that one or more attributes in at least one attribute user set carried by at least one attribute user set corresponding to the target area included in the user information are target attributes corresponding to the target user identifier.
In a specific application, for example, when the attribute user set corresponding to the target area where the user corresponding to the target user identifier is located is constructed by the server, the attribute user set includes a user pool carrying interest attributes, a user pool carrying birthday attributes, and a user pool carrying constellation attributes. When the user information corresponding to the target user identification comprises interest attributes and birthday attributes, the server can determine that the target attributes corresponding to the target user identification comprise interest attributes and birthday attributes.
Further, in the embodiment of the present invention, the obtaining, by the server, the target attribute corresponding to the target user identifier according to the user information of the target user identifier user and the attribute of the attribute user set may be: the server can determine at least one matching attribute of the attributes carried by the user set corresponding to the target area, can identify whether the user information corresponding to the target user identifier includes one or more matching attributes of the at least one matching attribute, and when it is identified that the user information corresponding to the user identifier includes one or more matching attributes of the at least one matching attribute, the server can determine that the one or more matching attributes included in the user information are the target attributes corresponding to the target user identifier. The server determines that the matched attribute may be a gender attribute, such as when the attribute includes a gender attribute. The specific application can be as follows: when the attribute carried by the attribute user set is "female/interest", the server may determine that the matching attribute is "male/interest". The server can judge whether the user information corresponding to the target user identification comprises a matching attribute of 'male/interest', and when the user information corresponding to the target user identification comprises the matching attribute, the server can determine that the matching attribute is the target attribute corresponding to the target user identification.
In the embodiment of the present invention, the server determines, from the at least one attribute user set corresponding to the target area, the attribute user set corresponding to the target attribute, where the attribute user set carried by the attribute user set is determined by the server to be an attribute user set corresponding to the target attribute, or the attribute user set carried by the attribute user set and matched with the target attribute is determined by the server to be an attribute user set corresponding to the target attribute.
S207, obtaining the friend user identification matched with the target user identification from the target attribute user set.
In the embodiment of the invention, after the server determines the target attribute user set, the server can only search the friend user identification matched with the target user identification from the target attribute user set, so that the pressure of the server for performing matching operation on each user identification in the target area is effectively reduced, and the matching efficiency of the server is improved. The target attribute user set can be one or more, and is determined according to the result determined by the server. When the server finds a plurality of matched friend user identifications in the target attribute user sets, the server can randomly select one friend user identification from the plurality of matched friend user identifications as the friend user identification for recommendation.
In the embodiment of the present invention, the specific manner for the server to obtain the friend user identifier matching with the target user identifier from the target attribute user set may be: the server acquires user information corresponding to each user identifier in the target attribute user set, and acquires attribute content corresponding to each user identifier from the user information corresponding to each user identifier in the target attribute user set, wherein the attribute content corresponding to each user identifier in the target attribute user set is matched with the attribute carried by the target attribute user set, namely the attribute content is the attribute content of the attribute. For example, when the attribute carried by the target attribute set is a birthday, the server may obtain specific content information of the birthday in the user information corresponding to each user identifier in the target attribute set.
In the embodiment of the invention, the server acquires the user information corresponding to the target user identification, and acquires the attribute content corresponding to the target user identification according to the user information corresponding to the target user identification, so as to acquire the attribute content corresponding to the target user identification, wherein the attribute content corresponding to the target user identification is matched with the attributes carried by the target attribute user set.
In the embodiment of the invention, when the server acquires the attribute content corresponding to each user identifier in the target attribute user set and the attribute content corresponding to the target user identifier, the server can acquire the target attribute content matched with the attribute content of the target user identifier from the attribute content of each user identifier in the target attribute user set, determine the user identifier corresponding to the target attribute content, and set the user identifier corresponding to the target attribute content as the friend user identifier.
In the embodiment of the present invention, when the server obtains the user identifier corresponding to the at least one target attribute content, the terminal may obtain, from the user identifier corresponding to the at least one target attribute content, a user identifier with a gender that is different from that corresponding to the target user identifier, and set the user identifier with the gender that is different from that corresponding to the target user identifier as the friend user identifier.
In the embodiment of the present invention, when the server obtains the user identifier corresponding to the at least one target attribute content, the server may further obtain the activity degree corresponding to the user identifier corresponding to the at least one target attribute content, and set the user identifier whose activity degree corresponding to the user identifier is greater than the preset threshold as the friend user identifier.
Therefore, in the embodiment of the invention, the server only matches the attribute content corresponding to the target user identifier with the attribute content corresponding to the user identifier in the corresponding characteristic user set, so that the server is prevented from matching the user information corresponding to all the user identifiers in the social network, and the matching efficiency of the server is effectively improved.
And S208, recommending the users corresponding to the target user identification and the friend user identification mutually.
In the embodiment of the present invention, the specific implementation of step S203 and step S208 may refer to the specific implementation of step S100 and step S102 in the foregoing embodiment, which is not described herein again.
In the embodiment of the invention, when a server determines to recommend friend users to users corresponding to target user identifications in a social network, a target area where the users corresponding to the target user identifications are located at present is obtained, at least one user identification, located in the target area, of the users corresponding to the social network is determined, friend user identifications matched with the target user identifications are obtained from the at least one user identification, and mutual recommendation is carried out on the users corresponding to the target user identifications and the user corresponding to the friend user identifications, so that the server can recommend the nearby friend users to the users, the friend users recommended by the server can better meet the user requirements, the recommendation quality of the server is improved, and the success rate of user recommendation by the server is improved.
The terminal provided by the embodiment of the invention will be described in detail with reference to fig. 6-8. It should be noted that, the terminal shown in fig. 6 is used for executing the method according to the embodiment of the present invention shown in fig. 1 to fig. 5, for convenience of description, only the portion related to the embodiment of the present invention is shown, and details of the technology are not disclosed, please refer to the embodiment shown in fig. 1 to fig. 5 of the present invention.
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention. As shown in fig. 6, the server according to an embodiment of the present invention may include:
the first obtaining unit 100 is configured to, when it is determined that a friend user is recommended for a user corresponding to a target user identifier in a social network, obtain a target area where the user corresponding to the target user identifier is currently located.
A second obtaining unit 200, configured to determine at least one user identifier that a corresponding user in the social network is located in the target area, and obtain, from the at least one user identifier, a friend user identifier that is matched with the target user identifier.
The recommending unit 300 is configured to recommend the user corresponding to the target user identifier and the user corresponding to the friend user identifier to each other.
It is to be understood that the functions of each functional module of the unit in the terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the invention, when a server determines to recommend friend users to users corresponding to target user identifications in a social network, a target area where the users corresponding to the target user identifications are located at present is obtained, at least one user identification, located in the target area, of the users corresponding to the social network is determined, friend user identifications matched with the target user identifications are obtained from the at least one user identification, and mutual recommendation is carried out on the users corresponding to the target user identifications and the user corresponding to the friend user identifications, so that the server can recommend the nearby friend users to the users, the friend users recommended by the server can better meet the user requirements, the recommendation quality of the server is improved, and the success rate of user recommendation by the server is improved.
Referring to fig. 7, a schematic structural diagram of another server is provided for the embodiment of the present invention. As shown in fig. 7, the server according to an embodiment of the present invention may include:
a first acquisition unit 100, a second acquisition unit 200 and a recommendation unit 300.
Wherein the server comprises:
a first determining unit 400, configured to determine to recommend a friend user to a user corresponding to the target user identifier in the social network when it is monitored that the user logs in the social network in an anonymous manner through the target user identifier.
Wherein the second obtaining unit 200 includes:
a determining subunit 10, configured to determine, according to a correspondence between a preset region and at least one attribute user set, at least one attribute user set corresponding to the target region, where each attribute user set carries a unique attribute, and the attribute user set includes at least one user identifier;
a first obtaining subunit 20, configured to obtain a target attribute corresponding to the target user identifier, and obtain, from the at least one attribute user set, a target attribute user set whose attribute is matched with the target attribute;
a second obtaining subunit 30, configured to obtain, from the target attribute user set, a friend user identifier matching the target user identifier.
Wherein the server comprises:
the constructing unit 500 is configured to construct at least one attribute user set corresponding to a preset region, and assign a unique attribute to each attribute user set;
a second determining unit 600, configured to obtain user information corresponding to each user identifier that a corresponding user in the social network is located in the preset area, and determine an attribute corresponding to each user identifier according to the user information corresponding to each user identifier;
an adding unit 700, configured to add each user identifier to a corresponding attribute user set according to an attribute corresponding to each user identifier.
Wherein the first acquiring subunit 20 includes:
a third obtaining subunit 1, configured to obtain user information corresponding to the target user identifier;
and a fourth obtaining subunit 2, configured to obtain the target attribute according to the user information corresponding to the target user identifier and the attribute carried by the at least one attribute user set corresponding to the target area.
Wherein the second acquiring subunit 30 includes:
a fifth obtaining subunit 3, configured to obtain, according to the user information corresponding to each user identifier in the target attribute user set, attribute content corresponding to each user identifier in the target attribute user set, where the attribute content corresponding to each user identifier in the target attribute user set is matched with an attribute carried by the target attribute user set;
a sixth obtaining subunit 4, configured to obtain, according to the user information corresponding to the target user identifier, attribute content corresponding to the target user identifier, where the attribute content corresponding to the target user identifier matches an attribute carried by the target attribute user set;
a seventh obtaining subunit 5, configured to obtain, from the attribute content corresponding to each user identifier in the target attribute user set, target attribute content that matches the attribute content corresponding to the target user identifier;
and the setting subunit 6 is configured to determine a user identifier corresponding to the target attribute content, and set the user identifier corresponding to the target attribute content as the friend user identifier.
Wherein the seventh obtaining subunit is specifically configured to:
acquiring the activity corresponding to each user identifier in the target attribute user set;
and acquiring target attribute content matched with the attribute content corresponding to the target user identifier according to the attribute content corresponding to each user identifier in the target attribute user set by combining the liveness corresponding to each user identifier.
Wherein the recommending unit 300 comprises:
an eighth obtaining subunit 40, configured to obtain an anonymous identifier corresponding to the target user identifier and an anonymous identifier corresponding to the friend user identifier;
a first adding subunit 50, configured to add an anonymous identifier corresponding to the target user identifier to a friend recommendation list corresponding to the friend user identifier, so as to anonymously recommend a friend user to a user corresponding to the friend user identifier;
a second adding subunit 60, configured to add the anonymous identifier corresponding to the buddy user identifier to the buddy recommendation list corresponding to the target user identifier, so as to anonymously recommend the buddy user to the user corresponding to the target user identifier.
It is to be understood that the functions of each functional module of the unit in the terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the invention, when a server determines to recommend friend users to users corresponding to target user identifications in a social network, a target area where the users corresponding to the target user identifications are located at present is obtained, at least one user identification, located in the target area, of the users corresponding to the social network is determined, friend user identifications matched with the target user identifications are obtained from the at least one user identification, and mutual recommendation is carried out on the users corresponding to the target user identifications and the user corresponding to the friend user identifications, so that the server can recommend the nearby friend users to the users, the friend users recommended by the server can better meet the user requirements, the recommendation quality of the server is improved, and the success rate of user recommendation by the server is improved.
Referring to fig. 8, a schematic structural diagram of another server is provided for the embodiment of the present invention. As shown in fig. 8, the server 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 8, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a communication connection application program.
In the server 1000 shown in fig. 8, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the network interface 1004 is used for connecting with a server and acquiring data sent by the server; and the processor 1001 may be configured to invoke the communication connection application stored in the memory 1005 and specifically perform the following operations:
when determining that friend users are recommended to users corresponding to target user identifications in a social network, acquiring a target area where the users corresponding to the target user identifications are located currently;
determining at least one user identifier of a corresponding user in the social network, which is located in the target area, and acquiring a friend user identifier matched with the target user identifier from the at least one user identifier;
and recommending the user corresponding to the target user identification and the user corresponding to the friend user identification mutually.
When the processor 1001 determines to recommend a friend user to a user corresponding to a target user identifier in a social network, before acquiring a target area where the user corresponding to the target user identifier is currently located, the processor 1001 further performs:
and when it is monitored that the user logs in the social network in an anonymous mode through the target user identification, determining to recommend friend users to the user corresponding to the target user identification in the social network.
The processor 1001 determines at least one user identifier of the corresponding user in the social network, where the user is located in the target area, and obtaining the friend user identifier matching with the target user identifier from the at least one user identifier includes:
determining at least one attribute user set corresponding to the target area according to a corresponding relation between a preset area and at least one attribute user set, wherein each attribute user set carries a unique attribute and comprises at least one user identifier;
acquiring a target attribute corresponding to the target user identifier, and acquiring a target attribute user set with an attribute matched with the target attribute from the at least one attribute user set;
and acquiring friend user identifications matched with the target user identifications from the target attribute user set.
Before the processor 1001 determines at least one user identifier of the corresponding user in the social network, which is located in the target area, and acquires a friend user identifier matching the target user identifier from the at least one user identifier, the processor 1001 further performs:
constructing at least one attribute user set corresponding to a preset area, and distributing unique attributes to each attribute user set;
acquiring user information corresponding to each user identifier of a corresponding user in the social network, wherein the user is located in the preset area, and determining an attribute corresponding to each user identifier according to the user information corresponding to each user identifier;
and adding each user identifier to a corresponding attribute user set according to the attribute corresponding to each user identifier.
Wherein, the obtaining of the target attribute of the target user identifier by the processor 1001 includes:
acquiring user information corresponding to the target user identification;
and acquiring the target attribute corresponding to the target user identifier according to the user information corresponding to the target user identifier and the attribute carried by at least one attribute user set corresponding to the target area.
The obtaining, by the processor 1001, a buddy user identifier matched with the target user identifier from the target attribute user set includes:
acquiring attribute contents corresponding to user identifications in the target attribute user set according to user information corresponding to the user identifications in the target attribute user set, wherein the attribute contents corresponding to the user identifications in the target attribute user set are matched with attributes carried by the target attribute user set;
acquiring attribute content corresponding to the target user identification according to the user information corresponding to the target user identification, wherein the attribute content corresponding to the target user identification is matched with the attributes carried by the target attribute user set;
acquiring target attribute content matched with the attribute content corresponding to the target user identification from the attribute content corresponding to each user identification in the target attribute user set;
and determining a user identifier corresponding to the target attribute content, and setting the user identifier corresponding to the target attribute content as the friend user identifier.
The acquiring, by the processor 1001, the target attribute content matched with the attribute content corresponding to the target user identifier from the attribute content corresponding to each user identifier in the target attribute user set includes:
acquiring the activity corresponding to each user identifier in the target attribute user set;
and acquiring target attribute content matched with the attribute content corresponding to the target user identifier according to the attribute content corresponding to each user identifier in the target attribute user set by combining the liveness corresponding to each user identifier.
The recommending, by the processor 1001, the user corresponding to the target user identifier and the user corresponding to the friend user identifier mutually includes:
obtaining an anonymous identifier corresponding to the target user identifier and an anonymous identifier corresponding to the friend user identifier;
adding the anonymous identification corresponding to the target user identification to a friend recommendation list corresponding to the friend user identification so as to anonymously recommend the friend user to the user corresponding to the friend user identification;
and adding the anonymous identification corresponding to the friend user identification into the friend recommendation list corresponding to the target user identification so as to anonymously recommend the friend user to the user corresponding to the target user identification.
It is to be understood that the functions of each functional module of the unit in the terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the invention, when a server determines to recommend friend users to users corresponding to target user identifications in a social network, a target area where the users corresponding to the target user identifications are located at present is obtained, at least one user identification, located in the target area, of the users corresponding to the social network is determined, friend user identifications matched with the target user identifications are obtained from the at least one user identification, and mutual recommendation is carried out on the users corresponding to the target user identifications and the user corresponding to the friend user identifications, so that the server can recommend the nearby friend users to the users, the friend users recommended by the server can better meet the user requirements, the recommendation quality of the server is improved, and the success rate of user recommendation by the server is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (15)

1. A user recommendation method, comprising:
when determining that friend users are recommended to users corresponding to target user identifications in a social network, acquiring a target area where the users corresponding to the target user identifications are located currently;
determining at least one attribute user set corresponding to the target area; the attribute user set comprises at least one user identifier, and the at least one user identifier in the attribute user set is determined according to the profile information filled by the user corresponding to the user identifier;
dividing each attribute user set into sets comprising two genders according to the genders corresponding to the user identifications in each attribute user set;
acquiring a target attribute corresponding to the target user identifier according to the data information filled by the user corresponding to the target user identifier and the attribute of the at least one attribute user set, and acquiring a target attribute user set with the attribute matched with the target attribute from the at least one attribute user set; the obtaining of the target attribute corresponding to the target user identifier according to the profile information filled by the user corresponding to the target user identifier and the attribute of the at least one attribute user set includes: if the attribute carried by the at least one attribute user set comprises a gender attribute, determining the attribute which is different from the gender attribute as a matching attribute, and determining the matching attribute as a target attribute corresponding to the target user identifier when the data information filled by the user corresponding to the target user identifier comprises the matching attribute;
acquiring a user identifier with a gender different from that corresponding to the target user identifier from the target attribute user set, and determining the user identifier with the gender different from that corresponding to the target user identifier as a friend user identifier;
and recommending the user corresponding to the target user identification and the user corresponding to the friend user identification mutually.
2. The method of claim 1, wherein when determining to recommend a friend user to a user corresponding to a target user identifier in a social network, obtaining a target area where the user corresponding to the target user identifier is currently located comprises:
and when it is monitored that the user logs in the social network in an anonymous mode through the target user identification, determining to recommend friend users to the user corresponding to the target user identification in the social network.
3. The method of claim 1, wherein the determining at least one attribute user set corresponding to the target area comprises:
and determining at least one attribute user set corresponding to the target area according to the corresponding relation between a preset area and at least one attribute user set, wherein each attribute user set carries a unique attribute.
4. The method of claim 3, wherein said determining the at least one attribute user set corresponding to the target area previously comprises:
constructing at least one attribute user set corresponding to a preset area, and distributing unique attributes to each attribute user set;
acquiring data information filled by a user corresponding to each user identifier of the corresponding user in the preset area in the social network, and determining an attribute corresponding to each user identifier according to the data information filled by the user corresponding to each user identifier;
and adding each user identifier to a corresponding attribute user set according to the attribute corresponding to each user identifier.
5. The method of claim 4, wherein the obtaining the gender-specific user identifier corresponding to the target user identifier from the target attribute user set, and the determining the gender-specific user identifier corresponding to the target user identifier as the friend user identifier comprises:
acquiring attribute contents corresponding to user identifications in the target attribute user set according to data information filled by users corresponding to the user identifications in the target attribute user set, wherein the attribute contents corresponding to the user identifications in the target attribute user set are matched with attributes carried by the target attribute user set;
acquiring attribute content corresponding to the target user identification according to the data information filled by the user corresponding to the target user identification, wherein the attribute content corresponding to the target user identification is matched with the attributes carried by the target attribute user set;
acquiring target attribute content matched with the attribute content corresponding to the target user identification from the attribute content corresponding to each user identification in the target attribute user set;
and determining a user identifier corresponding to the target attribute content, acquiring a user identifier with the gender opposite to that corresponding to the target user identifier from the user identifier corresponding to the target attribute content, and setting the user identifier with the gender opposite to that corresponding to the target user identifier as a friend user identifier.
6. The method of claim 5, wherein the obtaining of the target attribute content matching the attribute content corresponding to the target user identifier from the attribute content corresponding to each user identifier in the target attribute user set comprises:
acquiring the activity corresponding to each user identifier in the target attribute user set;
and acquiring target attribute content matched with the attribute content corresponding to the target user identifier according to the attribute content corresponding to each user identifier in the target attribute user set by combining the liveness corresponding to each user identifier.
7. The method of claim 2, wherein the mutually recommending the user corresponding to the target user identification and the user corresponding to the friend user identification comprises:
obtaining an anonymous identifier corresponding to the target user identifier and an anonymous identifier corresponding to the friend user identifier;
adding the anonymous identification corresponding to the target user identification to a friend recommendation list corresponding to the friend user identification so as to anonymously recommend the friend user to the user corresponding to the friend user identification;
and adding the anonymous identification corresponding to the friend user identification into the friend recommendation list corresponding to the target user identification so as to anonymously recommend the friend user to the user corresponding to the target user identification.
8. A server, characterized in that the server comprises:
the system comprises a first obtaining unit, a second obtaining unit and a third obtaining unit, wherein the first obtaining unit is used for obtaining a target area where a user corresponding to a target user identification is currently located when the user corresponding to the target user identification in a social network is determined to be recommended to a friend user;
a second acquisition unit, the second acquisition unit comprising: a determining subunit, configured to determine at least one attribute user set corresponding to the target area; the attribute user set comprises at least one user identifier, and the at least one user identifier in the attribute user set is determined according to the profile information filled by the user corresponding to the user identifier; the dividing subunit is used for dividing each attribute user set into sets comprising two genders according to the genders corresponding to the user identifications in each attribute user set; the first acquiring subunit is configured to acquire a target attribute corresponding to the target user identifier according to the profile information filled by the user corresponding to the target user identifier and the attribute of the at least one attribute user set, and acquire a target attribute user set with an attribute matched with the target attribute from the at least one attribute user set; the obtaining of the target attribute corresponding to the target user identifier according to the profile information filled by the user corresponding to the target user identifier and the attribute of the at least one attribute user set includes: if the attribute carried by the at least one attribute user set comprises a gender attribute, determining the attribute which is different from the gender attribute as a matching attribute, and determining the matching attribute as a target attribute corresponding to the target user identifier when the data information filled by the user corresponding to the target user identifier comprises the matching attribute; a second obtaining subunit, configured to obtain, from the target attribute user set, a user identifier with a gender that is different from the gender that corresponds to the target user identifier, and determine the user identifier with the gender that is different from the gender that corresponds to the target user identifier as a friend user identifier;
and the recommending unit is used for recommending the user corresponding to the target user identification and the user corresponding to the friend user identification mutually.
9. The server of claim 8, wherein the server comprises:
and the first determining unit is used for determining to recommend friend users to the users corresponding to the target user identification in the social network when monitoring that the users log in the social network in an anonymous mode through the target user identification.
10. The server according to claim 8,
the determining subunit is further configured to determine at least one attribute user set corresponding to the target area according to a corresponding relationship between a preset area and at least one attribute user set, where each attribute user set carries a unique attribute.
11. The server of claim 10, wherein the server comprises:
the building unit is used for building at least one attribute user set corresponding to the preset area and distributing unique attributes to each attribute user set;
the second determining unit is used for acquiring data information filled by a user corresponding to each user identifier of the corresponding user in the preset area in the social network, and determining an attribute corresponding to each user identifier according to the data information filled by the user corresponding to each user identifier;
and the adding unit is used for adding each user identifier to a corresponding attribute user set according to the attribute corresponding to each user identifier.
12. The server of claim 11, wherein the second obtaining subunit comprises:
a fifth obtaining subunit, configured to obtain, according to data information filled by users corresponding to user identifiers in the target attribute user set, attribute contents corresponding to the user identifiers in the target attribute user set, where the attribute contents corresponding to the user identifiers in the target attribute user set are matched with attributes carried by the target attribute user set;
a sixth obtaining subunit, configured to obtain, according to data information filled by a user corresponding to the target user identifier, attribute content corresponding to the target user identifier, where the attribute content corresponding to the target user identifier matches an attribute carried by the target attribute user set;
a seventh obtaining subunit, configured to obtain, from the attribute content corresponding to each user identifier in the target attribute user set, target attribute content that matches the attribute content corresponding to the target user identifier;
and the setting subunit is used for determining the user identifier corresponding to the target attribute content, acquiring the user identifier with the gender opposite to that corresponding to the target user identifier from the user identifier corresponding to the target attribute content, and setting the user identifier with the gender opposite to that corresponding to the target user identifier as the friend user identifier.
13. The server according to claim 12, wherein the seventh obtaining subunit is specifically configured to:
acquiring the activity corresponding to each user identifier in the target attribute user set;
and acquiring target attribute content matched with the attribute content corresponding to the target user identifier according to the attribute content corresponding to each user identifier in the target attribute user set by combining the liveness corresponding to each user identifier.
14. The server according to claim 9, wherein the recommending unit includes:
an eighth obtaining subunit, configured to obtain an anonymous identifier corresponding to the target user identifier and an anonymous identifier corresponding to the friend user identifier;
the first adding subunit is configured to add an anonymous identifier corresponding to the target user identifier to a friend recommendation list corresponding to the friend user identifier, so as to anonymously recommend a friend user to a user corresponding to the friend user identifier;
and the second adding subunit is configured to add the anonymous identifier corresponding to the buddy user identifier to the buddy recommendation list corresponding to the target user identifier, so as to anonymously recommend the buddy user to the user corresponding to the target user identifier.
15. A computer-readable storage medium, characterized in that the storage medium has a program stored therein, the program being loaded and executed by a processor to implement the user recommendation method according to any one of claims 1-7.
CN201610895698.7A 2016-10-13 2016-10-13 User recommendation method and terminal Active CN107948047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610895698.7A CN107948047B (en) 2016-10-13 2016-10-13 User recommendation method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610895698.7A CN107948047B (en) 2016-10-13 2016-10-13 User recommendation method and terminal

Publications (2)

Publication Number Publication Date
CN107948047A CN107948047A (en) 2018-04-20
CN107948047B true CN107948047B (en) 2020-02-28

Family

ID=61928518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610895698.7A Active CN107948047B (en) 2016-10-13 2016-10-13 User recommendation method and terminal

Country Status (1)

Country Link
CN (1) CN107948047B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710854A (en) * 2018-12-28 2019-05-03 乐蜜有限公司 The method and apparatus of recommended user in social application
CN111405460A (en) * 2020-03-13 2020-07-10 武汉慧联无限科技有限公司 Method and device for analyzing position behaviors and computer storage medium
CN111651684A (en) * 2020-06-08 2020-09-11 北京意匠文枢科技有限公司 Method and equipment for recommending social users
CN115186664B (en) * 2022-09-13 2023-01-13 深圳市爱聊科技有限公司 Method and system for measuring and calculating coincidence degree between subjects based on multiple dimensions

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540739A (en) * 2009-04-14 2009-09-23 腾讯科技(深圳)有限公司 User recommendation method and user recommendation system
CN102819607A (en) * 2012-08-21 2012-12-12 北京小米科技有限责任公司 Method and device for recommending users
CN103327045A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 User recommendation method and system in social network
CN104199904A (en) * 2014-08-27 2014-12-10 腾讯科技(深圳)有限公司 Social information push method, server, user terminal and system
CN105282015A (en) * 2015-11-19 2016-01-27 北京乐动卓越科技有限公司 Network friend obtaining method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389989B (en) * 2012-05-10 2016-03-09 腾讯科技(深圳)有限公司 A kind of across community search method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540739A (en) * 2009-04-14 2009-09-23 腾讯科技(深圳)有限公司 User recommendation method and user recommendation system
CN103327045A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 User recommendation method and system in social network
CN102819607A (en) * 2012-08-21 2012-12-12 北京小米科技有限责任公司 Method and device for recommending users
CN104199904A (en) * 2014-08-27 2014-12-10 腾讯科技(深圳)有限公司 Social information push method, server, user terminal and system
CN105282015A (en) * 2015-11-19 2016-01-27 北京乐动卓越科技有限公司 Network friend obtaining method and device

Also Published As

Publication number Publication date
CN107948047A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
JP7422834B2 (en) Servers, programs and information processing methods
US10728352B2 (en) Managing digital forums and networking groups utilizing a group activity indicator
CA2880737C (en) A user recommendation method and a user recommendation system using the same
JP6331053B2 (en) Method and apparatus for pushing target information
CN107948047B (en) User recommendation method and terminal
US10277548B2 (en) Method and device for prompting dynamic information about contact person
US10845949B2 (en) Continuity of experience card for index
US20160188671A1 (en) Methods and Systems for Recommending Applications
US9832144B2 (en) Method and device for implementing instant communication
US20150119084A1 (en) System and method for positioning terminal
JP6676080B2 (en) Method and system for installing an application version via near field communication
US20140324414A1 (en) Method and apparatus for displaying emoticon
WO2014176803A1 (en) Method and apparatus for displaying emoticon
CN103166834A (en) Method and equipment recommending friends to social network user based on location
CN106487655B (en) Message interaction method and device and processing server
CN111130986B (en) Message sending method, device, equipment and storage medium
US9871833B2 (en) Adjusting the display of social media updates to varying degrees of richness based on environmental conditions and importance of the update
CN113568699A (en) Content display method, device, equipment and storage medium
CN111557014A (en) Method and system for providing multiple personal data
US8903914B2 (en) Selecting user accounts in social network to answer question
US20160330773A1 (en) Method and system for ad-hoc social networking and profile matching
CN103139192A (en) Recommendation registration method and system
CN106330660B (en) Service processing method, server, and computer-readable storage medium
US20170004531A1 (en) Advertisement selection using information retrieval systems
US20150163325A1 (en) Method, device and system for information transmission

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant